Package com.google.spanner.v1
Class StructType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
- com.google.spanner.v1.StructType.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StructTypeOrBuilder
,Cloneable
- Enclosing class:
- StructType
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 typegoogle.spanner.v1.StructType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 value)
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(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.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 value)
The list of fields that make up this struct.StructType.Builder
setFields(int index, StructType.Field.Builder builderForValue)
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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
clear
public StructType.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
getDefaultInstanceForType
public StructType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StructType build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StructType buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StructType.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
setField
public StructType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
clearField
public StructType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
clearOneof
public StructType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
setRepeatedField
public StructType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
addRepeatedField
public StructType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
mergeFrom
public StructType.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StructType.Builder>
-
mergeFrom
public StructType.Builder mergeFrom(StructType other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
mergeFrom
public StructType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StructType.Builder>
- Throws:
IOException
-
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][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;
- Specified by:
getFieldsList
in interfaceStructTypeOrBuilder
-
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][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;
- Specified by:
getFieldsCount
in interfaceStructTypeOrBuilder
-
getFields
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][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;
- Specified by:
getFields
in interfaceStructTypeOrBuilder
-
setFields
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][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;
-
setFields
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;
-
addFields
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;
-
addFields
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;
-
addFields
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;
-
addFields
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;
-
addAllFields
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;
-
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][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;
-
removeFields
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;
-
getFieldsBuilder
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;
-
getFieldsOrBuilder
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;
- Specified by:
getFieldsOrBuilder
in interfaceStructTypeOrBuilder
-
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][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;
- Specified by:
getFieldsOrBuilderList
in interfaceStructTypeOrBuilder
-
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][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;
-
addFieldsBuilder
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;
-
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][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;
-
setUnknownFields
public final StructType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
mergeUnknownFields
public final StructType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StructType.Builder>
-
-