Class GqlQueryParameter.Builder (2.10.1)

public static final class GqlQueryParameter.Builder extends GeneratedMessageV3.Builder<GqlQueryParameter.Builder> implements GqlQueryParameterOrBuilder

A binding parameter for a GQL query.

Protobuf type google.datastore.v1.GqlQueryParameter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GqlQueryParameter build()
Returns
TypeDescription
GqlQueryParameter

buildPartial()

public GqlQueryParameter buildPartial()
Returns
TypeDescription
GqlQueryParameter

clear()

public GqlQueryParameter.Builder clear()
Returns
TypeDescription
GqlQueryParameter.Builder
Overrides

clearCursor()

public GqlQueryParameter.Builder clearCursor()

A query cursor. Query cursors are returned in query result batches.

bytes cursor = 3;

Returns
TypeDescription
GqlQueryParameter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameterType()

public GqlQueryParameter.Builder clearParameterType()
Returns
TypeDescription
GqlQueryParameter.Builder

clearValue()

public GqlQueryParameter.Builder clearValue()

A value parameter.

.google.datastore.v1.Value value = 2;

Returns
TypeDescription
GqlQueryParameter.Builder

clone()

public GqlQueryParameter.Builder clone()
Returns
TypeDescription
GqlQueryParameter.Builder
Overrides

getCursor()

public ByteString getCursor()

A query cursor. Query cursors are returned in query result batches.

bytes cursor = 3;

Returns
TypeDescription
ByteString

The cursor.

getDefaultInstanceForType()

public GqlQueryParameter getDefaultInstanceForType()
Returns
TypeDescription
GqlQueryParameter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParameterTypeCase()

public GqlQueryParameter.ParameterTypeCase getParameterTypeCase()
Returns
TypeDescription
GqlQueryParameter.ParameterTypeCase

getValue()

public Value getValue()

A value parameter.

.google.datastore.v1.Value value = 2;

Returns
TypeDescription
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

A value parameter.

.google.datastore.v1.Value value = 2;

Returns
TypeDescription
Value.Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

A value parameter.

.google.datastore.v1.Value value = 2;

Returns
TypeDescription
ValueOrBuilder

hasCursor()

public boolean hasCursor()

A query cursor. Query cursors are returned in query result batches.

bytes cursor = 3;

Returns
TypeDescription
boolean

Whether the cursor field is set.

hasValue()

public boolean hasValue()

A value parameter.

.google.datastore.v1.Value value = 2;

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(GqlQueryParameter other)

public GqlQueryParameter.Builder mergeFrom(GqlQueryParameter other)
Parameter
NameDescription
otherGqlQueryParameter
Returns
TypeDescription
GqlQueryParameter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GqlQueryParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GqlQueryParameter.Builder
Overrides

mergeValue(Value value)

public GqlQueryParameter.Builder mergeValue(Value value)

A value parameter.

.google.datastore.v1.Value value = 2;

Parameter
NameDescription
valueValue
Returns
TypeDescription
GqlQueryParameter.Builder

setCursor(ByteString value)

public GqlQueryParameter.Builder setCursor(ByteString value)

A query cursor. Query cursors are returned in query result batches.

bytes cursor = 3;

Parameter
NameDescription
valueByteString

The cursor to set.

Returns
TypeDescription
GqlQueryParameter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GqlQueryParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GqlQueryParameter.Builder
Overrides

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

public GqlQueryParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GqlQueryParameter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GqlQueryParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GqlQueryParameter.Builder
Overrides

setValue(Value value)

public GqlQueryParameter.Builder setValue(Value value)

A value parameter.

.google.datastore.v1.Value value = 2;

Parameter
NameDescription
valueValue
Returns
TypeDescription
GqlQueryParameter.Builder

setValue(Value.Builder builderForValue)

public GqlQueryParameter.Builder setValue(Value.Builder builderForValue)

A value parameter.

.google.datastore.v1.Value value = 2;

Parameter
NameDescription
builderForValueValue.Builder
Returns
TypeDescription
GqlQueryParameter.Builder