public static final class Type.Struct.Builder extends com.google.protobuf.GeneratedMessage.Builder<Type.Struct.Builder> implements Type.StructOrBuilder
A structured data value, consisting of fields which map to dynamically typed values. Values of type `Struct` are stored in `Value.array_value` where entries are in the same order and number as `field_types`.Protobuf type
google.bigtable.v2.Type.Struct| Modifier and Type | Method and Description |
|---|---|
Type.Struct.Builder |
addAllFields(Iterable<? extends Type.Struct.Field> values)
The names and types of the fields in this struct.
|
Type.Struct.Builder |
addFields(int index,
Type.Struct.Field.Builder builderForValue)
The names and types of the fields in this struct.
|
Type.Struct.Builder |
addFields(int index,
Type.Struct.Field value)
The names and types of the fields in this struct.
|
Type.Struct.Builder |
addFields(Type.Struct.Field.Builder builderForValue)
The names and types of the fields in this struct.
|
Type.Struct.Builder |
addFields(Type.Struct.Field value)
The names and types of the fields in this struct.
|
Type.Struct.Field.Builder |
addFieldsBuilder()
The names and types of the fields in this struct.
|
Type.Struct.Field.Builder |
addFieldsBuilder(int index)
The names and types of the fields in this struct.
|
Type.Struct |
build() |
Type.Struct |
buildPartial() |
Type.Struct.Builder |
clear() |
Type.Struct.Builder |
clearEncoding()
The encoding to use when converting to or from lower level types.
|
Type.Struct.Builder |
clearFields()
The names and types of the fields in this struct.
|
Type.Struct |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Type.Struct.Encoding |
getEncoding()
The encoding to use when converting to or from lower level types.
|
Type.Struct.Encoding.Builder |
getEncodingBuilder()
The encoding to use when converting to or from lower level types.
|
Type.Struct.EncodingOrBuilder |
getEncodingOrBuilder()
The encoding to use when converting to or from lower level types.
|
Type.Struct.Field |
getFields(int index)
The names and types of the fields in this struct.
|
Type.Struct.Field.Builder |
getFieldsBuilder(int index)
The names and types of the fields in this struct.
|
List<Type.Struct.Field.Builder> |
getFieldsBuilderList()
The names and types of the fields in this struct.
|
int |
getFieldsCount()
The names and types of the fields in this struct.
|
List<Type.Struct.Field> |
getFieldsList()
The names and types of the fields in this struct.
|
Type.Struct.FieldOrBuilder |
getFieldsOrBuilder(int index)
The names and types of the fields in this struct.
|
List<? extends Type.Struct.FieldOrBuilder> |
getFieldsOrBuilderList()
The names and types of the fields in this struct.
|
boolean |
hasEncoding()
The encoding to use when converting to or from lower level types.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Type.Struct.Builder |
mergeEncoding(Type.Struct.Encoding value)
The encoding to use when converting to or from lower level types.
|
Type.Struct.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Type.Struct.Builder |
mergeFrom(com.google.protobuf.Message other) |
Type.Struct.Builder |
mergeFrom(Type.Struct other) |
Type.Struct.Builder |
removeFields(int index)
The names and types of the fields in this struct.
|
Type.Struct.Builder |
setEncoding(Type.Struct.Encoding.Builder builderForValue)
The encoding to use when converting to or from lower level types.
|
Type.Struct.Builder |
setEncoding(Type.Struct.Encoding value)
The encoding to use when converting to or from lower level types.
|
Type.Struct.Builder |
setFields(int index,
Type.Struct.Field.Builder builderForValue)
The names and types of the fields in this struct.
|
Type.Struct.Builder |
setFields(int index,
Type.Struct.Field value)
The names and types of the fields in this struct.
|
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.Struct.Builder>public Type.Struct.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.Struct.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.Struct.Builder>public Type.Struct getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Type.Struct build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Type.Struct buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Type.Struct.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Type.Struct.Builder>public Type.Struct.Builder mergeFrom(Type.Struct other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Type.Struct.Builder>public Type.Struct.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.Struct.Builder>IOExceptionpublic List<Type.Struct.Field> getFieldsList()
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;getFieldsList in interface Type.StructOrBuilderpublic int getFieldsCount()
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;getFieldsCount in interface Type.StructOrBuilderpublic Type.Struct.Field getFields(int index)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;getFields in interface Type.StructOrBuilderpublic Type.Struct.Builder setFields(int index, Type.Struct.Field value)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Builder setFields(int index, Type.Struct.Field.Builder builderForValue)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Builder addFields(Type.Struct.Field value)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Builder addFields(int index, Type.Struct.Field value)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Builder addFields(Type.Struct.Field.Builder builderForValue)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Builder addFields(int index, Type.Struct.Field.Builder builderForValue)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Builder addAllFields(Iterable<? extends Type.Struct.Field> values)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Builder clearFields()
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Builder removeFields(int index)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Field.Builder getFieldsBuilder(int index)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.FieldOrBuilder getFieldsOrBuilder(int index)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;getFieldsOrBuilder in interface Type.StructOrBuilderpublic List<? extends Type.Struct.FieldOrBuilder> getFieldsOrBuilderList()
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;getFieldsOrBuilderList in interface Type.StructOrBuilderpublic Type.Struct.Field.Builder addFieldsBuilder()
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public Type.Struct.Field.Builder addFieldsBuilder(int index)
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public List<Type.Struct.Field.Builder> getFieldsBuilderList()
The names and types of the fields in this struct.
repeated .google.bigtable.v2.Type.Struct.Field fields = 1;public boolean hasEncoding()
The encoding to use when converting to or from lower level types.
.google.bigtable.v2.Type.Struct.Encoding encoding = 2;hasEncoding in interface Type.StructOrBuilderpublic Type.Struct.Encoding getEncoding()
The encoding to use when converting to or from lower level types.
.google.bigtable.v2.Type.Struct.Encoding encoding = 2;getEncoding in interface Type.StructOrBuilderpublic Type.Struct.Builder setEncoding(Type.Struct.Encoding value)
The encoding to use when converting to or from lower level types.
.google.bigtable.v2.Type.Struct.Encoding encoding = 2;public Type.Struct.Builder setEncoding(Type.Struct.Encoding.Builder builderForValue)
The encoding to use when converting to or from lower level types.
.google.bigtable.v2.Type.Struct.Encoding encoding = 2;public Type.Struct.Builder mergeEncoding(Type.Struct.Encoding value)
The encoding to use when converting to or from lower level types.
.google.bigtable.v2.Type.Struct.Encoding encoding = 2;public Type.Struct.Builder clearEncoding()
The encoding to use when converting to or from lower level types.
.google.bigtable.v2.Type.Struct.Encoding encoding = 2;public Type.Struct.Encoding.Builder getEncodingBuilder()
The encoding to use when converting to or from lower level types.
.google.bigtable.v2.Type.Struct.Encoding encoding = 2;public Type.Struct.EncodingOrBuilder getEncodingOrBuilder()
The encoding to use when converting to or from lower level types.
.google.bigtable.v2.Type.Struct.Encoding encoding = 2;getEncodingOrBuilder in interface Type.StructOrBuilderCopyright © 2026 Google LLC. All rights reserved.