Class Deployment.Builder (0.8.0)

public static final class Deployment.Builder extends GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder

A Deployment is a group of resources and configs managed and provisioned by Infra Manager.

Protobuf type google.cloud.config.v1.Deployment

Implements

DeploymentOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllTfErrors(Iterable<? extends TerraformError> values)

public Deployment.Builder addAllTfErrors(Iterable<? extends TerraformError> values)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.config.v1.TerraformError>
Returns
TypeDescription
Deployment.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

addTfErrors(TerraformError value)

public Deployment.Builder addTfErrors(TerraformError value)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTerraformError
Returns
TypeDescription
Deployment.Builder

addTfErrors(TerraformError.Builder builderForValue)

public Deployment.Builder addTfErrors(TerraformError.Builder builderForValue)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueTerraformError.Builder
Returns
TypeDescription
Deployment.Builder

addTfErrors(int index, TerraformError value)

public Deployment.Builder addTfErrors(int index, TerraformError value)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueTerraformError
Returns
TypeDescription
Deployment.Builder

addTfErrors(int index, TerraformError.Builder builderForValue)

public Deployment.Builder addTfErrors(int index, TerraformError.Builder builderForValue)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueTerraformError.Builder
Returns
TypeDescription
Deployment.Builder

addTfErrorsBuilder()

public TerraformError.Builder addTfErrorsBuilder()

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TerraformError.Builder

addTfErrorsBuilder(int index)

public TerraformError.Builder addTfErrorsBuilder(int index)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TerraformError.Builder

build()

public Deployment build()
Returns
TypeDescription
Deployment

buildPartial()

public Deployment buildPartial()
Returns
TypeDescription
Deployment

clear()

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

clearArtifactsGcsBucket()

public Deployment.Builder clearArtifactsGcsBucket()

Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: gs://{bucket}/{folder}

A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: gs://<project number>-<region>-blueprint-config Constraints:

  • The bucket needs to be in the same project as the deployment
  • The path cannot be within the path of gcs_source
  • The field cannot be updated, including changing its presence

optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearBlueprint()

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

clearCreateTime()

public Deployment.Builder clearCreateTime()

Output only. Time when the deployment was created.

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

Returns
TypeDescription
Deployment.Builder

clearDeleteBuild()

public Deployment.Builder clearDeleteBuild()

Output only. Cloud Build instance UUID associated with deleting this deployment.

string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearDeleteLogs()

public Deployment.Builder clearDeleteLogs()

Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: gs://{bucket}/{object}.

string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearDeleteResults()

public Deployment.Builder clearDeleteResults()

Output only. Location of artifacts from a DeleteDeployment operation.

.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

clearErrorCode()

public Deployment.Builder clearErrorCode()

Output only. Error code describing errors that may have occurred.

.google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearErrorLogs()

public Deployment.Builder clearErrorLogs()

Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.

string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

clearImportExistingResources()

public Deployment.Builder clearImportExistingResources()

By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation.

Not all resource types are supported, refer to documentation.

optional bool import_existing_resources = 17;

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearLabels()

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

clearLatestRevision()

public Deployment.Builder clearLatestRevision()

Output only. Revision name that was most recently applied. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}

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

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearLockState()

public Deployment.Builder clearLockState()

Output only. Current lock state of the deployment.

.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearName()

public Deployment.Builder clearName()

Resource name of the deployment. Format: projects/{project}/locations/{location}/deployments/{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

clearServiceAccount()

public Deployment.Builder clearServiceAccount()

Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearState()

public Deployment.Builder clearState()

Output only. Current state of the deployment.

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

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearStateDetail()

public Deployment.Builder clearStateDetail()

Output only. Additional information regarding the current state.

string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

clearTerraformBlueprint()

public Deployment.Builder clearTerraformBlueprint()

A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;

Returns
TypeDescription
Deployment.Builder

clearTfErrors()

public Deployment.Builder clearTfErrors()

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.Builder

clearUpdateTime()

public Deployment.Builder clearUpdateTime()

Output only. Time when the deployment was last modified.

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

Returns
TypeDescription
Deployment.Builder

clearWorkerPool()

public Deployment.Builder clearWorkerPool()

Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}. If this field is unspecified, the default Cloud Build worker pool will be used.

optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

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)

User-defined metadata for the deployment.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getArtifactsGcsBucket()

public String getArtifactsGcsBucket()

Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: gs://{bucket}/{folder}

A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: gs://<project number>-<region>-blueprint-config Constraints:

  • The bucket needs to be in the same project as the deployment
  • The path cannot be within the path of gcs_source
  • The field cannot be updated, including changing its presence

optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The artifactsGcsBucket.

getArtifactsGcsBucketBytes()

public ByteString getArtifactsGcsBucketBytes()

Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: gs://{bucket}/{folder}

