Class AppEngineHttpQueue.Builder (2.30.0)

public static final class AppEngineHttpQueue.Builder extends GeneratedMessageV3.Builder<AppEngineHttpQueue.Builder> implements AppEngineHttpQueueOrBuilder

App Engine HTTP queue.

The task will be delivered to the App Engine application hostname specified by its AppEngineHttpQueue and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed.

Using AppEngineHttpQueue requires appengine.applications.get Google IAM permission for the project and the following scope:

https://www.googleapis.com/auth/cloud-platform

Protobuf type google.cloud.tasks.v2beta3.AppEngineHttpQueue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppEngineHttpQueue build()
Returns
TypeDescription
AppEngineHttpQueue

buildPartial()

public AppEngineHttpQueue buildPartial()
Returns
TypeDescription
AppEngineHttpQueue

clear()

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

clearAppEngineRoutingOverride()

public AppEngineHttpQueue.Builder clearAppEngineRoutingOverride()

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

.google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;

Returns
TypeDescription
AppEngineHttpQueue.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AppEngineHttpQueue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AppEngineHttpQueue.Builder
Overrides

clone()

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

getAppEngineRoutingOverride()

public AppEngineRouting getAppEngineRoutingOverride()

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

.google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;

Returns
TypeDescription
AppEngineRouting

The appEngineRoutingOverride.

getAppEngineRoutingOverrideBuilder()

public AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder()

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

.google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;

Returns
TypeDescription
AppEngineRouting.Builder

getAppEngineRoutingOverrideOrBuilder()

public AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder()

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

.google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;

Returns
TypeDescription
AppEngineRoutingOrBuilder

getDefaultInstanceForType()

public AppEngineHttpQueue getDefaultInstanceForType()
Returns
TypeDescription
AppEngineHttpQueue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasAppEngineRoutingOverride()

public boolean hasAppEngineRoutingOverride()

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

.google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;

Returns
TypeDescription
boolean

Whether the appEngineRoutingOverride field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAppEngineRoutingOverride(AppEngineRouting value)

public AppEngineHttpQueue.Builder mergeAppEngineRoutingOverride(AppEngineRouting value)

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

.google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;

Parameter
NameDescription
valueAppEngineRouting
Returns
TypeDescription
AppEngineHttpQueue.Builder

mergeFrom(AppEngineHttpQueue other)

public AppEngineHttpQueue.Builder mergeFrom(AppEngineHttpQueue other)
Parameter
NameDescription
otherAppEngineHttpQueue
Returns
TypeDescription
AppEngineHttpQueue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAppEngineRoutingOverride(AppEngineRouting value)

public AppEngineHttpQueue.Builder setAppEngineRoutingOverride(AppEngineRouting value)

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

.google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;

Parameter
NameDescription
valueAppEngineRouting
Returns
TypeDescription
AppEngineHttpQueue.Builder

setAppEngineRoutingOverride(AppEngineRouting.Builder builderForValue)

public AppEngineHttpQueue.Builder setAppEngineRoutingOverride(AppEngineRouting.Builder builderForValue)

Overrides for the task-level app_engine_routing.

If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.

.google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;

Parameter
NameDescription
builderForValueAppEngineRouting.Builder
Returns
TypeDescription
AppEngineHttpQueue.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AppEngineHttpQueue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AppEngineHttpQueue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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