Class Deployment.Builder (0.4.0)

public static final class Deployment.Builder extends GeneratedMessageV3.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

Implements

DeploymentOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFiles(Iterable<? extends File> values)

public Deployment.Builder addAllFiles(Iterable<? extends File> values)

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];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.telcoautomation.v1.File>
Returns
TypeDescription
Deployment.Builder

addFiles(File value)

public Deployment.Builder addFiles(File value)

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];

Parameter
NameDescription
valueFile
Returns
TypeDescription
Deployment.Builder

addFiles(File.Builder builderForValue)

public Deployment.Builder addFiles(File.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueFile.Builder
Returns
TypeDescription
Deployment.Builder

addFiles(int index, File value)

public Deployment.Builder addFiles(int index, File value)

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];

Parameters
NameDescription
indexint
valueFile
Returns
TypeDescription
Deployment.Builder

addFiles(int index, File.Builder builderForValue)

public Deployment.Builder addFiles(int index, File.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueFile.Builder
Returns
TypeDescription
Deployment.Builder

addFilesBuilder()

public File.Builder 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];

Returns
TypeDescription
File.Builder

addFilesBuilder(int index)

public File.Builder addFilesBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
File.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Deployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Deployment.Builder
Overrides

build()

public Deployment build()
Returns
TypeDescription
Deployment

buildPartial()

public Deployment buildPartial()
Returns
TypeDescription
Deployment

clear()

public Deployment.Builder clear()
Returns
TypeDescription
Deployment.Builder
Overrides

clearCreateTime()

public Deployment.Builder clearCreateTime()

Output only. Deployment creation time.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

clearDeploymentLevel()

public Deployment.Builder 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
TypeDescription
Deployment.Builder

This builder for chaining.

clearDisplayName()

public Deployment.Builder clearDisplayName()

Optional. Human readable name of a Deployment.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Deployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Deployment.Builder
Overrides

clearFiles()

public Deployment.Builder 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];

Returns
TypeDescription
Deployment.Builder

clearLabels()

public Deployment.Builder clearLabels()
Returns
TypeDescription
Deployment.Builder

clearName()

public Deployment.Builder clearName()

The name of the deployment.

string name = 1;

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Deployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Deployment.Builder
Overrides

clearRepository()

public Deployment.Builder clearRepository()

Output only. Name of the repository where the deployment package files are stored.

string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearRevisionCreateTime()

public Deployment.Builder clearRevisionCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

clearRevisionId()

public Deployment.Builder 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
TypeDescription
Deployment.Builder

This builder for chaining.

clearRollbackSupport()

public Deployment.Builder 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
TypeDescription
Deployment.Builder

This builder for chaining.

clearSourceBlueprintRevision()

public Deployment.Builder clearSourceBlueprintRevision()

Required. The blueprint revision from which this deployment was created.

string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearSourceProvider()

public Deployment.Builder 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
TypeDescription
Deployment.Builder

This builder for chaining.

clearState()

public Deployment.Builder 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
TypeDescription
Deployment.Builder

This builder for chaining.

clearUpdateTime()

public Deployment.Builder clearUpdateTime()

Output only. The timestamp when the deployment was updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

clearWorkloadCluster()

public Deployment.Builder clearWorkloadCluster()

Optional. Immutable. The WorkloadCluster on which to create the Deployment.

string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clone()

public Deployment.Builder clone()
Returns
TypeDescription
Deployment.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Deployment creation time.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Deployment creation time.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Deployment creation time.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Deployment getDefaultInstanceForType()
Returns
TypeDescription
Deployment

getDeploymentLevel()

public DeploymentLevel 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];

Returns
TypeDescription
DeploymentLevel

The deploymentLevel.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for deploymentLevel.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. Human readable name of a Deployment.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. Human readable name of a Deployment.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for displayName.

getFiles(int index)

