Class Deployment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
com.google.cloud.telcoautomation.v1.Deployment.Builder
- All Implemented Interfaces:
DeploymentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Deployment
public static final class Deployment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
implements DeploymentOrBuilder
Deployment contains a collection of YAML files (This collection is also known as package) that can to applied on an orchestration cluster (GKE cluster with TNA addons) or a workload cluster.Protobuf type
google.cloud.telcoautomation.v1.Deployment-
Method Summary
Modifier and TypeMethodDescriptionaddAllFiles(Iterable<? extends File> values) Optional.Optional.addFiles(int index, File.Builder builderForValue) Optional.Optional.addFiles(File.Builder builderForValue) Optional.Optional.addFilesBuilder(int index) Optional.build()clear()Output only.Output only.Optional.Optional.The name of the deployment.Output only.Output only.Output only.Output only.Required.Output only.Output only.Output only.Optional.booleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.getFiles(int index) Optional.getFilesBuilder(int index) Optional.Optional.intOptional.Optional.getFilesOrBuilder(int index) Optional.List<? extends FileOrBuilder>Optional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()The name of the deployment.com.google.protobuf.ByteStringThe name of the deployment.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.Required.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(Deployment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRevisionCreateTime(com.google.protobuf.Timestamp value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Optional.Optional.removeFiles(int index) Optional.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setDeploymentLevelValue(int value) Output only.setDisplayName(String value) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.Optional.setFiles(int index, File.Builder builderForValue) Optional.The name of the deployment.setNameBytes(com.google.protobuf.ByteString value) The name of the deployment.setRepository(String value) Output only.setRepositoryBytes(com.google.protobuf.ByteString value) Output only.setRevisionCreateTime(com.google.protobuf.Timestamp value) Output only.setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setRevisionId(String value) Output only.setRevisionIdBytes(com.google.protobuf.ByteString value) Output only.setRollbackSupport(boolean value) Output only.setSourceBlueprintRevision(String value) Required.setSourceBlueprintRevisionBytes(com.google.protobuf.ByteString value) Required.setSourceProvider(String value) Output only.setSourceProviderBytes(com.google.protobuf.ByteString value) Output only.setState(Deployment.State value) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setWorkloadCluster(String value) Optional.setWorkloadClusterBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>- Throws:
IOException
-
getName
The name of the deployment.
string name = 1;- Specified by:
getNamein interfaceDeploymentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the deployment.
string name = 1;- Specified by:
getNameBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the deployment.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the deployment.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the deployment.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRevisionId
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdin interfaceDeploymentOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for revisionId.
-
setRevisionId
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The revisionId to set.- Returns:
- This builder for chaining.
-
clearRevisionId
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRevisionIdBytes
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for revisionId to set.- Returns:
- This builder for chaining.
-
getSourceBlueprintRevision
Required. The blueprint revision from which this deployment was created.
string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSourceBlueprintRevisionin interfaceDeploymentOrBuilder- Returns:
- The sourceBlueprintRevision.
-
getSourceBlueprintRevisionBytes
public com.google.protobuf.ByteString getSourceBlueprintRevisionBytes()Required. The blueprint revision from which this deployment was created.
string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSourceBlueprintRevisionBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for sourceBlueprintRevision.
-
setSourceBlueprintRevision
Required. The blueprint revision from which this deployment was created.
string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The sourceBlueprintRevision to set.- Returns:
- This builder for chaining.
-
clearSourceBlueprintRevision
Required. The blueprint revision from which this deployment was created.
string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setSourceBlueprintRevisionBytes
Required. The blueprint revision from which this deployment was created.
string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for sourceBlueprintRevision to set.- Returns:
- This builder for chaining.
-
hasRevisionCreateTime
public boolean hasRevisionCreateTime()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevisionCreateTimein interfaceDeploymentOrBuilder- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public com.google.protobuf.Timestamp getRevisionCreateTime()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimein interfaceDeploymentOrBuilder- Returns:
- The revisionCreateTime.
-
setRevisionCreateTime
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRevisionCreateTime
public Deployment.Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRevisionCreateTime
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRevisionCreateTime
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRevisionCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimeOrBuilderin interfaceDeploymentOrBuilder
-
getStateValue
public int getStateValue()Output only. State of the deployment (DRAFT, APPLIED, DELETING).
.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceDeploymentOrBuilder- Returns:
- The state.
-
setState
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDisplayName
Optional. Human readable name of a Deployment.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceDeploymentOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. Human readable name of a Deployment.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. Human readable name of a Deployment.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Optional. Human readable name of a Deployment.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. Human readable name of a Deployment.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getRepository
Output only. Name of the repository where the deployment package files are stored.
string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRepositoryin interfaceDeploymentOrBuilder- Returns:
- The repository.
-
getRepositoryBytes
public com.google.protobuf.ByteString getRepositoryBytes()Output only. Name of the repository where the deployment package files are stored.
string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRepositoryBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for repository.
-
setRepository
Output only. Name of the repository where the deployment package files are stored.
string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The repository to set.- Returns:
- This builder for chaining.
-
clearRepository
Output only. Name of the repository where the deployment package files are stored.
string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRepositoryBytes
Output only. Name of the repository where the deployment package files are stored.
string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for repository to set.- Returns:
- This builder for chaining.
-
getFilesList
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilesListin interfaceDeploymentOrBuilder
-
getFilesCount
public int getFilesCount()Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilesCountin interfaceDeploymentOrBuilder
-
getFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilesin interfaceDeploymentOrBuilder
-
setFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
setFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addAllFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
clearFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
removeFiles
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getFilesBuilder
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getFilesOrBuilder
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilesOrBuilderin interfaceDeploymentOrBuilder
-
getFilesOrBuilderList
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilesOrBuilderListin interfaceDeploymentOrBuilder
-
addFilesBuilder
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addFilesBuilder
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getFilesBuilderList
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsCount
public int getLabelsCount()Description copied from interface:DeploymentOrBuilderOptional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceDeploymentOrBuilder
-
containsLabels
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceDeploymentOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDeploymentOrBuilder
-
getLabelsMap
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceDeploymentOrBuilder
-
getLabelsOrDefault
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceDeploymentOrBuilder
-
getLabelsOrThrow
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceDeploymentOrBuilder
-
clearLabels
-
removeLabels
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
hasCreateTime
public boolean hasCreateTime()Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDeploymentOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDeploymentOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Deployment creation time.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDeploymentOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDeploymentOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDeploymentOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when the deployment was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDeploymentOrBuilder
-
getSourceProvider
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceProviderin interfaceDeploymentOrBuilder- Returns:
- The sourceProvider.
-
getSourceProviderBytes
public com.google.protobuf.ByteString getSourceProviderBytes()Output only. Source provider is the author of a public blueprint, from which this deployment is created.
string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceProviderBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for sourceProvider.
-
setSourceProvider
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The sourceProvider to set.- Returns:
- This builder for chaining.
-
clearSourceProvider
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setSourceProviderBytes
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for sourceProvider to set.- Returns:
- This builder for chaining.
-
getWorkloadCluster
Optional. Immutable. The WorkloadCluster on which to create the Deployment. This field should only be passed when the deployment_level of the source blueprint specifies deployments on workload clusters e.g. WORKLOAD_CLUSTER_DEPLOYMENT.
string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getWorkloadClusterin interfaceDeploymentOrBuilder- Returns:
- The workloadCluster.
-
getWorkloadClusterBytes
public com.google.protobuf.ByteString getWorkloadClusterBytes()Optional. Immutable. The WorkloadCluster on which to create the Deployment. This field should only be passed when the deployment_level of the source blueprint specifies deployments on workload clusters e.g. WORKLOAD_CLUSTER_DEPLOYMENT.
string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getWorkloadClusterBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for workloadCluster.
-
setWorkloadCluster
Optional. Immutable. The WorkloadCluster on which to create the Deployment. This field should only be passed when the deployment_level of the source blueprint specifies deployments on workload clusters e.g. WORKLOAD_CLUSTER_DEPLOYMENT.
string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The workloadCluster to set.- Returns:
- This builder for chaining.
-
clearWorkloadCluster
Optional. Immutable. The WorkloadCluster on which to create the Deployment. This field should only be passed when the deployment_level of the source blueprint specifies deployments on workload clusters e.g. WORKLOAD_CLUSTER_DEPLOYMENT.
string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setWorkloadClusterBytes
Optional. Immutable. The WorkloadCluster on which to create the Deployment. This field should only be passed when the deployment_level of the source blueprint specifies deployments on workload clusters e.g. WORKLOAD_CLUSTER_DEPLOYMENT.
string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for workloadCluster to set.- Returns:
- This builder for chaining.
-
getDeploymentLevelValue
public int getDeploymentLevelValue()Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentLevelValuein interfaceDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for deploymentLevel.
-
setDeploymentLevelValue
Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for deploymentLevel to set.- Returns:
- This builder for chaining.
-
getDeploymentLevel
Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentLevelin interfaceDeploymentOrBuilder- Returns:
- The deploymentLevel.
-
setDeploymentLevel
Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The deploymentLevel to set.- Returns:
- This builder for chaining.
-
clearDeploymentLevel
Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
.google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getRollbackSupport
public boolean getRollbackSupport()Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRollbackSupportin interfaceDeploymentOrBuilder- Returns:
- The rollbackSupport.
-
setRollbackSupport
Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rollbackSupport to set.- Returns:
- This builder for chaining.
-
clearRollbackSupport
Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-