public static final class Type.MapType.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
Type.MapType.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Type.MapType |
build() |
Type.MapType |
buildPartial() |
Type.MapType.Builder |
clear() |
Type.MapType.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Type.MapType.Builder |
clearKeyType()
The type of the key.
|
Type.MapType.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Type.MapType.Builder |
clearValueType()
The type of the value.
|
Type.MapType.Builder |
clone() |
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.
|
TypeOrBuilder |
getKeyTypeOrBuilder()
The type of the key.
|
Type |
getValueType()
The type of the value.
|
Type.Builder |
getValueTypeBuilder()
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.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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 |
mergeFrom(Type.MapType other) |
Type.MapType.Builder |
mergeKeyType(Type value)
The type of the key.
|
Type.MapType.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Type.MapType.Builder |
mergeValueType(Type value)
The type of the value.
|
Type.MapType.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Type.MapType.Builder |
setKeyType(Type.Builder builderForValue)
The type of the key.
|
Type.MapType.Builder |
setKeyType(Type value)
The type of the key.
|
Type.MapType.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Type.MapType.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Type.MapType.Builder |
setValueType(Type.Builder builderForValue)
The type of the value.
|
Type.MapType.Builder |
setValueType(Type value)
The type of the value.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Type.MapType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Type.MapType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Type.MapType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Type.MapType.Builder>public Type.MapType.Builder mergeFrom(Type.MapType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public Type.MapType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Type.MapType.Builder>IOExceptionpublic boolean hasKeyType()
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;hasKeyType in interface Type.MapTypeOrBuilderpublic Type getKeyType()
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;getKeyType in interface Type.MapTypeOrBuilderpublic Type.MapType.Builder setKeyType(Type value)
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;public Type.MapType.Builder setKeyType(Type.Builder builderForValue)
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;public Type.MapType.Builder mergeKeyType(Type value)
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;public Type.MapType.Builder clearKeyType()
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;public Type.Builder getKeyTypeBuilder()
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;public TypeOrBuilder getKeyTypeOrBuilder()
The type of the key.
.google.api.expr.v1alpha1.Type key_type = 1;getKeyTypeOrBuilder in interface Type.MapTypeOrBuilderpublic boolean hasValueType()
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;hasValueType in interface Type.MapTypeOrBuilderpublic Type getValueType()
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;getValueType in interface Type.MapTypeOrBuilderpublic Type.MapType.Builder setValueType(Type value)
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;public Type.MapType.Builder setValueType(Type.Builder builderForValue)
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;public Type.MapType.Builder mergeValueType(Type value)
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;public Type.MapType.Builder clearValueType()
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;public Type.Builder getValueTypeBuilder()
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;public TypeOrBuilder getValueTypeOrBuilder()
The type of the value.
.google.api.expr.v1alpha1.Type value_type = 2;getValueTypeOrBuilder in interface Type.MapTypeOrBuilderpublic final Type.MapType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>public final Type.MapType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Type.MapType.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.