public File getFiles(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
File

getFilesBuilder(int index)

public File.Builder getFilesBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
File.Builder

getFilesBuilderList()

public List<File.Builder> 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];

Returns
TypeDescription
List<Builder>

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];

Returns
TypeDescription
int

getFilesList()

public List<File> 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];

Returns
TypeDescription
List<File>

getFilesOrBuilder(int index)

public FileOrBuilder getFilesOrBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
FileOrBuilder

getFilesOrBuilderList()

public List<? extends FileOrBuilder> 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];

Returns
TypeDescription
List<? extends com.google.cloud.telcoautomation.v1.FileOrBuilder>

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

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];

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> 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];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

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];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

The name of the deployment.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the deployment.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getRepository()

public String getRepository()

Output only. Name of the repository where the deployment package files are stored.

string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The repository.

getRepositoryBytes()

public ByteString getRepositoryBytes()

Output only. Name of the repository where the deployment package files are stored.

string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for repository.

getRevisionCreateTime()

public Timestamp getRevisionCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The revisionCreateTime.

getRevisionCreateTimeBuilder()

public 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];

Returns
TypeDescription
Builder

getRevisionCreateTimeOrBuilder()

public TimestampOrBuilder getRevisionCreateTimeOrBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getRevisionId()

public String 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];

Returns
TypeDescription
String

The revisionId.

getRevisionIdBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for revisionId.

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];

Returns
TypeDescription
boolean

The rollbackSupport.

getSourceBlueprintRevision()

public String getSourceBlueprintRevision()

Required. The blueprint revision from which this deployment was created.

string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The sourceBlueprintRevision.

getSourceBlueprintRevisionBytes()

public ByteString getSourceBlueprintRevisionBytes()

Required. The blueprint revision from which this deployment was created.

string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for sourceBlueprintRevision.

getSourceProvider()

public String 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];

Returns
TypeDescription
String

The sourceProvider.

getSourceProviderBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for sourceProvider.

getState()

public Deployment.State getState()

Output only. State of the deployment (DRAFT, APPLIED, DELETING).

.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.State

The state.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp when the deployment was updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The timestamp when the deployment was updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp when the deployment was updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getWorkloadCluster()

public String getWorkloadCluster()

Optional. Immutable. The WorkloadCluster on which to create the Deployment.

string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The workloadCluster.

getWorkloadClusterBytes()

public ByteString getWorkloadClusterBytes()

Optional. Immutable. The WorkloadCluster on which to create the Deployment.

string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for workloadCluster.

hasCreateTime()

public boolean hasCreateTime()

Output only. Deployment creation time.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

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];

Returns
TypeDescription
boolean

Whether the revisionCreateTime field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Deployment.Builder mergeCreateTime(Timestamp value)

Output only. Deployment creation time.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

mergeFrom(Deployment other)

public Deployment.Builder mergeFrom(Deployment other)
Parameter
NameDescription
otherDeployment
Returns
TypeDescription
Deployment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Deployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Deployment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Deployment.Builder
Overrides

mergeRevisionCreateTime(Timestamp value)

public Deployment.Builder mergeRevisionCreateTime(Timestamp value)

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Deployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Deployment.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Deployment.Builder mergeUpdateTime(Timestamp value)

Output only. The timestamp when the deployment was updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

putAllLabels(Map<String,String> values)

public Deployment.Builder putAllLabels(Map<String,String> values)

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];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Deployment.Builder

putLabels(String key, String value)

public Deployment.Builder putLabels(String key, String value)

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];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Deployment.Builder

removeFiles(int index)

