- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class Target.Builder extends GeneratedMessageV3.Builder<Target.Builder> implements TargetOrBuilder
A Target
resource in the Google Cloud Deploy API.
A Target
defines a location to which a Skaffold configuration
can be deployed.
Protobuf type google.cloud.deploy.v1.Target
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Target.BuilderImplements
TargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllExecutionConfigs(Iterable<? extends ExecutionConfig> values)
public Target.Builder addAllExecutionConfigs(Iterable<? extends ExecutionConfig> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.deploy.v1.ExecutionConfig> |
Type | Description |
Target.Builder |
addExecutionConfigs(ExecutionConfig value)
public Target.Builder addExecutionConfigs(ExecutionConfig value)
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;
Name | Description |
value | ExecutionConfig |
Type | Description |
Target.Builder |
addExecutionConfigs(ExecutionConfig.Builder builderForValue)
public Target.Builder addExecutionConfigs(ExecutionConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | ExecutionConfig.Builder |
Type | Description |
Target.Builder |
addExecutionConfigs(int index, ExecutionConfig value)
public Target.Builder addExecutionConfigs(int index, ExecutionConfig value)
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;
Name | Description |
index | int |
value | ExecutionConfig |
Type | Description |
Target.Builder |
addExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)
public Target.Builder addExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | ExecutionConfig.Builder |
Type | Description |
Target.Builder |
addExecutionConfigsBuilder()
public ExecutionConfig.Builder addExecutionConfigsBuilder()
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;
Type | Description |
ExecutionConfig.Builder |
addExecutionConfigsBuilder(int index)
public ExecutionConfig.Builder addExecutionConfigsBuilder(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;
Name | Description |
index | int |
Type | Description |
ExecutionConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Target.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Target.Builder |
build()
public Target build()
Type | Description |
Target |
buildPartial()
public Target buildPartial()
Type | Description |
Target |
clear()
public Target.Builder clear()
Type | Description |
Target.Builder |
clearAnnotations()
public Target.Builder clearAnnotations()
Type | Description |
Target.Builder |
clearAnthosCluster()
public Target.Builder clearAnthosCluster()
Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17;
Type | Description |
Target.Builder |
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];
Type | Description |
Target.Builder |
clearDeploymentTarget()
public Target.Builder clearDeploymentTarget()
Type | Description |
Target.Builder |
clearDescription()
public Target.Builder clearDescription()
Optional. Description of the Target
. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Target.Builder | 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];
Type | Description |
Target.Builder | This builder for chaining. |
clearExecutionConfigs()
public Target.Builder clearExecutionConfigs()
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;
Type | Description |
Target.Builder |
clearField(Descriptors.FieldDescriptor field)
public Target.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Target.Builder |
clearGke()
public Target.Builder clearGke()
Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15;
Type | Description |
Target.Builder |
clearLabels()
public Target.Builder clearLabels()
Type | Description |
Target.Builder |
clearName()
public Target.Builder clearName()
Optional. Name of the Target
. Format is
projects/{project}/locations/{location}/targets/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Target.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Target.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Target.Builder |
clearRequireApproval()
public Target.Builder clearRequireApproval()
Optional. Whether or not the Target
requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Target.Builder | This builder for chaining. |
clearRun()
public Target.Builder clearRun()
Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18;
Type | Description |
Target.Builder |
clearTargetId()
public Target.Builder clearTargetId()
Output only. Resource id of the Target
.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Target.Builder | 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];
Type | Description |
Target.Builder | This builder for chaining. |
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];
Type | Description |
Target.Builder |
clone()
public Target.Builder clone()
Type | Description |
Target.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google 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];
Name | Description |
key | String |
Type | Description |
boolean |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels are attributes that can be set and used by both the user and by Google 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];
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
Optional. User annotations. These attributes can only be set and used by the user, and not by Google 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];
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Optional. User annotations. These attributes can only be set and used by the user, and not by Google 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];
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google 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];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google 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];
Name | Description |
key | String |
Type | Description |
String |
getAnthosCluster()
public AnthosCluster getAnthosCluster()
Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17;
Type | Description |
AnthosCluster | The anthosCluster. |
getAnthosClusterBuilder()
public AnthosCluster.Builder getAnthosClusterBuilder()
Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17;
Type | Description |
AnthosCluster.Builder |
getAnthosClusterOrBuilder()
public AnthosClusterOrBuilder getAnthosClusterOrBuilder()
Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17;
Type | Description |
AnthosClusterOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time at which the Target
was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time at which the Target
was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the Target
was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Target getDefaultInstanceForType()
Type | Description |
Target |
getDeploymentTargetCase()
public Target.DeploymentTargetCase getDeploymentTargetCase()
Type | Description |
Target.DeploymentTargetCase |
getDescription()
public String getDescription()
Optional. Description of the Target
. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the Target
. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
String | The etag. |
getEtagBytes()
public 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];
Type | Description |
ByteString | The bytes for etag. |
getExecutionConfigs(int index)
public 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;
Name | Description |
index | int |
Type | Description |
ExecutionConfig |
getExecutionConfigsBuilder(int index)
public ExecutionConfig.Builder getExecutionConfigsBuilder(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;
Name | Description |
index | int |
Type | Description |
ExecutionConfig.Builder |
getExecutionConfigsBuilderList()
public List<ExecutionConfig.Builder> getExecutionConfigsBuilderList()
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;
Type | Description |
List<Builder> |
getExecutionConfigsCount()
public 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;
Type | Description |
int |
getExecutionConfigsList()
public 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;
Type | Description |
List<ExecutionConfig> |
getExecutionConfigsOrBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
ExecutionConfigOrBuilder |
getExecutionConfigsOrBuilderList()
public 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;
Type | Description |
List<? extends com.google.cloud.deploy.v1.ExecutionConfigOrBuilder> |
getGke()
public GkeCluster getGke()
Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15;
Type | Description |
GkeCluster | The gke. |
getGkeBuilder()
public GkeCluster.Builder getGkeBuilder()
Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15;
Type | Description |
GkeCluster.Builder |
getGkeOrBuilder()
public GkeClusterOrBuilder getGkeOrBuilder()
Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15;
Type | Description |
GkeClusterOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. Labels are attributes that can be set and used by both the user and by Google 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];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels are attributes that can be set and used by both the user and by Google 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];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels are attributes that can be set and used by both the user and by Google 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];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. Labels are attributes that can be set and used by both the user and by Google 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];
Name | Description |
key | String |
Type | Description |
String |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Optional. Name of the Target
. Format is
projects/{project}/locations/{location}/targets/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Optional. Name of the Target
. Format is
projects/{project}/locations/{location}/targets/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for name. |
getRequireApproval()
public boolean getRequireApproval()
Optional. Whether or not the Target
requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | The requireApproval. |
getRun()
public CloudRunLocation getRun()
Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18;
Type | Description |
CloudRunLocation | The run. |
getRunBuilder()
public CloudRunLocation.Builder getRunBuilder()
Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18;
Type | Description |
CloudRunLocation.Builder |
getRunOrBuilder()
public CloudRunLocationOrBuilder getRunOrBuilder()
Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18;
Type | Description |
CloudRunLocationOrBuilder |
getTargetId()
public String getTargetId()
Output only. Resource id of the Target
.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The targetId. |
getTargetIdBytes()
public ByteString getTargetIdBytes()
Output only. Resource id of the Target
.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for targetId. |
getUid()
public String getUid()
Output only. Unique identifier of the Target
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. Unique identifier of the Target
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public 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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
hasAnthosCluster()
public boolean hasAnthosCluster()
Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17;
Type | Description |
boolean | Whether the anthosCluster field is set. |
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];
Type | Description |
boolean | Whether the createTime field is set. |
hasGke()
public boolean hasGke()
Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15;
Type | Description |
boolean | Whether the gke field is set. |
hasRun()
public boolean hasRun()
Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18;
Type | Description |
boolean | Whether the run field is set. |
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAnthosCluster(AnthosCluster value)
public Target.Builder mergeAnthosCluster(AnthosCluster value)
Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17;
Name | Description |
value | AnthosCluster |
Type | Description |
Target.Builder |
mergeCreateTime(Timestamp value)
public Target.Builder mergeCreateTime(Timestamp value)
Output only. Time at which the Target
was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Target.Builder |
mergeFrom(Target other)
public Target.Builder mergeFrom(Target other)
Name | Description |
other | Target |
Type | Description |
Target.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Target.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Target.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Target.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Target.Builder |
mergeGke(GkeCluster value)
public Target.Builder mergeGke(GkeCluster value)
Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15;
Name | Description |
value | GkeCluster |
Type | Description |
Target.Builder |
mergeRun(CloudRunLocation value)
public Target.Builder mergeRun(CloudRunLocation value)
Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18;
Name | Description |
value | CloudRunLocation |
Type | Description |
Target.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Target.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Target.Builder |
mergeUpdateTime(Timestamp value)
public Target.Builder mergeUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
Target.Builder |
putAllAnnotations(Map<String,String> values)
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 Google 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];
Name | Description |
values | Map<String,String> |
Type | Description |
Target.Builder |
putAllLabels(Map<String,String> values)
public Target.Builder putAllLabels(Map<String,String> values)
Optional. Labels are attributes that can be set and used by both the user and by Google 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];
Name | Description |
values | Map<String,String> |
Type | Description |
Target.Builder |
putAnnotations(String key, String value)
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 Google 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];
Name | Description |
key | String |
value | String |
Type | Description |
Target.Builder |
putLabels(String key, String value)
public Target.Builder putLabels(String key, String value)
Optional. Labels are attributes that can be set and used by both the user and by Google 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];
Name | Description |
key | String |
value | String |
Type | Description |
Target.Builder |
removeAnnotations(String key)
public Target.Builder removeAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Google 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];
Name | Description |
key | String |
Type | Description |
Target.Builder |
removeExecutionConfigs(int index)
public Target.Builder removeExecutionConfigs(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;
Name | Description |
index | int |
Type | Description |
Target.Builder |
removeLabels(String key)
public Target.Builder removeLabels(String key)
Optional. Labels are attributes that can be set and used by both the user and by Google 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];
Name | Description |
key | String |
Type | Description |
Target.Builder |
setAnthosCluster(AnthosCluster value)
public Target.Builder setAnthosCluster(AnthosCluster value)
Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17;
Name | Description |
value | AnthosCluster |
Type | Description |
Target.Builder |
setAnthosCluster(AnthosCluster.Builder builderForValue)
public Target.Builder setAnthosCluster(AnthosCluster.Builder builderForValue)
Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17;
Name | Description |
builderForValue | AnthosCluster.Builder |
Type | Description |
Target.Builder |
setCreateTime(Timestamp value)
public Target.Builder setCreateTime(Timestamp value)
Output only. Time at which the Target
was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Target.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Target.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time at which the Target
was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Target.Builder |
setDescription(String value)
public Target.Builder setDescription(String value)
Optional. Description of the Target
. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The description to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Target.Builder setDescriptionBytes(ByteString value)
Optional. Description of the Target
. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setEtag(String value)
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];
Name | Description |
value | String The etag to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Target.Builder setEtagBytes(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];
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setExecutionConfigs(int index, ExecutionConfig value)
public Target.Builder setExecutionConfigs(int index, ExecutionConfig value)
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;
Name | Description |
index | int |
value | ExecutionConfig |
Type | Description |
Target.Builder |
setExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)
public Target.Builder setExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | ExecutionConfig.Builder |
Type | Description |
Target.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Target.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Target.Builder |
setGke(GkeCluster value)
public Target.Builder setGke(GkeCluster value)
Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15;
Name | Description |
value | GkeCluster |
Type | Description |
Target.Builder |
setGke(GkeCluster.Builder builderForValue)
public Target.Builder setGke(GkeCluster.Builder builderForValue)
Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15;
Name | Description |
builderForValue | GkeCluster.Builder |
Type | Description |
Target.Builder |
setName(String value)
public Target.Builder setName(String value)
Optional. Name of the Target
. Format is
projects/{project}/locations/{location}/targets/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The name to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Target.Builder setNameBytes(ByteString value)
Optional. Name of the Target
. Format is
projects/{project}/locations/{location}/targets/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Target.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Target.Builder |
setRequireApproval(boolean value)
public Target.Builder setRequireApproval(boolean value)
Optional. Whether or not the Target
requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | boolean The requireApproval to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setRun(CloudRunLocation value)
public Target.Builder setRun(CloudRunLocation value)
Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18;
Name | Description |
value | CloudRunLocation |
Type | Description |
Target.Builder |
setRun(CloudRunLocation.Builder builderForValue)
public Target.Builder setRun(CloudRunLocation.Builder builderForValue)
Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18;
Name | Description |
builderForValue | CloudRunLocation.Builder |
Type | Description |
Target.Builder |
setTargetId(String value)
public Target.Builder setTargetId(String value)
Output only. Resource id of the Target
.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The targetId to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setTargetIdBytes(ByteString value)
public Target.Builder setTargetIdBytes(ByteString value)
Output only. Resource id of the Target
.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for targetId to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setUid(String value)
public Target.Builder setUid(String value)
Output only. Unique identifier of the Target
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uid to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public Target.Builder setUidBytes(ByteString value)
Output only. Unique identifier of the Target
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
Target.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Target.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Target.Builder |
setUpdateTime(Timestamp value)
public Target.Builder setUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
Target.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Target.Builder setUpdateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
Target.Builder |