Package com.google.api.expr.v1alpha1
Class Type.MapType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typegoogle.api.expr.v1alpha1.Type.MapType
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private Type
keyType_
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder>
keyTypeBuilder_
private Type
valueType_
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder>
valueTypeBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Type.MapType
build()
Type.MapType
buildPartial()
private void
buildPartial0(Type.MapType result)
Type.MapType.Builder
clear()
Type.MapType.Builder
clearKeyType()
The type of the key.Type.MapType.Builder
clearValueType()
The type of the value.Type.MapType
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Type
getKeyType()
The type of the key.Type.Builder
getKeyTypeBuilder()
The type of the key.private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder>
getKeyTypeFieldBuilder()
The type of the key.TypeOrBuilder
getKeyTypeOrBuilder()
The type of the key.Type
getValueType()
The type of the value.Type.Builder
getValueTypeBuilder()
The type of the value.private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder>
getValueTypeFieldBuilder()
The type of the value.TypeOrBuilder
getValueTypeOrBuilder()
The type of the value.boolean
hasKeyType()
The type of the key.boolean
hasValueType()
The type of the value.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Type.MapType.Builder
mergeFrom(Type.MapType other)
Type.MapType.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Type.MapType.Builder
mergeFrom(com.google.protobuf.Message other)
Type.MapType.Builder
mergeKeyType(Type value)
The type of the key.Type.MapType.Builder
mergeValueType(Type value)
The type of the value.Type.MapType.Builder
setKeyType(Type value)
The type of the key.Type.MapType.Builder
setKeyType(Type.Builder builderForValue)
The type of the key.Type.MapType.Builder
setValueType(Type value)
The type of the value.Type.MapType.Builder
setValueType(Type.Builder builderForValue)
The type of the value.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
keyType_
private Type keyType_
-
keyTypeBuilder_
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder> keyTypeBuilder_
-
valueType_
private Type valueType_
-
valueTypeBuilder_
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder> valueTypeBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Type.MapType.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
getDefaultInstanceForType
public Type.MapType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Type.MapType build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Type.MapType buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Type.MapType result)
-
mergeFrom
public Type.MapType.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.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 interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
mergeFrom
public Type.MapType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Type.MapType.Builder>
- Throws:
java.io.IOException
-
hasKeyType
public boolean hasKeyType()
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;
- Specified by:
hasKeyType
in interfaceType.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 interfaceType.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 interfaceType.MapTypeOrBuilder
-
getKeyTypeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder> getKeyTypeFieldBuilder()
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;
-
hasValueType
public boolean hasValueType()
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;
- Specified by:
hasValueType
in interfaceType.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 interfaceType.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 interfaceType.MapTypeOrBuilder
-
getValueTypeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder> getValueTypeFieldBuilder()
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;
-
-