Interface RevisionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Revision, Revision.Builder

    public interface RevisionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Output only. The unique name of this Revision.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. The unique name of this Revision.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • getUid

        String getUid()
         Output only. Server assigned unique identifier for the Revision. The value
         is a UUID4 string and guaranteed to remain unchanged until the resource is
         deleted.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The uid.
      • getUidBytes

        com.google.protobuf.ByteString getUidBytes()
         Output only. Server assigned unique identifier for the Revision. The value
         is a UUID4 string and guaranteed to remain unchanged until the resource is
         deleted.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for uid.
      • getGeneration

        long getGeneration()
         Output only. A number that monotonically increases every time the user
         modifies the desired state.
         
        int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The generation.
      • getLabelsCount

        int getLabelsCount()
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • containsLabels

        boolean containsLabels​(String key)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getAnnotationsCount

        int getAnnotationsCount()
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • containsAnnotations

        boolean containsAnnotations​(String key)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getAnnotationsMap

        Map<String,​String> getAnnotationsMap()
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getAnnotationsOrDefault

        String getAnnotationsOrDefault​(String key,
                                       String defaultValue)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getAnnotationsOrThrow

        String getAnnotationsOrThrow​(String key)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasDeleteTime

        boolean hasDeleteTime()
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the deleteTime field is set.
      • getDeleteTime

        com.google.protobuf.Timestamp getDeleteTime()
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The deleteTime.
      • getDeleteTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasExpireTime

        boolean hasExpireTime()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        com.google.protobuf.Timestamp getExpireTime()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The expireTime.
      • getExpireTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLaunchStageValue

        int getLaunchStageValue()
         The least stable launch stage needed to create this resource, as defined by
         [Google Cloud Platform Launch
         Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
         `ALPHA`, `BETA`, and `GA`.
         <p>Note that this value might not be what was used
         as input. For example, if ALPHA was provided as input in the parent
         resource, but only BETA and GA-level features are were, this field will be
         BETA.
         
        .google.api.LaunchStage launch_stage = 10;
        Returns:
        The enum numeric value on the wire for launchStage.
      • getLaunchStage

        com.google.api.LaunchStage getLaunchStage()
         The least stable launch stage needed to create this resource, as defined by
         [Google Cloud Platform Launch
         Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
         `ALPHA`, `BETA`, and `GA`.
         <p>Note that this value might not be what was used
         as input. For example, if ALPHA was provided as input in the parent
         resource, but only BETA and GA-level features are were, this field will be
         BETA.
         
        .google.api.LaunchStage launch_stage = 10;
        Returns:
        The launchStage.
      • getService

        String getService()
         Output only. The name of the parent service.
         
        string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The service.
      • getServiceBytes

        com.google.protobuf.ByteString getServiceBytes()
         Output only. The name of the parent service.
         
        string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for service.
      • hasScaling

        boolean hasScaling()
         Scaling settings for this revision.
         
        .google.cloud.run.v2.RevisionScaling scaling = 12;
        Returns:
        Whether the scaling field is set.
      • getScaling

        RevisionScaling getScaling()
         Scaling settings for this revision.
         
        .google.cloud.run.v2.RevisionScaling scaling = 12;
        Returns:
        The scaling.
      • getScalingOrBuilder

        RevisionScalingOrBuilder getScalingOrBuilder()
         Scaling settings for this revision.
         
        .google.cloud.run.v2.RevisionScaling scaling = 12;
      • hasVpcAccess

        boolean hasVpcAccess()
         VPC Access configuration for this Revision. For more information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 13;
        Returns:
        Whether the vpcAccess field is set.
      • getVpcAccess

        VpcAccess getVpcAccess()
         VPC Access configuration for this Revision. For more information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 13;
        Returns:
        The vpcAccess.
      • getVpcAccessOrBuilder

        VpcAccessOrBuilder getVpcAccessOrBuilder()
         VPC Access configuration for this Revision. For more information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 13;
      • getMaxInstanceRequestConcurrency

        int getMaxInstanceRequestConcurrency()
         Sets the maximum number of requests that each serving instance can receive.
         
        int32 max_instance_request_concurrency = 34;
        Returns:
        The maxInstanceRequestConcurrency.
      • hasTimeout

        boolean hasTimeout()
         Max allowed time for an instance to respond to a request.
         
        .google.protobuf.Duration timeout = 15;
        Returns:
        Whether the timeout field is set.
      • getTimeout

        com.google.protobuf.Duration getTimeout()
         Max allowed time for an instance to respond to a request.
         
        .google.protobuf.Duration timeout = 15;
        Returns:
        The timeout.
      • getTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
         Max allowed time for an instance to respond to a request.
         
        .google.protobuf.Duration timeout = 15;
      • getServiceAccount

        String getServiceAccount()
         Email address of the IAM service account associated with the revision of
         the service. The service account represents the identity of the running
         revision, and determines what permissions the revision has.
         
        string service_account = 16;
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        com.google.protobuf.ByteString getServiceAccountBytes()
         Email address of the IAM service account associated with the revision of
         the service. The service account represents the identity of the running
         revision, and determines what permissions the revision has.
         
        string service_account = 16;
        Returns:
        The bytes for serviceAccount.
      • getContainersList

        List<Container> getContainersList()
         Holds the single container that defines the unit of execution for this
         Revision.
         
        repeated .google.cloud.run.v2.Container containers = 17;
      • getContainers

        Container getContainers​(int index)
         Holds the single container that defines the unit of execution for this
         Revision.
         
        repeated .google.cloud.run.v2.Container containers = 17;
      • getContainersCount

        int getContainersCount()
         Holds the single container that defines the unit of execution for this
         Revision.
         
        repeated .google.cloud.run.v2.Container containers = 17;
      • getContainersOrBuilderList

        List<? extends ContainerOrBuilder> getContainersOrBuilderList()
         Holds the single container that defines the unit of execution for this
         Revision.
         
        repeated .google.cloud.run.v2.Container containers = 17;
      • getContainersOrBuilder

        ContainerOrBuilder getContainersOrBuilder​(int index)
         Holds the single container that defines the unit of execution for this
         Revision.
         
        repeated .google.cloud.run.v2.Container containers = 17;
      • getVolumesList

        List<Volume> getVolumesList()
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 18;
      • getVolumes

        Volume getVolumes​(int index)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 18;
      • getVolumesCount

        int getVolumesCount()
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 18;
      • getVolumesOrBuilderList

        List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 18;
      • getVolumesOrBuilder

        VolumeOrBuilder getVolumesOrBuilder​(int index)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 18;
      • getExecutionEnvironmentValue

        int getExecutionEnvironmentValue()
         The execution environment being used to host this Revision.
         
        .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
        Returns:
        The enum numeric value on the wire for executionEnvironment.
      • getExecutionEnvironment

        ExecutionEnvironment getExecutionEnvironment()
         The execution environment being used to host this Revision.
         
        .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
        Returns:
        The executionEnvironment.
      • getEncryptionKey

        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 = 21 [(.google.api.resource_reference) = { ... }
        Returns:
        The encryptionKey.
      • getEncryptionKeyBytes

        com.google.protobuf.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 = 21 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for encryptionKey.
      • getEncryptionKeyRevocationActionValue

        int getEncryptionKeyRevocationActionValue()
         The action to take if the encryption key is revoked.
         
        .google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
        Returns:
        The enum numeric value on the wire for encryptionKeyRevocationAction.
      • getEncryptionKeyRevocationAction

        EncryptionKeyRevocationAction getEncryptionKeyRevocationAction()
         The action to take if the encryption key is revoked.
         
        .google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
        Returns:
        The encryptionKeyRevocationAction.
      • hasEncryptionKeyShutdownDuration

        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 = 24;
        Returns:
        Whether the encryptionKeyShutdownDuration field is set.
      • getEncryptionKeyShutdownDuration

        com.google.protobuf.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 = 24;
        Returns:
        The encryptionKeyShutdownDuration.
      • getEncryptionKeyShutdownDurationOrBuilder

        com.google.protobuf.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 = 24;
      • getReconciling

        boolean getReconciling()
         Output only. Indicates whether the resource's reconciliation is still in
         progress. See comments in `Service.reconciling` for additional information
         on reconciliation process in Cloud Run.
         
        bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The reconciling.
      • getConditionsList

        List<Condition> getConditionsList()
         Output only. The Condition of this Revision, containing its readiness
         status, and detailed error information in case it did not reach a serving
         state.
         
        repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditions

        Condition getConditions​(int index)
         Output only. The Condition of this Revision, containing its readiness
         status, and detailed error information in case it did not reach a serving
         state.
         
        repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsCount

        int getConditionsCount()
         Output only. The Condition of this Revision, containing its readiness
         status, and detailed error information in case it did not reach a serving
         state.
         
        repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsOrBuilderList

        List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
         Output only. The Condition of this Revision, containing its readiness
         status, and detailed error information in case it did not reach a serving
         state.
         
        repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsOrBuilder

        ConditionOrBuilder getConditionsOrBuilder​(int index)
         Output only. The Condition of this Revision, containing its readiness
         status, and detailed error information in case it did not reach a serving
         state.
         
        repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getObservedGeneration

        long getObservedGeneration()
         Output only. The generation of this Revision currently serving traffic. See
         comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The observedGeneration.
      • getLogUri

        String getLogUri()
         Output only. The Google Console URI to obtain logs for the Revision.
         
        string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The logUri.
      • getLogUriBytes

        com.google.protobuf.ByteString getLogUriBytes()
         Output only. The Google Console URI to obtain logs for the Revision.
         
        string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for logUri.
      • getSatisfiesPzs

        boolean getSatisfiesPzs()
         Output only. Reserved for future use.
         
        bool satisfies_pzs = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The satisfiesPzs.
      • getSessionAffinity

        boolean getSessionAffinity()
         Enable session affinity.
         
        bool session_affinity = 38;
        Returns:
        The sessionAffinity.
      • getEtag

        String getEtag()
         Output only. 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) = OUTPUT_ONLY];
        Returns:
        The etag.
      • getEtagBytes

        com.google.protobuf.ByteString getEtagBytes()
         Output only. 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) = OUTPUT_ONLY];
        Returns:
        The bytes for etag.