Class AppEngineHttpQueue.Builder (2.83.0)

public static final class AppEngineHttpQueue.Builder extends GeneratedMessage.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
Type Description
Descriptor

Methods

build()

public AppEngineHttpQueue build()
Returns
Type Description
AppEngineHttpQueue

buildPartial()

public AppEngineHttpQueue buildPartial()
Returns
Type Description
AppEngineHttpQueue

clear()

public AppEngineHttpQueue.Builder clear()
Returns
Type Description
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
Type Description
AppEngineHttpQueue.Builder

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
Type Description
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
Type Description
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
Type Description
AppEngineRoutingOrBuilder

getDefaultInstanceForType()

public AppEngineHttpQueue getDefaultInstanceForType()
Returns
Type Description
AppEngineHttpQueue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
boolean

Whether the appEngineRoutingOverride field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value AppEngineRouting
Returns
Type Description
AppEngineHttpQueue.Builder

mergeFrom(AppEngineHttpQueue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AppEngineHttpQueue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value AppEngineRouting
Returns
Type Description
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
Name Description
builderForValue AppEngineRouting.Builder
Returns
Type Description
AppEngineHttpQueue.Builder