Package com.google.cloud.deploy.v1
Class Target.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
- com.google.cloud.deploy.v1.Target.Builder
-
- All Implemented Interfaces:
TargetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Target
public static final class Target.Builder extends com.google.protobuf.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 typegoogle.cloud.deploy.v1.Target
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Target.BuilderaddAllExecutionConfigs(Iterable<? extends ExecutionConfig> values)Configurations for all execution that relates to this `Target`.Target.BuilderaddExecutionConfigs(int index, ExecutionConfig value)Configurations for all execution that relates to this `Target`.Target.BuilderaddExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)Configurations for all execution that relates to this `Target`.Target.BuilderaddExecutionConfigs(ExecutionConfig value)Configurations for all execution that relates to this `Target`.Target.BuilderaddExecutionConfigs(ExecutionConfig.Builder builderForValue)Configurations for all execution that relates to this `Target`.ExecutionConfig.BuilderaddExecutionConfigsBuilder()Configurations for all execution that relates to this `Target`.ExecutionConfig.BuilderaddExecutionConfigsBuilder(int index)Configurations for all execution that relates to this `Target`.Target.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Targetbuild()TargetbuildPartial()Target.Builderclear()Target.BuilderclearAnnotations()Target.BuilderclearAnthosCluster()Optional.Target.BuilderclearCreateTime()Output only.Target.BuilderclearDeploymentTarget()Target.BuilderclearDeployParameters()Target.BuilderclearDescription()Optional.Target.BuilderclearEtag()Optional.Target.BuilderclearExecutionConfigs()Configurations for all execution that relates to this `Target`.Target.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Target.BuilderclearGke()Optional.Target.BuilderclearLabels()Target.BuilderclearMultiTarget()Optional.Target.BuilderclearName()Optional.Target.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Target.BuilderclearRequireApproval()Optional.Target.BuilderclearRun()Optional.Target.BuilderclearTargetId()Output only.Target.BuilderclearUid()Output only.Target.BuilderclearUpdateTime()Output only.Target.Builderclone()booleancontainsAnnotations(String key)Optional.booleancontainsDeployParameters(String key)Optional.booleancontainsLabels(String key)Optional.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Optional.Map<String,String>getAnnotationsMap()Optional.StringgetAnnotationsOrDefault(String key, String defaultValue)Optional.StringgetAnnotationsOrThrow(String key)Optional.AnthosClustergetAnthosCluster()Optional.AnthosCluster.BuildergetAnthosClusterBuilder()Optional.AnthosClusterOrBuildergetAnthosClusterOrBuilder()Optional.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.TargetgetDefaultInstanceForType()Target.DeploymentTargetCasegetDeploymentTargetCase()Map<String,String>getDeployParameters()Deprecated.intgetDeployParametersCount()Optional.Map<String,String>getDeployParametersMap()Optional.StringgetDeployParametersOrDefault(String key, String defaultValue)Optional.StringgetDeployParametersOrThrow(String key)Optional.StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEtag()Optional.com.google.protobuf.ByteStringgetEtagBytes()Optional.ExecutionConfiggetExecutionConfigs(int index)Configurations for all execution that relates to this `Target`.ExecutionConfig.BuildergetExecutionConfigsBuilder(int index)Configurations for all execution that relates to this `Target`.List<ExecutionConfig.Builder>getExecutionConfigsBuilderList()Configurations for all execution that relates to this `Target`.intgetExecutionConfigsCount()Configurations for all execution that relates to this `Target`.List<ExecutionConfig>getExecutionConfigsList()Configurations for all execution that relates to this `Target`.ExecutionConfigOrBuildergetExecutionConfigsOrBuilder(int index)Configurations for all execution that relates to this `Target`.List<? extends ExecutionConfigOrBuilder>getExecutionConfigsOrBuilderList()Configurations for all execution that relates to this `Target`.GkeClustergetGke()Optional.GkeCluster.BuildergetGkeBuilder()Optional.GkeClusterOrBuildergetGkeOrBuilder()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.MultiTargetgetMultiTarget()Optional.MultiTarget.BuildergetMultiTargetBuilder()Optional.MultiTargetOrBuildergetMultiTargetOrBuilder()Optional.Map<String,String>getMutableAnnotations()Deprecated.Map<String,String>getMutableDeployParameters()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetName()Optional.com.google.protobuf.ByteStringgetNameBytes()Optional.booleangetRequireApproval()Optional.CloudRunLocationgetRun()Optional.CloudRunLocation.BuildergetRunBuilder()Optional.CloudRunLocationOrBuildergetRunOrBuilder()Optional.StringgetTargetId()Output only.com.google.protobuf.ByteStringgetTargetIdBytes()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAnthosCluster()Optional.booleanhasCreateTime()Output only.booleanhasGke()Optional.booleanhasMultiTarget()Optional.booleanhasRun()Optional.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Target.BuildermergeAnthosCluster(AnthosCluster value)Optional.Target.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Target.BuildermergeFrom(Target other)Target.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Target.BuildermergeFrom(com.google.protobuf.Message other)Target.BuildermergeGke(GkeCluster value)Optional.Target.BuildermergeMultiTarget(MultiTarget value)Optional.Target.BuildermergeRun(CloudRunLocation value)Optional.Target.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Target.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Target.BuilderputAllAnnotations(Map<String,String> values)Optional.Target.BuilderputAllDeployParameters(Map<String,String> values)Optional.Target.BuilderputAllLabels(Map<String,String> values)Optional.Target.BuilderputAnnotations(String key, String value)Optional.Target.BuilderputDeployParameters(String key, String value)Optional.Target.BuilderputLabels(String key, String value)Optional.Target.BuilderremoveAnnotations(String key)Optional.Target.BuilderremoveDeployParameters(String key)Optional.Target.BuilderremoveExecutionConfigs(int index)Configurations for all execution that relates to this `Target`.Target.BuilderremoveLabels(String key)Optional.Target.BuildersetAnthosCluster(AnthosCluster value)Optional.Target.BuildersetAnthosCluster(AnthosCluster.Builder builderForValue)Optional.Target.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Target.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Target.BuildersetDescription(String value)Optional.Target.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Optional.Target.BuildersetEtag(String value)Optional.Target.BuildersetEtagBytes(com.google.protobuf.ByteString value)Optional.Target.BuildersetExecutionConfigs(int index, ExecutionConfig value)Configurations for all execution that relates to this `Target`.Target.BuildersetExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)Configurations for all execution that relates to this `Target`.Target.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Target.BuildersetGke(GkeCluster value)Optional.Target.BuildersetGke(GkeCluster.Builder builderForValue)Optional.Target.BuildersetMultiTarget(MultiTarget value)Optional.Target.BuildersetMultiTarget(MultiTarget.Builder builderForValue)Optional.Target.BuildersetName(String value)Optional.Target.BuildersetNameBytes(com.google.protobuf.ByteString value)Optional.Target.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Target.BuildersetRequireApproval(boolean value)Optional.Target.BuildersetRun(CloudRunLocation value)Optional.Target.BuildersetRun(CloudRunLocation.Builder builderForValue)Optional.Target.BuildersetTargetId(String value)Output only.Target.BuildersetTargetIdBytes(com.google.protobuf.ByteString value)Output only.Target.BuildersetUid(String value)Output only.Target.BuildersetUidBytes(com.google.protobuf.ByteString value)Output only.Target.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Target.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Target.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
clear
public Target.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
getDefaultInstanceForType
public Target getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Target build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Target buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Target.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
setField
public Target.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
clearField
public Target.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
clearOneof
public Target.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
setRepeatedField
public Target.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
addRepeatedField
public Target.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
mergeFrom
public Target.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Target.Builder>
-
mergeFrom
public Target.Builder mergeFrom(Target other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
mergeFrom
public Target.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Target.Builder>- Throws:
IOException
-
getDeploymentTargetCase
public Target.DeploymentTargetCase getDeploymentTargetCase()
- Specified by:
getDeploymentTargetCasein interfaceTargetOrBuilder
-
clearDeploymentTarget
public Target.Builder clearDeploymentTarget()
-
getName
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];- Specified by:
getNamein interfaceTargetOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceTargetOrBuilder- Returns:
- The bytes for name.
-
setName
public 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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getTargetId
public String getTargetId()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetIdin interfaceTargetOrBuilder- Returns:
- The targetId.
-
getTargetIdBytes
public com.google.protobuf.ByteString getTargetIdBytes()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetIdBytesin interfaceTargetOrBuilder- Returns:
- The bytes for targetId.
-
setTargetId
public Target.Builder setTargetId(String value)
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The targetId to set.- Returns:
- This builder for chaining.
-
clearTargetId
public Target.Builder clearTargetId()
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTargetIdBytes
public Target.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
Output only. Resource id of the `Target`.
string target_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for targetId to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceTargetOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceTargetOrBuilder- Returns:
- The bytes for uid.
-
setUid
public Target.Builder setUid(String value)
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Target.Builder clearUid()
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
public Target.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Unique identifier of the `Target`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceTargetOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceTargetOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Target.Builder setDescription(String value)
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Target.Builder clearDescription()
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Target.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the `Target`. Max length is 255 characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface: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];- Specified by:
getAnnotationsCountin interfaceTargetOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceTargetOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceTargetOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceTargetOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceTargetOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceTargetOrBuilder
-
clearAnnotations
public Target.Builder clearAnnotations()
-
removeAnnotations
public Target.Builder removeAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public Target.Builder putAnnotations(String key, String value)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
-
putAllAnnotations
public Target.Builder putAllAnnotations(Map<String,String> values)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsCount
public int getLabelsCount()
Description copied from interface: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];- Specified by:
getLabelsCountin interfaceTargetOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceTargetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTargetOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceTargetOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceTargetOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceTargetOrBuilder
-
clearLabels
public Target.Builder clearLabels()
-
removeLabels
public Target.Builder removeLabels(String key)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Target.Builder putLabels(String key, String value)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public Target.Builder putAllLabels(Map<String,String> values)
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getRequireApproval
public boolean getRequireApproval()
Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequireApprovalin interfaceTargetOrBuilder- Returns:
- The requireApproval.
-
setRequireApproval
public Target.Builder setRequireApproval(boolean value)
Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The requireApproval to set.- Returns:
- This builder for chaining.
-
clearRequireApproval
public Target.Builder clearRequireApproval()
Optional. Whether or not the `Target` requires approval.
bool require_approval = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceTargetOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceTargetOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Target.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Target.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Target.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Target.Builder clearCreateTime()
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the `Target` was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceTargetOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTargetOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTargetOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Target.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Target.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Target.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Target.Builder clearUpdateTime()
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Most recent time at which the `Target` was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTargetOrBuilder
-
hasGke
public boolean hasGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGkein interfaceTargetOrBuilder- Returns:
- Whether the gke field is set.
-
getGke
public GkeCluster getGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGkein interfaceTargetOrBuilder- Returns:
- The gke.
-
setGke
public Target.Builder setGke(GkeCluster value)
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
-
setGke
public Target.Builder setGke(GkeCluster.Builder builderForValue)
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
-
mergeGke
public Target.Builder mergeGke(GkeCluster value)
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
-
clearGke
public Target.Builder clearGke()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
-
getGkeBuilder
public GkeCluster.Builder getGkeBuilder()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];
-
getGkeOrBuilder
public GkeClusterOrBuilder getGkeOrBuilder()
Optional. Information specifying a GKE Cluster.
.google.cloud.deploy.v1.GkeCluster gke = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGkeOrBuilderin interfaceTargetOrBuilder
-
hasAnthosCluster
public boolean hasAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAnthosClusterin interfaceTargetOrBuilder- Returns:
- Whether the anthosCluster field is set.
-
getAnthosCluster
public AnthosCluster getAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnthosClusterin interfaceTargetOrBuilder- Returns:
- The anthosCluster.
-
setAnthosCluster
public Target.Builder setAnthosCluster(AnthosCluster value)
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
-
setAnthosCluster
public Target.Builder setAnthosCluster(AnthosCluster.Builder builderForValue)
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
-
mergeAnthosCluster
public Target.Builder mergeAnthosCluster(AnthosCluster value)
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
-
clearAnthosCluster
public Target.Builder clearAnthosCluster()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
-
getAnthosClusterBuilder
public AnthosCluster.Builder getAnthosClusterBuilder()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];
-
getAnthosClusterOrBuilder
public AnthosClusterOrBuilder getAnthosClusterOrBuilder()
Optional. Information specifying an Anthos Cluster.
.google.cloud.deploy.v1.AnthosCluster anthos_cluster = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnthosClusterOrBuilderin interfaceTargetOrBuilder
-
hasRun
public boolean hasRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRunin interfaceTargetOrBuilder- Returns:
- Whether the run field is set.
-
getRun
public CloudRunLocation getRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunin interfaceTargetOrBuilder- Returns:
- The run.
-
setRun
public Target.Builder setRun(CloudRunLocation value)
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
-
setRun
public Target.Builder setRun(CloudRunLocation.Builder builderForValue)
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
-
mergeRun
public Target.Builder mergeRun(CloudRunLocation value)
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
-
clearRun
public Target.Builder clearRun()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
-
getRunBuilder
public CloudRunLocation.Builder getRunBuilder()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];
-
getRunOrBuilder
public CloudRunLocationOrBuilder getRunOrBuilder()
Optional. Information specifying a Cloud Run deployment target.
.google.cloud.deploy.v1.CloudRunLocation run = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunOrBuilderin interfaceTargetOrBuilder
-
hasMultiTarget
public boolean hasMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMultiTargetin interfaceTargetOrBuilder- Returns:
- Whether the multiTarget field is set.
-
getMultiTarget
public MultiTarget getMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMultiTargetin interfaceTargetOrBuilder- Returns:
- The multiTarget.
-
setMultiTarget
public Target.Builder setMultiTarget(MultiTarget value)
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
-
setMultiTarget
public Target.Builder setMultiTarget(MultiTarget.Builder builderForValue)
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
-
mergeMultiTarget
public Target.Builder mergeMultiTarget(MultiTarget value)
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
-
clearMultiTarget
public Target.Builder clearMultiTarget()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getMultiTargetBuilder
public MultiTarget.Builder getMultiTargetBuilder()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getMultiTargetOrBuilder
public MultiTargetOrBuilder getMultiTargetOrBuilder()
Optional. Information specifying a multiTarget.
.google.cloud.deploy.v1.MultiTarget multi_target = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMultiTargetOrBuilderin interfaceTargetOrBuilder
-
getEtag
public String getEtag()
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceTargetOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceTargetOrBuilder- Returns:
- The bytes for etag.
-
setEtag
public Target.Builder setEtag(String value)
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Target.Builder clearEtag()
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setEtagBytes
public Target.Builder setEtagBytes(com.google.protobuf.ByteString value)
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getExecutionConfigsList
public List<ExecutionConfig> getExecutionConfigsList()
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;- Specified by:
getExecutionConfigsListin interfaceTargetOrBuilder
-
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;- Specified by:
getExecutionConfigsCountin interfaceTargetOrBuilder
-
getExecutionConfigs
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;- Specified by:
getExecutionConfigsin interfaceTargetOrBuilder
-
setExecutionConfigs
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;
-
setExecutionConfigs
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;
-
addExecutionConfigs
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;
-
addExecutionConfigs
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;
-
addExecutionConfigs
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;
-
addExecutionConfigs
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;
-
addAllExecutionConfigs
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;
-
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;
-
removeExecutionConfigs
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;
-
getExecutionConfigsBuilder
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;
-
getExecutionConfigsOrBuilder
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;- Specified by:
getExecutionConfigsOrBuilderin interfaceTargetOrBuilder
-
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;- Specified by:
getExecutionConfigsOrBuilderListin interfaceTargetOrBuilder
-
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;
-
addExecutionConfigsBuilder
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;
-
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;
-
getDeployParametersCount
public int getDeployParametersCount()
Description copied from interface:TargetOrBuilderOptional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersCountin interfaceTargetOrBuilder
-
containsDeployParameters
public boolean containsDeployParameters(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsDeployParametersin interfaceTargetOrBuilder
-
getDeployParameters
@Deprecated public Map<String,String> getDeployParameters()
Deprecated.UsegetDeployParametersMap()instead.- Specified by:
getDeployParametersin interfaceTargetOrBuilder
-
getDeployParametersMap
public Map<String,String> getDeployParametersMap()
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersMapin interfaceTargetOrBuilder
-
getDeployParametersOrDefault
public String getDeployParametersOrDefault(String key, String defaultValue)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersOrDefaultin interfaceTargetOrBuilder
-
getDeployParametersOrThrow
public String getDeployParametersOrThrow(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersOrThrowin interfaceTargetOrBuilder
-
clearDeployParameters
public Target.Builder clearDeployParameters()
-
removeDeployParameters
public Target.Builder removeDeployParameters(String key)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableDeployParameters
@Deprecated public Map<String,String> getMutableDeployParameters()
Deprecated.Use alternate mutation accessors instead.
-
putDeployParameters
public Target.Builder putDeployParameters(String key, String value)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
-
putAllDeployParameters
public Target.Builder putAllDeployParameters(Map<String,String> values)
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
-
setUnknownFields
public final Target.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
mergeUnknownFields
public final Target.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
-