Class QueryOverride.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueryOverride.Builder
Overrides

build()

public QueryOverride build()
Returns
TypeDescription
QueryOverride

buildPartial()

public QueryOverride buildPartial()
Returns
TypeDescription
QueryOverride

clear()

public QueryOverride.Builder clear()
Returns
TypeDescription
QueryOverride.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryOverride.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
QueryOverride.Builder

This builder for chaining.

clone()

public QueryOverride.Builder clone()
Returns
TypeDescription
QueryOverride.Builder
Overrides

getDefaultInstanceForType()

public QueryOverride getDefaultInstanceForType()
Returns
TypeDescription
QueryOverride

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for queryParams.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryOverride other)

public QueryOverride.Builder mergeFrom(QueryOverride other)
Parameter
NameDescription
otherQueryOverride
Returns
TypeDescription
QueryOverride.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryOverride.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueryOverride.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueryOverride.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryOverride.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public QueryOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The queryParams to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for queryParams to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueryOverride.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryOverride.Builder
Overrides