A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: gs://<project number>-<region>-blueprint-config Constraints:

  • The bucket needs to be in the same project as the deployment
  • The path cannot be within the path of gcs_source
  • The field cannot be updated, including changing its presence

optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for artifactsGcsBucket.

getBlueprintCase()

public Deployment.BlueprintCase getBlueprintCase()
Returns
TypeDescription
Deployment.BlueprintCase

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the deployment was created.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the deployment was created.

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

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the deployment was created.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Deployment getDefaultInstanceForType()
Returns
TypeDescription
Deployment

getDeleteBuild()

public String getDeleteBuild()

Output only. Cloud Build instance UUID associated with deleting this deployment.

string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The deleteBuild.

getDeleteBuildBytes()

public ByteString getDeleteBuildBytes()

Output only. Cloud Build instance UUID associated with deleting this deployment.

string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for deleteBuild.

getDeleteLogs()

public String getDeleteLogs()

Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: gs://{bucket}/{object}.

string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The deleteLogs.

getDeleteLogsBytes()

public ByteString getDeleteLogsBytes()

Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: gs://{bucket}/{object}.

string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for deleteLogs.

getDeleteResults()

public ApplyResults getDeleteResults()

Output only. Location of artifacts from a DeleteDeployment operation.

.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ApplyResults

The deleteResults.

getDeleteResultsBuilder()

public ApplyResults.Builder getDeleteResultsBuilder()

Output only. Location of artifacts from a DeleteDeployment operation.

.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ApplyResults.Builder

getDeleteResultsOrBuilder()

public ApplyResultsOrBuilder getDeleteResultsOrBuilder()

Output only. Location of artifacts from a DeleteDeployment operation.

.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ApplyResultsOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorCode()

public Deployment.ErrorCode getErrorCode()

Output only. Error code describing errors that may have occurred.

.google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.ErrorCode

The errorCode.

getErrorCodeValue()

public int getErrorCodeValue()

Output only. Error code describing errors that may have occurred.

.google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for errorCode.

getErrorLogs()

public String getErrorLogs()

Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.

string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The errorLogs.

getErrorLogsBytes()

public ByteString getErrorLogsBytes()

Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.

string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for errorLogs.

getImportExistingResources()

public boolean getImportExistingResources()

By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation.

Not all resource types are supported, refer to documentation.

optional bool import_existing_resources = 17;

Returns
TypeDescription
boolean

The importExistingResources.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined metadata for the deployment.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined metadata for the deployment.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

User-defined metadata for the deployment.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined metadata for the deployment.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLatestRevision()

public String getLatestRevision()

Output only. Revision name that was most recently applied. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}

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

Returns
TypeDescription
String

The latestRevision.

getLatestRevisionBytes()

public ByteString getLatestRevisionBytes()

Output only. Revision name that was most recently applied. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}

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

Returns
TypeDescription
ByteString

The bytes for latestRevision.

getLockState()

public Deployment.LockState getLockState()

Output only. Current lock state of the deployment.

.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Deployment.LockState

The lockState.

getLockStateValue()

public int getLockStateValue()

Output only. Current lock state of the deployment.

.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for lockState.

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Resource name of the deployment. Format: projects/{project}/locations/{location}/deployments/{deployment}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Resource name of the deployment. Format: projects/{project}/locations/{location}/deployments/{deployment}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getServiceAccount()

public String getServiceAccount()

Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getState()

public Deployment.State getState()

Output only. Current state of the deployment.

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

Returns
TypeDescription
Deployment.State

The state.

getStateDetail()

public String getStateDetail()

Output only. Additional information regarding the current state.

string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The stateDetail.

getStateDetailBytes()

public ByteString getStateDetailBytes()

Output only. Additional information regarding the current state.

string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for stateDetail.

getStateValue()

public int getStateValue()

Output only. Current state of the deployment.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTerraformBlueprint()

public TerraformBlueprint getTerraformBlueprint()

A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;

Returns
TypeDescription
TerraformBlueprint

The terraformBlueprint.

getTerraformBlueprintBuilder()

public TerraformBlueprint.Builder getTerraformBlueprintBuilder()

A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;

Returns
TypeDescription
TerraformBlueprint.Builder

getTerraformBlueprintOrBuilder()

public TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder()

A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;

Returns
TypeDescription
TerraformBlueprintOrBuilder

getTfErrors(int index)

public TerraformError getTfErrors(int index)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TerraformError

getTfErrorsBuilder(int index)

public TerraformError.Builder getTfErrorsBuilder(int index)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TerraformError.Builder

getTfErrorsBuilderList()

public List<TerraformError.Builder> getTfErrorsBuilderList()

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getTfErrorsCount()

public int getTfErrorsCount()

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getTfErrorsList()

public List<TerraformError> getTfErrorsList()

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<TerraformError>

getTfErrorsOrBuilder(int index)

