public static final class Automation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder> implements AutomationOrBuilder
An `Automation` resource in the Cloud Deploy API. An `Automation` enables the automation of manually driven actions for a Delivery Pipeline, which includes Release promotion among Targets, Rollout repair and Rollout deployment strategy advancement. The intention of Automation is to reduce manual intervention in the continuous delivery process.Protobuf type
google.cloud.deploy.v1.Automation| Modifier and Type | Method and Description |
|---|---|
Automation.Builder |
addAllRules(Iterable<? extends AutomationRule> values)
Required.
|
Automation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Automation.Builder |
addRules(AutomationRule.Builder builderForValue)
Required.
|
Automation.Builder |
addRules(AutomationRule value)
Required.
|
Automation.Builder |
addRules(int index,
AutomationRule.Builder builderForValue)
Required.
|
Automation.Builder |
addRules(int index,
AutomationRule value)
Required.
|
AutomationRule.Builder |
addRulesBuilder()
Required.
|
AutomationRule.Builder |
addRulesBuilder(int index)
Required.
|
Automation |
build() |
Automation |
buildPartial() |
Automation.Builder |
clear() |
Automation.Builder |
clearAnnotations() |
Automation.Builder |
clearCreateTime()
Output only.
|
Automation.Builder |
clearDescription()
Optional.
|
Automation.Builder |
clearEtag()
Optional.
|
Automation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Automation.Builder |
clearLabels() |
Automation.Builder |
clearName()
Output only.
|
Automation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Automation.Builder |
clearRules()
Required.
|
Automation.Builder |
clearSelector()
Required.
|
Automation.Builder |
clearServiceAccount()
Required.
|
Automation.Builder |
clearSuspended()
Optional.
|
Automation.Builder |
clearUid()
Output only.
|
Automation.Builder |
clearUpdateTime()
Output only.
|
Automation.Builder |
clone() |
boolean |
containsAnnotations(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.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Automation |
getDefaultInstanceForType() |
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.
|
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.
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
AutomationRule |
getRules(int index)
Required.
|
AutomationRule.Builder |
getRulesBuilder(int index)
Required.
|
List<AutomationRule.Builder> |
getRulesBuilderList()
Required.
|
int |
getRulesCount()
Required.
|
List<AutomationRule> |
getRulesList()
Required.
|
AutomationRuleOrBuilder |
getRulesOrBuilder(int index)
Required.
|
List<? extends AutomationRuleOrBuilder> |
getRulesOrBuilderList()
Required.
|
AutomationResourceSelector |
getSelector()
Required.
|
AutomationResourceSelector.Builder |
getSelectorBuilder()
Required.
|
AutomationResourceSelectorOrBuilder |
getSelectorOrBuilder()
Required.
|
String |
getServiceAccount()
Required.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Required.
|
boolean |
getSuspended()
Optional.
|
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 |
hasCreateTime()
Output only.
|
boolean |
hasSelector()
Required.
|
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() |
Automation.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Automation.Builder |
mergeFrom(Automation other) |
Automation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Automation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Automation.Builder |
mergeSelector(AutomationResourceSelector value)
Required.
|
Automation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Automation.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Automation.Builder |
putAllAnnotations(Map<String,String> values)
Optional.
|
Automation.Builder |
putAllLabels(Map<String,String> values)
Optional.
|
Automation.Builder |
putAnnotations(String key,
String value)
Optional.
|
Automation.Builder |
putLabels(String key,
String value)
Optional.
|
Automation.Builder |
removeAnnotations(String key)
Optional.
|
Automation.Builder |
removeLabels(String key)
Optional.
|
Automation.Builder |
removeRules(int index)
Required.
|
Automation.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Automation.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Automation.Builder |
setDescription(String value)
Optional.
|
Automation.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.
|
Automation.Builder |
setEtag(String value)
Optional.
|
Automation.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Optional.
|
Automation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Automation.Builder |
setName(String value)
Output only.
|
Automation.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Automation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Automation.Builder |
setRules(int index,
AutomationRule.Builder builderForValue)
Required.
|
Automation.Builder |
setRules(int index,
AutomationRule value)
Required.
|
Automation.Builder |
setSelector(AutomationResourceSelector.Builder builderForValue)
Required.
|
Automation.Builder |
setSelector(AutomationResourceSelector value)
Required.
|
Automation.Builder |
setServiceAccount(String value)
Required.
|
Automation.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Required.
|
Automation.Builder |
setSuspended(boolean value)
Optional.
|
Automation.Builder |
setUid(String value)
Output only.
|
Automation.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
Automation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Automation.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Automation.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Automation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Automation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Automation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Automation.Builder>public Automation.Builder mergeFrom(Automation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public Automation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Automation.Builder>IOExceptionpublic String getName()
Output only. Name of the `Automation`. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface AutomationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Name of the `Automation`. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface AutomationOrBuilderpublic Automation.Builder setName(String value)
Output only. Name of the `Automation`. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Automation.Builder clearName()
Output only. Name of the `Automation`. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Automation.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Name of the `Automation`. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getUid()
Output only. Unique identifier of the `Automation`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface AutomationOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `Automation`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface AutomationOrBuilderpublic Automation.Builder setUid(String value)
Output only. Unique identifier of the `Automation`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public Automation.Builder clearUid()
Output only. Unique identifier of the `Automation`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public Automation.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Unique identifier of the `Automation`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.public String getDescription()
Optional. Description of the `Automation`. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface AutomationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the `Automation`. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface AutomationOrBuilderpublic Automation.Builder setDescription(String value)
Optional. Description of the `Automation`. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public Automation.Builder clearDescription()
Optional. Description of the `Automation`. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];public Automation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the `Automation`. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.public boolean hasCreateTime()
Output only. Time at which the automation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface AutomationOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Time at which the automation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface AutomationOrBuilderpublic Automation.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the automation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Automation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the automation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Automation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the automation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Automation.Builder clearCreateTime()
Output only. Time at which the automation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time at which the automation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the automation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface AutomationOrBuilderpublic boolean hasUpdateTime()
Output only. Time at which the automation was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface AutomationOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Time at which the automation was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface AutomationOrBuilderpublic Automation.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the automation was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Automation.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the automation was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Automation.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the automation was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Automation.Builder clearUpdateTime()
Output only. Time at which the automation was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Time at which the automation was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time at which the automation was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface AutomationOrBuilderpublic int getAnnotationsCount()
AutomationOrBuilderOptional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnnotationsCount in interface AutomationOrBuilderpublic boolean containsAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
containsAnnotations in interface AutomationOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface AutomationOrBuilderpublic Map<String,String> getAnnotationsMap()
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnnotationsMap in interface AutomationOrBuilderpublic 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. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnnotationsOrDefault in interface AutomationOrBuilderpublic String getAnnotationsOrThrow(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnnotationsOrThrow in interface AutomationOrBuilderpublic Automation.Builder clearAnnotations()
public Automation.Builder removeAnnotations(String key)
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableAnnotations()
public Automation.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. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
public Automation.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. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
public int getLabelsCount()
AutomationOrBuilderOptional. 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 <= 63 characters.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];getLabelsCount in interface AutomationOrBuilderpublic 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 <= 63 characters.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];containsLabels in interface AutomationOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface AutomationOrBuilderpublic 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 <= 63 characters.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];getLabelsMap in interface AutomationOrBuilderpublic 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 <= 63 characters.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrDefault in interface AutomationOrBuilderpublic 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 <= 63 characters.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrThrow in interface AutomationOrBuilderpublic Automation.Builder clearLabels()
public Automation.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 <= 63 characters.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];@Deprecated public Map<String,String> getMutableLabels()
public Automation.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 <= 63 characters.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];public Automation.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 <= 63 characters.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];public String getEtag()
Optional. The weak etag of the `Automation` resource. 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 = 8 [(.google.api.field_behavior) = OPTIONAL];getEtag in interface AutomationOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Optional. The weak etag of the `Automation` resource. 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 = 8 [(.google.api.field_behavior) = OPTIONAL];getEtagBytes in interface AutomationOrBuilderpublic Automation.Builder setEtag(String value)
Optional. The weak etag of the `Automation` resource. 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 = 8 [(.google.api.field_behavior) = OPTIONAL];value - The etag to set.public Automation.Builder clearEtag()
Optional. The weak etag of the `Automation` resource. 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 = 8 [(.google.api.field_behavior) = OPTIONAL];public Automation.Builder setEtagBytes(com.google.protobuf.ByteString value)
Optional. The weak etag of the `Automation` resource. 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 = 8 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for etag to set.public boolean getSuspended()
Optional. When Suspended, automation is deactivated from execution.
bool suspended = 9 [(.google.api.field_behavior) = OPTIONAL];getSuspended in interface AutomationOrBuilderpublic Automation.Builder setSuspended(boolean value)
Optional. When Suspended, automation is deactivated from execution.
bool suspended = 9 [(.google.api.field_behavior) = OPTIONAL];value - The suspended to set.public Automation.Builder clearSuspended()
Optional. When Suspended, automation is deactivated from execution.
bool suspended = 9 [(.google.api.field_behavior) = OPTIONAL];public String getServiceAccount()
Required. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
string service_account = 10 [(.google.api.field_behavior) = REQUIRED];getServiceAccount in interface AutomationOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Required. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
string service_account = 10 [(.google.api.field_behavior) = REQUIRED];getServiceAccountBytes in interface AutomationOrBuilderpublic Automation.Builder setServiceAccount(String value)
Required. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
string service_account = 10 [(.google.api.field_behavior) = REQUIRED];value - The serviceAccount to set.public Automation.Builder clearServiceAccount()
Required. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
string service_account = 10 [(.google.api.field_behavior) = REQUIRED];public Automation.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Required. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
string service_account = 10 [(.google.api.field_behavior) = REQUIRED];value - The bytes for serviceAccount to set.public boolean hasSelector()
Required. Selected resources to which the automation will be applied.
.google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED];
hasSelector in interface AutomationOrBuilderpublic AutomationResourceSelector getSelector()
Required. Selected resources to which the automation will be applied.
.google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED];
getSelector in interface AutomationOrBuilderpublic Automation.Builder setSelector(AutomationResourceSelector value)
Required. Selected resources to which the automation will be applied.
.google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder setSelector(AutomationResourceSelector.Builder builderForValue)
Required. Selected resources to which the automation will be applied.
.google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder mergeSelector(AutomationResourceSelector value)
Required. Selected resources to which the automation will be applied.
.google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder clearSelector()
Required. Selected resources to which the automation will be applied.
.google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED];
public AutomationResourceSelector.Builder getSelectorBuilder()
Required. Selected resources to which the automation will be applied.
.google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED];
public AutomationResourceSelectorOrBuilder getSelectorOrBuilder()
Required. Selected resources to which the automation will be applied.
.google.cloud.deploy.v1.AutomationResourceSelector selector = 11 [(.google.api.field_behavior) = REQUIRED];
getSelectorOrBuilder in interface AutomationOrBuilderpublic List<AutomationRule> getRulesList()
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
getRulesList in interface AutomationOrBuilderpublic int getRulesCount()
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
getRulesCount in interface AutomationOrBuilderpublic AutomationRule getRules(int index)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
getRules in interface AutomationOrBuilderpublic Automation.Builder setRules(int index, AutomationRule value)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder setRules(int index, AutomationRule.Builder builderForValue)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder addRules(AutomationRule value)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder addRules(int index, AutomationRule value)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder addRules(AutomationRule.Builder builderForValue)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder addRules(int index, AutomationRule.Builder builderForValue)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder addAllRules(Iterable<? extends AutomationRule> values)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder clearRules()
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public Automation.Builder removeRules(int index)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public AutomationRule.Builder getRulesBuilder(int index)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public AutomationRuleOrBuilder getRulesOrBuilder(int index)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
getRulesOrBuilder in interface AutomationOrBuilderpublic List<? extends AutomationRuleOrBuilder> getRulesOrBuilderList()
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
getRulesOrBuilderList in interface AutomationOrBuilderpublic AutomationRule.Builder addRulesBuilder()
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public AutomationRule.Builder addRulesBuilder(int index)
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public List<AutomationRule.Builder> getRulesBuilderList()
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
repeated .google.cloud.deploy.v1.AutomationRule rules = 14 [(.google.api.field_behavior) = REQUIRED];
public final Automation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>public final Automation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Automation.Builder>Copyright © 2024 Google LLC. All rights reserved.