Class GqlQueryParameter.Builder (2.25.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GqlQueryParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GqlQueryParameter.Builder
Overrides

build()

public GqlQueryParameter build()
Returns
Type Description
GqlQueryParameter

buildPartial()

public GqlQueryParameter buildPartial()
Returns
Type Description
GqlQueryParameter

clear()

public GqlQueryParameter.Builder clear()
Returns
Type Description
GqlQueryParameter.Builder
Overrides

clearCursor()

public GqlQueryParameter.Builder clearCursor()

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

bytes cursor = 3;

Returns
Type Description
GqlQueryParameter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GqlQueryParameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GqlQueryParameter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GqlQueryParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GqlQueryParameter.Builder
Overrides

clearParameterType()

public GqlQueryParameter.Builder clearParameterType()
Returns
Type Description
GqlQueryParameter.Builder

clearValue()

public GqlQueryParameter.Builder clearValue()

A value parameter.

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

Returns
Type Description
GqlQueryParameter.Builder

clone()

public GqlQueryParameter.Builder clone()
Returns
Type Description
GqlQueryParameter.Builder
Overrides

getCursor()

public ByteString getCursor()

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

bytes cursor = 3;

Returns
Type Description
ByteString

The cursor.

getDefaultInstanceForType()

public GqlQueryParameter getDefaultInstanceForType()
Returns
Type Description
GqlQueryParameter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParameterTypeCase()

public GqlQueryParameter.ParameterTypeCase getParameterTypeCase()
Returns
Type Description
GqlQueryParameter.ParameterTypeCase

getValue()

public Value getValue()

A value parameter.

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

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

A value parameter.

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

Returns
Type Description
Value.Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

A value parameter.

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

Returns
Type Description
ValueOrBuilder

hasCursor()

public boolean hasCursor()

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

bytes cursor = 3;

Returns
Type Description
boolean

Whether the cursor field is set.

hasValue()

public boolean hasValue()

A value parameter.

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

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GqlQueryParameter other)

public GqlQueryParameter.Builder mergeFrom(GqlQueryParameter other)
Parameter
Name Description
other GqlQueryParameter
Returns
Type Description
GqlQueryParameter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GqlQueryParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GqlQueryParameter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GqlQueryParameter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GqlQueryParameter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GqlQueryParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GqlQueryParameter.Builder
Overrides

mergeValue(Value value)

public GqlQueryParameter.Builder mergeValue(Value value)

A value parameter.

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

Parameter
Name Description
value Value
Returns
Type Description
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
Name Description
value ByteString

The cursor to set.

Returns
Type Description
GqlQueryParameter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GqlQueryParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GqlQueryParameter.Builder
Overrides

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

public GqlQueryParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GqlQueryParameter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GqlQueryParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GqlQueryParameter.Builder
Overrides

setValue(Value value)

public GqlQueryParameter.Builder setValue(Value value)

A value parameter.

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

Parameter
Name Description
value Value
Returns
Type Description
GqlQueryParameter.Builder

setValue(Value.Builder builderForValue)

public GqlQueryParameter.Builder setValue(Value.Builder builderForValue)

A value parameter.

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

Parameter
Name Description
builderForValue Value.Builder
Returns
Type Description
GqlQueryParameter.Builder