public static final class StructType.Builder extends GeneratedMessage.Builder<StructType.Builder> implements StructTypeOrBuilder
StructType defines the fields of a
STRUCT type.
Protobuf type google.spanner.v1.StructType
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
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
|
build()
public StructType build()
buildPartial()
public StructType buildPartial()
clear()
public StructType.Builder clear()
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;
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 GeneratedMessage.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)
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
|
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;