Class QueryOverride.Builder (2.47.0)

public static final class QueryOverride.Builder extends GeneratedMessageV3.Builder<QueryOverride.Builder> implements QueryOverrideOrBuilder

QueryOverride.

Query message defines query override for HTTP targets.

Protobuf type google.cloud.tasks.v2beta2.QueryOverride

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryOverride build()
Returns
Type Description
QueryOverride

buildPartial()

public QueryOverride buildPartial()
Returns
Type Description
QueryOverride

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQueryParams()

public QueryOverride.Builder clearQueryParams()

The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.

string query_params = 1;

Returns
Type Description
QueryOverride.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public QueryOverride getDefaultInstanceForType()
Returns
Type Description
QueryOverride

getDescriptorForType()

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

getQueryParams()

public String getQueryParams()

The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.

string query_params = 1;

Returns
Type Description
String

The queryParams.

getQueryParamsBytes()

public ByteString getQueryParamsBytes()

The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.

string query_params = 1;

Returns
Type Description
ByteString

The bytes for queryParams.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryOverride other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setQueryParams(String value)

public QueryOverride.Builder setQueryParams(String value)

The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.

string query_params = 1;

Parameter
Name Description
value String

The queryParams to set.

Returns
Type Description
QueryOverride.Builder

This builder for chaining.

setQueryParamsBytes(ByteString value)

public QueryOverride.Builder setQueryParamsBytes(ByteString value)

The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.

string query_params = 1;

Parameter
Name Description
value ByteString

The bytes for queryParams to set.

Returns
Type Description
QueryOverride.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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