- 0.83.0 (latest)
- 0.82.0
- 0.80.0
- 0.78.0
- 0.76.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public static final class Instance.Builder extends GeneratedMessage.Builder<Instance.Builder> implements InstanceOrBuilderA Cloud Run Instance represents a single group of containers running in a region.
Protobuf type google.cloud.run.v2.Instance
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Instance.BuilderImplements
InstanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllConditions(Iterable<? extends Condition> values)
public Instance.Builder addAllConditions(Iterable<? extends Condition> values) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.run.v2.Condition> |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addAllContainerStatuses(Iterable<? extends ContainerStatus> values)
public Instance.Builder addAllContainerStatuses(Iterable<? extends ContainerStatus> values)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.run.v2.ContainerStatus> |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addAllContainers(Iterable<? extends Container> values)
public Instance.Builder addAllContainers(Iterable<? extends Container> values)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.run.v2.Container> |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addAllUrls(Iterable<String> values)
public Instance.Builder addAllUrls(Iterable<String> values)Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The urls to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
addAllVolumes(Iterable<? extends Volume> values)
public Instance.Builder addAllVolumes(Iterable<? extends Volume> values)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.run.v2.Volume> |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addConditions(Condition value)
public Instance.Builder addConditions(Condition value) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Condition |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addConditions(Condition.Builder builderForValue)
public Instance.Builder addConditions(Condition.Builder builderForValue) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Condition.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addConditions(int index, Condition value)
public Instance.Builder addConditions(int index, Condition value) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Condition |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addConditions(int index, Condition.Builder builderForValue)
public Instance.Builder addConditions(int index, Condition.Builder builderForValue) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Condition.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addConditionsBuilder()
public Condition.Builder addConditionsBuilder() Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Condition.Builder |
|
addConditionsBuilder(int index)
public Condition.Builder addConditionsBuilder(int index) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Condition.Builder |
|
addContainerStatuses(ContainerStatus value)
public Instance.Builder addContainerStatuses(ContainerStatus value)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ContainerStatus |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addContainerStatuses(ContainerStatus.Builder builderForValue)
public Instance.Builder addContainerStatuses(ContainerStatus.Builder builderForValue)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ContainerStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addContainerStatuses(int index, ContainerStatus value)
public Instance.Builder addContainerStatuses(int index, ContainerStatus value)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ContainerStatus |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addContainerStatuses(int index, ContainerStatus.Builder builderForValue)
public Instance.Builder addContainerStatuses(int index, ContainerStatus.Builder builderForValue)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ContainerStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addContainerStatusesBuilder()
public ContainerStatus.Builder addContainerStatusesBuilder()Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
|
addContainerStatusesBuilder(int index)
public ContainerStatus.Builder addContainerStatusesBuilder(int index)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
|
addContainers(Container value)
public Instance.Builder addContainers(Container value)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Container |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addContainers(Container.Builder builderForValue)
public Instance.Builder addContainers(Container.Builder builderForValue)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Container.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addContainers(int index, Container value)
public Instance.Builder addContainers(int index, Container value)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Container |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addContainers(int index, Container.Builder builderForValue)
public Instance.Builder addContainers(int index, Container.Builder builderForValue)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Container.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addContainersBuilder()
public Container.Builder addContainersBuilder()Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addContainersBuilder(int index)
public Container.Builder addContainersBuilder(int index)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addUrls(String value)
public Instance.Builder addUrls(String value)Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe urls to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
addUrlsBytes(ByteString value)
public Instance.Builder addUrlsBytes(ByteString value)Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the urls to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
addVolumes(Volume value)
public Instance.Builder addVolumes(Volume value)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameter | |
|---|---|
| Name | Description |
value |
Volume |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addVolumes(Volume.Builder builderForValue)
public Instance.Builder addVolumes(Volume.Builder builderForValue)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Volume.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addVolumes(int index, Volume value)
public Instance.Builder addVolumes(int index, Volume value)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Volume |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addVolumes(int index, Volume.Builder builderForValue)
public Instance.Builder addVolumes(int index, Volume.Builder builderForValue)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Volume.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
addVolumesBuilder()
public Volume.Builder addVolumesBuilder()A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
addVolumesBuilder(int index)
public Volume.Builder addVolumesBuilder(int index)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
build()
public Instance build()| Returns | |
|---|---|
| Type | Description |
Instance |
|
buildPartial()
public Instance buildPartial()| Returns | |
|---|---|
| Type | Description |
Instance |
|
clear()
public Instance.Builder clear()| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearAnnotations()
public Instance.Builder clearAnnotations()| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearBinaryAuthorization()
public Instance.Builder clearBinaryAuthorization()Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearClient()
public Instance.Builder clearClient()Arbitrary identifier for the API client.
string client = 14;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearClientVersion()
public Instance.Builder clearClientVersion()Arbitrary version identifier for the API client.
string client_version = 15;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearConditions()
public Instance.Builder clearConditions() Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearContainerStatuses()
public Instance.Builder clearContainerStatuses()Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearContainers()
public Instance.Builder clearContainers()Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearCreateTime()
public Instance.Builder clearCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearCreator()
public Instance.Builder clearCreator()Output only. Email address of the authenticated creator.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearDeleteTime()
public Instance.Builder clearDeleteTime()Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearDescription()
public Instance.Builder clearDescription()User-provided description of the Instance. This field currently has a 512-character limit.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearEncryptionKey()
public Instance.Builder clearEncryptionKey()A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 22 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearEncryptionKeyRevocationAction()
public Instance.Builder clearEncryptionKeyRevocationAction()The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 24;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearEncryptionKeyShutdownDuration()
public Instance.Builder clearEncryptionKeyShutdownDuration()If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 25;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearEtag()
public Instance.Builder clearEtag()Optional. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearExpireTime()
public Instance.Builder clearExpireTime()Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearGeneration()
public Instance.Builder clearGeneration() Output only. A number that monotonically increases every time the user
modifies the desired state.
Please note that unlike v1, this is an int64 value. As with most Google
APIs, its JSON representation will be a string instead of an integer.
int64 generation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearGpuZonalRedundancyDisabled()
public Instance.Builder clearGpuZonalRedundancyDisabled()Optional. True if GPU zonal redundancy is disabled on this instance.
optional bool gpu_zonal_redundancy_disabled = 27 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearIapEnabled()
public Instance.Builder clearIapEnabled()Optional. IAP settings on the Instance.
bool iap_enabled = 30 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearIngress()
public Instance.Builder clearIngress()Optional. Provides the ingress settings for this Instance. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 28 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearInvokerIamDisabled()
public Instance.Builder clearInvokerIamDisabled()Optional. Disables IAM permission check for run.routes.invoke for callers of this Instance. For more information, visit https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
bool invoker_iam_disabled = 29 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearLabels()
public Instance.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearLastModifier()
public Instance.Builder clearLastModifier()Output only. Email address of the last authenticated modifier.
string last_modifier = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearLaunchStage()
public Instance.Builder clearLaunchStage() The launch stage as defined by Google Cloud Platform
Launch Stages.
Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA
is assumed.
Set the launch stage to a preview stage on input to allow use of preview
features in that stage. On read (or output), describes whether the
resource uses preview features.
<p>
For example, if ALPHA is provided as input, but only BETA and GA-level
features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearLogUri()
public Instance.Builder clearLogUri()Output only. The Google Console URI to obtain logs for the Instance.
string log_uri = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearName()
public Instance.Builder clearName()The fully qualified name of this Instance. In CreateInstanceRequest, this field is ignored, and instead composed from CreateInstanceRequest.parent and CreateInstanceRequest.instance_id.
Format: projects/{project}/locations/{location}/instances/{instance_id}
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearNodeSelector()
public Instance.Builder clearNodeSelector()Optional. The node selector for the instance.
.google.cloud.run.v2.NodeSelector node_selector = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearObservedGeneration()
public Instance.Builder clearObservedGeneration() Output only. The generation of this Instance currently serving traffic. See
comments in reconciling for additional information on reconciliation
process in Cloud Run. Please note that unlike v1, this is an int64 value.
As with most Google APIs, its JSON representation will be a string
instead of an integer.
int64 observed_generation = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearReconciling()
public Instance.Builder clearReconciling()Output only. Returns true if the Instance is currently being acted upon by the system to bring it into the desired state.
When a new Instance is created, or an existing one is updated, Cloud Run
will asynchronously perform all necessary steps to bring the Instance to
the desired serving state. This process is called reconciliation. While
reconciliation is in process, observed_generation will have a transient
value that might mismatch the intended state.
Once reconciliation is over (and this field is false), there are two
possible outcomes: reconciliation succeeded and the serving state matches
the Instance, or there was an error, and reconciliation failed. This state
can be found in terminal_condition.state.
bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearSatisfiesPzs()
public Instance.Builder clearSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearServiceAccount()
public Instance.Builder clearServiceAccount()string service_account = 19;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearTerminalCondition()
public Instance.Builder clearTerminalCondition() Output only. The Condition of this Instance, containing its readiness
status, and detailed error information in case it did not reach a serving
state. See comments in reconciling for additional information on
reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearUid()
public Instance.Builder clearUid()Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearUpdateTime()
public Instance.Builder clearUpdateTime()Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearUrls()
public Instance.Builder clearUrls()Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
clearVolumes()
public Instance.Builder clearVolumes()A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
clearVpcAccess()
public Instance.Builder clearVpcAccess()Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
containsAnnotations(String key)
public boolean containsAnnotations(String key)map<string, string> annotations = 7;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsLabels(String key)
public boolean containsLabels(String key)map<string, string> labels = 6;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()Use #getAnnotationsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAnnotationsCount()
public int getAnnotationsCount()map<string, string> annotations = 7;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()map<string, string> annotations = 7;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)map<string, string> annotations = 7;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)map<string, string> annotations = 7;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getBinaryAuthorization()
public BinaryAuthorization getBinaryAuthorization()Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
| Returns | |
|---|---|
| Type | Description |
BinaryAuthorization |
The binaryAuthorization. |
getBinaryAuthorizationBuilder()
public BinaryAuthorization.Builder getBinaryAuthorizationBuilder()Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
| Returns | |
|---|---|
| Type | Description |
BinaryAuthorization.Builder |
|
getBinaryAuthorizationOrBuilder()
public BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
| Returns | |
|---|---|
| Type | Description |
BinaryAuthorizationOrBuilder |
|
getClient()
public String getClient()Arbitrary identifier for the API client.
string client = 14;
| Returns | |
|---|---|
| Type | Description |
String |
The client. |
getClientBytes()
public ByteString getClientBytes()Arbitrary identifier for the API client.
string client = 14;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for client. |
getClientVersion()
public String getClientVersion()Arbitrary version identifier for the API client.
string client_version = 15;
| Returns | |
|---|---|
| Type | Description |
String |
The clientVersion. |
getClientVersionBytes()
public ByteString getClientVersionBytes()Arbitrary version identifier for the API client.
string client_version = 15;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientVersion. |
getConditions(int index)
public Condition getConditions(int index) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Condition |
|
getConditionsBuilder(int index)
public Condition.Builder getConditionsBuilder(int index) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Condition.Builder |
|
getConditionsBuilderList()
public List<Condition.Builder> getConditionsBuilderList() Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getConditionsCount()
public int getConditionsCount() Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getConditionsList()
public List<Condition> getConditionsList() Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Condition> |
|
getConditionsOrBuilder(int index)
public ConditionOrBuilder getConditionsOrBuilder(int index) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ConditionOrBuilder |
|
getConditionsOrBuilderList()
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList() Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.ConditionOrBuilder> |
|
getContainerStatuses(int index)
public ContainerStatus getContainerStatuses(int index)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus |
|
getContainerStatusesBuilder(int index)
public ContainerStatus.Builder getContainerStatusesBuilder(int index)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
|
getContainerStatusesBuilderList()
public List<ContainerStatus.Builder> getContainerStatusesBuilderList()Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getContainerStatusesCount()
public int getContainerStatusesCount()Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getContainerStatusesList()
public List<ContainerStatus> getContainerStatusesList()Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<ContainerStatus> |
|
getContainerStatusesOrBuilder(int index)
public ContainerStatusOrBuilder getContainerStatusesOrBuilder(int index)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerStatusOrBuilder |
|
getContainerStatusesOrBuilderList()
public List<? extends ContainerStatusOrBuilder> getContainerStatusesOrBuilderList()Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.ContainerStatusOrBuilder> |
|
getContainers(int index)
public Container getContainers(int index)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Container |
|
getContainersBuilder(int index)
public Container.Builder getContainersBuilder(int index)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
getContainersBuilderList()
public List<Container.Builder> getContainersBuilderList()Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getContainersCount()
public int getContainersCount()Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getContainersList()
public List<Container> getContainersList()Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Container> |
|
getContainersOrBuilder(int index)
public ContainerOrBuilder getContainersOrBuilder(int index)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerOrBuilder |
|
getContainersOrBuilderList()
public List<? extends ContainerOrBuilder> getContainersOrBuilderList()Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.ContainerOrBuilder> |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The creation time.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation time.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCreator()
public String getCreator()Output only. Email address of the authenticated creator.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The creator. |
getCreatorBytes()
public ByteString getCreatorBytes()Output only. Email address of the authenticated creator.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for creator. |
getDefaultInstanceForType()
public Instance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance |
|
getDeleteTime()
public Timestamp getDeleteTime()Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescription()
public String getDescription()User-provided description of the Instance. This field currently has a 512-character limit.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()User-provided description of the Instance. This field currently has a 512-character limit.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncryptionKey()
public String getEncryptionKey()A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 22 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The encryptionKey. |
getEncryptionKeyBytes()
public ByteString getEncryptionKeyBytes()A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 22 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for encryptionKey. |
getEncryptionKeyRevocationAction()
public EncryptionKeyRevocationAction getEncryptionKeyRevocationAction()The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 24;
| Returns | |
|---|---|
| Type | Description |
EncryptionKeyRevocationAction |
The encryptionKeyRevocationAction. |
getEncryptionKeyRevocationActionValue()
public int getEncryptionKeyRevocationActionValue()The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 24;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for encryptionKeyRevocationAction. |
getEncryptionKeyShutdownDuration()
public Duration getEncryptionKeyShutdownDuration()If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 25;
| Returns | |
|---|---|
| Type | Description |
Duration |
The encryptionKeyShutdownDuration. |
getEncryptionKeyShutdownDurationBuilder()
public Duration.Builder getEncryptionKeyShutdownDurationBuilder()If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 25;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEncryptionKeyShutdownDurationOrBuilder()
public DurationOrBuilder getEncryptionKeyShutdownDurationOrBuilder()If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 25;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getEtag()
public String getEtag()Optional. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()Optional. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getExpireTime()
public Timestamp getExpireTime()Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getGeneration()
public long getGeneration() Output only. A number that monotonically increases every time the user
modifies the desired state.
Please note that unlike v1, this is an int64 value. As with most Google
APIs, its JSON representation will be a string instead of an integer.
int64 generation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The generation. |
getGpuZonalRedundancyDisabled()
public boolean getGpuZonalRedundancyDisabled()Optional. True if GPU zonal redundancy is disabled on this instance.
optional bool gpu_zonal_redundancy_disabled = 27 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The gpuZonalRedundancyDisabled. |
getIapEnabled()
public boolean getIapEnabled()Optional. IAP settings on the Instance.
bool iap_enabled = 30 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The iapEnabled. |
getIngress()
public IngressTraffic getIngress()Optional. Provides the ingress settings for this Instance. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 28 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IngressTraffic |
The ingress. |
getIngressValue()
public int getIngressValue()Optional. Provides the ingress settings for this Instance. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 28 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for ingress. |
getInvokerIamDisabled()
public boolean getInvokerIamDisabled()Optional. Disables IAM permission check for run.routes.invoke for callers of this Instance. For more information, visit https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
bool invoker_iam_disabled = 29 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The invokerIamDisabled. |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()map<string, string> labels = 6;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()map<string, string> labels = 6;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)map<string, string> labels = 6;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)map<string, string> labels = 6;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLastModifier()
public String getLastModifier()Output only. Email address of the last authenticated modifier.
string last_modifier = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The lastModifier. |
getLastModifierBytes()
public ByteString getLastModifierBytes()Output only. Email address of the last authenticated modifier.
string last_modifier = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for lastModifier. |
getLaunchStage()
public LaunchStage getLaunchStage() The launch stage as defined by Google Cloud Platform
Launch Stages.
Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA
is assumed.
Set the launch stage to a preview stage on input to allow use of preview
features in that stage. On read (or output), describes whether the
resource uses preview features.
<p>
For example, if ALPHA is provided as input, but only BETA and GA-level
features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
| Returns | |
|---|---|
| Type | Description |
com.google.api.LaunchStage |
The launchStage. |
getLaunchStageValue()
public int getLaunchStageValue() The launch stage as defined by Google Cloud Platform
Launch Stages.
Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA
is assumed.
Set the launch stage to a preview stage on input to allow use of preview
features in that stage. On read (or output), describes whether the
resource uses preview features.
<p>
For example, if ALPHA is provided as input, but only BETA and GA-level
features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for launchStage. |
getLogUri()
public String getLogUri()Output only. The Google Console URI to obtain logs for the Instance.
string log_uri = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The logUri. |
getLogUriBytes()
public ByteString getLogUriBytes()Output only. The Google Console URI to obtain logs for the Instance.
string log_uri = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for logUri. |
getMutableAnnotations() (deprecated)
public Map<String,String> getMutableAnnotations()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName()The fully qualified name of this Instance. In CreateInstanceRequest, this field is ignored, and instead composed from CreateInstanceRequest.parent and CreateInstanceRequest.instance_id.
Format: projects/{project}/locations/{location}/instances/{instance_id}
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The fully qualified name of this Instance. In CreateInstanceRequest, this field is ignored, and instead composed from CreateInstanceRequest.parent and CreateInstanceRequest.instance_id.
Format: projects/{project}/locations/{location}/instances/{instance_id}
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNodeSelector()
public NodeSelector getNodeSelector()Optional. The node selector for the instance.
.google.cloud.run.v2.NodeSelector node_selector = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodeSelector |
The nodeSelector. |
getNodeSelectorBuilder()
public NodeSelector.Builder getNodeSelectorBuilder()Optional. The node selector for the instance.
.google.cloud.run.v2.NodeSelector node_selector = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodeSelector.Builder |
|
getNodeSelectorOrBuilder()
public NodeSelectorOrBuilder getNodeSelectorOrBuilder()Optional. The node selector for the instance.
.google.cloud.run.v2.NodeSelector node_selector = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodeSelectorOrBuilder |
|
getObservedGeneration()
public long getObservedGeneration() Output only. The generation of this Instance currently serving traffic. See
comments in reconciling for additional information on reconciliation
process in Cloud Run. Please note that unlike v1, this is an int64 value.
As with most Google APIs, its JSON representation will be a string
instead of an integer.
int64 observed_generation = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The observedGeneration. |
getReconciling()
public boolean getReconciling()Output only. Returns true if the Instance is currently being acted upon by the system to bring it into the desired state.
When a new Instance is created, or an existing one is updated, Cloud Run
will asynchronously perform all necessary steps to bring the Instance to
the desired serving state. This process is called reconciliation. While
reconciliation is in process, observed_generation will have a transient
value that might mismatch the intended state.
Once reconciliation is over (and this field is false), there are two
possible outcomes: reconciliation succeeded and the serving state matches
the Instance, or there was an error, and reconciliation failed. This state
can be found in terminal_condition.state.
bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The reconciling. |
getSatisfiesPzs()
public boolean getSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The satisfiesPzs. |
getServiceAccount()
public String getServiceAccount()string service_account = 19;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()string service_account = 19;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |
getTerminalCondition()
public Condition getTerminalCondition() Output only. The Condition of this Instance, containing its readiness
status, and detailed error information in case it did not reach a serving
state. See comments in reconciling for additional information on
reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Condition |
The terminalCondition. |
getTerminalConditionBuilder()
public Condition.Builder getTerminalConditionBuilder() Output only. The Condition of this Instance, containing its readiness
status, and detailed error information in case it did not reach a serving
state. See comments in reconciling for additional information on
reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Condition.Builder |
|
getTerminalConditionOrBuilder()
public ConditionOrBuilder getTerminalConditionOrBuilder() Output only. The Condition of this Instance, containing its readiness
status, and detailed error information in case it did not reach a serving
state. See comments in reconciling for additional information on
reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ConditionOrBuilder |
|
getUid()
public String getUid()Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The uid. |
getUidBytes()
public ByteString getUidBytes()Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getUrls(int index)
public String getUrls(int index)Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The urls at the given index. |
getUrlsBytes(int index)
public ByteString getUrlsBytes(int index)Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the urls at the given index. |
getUrlsCount()
public int getUrlsCount()Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of urls. |
getUrlsList()
public ProtocolStringList getUrlsList()Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the urls. |
getVolumes(int index)
public Volume getVolumes(int index)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Volume |
|
getVolumesBuilder(int index)
public Volume.Builder getVolumesBuilder(int index)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
getVolumesBuilderList()
public List<Volume.Builder> getVolumesBuilderList()A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getVolumesCount()
public int getVolumesCount()A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Returns | |
|---|---|
| Type | Description |
int |
|
getVolumesList()
public List<Volume> getVolumesList()A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Returns | |
|---|---|
| Type | Description |
List<Volume> |
|
getVolumesOrBuilder(int index)
public VolumeOrBuilder getVolumesOrBuilder(int index)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VolumeOrBuilder |
|
getVolumesOrBuilderList()
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.VolumeOrBuilder> |
|
getVpcAccess()
public VpcAccess getVpcAccess()Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VpcAccess |
The vpcAccess. |
getVpcAccessBuilder()
public VpcAccess.Builder getVpcAccessBuilder()Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VpcAccess.Builder |
|
getVpcAccessOrBuilder()
public VpcAccessOrBuilder getVpcAccessOrBuilder()Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VpcAccessOrBuilder |
|
hasBinaryAuthorization()
public boolean hasBinaryAuthorization()Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the binaryAuthorization field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasDeleteTime()
public boolean hasDeleteTime()Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deleteTime field is set. |
hasEncryptionKeyShutdownDuration()
public boolean hasEncryptionKeyShutdownDuration()If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 25;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the encryptionKeyShutdownDuration field is set. |
hasExpireTime()
public boolean hasExpireTime()Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
hasGpuZonalRedundancyDisabled()
public boolean hasGpuZonalRedundancyDisabled()Optional. True if GPU zonal redundancy is disabled on this instance.
optional bool gpu_zonal_redundancy_disabled = 27 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gpuZonalRedundancyDisabled field is set. |
hasNodeSelector()
public boolean hasNodeSelector()Optional. The node selector for the instance.
.google.cloud.run.v2.NodeSelector node_selector = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nodeSelector field is set. |
hasTerminalCondition()
public boolean hasTerminalCondition() Output only. The Condition of this Instance, containing its readiness
status, and detailed error information in case it did not reach a serving
state. See comments in reconciling for additional information on
reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the terminalCondition field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
hasVpcAccess()
public boolean hasVpcAccess()Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the vpcAccess field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBinaryAuthorization(BinaryAuthorization value)
public Instance.Builder mergeBinaryAuthorization(BinaryAuthorization value)Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
| Parameter | |
|---|---|
| Name | Description |
value |
BinaryAuthorization |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeCreateTime(Timestamp value)
public Instance.Builder mergeCreateTime(Timestamp value)Output only. The creation time.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeDeleteTime(Timestamp value)
public Instance.Builder mergeDeleteTime(Timestamp value)Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeEncryptionKeyShutdownDuration(Duration value)
public Instance.Builder mergeEncryptionKeyShutdownDuration(Duration value)If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 25;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeExpireTime(Timestamp value)
public Instance.Builder mergeExpireTime(Timestamp value)Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeFrom(Instance other)
public Instance.Builder mergeFrom(Instance other)| Parameter | |
|---|---|
| Name | Description |
other |
Instance |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Instance.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeNodeSelector(NodeSelector value)
public Instance.Builder mergeNodeSelector(NodeSelector value)Optional. The node selector for the instance.
.google.cloud.run.v2.NodeSelector node_selector = 26 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
NodeSelector |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeTerminalCondition(Condition value)
public Instance.Builder mergeTerminalCondition(Condition value) Output only. The Condition of this Instance, containing its readiness
status, and detailed error information in case it did not reach a serving
state. See comments in reconciling for additional information on
reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Condition |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeUpdateTime(Timestamp value)
public Instance.Builder mergeUpdateTime(Timestamp value)Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
mergeVpcAccess(VpcAccess value)
public Instance.Builder mergeVpcAccess(VpcAccess value)Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
VpcAccess |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
putAllAnnotations(Map<String,String> values)
public Instance.Builder putAllAnnotations(Map<String,String> values)map<string, string> annotations = 7;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
putAllLabels(Map<String,String> values)
public Instance.Builder putAllLabels(Map<String,String> values)map<string, string> labels = 6;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
putAnnotations(String key, String value)
public Instance.Builder putAnnotations(String key, String value)map<string, string> annotations = 7;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
putLabels(String key, String value)
public Instance.Builder putLabels(String key, String value)map<string, string> labels = 6;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
removeAnnotations(String key)
public Instance.Builder removeAnnotations(String key)map<string, string> annotations = 7;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
removeConditions(int index)
public Instance.Builder removeConditions(int index) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
removeContainerStatuses(int index)
public Instance.Builder removeContainerStatuses(int index)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
removeContainers(int index)
public Instance.Builder removeContainers(int index)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
removeLabels(String key)
public Instance.Builder removeLabels(String key)map<string, string> labels = 6;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
removeVolumes(int index)
public Instance.Builder removeVolumes(int index)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setBinaryAuthorization(BinaryAuthorization value)
public Instance.Builder setBinaryAuthorization(BinaryAuthorization value)Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
| Parameter | |
|---|---|
| Name | Description |
value |
BinaryAuthorization |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)
public Instance.Builder setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BinaryAuthorization.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setClient(String value)
public Instance.Builder setClient(String value)Arbitrary identifier for the API client.
string client = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe client to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setClientBytes(ByteString value)
public Instance.Builder setClientBytes(ByteString value)Arbitrary identifier for the API client.
string client = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for client to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setClientVersion(String value)
public Instance.Builder setClientVersion(String value)Arbitrary version identifier for the API client.
string client_version = 15;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setClientVersionBytes(ByteString value)
public Instance.Builder setClientVersionBytes(ByteString value)Arbitrary version identifier for the API client.
string client_version = 15;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setConditions(int index, Condition value)
public Instance.Builder setConditions(int index, Condition value) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Condition |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setConditions(int index, Condition.Builder builderForValue)
public Instance.Builder setConditions(int index, Condition.Builder builderForValue) Output only. The Conditions of all other associated sub-resources. They
contain additional diagnostics information in case the Instance does not
reach its Serving state. See comments in reconciling for additional
information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Condition.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setContainerStatuses(int index, ContainerStatus value)
public Instance.Builder setContainerStatuses(int index, ContainerStatus value)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ContainerStatus |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setContainerStatuses(int index, ContainerStatus.Builder builderForValue)
public Instance.Builder setContainerStatuses(int index, ContainerStatus.Builder builderForValue)Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.
repeated .google.cloud.run.v2.ContainerStatus container_statuses = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ContainerStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setContainers(int index, Container value)
public Instance.Builder setContainers(int index, Container value)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Container |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setContainers(int index, Container.Builder builderForValue)
public Instance.Builder setContainers(int index, Container.Builder builderForValue)Required. Holds the single container that defines the unit of execution for this Instance.
repeated .google.cloud.run.v2.Container containers = 20 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Container.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setCreateTime(Timestamp value)
public Instance.Builder setCreateTime(Timestamp value)Output only. The creation time.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Instance.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The creation time.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setCreator(String value)
public Instance.Builder setCreator(String value)Output only. Email address of the authenticated creator.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe creator to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setCreatorBytes(ByteString value)
public Instance.Builder setCreatorBytes(ByteString value)Output only. Email address of the authenticated creator.
string creator = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for creator to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDeleteTime(Timestamp value)
public Instance.Builder setDeleteTime(Timestamp value)Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setDeleteTime(Timestamp.Builder builderForValue)
public Instance.Builder setDeleteTime(Timestamp.Builder builderForValue)Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setDescription(String value)
public Instance.Builder setDescription(String value)User-provided description of the Instance. This field currently has a 512-character limit.
string description = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Instance.Builder setDescriptionBytes(ByteString value)User-provided description of the Instance. This field currently has a 512-character limit.
string description = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEncryptionKey(String value)
public Instance.Builder setEncryptionKey(String value)A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 22 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe encryptionKey to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEncryptionKeyBytes(ByteString value)
public Instance.Builder setEncryptionKeyBytes(ByteString value)A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 22 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for encryptionKey to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEncryptionKeyRevocationAction(EncryptionKeyRevocationAction value)
public Instance.Builder setEncryptionKeyRevocationAction(EncryptionKeyRevocationAction value)The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 24;
| Parameter | |
|---|---|
| Name | Description |
value |
EncryptionKeyRevocationActionThe encryptionKeyRevocationAction to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEncryptionKeyRevocationActionValue(int value)
public Instance.Builder setEncryptionKeyRevocationActionValue(int value)The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 24;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for encryptionKeyRevocationAction to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEncryptionKeyShutdownDuration(Duration value)
public Instance.Builder setEncryptionKeyShutdownDuration(Duration value)If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 25;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setEncryptionKeyShutdownDuration(Duration.Builder builderForValue)
public Instance.Builder setEncryptionKeyShutdownDuration(Duration.Builder builderForValue)If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 25;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setEtag(String value)
public Instance.Builder setEtag(String value)Optional. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public Instance.Builder setEtagBytes(ByteString value)Optional. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setExpireTime(Timestamp value)
public Instance.Builder setExpireTime(Timestamp value)Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setExpireTime(Timestamp.Builder builderForValue)
public Instance.Builder setExpireTime(Timestamp.Builder builderForValue)Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setGeneration(long value)
public Instance.Builder setGeneration(long value) Output only. A number that monotonically increases every time the user
modifies the desired state.
Please note that unlike v1, this is an int64 value. As with most Google
APIs, its JSON representation will be a string instead of an integer.
int64 generation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe generation to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setGpuZonalRedundancyDisabled(boolean value)
public Instance.Builder setGpuZonalRedundancyDisabled(boolean value)Optional. True if GPU zonal redundancy is disabled on this instance.
optional bool gpu_zonal_redundancy_disabled = 27 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe gpuZonalRedundancyDisabled to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setIapEnabled(boolean value)
public Instance.Builder setIapEnabled(boolean value)Optional. IAP settings on the Instance.
bool iap_enabled = 30 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe iapEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setIngress(IngressTraffic value)
public Instance.Builder setIngress(IngressTraffic value)Optional. Provides the ingress settings for this Instance. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 28 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
IngressTrafficThe ingress to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setIngressValue(int value)
public Instance.Builder setIngressValue(int value)Optional. Provides the ingress settings for this Instance. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 28 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for ingress to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setInvokerIamDisabled(boolean value)
public Instance.Builder setInvokerIamDisabled(boolean value)Optional. Disables IAM permission check for run.routes.invoke for callers of this Instance. For more information, visit https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
bool invoker_iam_disabled = 29 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe invokerIamDisabled to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setLastModifier(String value)
public Instance.Builder setLastModifier(String value)Output only. Email address of the last authenticated modifier.
string last_modifier = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe lastModifier to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setLastModifierBytes(ByteString value)
public Instance.Builder setLastModifierBytes(ByteString value)Output only. Email address of the last authenticated modifier.
string last_modifier = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for lastModifier to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setLaunchStage(LaunchStage value)
public Instance.Builder setLaunchStage(LaunchStage value) The launch stage as defined by Google Cloud Platform
Launch Stages.
Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA
is assumed.
Set the launch stage to a preview stage on input to allow use of preview
features in that stage. On read (or output), describes whether the
resource uses preview features.
<p>
For example, if ALPHA is provided as input, but only BETA and GA-level
features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.api.LaunchStageThe launchStage to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setLaunchStageValue(int value)
public Instance.Builder setLaunchStageValue(int value) The launch stage as defined by Google Cloud Platform
Launch Stages.
Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA
is assumed.
Set the launch stage to a preview stage on input to allow use of preview
features in that stage. On read (or output), describes whether the
resource uses preview features.
<p>
For example, if ALPHA is provided as input, but only BETA and GA-level
features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for launchStage to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setLogUri(String value)
public Instance.Builder setLogUri(String value)Output only. The Google Console URI to obtain logs for the Instance.
string log_uri = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe logUri to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setLogUriBytes(ByteString value)
public Instance.Builder setLogUriBytes(ByteString value)Output only. The Google Console URI to obtain logs for the Instance.
string log_uri = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for logUri to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setName(String value)
public Instance.Builder setName(String value)The fully qualified name of this Instance. In CreateInstanceRequest, this field is ignored, and instead composed from CreateInstanceRequest.parent and CreateInstanceRequest.instance_id.
Format: projects/{project}/locations/{location}/instances/{instance_id}
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Instance.Builder setNameBytes(ByteString value)The fully qualified name of this Instance. In CreateInstanceRequest, this field is ignored, and instead composed from CreateInstanceRequest.parent and CreateInstanceRequest.instance_id.
Format: projects/{project}/locations/{location}/instances/{instance_id}
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setNodeSelector(NodeSelector value)
public Instance.Builder setNodeSelector(NodeSelector value)Optional. The node selector for the instance.
.google.cloud.run.v2.NodeSelector node_selector = 26 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
NodeSelector |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setNodeSelector(NodeSelector.Builder builderForValue)
public Instance.Builder setNodeSelector(NodeSelector.Builder builderForValue)Optional. The node selector for the instance.
.google.cloud.run.v2.NodeSelector node_selector = 26 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NodeSelector.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setObservedGeneration(long value)
public Instance.Builder setObservedGeneration(long value) Output only. The generation of this Instance currently serving traffic. See
comments in reconciling for additional information on reconciliation
process in Cloud Run. Please note that unlike v1, this is an int64 value.
As with most Google APIs, its JSON representation will be a string
instead of an integer.
int64 observed_generation = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe observedGeneration to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setReconciling(boolean value)
public Instance.Builder setReconciling(boolean value)Output only. Returns true if the Instance is currently being acted upon by the system to bring it into the desired state.
When a new Instance is created, or an existing one is updated, Cloud Run
will asynchronously perform all necessary steps to bring the Instance to
the desired serving state. This process is called reconciliation. While
reconciliation is in process, observed_generation will have a transient
value that might mismatch the intended state.
Once reconciliation is over (and this field is false), there are two
possible outcomes: reconciliation succeeded and the serving state matches
the Instance, or there was an error, and reconciliation failed. This state
can be found in terminal_condition.state.
bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe reconciling to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setSatisfiesPzs(boolean value)
public Instance.Builder setSatisfiesPzs(boolean value)Output only. Reserved for future use.
bool satisfies_pzs = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe satisfiesPzs to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setServiceAccount(String value)
public Instance.Builder setServiceAccount(String value)string service_account = 19;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
public Instance.Builder setServiceAccountBytes(ByteString value)string service_account = 19;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setTerminalCondition(Condition value)
public Instance.Builder setTerminalCondition(Condition value) Output only. The Condition of this Instance, containing its readiness
status, and detailed error information in case it did not reach a serving
state. See comments in reconciling for additional information on
reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Condition |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setTerminalCondition(Condition.Builder builderForValue)
public Instance.Builder setTerminalCondition(Condition.Builder builderForValue) Output only. The Condition of this Instance, containing its readiness
status, and detailed error information in case it did not reach a serving
state. See comments in reconciling for additional information on
reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Condition.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setUid(String value)
public Instance.Builder setUid(String value)Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uid to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public Instance.Builder setUidBytes(ByteString value)Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uid to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Instance.Builder setUpdateTime(Timestamp value)Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Instance.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setUrls(int index, String value)
public Instance.Builder setUrls(int index, String value)Output only. All URLs serving traffic for this Instance.
repeated string urls = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe urls to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
This builder for chaining. |
setVolumes(int index, Volume value)
public Instance.Builder setVolumes(int index, Volume value)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Volume |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setVolumes(int index, Volume.Builder builderForValue)
public Instance.Builder setVolumes(int index, Volume.Builder builderForValue)A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 21;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Volume.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setVpcAccess(VpcAccess value)
public Instance.Builder setVpcAccess(VpcAccess value)Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
VpcAccess |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|
setVpcAccess(VpcAccess.Builder builderForValue)
public Instance.Builder setVpcAccess(VpcAccess.Builder builderForValue)Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
VpcAccess.Builder |
| Returns | |
|---|---|
| Type | Description |
Instance.Builder |
|