public static final class AppEngineHttpTarget.Builder extends GeneratedMessageV3.Builder<AppEngineHttpTarget.Builder> implements AppEngineHttpTargetOrBuilder
App Engine HTTP target.
The task will be delivered to the App Engine application hostname
specified by its AppEngineHttpTarget and AppEngineHttpRequest.
The documentation for AppEngineHttpRequest explains how the
task's host URL is constructed.
Using AppEngineHttpTarget 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.v2beta2.AppEngineHttpTarget
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppEngineHttpTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AppEngineHttpTarget build()
buildPartial()
public AppEngineHttpTarget buildPartial()
clear()
public AppEngineHttpTarget.Builder clear()
Overrides
clearAppEngineRoutingOverride()
public AppEngineHttpTarget.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.v2beta2.AppEngineRouting app_engine_routing_override = 1;
clearField(Descriptors.FieldDescriptor field)
public AppEngineHttpTarget.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AppEngineHttpTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AppEngineHttpTarget.Builder clone()
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.v2beta2.AppEngineRouting app_engine_routing_override = 1;
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.v2beta2.AppEngineRouting app_engine_routing_override = 1;
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.v2beta2.AppEngineRouting app_engine_routing_override = 1;
getDefaultInstanceForType()
public AppEngineHttpTarget getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v2beta2.AppEngineRouting app_engine_routing_override = 1;
Returns |
---|
Type | Description |
boolean | Whether the appEngineRoutingOverride field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAppEngineRoutingOverride(AppEngineRouting value)
public AppEngineHttpTarget.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.v2beta2.AppEngineRouting app_engine_routing_override = 1;
mergeFrom(AppEngineHttpTarget other)
public AppEngineHttpTarget.Builder mergeFrom(AppEngineHttpTarget other)
public AppEngineHttpTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AppEngineHttpTarget.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppEngineHttpTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAppEngineRoutingOverride(AppEngineRouting value)
public AppEngineHttpTarget.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.v2beta2.AppEngineRouting app_engine_routing_override = 1;
setAppEngineRoutingOverride(AppEngineRouting.Builder builderForValue)
public AppEngineHttpTarget.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.v2beta2.AppEngineRouting app_engine_routing_override = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public AppEngineHttpTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppEngineHttpTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AppEngineHttpTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides