/** * * * <pre> * App version. * By default, the job is sent to the version which is the default * version when the job is attempted. * </pre> * * <code>string version = 2;</code> */ public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; onChanged(); return this; }
/** * * * <pre> * App service. * By default, the job is sent to the service which is the default * service when the job is attempted. * </pre> * * <code>string service = 1;</code> */ public Builder setService(java.lang.String value) { if (value == null) { throw new NullPointerException(); } service_ = value; onChanged(); return this; } /**
/** * * * <pre> * App service. * By default, the job is sent to the service which is the default * service when the job is attempted. * </pre> * * <code>string service = 1;</code> */ public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); service_ = value; onChanged(); return this; }
onChanged(); return this;
onChanged(); return this;
onChanged(); return this;
/** * * * <pre> * 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). * </pre> * * <code>string instance = 3;</code> */ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instance_ = value; onChanged(); return this; }
/** * * * <pre> * 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). * </pre> * * <code>string instance = 3;</code> */ public Builder setInstance(java.lang.String value) { if (value == null) { throw new NullPointerException(); } instance_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.AppEngineRouting other) { if (other == com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance()) return this; if (!other.getService().isEmpty()) { service_ = other.service_; onChanged(); } if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } if (!other.getInstance().isEmpty()) { instance_ = other.instance_; onChanged(); } if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * 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). * </pre> * * <code>string instance = 3;</code> */ public Builder clearInstance() { instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /**
/** * * * <pre> * App version. * By default, the job is sent to the version which is the default * version when the job is attempted. * </pre> * * <code>string version = 2;</code> */ public Builder setVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); return this; } /**
/** * * * <pre> * App version. * By default, the job is sent to the version which is the default * version when the job is attempted. * </pre> * * <code>string version = 2;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**
/** * * * <pre> * App service. * By default, the job is sent to the service which is the default * service when the job is attempted. * </pre> * * <code>string service = 1;</code> */ public Builder clearService() { service_ = getDefaultInstance().getService(); onChanged(); return this; } /**