public interface TargetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(String key)
Optional.
|
boolean |
containsDeployParameters(String key)
Optional.
|
boolean |
containsLabels(String key)
Optional.
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Optional.
|
Map<String,String> |
getAnnotationsMap()
Optional.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getAnnotationsOrThrow(String key)
Optional.
|
AnthosCluster |
getAnthosCluster()
Optional.
|
AnthosClusterOrBuilder |
getAnthosClusterOrBuilder()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
CustomTarget |
getCustomTarget()
Optional.
|
CustomTargetOrBuilder |
getCustomTargetOrBuilder()
Optional.
|
Target.DeploymentTargetCase |
getDeploymentTargetCase() |
Map<String,String> |
getDeployParameters()
Deprecated.
|
int |
getDeployParametersCount()
Optional.
|
Map<String,String> |
getDeployParametersMap()
Optional.
|
String |
getDeployParametersOrDefault(String key,
String defaultValue)
Optional.
|
String |
getDeployParametersOrThrow(String key)
Optional.
|
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
String |
getEtag()
Optional.
|
com.google.protobuf.ByteString |
getEtagBytes()
Optional.
|
ExecutionConfig |
getExecutionConfigs(int index)
Configurations for all execution that relates to this `Target`.
|
int |
getExecutionConfigsCount()
Configurations for all execution that relates to this `Target`.
|
List<ExecutionConfig> |
getExecutionConfigsList()
Configurations for all execution that relates to this `Target`.
|
ExecutionConfigOrBuilder |
getExecutionConfigsOrBuilder(int index)
Configurations for all execution that relates to this `Target`.
|
List<? extends ExecutionConfigOrBuilder> |
getExecutionConfigsOrBuilderList()
Configurations for all execution that relates to this `Target`.
|
GkeCluster |
getGke()
Optional.
|
GkeClusterOrBuilder |
getGkeOrBuilder()
Optional.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
MultiTarget |
getMultiTarget()
Optional.
|
MultiTargetOrBuilder |
getMultiTargetOrBuilder()
Optional.
|
String |
getName()
Optional.
|
com.google.protobuf.ByteString |
getNameBytes()
Optional.
|
boolean |
getRequireApproval()
Optional.
|
CloudRunLocation |
getRun()
Optional.
|
CloudRunLocationOrBuilder |
getRunOrBuilder()
Optional.
|
String |
getTargetId()
Output only.
|
com.google.protobuf.ByteString |
getTargetIdBytes()
Output only.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasAnthosCluster()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasCustomTarget()
Optional.
|
boolean |
hasGke()
Optional.
|
boolean |
hasMultiTarget()
Optional.
|
boolean |
hasRun()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Optional. Name of the `Target`. Format is
`projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getNameBytes()
Optional. Name of the `Target`. Format is
`projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];String getTargetId()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getTargetIdBytes()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];String getUid()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];String getDescription()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];int getAnnotationsCount()
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];
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];
@Deprecated Map<String,String> getAnnotations()
getAnnotationsMap() instead.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];
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];
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];
int getLabelsCount()
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];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];@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.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];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];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];boolean getRequireApproval()
Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];boolean hasCreateTime()
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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];
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];
boolean hasGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
GkeCluster getGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
GkeClusterOrBuilder getGkeOrBuilder()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
boolean hasAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
AnthosCluster getAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
AnthosClusterOrBuilder getAnthosClusterOrBuilder()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
boolean hasRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
CloudRunLocation getRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
CloudRunLocationOrBuilder getRunOrBuilder()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
boolean hasMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
MultiTarget getMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
MultiTargetOrBuilder getMultiTargetOrBuilder()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
boolean hasCustomTarget()
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
CustomTarget getCustomTarget()
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
CustomTargetOrBuilder getCustomTargetOrBuilder()
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
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];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];List<ExecutionConfig> getExecutionConfigsList()
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;ExecutionConfig getExecutionConfigs(int index)
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;int getExecutionConfigsCount()
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;List<? extends ExecutionConfigOrBuilder> getExecutionConfigsOrBuilderList()
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;ExecutionConfigOrBuilder getExecutionConfigsOrBuilder(int index)
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;int getDeployParametersCount()
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
boolean containsDeployParameters(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated Map<String,String> getDeployParameters()
getDeployParametersMap() instead.Map<String,String> getDeployParametersMap()
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
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];
String getDeployParametersOrThrow(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
Target.DeploymentTargetCase getDeploymentTargetCase()
Copyright © 2024 Google LLC. All rights reserved.