public static final class Target.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder> implements TargetOrBuilder
A `Target` resource in the Cloud Deploy API. A `Target` defines a location to which a Skaffold configuration can be deployed.Protobuf type
google.cloud.deploy.v1.Target| Modifier and Type | Method and Description |
|---|---|
Target.Builder |
addAllExecutionConfigs(Iterable<? extends ExecutionConfig> values)
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
addExecutionConfigs(ExecutionConfig.Builder builderForValue)
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
addExecutionConfigs(ExecutionConfig value)
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
addExecutionConfigs(int index,
ExecutionConfig.Builder builderForValue)
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
addExecutionConfigs(int index,
ExecutionConfig value)
Configurations for all execution that relates to this `Target`.
|
ExecutionConfig.Builder |
addExecutionConfigsBuilder()
Configurations for all execution that relates to this `Target`.
|
ExecutionConfig.Builder |
addExecutionConfigsBuilder(int index)
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Target |
build() |
Target |
buildPartial() |
Target.Builder |
clear() |
Target.Builder |
clearAnnotations() |
Target.Builder |
clearAnthosCluster()
Optional.
|
Target.Builder |
clearCreateTime()
Output only.
|
Target.Builder |
clearCustomTarget()
Optional.
|
Target.Builder |
clearDeploymentTarget() |
Target.Builder |
clearDeployParameters() |
Target.Builder |
clearDescription()
Optional.
|
Target.Builder |
clearEtag()
Optional.
|
Target.Builder |
clearExecutionConfigs()
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Target.Builder |
clearGke()
Optional.
|
Target.Builder |
clearLabels() |
Target.Builder |
clearMultiTarget()
Optional.
|
Target.Builder |
clearName()
Optional.
|
Target.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Target.Builder |
clearRequireApproval()
Optional.
|
Target.Builder |
clearRun()
Optional.
|
Target.Builder |
clearTargetId()
Output only.
|
Target.Builder |
clearUid()
Output only.
|
Target.Builder |
clearUpdateTime()
Output only.
|
Target.Builder |
clone() |
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.
|
AnthosCluster.Builder |
getAnthosClusterBuilder()
Optional.
|
AnthosClusterOrBuilder |
getAnthosClusterOrBuilder()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
CustomTarget |
getCustomTarget()
Optional.
|
CustomTarget.Builder |
getCustomTargetBuilder()
Optional.
|
CustomTargetOrBuilder |
getCustomTargetOrBuilder()
Optional.
|
Target |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEtag()
Optional.
|
com.google.protobuf.ByteString |
getEtagBytes()
Optional.
|
ExecutionConfig |
getExecutionConfigs(int index)
Configurations for all execution that relates to this `Target`.
|
ExecutionConfig.Builder |
getExecutionConfigsBuilder(int index)
Configurations for all execution that relates to this `Target`.
|
List<ExecutionConfig.Builder> |
getExecutionConfigsBuilderList()
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.
|
GkeCluster.Builder |
getGkeBuilder()
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.
|
MultiTarget.Builder |
getMultiTargetBuilder()
Optional.
|
MultiTargetOrBuilder |
getMultiTargetOrBuilder()
Optional.
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
Map<String,String> |
getMutableDeployParameters()
Deprecated.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Optional.
|
com.google.protobuf.ByteString |
getNameBytes()
Optional.
|
boolean |
getRequireApproval()
Optional.
|
CloudRunLocation |
getRun()
Optional.
|
CloudRunLocation.Builder |
getRunBuilder()
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.Timestamp.Builder |
getUpdateTimeBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Target.Builder |
mergeAnthosCluster(AnthosCluster value)
Optional.
|
Target.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Target.Builder |
mergeCustomTarget(CustomTarget value)
Optional.
|
Target.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Target.Builder |
mergeFrom(com.google.protobuf.Message other) |
Target.Builder |
mergeFrom(Target other) |
Target.Builder |
mergeGke(GkeCluster value)
Optional.
|
Target.Builder |
mergeMultiTarget(MultiTarget value)
Optional.
|
Target.Builder |
mergeRun(CloudRunLocation value)
Optional.
|
Target.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Target.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Target.Builder |
putAllAnnotations(Map<String,String> values)
Optional.
|
Target.Builder |
putAllDeployParameters(Map<String,String> values)
Optional.
|
Target.Builder |
putAllLabels(Map<String,String> values)
Optional.
|
Target.Builder |
putAnnotations(String key,
String value)
Optional.
|
Target.Builder |
putDeployParameters(String key,
String value)
Optional.
|
Target.Builder |
putLabels(String key,
String value)
Optional.
|
Target.Builder |
removeAnnotations(String key)
Optional.
|
Target.Builder |
removeDeployParameters(String key)
Optional.
|
Target.Builder |
removeExecutionConfigs(int index)
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
removeLabels(String key)
Optional.
|
Target.Builder |
setAnthosCluster(AnthosCluster.Builder builderForValue)
Optional.
|
Target.Builder |
setAnthosCluster(AnthosCluster value)
Optional.
|
Target.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Target.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Target.Builder |
setCustomTarget(CustomTarget.Builder builderForValue)
Optional.
|
Target.Builder |
setCustomTarget(CustomTarget value)
Optional.
|
Target.Builder |
setDescription(String value)
Optional.
|
Target.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.
|
Target.Builder |
setEtag(String value)
Optional.
|
Target.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Optional.
|
Target.Builder |
setExecutionConfigs(int index,
ExecutionConfig.Builder builderForValue)
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
setExecutionConfigs(int index,
ExecutionConfig value)
Configurations for all execution that relates to this `Target`.
|
Target.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Target.Builder |
setGke(GkeCluster.Builder builderForValue)
Optional.
|
Target.Builder |
setGke(GkeCluster value)
Optional.
|
Target.Builder |
setMultiTarget(MultiTarget.Builder builderForValue)
Optional.
|
Target.Builder |
setMultiTarget(MultiTarget value)
Optional.
|
Target.Builder |
setName(String value)
Optional.
|
Target.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Optional.
|
Target.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Target.Builder |
setRequireApproval(boolean value)
Optional.
|
Target.Builder |
setRun(CloudRunLocation.Builder builderForValue)
Optional.
|
Target.Builder |
setRun(CloudRunLocation value)
Optional.
|
Target.Builder |
setTargetId(String value)
Output only.
|
Target.Builder |
setTargetIdBytes(com.google.protobuf.ByteString value)
Output only.
|
Target.Builder |
setUid(String value)
Output only.
|
Target.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
Target.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Target.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Target.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Target build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Target buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Target.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Target.Builder>public Target.Builder mergeFrom(Target other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public Target.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Target.Builder>IOExceptionpublic Target.DeploymentTargetCase getDeploymentTargetCase()
getDeploymentTargetCase in interface TargetOrBuilderpublic Target.Builder clearDeploymentTarget()
public String 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];getName in interface TargetOrBuilderpublic 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];getNameBytes in interface TargetOrBuilderpublic Target.Builder setName(String value)
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];value - The name to set.public Target.Builder clearName()
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];public Target.Builder setNameBytes(com.google.protobuf.ByteString value)
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];value - The bytes for name to set.public String getTargetId()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getTargetId in interface TargetOrBuilderpublic com.google.protobuf.ByteString getTargetIdBytes()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getTargetIdBytes in interface TargetOrBuilderpublic Target.Builder setTargetId(String value)
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The targetId to set.public Target.Builder clearTargetId()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public Target.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for targetId to set.public String getUid()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface TargetOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface TargetOrBuilderpublic Target.Builder setUid(String value)
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public Target.Builder clearUid()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public Target.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.public String getDescription()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface TargetOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface TargetOrBuilderpublic Target.Builder setDescription(String value)
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public Target.Builder clearDescription()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];public Target.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.public int getAnnotationsCount()
TargetOrBuilderOptional. 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];
getAnnotationsCount in interface TargetOrBuilderpublic 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];
containsAnnotations in interface TargetOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface TargetOrBuilderpublic 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];
getAnnotationsMap in interface TargetOrBuilderpublic 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];
getAnnotationsOrDefault in interface TargetOrBuilderpublic 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];
getAnnotationsOrThrow in interface TargetOrBuilderpublic Target.Builder clearAnnotations()
public Target.Builder removeAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableAnnotations()
public Target.Builder putAnnotations(String key, String value)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder putAllAnnotations(Map<String,String> values)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
public int getLabelsCount()
TargetOrBuilderOptional. 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];getLabelsCount in interface TargetOrBuilderpublic 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];containsLabels in interface TargetOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface TargetOrBuilderpublic 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];getLabelsMap in interface TargetOrBuilderpublic 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];getLabelsOrDefault in interface TargetOrBuilderpublic 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];getLabelsOrThrow in interface TargetOrBuilderpublic Target.Builder clearLabels()
public Target.Builder removeLabels(String key)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];@Deprecated public Map<String,String> getMutableLabels()
public Target.Builder putLabels(String key, String value)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];public Target.Builder putAllLabels(Map<String,String> values)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];public boolean getRequireApproval()
Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];getRequireApproval in interface TargetOrBuilderpublic Target.Builder setRequireApproval(boolean value)
Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];value - The requireApproval to set.public Target.Builder clearRequireApproval()
Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];public boolean hasCreateTime()
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface TargetOrBuilderpublic 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];
getCreateTime in interface TargetOrBuilderpublic Target.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Target.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Target.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
getCreateTimeOrBuilder in interface TargetOrBuilderpublic 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];
hasUpdateTime in interface TargetOrBuilderpublic 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];
getUpdateTime in interface TargetOrBuilderpublic Target.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Target.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Target.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
getUpdateTimeOrBuilder in interface TargetOrBuilderpublic boolean hasGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
hasGke in interface TargetOrBuilderpublic GkeCluster getGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
getGke in interface TargetOrBuilderpublic Target.Builder setGke(GkeCluster value)
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder setGke(GkeCluster.Builder builderForValue)
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder mergeGke(GkeCluster value)
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder clearGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
public GkeCluster.Builder getGkeBuilder()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
public GkeClusterOrBuilder getGkeOrBuilder()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
getGkeOrBuilder in interface TargetOrBuilderpublic boolean hasAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
hasAnthosCluster in interface TargetOrBuilderpublic AnthosCluster getAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
getAnthosCluster in interface TargetOrBuilderpublic Target.Builder setAnthosCluster(AnthosCluster value)
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder setAnthosCluster(AnthosCluster.Builder builderForValue)
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder mergeAnthosCluster(AnthosCluster value)
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder clearAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
public AnthosCluster.Builder getAnthosClusterBuilder()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
public AnthosClusterOrBuilder getAnthosClusterOrBuilder()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
getAnthosClusterOrBuilder in interface TargetOrBuilderpublic boolean hasRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
hasRun in interface TargetOrBuilderpublic CloudRunLocation getRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
getRun in interface TargetOrBuilderpublic Target.Builder setRun(CloudRunLocation value)
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder setRun(CloudRunLocation.Builder builderForValue)
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder mergeRun(CloudRunLocation value)
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder clearRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
public CloudRunLocation.Builder getRunBuilder()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
public CloudRunLocationOrBuilder getRunOrBuilder()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
getRunOrBuilder in interface TargetOrBuilderpublic boolean hasMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
hasMultiTarget in interface TargetOrBuilderpublic MultiTarget getMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
getMultiTarget in interface TargetOrBuilderpublic Target.Builder setMultiTarget(MultiTarget value)
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder setMultiTarget(MultiTarget.Builder builderForValue)
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder mergeMultiTarget(MultiTarget value)
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder clearMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
public MultiTarget.Builder getMultiTargetBuilder()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
public MultiTargetOrBuilder getMultiTargetOrBuilder()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
getMultiTargetOrBuilder in interface TargetOrBuilderpublic boolean hasCustomTarget()
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
hasCustomTarget in interface TargetOrBuilderpublic CustomTarget getCustomTarget()
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
getCustomTarget in interface TargetOrBuilderpublic Target.Builder setCustomTarget(CustomTarget value)
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder setCustomTarget(CustomTarget.Builder builderForValue)
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder mergeCustomTarget(CustomTarget value)
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder clearCustomTarget()
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
public CustomTarget.Builder getCustomTargetBuilder()
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
public CustomTargetOrBuilder getCustomTargetOrBuilder()
Optional. Information specifying a Custom Target.
.google.cloud.deploy.v1.CustomTarget custom_target = 21 [(.google.api.field_behavior) = OPTIONAL];
getCustomTargetOrBuilder in interface TargetOrBuilderpublic 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];getEtag in interface TargetOrBuilderpublic 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];getEtagBytes in interface TargetOrBuilderpublic 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];value - The etag to set.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];public Target.Builder setEtagBytes(com.google.protobuf.ByteString value)
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for etag to set.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;getExecutionConfigsList in interface TargetOrBuilderpublic 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;getExecutionConfigsCount in interface TargetOrBuilderpublic 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;getExecutionConfigs in interface TargetOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getExecutionConfigsOrBuilder in interface TargetOrBuilderpublic 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;getExecutionConfigsOrBuilderList in interface TargetOrBuilderpublic 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;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;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;public int getDeployParametersCount()
TargetOrBuilderOptional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
getDeployParametersCount in interface TargetOrBuilderpublic boolean containsDeployParameters(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
containsDeployParameters in interface TargetOrBuilder@Deprecated public Map<String,String> getDeployParameters()
getDeployParametersMap() instead.getDeployParameters in interface TargetOrBuilderpublic Map<String,String> getDeployParametersMap()
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
getDeployParametersMap in interface TargetOrBuilderpublic 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];
getDeployParametersOrDefault in interface TargetOrBuilderpublic String getDeployParametersOrThrow(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
getDeployParametersOrThrow in interface TargetOrBuilderpublic Target.Builder clearDeployParameters()
public Target.Builder removeDeployParameters(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableDeployParameters()
public Target.Builder putDeployParameters(String key, String value)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
public Target.Builder putAllDeployParameters(Map<String,String> values)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
public final Target.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>public final Target.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>Copyright © 2024 Google LLC. All rights reserved.