Class Type.MapType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Type.MapType.Builder>
com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
com.google.api.expr.v1alpha1.Type.MapType.Builder
All Implemented Interfaces:
Type.MapTypeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Type.MapType

public static final class Type.MapType.Builder extends com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder> implements Type.MapTypeOrBuilder
Map type with parameterized key and value types, e.g. `map<string, int>`.
Protobuf type google.api.expr.v1alpha1.Type.MapType
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
    • clear

      public Type.MapType.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
    • getDefaultInstanceForType

      public Type.MapType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Type.MapType build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Type.MapType buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Type.MapType.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Type.MapType.Builder>
    • mergeFrom

      public Type.MapType.Builder mergeFrom(Type.MapType other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
    • mergeFrom

      public Type.MapType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Type.MapType.Builder>
      Throws:
      IOException
    • hasKeyType

      public boolean hasKeyType()
      The type of the key.
      
      .google.api.expr.v1alpha1.Type key_type = 1;
      Specified by:
      hasKeyType in interface Type.MapTypeOrBuilder
      Returns:
      Whether the keyType field is set.
    • getKeyType

      public Type getKeyType()
      The type of the key.
      
      .google.api.expr.v1alpha1.Type key_type = 1;
      Specified by:
      getKeyType in interface Type.MapTypeOrBuilder
      Returns:
      The keyType.
    • setKeyType

      public Type.MapType.Builder setKeyType(Type value)
      The type of the key.
      
      .google.api.expr.v1alpha1.Type key_type = 1;
    • setKeyType

      public Type.MapType.Builder setKeyType(Type.Builder builderForValue)
      The type of the key.
      
      .google.api.expr.v1alpha1.Type key_type = 1;
    • mergeKeyType

      public Type.MapType.Builder mergeKeyType(Type value)
      The type of the key.
      
      .google.api.expr.v1alpha1.Type key_type = 1;
    • clearKeyType

      public Type.MapType.Builder clearKeyType()
      The type of the key.
      
      .google.api.expr.v1alpha1.Type key_type = 1;
    • getKeyTypeBuilder

      public Type.Builder getKeyTypeBuilder()
      The type of the key.
      
      .google.api.expr.v1alpha1.Type key_type = 1;
    • getKeyTypeOrBuilder

      public TypeOrBuilder getKeyTypeOrBuilder()
      The type of the key.
      
      .google.api.expr.v1alpha1.Type key_type = 1;
      Specified by:
      getKeyTypeOrBuilder in interface Type.MapTypeOrBuilder
    • hasValueType

      public boolean hasValueType()
      The type of the value.
      
      .google.api.expr.v1alpha1.Type value_type = 2;
      Specified by:
      hasValueType in interface Type.MapTypeOrBuilder
      Returns:
      Whether the valueType field is set.
    • getValueType

      public Type getValueType()
      The type of the value.
      
      .google.api.expr.v1alpha1.Type value_type = 2;
      Specified by:
      getValueType in interface Type.MapTypeOrBuilder
      Returns:
      The valueType.
    • setValueType

      public Type.MapType.Builder setValueType(Type value)
      The type of the value.
      
      .google.api.expr.v1alpha1.Type value_type = 2;
    • setValueType

      public Type.MapType.Builder setValueType(Type.Builder builderForValue)
      The type of the value.
      
      .google.api.expr.v1alpha1.Type value_type = 2;
    • mergeValueType

      public Type.MapType.Builder mergeValueType(Type value)
      The type of the value.
      
      .google.api.expr.v1alpha1.Type value_type = 2;
    • clearValueType

      public Type.MapType.Builder clearValueType()
      The type of the value.
      
      .google.api.expr.v1alpha1.Type value_type = 2;
    • getValueTypeBuilder

      public Type.Builder getValueTypeBuilder()
      The type of the value.
      
      .google.api.expr.v1alpha1.Type value_type = 2;
    • getValueTypeOrBuilder

      public TypeOrBuilder getValueTypeOrBuilder()
      The type of the value.
      
      .google.api.expr.v1alpha1.Type value_type = 2;
      Specified by:
      getValueTypeOrBuilder in interface Type.MapTypeOrBuilder