Class QueryAction.Parameter (6.60.0)

public static final class QueryAction.Parameter extends GeneratedMessageV3 implements QueryAction.ParameterOrBuilder

Parameter that bind to placeholders in the SQL string

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

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryAction.Parameter getDefaultInstance()
Returns
TypeDescription
QueryAction.Parameter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static QueryAction.Parameter.Builder newBuilder()
Returns
TypeDescription
QueryAction.Parameter.Builder

newBuilder(QueryAction.Parameter prototype)

public static QueryAction.Parameter.Builder newBuilder(QueryAction.Parameter prototype)
Parameter
NameDescription
prototypeQueryAction.Parameter
Returns
TypeDescription
QueryAction.Parameter.Builder

parseDelimitedFrom(InputStream input)

public static QueryAction.Parameter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryAction.Parameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QueryAction.Parameter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryAction.Parameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryAction.Parameter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryAction.Parameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryAction.Parameter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryAction.Parameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QueryAction.Parameter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryAction.Parameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QueryAction.Parameter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryAction.Parameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAction.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<QueryAction.Parameter> parser()
Returns
TypeDescription
Parser<Parameter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<QueryAction.Parameter> getParserForType()
Returns
TypeDescription
Parser<Parameter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public Type getType()

Type of the parameter.

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

Returns
TypeDescription
Type

The type.

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public QueryAction.Parameter.Builder newBuilderForType()
Returns
TypeDescription
QueryAction.Parameter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryAction.Parameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QueryAction.Parameter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public QueryAction.Parameter.Builder toBuilder()
Returns
TypeDescription
QueryAction.Parameter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException