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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryAction.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public QueryAction.Parameter build()
buildPartial()
public QueryAction.Parameter buildPartial()
clear()
public QueryAction.Parameter.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryAction.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public QueryAction.Parameter.Builder clearName()
Name of the parameter (with no leading @).
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryAction.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public QueryAction.Parameter.Builder clearType()
Type of the parameter.
.google.spanner.v1.Type type = 2;
clearValue()
public QueryAction.Parameter.Builder clearValue()
Value of the parameter.
.google.spanner.executor.v1.Value value = 3;
clone()
public QueryAction.Parameter.Builder clone()
Overrides
getDefaultInstanceForType()
public QueryAction.Parameter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
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;
getTypeOrBuilder()
public TypeOrBuilder getTypeOrBuilder()
Type of the parameter.
.google.spanner.v1.Type type = 2;
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;
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
Value of the parameter.
.google.spanner.executor.v1.Value value = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public QueryAction.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QueryAction.Parameter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(QueryAction.Parameter other)
public QueryAction.Parameter.Builder mergeFrom(QueryAction.Parameter other)
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryAction.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public QueryAction.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryAction.Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
setType(Type.Builder builderForValue)
public QueryAction.Parameter.Builder setType(Type.Builder builderForValue)
Type of the parameter.
.google.spanner.v1.Type type = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryAction.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
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
|
setValue(Value.Builder builderForValue)
public QueryAction.Parameter.Builder setValue(Value.Builder builderForValue)
Value of the parameter.
.google.spanner.executor.v1.Value value = 3;