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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GqlQueryParameter.BuilderImplements
GqlQueryParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GqlQueryParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GqlQueryParameter.Builder |
build()
public GqlQueryParameter build()
Type | Description |
GqlQueryParameter |
buildPartial()
public GqlQueryParameter buildPartial()
Type | Description |
GqlQueryParameter |
clear()
public GqlQueryParameter.Builder clear()
Type | Description |
GqlQueryParameter.Builder |
clearCursor()
public GqlQueryParameter.Builder clearCursor()
A query cursor. Query cursors are returned in query result batches.
bytes cursor = 3;
Type | Description |
GqlQueryParameter.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GqlQueryParameter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GqlQueryParameter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GqlQueryParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GqlQueryParameter.Builder |
clearParameterType()
public GqlQueryParameter.Builder clearParameterType()
Type | Description |
GqlQueryParameter.Builder |
clearValue()
public GqlQueryParameter.Builder clearValue()
A value parameter.
.google.datastore.v1.Value value = 2;
Type | Description |
GqlQueryParameter.Builder |
clone()
public GqlQueryParameter.Builder clone()
Type | Description |
GqlQueryParameter.Builder |
getCursor()
public ByteString getCursor()
A query cursor. Query cursors are returned in query result batches.
bytes cursor = 3;
Type | Description |
ByteString | The cursor. |
getDefaultInstanceForType()
public GqlQueryParameter getDefaultInstanceForType()
Type | Description |
GqlQueryParameter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParameterTypeCase()
public GqlQueryParameter.ParameterTypeCase getParameterTypeCase()
Type | Description |
GqlQueryParameter.ParameterTypeCase |
getValue()
public Value getValue()
A value parameter.
.google.datastore.v1.Value value = 2;
Type | Description |
Value | The value. |
getValueBuilder()
public Value.Builder getValueBuilder()
A value parameter.
.google.datastore.v1.Value value = 2;
Type | Description |
Value.Builder |
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
A value parameter.
.google.datastore.v1.Value value = 2;
Type | Description |
ValueOrBuilder |
hasCursor()
public boolean hasCursor()
A query cursor. Query cursors are returned in query result batches.
bytes cursor = 3;
Type | Description |
boolean | Whether the cursor field is set. |
hasValue()
public boolean hasValue()
A value parameter.
.google.datastore.v1.Value value = 2;
Type | Description |
boolean | Whether the value field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GqlQueryParameter other)
public GqlQueryParameter.Builder mergeFrom(GqlQueryParameter other)
Name | Description |
other | GqlQueryParameter |
Type | Description |
GqlQueryParameter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GqlQueryParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GqlQueryParameter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GqlQueryParameter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GqlQueryParameter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GqlQueryParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GqlQueryParameter.Builder |
mergeValue(Value value)
public GqlQueryParameter.Builder mergeValue(Value value)
A value parameter.
.google.datastore.v1.Value value = 2;
Name | Description |
value | Value |
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;
Name | Description |
value | ByteString The cursor to set. |
Type | Description |
GqlQueryParameter.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GqlQueryParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GqlQueryParameter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GqlQueryParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GqlQueryParameter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GqlQueryParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GqlQueryParameter.Builder |
setValue(Value value)
public GqlQueryParameter.Builder setValue(Value value)
A value parameter.
.google.datastore.v1.Value value = 2;
Name | Description |
value | Value |
Type | Description |
GqlQueryParameter.Builder |
setValue(Value.Builder builderForValue)
public GqlQueryParameter.Builder setValue(Value.Builder builderForValue)
A value parameter.
.google.datastore.v1.Value value = 2;
Name | Description |
builderForValue | Value.Builder |
Type | Description |
GqlQueryParameter.Builder |