Class QueryAction.Parameter.Builder (6.74.0)

public static final class QueryAction.Parameter.Builder extends GeneratedMessageV3.Builder<QueryAction.Parameter.Builder> implements QueryAction.ParameterOrBuilder

Parameter that bind to placeholders in the SQL string

Protobuf type google.spanner.executor.v1.QueryAction.Parameter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryAction.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

build()

public QueryAction.Parameter build()
Returns
Type Description
QueryAction.Parameter

buildPartial()

public QueryAction.Parameter buildPartial()
Returns
Type Description
QueryAction.Parameter

clear()

public QueryAction.Parameter.Builder clear()
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryAction.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

clearName()

public QueryAction.Parameter.Builder clearName()

Name of the parameter (with no leading @).

string name = 1;

Returns
Type Description
QueryAction.Parameter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryAction.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

clearType()

public QueryAction.Parameter.Builder clearType()

Type of the parameter.

.google.spanner.v1.Type type = 2;

Returns
Type Description
QueryAction.Parameter.Builder

clearValue()

public QueryAction.Parameter.Builder clearValue()

Value of the parameter.

.google.spanner.executor.v1.Value value = 3;

Returns
Type Description
QueryAction.Parameter.Builder

clone()

public QueryAction.Parameter.Builder clone()
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

getDefaultInstanceForType()

public QueryAction.Parameter getDefaultInstanceForType()
Returns
Type Description
QueryAction.Parameter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Name of the parameter (with no leading @).

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the parameter (with no leading @).

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getType()

public Type getType()

Type of the parameter.

.google.spanner.v1.Type type = 2;

Returns
Type Description
Type

The type.

getTypeBuilder()

public Type.Builder getTypeBuilder()

Type of the parameter.

.google.spanner.v1.Type type = 2;

Returns
Type Description
Type.Builder

getTypeOrBuilder()

public TypeOrBuilder getTypeOrBuilder()

Type of the parameter.

.google.spanner.v1.Type type = 2;

Returns
Type Description
TypeOrBuilder

getValue()

public Value getValue()

Value of the parameter.

.google.spanner.executor.v1.Value value = 3;

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value of the parameter.

.google.spanner.executor.v1.Value value = 3;

Returns
Type Description
Value.Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value of the parameter.

.google.spanner.executor.v1.Value value = 3;

Returns
Type Description
ValueOrBuilder

hasType()

public boolean hasType()

Type of the parameter.

.google.spanner.v1.Type type = 2;

Returns
Type Description
boolean

Whether the type field is set.

hasValue()

public boolean hasValue()

Value of the parameter.

.google.spanner.executor.v1.Value value = 3;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryAction.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryAction.Parameter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryAction.Parameter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

mergeFrom(QueryAction.Parameter other)

public QueryAction.Parameter.Builder mergeFrom(QueryAction.Parameter other)
Parameter
Name Description
other QueryAction.Parameter
Returns
Type Description
QueryAction.Parameter.Builder

mergeType(Type value)

public QueryAction.Parameter.Builder mergeType(Type value)

Type of the parameter.

.google.spanner.v1.Type type = 2;

Parameter
Name Description
value Type
Returns
Type Description
QueryAction.Parameter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryAction.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

mergeValue(Value value)

public QueryAction.Parameter.Builder mergeValue(Value value)

Value of the parameter.

.google.spanner.executor.v1.Value value = 3;

Parameter
Name Description
value Value
Returns
Type Description
QueryAction.Parameter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueryAction.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

setName(String value)

public QueryAction.Parameter.Builder setName(String value)

Name of the parameter (with no leading @).

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
QueryAction.Parameter.Builder

This builder for chaining.

setNameBytes(ByteString value)

public QueryAction.Parameter.Builder setNameBytes(ByteString value)

Name of the parameter (with no leading @).

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
QueryAction.Parameter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueryAction.Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

setType(Type value)

public QueryAction.Parameter.Builder setType(Type value)

Type of the parameter.

.google.spanner.v1.Type type = 2;

Parameter
Name Description
value Type
Returns
Type Description
QueryAction.Parameter.Builder

setType(Type.Builder builderForValue)

public QueryAction.Parameter.Builder setType(Type.Builder builderForValue)

Type of the parameter.

.google.spanner.v1.Type type = 2;

Parameter
Name Description
builderForValue Type.Builder
Returns
Type Description
QueryAction.Parameter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryAction.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryAction.Parameter.Builder
Overrides

setValue(Value value)

public QueryAction.Parameter.Builder setValue(Value value)

Value of the parameter.

.google.spanner.executor.v1.Value value = 3;

Parameter
Name Description
value Value
Returns
Type Description
QueryAction.Parameter.Builder

setValue(Value.Builder builderForValue)

public QueryAction.Parameter.Builder setValue(Value.Builder builderForValue)

Value of the parameter.

.google.spanner.executor.v1.Value value = 3;

Parameter
Name Description
builderForValue Value.Builder
Returns
Type Description
QueryAction.Parameter.Builder