public TerraformErrorOrBuilder getTfErrorsOrBuilder(int index)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TerraformErrorOrBuilder

getTfErrorsOrBuilderList()

public List<? extends TerraformErrorOrBuilder> getTfErrorsOrBuilderList()

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.config.v1.TerraformErrorOrBuilder>

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when the deployment was last modified.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time when the deployment was last modified.

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

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the deployment was last modified.

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

Returns
TypeDescription
TimestampOrBuilder

getWorkerPool()

public String getWorkerPool()

Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}. If this field is unspecified, the default Cloud Build worker pool will be used.

optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The workerPool.

getWorkerPoolBytes()

public ByteString getWorkerPoolBytes()

Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}. If this field is unspecified, the default Cloud Build worker pool will be used.

optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for workerPool.

hasArtifactsGcsBucket()

public boolean hasArtifactsGcsBucket()

Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: gs://{bucket}/{folder}

A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: gs://<project number>-<region>-blueprint-config Constraints:

  • The bucket needs to be in the same project as the deployment
  • The path cannot be within the path of gcs_source
  • The field cannot be updated, including changing its presence

optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the artifactsGcsBucket field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the deployment was created.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDeleteResults()

public boolean hasDeleteResults()

Output only. Location of artifacts from a DeleteDeployment operation.

.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the deleteResults field is set.

hasImportExistingResources()

public boolean hasImportExistingResources()

By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation.

Not all resource types are supported, refer to documentation.

optional bool import_existing_resources = 17;

Returns
TypeDescription
boolean

Whether the importExistingResources field is set.

hasServiceAccount()

public boolean hasServiceAccount()

Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the serviceAccount field is set.

hasTerraformBlueprint()

public boolean hasTerraformBlueprint()

A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;

Returns
TypeDescription
boolean

Whether the terraformBlueprint field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time when the deployment was last modified.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hasWorkerPool()

public boolean hasWorkerPool()

Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}. If this field is unspecified, the default Cloud Build worker pool will be used.

optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the workerPool 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. Time when the deployment was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Deployment.Builder

mergeDeleteResults(ApplyResults value)

public Deployment.Builder mergeDeleteResults(ApplyResults value)

Output only. Location of artifacts from a DeleteDeployment operation.

.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueApplyResults
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

mergeTerraformBlueprint(TerraformBlueprint value)

public Deployment.Builder mergeTerraformBlueprint(TerraformBlueprint value)

A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;

Parameter
NameDescription
valueTerraformBlueprint
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. Time when the deployment was last modified.

