Class Type.MapType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Type.MapType,Type.MapType.Builder>
com.google.api.expr.v1alpha1.Type.MapType.Builder
All Implemented Interfaces:
Type.MapTypeOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
Type.MapType

public static final class Type.MapType.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Type.MapType,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

    • hasKeyType

      public boolean hasKeyType()
       The type of the key.
       
      .google.api.expr.v1alpha1.Type key_type = 1 [json_name = "keyType"];
      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 [json_name = "keyType"];
      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 [json_name = "keyType"];
    • setKeyType

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

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

      public Type.MapType.Builder clearKeyType()
       The type of the key.
       
      .google.api.expr.v1alpha1.Type key_type = 1 [json_name = "keyType"];
    • hasValueType

      public boolean hasValueType()
       The type of the value.
       
      .google.api.expr.v1alpha1.Type value_type = 2 [json_name = "valueType"];
      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 [json_name = "valueType"];
      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 [json_name = "valueType"];
    • setValueType

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

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

      public Type.MapType.Builder clearValueType()
       The type of the value.
       
      .google.api.expr.v1alpha1.Type value_type = 2 [json_name = "valueType"];