Class QueryAction.Parameter.Builder (6.56.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryAction.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueryAction.Parameter.Builder
Overrides

build()

public QueryAction.Parameter build()
Returns
TypeDescription
QueryAction.Parameter

buildPartial()

public QueryAction.Parameter buildPartial()
Returns
TypeDescription
QueryAction.Parameter

clear()

public QueryAction.Parameter.Builder clear()
Returns
TypeDescription
QueryAction.Parameter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryAction.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryAction.Parameter.Builder
Overrides

clearName()

public QueryAction.Parameter.Builder clearName()

Name of the parameter (with no leading @).

string name = 1;

Returns
TypeDescription
QueryAction.Parameter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryAction.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QueryAction.Parameter.Builder
Overrides

clearType()

public QueryAction.Parameter.Builder clearType()

Type of the parameter.

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

Returns
TypeDescription
QueryAction.Parameter.Builder

clearValue()

public QueryAction.Parameter.Builder clearValue()

Value of the parameter.

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

Returns
TypeDescription
QueryAction.Parameter.Builder

clone()

public QueryAction.Parameter.Builder clone()
Returns
TypeDescription
QueryAction.Parameter.Builder
Overrides

getDefaultInstanceForType()

public QueryAction.Parameter getDefaultInstanceForType()
Returns
TypeDescription
QueryAction.Parameter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the parameter (with no leading @).

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the parameter (with no leading @).

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getType()

public Type getType()

Type of the parameter.

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

Returns
TypeDescription
Type

The type.

getTypeBuilder()

public Type.Builder getTypeBuilder()

Type of the parameter.

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

Returns
TypeDescription
Type.Builder

getTypeOrBuilder()

public TypeOrBuilder getTypeOrBuilder()

Type of the parameter.

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

Returns
TypeDescription
TypeOrBuilder

getValue()

public Value getValue()

Value of the parameter.

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

Returns
TypeDescription
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value of the parameter.

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

Returns
TypeDescription
Value.Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value of the parameter.

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

Returns
TypeDescription
ValueOrBuilder

hasType()

public boolean hasType()

Type of the parameter.

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

Returns
TypeDescription
boolean

Whether the type field is set.

hasValue()

public boolean hasValue()

Value of the parameter.

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

Returns
TypeDescription
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryAction.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAction.Parameter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueryAction.Parameter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueryAction.Parameter.Builder
Overrides

mergeFrom(QueryAction.Parameter other)

public QueryAction.Parameter.Builder mergeFrom(QueryAction.Parameter other)
Parameter
NameDescription
otherQueryAction.Parameter
Returns
TypeDescription
QueryAction.Parameter.Builder

mergeType(Type value)

public QueryAction.Parameter.Builder mergeType(Type value)

Type of the parameter.

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

Parameter
NameDescription
valueType
Returns
TypeDescription
QueryAction.Parameter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryAction.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
QueryAction.Parameter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueryAction.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueType
Returns
TypeDescription
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
NameDescription
builderForValueType.Builder
Returns
TypeDescription
QueryAction.Parameter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryAction.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueValue.Builder
Returns
TypeDescription
QueryAction.Parameter.Builder