Package com.google.spanner.v1
Class ExecuteBatchDmlRequest.Statement.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExecuteBatchDmlRequest.Statement.Builder>
-
- com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ExecuteBatchDmlRequest.StatementOrBuilder
,Cloneable
- Enclosing class:
- ExecuteBatchDmlRequest.Statement
public static final class ExecuteBatchDmlRequest.Statement.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExecuteBatchDmlRequest.Statement.Builder> implements ExecuteBatchDmlRequest.StatementOrBuilder
A single DML statement.
Protobuf typegoogle.spanner.v1.ExecuteBatchDmlRequest.Statement
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExecuteBatchDmlRequest.Statement.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExecuteBatchDmlRequest.Statement
build()
ExecuteBatchDmlRequest.Statement
buildPartial()
ExecuteBatchDmlRequest.Statement.Builder
clear()
ExecuteBatchDmlRequest.Statement.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ExecuteBatchDmlRequest.Statement.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ExecuteBatchDmlRequest.Statement.Builder
clearParams()
Parameter names and values that bind to placeholders in the DML string.ExecuteBatchDmlRequest.Statement.Builder
clearParamTypes()
ExecuteBatchDmlRequest.Statement.Builder
clearSql()
Required.ExecuteBatchDmlRequest.Statement.Builder
clone()
boolean
containsParamTypes(String key)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.ExecuteBatchDmlRequest.Statement
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,Type>
getMutableParamTypes()
Deprecated.com.google.protobuf.Struct
getParams()
Parameter names and values that bind to placeholders in the DML string.com.google.protobuf.Struct.Builder
getParamsBuilder()
Parameter names and values that bind to placeholders in the DML string.com.google.protobuf.StructOrBuilder
getParamsOrBuilder()
Parameter names and values that bind to placeholders in the DML string.Map<String,Type>
getParamTypes()
Deprecated.int
getParamTypesCount()
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.Map<String,Type>
getParamTypesMap()
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.Type
getParamTypesOrDefault(String key, Type defaultValue)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.Type
getParamTypesOrThrow(String key)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.String
getSql()
Required.com.google.protobuf.ByteString
getSqlBytes()
Required.boolean
hasParams()
Parameter names and values that bind to placeholders in the DML string.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
ExecuteBatchDmlRequest.Statement.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExecuteBatchDmlRequest.Statement.Builder
mergeFrom(com.google.protobuf.Message other)
ExecuteBatchDmlRequest.Statement.Builder
mergeFrom(ExecuteBatchDmlRequest.Statement other)
ExecuteBatchDmlRequest.Statement.Builder
mergeParams(com.google.protobuf.Struct value)
Parameter names and values that bind to placeholders in the DML string.ExecuteBatchDmlRequest.Statement.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExecuteBatchDmlRequest.Statement.Builder
putAllParamTypes(Map<String,Type> values)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.ExecuteBatchDmlRequest.Statement.Builder
putParamTypes(String key, Type value)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.ExecuteBatchDmlRequest.Statement.Builder
removeParamTypes(String key)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.ExecuteBatchDmlRequest.Statement.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExecuteBatchDmlRequest.Statement.Builder
setParams(com.google.protobuf.Struct value)
Parameter names and values that bind to placeholders in the DML string.ExecuteBatchDmlRequest.Statement.Builder
setParams(com.google.protobuf.Struct.Builder builderForValue)
Parameter names and values that bind to placeholders in the DML string.ExecuteBatchDmlRequest.Statement.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExecuteBatchDmlRequest.Statement.Builder
setSql(String value)
Required.ExecuteBatchDmlRequest.Statement.Builder
setSqlBytes(com.google.protobuf.ByteString value)
Required.ExecuteBatchDmlRequest.Statement.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteBatchDmlRequest.Statement.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteBatchDmlRequest.Statement.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteBatchDmlRequest.Statement.Builder>
-
clear
public ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.Builder>
-
getDefaultInstanceForType
public ExecuteBatchDmlRequest.Statement getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExecuteBatchDmlRequest.Statement build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExecuteBatchDmlRequest.Statement buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.Builder>
-
setField
public ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.Builder>
-
clearField
public ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.Builder>
-
clearOneof
public ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.Builder>
-
setRepeatedField
public ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.Builder>
-
addRepeatedField
public ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.Builder>
-
mergeFrom
public ExecuteBatchDmlRequest.Statement.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExecuteBatchDmlRequest.Statement.Builder>
-
mergeFrom
public ExecuteBatchDmlRequest.Statement.Builder mergeFrom(ExecuteBatchDmlRequest.Statement other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteBatchDmlRequest.Statement.Builder>
-
mergeFrom
public ExecuteBatchDmlRequest.Statement.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<ExecuteBatchDmlRequest.Statement.Builder>
- Throws:
IOException
-
getSql
public String getSql()
Required. The DML string.
string sql = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSql
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
- Returns:
- The sql.
-
getSqlBytes
public com.google.protobuf.ByteString getSqlBytes()
Required. The DML string.
string sql = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSqlBytes
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
- Returns:
- The bytes for sql.
-
setSql
public ExecuteBatchDmlRequest.Statement.Builder setSql(String value)
Required. The DML string.
string sql = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The sql to set.- Returns:
- This builder for chaining.
-
clearSql
public ExecuteBatchDmlRequest.Statement.Builder clearSql()
Required. The DML string.
string sql = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setSqlBytes
public ExecuteBatchDmlRequest.Statement.Builder setSqlBytes(com.google.protobuf.ByteString value)
Required. The DML string.
string sql = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for sql to set.- Returns:
- This builder for chaining.
-
hasParams
public boolean hasParams()
Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
.google.protobuf.Struct params = 2;
- Specified by:
hasParams
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
- Returns:
- Whether the params field is set.
-
getParams
public com.google.protobuf.Struct getParams()
Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
.google.protobuf.Struct params = 2;
- Specified by:
getParams
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
- Returns:
- The params.
-
setParams
public ExecuteBatchDmlRequest.Statement.Builder setParams(com.google.protobuf.Struct value)
Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
.google.protobuf.Struct params = 2;
-
setParams
public ExecuteBatchDmlRequest.Statement.Builder setParams(com.google.protobuf.Struct.Builder builderForValue)
Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
.google.protobuf.Struct params = 2;
-
mergeParams
public ExecuteBatchDmlRequest.Statement.Builder mergeParams(com.google.protobuf.Struct value)
Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
.google.protobuf.Struct params = 2;
-
clearParams
public ExecuteBatchDmlRequest.Statement.Builder clearParams()
Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
.google.protobuf.Struct params = 2;
-
getParamsBuilder
public com.google.protobuf.Struct.Builder getParamsBuilder()
Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
.google.protobuf.Struct params = 2;
-
getParamsOrBuilder
public com.google.protobuf.StructOrBuilder getParamsOrBuilder()
Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id > @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
.google.protobuf.Struct params = 2;
- Specified by:
getParamsOrBuilder
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
-
getParamTypesCount
public int getParamTypesCount()
Description copied from interface:ExecuteBatchDmlRequest.StatementOrBuilder
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of [Type][google.spanner.v1.Type] for more information about SQL types.
map<string, .google.spanner.v1.Type> param_types = 3;
- Specified by:
getParamTypesCount
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
-
containsParamTypes
public boolean containsParamTypes(String key)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of [Type][google.spanner.v1.Type] for more information about SQL types.
map<string, .google.spanner.v1.Type> param_types = 3;
- Specified by:
containsParamTypes
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
-
getParamTypes
@Deprecated public Map<String,Type> getParamTypes()
Deprecated.UsegetParamTypesMap()
instead.- Specified by:
getParamTypes
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
-
getParamTypesMap
public Map<String,Type> getParamTypesMap()
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of [Type][google.spanner.v1.Type] for more information about SQL types.
map<string, .google.spanner.v1.Type> param_types = 3;
- Specified by:
getParamTypesMap
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
-
getParamTypesOrDefault
public Type getParamTypesOrDefault(String key, Type defaultValue)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of [Type][google.spanner.v1.Type] for more information about SQL types.
map<string, .google.spanner.v1.Type> param_types = 3;
- Specified by:
getParamTypesOrDefault
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
-
getParamTypesOrThrow
public Type getParamTypesOrThrow(String key)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of [Type][google.spanner.v1.Type] for more information about SQL types.
map<string, .google.spanner.v1.Type> param_types = 3;
- Specified by:
getParamTypesOrThrow
in interfaceExecuteBatchDmlRequest.StatementOrBuilder
-
clearParamTypes
public ExecuteBatchDmlRequest.Statement.Builder clearParamTypes()
-
removeParamTypes
public ExecuteBatchDmlRequest.Statement.Builder removeParamTypes(String key)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of [Type][google.spanner.v1.Type] for more information about SQL types.
map<string, .google.spanner.v1.Type> param_types = 3;
-
getMutableParamTypes
@Deprecated public Map<String,Type> getMutableParamTypes()
Deprecated.Use alternate mutation accessors instead.
-
putParamTypes
public ExecuteBatchDmlRequest.Statement.Builder putParamTypes(String key, Type value)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of [Type][google.spanner.v1.Type] for more information about SQL types.
map<string, .google.spanner.v1.Type> param_types = 3;
-
putAllParamTypes
public ExecuteBatchDmlRequest.Statement.Builder putAllParamTypes(Map<String,Type> values)
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of [Type][google.spanner.v1.Type] for more information about SQL types.
map<string, .google.spanner.v1.Type> param_types = 3;
-
setUnknownFields
public final ExecuteBatchDmlRequest.Statement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteBatchDmlRequest.Statement.Builder>
-
mergeUnknownFields
public final ExecuteBatchDmlRequest.Statement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteBatchDmlRequest.Statement.Builder>
-
-