Class Target

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

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

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • TARGET_ID_FIELD_NUMBER

      public static final int TARGET_ID_FIELD_NUMBER
      See Also:
    • UID_FIELD_NUMBER

      public static final int UID_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • ANNOTATIONS_FIELD_NUMBER

      public static final int ANNOTATIONS_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • REQUIRE_APPROVAL_FIELD_NUMBER

      public static final int REQUIRE_APPROVAL_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • GKE_FIELD_NUMBER

      public static final int GKE_FIELD_NUMBER
      See Also:
    • ANTHOS_CLUSTER_FIELD_NUMBER

      public static final int ANTHOS_CLUSTER_FIELD_NUMBER
      See Also:
    • RUN_FIELD_NUMBER

      public static final int RUN_FIELD_NUMBER
      See Also:
    • MULTI_TARGET_FIELD_NUMBER

      public static final int MULTI_TARGET_FIELD_NUMBER
      See Also:
    • CUSTOM_TARGET_FIELD_NUMBER

      public static final int CUSTOM_TARGET_FIELD_NUMBER
      See Also:
    • ASSOCIATED_ENTITIES_FIELD_NUMBER

      public static final int ASSOCIATED_ENTITIES_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
    • EXECUTION_CONFIGS_FIELD_NUMBER

      public static final int EXECUTION_CONFIGS_FIELD_NUMBER
      See Also:
    • DEPLOY_PARAMETERS_FIELD_NUMBER

      public static final int DEPLOY_PARAMETERS_FIELD_NUMBER
      See Also:
  • 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
    • getDeploymentTargetCase

      public Target.DeploymentTargetCase getDeploymentTargetCase()
      Specified by:
      getDeploymentTargetCase in interface TargetOrBuilder
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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 Target parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Target parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

      public static Target parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static Target.Builder newBuilder()
    • newBuilder

      public static Target.Builder newBuilder(Target prototype)
    • toBuilder

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

      protected Target.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Target getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Target> parser()
    • getParserForType

      public com.google.protobuf.Parser<Target> 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 Target getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder