Class DeliveryPipeline

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.DeliveryPipeline
All Implemented Interfaces:
DeliveryPipelineOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeliveryPipeline extends com.google.protobuf.GeneratedMessage 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:
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getPipelineCase

      public DeliveryPipeline.PipelineCase getPipelineCase()
      Specified by:
      getPipelineCase in interface DeliveryPipelineOrBuilder
    • getName

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

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the `DeliveryPipeline`. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
       The `deliveryPipeline` component must match
       `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      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()
       Optional. Description of the `DeliveryPipeline`. Max length is 255
       characters.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DeliveryPipelineOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

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

      public int getAnnotationsCount()
      Description copied from interface: DeliveryPipelineOrBuilder
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy.
       
      map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface DeliveryPipelineOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy.
       
      map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface DeliveryPipelineOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface DeliveryPipelineOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy.
       
      map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface DeliveryPipelineOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy.
       
      map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface DeliveryPipelineOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy.
       
      map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow 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
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels 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()
       Optional. SerialPipeline defines a sequential set of stages for a
       `DeliveryPipeline`.
       
      .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSerialPipeline in interface DeliveryPipelineOrBuilder
      Returns:
      Whether the serialPipeline field is set.
    • getSerialPipeline

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

      public SerialPipelineOrBuilder getSerialPipelineOrBuilder()
       Optional. SerialPipeline defines a sequential set of stages for a
       `DeliveryPipeline`.
       
      .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerialPipelineOrBuilder in interface DeliveryPipelineOrBuilder
    • 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.
    • getConditionOrBuilder

      public PipelineConditionOrBuilder getConditionOrBuilder()
       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:
      getConditionOrBuilder in interface DeliveryPipelineOrBuilder
    • 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()
       Optional. When suspended, no new releases or rollouts can be created,
       but in-progress ones will complete.
       
      bool suspended = 12 [(.google.api.field_behavior) = OPTIONAL];
      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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeliveryPipeline parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeliveryPipeline parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeliveryPipeline parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeliveryPipeline parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • 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
    • newBuilder

      public static DeliveryPipeline.Builder newBuilder()
    • newBuilder

      public static DeliveryPipeline.Builder newBuilder(DeliveryPipeline prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DeliveryPipeline getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DeliveryPipeline> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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