public static final class QueryAction.Parameter.Builder extends GeneratedMessage.Builder<QueryAction.Parameter.Builder> implements QueryAction.ParameterOrBuilderParameter that bind to placeholders in the SQL string
Protobuf type google.spanner.executor.v1.QueryAction.Parameter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QueryAction.Parameter.BuilderImplements
QueryAction.ParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
getDefaultInstanceForType()
public QueryAction.Parameter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryAction.Parameter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
|
setName(String value)
public QueryAction.Parameter.Builder setName(String value)Name of the parameter (with no leading @).
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
QueryAction.Parameter.Builder |
This builder for chaining. |
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 |
|
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 |
|