public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3 implements AppEngineRoutingOrBuilder
App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).Protobuf type
google.cloud.scheduler.v1.AppEngineRouting| Modifier and Type | Class and Description |
|---|---|
static class |
AppEngineRouting.Builder
App Engine Routing.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
HOST_FIELD_NUMBER |
static int |
INSTANCE_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AppEngineRouting |
getDefaultInstance() |
AppEngineRouting |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHost()
Output only.
|
com.google.protobuf.ByteString |
getHostBytes()
Output only.
|
String |
getInstance()
App instance.
|
com.google.protobuf.ByteString |
getInstanceBytes()
App instance.
|
com.google.protobuf.Parser<AppEngineRouting> |
getParserForType() |
int |
getSerializedSize() |
String |
getService()
App service.
|
com.google.protobuf.ByteString |
getServiceBytes()
App service.
|
String |
getVersion()
App version.
|
com.google.protobuf.ByteString |
getVersionBytes()
App version.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AppEngineRouting.Builder |
newBuilder() |
static AppEngineRouting.Builder |
newBuilder(AppEngineRouting prototype) |
AppEngineRouting.Builder |
newBuilderForType() |
protected AppEngineRouting.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AppEngineRouting |
parseDelimitedFrom(InputStream input) |
static AppEngineRouting |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppEngineRouting |
parseFrom(byte[] data) |
static AppEngineRouting |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppEngineRouting |
parseFrom(ByteBuffer data) |
static AppEngineRouting |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppEngineRouting |
parseFrom(com.google.protobuf.ByteString data) |
static AppEngineRouting |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppEngineRouting |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AppEngineRouting |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppEngineRouting |
parseFrom(InputStream input) |
static AppEngineRouting |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AppEngineRouting> |
parser() |
AppEngineRouting.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVICE_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getService()
App service. By default, the job is sent to the service which is the default service when the job is attempted.
string service = 1;getService in interface AppEngineRoutingOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
App service. By default, the job is sent to the service which is the default service when the job is attempted.
string service = 1;getServiceBytes in interface AppEngineRoutingOrBuilderpublic String getVersion()
App version. By default, the job is sent to the version which is the default version when the job is attempted.
string version = 2;getVersion in interface AppEngineRoutingOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
App version. By default, the job is sent to the version which is the default version when the job is attempted.
string version = 2;getVersionBytes in interface AppEngineRoutingOrBuilderpublic String getInstance()
App instance. By default, the job is sent to an instance which is available when the job is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
string instance = 3;getInstance in interface AppEngineRoutingOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
App instance. By default, the job is sent to an instance which is available when the job is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
string instance = 3;getInstanceBytes in interface AppEngineRoutingOrBuilderpublic String getHost()
Output only. The host that the job is sent to. For more information about how App Engine requests are routed, see [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). The host is constructed as: * `host = [application_domain_name]`</br> `| [service] + '.' + [application_domain_name]`</br> `| [version] + '.' + [application_domain_name]`</br> `| [version_dot_service]+ '.' + [application_domain_name]`</br> `| [instance] + '.' + [application_domain_name]`</br> `| [instance_dot_service] + '.' + [application_domain_name]`</br> `| [instance_dot_version] + '.' + [application_domain_name]`</br> `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example <app-id>.appspot.com, which is associated with the job's project ID. * `service =` [service][google.cloud.scheduler.v1.AppEngineRouting.service] * `version =` [version][google.cloud.scheduler.v1.AppEngineRouting.version] * `version_dot_service =` [version][google.cloud.scheduler.v1.AppEngineRouting.version] `+ '.' +` [service][google.cloud.scheduler.v1.AppEngineRouting.service] * `instance =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] * `instance_dot_service =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` [service][google.cloud.scheduler.v1.AppEngineRouting.service] * `instance_dot_version =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` [version][google.cloud.scheduler.v1.AppEngineRouting.version] * `instance_dot_version_dot_service =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` [version][google.cloud.scheduler.v1.AppEngineRouting.version] `+ '.' +` [service][google.cloud.scheduler.v1.AppEngineRouting.service] If [service][google.cloud.scheduler.v1.AppEngineRouting.service] is empty, then the job will be sent to the service which is the default service when the job is attempted. If [version][google.cloud.scheduler.v1.AppEngineRouting.version] is empty, then the job will be sent to the version which is the default version when the job is attempted. If [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] is empty, then the job will be sent to an instance which is available when the job is attempted. If [service][google.cloud.scheduler.v1.AppEngineRouting.service], [version][google.cloud.scheduler.v1.AppEngineRouting.version], or [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] is invalid, then the job will be sent to the default version of the default service when the job is attempted.
string host = 4;getHost in interface AppEngineRoutingOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
Output only. The host that the job is sent to. For more information about how App Engine requests are routed, see [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). The host is constructed as: * `host = [application_domain_name]`</br> `| [service] + '.' + [application_domain_name]`</br> `| [version] + '.' + [application_domain_name]`</br> `| [version_dot_service]+ '.' + [application_domain_name]`</br> `| [instance] + '.' + [application_domain_name]`</br> `| [instance_dot_service] + '.' + [application_domain_name]`</br> `| [instance_dot_version] + '.' + [application_domain_name]`</br> `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example <app-id>.appspot.com, which is associated with the job's project ID. * `service =` [service][google.cloud.scheduler.v1.AppEngineRouting.service] * `version =` [version][google.cloud.scheduler.v1.AppEngineRouting.version] * `version_dot_service =` [version][google.cloud.scheduler.v1.AppEngineRouting.version] `+ '.' +` [service][google.cloud.scheduler.v1.AppEngineRouting.service] * `instance =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] * `instance_dot_service =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` [service][google.cloud.scheduler.v1.AppEngineRouting.service] * `instance_dot_version =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` [version][google.cloud.scheduler.v1.AppEngineRouting.version] * `instance_dot_version_dot_service =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` [version][google.cloud.scheduler.v1.AppEngineRouting.version] `+ '.' +` [service][google.cloud.scheduler.v1.AppEngineRouting.service] If [service][google.cloud.scheduler.v1.AppEngineRouting.service] is empty, then the job will be sent to the service which is the default service when the job is attempted. If [version][google.cloud.scheduler.v1.AppEngineRouting.version] is empty, then the job will be sent to the version which is the default version when the job is attempted. If [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] is empty, then the job will be sent to an instance which is available when the job is attempted. If [service][google.cloud.scheduler.v1.AppEngineRouting.service], [version][google.cloud.scheduler.v1.AppEngineRouting.version], or [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] is invalid, then the job will be sent to the default version of the default service when the job is attempted.
string host = 4;getHostBytes in interface AppEngineRoutingOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AppEngineRouting parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppEngineRouting parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppEngineRouting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppEngineRouting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppEngineRouting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AppEngineRouting parseFrom(InputStream input) throws IOException
IOExceptionpublic static AppEngineRouting parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AppEngineRouting parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AppEngineRouting parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AppEngineRouting parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AppEngineRouting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AppEngineRouting.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AppEngineRouting.Builder newBuilder()
public static AppEngineRouting.Builder newBuilder(AppEngineRouting prototype)
public AppEngineRouting.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AppEngineRouting.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AppEngineRouting getDefaultInstance()
public static com.google.protobuf.Parser<AppEngineRouting> parser()
public com.google.protobuf.Parser<AppEngineRouting> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AppEngineRouting getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.