public final class AppEngineHttpTarget extends GeneratedMessageV3 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
Static Fields
APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER
public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AppEngineHttpTarget getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AppEngineHttpTarget.Builder newBuilder()
Returns
newBuilder(AppEngineHttpTarget prototype)
public static AppEngineHttpTarget.Builder newBuilder(AppEngineHttpTarget prototype)
Parameter
Returns
public static AppEngineHttpTarget parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AppEngineHttpTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AppEngineHttpTarget parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppEngineHttpTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AppEngineHttpTarget parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppEngineHttpTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AppEngineHttpTarget parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AppEngineHttpTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AppEngineHttpTarget parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AppEngineHttpTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AppEngineHttpTarget parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppEngineHttpTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AppEngineHttpTarget> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public AppEngineHttpTarget getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AppEngineHttpTarget> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AppEngineHttpTarget.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppEngineHttpTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AppEngineHttpTarget.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions