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
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 GqlQueryParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GqlQueryParameter build()
buildPartial()
public GqlQueryParameter buildPartial()
clear()
public GqlQueryParameter.Builder clear()
Overrides
clearCursor()
public GqlQueryParameter.Builder clearCursor()
A query cursor. Query cursors are returned in query
result batches.
bytes cursor = 3;
clearField(Descriptors.FieldDescriptor field)
public GqlQueryParameter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GqlQueryParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParameterType()
public GqlQueryParameter.Builder clearParameterType()
clearValue()
public GqlQueryParameter.Builder clearValue()
A value parameter.
.google.datastore.v1.Value value = 2;
clone()
public GqlQueryParameter.Builder clone()
Overrides
getCursor()
public ByteString getCursor()
A query cursor. Query cursors are returned in query
result batches.
bytes cursor = 3;
getDefaultInstanceForType()
public GqlQueryParameter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParameterTypeCase()
public GqlQueryParameter.ParameterTypeCase getParameterTypeCase()
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;
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
A value parameter.
.google.datastore.v1.Value value = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GqlQueryParameter other)
public GqlQueryParameter.Builder mergeFrom(GqlQueryParameter other)
public GqlQueryParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GqlQueryParameter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GqlQueryParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeValue(Value value)
public GqlQueryParameter.Builder mergeValue(Value value)
A value parameter.
.google.datastore.v1.Value value = 2;
Parameter |
Name |
Description |
value |
Value
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GqlQueryParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GqlQueryParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GqlQueryParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(Value value)
public GqlQueryParameter.Builder setValue(Value value)
A value parameter.
.google.datastore.v1.Value value = 2;
Parameter |
Name |
Description |
value |
Value
|
setValue(Value.Builder builderForValue)
public GqlQueryParameter.Builder setValue(Value.Builder builderForValue)
A value parameter.
.google.datastore.v1.Value value = 2;