Class Target.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Target.Builder>
com.google.cloud.deploy.v1.Target.Builder
All Implemented Interfaces:
TargetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Target

public static final class Target.Builder extends com.google.protobuf.GeneratedMessage.Builder<Target.Builder> implements TargetOrBuilder
 A `Target` resource in the Cloud Deploy API.

 A `Target` defines a location to which a Skaffold configuration
 can be deployed.
 
Protobuf type google.cloud.deploy.v1.Target
  • 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.Builder<Target.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Target.Builder>
    • internalGetFieldAccessorTable

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

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

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

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

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

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

      public Target.Builder mergeFrom(Target other)
    • isInitialized

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

      public Target.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<Target.Builder>
      Throws:
      IOException
    • getDeploymentTargetCase

      public Target.DeploymentTargetCase getDeploymentTargetCase()
      Specified by:
      getDeploymentTargetCase in interface TargetOrBuilder
    • clearDeploymentTarget

      public Target.Builder clearDeploymentTarget()
    • getName

      public String getName()
       Identifier. Name of the `Target`. Format is
       `projects/{project}/locations/{location}/targets/{target}`.
       The `target` 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 TargetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the `Target`. Format is
       `projects/{project}/locations/{location}/targets/{target}`.
       The `target` 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 TargetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Target.Builder setName(String value)
       Identifier. Name of the `Target`. Format is
       `projects/{project}/locations/{location}/targets/{target}`.
       The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Target.Builder clearName()
       Identifier. Name of the `Target`. Format is
       `projects/{project}/locations/{location}/targets/{target}`.
       The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Target.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Name of the `Target`. Format is
       `projects/{project}/locations/{location}/targets/{target}`.
       The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getTargetId

      public String getTargetId()
       Output only. Resource id of the `Target`.
       
      string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetId in interface TargetOrBuilder
      Returns:
      The targetId.
    • getTargetIdBytes

      public com.google.protobuf.ByteString getTargetIdBytes()
       Output only. Resource id of the `Target`.
       
      string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetIdBytes in interface TargetOrBuilder
      Returns:
      The bytes for targetId.
    • setTargetId

      public Target.Builder setTargetId(String value)
       Output only. Resource id of the `Target`.
       
      string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The targetId to set.
      Returns:
      This builder for chaining.
    • clearTargetId

      public Target.Builder clearTargetId()
       Output only. Resource id of the `Target`.
       
      string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTargetIdBytes

      public Target.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
       Output only. Resource id of the `Target`.
       
      string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for targetId to set.
      Returns:
      This builder for chaining.
    • getUid

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

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

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

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

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

      public String getDescription()
       Optional. Description of the `Target`. Max length is 255 characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface TargetOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

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

      public Target.Builder setDescription(String value)
       Optional. Description of the `Target`. Max length is 255 characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Target.Builder clearDescription()
       Optional. Description of the `Target`. Max length is 255 characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Target.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the `Target`. Max length is 255 characters.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: TargetOrBuilder
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface TargetOrBuilder
    • 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. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface TargetOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface TargetOrBuilder
    • 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. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface TargetOrBuilder
    • 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. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface TargetOrBuilder
    • 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. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface TargetOrBuilder
    • clearAnnotations

      public Target.Builder clearAnnotations()
    • removeAnnotations

      public Target.Builder removeAnnotations(String key)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAnnotations

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

      public Target.Builder putAnnotations(String key, String value)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAnnotations

      public Target.Builder putAllAnnotations(Map<String,String> values)
       Optional. User annotations. These attributes can only be set and used by
       the user, and not by Cloud Deploy. See
       https://google.aip.dev/128#annotations for more details such as format and
       size limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: TargetOrBuilder
       Optional. 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface TargetOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface TargetOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface TargetOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface TargetOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface TargetOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface TargetOrBuilder
    • clearLabels

      public Target.Builder clearLabels()
    • removeLabels

      public Target.Builder removeLabels(String key)
       Optional. 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

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

      public Target.Builder putLabels(String key, String value)
       Optional. 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Target.Builder putAllLabels(Map<String,String> values)
       Optional. 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getRequireApproval

      public boolean getRequireApproval()
       Optional. Whether or not the `Target` requires approval.
       
      bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequireApproval in interface TargetOrBuilder
      Returns:
      The requireApproval.
    • setRequireApproval

      public Target.Builder setRequireApproval(boolean value)
       Optional. Whether or not the `Target` requires approval.
       
      bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The requireApproval to set.
      Returns:
      This builder for chaining.
    • clearRequireApproval

      public Target.Builder clearRequireApproval()
       Optional. Whether or not the `Target` requires approval.
       
      bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasCreateTime

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Most recent time at which the `Target` was updated.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface TargetOrBuilder
    • hasGke

      public boolean hasGke()
       Optional. Information specifying a GKE Cluster.
       
      .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGke in interface TargetOrBuilder
      Returns:
      Whether the gke field is set.
    • getGke

      public GkeCluster getGke()
       Optional. Information specifying a GKE Cluster.
       
      .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGke in interface TargetOrBuilder
      Returns:
      The gke.
    • setGke

      public Target.Builder setGke(GkeCluster value)
       Optional. Information specifying a GKE Cluster.
       
      .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
    • setGke

      public Target.Builder setGke(GkeCluster.Builder builderForValue)
       Optional. Information specifying a GKE Cluster.
       
      .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGke

      public Target.Builder mergeGke(GkeCluster value)
       Optional. Information specifying a GKE Cluster.
       
      .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
    • clearGke

      public Target.Builder clearGke()
       Optional. Information specifying a GKE Cluster.
       
      .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getGkeBuilder

      public GkeCluster.Builder getGkeBuilder()
       Optional. Information specifying a GKE Cluster.
       
      .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getGkeOrBuilder

      public GkeClusterOrBuilder getGkeOrBuilder()
       Optional. Information specifying a GKE Cluster.
       
      .google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGkeOrBuilder in interface TargetOrBuilder
    • hasAnthosCluster

      public boolean hasAnthosCluster()
       Optional. Information specifying an Anthos Cluster.
       
      .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAnthosCluster in interface TargetOrBuilder
      Returns:
      Whether the anthosCluster field is set.
    • getAnthosCluster

      public AnthosCluster getAnthosCluster()
       Optional. Information specifying an Anthos Cluster.
       
      .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnthosCluster in interface TargetOrBuilder
      Returns:
      The anthosCluster.
    • setAnthosCluster

      public Target.Builder setAnthosCluster(AnthosCluster value)
       Optional. Information specifying an Anthos Cluster.
       
      .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
    • setAnthosCluster

      public Target.Builder setAnthosCluster(AnthosCluster.Builder builderForValue)
       Optional. Information specifying an Anthos Cluster.
       
      .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAnthosCluster

      public Target.Builder mergeAnthosCluster(AnthosCluster value)
       Optional. Information specifying an Anthos Cluster.
       
      .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
    • clearAnthosCluster

      public Target.Builder clearAnthosCluster()
       Optional. Information specifying an Anthos Cluster.
       
      .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getAnthosClusterBuilder

      public AnthosCluster.Builder getAnthosClusterBuilder()
       Optional. Information specifying an Anthos Cluster.
       
      .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getAnthosClusterOrBuilder

      public AnthosClusterOrBuilder getAnthosClusterOrBuilder()
       Optional. Information specifying an Anthos Cluster.
       
      .google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnthosClusterOrBuilder in interface TargetOrBuilder
    • hasRun

      public boolean hasRun()
       Optional. Information specifying a Cloud Run deployment target.
       
      .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRun in interface TargetOrBuilder
      Returns:
      Whether the run field is set.
    • getRun

      public CloudRunLocation getRun()
       Optional. Information specifying a Cloud Run deployment target.
       
      .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRun in interface TargetOrBuilder
      Returns:
      The run.
    • setRun

      public Target.Builder setRun(CloudRunLocation value)
       Optional. Information specifying a Cloud Run deployment target.
       
      .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
    • setRun

      public Target.Builder setRun(CloudRunLocation.Builder builderForValue)
       Optional. Information specifying a Cloud Run deployment target.
       
      .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
    • mergeRun

      public Target.Builder mergeRun(CloudRunLocation value)
       Optional. Information specifying a Cloud Run deployment target.
       
      .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
    • clearRun

      public Target.Builder clearRun()
       Optional. Information specifying a Cloud Run deployment target.
       
      .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
    • getRunBuilder

      public CloudRunLocation.Builder getRunBuilder()
       Optional. Information specifying a Cloud Run deployment target.
       
      .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
    • getRunOrBuilder

      public CloudRunLocationOrBuilder getRunOrBuilder()
       Optional. Information specifying a Cloud Run deployment target.
       
      .google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRunOrBuilder in interface TargetOrBuilder
    • hasMultiTarget

      public boolean hasMultiTarget()
       Optional. Information specifying a multiTarget.
       
      .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMultiTarget in interface TargetOrBuilder
      Returns:
      Whether the multiTarget field is set.
    • getMultiTarget

      public MultiTarget getMultiTarget()
       Optional. Information specifying a multiTarget.
       
      .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMultiTarget in interface TargetOrBuilder
      Returns:
      The multiTarget.
    • setMultiTarget

      public Target.Builder setMultiTarget(MultiTarget value)
       Optional. Information specifying a multiTarget.
       
      .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
    • setMultiTarget

      public Target.Builder setMultiTarget(MultiTarget.Builder builderForValue)
       Optional. Information specifying a multiTarget.
       
      .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMultiTarget

      public Target.Builder mergeMultiTarget(MultiTarget value)
       Optional. Information specifying a multiTarget.
       
      .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
    • clearMultiTarget

      public Target.Builder clearMultiTarget()
       Optional. Information specifying a multiTarget.
       
      .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
    • getMultiTargetBuilder

      public MultiTarget.Builder getMultiTargetBuilder()
       Optional. Information specifying a multiTarget.
       
      .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
    • getMultiTargetOrBuilder

      public MultiTargetOrBuilder getMultiTargetOrBuilder()
       Optional. Information specifying a multiTarget.
       
      .google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMultiTargetOrBuilder in interface TargetOrBuilder
    • hasCustomTarget

      public boolean hasCustomTarget()
       Optional. Information specifying a Custom Target.
       
      .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCustomTarget in interface TargetOrBuilder
      Returns:
      Whether the customTarget field is set.
    • getCustomTarget

      public CustomTarget getCustomTarget()
       Optional. Information specifying a Custom Target.
       
      .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomTarget in interface TargetOrBuilder
      Returns:
      The customTarget.
    • setCustomTarget

      public Target.Builder setCustomTarget(CustomTarget value)
       Optional. Information specifying a Custom Target.
       
      .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
    • setCustomTarget

      public Target.Builder setCustomTarget(CustomTarget.Builder builderForValue)
       Optional. Information specifying a Custom Target.
       
      .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCustomTarget

      public Target.Builder mergeCustomTarget(CustomTarget value)
       Optional. Information specifying a Custom Target.
       
      .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
    • clearCustomTarget

      public Target.Builder clearCustomTarget()
       Optional. Information specifying a Custom Target.
       
      .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomTargetBuilder

      public CustomTarget.Builder getCustomTargetBuilder()
       Optional. Information specifying a Custom Target.
       
      .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomTargetOrBuilder

      public CustomTargetOrBuilder getCustomTargetOrBuilder()
       Optional. Information specifying a Custom Target.
       
      .google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomTargetOrBuilder in interface TargetOrBuilder
    • getAssociatedEntitiesCount

      public int getAssociatedEntitiesCount()
      Description copied from interface: TargetOrBuilder
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssociatedEntitiesCount in interface TargetOrBuilder
    • containsAssociatedEntities

      public boolean containsAssociatedEntities(String key)
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAssociatedEntities in interface TargetOrBuilder
    • getAssociatedEntities

      @Deprecated public Map<String,AssociatedEntities> getAssociatedEntities()
      Deprecated.
      Specified by:
      getAssociatedEntities in interface TargetOrBuilder
    • getAssociatedEntitiesMap

      public Map<String,AssociatedEntities> getAssociatedEntitiesMap()
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssociatedEntitiesMap in interface TargetOrBuilder
    • getAssociatedEntitiesOrDefault

      public AssociatedEntities getAssociatedEntitiesOrDefault(String key, AssociatedEntities defaultValue)
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssociatedEntitiesOrDefault in interface TargetOrBuilder
    • getAssociatedEntitiesOrThrow

      public AssociatedEntities getAssociatedEntitiesOrThrow(String key)
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssociatedEntitiesOrThrow in interface TargetOrBuilder
    • clearAssociatedEntities

      public Target.Builder clearAssociatedEntities()
    • removeAssociatedEntities

      public Target.Builder removeAssociatedEntities(String key)
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAssociatedEntities

      @Deprecated public Map<String,AssociatedEntities> getMutableAssociatedEntities()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAssociatedEntities

      public Target.Builder putAssociatedEntities(String key, AssociatedEntities value)
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAssociatedEntities

      public Target.Builder putAllAssociatedEntities(Map<String,AssociatedEntities> values)
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
    • putAssociatedEntitiesBuilderIfAbsent

      public AssociatedEntities.Builder putAssociatedEntitiesBuilderIfAbsent(String key)
       Optional. Map of entity IDs to their associated entities. Associated
       entities allows specifying places other than the deployment target for
       specific features. For example, the Gateway API canary can be configured to
       deploy the HTTPRoute to a different cluster(s) than the deployment cluster
       using associated entities. An entity ID must consist of lower-case letters,
       numbers, and hyphens, start with a letter and end with a letter or a
       number, and have a max length of 63 characters. In other words, it must
       match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      map<string, .google.cloud.deploy.v1.AssociatedEntities> associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getEtag

      public String getEtag()
       Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface TargetOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface TargetOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public Target.Builder setEtag(String value)
       Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public Target.Builder clearEtag()
       Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public Target.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Optional. 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 = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getExecutionConfigsList

      public List<ExecutionConfig> getExecutionConfigsList()
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExecutionConfigsList in interface TargetOrBuilder
    • getExecutionConfigsCount

      public int getExecutionConfigsCount()
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExecutionConfigsCount in interface TargetOrBuilder
    • getExecutionConfigs

      public ExecutionConfig getExecutionConfigs(int index)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExecutionConfigs in interface TargetOrBuilder
    • setExecutionConfigs

      public Target.Builder setExecutionConfigs(int index, ExecutionConfig value)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • setExecutionConfigs

      public Target.Builder setExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addExecutionConfigs

      public Target.Builder addExecutionConfigs(ExecutionConfig value)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addExecutionConfigs

      public Target.Builder addExecutionConfigs(int index, ExecutionConfig value)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addExecutionConfigs

      public Target.Builder addExecutionConfigs(ExecutionConfig.Builder builderForValue)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addExecutionConfigs

      public Target.Builder addExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addAllExecutionConfigs

      public Target.Builder addAllExecutionConfigs(Iterable<? extends ExecutionConfig> values)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • clearExecutionConfigs

      public Target.Builder clearExecutionConfigs()
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • removeExecutionConfigs

      public Target.Builder removeExecutionConfigs(int index)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getExecutionConfigsBuilder

      public ExecutionConfig.Builder getExecutionConfigsBuilder(int index)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getExecutionConfigsOrBuilder

      public ExecutionConfigOrBuilder getExecutionConfigsOrBuilder(int index)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExecutionConfigsOrBuilder in interface TargetOrBuilder
    • getExecutionConfigsOrBuilderList

      public List<? extends ExecutionConfigOrBuilder> getExecutionConfigsOrBuilderList()
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExecutionConfigsOrBuilderList in interface TargetOrBuilder
    • addExecutionConfigsBuilder

      public ExecutionConfig.Builder addExecutionConfigsBuilder()
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • addExecutionConfigsBuilder

      public ExecutionConfig.Builder addExecutionConfigsBuilder(int index)
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getExecutionConfigsBuilderList

      public List<ExecutionConfig.Builder> getExecutionConfigsBuilderList()
       Optional. Configurations for all execution that relates to this `Target`.
       Each `ExecutionEnvironmentUsage` value may only be used in a single
       configuration; using the same value multiple times is an error.
       When one or more configurations are specified, they must include the
       `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
       When no configurations are specified, execution will use the default
       specified in `DefaultPool`.
       
      repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getDeployParametersCount

      public int getDeployParametersCount()
      Description copied from interface: TargetOrBuilder
       Optional. The deploy parameters to use for this target.
       
      map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeployParametersCount in interface TargetOrBuilder
    • containsDeployParameters

      public boolean containsDeployParameters(String key)
       Optional. The deploy parameters to use for this target.
       
      map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsDeployParameters in interface TargetOrBuilder
    • getDeployParameters

      @Deprecated public Map<String,String> getDeployParameters()
      Deprecated.
      Specified by:
      getDeployParameters in interface TargetOrBuilder
    • getDeployParametersMap

      public Map<String,String> getDeployParametersMap()
       Optional. The deploy parameters to use for this target.
       
      map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeployParametersMap in interface TargetOrBuilder
    • getDeployParametersOrDefault

      public String getDeployParametersOrDefault(String key, String defaultValue)
       Optional. The deploy parameters to use for this target.
       
      map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeployParametersOrDefault in interface TargetOrBuilder
    • getDeployParametersOrThrow

      public String getDeployParametersOrThrow(String key)
       Optional. The deploy parameters to use for this target.
       
      map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeployParametersOrThrow in interface TargetOrBuilder
    • clearDeployParameters

      public Target.Builder clearDeployParameters()
    • removeDeployParameters

      public Target.Builder removeDeployParameters(String key)
       Optional. The deploy parameters to use for this target.
       
      map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableDeployParameters

      @Deprecated public Map<String,String> getMutableDeployParameters()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDeployParameters

      public Target.Builder putDeployParameters(String key, String value)
       Optional. The deploy parameters to use for this target.
       
      map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
    • putAllDeployParameters

      public Target.Builder putAllDeployParameters(Map<String,String> values)
       Optional. The deploy parameters to use for this target.
       
      map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];