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 buildPa