Package com.google.api.expr.v1alpha1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionThe type of the key.The type of the value.The type of the key.The type of the value.boolean
The type of the key.boolean
The type of the value.mergeKeyType
(Type value) The type of the key.mergeValueType
(Type value) The type of the value.setKeyType
(Type value) The type of the key.setKeyType
(Type.Builder builderForValue) The type of the key.setValueType
(Type value) The type of the value.setValueType
(Type.Builder builderForValue) The type of the value.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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 interfaceType.MapTypeOrBuilder
- Returns:
- Whether the keyType field is set.
-
getKeyType
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1 [json_name = "keyType"];
- Specified by:
getKeyType
in interfaceType.MapTypeOrBuilder
- Returns:
- The keyType.
-
setKeyType
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1 [json_name = "keyType"];
-
setKeyType
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1 [json_name = "keyType"];
-
mergeKeyType
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1 [json_name = "keyType"];
-
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 interfaceType.MapTypeOrBuilder
- Returns:
- Whether the valueType field is set.
-
getValueType
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2 [json_name = "valueType"];
- Specified by:
getValueType
in interfaceType.MapTypeOrBuilder
- Returns:
- The valueType.
-
setValueType
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2 [json_name = "valueType"];
-
setValueType
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2 [json_name = "valueType"];
-
mergeValueType
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2 [json_name = "valueType"];
-
clearValueType
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2 [json_name = "valueType"];
-