public static final class AppEngineRouting.Builder extends GeneratedMessageV3.Builder<AppEngineRouting.Builder> 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.v1beta1.AppEngineRouting
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AppEngineRouting build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AppEngineRouting buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AppEngineRouting.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder mergeFrom(AppEngineRouting other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public AppEngineRouting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AppEngineRouting.Builder>
IOException
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;
getService
in interface AppEngineRoutingOrBuilder
public 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 AppEngineRoutingOrBuilder
public AppEngineRouting.Builder setService(String value)
App service. By default, the job is sent to the service which is the default service when the job is attempted.
string service = 1;
value
- The service to set.public AppEngineRouting.Builder clearService()
App service. By default, the job is sent to the service which is the default service when the job is attempted.
string service = 1;
public AppEngineRouting.Builder setServiceBytes(ByteString value)
App service. By default, the job is sent to the service which is the default service when the job is attempted.
string service = 1;
value
- The bytes for service to set.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;
getVersion
in interface AppEngineRoutingOrBuilder
public 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 AppEngineRoutingOrBuilder
public AppEngineRouting.Builder setVersion(String value)
App version. By default, the job is sent to the version which is the default version when the job is attempted.
string version = 2;
value
- The version to set.public AppEngineRouting.Builder clearVersion()
App version. By default, the job is sent to the version which is the default version when the job is attempted.
string version = 2;
public AppEngineRouting.Builder setVersionBytes(ByteString value)
App version. By default, the job is sent to the version which is the default version when the job is attempted.
string version = 2;
value
- The bytes for version to set.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?hl=en_US#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 AppEngineRoutingOrBuilder
public 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?hl=en_US#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 AppEngineRoutingOrBuilder
public AppEngineRouting.Builder setInstance(String value)
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?hl=en_US#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;
value
- The instance to set.public AppEngineRouting.Builder clearInstance()
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?hl=en_US#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;
public AppEngineRouting.Builder setInstanceBytes(ByteString value)
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?hl=en_US#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;
value
- The bytes for instance to set.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;
getHost
in interface AppEngineRoutingOrBuilder
public 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;
getHostBytes
in interface AppEngineRoutingOrBuilder
public AppEngineRouting.Builder setHost(String value)
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;
value
- The host to set.public AppEngineRouting.Builder clearHost()
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;
public AppEngineRouting.Builder setHostBytes(ByteString value)
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;
value
- The bytes for host to set.public final AppEngineRouting.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
public final AppEngineRouting.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AppEngineRouting.Builder>
Copyright © 2022 Google LLC. All rights reserved.