Class DeliveryPipeline

  • All Implemented Interfaces:
    DeliveryPipelineOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class DeliveryPipeline
    extends com.google.protobuf.GeneratedMessageV3
    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
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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.
      • 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.
      • 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.
      • 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
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static DeliveryPipeline parseFrom​(ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DeliveryPipeline parseFrom​(ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DeliveryPipeline parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DeliveryPipeline parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DeliveryPipeline parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DeliveryPipeline parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DeliveryPipeline parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected DeliveryPipeline.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<DeliveryPipeline> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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