.google.protobuf.Timestamp update_time = 3 [(.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)

User-defined metadata for the deployment.

map<string, string> labels = 4;

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

putLabels(String key, String value)

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

User-defined metadata for the deployment.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Deployment.Builder

removeLabels(String key)

public Deployment.Builder removeLabels(String key)

User-defined metadata for the deployment.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Deployment.Builder

removeTfErrors(int index)

public Deployment.Builder removeTfErrors(int index)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Deployment.Builder

setArtifactsGcsBucket(String value)

public Deployment.Builder setArtifactsGcsBucket(String value)

Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: gs://{bucket}/{folder}

A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: gs://<project number>-<region>-blueprint-config Constraints:

  • The bucket needs to be in the same project as the deployment
  • The path cannot be within the path of gcs_source
  • The field cannot be updated, including changing its presence

optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The artifactsGcsBucket to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setArtifactsGcsBucketBytes(ByteString value)

public Deployment.Builder setArtifactsGcsBucketBytes(ByteString value)

Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: gs://{bucket}/{folder}

A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: gs://<project number>-<region>-blueprint-config Constraints:

  • The bucket needs to be in the same project as the deployment
  • The path cannot be within the path of gcs_source
  • The field cannot be updated, including changing its presence

optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for artifactsGcsBucket to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Deployment.Builder setCreateTime(Timestamp value)

Output only. Time when the deployment was created.

.google.protobuf.Timestamp create_time = 2 [(.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. Time when the deployment was created.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Deployment.Builder

setDeleteBuild(String value)

public Deployment.Builder setDeleteBuild(String value)

Output only. Cloud Build instance UUID associated with deleting this deployment.

string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The deleteBuild to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setDeleteBuildBytes(ByteString value)

public Deployment.Builder setDeleteBuildBytes(ByteString value)

Output only. Cloud Build instance UUID associated with deleting this deployment.

string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for deleteBuild to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setDeleteLogs(String value)

public Deployment.Builder setDeleteLogs(String value)

Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: gs://{bucket}/{object}.

string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The deleteLogs to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setDeleteLogsBytes(ByteString value)

public Deployment.Builder setDeleteLogsBytes(ByteString value)

Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: gs://{bucket}/{object}.

string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for deleteLogs to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setDeleteResults(ApplyResults value)

public Deployment.Builder setDeleteResults(ApplyResults value)

Output only. Location of artifacts from a DeleteDeployment operation.

.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueApplyResults
Returns
TypeDescription
Deployment.Builder

setDeleteResults(ApplyResults.Builder builderForValue)

public Deployment.Builder setDeleteResults(ApplyResults.Builder builderForValue)

Output only. Location of artifacts from a DeleteDeployment operation.

.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueApplyResults.Builder
Returns
TypeDescription
Deployment.Builder

setErrorCode(Deployment.ErrorCode value)

public Deployment.Builder setErrorCode(Deployment.ErrorCode value)

Output only. Error code describing errors that may have occurred.

.google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueDeployment.ErrorCode

The errorCode to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setErrorCodeValue(int value)

public Deployment.Builder setErrorCodeValue(int value)

Output only. Error code describing errors that may have occurred.

.google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setErrorLogs(String value)

public Deployment.Builder setErrorLogs(String value)

Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.

string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The errorLogs to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setErrorLogsBytes(ByteString value)

public Deployment.Builder setErrorLogsBytes(ByteString value)

Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.

string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for errorLogs 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

setImportExistingResources(boolean value)

public Deployment.Builder setImportExistingResources(boolean value)

By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation.

Not all resource types are supported, refer to documentation.

optional bool import_existing_resources = 17;

Parameter
NameDescription
valueboolean

The importExistingResources to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setLatestRevision(String value)

public Deployment.Builder setLatestRevision(String value)

Output only. Revision name that was most recently applied. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}

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

Parameter
NameDescription
valueString

The latestRevision to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setLatestRevisionBytes(ByteString value)

public Deployment.Builder setLatestRevisionBytes(ByteString value)

Output only. Revision name that was most recently applied. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}

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

Parameter
NameDescription
valueByteString

The bytes for latestRevision to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setLockState(Deployment.LockState value)

public Deployment.Builder setLockState(Deployment.LockState value)

Output only. Current lock state of the deployment.

.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueDeployment.LockState

The lockState to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setLockStateValue(int value)

public Deployment.Builder setLockStateValue(int value)

Output only. Current lock state of the deployment.

.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setName(String value)

public Deployment.Builder setName(String value)

Resource name of the deployment. Format: projects/{project}/locations/{location}/deployments/{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)

Resource name of the deployment. Format: projects/{project}/locations/{location}/deployments/{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

setServiceAccount(String value)

public Deployment.Builder setServiceAccount(String value)

Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The serviceAccount to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public Deployment.Builder setServiceAccountBytes(ByteString value)

Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for serviceAccount to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setState(Deployment.State value)

public Deployment.Builder setState(Deployment.State value)

Output only. Current state of the deployment.

.google.cloud.config.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.

setStateDetail(String value)

public Deployment.Builder setStateDetail(String value)

Output only. Additional information regarding the current state.

string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The stateDetail to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setStateDetailBytes(ByteString value)

public Deployment.Builder setStateDetailBytes(ByteString value)

Output only. Additional information regarding the current state.

string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for stateDetail to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setStateValue(int value)

public Deployment.Builder setStateValue(int value)

Output only. Current state of the deployment.

.google.cloud.config.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.

setTerraformBlueprint(TerraformBlueprint value)

public Deployment.Builder setTerraformBlueprint(TerraformBlueprint value)

A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;

Parameter
NameDescription
valueTerraformBlueprint
Returns
TypeDescription
Deployment.Builder

setTerraformBlueprint(TerraformBlueprint.Builder builderForValue)

public Deployment.Builder setTerraformBlueprint(TerraformBlueprint.Builder builderForValue)

A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;

Parameter
NameDescription
builderForValueTerraformBlueprint.Builder
Returns
TypeDescription
Deployment.Builder

setTfErrors(int index, TerraformError value)

public Deployment.Builder setTfErrors(int index, TerraformError value)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueTerraformError
Returns
TypeDescription
Deployment.Builder

setTfErrors(int index, TerraformError.Builder builderForValue)

public Deployment.Builder setTfErrors(int index, TerraformError.Builder builderForValue)

Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueTerraformError.Builder
Returns
TypeDescription
Deployment.Builder

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. Time when the deployment was last modified.

.google.protobuf.Timestamp update_time = 3 [(.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. Time when the deployment was last modified.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Deployment.Builder

setWorkerPool(String value)

public Deployment.Builder setWorkerPool(String value)

Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}. If this field is unspecified, the default Cloud Build worker pool will be used.

optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The workerPool to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.

setWorkerPoolBytes(ByteString value)

public Deployment.Builder setWorkerPoolBytes(ByteString value)

Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}. If this field is unspecified, the default Cloud Build worker pool will be used.

optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for workerPool to set.

Returns
TypeDescription
Deployment.Builder

This builder for chaining.