public static final class Type.Map.Builder extends com.google.protobuf.GeneratedMessage.Builder<Type.Map.Builder> implements Type.MapOrBuilder
A mapping of keys to values of a given type. Values of type `Map` are stored in a `Value.array_value` where each entry is another `Value.array_value` with two elements (the key and the value, in that order). Normally encoded Map values won't have repeated keys, however, clients are expected to handle the case in which they do. If the same key appears multiple times, the _last_ value takes precedence.Protobuf type
google.bigtable.v2.Type.Map| Modifier and Type | Method and Description |
|---|---|
Type.Map |
build() |
Type.Map |
buildPartial() |
Type.Map.Builder |
clear() |
Type.Map.Builder |
clearKeyType()
The type of a map key.
|
Type.Map.Builder |
clearValueType()
The type of the values in a map.
|
Type.Map |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Type |
getKeyType()
The type of a map key.
|
Type.Builder |
getKeyTypeBuilder()
The type of a map key.
|
TypeOrBuilder |
getKeyTypeOrBuilder()
The type of a map key.
|
Type |
getValueType()
The type of the values in a map.
|
Type.Builder |
getValueTypeBuilder()
The type of the values in a map.
|
TypeOrBuilder |
getValueTypeOrBuilder()
The type of the values in a map.
|
boolean |
hasKeyType()
The type of a map key.
|
boolean |
hasValueType()
The type of the values in a map.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Type.Map.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Type.Map.Builder |
mergeFrom(com.google.protobuf.Message other) |
Type.Map.Builder |
mergeFrom(Type.Map other) |
Type.Map.Builder |
mergeKeyType(Type value)
The type of a map key.
|
Type.Map.Builder |
mergeValueType(Type value)
The type of the values in a map.
|
Type.Map.Builder |
setKeyType(Type.Builder builderForValue)
The type of a map key.
|
Type.Map.Builder |
setKeyType(Type value)
The type of a map key.
|
Type.Map.Builder |
setValueType(Type.Builder builderForValue)
The type of the values in a map.
|
Type.Map.Builder |
setValueType(Type value)
The type of the values in a map.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Type.Map.Builder>public Type.Map.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Type.Map.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.GeneratedMessage.Builder<Type.Map.Builder>public Type.Map getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Type.Map build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Type.Map buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Type.Map.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Type.Map.Builder>public Type.Map.Builder mergeFrom(Type.Map other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Type.Map.Builder>public Type.Map.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.Map.Builder>IOExceptionpublic boolean hasKeyType()
The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types.
.google.bigtable.v2.Type key_type = 1;hasKeyType in interface Type.MapOrBuilderpublic Type getKeyType()
The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types.
.google.bigtable.v2.Type key_type = 1;getKeyType in interface Type.MapOrBuilderpublic Type.Map.Builder setKeyType(Type value)
The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types.
.google.bigtable.v2.Type key_type = 1;public Type.Map.Builder setKeyType(Type.Builder builderForValue)
The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types.
.google.bigtable.v2.Type key_type = 1;public Type.Map.Builder mergeKeyType(Type value)
The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types.
.google.bigtable.v2.Type key_type = 1;public Type.Map.Builder clearKeyType()
The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types.
.google.bigtable.v2.Type key_type = 1;public Type.Builder getKeyTypeBuilder()
The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types.
.google.bigtable.v2.Type key_type = 1;public TypeOrBuilder getKeyTypeOrBuilder()
The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types.
.google.bigtable.v2.Type key_type = 1;getKeyTypeOrBuilder in interface Type.MapOrBuilderpublic boolean hasValueType()
The type of the values in a map.
.google.bigtable.v2.Type value_type = 2;hasValueType in interface Type.MapOrBuilderpublic Type getValueType()
The type of the values in a map.
.google.bigtable.v2.Type value_type = 2;getValueType in interface Type.MapOrBuilderpublic Type.Map.Builder setValueType(Type value)
The type of the values in a map.
.google.bigtable.v2.Type value_type = 2;public Type.Map.Builder setValueType(Type.Builder builderForValue)
The type of the values in a map.
.google.bigtable.v2.Type value_type = 2;public Type.Map.Builder mergeValueType(Type value)
The type of the values in a map.
.google.bigtable.v2.Type value_type = 2;public Type.Map.Builder clearValueType()
The type of the values in a map.
.google.bigtable.v2.Type value_type = 2;public Type.Builder getValueTypeBuilder()
The type of the values in a map.
.google.bigtable.v2.Type value_type = 2;public TypeOrBuilder getValueTypeOrBuilder()
The type of the values in a map.
.google.bigtable.v2.Type value_type = 2;getValueTypeOrBuilder in interface Type.MapOrBuilderCopyright © 2026 Google LLC. All rights reserved.