public Deployment.Builder removeFiles(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
Deployment.Builder

removeLabels(String key)

public Deployment.Builder removeLabels(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
Deployment.Builder

setCreateTime(Timestamp value)

public Deployment.Builder setCreateTime(Timestamp value)

Output only. Deployment creation time.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Deployment.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Deployment creation time.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Deployment.Builder

setDeploymentLevel(DeploymentLevel value)

public Deployment.Builder setDeploymentLevel(DeploymentLevel value)

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];

Parameter
NameDescription
valueDeploymentLevel

The deploymentLevel to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setDeploymentLevelValue(int value)

public Deployment.Builder setDeploymentLevelValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for deploymentLevel to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setDisplayName(String value)

public Deployment.Builder setDisplayName(String value)

Optional. Human readable name of a Deployment.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Deployment.Builder setDisplayNameBytes(ByteString value)

Optional. Human readable name of a Deployment.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Deployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Deployment.Builder
Overrides

setFiles(int index, File value)

public Deployment.Builder setFiles(int index, File value)

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];

Parameters
NameDescription
indexint
valueFile
Returns
TypeDescription
Deployment.Builder

setFiles(int index, File.Builder builderForValue)

public Deployment.Builder setFiles(int index, File.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueFile.Builder
Returns
TypeDescription
Deployment.Builder

setName(String value)

public Deployment.Builder setName(String value)

The name of the deployment.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Deployment.Builder setNameBytes(ByteString value)

The name of the deployment.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Deployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Deployment.Builder
Overrides

setRepository(String value)

public Deployment.Builder setRepository(String value)

Output only. Name of the repository where the deployment package files are stored.

string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The repository to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setRepositoryBytes(ByteString value)

public Deployment.Builder setRepositoryBytes(ByteString value)

Output only. Name of the repository where the deployment package files are stored.

string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for repository to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setRevisionCreateTime(Timestamp value)

public Deployment.Builder setRevisionCreateTime(Timestamp value)

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

setRevisionCreateTime(Timestamp.Builder builderForValue)

public Deployment.Builder setRevisionCreateTime(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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Deployment.Builder

setRevisionId(String value)

public Deployment.Builder setRevisionId(String value)

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];

Parameter
NameDescription
valueString

The revisionId to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setRevisionIdBytes(ByteString value)

public Deployment.Builder setRevisionIdBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for revisionId to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setRollbackSupport(boolean value)

public Deployment.Builder setRollbackSupport(boolean value)

Output only. Indicates if the deployment can be rolled back, exported from public blueprint.

bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueboolean

The rollbackSupport to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setSourceBlueprintRevision(String value)

public Deployment.Builder setSourceBlueprintRevision(String value)

Required. The blueprint revision from which this deployment was created.

string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The sourceBlueprintRevision to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setSourceBlueprintRevisionBytes(ByteString value)

public Deployment.Builder setSourceBlueprintRevisionBytes(ByteString value)

Required. The blueprint revision from which this deployment was created.

string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for sourceBlueprintRevision to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setSourceProvider(String value)

public Deployment.Builder setSourceProvider(String value)

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];

Parameter
NameDescription
valueString

The sourceProvider to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setSourceProviderBytes(ByteString value)

public Deployment.Builder setSourceProviderBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for sourceProvider to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setState(Deployment.State value)

public Deployment.Builder setState(Deployment.State value)

Output only. State of the deployment (DRAFT, APPLIED, DELETING).

.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueDeployment.State

The state to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setStateValue(int value)

public Deployment.Builder setStateValue(int value)

Output only. State of the deployment (DRAFT, APPLIED, DELETING).

.google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Deployment.Builder
Overrides

setUpdateTime(Timestamp value)

public Deployment.Builder setUpdateTime(Timestamp value)

Output only. The timestamp when the deployment was updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Deployment.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the deployment was updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Deployment.Builder

setWorkloadCluster(String value)

public Deployment.Builder setWorkloadCluster(String value)

Optional. Immutable. The WorkloadCluster on which to create the Deployment.

string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The workloadCluster to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setWorkloadClusterBytes(ByteString value)

public Deployment.Builder setWorkloadClusterBytes(ByteString value)

Optional. Immutable. The WorkloadCluster on which to create the Deployment.

string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for workloadCluster to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.