Class AppEngineRouting
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.scheduler.v1beta1.AppEngineRouting
-
- All Implemented Interfaces:
AppEngineRoutingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
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 typegoogle.cloud.scheduler.v1beta1.AppEngineRouting- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppEngineRouting.BuilderApp Engine Routing.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intHOST_FIELD_NUMBERstatic intINSTANCE_FIELD_NUMBERstatic intSERVICE_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static AppEngineRoutinggetDefaultInstance()AppEngineRoutinggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetHost()Output only.com.google.protobuf.ByteStringgetHostBytes()Output only.StringgetInstance()App instance.com.google.protobuf.ByteStringgetInstanceBytes()App instance.com.google.protobuf.Parser<AppEngineRouting>getParserForType()intgetSerializedSize()StringgetService()App service.com.google.protobuf.ByteStringgetServiceBytes()App service.StringgetVersion()App version.com.google.protobuf.ByteStringgetVersionBytes()App version.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AppEngineRouting.BuildernewBuilder()static AppEngineRouting.BuildernewBuilder(AppEngineRouting prototype)AppEngineRouting.BuildernewBuilderForType()protected AppEngineRouting.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AppEngineRoutingparseDelimitedFrom(InputStream input)static AppEngineRoutingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppEngineRoutingparseFrom(byte[] data)static AppEngineRoutingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppEngineRoutingparseFrom(com.google.protobuf.ByteString data)static AppEngineRoutingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppEngineRoutingparseFrom(com.google.protobuf.CodedInputStream input)static AppEngineRoutingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppEngineRoutingparseFrom(InputStream input)static AppEngineRoutingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppEngineRoutingparseFrom(ByteBuffer data)static AppEngineRoutingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AppEngineRouting>parser()AppEngineRouting.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getService
public 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;- Specified by:
getServicein interfaceAppEngineRoutingOrBuilder- Returns:
- The service.
-
getServiceBytes
public 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;- Specified by:
getServiceBytesin interfaceAppEngineRoutingOrBuilder- Returns:
- The bytes for service.
-
getVersion
public 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;- Specified by:
getVersionin interfaceAppEngineRoutingOrBuilder- Returns:
- The version.
-
getVersionBytes
public 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;- Specified by:
getVersionBytesin interfaceAppEngineRoutingOrBuilder- Returns:
- The bytes for version.
-
getInstance
public 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;- Specified by:
getInstancein interfaceAppEngineRoutingOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public 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;- Specified by:
getInstanceBytesin interfaceAppEngineRoutingOrBuilder- Returns:
- The bytes for instance.
-
getHost
public 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.v1beta1.AppEngineRouting.service] * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] * `version_dot_service =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] * `instance_dot_service =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] * `instance_dot_version =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] * `instance_dot_version_dot_service =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] If [service][google.cloud.scheduler.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AppEngineRouting.service], [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or [instance][google.cloud.scheduler.v1beta1.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;- Specified by:
getHostin interfaceAppEngineRoutingOrBuilder- Returns:
- The host.
-
getHostBytes
public 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.v1beta1.AppEngineRouting.service] * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] * `version_dot_service =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] * `instance_dot_service =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] * `instance_dot_version =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] * `instance_dot_version_dot_service =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] If [service][google.cloud.scheduler.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AppEngineRouting.service], [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or [instance][google.cloud.scheduler.v1beta1.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;- Specified by:
getHostBytesin interfaceAppEngineRoutingOrBuilder- Returns:
- The bytes for host.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AppEngineRouting parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppEngineRouting parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppEngineRouting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppEngineRouting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppEngineRouting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppEngineRouting parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AppEngineRouting parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AppEngineRouting parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AppEngineRouting parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AppEngineRouting parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AppEngineRouting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AppEngineRouting.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AppEngineRouting.Builder newBuilder()
-
newBuilder
public static AppEngineRouting.Builder newBuilder(AppEngineRouting prototype)
-
toBuilder
public AppEngineRouting.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AppEngineRouting.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AppEngineRouting getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AppEngineRouting> parser()
-
getParserForType
public com.google.protobuf.Parser<AppEngineRouting> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AppEngineRouting getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-