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.Builder
addAllExecutionConfigs(Iterable<? extends ExecutionConfig> values)
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`.Target.Builder
addExecutionConfigs(int index, 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(ExecutionConfig.Builder builderForValue)
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
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.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
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
mergeFrom(Target other)
Target.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Target.Builder
mergeFrom(com.google.protobuf.Message 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 value)
Optional.Target.Builder
setAnthosCluster(AnthosCluster.Builder builderForValue)
Optional.Target.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Target.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.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 value)
Configurations for all execution that relates to this `Target`.Target.Builder
setExecutionConfigs(int index, ExecutionConfig.Builder builderForValue)
Configurations for all execution that relates to this `Target`.Target.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Target.Builder
setGke(GkeCluster value)
Optional.Target.Builder
setGke(GkeCluster.Builder builderForValue)
Optional.Target.Builder
setMultiTarget(MultiTarget value)
Optional.Target.Builder
setMultiTarget(MultiTarget.Builder builderForValue)
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 value)
Optional.Target.Builder
setRun(CloudRunLocation.Builder builderForValue)
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 value)
Output only.Target.Builder
setUpdateTime(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
clear
public Target.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
getDefaultInstanceForType
public Target getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Target build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Target buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Target.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
setField
public Target.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
clearField
public Target.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
clearOneof
public Target.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
setRepeatedField
public Target.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
addRepeatedField
public Target.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
mergeFrom
public Target.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Target.Builder>
-
mergeFrom
public Target.Builder mergeFrom(Target other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Target.Builder>
- Throws:
IOException
-
getDeploymentTargetCase
public Target.DeploymentTargetCase getDeploymentTargetCase()
- Specified by:
getDeploymentTargetCase
in 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:
getName
in 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:
getNameBytes
in 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:
getTargetId
in 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:
getTargetIdBytes
in 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:
getUid
in 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:
getUidBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:TargetOrBuilder
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnnotationsCount
in 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:
containsAnnotations
in interfaceTargetOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in 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:
getAnnotationsMap
in 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:
getAnnotationsOrDefault
in 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:
getAnnotationsOrThrow
in 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:TargetOrBuilder
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in 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:
containsLabels
in interfaceTargetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
getRequireApproval
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasGke
in 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:
getGke
in 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:
getGkeOrBuilder
in 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:
hasAnthosCluster
in 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:
getAnthosCluster
in 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:
getAnthosClusterOrBuilder
in 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:
hasRun
in 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:
getRun
in 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:
getRunOrBuilder
in 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:
hasMultiTarget
in 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:
getMultiTarget
in 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:
getMultiTargetOrBuilder
in 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:
getEtag
in 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:
getEtagBytes
in 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:
getExecutionConfigsList
in 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:
getExecutionConfigsCount
in 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:
getExecutionConfigs
in 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:
getExecutionConfigsOrBuilder
in 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:
getExecutionConfigsOrBuilderList
in 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:TargetOrBuilder
Optional. The deploy parameters to use for this target.
map<string, string> deploy_parameters = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDeployParametersCount
in 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:
containsDeployParameters
in interfaceTargetOrBuilder
-
getDeployParameters
@Deprecated public Map<String,String> getDeployParameters()
Deprecated.UsegetDeployParametersMap()
instead.- Specified by:
getDeployParameters
in 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:
getDeployParametersMap
in 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:
getDeployParametersOrDefault
in 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:
getDeployParametersOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
mergeUnknownFields
public final Target.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Target.Builder>
-
-