Package com.google.spanner.v1
Class Mutation.Write.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Write.Builder>
-
- com.google.spanner.v1.Mutation.Write.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Mutation.WriteOrBuilder
,Cloneable
- Enclosing class:
- Mutation.Write
public static final class Mutation.Write.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mutation.Write.Builder> implements Mutation.WriteOrBuilder
Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and [replace][google.spanner.v1.Mutation.replace] operations.
Protobuf typegoogle.spanner.v1.Mutation.Write
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Mutation.Write.Builder
addAllColumns(Iterable<String> values)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.Mutation.Write.Builder
addAllValues(Iterable<? extends com.google.protobuf.ListValue> values)
The values to be written.Mutation.Write.Builder
addColumns(String value)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.Mutation.Write.Builder
addColumnsBytes(com.google.protobuf.ByteString value)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.Mutation.Write.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Mutation.Write.Builder
addValues(int index, com.google.protobuf.ListValue value)
The values to be written.Mutation.Write.Builder
addValues(int index, com.google.protobuf.ListValue.Builder builderForValue)
The values to be written.Mutation.Write.Builder
addValues(com.google.protobuf.ListValue value)
The values to be written.Mutation.Write.Builder
addValues(com.google.protobuf.ListValue.Builder builderForValue)
The values to be written.com.google.protobuf.ListValue.Builder
addValuesBuilder()
The values to be written.com.google.protobuf.ListValue.Builder
addValuesBuilder(int index)
The values to be written.Mutation.Write
build()
Mutation.Write
buildPartial()
Mutation.Write.Builder
clear()
Mutation.Write.Builder
clearColumns()
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.Mutation.Write.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Mutation.Write.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Mutation.Write.Builder
clearTable()
Required.Mutation.Write.Builder
clearValues()
The values to be written.Mutation.Write.Builder
clone()
String
getColumns(int index)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.com.google.protobuf.ByteString
getColumnsBytes(int index)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.int
getColumnsCount()
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.com.google.protobuf.ProtocolStringList
getColumnsList()
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.Mutation.Write
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getTable()
Required.com.google.protobuf.ByteString
getTableBytes()
Required.com.google.protobuf.ListValue
getValues(int index)
The values to be written.com.google.protobuf.ListValue.Builder
getValuesBuilder(int index)
The values to be written.List<com.google.protobuf.ListValue.Builder>
getValuesBuilderList()
The values to be written.int
getValuesCount()
The values to be written.List<com.google.protobuf.ListValue>
getValuesList()
The values to be written.com.google.protobuf.ListValueOrBuilder
getValuesOrBuilder(int index)
The values to be written.List<? extends com.google.protobuf.ListValueOrBuilder>
getValuesOrBuilderList()
The values to be written.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Mutation.Write.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Mutation.Write.Builder
mergeFrom(com.google.protobuf.Message other)
Mutation.Write.Builder
mergeFrom(Mutation.Write other)
Mutation.Write.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Mutation.Write.Builder
removeValues(int index)
The values to be written.Mutation.Write.Builder
setColumns(int index, String value)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.Mutation.Write.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Mutation.Write.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Mutation.Write.Builder
setTable(String value)
Required.Mutation.Write.Builder
setTableBytes(com.google.protobuf.ByteString value)
Required.Mutation.Write.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Mutation.Write.Builder
setValues(int index, com.google.protobuf.ListValue value)
The values to be written.Mutation.Write.Builder
setValues(int index, com.google.protobuf.ListValue.Builder builderForValue)
The values to be written.-
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<Mutation.Write.Builder>
-
clear
public Mutation.Write.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<Mutation.Write.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<Mutation.Write.Builder>
-
getDefaultInstanceForType
public Mutation.Write getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Mutation.Write build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Mutation.Write buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Mutation.Write.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<Mutation.Write.Builder>
-
setField
public Mutation.Write.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<Mutation.Write.Builder>
-
clearField
public Mutation.Write.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<Mutation.Write.Builder>
-
clearOneof
public Mutation.Write.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<Mutation.Write.Builder>
-
setRepeatedField
public Mutation.Write.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<Mutation.Write.Builder>
-
addRepeatedField
public Mutation.Write.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<Mutation.Write.Builder>
-
mergeFrom
public Mutation.Write.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mutation.Write.Builder>
-
mergeFrom
public Mutation.Write.Builder mergeFrom(Mutation.Write other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.Write.Builder>
-
mergeFrom
public Mutation.Write.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<Mutation.Write.Builder>
- Throws:
IOException
-
getTable
public String getTable()
Required. The table whose rows will be written.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTable
in interfaceMutation.WriteOrBuilder
- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()
Required. The table whose rows will be written.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTableBytes
in interfaceMutation.WriteOrBuilder
- Returns:
- The bytes for table.
-
setTable
public Mutation.Write.Builder setTable(String value)
Required. The table whose rows will be written.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The table to set.- Returns:
- This builder for chaining.
-
clearTable
public Mutation.Write.Builder clearTable()
Required. The table whose rows will be written.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setTableBytes
public Mutation.Write.Builder setTableBytes(com.google.protobuf.ByteString value)
Required. The table whose rows will be written.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for table to set.- Returns:
- This builder for chaining.
-
getColumnsList
public com.google.protobuf.ProtocolStringList getColumnsList()
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Specified by:
getColumnsList
in interfaceMutation.WriteOrBuilder
- Returns:
- A list containing the columns.
-
getColumnsCount
public int getColumnsCount()
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Specified by:
getColumnsCount
in interfaceMutation.WriteOrBuilder
- Returns:
- The count of columns.
-
getColumns
public String getColumns(int index)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Specified by:
getColumns
in interfaceMutation.WriteOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The columns at the given index.
-
getColumnsBytes
public com.google.protobuf.ByteString getColumnsBytes(int index)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Specified by:
getColumnsBytes
in interfaceMutation.WriteOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the columns at the given index.
-
setColumns
public Mutation.Write.Builder setColumns(int index, String value)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Parameters:
index
- The index to set the value at.value
- The columns to set.- Returns:
- This builder for chaining.
-
addColumns
public Mutation.Write.Builder addColumns(String value)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Parameters:
value
- The columns to add.- Returns:
- This builder for chaining.
-
addAllColumns
public Mutation.Write.Builder addAllColumns(Iterable<String> values)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Parameters:
values
- The columns to add.- Returns:
- This builder for chaining.
-
clearColumns
public Mutation.Write.Builder clearColumns()
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Returns:
- This builder for chaining.
-
addColumnsBytes
public Mutation.Write.Builder addColumnsBytes(com.google.protobuf.ByteString value)
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
- Parameters:
value
- The bytes of the columns to add.- Returns:
- This builder for chaining.
-
getValuesList
public List<com.google.protobuf.ListValue> getValuesList()
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
- Specified by:
getValuesList
in interfaceMutation.WriteOrBuilder
-
getValuesCount
public int getValuesCount()
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
- Specified by:
getValuesCount
in interfaceMutation.WriteOrBuilder
-
getValues
public com.google.protobuf.ListValue getValues(int index)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
- Specified by:
getValues
in interfaceMutation.WriteOrBuilder
-
setValues
public Mutation.Write.Builder setValues(int index, com.google.protobuf.ListValue value)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
setValues
public Mutation.Write.Builder setValues(int index, com.google.protobuf.ListValue.Builder builderForValue)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
addValues
public Mutation.Write.Builder addValues(com.google.protobuf.ListValue value)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
addValues
public Mutation.Write.Builder addValues(int index, com.google.protobuf.ListValue value)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
addValues
public Mutation.Write.Builder addValues(com.google.protobuf.ListValue.Builder builderForValue)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
addValues
public Mutation.Write.Builder addValues(int index, com.google.protobuf.ListValue.Builder builderForValue)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
addAllValues
public Mutation.Write.Builder addAllValues(Iterable<? extends com.google.protobuf.ListValue> values)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
clearValues
public Mutation.Write.Builder clearValues()
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
removeValues
public Mutation.Write.Builder removeValues(int index)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
getValuesBuilder
public com.google.protobuf.ListValue.Builder getValuesBuilder(int index)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
getValuesOrBuilder
public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
- Specified by:
getValuesOrBuilder
in interfaceMutation.WriteOrBuilder
-
getValuesOrBuilderList
public List<? extends com.google.protobuf.ListValueOrBuilder> getValuesOrBuilderList()
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
- Specified by:
getValuesOrBuilderList
in interfaceMutation.WriteOrBuilder
-
addValuesBuilder
public com.google.protobuf.ListValue.Builder addValuesBuilder()
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
addValuesBuilder
public com.google.protobuf.ListValue.Builder addValuesBuilder(int index)
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
getValuesBuilderList
public List<com.google.protobuf.ListValue.Builder> getValuesBuilderList()
The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue values = 3;
-
setUnknownFields
public final Mutation.Write.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.Write.Builder>
-
mergeUnknownFields
public final Mutation.Write.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.Write.Builder>
-
-