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
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StructType build()
Returns
buildPartial()
public StructType buildPartial()
Returns
clear()
public StructType.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public StructType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StructType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StructType.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StructType getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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;
Returns
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
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;
Returns
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
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public StructType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StructType.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(StructType other)
public StructType.Builder mergeFrom(StructType other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StructType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StructType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides