public static final class StructType.Builder extends GeneratedMessageV3.Builder<StructType.Builder> implements StructTypeOrBuilder
`StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.Protobuf type
google.spanner.v1.StructType
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<StructType.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public StructType build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public StructType buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public StructType.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<StructType.Builder>
public StructType.Builder mergeFrom(StructType other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<StructType.Builder>
public StructType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<StructType.Builder>
IOException
public List<StructType.Field> getFieldsList()
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
getFieldsList
in interface StructTypeOrBuilder
public int getFieldsCount()
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
getFieldsCount
in interface StructTypeOrBuilder
public StructType.Field getFields(int index)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
getFields
in interface StructTypeOrBuilder
public StructType.Builder setFields(int index, StructType.Field value)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Builder setFields(int index, StructType.Field.Builder builderForValue)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Builder addFields(StructType.Field value)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Builder addFields(int index, StructType.Field value)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Builder addFields(StructType.Field.Builder builderForValue)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Builder addFields(int index, StructType.Field.Builder builderForValue)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Builder addAllFields(Iterable<? extends StructType.Field> values)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Builder clearFields()
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Builder removeFields(int index)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Field.Builder getFieldsBuilder(int index)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.FieldOrBuilder getFieldsOrBuilder(int index)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
getFieldsOrBuilder
in interface StructTypeOrBuilder
public List<? extends StructType.FieldOrBuilder> getFieldsOrBuilderList()
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
getFieldsOrBuilderList
in interface StructTypeOrBuilder
public StructType.Field.Builder addFieldsBuilder()
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public StructType.Field.Builder addFieldsBuilder(int index)
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public List<StructType.Field.Builder> getFieldsBuilderList()
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.
repeated .google.spanner.v1.StructType.Field fields = 1;
public final StructType.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<StructType.Builder>
public final StructType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<StructType.Builder>
Copyright © 2022 Google LLC. All rights reserved.