Class GqlQueryParameter.Builder (2.33.3)

public static final class GqlQueryParameter.Builder extends GeneratedMessage.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

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.

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

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 GeneratedMessage.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

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.

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