public static final class StructType.Builder extends GeneratedMessageV3.Builder<StructType.Builder> implements StructTypeOrBuilder
StructType
defines the fields of a STRUCT type.
Protobuf type google.spanner.v1.StructType
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllFields(Iterable<? extends StructType.Field> values)
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. 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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.spanner.v1.StructType.Field>
|
addFields(StructType.Field value)
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. 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;
addFields(StructType.Field.Builder builderForValue)
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. 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;
addFields(int index, StructType.Field value)
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. 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;
addFields(int index, StructType.Field.Builder builderForValue)
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. 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;
addFieldsBuilder()
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. 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;
addFieldsBuilder(int index)
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. 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;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StructType build()
buildPartial()
public StructType buildPartial()
clear()
public StructType.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StructType.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFields()
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. 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;
clearOneof(Descriptors.OneofDescriptor oneof)
public StructType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StructType.Builder clone()
Overrides
getDefaultInstanceForType()
public StructType getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFields(int index)
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. 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;
Parameter |
Name |
Description |
index |
int
|
getFieldsBuilder(int index)
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. 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;
Parameter |
Name |
Description |
index |
int
|
getFieldsBuilderList()
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. 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()
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. 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;
Returns |
Type |
Description |
int |
|
getFieldsList()
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. 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(int index)
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. 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;
Parameter |
Name |
Description |
index |
int
|
getFieldsOrBuilderList()
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. 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;
Returns |
Type |
Description |
List<? extends com.google.spanner.v1.StructType.FieldOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public StructType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StructType.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(StructType other)
public StructType.Builder mergeFrom(StructType other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFields(int index)
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. 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;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public StructType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFields(int index, StructType.Field value)
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. 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;
setFields(int index, StructType.Field.Builder builderForValue)
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. 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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StructType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides