Class Service.Builder

  • All Implemented Interfaces:
    ServiceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Service

    public static final class Service.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
    implements ServiceOrBuilder
     Service acts as a top-level container that manages a set of
     configurations and revision templates which implement a network service.
     Service exists to provide a singular abstraction which can be access
     controlled, reasoned about, and which encapsulates software lifecycle
     decisions such as rollout policy and team resource ownership.
     
    Protobuf type google.cloud.run.v2.Service
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • clear

        public Service.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • getDefaultInstanceForType

        public Service getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Service build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Service buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Service.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • setField

        public Service.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                        Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • clearField

        public Service.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • clearOneof

        public Service.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • setRepeatedField

        public Service.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                int index,
                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • addRepeatedField

        public Service.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • mergeFrom

        public Service.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • mergeFrom

        public Service.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The fully qualified name of this Service. In CreateServiceRequest, this
         field is ignored, and instead composed from CreateServiceRequest.parent and
         CreateServiceRequest.service_id.
        
         Format:
         projects/{project}/locations/{location}/services/{service_id}
         
        string name = 1;
        Specified by:
        getName in interface ServiceOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The fully qualified name of this Service. In CreateServiceRequest, this
         field is ignored, and instead composed from CreateServiceRequest.parent and
         CreateServiceRequest.service_id.
        
         Format:
         projects/{project}/locations/{location}/services/{service_id}
         
        string name = 1;
        Specified by:
        getNameBytes in interface ServiceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Service.Builder setName​(String value)
         The fully qualified name of this Service. In CreateServiceRequest, this
         field is ignored, and instead composed from CreateServiceRequest.parent and
         CreateServiceRequest.service_id.
        
         Format:
         projects/{project}/locations/{location}/services/{service_id}
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Service.Builder clearName()
         The fully qualified name of this Service. In CreateServiceRequest, this
         field is ignored, and instead composed from CreateServiceRequest.parent and
         CreateServiceRequest.service_id.
        
         Format:
         projects/{project}/locations/{location}/services/{service_id}
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Service.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The fully qualified name of this Service. In CreateServiceRequest, this
         field is ignored, and instead composed from CreateServiceRequest.parent and
         CreateServiceRequest.service_id.
        
         Format:
         projects/{project}/locations/{location}/services/{service_id}
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         User-provided description of the Service. This field currently has a
         512-character limit.
         
        string description = 2;
        Specified by:
        getDescription in interface ServiceOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         User-provided description of the Service. This field currently has a
         512-character limit.
         
        string description = 2;
        Specified by:
        getDescriptionBytes in interface ServiceOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Service.Builder setDescription​(String value)
         User-provided description of the Service. This field currently has a
         512-character limit.
         
        string description = 2;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Service.Builder clearDescription()
         User-provided description of the Service. This field currently has a
         512-character limit.
         
        string description = 2;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Service.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         User-provided description of the Service. This field currently has a
         512-character limit.
         
        string description = 2;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • 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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface ServiceOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface ServiceOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public Service.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public Service.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUidBytes

        public Service.Builder setUidBytes​(com.google.protobuf.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • 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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getGeneration in interface ServiceOrBuilder
        Returns:
        The generation.
      • setGeneration

        public Service.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The generation to set.
        Returns:
        This builder for chaining.
      • clearGeneration

        public Service.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: ServiceOrBuilder
         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.
        
         <p>Cloud Run API v2 does not support labels with  `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected. All system labels in v1 now have a
         corresponding field in v2 Service.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsCount in interface ServiceOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         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.
        
         <p>Cloud Run API v2 does not support labels with  `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected. All system labels in v1 now have a
         corresponding field in v2 Service.
         
        map<string, string> labels = 5;
        Specified by:
        containsLabels in interface ServiceOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         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.
        
         <p>Cloud Run API v2 does not support labels with  `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected. All system labels in v1 now have a
         corresponding field in v2 Service.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsMap in interface ServiceOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         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.
        
         <p>Cloud Run API v2 does not support labels with  `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected. All system labels in v1 now have a
         corresponding field in v2 Service.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsOrDefault in interface ServiceOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         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.
        
         <p>Cloud Run API v2 does not support labels with  `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected. All system labels in v1 now have a
         corresponding field in v2 Service.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsOrThrow in interface ServiceOrBuilder
      • removeLabels

        public Service.Builder removeLabels​(String key)
         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.
        
         <p>Cloud Run API v2 does not support labels with  `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected. All system labels in v1 now have a
         corresponding field in v2 Service.
         
        map<string, string> labels = 5;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Service.Builder putLabels​(String key,
                                         String value)
         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.
        
         <p>Cloud Run API v2 does not support labels with  `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected. All system labels in v1 now have a
         corresponding field in v2 Service.
         
        map<string, string> labels = 5;
      • putAllLabels

        public Service.Builder putAllLabels​(Map<String,​String> values)
         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.
        
         <p>Cloud Run API v2 does not support labels with  `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected. All system labels in v1 now have a
         corresponding field in v2 Service.
         
        map<string, string> labels = 5;
      • getAnnotationsCount

        public int getAnnotationsCount()
        Description copied from interface: ServiceOrBuilder
         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.
        
         <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected in new resources. All system
         annotations in v1 now have a corresponding field in v2 Service.
        
         <p>This field follows Kubernetes
         annotations' namespacing, limits, and rules.
         
        map<string, string> annotations = 6;
        Specified by:
        getAnnotationsCount in interface ServiceOrBuilder
      • containsAnnotations

        public boolean containsAnnotations​(String key)
         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.
        
         <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected in new resources. All system
         annotations in v1 now have a corresponding field in v2 Service.
        
         <p>This field follows Kubernetes
         annotations' namespacing, limits, and rules.
         
        map<string, string> annotations = 6;
        Specified by:
        containsAnnotations in interface ServiceOrBuilder
      • getAnnotationsMap

        public Map<String,​String> getAnnotationsMap()
         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.
        
         <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected in new resources. All system
         annotations in v1 now have a corresponding field in v2 Service.
        
         <p>This field follows Kubernetes
         annotations' namespacing, limits, and rules.
         
        map<string, string> annotations = 6;
        Specified by:
        getAnnotationsMap in interface ServiceOrBuilder
      • getAnnotationsOrDefault

        public String getAnnotationsOrDefault​(String key,
                                              String defaultValue)
         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.
        
         <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected in new resources. All system
         annotations in v1 now have a corresponding field in v2 Service.
        
         <p>This field follows Kubernetes
         annotations' namespacing, limits, and rules.
         
        map<string, string> annotations = 6;
        Specified by:
        getAnnotationsOrDefault in interface ServiceOrBuilder
      • getAnnotationsOrThrow

        public String getAnnotationsOrThrow​(String key)
         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.
        
         <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected in new resources. All system
         annotations in v1 now have a corresponding field in v2 Service.
        
         <p>This field follows Kubernetes
         annotations' namespacing, limits, and rules.
         
        map<string, string> annotations = 6;
        Specified by:
        getAnnotationsOrThrow in interface ServiceOrBuilder
      • removeAnnotations

        public Service.Builder removeAnnotations​(String key)
         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.
        
         <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected in new resources. All system
         annotations in v1 now have a corresponding field in v2 Service.
        
         <p>This field follows Kubernetes
         annotations' namespacing, limits, and rules.
         
        map<string, string> annotations = 6;
      • getMutableAnnotations

        @Deprecated
        public Map<String,​String> getMutableAnnotations()
        Deprecated.
        Use alternate mutation accessors instead.
      • putAnnotations

        public Service.Builder putAnnotations​(String key,
                                              String value)
         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.
        
         <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected in new resources. All system
         annotations in v1 now have a corresponding field in v2 Service.
        
         <p>This field follows Kubernetes
         annotations' namespacing, limits, and rules.
         
        map<string, string> annotations = 6;
      • putAllAnnotations

        public Service.Builder putAllAnnotations​(Map<String,​String> values)
         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.
        
         <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
         `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
         namespaces, and they will be rejected in new resources. All system
         annotations in v1 now have a corresponding field in v2 Service.
        
         <p>This field follows Kubernetes
         annotations' namespacing, limits, and rules.
         
        map<string, string> annotations = 6;
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface ServiceOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface ServiceOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Service.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Service.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Service.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Service.Builder clearCreateTime()
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The creation time.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface ServiceOrBuilder
      • hasUpdateTime

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

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface ServiceOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Service.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Service.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Service.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Service.Builder clearUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface ServiceOrBuilder
      • hasDeleteTime

        public boolean hasDeleteTime()
         Output only. The deletion time.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDeleteTime in interface ServiceOrBuilder
        Returns:
        Whether the deleteTime field is set.
      • getDeleteTime

        public com.google.protobuf.Timestamp getDeleteTime()
         Output only. The deletion time.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTime in interface ServiceOrBuilder
        Returns:
        The deleteTime.
      • setDeleteTime

        public Service.Builder setDeleteTime​(com.google.protobuf.Timestamp value)
         Output only. The deletion time.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setDeleteTime

        public Service.Builder setDeleteTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The deletion time.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeDeleteTime

        public Service.Builder mergeDeleteTime​(com.google.protobuf.Timestamp value)
         Output only. The deletion time.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearDeleteTime

        public Service.Builder clearDeleteTime()
         Output only. The deletion time.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDeleteTimeBuilder

        public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
         Output only. The deletion time.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDeleteTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
         Output only. The deletion time.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTimeOrBuilder in interface ServiceOrBuilder
      • hasExpireTime

        public boolean hasExpireTime()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasExpireTime in interface ServiceOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTime in interface ServiceOrBuilder
        Returns:
        The expireTime.
      • setExpireTime

        public Service.Builder setExpireTime​(com.google.protobuf.Timestamp value)
         Output only. For a deleted resource, the time after which it will be
         permamently deleted.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setExpireTime

        public Service.Builder setExpireTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. For a deleted resource, the time after which it will be
         permamently deleted.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeExpireTime

        public Service.Builder mergeExpireTime​(com.google.protobuf.Timestamp value)
         Output only. For a deleted resource, the time after which it will be
         permamently deleted.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearExpireTime

        public Service.Builder clearExpireTime()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpireTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTimeOrBuilder in interface ServiceOrBuilder
      • getCreator

        public String getCreator()
         Output only. Email address of the authenticated creator.
         
        string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreator in interface ServiceOrBuilder
        Returns:
        The creator.
      • getCreatorBytes

        public com.google.protobuf.ByteString getCreatorBytes()
         Output only. Email address of the authenticated creator.
         
        string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreatorBytes in interface ServiceOrBuilder
        Returns:
        The bytes for creator.
      • setCreator

        public Service.Builder setCreator​(String value)
         Output only. Email address of the authenticated creator.
         
        string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The creator to set.
        Returns:
        This builder for chaining.
      • clearCreator

        public Service.Builder clearCreator()
         Output only. Email address of the authenticated creator.
         
        string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setCreatorBytes

        public Service.Builder setCreatorBytes​(com.google.protobuf.ByteString value)
         Output only. Email address of the authenticated creator.
         
        string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for creator to set.
        Returns:
        This builder for chaining.
      • getLastModifier

        public String getLastModifier()
         Output only. Email address of the last authenticated modifier.
         
        string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLastModifier in interface ServiceOrBuilder
        Returns:
        The lastModifier.
      • getLastModifierBytes

        public com.google.protobuf.ByteString getLastModifierBytes()
         Output only. Email address of the last authenticated modifier.
         
        string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLastModifierBytes in interface ServiceOrBuilder
        Returns:
        The bytes for lastModifier.
      • setLastModifier

        public Service.Builder setLastModifier​(String value)
         Output only. Email address of the last authenticated modifier.
         
        string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The lastModifier to set.
        Returns:
        This builder for chaining.
      • clearLastModifier

        public Service.Builder clearLastModifier()
         Output only. Email address of the last authenticated modifier.
         
        string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setLastModifierBytes

        public Service.Builder setLastModifierBytes​(com.google.protobuf.ByteString value)
         Output only. Email address of the last authenticated modifier.
         
        string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for lastModifier to set.
        Returns:
        This builder for chaining.
      • getClient

        public String getClient()
         Arbitrary identifier for the API client.
         
        string client = 13;
        Specified by:
        getClient in interface ServiceOrBuilder
        Returns:
        The client.
      • getClientBytes

        public com.google.protobuf.ByteString getClientBytes()
         Arbitrary identifier for the API client.
         
        string client = 13;
        Specified by:
        getClientBytes in interface ServiceOrBuilder
        Returns:
        The bytes for client.
      • setClient

        public Service.Builder setClient​(String value)
         Arbitrary identifier for the API client.
         
        string client = 13;
        Parameters:
        value - The client to set.
        Returns:
        This builder for chaining.
      • clearClient

        public Service.Builder clearClient()
         Arbitrary identifier for the API client.
         
        string client = 13;
        Returns:
        This builder for chaining.
      • setClientBytes

        public Service.Builder setClientBytes​(com.google.protobuf.ByteString value)
         Arbitrary identifier for the API client.
         
        string client = 13;
        Parameters:
        value - The bytes for client to set.
        Returns:
        This builder for chaining.
      • getClientVersion

        public String getClientVersion()
         Arbitrary version identifier for the API client.
         
        string client_version = 14;
        Specified by:
        getClientVersion in interface ServiceOrBuilder
        Returns:
        The clientVersion.
      • getClientVersionBytes

        public com.google.protobuf.ByteString getClientVersionBytes()
         Arbitrary version identifier for the API client.
         
        string client_version = 14;
        Specified by:
        getClientVersionBytes in interface ServiceOrBuilder
        Returns:
        The bytes for clientVersion.
      • setClientVersion

        public Service.Builder setClientVersion​(String value)
         Arbitrary version identifier for the API client.
         
        string client_version = 14;
        Parameters:
        value - The clientVersion to set.
        Returns:
        This builder for chaining.
      • clearClientVersion

        public Service.Builder clearClientVersion()
         Arbitrary version identifier for the API client.
         
        string client_version = 14;
        Returns:
        This builder for chaining.
      • setClientVersionBytes

        public Service.Builder setClientVersionBytes​(com.google.protobuf.ByteString value)
         Arbitrary version identifier for the API client.
         
        string client_version = 14;
        Parameters:
        value - The bytes for clientVersion to set.
        Returns:
        This builder for chaining.
      • getIngressValue

        public int getIngressValue()
         Provides the ingress settings for this Service. On output, returns the
         currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
         revision is active.
         
        .google.cloud.run.v2.IngressTraffic ingress = 15;
        Specified by:
        getIngressValue in interface ServiceOrBuilder
        Returns:
        The enum numeric value on the wire for ingress.
      • setIngressValue

        public Service.Builder setIngressValue​(int value)
         Provides the ingress settings for this Service. On output, returns the
         currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
         revision is active.
         
        .google.cloud.run.v2.IngressTraffic ingress = 15;
        Parameters:
        value - The enum numeric value on the wire for ingress to set.
        Returns:
        This builder for chaining.
      • getIngress

        public IngressTraffic getIngress()
         Provides the ingress settings for this Service. On output, returns the
         currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
         revision is active.
         
        .google.cloud.run.v2.IngressTraffic ingress = 15;
        Specified by:
        getIngress in interface ServiceOrBuilder
        Returns:
        The ingress.
      • setIngress

        public Service.Builder setIngress​(IngressTraffic value)
         Provides the ingress settings for this Service. On output, returns the
         currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
         revision is active.
         
        .google.cloud.run.v2.IngressTraffic ingress = 15;
        Parameters:
        value - The ingress to set.
        Returns:
        This builder for chaining.
      • clearIngress

        public Service.Builder clearIngress()
         Provides the ingress settings for this Service. On output, returns the
         currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
         revision is active.
         
        .google.cloud.run.v2.IngressTraffic ingress = 15;
        Returns:
        This builder for chaining.
      • getLaunchStageValue

        public int getLaunchStageValue()
         The launch stage as defined by [Google Cloud Platform
         Launch Stages](https://cloud.google.com/terms/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;
        Specified by:
        getLaunchStageValue in interface ServiceOrBuilder
        Returns:
        The enum numeric value on the wire for launchStage.
      • setLaunchStageValue

        public Service.Builder setLaunchStageValue​(int value)
         The launch stage as defined by [Google Cloud Platform
         Launch Stages](https://cloud.google.com/terms/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;
        Parameters:
        value - The enum numeric value on the wire for launchStage to set.
        Returns:
        This builder for chaining.
      • getLaunchStage

        public com.google.api.LaunchStage getLaunchStage()
         The launch stage as defined by [Google Cloud Platform
         Launch Stages](https://cloud.google.com/terms/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;
        Specified by:
        getLaunchStage in interface ServiceOrBuilder
        Returns:
        The launchStage.
      • setLaunchStage

        public Service.Builder setLaunchStage​(com.google.api.LaunchStage value)
         The launch stage as defined by [Google Cloud Platform
         Launch Stages](https://cloud.google.com/terms/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;
        Parameters:
        value - The launchStage to set.
        Returns:
        This builder for chaining.
      • clearLaunchStage

        public Service.Builder clearLaunchStage()
         The launch stage as defined by [Google Cloud Platform
         Launch Stages](https://cloud.google.com/terms/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:
        This builder for chaining.
      • hasBinaryAuthorization

        public boolean hasBinaryAuthorization()
         Settings for the Binary Authorization feature.
         
        .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
        Specified by:
        hasBinaryAuthorization in interface ServiceOrBuilder
        Returns:
        Whether the binaryAuthorization field is set.
      • getBinaryAuthorization

        public BinaryAuthorization getBinaryAuthorization()
         Settings for the Binary Authorization feature.
         
        .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
        Specified by:
        getBinaryAuthorization in interface ServiceOrBuilder
        Returns:
        The binaryAuthorization.
      • setBinaryAuthorization

        public Service.Builder setBinaryAuthorization​(BinaryAuthorization value)
         Settings for the Binary Authorization feature.
         
        .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
      • setBinaryAuthorization

        public Service.Builder setBinaryAuthorization​(BinaryAuthorization.Builder builderForValue)
         Settings for the Binary Authorization feature.
         
        .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
      • mergeBinaryAuthorization

        public Service.Builder mergeBinaryAuthorization​(BinaryAuthorization value)
         Settings for the Binary Authorization feature.
         
        .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
      • clearBinaryAuthorization

        public Service.Builder clearBinaryAuthorization()
         Settings for the Binary Authorization feature.
         
        .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
      • getBinaryAuthorizationBuilder

        public BinaryAuthorization.Builder getBinaryAuthorizationBuilder()
         Settings for the Binary Authorization feature.
         
        .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
      • hasTemplate

        public boolean hasTemplate()
         Required. The template used to create revisions for this Service.
         
        .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasTemplate in interface ServiceOrBuilder
        Returns:
        Whether the template field is set.
      • getTemplate

        public RevisionTemplate getTemplate()
         Required. The template used to create revisions for this Service.
         
        .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTemplate in interface ServiceOrBuilder
        Returns:
        The template.
      • setTemplate

        public Service.Builder setTemplate​(RevisionTemplate value)
         Required. The template used to create revisions for this Service.
         
        .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
      • setTemplate

        public Service.Builder setTemplate​(RevisionTemplate.Builder builderForValue)
         Required. The template used to create revisions for this Service.
         
        .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
      • mergeTemplate

        public Service.Builder mergeTemplate​(RevisionTemplate value)
         Required. The template used to create revisions for this Service.
         
        .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
      • clearTemplate

        public Service.Builder clearTemplate()
         Required. The template used to create revisions for this Service.
         
        .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
      • getTemplateBuilder

        public RevisionTemplate.Builder getTemplateBuilder()
         Required. The template used to create revisions for this Service.
         
        .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
      • getTemplateOrBuilder

        public RevisionTemplateOrBuilder getTemplateOrBuilder()
         Required. The template used to create revisions for this Service.
         
        .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTemplateOrBuilder in interface ServiceOrBuilder
      • getTrafficList

        public List<TrafficTarget> getTrafficList()
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
        Specified by:
        getTrafficList in interface ServiceOrBuilder
      • getTrafficCount

        public int getTrafficCount()
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
        Specified by:
        getTrafficCount in interface ServiceOrBuilder
      • getTraffic

        public TrafficTarget getTraffic​(int index)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
        Specified by:
        getTraffic in interface ServiceOrBuilder
      • setTraffic

        public Service.Builder setTraffic​(int index,
                                          TrafficTarget value)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • setTraffic

        public Service.Builder setTraffic​(int index,
                                          TrafficTarget.Builder builderForValue)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • addTraffic

        public Service.Builder addTraffic​(TrafficTarget value)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • addTraffic

        public Service.Builder addTraffic​(int index,
                                          TrafficTarget value)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • addTraffic

        public Service.Builder addTraffic​(TrafficTarget.Builder builderForValue)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • addTraffic

        public Service.Builder addTraffic​(int index,
                                          TrafficTarget.Builder builderForValue)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • addAllTraffic

        public Service.Builder addAllTraffic​(Iterable<? extends TrafficTarget> values)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • clearTraffic

        public Service.Builder clearTraffic()
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • removeTraffic

        public Service.Builder removeTraffic​(int index)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • getTrafficBuilder

        public TrafficTarget.Builder getTrafficBuilder​(int index)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • getTrafficOrBuilder

        public TrafficTargetOrBuilder getTrafficOrBuilder​(int index)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
        Specified by:
        getTrafficOrBuilder in interface ServiceOrBuilder
      • getTrafficOrBuilderList

        public List<? extends TrafficTargetOrBuilder> getTrafficOrBuilderList()
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
        Specified by:
        getTrafficOrBuilderList in interface ServiceOrBuilder
      • addTrafficBuilder

        public TrafficTarget.Builder addTrafficBuilder()
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • addTrafficBuilder

        public TrafficTarget.Builder addTrafficBuilder​(int index)
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • getTrafficBuilderList

        public List<TrafficTarget.Builder> getTrafficBuilderList()
         Specifies how to distribute traffic over a collection of Revisions
         belonging to the Service. If traffic is empty or not provided, defaults to
         100% traffic to the latest `Ready` Revision.
         
        repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      • getObservedGeneration

        public long getObservedGeneration()
         Output only. The generation of this Service 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 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getObservedGeneration in interface ServiceOrBuilder
        Returns:
        The observedGeneration.
      • setObservedGeneration

        public Service.Builder setObservedGeneration​(long value)
         Output only. The generation of this Service 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 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The observedGeneration to set.
        Returns:
        This builder for chaining.
      • clearObservedGeneration

        public Service.Builder clearObservedGeneration()
         Output only. The generation of this Service 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 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasTerminalCondition

        public boolean hasTerminalCondition()
         Output only. The Condition of this Service, 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 = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTerminalCondition in interface ServiceOrBuilder
        Returns:
        Whether the terminalCondition field is set.
      • getTerminalCondition

        public Condition getTerminalCondition()
         Output only. The Condition of this Service, 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 = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTerminalCondition in interface ServiceOrBuilder
        Returns:
        The terminalCondition.
      • setTerminalCondition

        public Service.Builder setTerminalCondition​(Condition value)
         Output only. The Condition of this Service, 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 = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setTerminalCondition

        public Service.Builder setTerminalCondition​(Condition.Builder builderForValue)
         Output only. The Condition of this Service, 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 = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeTerminalCondition

        public Service.Builder mergeTerminalCondition​(Condition value)
         Output only. The Condition of this Service, 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 = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearTerminalCondition

        public Service.Builder clearTerminalCondition()
         Output only. The Condition of this Service, 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 = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTerminalConditionBuilder

        public Condition.Builder getTerminalConditionBuilder()
         Output only. The Condition of this Service, 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 = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTerminalConditionOrBuilder

        public ConditionOrBuilder getTerminalConditionOrBuilder()
         Output only. The Condition of this Service, 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 = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTerminalConditionOrBuilder in interface ServiceOrBuilder
      • getConditionsList

        public List<Condition> getConditionsList()
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsList in interface ServiceOrBuilder
      • getConditionsCount

        public int getConditionsCount()
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsCount in interface ServiceOrBuilder
      • getConditions

        public Condition getConditions​(int index)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditions in interface ServiceOrBuilder
      • setConditions

        public Service.Builder setConditions​(int index,
                                             Condition value)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setConditions

        public Service.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 Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public Service.Builder addConditions​(Condition value)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public Service.Builder addConditions​(int index,
                                             Condition value)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public Service.Builder addConditions​(Condition.Builder builderForValue)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public Service.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 Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllConditions

        public Service.Builder addAllConditions​(Iterable<? extends Condition> values)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearConditions

        public Service.Builder clearConditions()
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeConditions

        public Service.Builder removeConditions​(int index)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsBuilder

        public Condition.Builder getConditionsBuilder​(int index)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsOrBuilder

        public ConditionOrBuilder getConditionsOrBuilder​(int index)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsOrBuilder in interface ServiceOrBuilder
      • getConditionsOrBuilderList

        public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsOrBuilderList in interface ServiceOrBuilder
      • addConditionsBuilder

        public Condition.Builder addConditionsBuilder()
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditionsBuilder

        public Condition.Builder addConditionsBuilder​(int index)
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsBuilderList

        public List<Condition.Builder> getConditionsBuilderList()
         Output only. The Conditions of all other associated sub-resources. They
         contain additional diagnostics information in case the Service 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 = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLatestReadyRevision

        public String getLatestReadyRevision()
         Output only. Name of the latest revision that is serving traffic. See
         comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getLatestReadyRevision in interface ServiceOrBuilder
        Returns:
        The latestReadyRevision.
      • getLatestReadyRevisionBytes

        public com.google.protobuf.ByteString getLatestReadyRevisionBytes()
         Output only. Name of the latest revision that is serving traffic. See
         comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getLatestReadyRevisionBytes in interface ServiceOrBuilder
        Returns:
        The bytes for latestReadyRevision.
      • setLatestReadyRevision

        public Service.Builder setLatestReadyRevision​(String value)
         Output only. Name of the latest revision that is serving traffic. See
         comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The latestReadyRevision to set.
        Returns:
        This builder for chaining.
      • clearLatestReadyRevision

        public Service.Builder clearLatestReadyRevision()
         Output only. Name of the latest revision that is serving traffic. See
         comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setLatestReadyRevisionBytes

        public Service.Builder setLatestReadyRevisionBytes​(com.google.protobuf.ByteString value)
         Output only. Name of the latest revision that is serving traffic. See
         comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for latestReadyRevision to set.
        Returns:
        This builder for chaining.
      • getLatestCreatedRevision

        public String getLatestCreatedRevision()
         Output only. Name of the last created revision. See comments in
         `reconciling` for additional information on reconciliation process in Cloud
         Run.
         
        string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getLatestCreatedRevision in interface ServiceOrBuilder
        Returns:
        The latestCreatedRevision.
      • getLatestCreatedRevisionBytes

        public com.google.protobuf.ByteString getLatestCreatedRevisionBytes()
         Output only. Name of the last created revision. See comments in
         `reconciling` for additional information on reconciliation process in Cloud
         Run.
         
        string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getLatestCreatedRevisionBytes in interface ServiceOrBuilder
        Returns:
        The bytes for latestCreatedRevision.
      • setLatestCreatedRevision

        public Service.Builder setLatestCreatedRevision​(String value)
         Output only. Name of the last created revision. See comments in
         `reconciling` for additional information on reconciliation process in Cloud
         Run.
         
        string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The latestCreatedRevision to set.
        Returns:
        This builder for chaining.
      • clearLatestCreatedRevision

        public Service.Builder clearLatestCreatedRevision()
         Output only. Name of the last created revision. See comments in
         `reconciling` for additional information on reconciliation process in Cloud
         Run.
         
        string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setLatestCreatedRevisionBytes

        public Service.Builder setLatestCreatedRevisionBytes​(com.google.protobuf.ByteString value)
         Output only. Name of the last created revision. See comments in
         `reconciling` for additional information on reconciliation process in Cloud
         Run.
         
        string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for latestCreatedRevision to set.
        Returns:
        This builder for chaining.
      • getTrafficStatusesList

        public List<TrafficTargetStatus> getTrafficStatusesList()
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTrafficStatusesList in interface ServiceOrBuilder
      • getTrafficStatusesCount

        public int getTrafficStatusesCount()
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTrafficStatusesCount in interface ServiceOrBuilder
      • getTrafficStatuses

        public TrafficTargetStatus getTrafficStatuses​(int index)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTrafficStatuses in interface ServiceOrBuilder
      • setTrafficStatuses

        public Service.Builder setTrafficStatuses​(int index,
                                                  TrafficTargetStatus value)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setTrafficStatuses

        public Service.Builder setTrafficStatuses​(int index,
                                                  TrafficTargetStatus.Builder builderForValue)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTrafficStatuses

        public Service.Builder addTrafficStatuses​(TrafficTargetStatus value)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTrafficStatuses

        public Service.Builder addTrafficStatuses​(int index,
                                                  TrafficTargetStatus value)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTrafficStatuses

        public Service.Builder addTrafficStatuses​(TrafficTargetStatus.Builder builderForValue)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTrafficStatuses

        public Service.Builder addTrafficStatuses​(int index,
                                                  TrafficTargetStatus.Builder builderForValue)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllTrafficStatuses

        public Service.Builder addAllTrafficStatuses​(Iterable<? extends TrafficTargetStatus> values)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearTrafficStatuses

        public Service.Builder clearTrafficStatuses()
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeTrafficStatuses

        public Service.Builder removeTrafficStatuses​(int index)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTrafficStatusesBuilder

        public TrafficTargetStatus.Builder getTrafficStatusesBuilder​(int index)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTrafficStatusesOrBuilder

        public TrafficTargetStatusOrBuilder getTrafficStatusesOrBuilder​(int index)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTrafficStatusesOrBuilder in interface ServiceOrBuilder
      • getTrafficStatusesOrBuilderList

        public List<? extends TrafficTargetStatusOrBuilder> getTrafficStatusesOrBuilderList()
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTrafficStatusesOrBuilderList in interface ServiceOrBuilder
      • addTrafficStatusesBuilder

        public TrafficTargetStatus.Builder addTrafficStatusesBuilder()
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTrafficStatusesBuilder

        public TrafficTargetStatus.Builder addTrafficStatusesBuilder​(int index)
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTrafficStatusesBuilderList

        public List<TrafficTargetStatus.Builder> getTrafficStatusesBuilderList()
         Output only. Detailed status information for corresponding traffic targets.
         See comments in `reconciling` for additional information on reconciliation
         process in Cloud Run.
         
        repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUri

        public String getUri()
         Output only. The main URI in which this Service is serving traffic.
         
        string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUri in interface ServiceOrBuilder
        Returns:
        The uri.
      • getUriBytes

        public com.google.protobuf.ByteString getUriBytes()
         Output only. The main URI in which this Service is serving traffic.
         
        string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUriBytes in interface ServiceOrBuilder
        Returns:
        The bytes for uri.
      • setUri

        public Service.Builder setUri​(String value)
         Output only. The main URI in which this Service is serving traffic.
         
        string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The uri to set.
        Returns:
        This builder for chaining.
      • clearUri

        public Service.Builder clearUri()
         Output only. The main URI in which this Service is serving traffic.
         
        string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUriBytes

        public Service.Builder setUriBytes​(com.google.protobuf.ByteString value)
         Output only. The main URI in which this Service is serving traffic.
         
        string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uri to set.
        Returns:
        This builder for chaining.
      • getCustomAudiencesList

        public com.google.protobuf.ProtocolStringList getCustomAudiencesList()
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Specified by:
        getCustomAudiencesList in interface ServiceOrBuilder
        Returns:
        A list containing the customAudiences.
      • getCustomAudiencesCount

        public int getCustomAudiencesCount()
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Specified by:
        getCustomAudiencesCount in interface ServiceOrBuilder
        Returns:
        The count of customAudiences.
      • getCustomAudiences

        public String getCustomAudiences​(int index)
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Specified by:
        getCustomAudiences in interface ServiceOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The customAudiences at the given index.
      • getCustomAudiencesBytes

        public com.google.protobuf.ByteString getCustomAudiencesBytes​(int index)
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Specified by:
        getCustomAudiencesBytes in interface ServiceOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the customAudiences at the given index.
      • setCustomAudiences

        public Service.Builder setCustomAudiences​(int index,
                                                  String value)
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Parameters:
        index - The index to set the value at.
        value - The customAudiences to set.
        Returns:
        This builder for chaining.
      • addCustomAudiences

        public Service.Builder addCustomAudiences​(String value)
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Parameters:
        value - The customAudiences to add.
        Returns:
        This builder for chaining.
      • addAllCustomAudiences

        public Service.Builder addAllCustomAudiences​(Iterable<String> values)
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Parameters:
        values - The customAudiences to add.
        Returns:
        This builder for chaining.
      • clearCustomAudiences

        public Service.Builder clearCustomAudiences()
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Returns:
        This builder for chaining.
      • addCustomAudiencesBytes

        public Service.Builder addCustomAudiencesBytes​(com.google.protobuf.ByteString value)
         One or more custom audiences that you want this service to support. Specify
         each custom audience as the full URL in a string. The custom audiences are
         encoded in the token and used to authenticate requests. For more
         information, see
         https://cloud.google.com/run/docs/configuring/custom-audiences.
         
        repeated string custom_audiences = 37;
        Parameters:
        value - The bytes of the customAudiences to add.
        Returns:
        This builder for chaining.
      • getSatisfiesPzs

        public boolean getSatisfiesPzs()
         Output only. Reserved for future use.
         
        bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSatisfiesPzs in interface ServiceOrBuilder
        Returns:
        The satisfiesPzs.
      • setSatisfiesPzs

        public Service.Builder setSatisfiesPzs​(boolean value)
         Output only. Reserved for future use.
         
        bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The satisfiesPzs to set.
        Returns:
        This builder for chaining.
      • clearSatisfiesPzs

        public Service.Builder clearSatisfiesPzs()
         Output only. Reserved for future use.
         
        bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getReconciling

        public boolean getReconciling()
         Output only. Returns true if the Service is currently being acted upon by
         the system to bring it into the desired state.
        
         When a new Service is created, or an existing one is updated, Cloud Run
         will asynchronously perform all necessary steps to bring the Service to the
         desired serving state. This process is called reconciliation.
         While reconciliation is in process, `observed_generation`,
         `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient
         values 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 Service, or there was an error,
         and reconciliation failed. This state can be found in
         `terminal_condition.state`.
        
         If reconciliation succeeded, the following fields will match: `traffic` and
         `traffic_statuses`, `observed_generation` and `generation`,
         `latest_ready_revision` and `latest_created_revision`.
        
         If reconciliation failed, `traffic_statuses`, `observed_generation`, and
         `latest_ready_revision` will have the state of the last serving revision,
         or empty for newly created Services. Additional information on the failure
         can be found in `terminal_condition` and `conditions`.
         
        bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getReconciling in interface ServiceOrBuilder
        Returns:
        The reconciling.
      • setReconciling

        public Service.Builder setReconciling​(boolean value)
         Output only. Returns true if the Service is currently being acted upon by
         the system to bring it into the desired state.
        
         When a new Service is created, or an existing one is updated, Cloud Run
         will asynchronously perform all necessary steps to bring the Service to the
         desired serving state. This process is called reconciliation.
         While reconciliation is in process, `observed_generation`,
         `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient
         values 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 Service, or there was an error,
         and reconciliation failed. This state can be found in
         `terminal_condition.state`.
        
         If reconciliation succeeded, the following fields will match: `traffic` and
         `traffic_statuses`, `observed_generation` and `generation`,
         `latest_ready_revision` and `latest_created_revision`.
        
         If reconciliation failed, `traffic_statuses`, `observed_generation`, and
         `latest_ready_revision` will have the state of the last serving revision,
         or empty for newly created Services. Additional information on the failure
         can be found in `terminal_condition` and `conditions`.
         
        bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The reconciling to set.
        Returns:
        This builder for chaining.
      • clearReconciling

        public Service.Builder clearReconciling()
         Output only. Returns true if the Service is currently being acted upon by
         the system to bring it into the desired state.
        
         When a new Service is created, or an existing one is updated, Cloud Run
         will asynchronously perform all necessary steps to bring the Service to the
         desired serving state. This process is called reconciliation.
         While reconciliation is in process, `observed_generation`,
         `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient
         values 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 Service, or there was an error,
         and reconciliation failed. This state can be found in
         `terminal_condition.state`.
        
         If reconciliation succeeded, the following fields will match: `traffic` and
         `traffic_statuses`, `observed_generation` and `generation`,
         `latest_ready_revision` and `latest_created_revision`.
        
         If reconciliation failed, `traffic_statuses`, `observed_generation`, and
         `latest_ready_revision` will have the state of the last serving revision,
         or empty for newly created Services. Additional information on the failure
         can be found in `terminal_condition` and `conditions`.
         
        bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getEtag

        public 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];
        Specified by:
        getEtag in interface ServiceOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public 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];
        Specified by:
        getEtagBytes in interface ServiceOrBuilder
        Returns:
        The bytes for etag.
      • setEtag

        public Service.Builder setEtag​(String value)
         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];
        Parameters:
        value - The etag to set.
        Returns:
        This builder for chaining.
      • clearEtag

        public Service.Builder clearEtag()
         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:
        This builder for chaining.
      • setEtagBytes

        public Service.Builder setEtagBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for etag to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Service.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • mergeUnknownFields

        public final Service.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>