public static final class StructType.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
StructType.Builder |
addAllFields(Iterable<? extends StructType.Field> values)
The list of fields that make up this struct.
|
StructType.Builder |
addFields(int index,
StructType.Field.Builder builderForValue)
The list of fields that make up this struct.
|
StructType.Builder |
addFields(int index,
StructType.Field value)
The list of fields that make up this struct.
|
StructType.Builder |
addFields(StructType.Field.Builder builderForValue)
The list of fields that make up this struct.
|
StructType.Builder |
addFields(StructType.Field value)
The list of fields that make up this struct.
|
StructType.Field.Builder |
addFieldsBuilder()
The list of fields that make up this struct.
|
StructType.Field.Builder |
addFieldsBuilder(int index)
The list of fields that make up this struct.
|
StructType.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StructType |
build() |
StructType |
buildPartial() |
StructType.Builder |
clear() |
StructType.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StructType.Builder |
clearFields()
The list of fields that make up this struct.
|
StructType.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StructType.Builder |
clone() |
StructType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
StructType.Field |
getFields(int index)
The list of fields that make up this struct.
|
StructType.Field.Builder |
getFieldsBuilder(int index)
The list of fields that make up this struct.
|
List<StructType.Field.Builder> |
getFieldsBuilderList()
The list of fields that make up this struct.
|
int |
getFieldsCount()
The list of fields that make up this struct.
|
List<StructType.Field> |
getFieldsList()
The list of fields that make up this struct.
|
StructType.FieldOrBuilder |
getFieldsOrBuilder(int index)
The list of fields that make up this struct.
|
List<? extends StructType.FieldOrBuilder> |
getFieldsOrBuilderList()
The list of fields that make up this struct.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StructType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StructType.Builder |
mergeFrom(com.google.protobuf.Message other) |
StructType.Builder |
mergeFrom(StructType other) |
StructType.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StructType.Builder |
removeFields(int index)
The list of fields that make up this struct.
|
StructType.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StructType.Builder |
setFields(int index,
StructType.Field.Builder builderForValue)
The list of fields that make up this struct.
|
StructType.Builder |
setFields(int index,
StructType.Field value)
The list of fields that make up this struct.
|
StructType.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StructType.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<StructType.Builder>public StructType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StructType.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<StructType.Builder>public StructType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StructType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StructType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StructType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>public StructType.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<StructType.Builder>public StructType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>public StructType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>public StructType.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<StructType.Builder>public StructType.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<StructType.Builder>public StructType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StructType.Builder>public StructType.Builder mergeFrom(StructType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>public StructType.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<StructType.Builder>IOExceptionpublic 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 StructTypeOrBuilderpublic 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 StructTypeOrBuilderpublic 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 StructTypeOrBuilderpublic 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 StructTypeOrBuilderpublic 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 StructTypeOrBuilderpublic 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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>public final StructType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>Copyright © 2019 Google LLC. All rights reserved.