Class DeliveryPipeline.Builder

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

    public static final class DeliveryPipeline.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DeliveryPipeline.Builder>
    implements DeliveryPipelineOrBuilder
     A `DeliveryPipeline` resource in the Cloud Deploy API.
    
     A `DeliveryPipeline` defines a pipeline through which a Skaffold
     configuration can progress.
     
    Protobuf type google.cloud.deploy.v1.DeliveryPipeline
    • 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<DeliveryPipeline.Builder>
      • internalGetMutableMapField

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

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

        public DeliveryPipeline.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<DeliveryPipeline.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<DeliveryPipeline.Builder>
      • getDefaultInstanceForType

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

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

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

        public DeliveryPipeline.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<DeliveryPipeline.Builder>
      • setField

        public DeliveryPipeline.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<DeliveryPipeline.Builder>
      • clearField

        public DeliveryPipeline.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<DeliveryPipeline.Builder>
      • clearOneof

        public DeliveryPipeline.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<DeliveryPipeline.Builder>
      • setRepeatedField

        public DeliveryPipeline.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<DeliveryPipeline.Builder>
      • addRepeatedField

        public DeliveryPipeline.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<DeliveryPipeline.Builder>
      • mergeFrom

        public DeliveryPipeline.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<DeliveryPipeline.Builder>
      • isInitialized

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

        public DeliveryPipeline.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<DeliveryPipeline.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/
         locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}.
         
        string name = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getName in interface DeliveryPipelineOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/
         locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}.
         
        string name = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getNameBytes in interface DeliveryPipelineOrBuilder
        Returns:
        The bytes for name.
      • setName

        public DeliveryPipeline.Builder setName​(String value)
         Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/
         locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}.
         
        string name = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public DeliveryPipeline.Builder clearName()
         Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/
         locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}.
         
        string name = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setNameBytes

        public DeliveryPipeline.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/
         locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}.
         
        string name = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getUid

        public String getUid()
         Output only. Unique identifier of the `DeliveryPipeline`.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface DeliveryPipelineOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. Unique identifier of the `DeliveryPipeline`.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface DeliveryPipelineOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public DeliveryPipeline.Builder setUid​(String value)
         Output only. Unique identifier of the `DeliveryPipeline`.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public DeliveryPipeline.Builder clearUid()
         Output only. Unique identifier of the `DeliveryPipeline`.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUidBytes

        public DeliveryPipeline.Builder setUidBytes​(com.google.protobuf.ByteString value)
         Output only. Unique identifier of the `DeliveryPipeline`.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         Description of the `DeliveryPipeline`. Max length is 255 characters.
         
        string description = 3;
        Specified by:
        getDescription in interface DeliveryPipelineOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Description of the `DeliveryPipeline`. Max length is 255 characters.
         
        string description = 3;
        Specified by:
        getDescriptionBytes in interface DeliveryPipelineOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public DeliveryPipeline.Builder setDescription​(String value)
         Description of the `DeliveryPipeline`. Max length is 255 characters.
         
        string description = 3;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public DeliveryPipeline.Builder clearDescription()
         Description of the `DeliveryPipeline`. Max length is 255 characters.
         
        string description = 3;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public DeliveryPipeline.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Description of the `DeliveryPipeline`. Max length is 255 characters.
         
        string description = 3;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • containsAnnotations

        public boolean containsAnnotations​(String key)
         User annotations. These attributes can only be set and used by the
         user, and not by Cloud Deploy.
         
        map<string, string> annotations = 4;
        Specified by:
        containsAnnotations in interface DeliveryPipelineOrBuilder
      • removeAnnotations

        public DeliveryPipeline.Builder removeAnnotations​(String key)
         User annotations. These attributes can only be set and used by the
         user, and not by Cloud Deploy.
         
        map<string, string> annotations = 4;
      • getMutableAnnotations

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

        public DeliveryPipeline.Builder putAnnotations​(String key,
                                                       String value)
         User annotations. These attributes can only be set and used by the
         user, and not by Cloud Deploy.
         
        map<string, string> annotations = 4;
      • putAllAnnotations

        public DeliveryPipeline.Builder putAllAnnotations​(Map<String,​String> values)
         User annotations. These attributes can only be set and used by the
         user, and not by Cloud Deploy.
         
        map<string, string> annotations = 4;
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: DeliveryPipelineOrBuilder
         Labels are attributes that can be set and used by both the
         user and by Cloud Deploy. Labels must meet the following constraints:
        
         * Keys and values can contain only lowercase letters, numeric characters,
         underscores, and dashes.
         * All characters must use UTF-8 encoding, and international characters are
         allowed.
         * Keys must start with a lowercase letter or international character.
         * Each resource is limited to a maximum of 64 labels.
        
         Both keys and values are additionally constrained to be <= 128 bytes.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsCount in interface DeliveryPipelineOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Labels are attributes that can be set and used by both the
         user and by Cloud Deploy. Labels must meet the following constraints:
        
         * Keys and values can contain only lowercase letters, numeric characters,
         underscores, and dashes.
         * All characters must use UTF-8 encoding, and international characters are
         allowed.
         * Keys must start with a lowercase letter or international character.
         * Each resource is limited to a maximum of 64 labels.
        
         Both keys and values are additionally constrained to be <= 128 bytes.
         
        map<string, string> labels = 5;
        Specified by:
        containsLabels in interface DeliveryPipelineOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Labels are attributes that can be set and used by both the
         user and by Cloud Deploy. Labels must meet the following constraints:
        
         * Keys and values can contain only lowercase letters, numeric characters,
         underscores, and dashes.
         * All characters must use UTF-8 encoding, and international characters are
         allowed.
         * Keys must start with a lowercase letter or international character.
         * Each resource is limited to a maximum of 64 labels.
        
         Both keys and values are additionally constrained to be <= 128 bytes.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsMap in interface DeliveryPipelineOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Labels are attributes that can be set and used by both the
         user and by Cloud Deploy. Labels must meet the following constraints:
        
         * Keys and values can contain only lowercase letters, numeric characters,
         underscores, and dashes.
         * All characters must use UTF-8 encoding, and international characters are
         allowed.
         * Keys must start with a lowercase letter or international character.
         * Each resource is limited to a maximum of 64 labels.
        
         Both keys and values are additionally constrained to be <= 128 bytes.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsOrDefault in interface DeliveryPipelineOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Labels are attributes that can be set and used by both the
         user and by Cloud Deploy. Labels must meet the following constraints:
        
         * Keys and values can contain only lowercase letters, numeric characters,
         underscores, and dashes.
         * All characters must use UTF-8 encoding, and international characters are
         allowed.
         * Keys must start with a lowercase letter or international character.
         * Each resource is limited to a maximum of 64 labels.
        
         Both keys and values are additionally constrained to be <= 128 bytes.
         
        map<string, string> labels = 5;
        Specified by:
        getLabelsOrThrow in interface DeliveryPipelineOrBuilder
      • removeLabels

        public DeliveryPipeline.Builder removeLabels​(String key)
         Labels are attributes that can be set and used by both the
         user and by Cloud Deploy. Labels must meet the following constraints:
        
         * Keys and values can contain only lowercase letters, numeric characters,
         underscores, and dashes.
         * All characters must use UTF-8 encoding, and international characters are
         allowed.
         * Keys must start with a lowercase letter or international character.
         * Each resource is limited to a maximum of 64 labels.
        
         Both keys and values are additionally constrained to be <= 128 bytes.
         
        map<string, string> labels = 5;
      • getMutableLabels

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

        public DeliveryPipeline.Builder putLabels​(String key,
                                                  String value)
         Labels are attributes that can be set and used by both the
         user and by Cloud Deploy. Labels must meet the following constraints:
        
         * Keys and values can contain only lowercase letters, numeric characters,
         underscores, and dashes.
         * All characters must use UTF-8 encoding, and international characters are
         allowed.
         * Keys must start with a lowercase letter or international character.
         * Each resource is limited to a maximum of 64 labels.
        
         Both keys and values are additionally constrained to be <= 128 bytes.
         
        map<string, string> labels = 5;
      • putAllLabels

        public DeliveryPipeline.Builder putAllLabels​(Map<String,​String> values)
         Labels are attributes that can be set and used by both the
         user and by Cloud Deploy. Labels must meet the following constraints:
        
         * Keys and values can contain only lowercase letters, numeric characters,
         underscores, and dashes.
         * All characters must use UTF-8 encoding, and international characters are
         allowed.
         * Keys must start with a lowercase letter or international character.
         * Each resource is limited to a maximum of 64 labels.
        
         Both keys and values are additionally constrained to be <= 128 bytes.
         
        map<string, string> labels = 5;
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Time at which the pipeline was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface DeliveryPipelineOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Time at which the pipeline was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface DeliveryPipelineOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public DeliveryPipeline.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Time at which the pipeline was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public DeliveryPipeline.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time at which the pipeline was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public DeliveryPipeline.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Time at which the pipeline was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public DeliveryPipeline.Builder clearCreateTime()
         Output only. Time at which the pipeline was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. Time at which the pipeline was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Time at which the pipeline was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface DeliveryPipelineOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Most recent time at which the pipeline was updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface DeliveryPipelineOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Most recent time at which the pipeline was updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface DeliveryPipelineOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public DeliveryPipeline.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Most recent time at which the pipeline was updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public DeliveryPipeline.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Most recent time at which the pipeline was updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public DeliveryPipeline.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Most recent time at which the pipeline was updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public DeliveryPipeline.Builder clearUpdateTime()
         Output only. Most recent time at which the pipeline was updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. Most recent time at which the pipeline was updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Most recent time at which the pipeline was updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface DeliveryPipelineOrBuilder
      • hasSerialPipeline

        public boolean hasSerialPipeline()
         SerialPipeline defines a sequential set of stages for a
         `DeliveryPipeline`.
         
        .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8;
        Specified by:
        hasSerialPipeline in interface DeliveryPipelineOrBuilder
        Returns:
        Whether the serialPipeline field is set.
      • getSerialPipeline

        public SerialPipeline getSerialPipeline()
         SerialPipeline defines a sequential set of stages for a
         `DeliveryPipeline`.
         
        .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8;
        Specified by:
        getSerialPipeline in interface DeliveryPipelineOrBuilder
        Returns:
        The serialPipeline.
      • setSerialPipeline

        public DeliveryPipeline.Builder setSerialPipeline​(SerialPipeline value)
         SerialPipeline defines a sequential set of stages for a
         `DeliveryPipeline`.
         
        .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8;
      • setSerialPipeline

        public DeliveryPipeline.Builder setSerialPipeline​(SerialPipeline.Builder builderForValue)
         SerialPipeline defines a sequential set of stages for a
         `DeliveryPipeline`.
         
        .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8;
      • mergeSerialPipeline

        public DeliveryPipeline.Builder mergeSerialPipeline​(SerialPipeline value)
         SerialPipeline defines a sequential set of stages for a
         `DeliveryPipeline`.
         
        .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8;
      • clearSerialPipeline

        public DeliveryPipeline.Builder clearSerialPipeline()
         SerialPipeline defines a sequential set of stages for a
         `DeliveryPipeline`.
         
        .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8;
      • getSerialPipelineBuilder

        public SerialPipeline.Builder getSerialPipelineBuilder()
         SerialPipeline defines a sequential set of stages for a
         `DeliveryPipeline`.
         
        .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8;
      • hasCondition

        public boolean hasCondition()
         Output only. Information around the state of the Delivery Pipeline.
         
        .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCondition in interface DeliveryPipelineOrBuilder
        Returns:
        Whether the condition field is set.
      • getCondition

        public PipelineCondition getCondition()
         Output only. Information around the state of the Delivery Pipeline.
         
        .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCondition in interface DeliveryPipelineOrBuilder
        Returns:
        The condition.
      • setCondition

        public DeliveryPipeline.Builder setCondition​(PipelineCondition value)
         Output only. Information around the state of the Delivery Pipeline.
         
        .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCondition

        public DeliveryPipeline.Builder setCondition​(PipelineCondition.Builder builderForValue)
         Output only. Information around the state of the Delivery Pipeline.
         
        .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCondition

        public DeliveryPipeline.Builder mergeCondition​(PipelineCondition value)
         Output only. Information around the state of the Delivery Pipeline.
         
        .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCondition

        public DeliveryPipeline.Builder clearCondition()
         Output only. Information around the state of the Delivery Pipeline.
         
        .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionBuilder

        public PipelineCondition.Builder getConditionBuilder()
         Output only. Information around the state of the Delivery Pipeline.
         
        .google.cloud.deploy.v1.PipelineCondition condition = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEtag

        public String getEtag()
         This checksum is computed by the server based on the value of other
         fields, and may be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 10;
        Specified by:
        getEtag in interface DeliveryPipelineOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         This checksum is computed by the server based on the value of other
         fields, and may be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 10;
        Specified by:
        getEtagBytes in interface DeliveryPipelineOrBuilder
        Returns:
        The bytes for etag.
      • setEtag

        public DeliveryPipeline.Builder setEtag​(String value)
         This checksum is computed by the server based on the value of other
         fields, and may be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 10;
        Parameters:
        value - The etag to set.
        Returns:
        This builder for chaining.
      • clearEtag

        public DeliveryPipeline.Builder clearEtag()
         This checksum is computed by the server based on the value of other
         fields, and may be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 10;
        Returns:
        This builder for chaining.
      • setEtagBytes

        public DeliveryPipeline.Builder setEtagBytes​(com.google.protobuf.ByteString value)
         This checksum is computed by the server based on the value of other
         fields, and may be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 10;
        Parameters:
        value - The bytes for etag to set.
        Returns:
        This builder for chaining.
      • getSuspended

        public boolean getSuspended()
         When suspended, no new releases or rollouts can be created,
         but in-progress ones will complete.
         
        bool suspended = 12;
        Specified by:
        getSuspended in interface DeliveryPipelineOrBuilder
        Returns:
        The suspended.
      • setSuspended

        public DeliveryPipeline.Builder setSuspended​(boolean value)
         When suspended, no new releases or rollouts can be created,
         but in-progress ones will complete.
         
        bool suspended = 12;
        Parameters:
        value - The suspended to set.
        Returns:
        This builder for chaining.
      • clearSuspended

        public DeliveryPipeline.Builder clearSuspended()
         When suspended, no new releases or rollouts can be created,
         but in-progress ones will complete.
         
        bool suspended = 12;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DeliveryPipeline.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<DeliveryPipeline.Builder>
      • mergeUnknownFields

        public final DeliveryPipeline.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<DeliveryPipeline.Builder>