Package com.google.cloud.config.v1
Interface RevisionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Revision,Revision.Builder
@Generated
public interface RevisionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.Output only.Output only.getBuild()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.getLogs()Output only.com.google.protobuf.ByteStringOutput only.getName()Revision name.com.google.protobuf.ByteStringRevision name.Output only.Output only.Optional.Output only.com.google.protobuf.ByteStringOutput only.intOptional.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.Output only.Output only.getTfErrors(int index) Output only.intOutput only.Output only.getTfErrorsOrBuilder(int index) Output only.List<? extends TerraformErrorOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTerraformBlueprint
boolean hasTerraformBlueprint()Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the terraformBlueprint field is set.
-
getTerraformBlueprint
TerraformBlueprint getTerraformBlueprint()Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The terraformBlueprint.
-
getTerraformBlueprintOrBuilder
TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder()Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getName
String getName()Revision name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Revision name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`string name = 1;- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. Time when the revision was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time when the revision was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when the revision was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time when the revision was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Time when the revision was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when the revision was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getActionValue
int getActionValue()Output only. The action which created this revision
.google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for action.
-
getAction
Revision.Action getAction()Output only. The action which created this revision
.google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The action.
-
getStateValue
int getStateValue()Output only. Current state of the revision.
.google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Revision.State getState()Output only. Current state of the revision.
.google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasApplyResults
boolean hasApplyResults()Output only. Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the applyResults field is set.
-
getApplyResults
ApplyResults getApplyResults()Output only. Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The applyResults.
-
getApplyResultsOrBuilder
ApplyResultsOrBuilder getApplyResultsOrBuilder()Output only. Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateDetail
String getStateDetail()Output only. Additional info regarding the current state.
string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The stateDetail.
-
getStateDetailBytes
com.google.protobuf.ByteString getStateDetailBytes()Output only. Additional info regarding the current state.
string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for stateDetail.
-
getErrorCodeValue
int getErrorCodeValue()Output only. Code describing any errors that may have occurred.
.google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for errorCode.
-
getErrorCode
Revision.ErrorCode getErrorCode()Output only. Code describing any errors that may have occurred.
.google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The errorCode.
-
getBuild
String getBuild()Output only. Cloud Build instance UUID associated with this revision.
string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The build.
-
getBuildBytes
com.google.protobuf.ByteString getBuildBytes()Output only. Cloud Build instance UUID associated with this revision.
string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for build.
-
getLogs
String getLogs()Output only. Location of Revision operation logs in `gs://{bucket}/{object}` format.string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The logs.
-
getLogsBytes
com.google.protobuf.ByteString getLogsBytes()Output only. Location of Revision operation logs in `gs://{bucket}/{object}` format.string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for logs.
-
getTfErrorsList
List<TerraformError> getTfErrorsList()Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTfErrors
Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTfErrorsCount
int getTfErrorsCount()Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTfErrorsOrBuilderList
List<? extends TerraformErrorOrBuilder> getTfErrorsOrBuilderList()Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTfErrorsOrBuilder
Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorLogs
String getErrorLogs()Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The errorLogs.
-
getErrorLogsBytes
com.google.protobuf.ByteString getErrorLogsBytes()Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for errorLogs.
-
getServiceAccount
String getServiceAccount()Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.ByteString getServiceAccountBytes()Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for serviceAccount.
-
getImportExistingResources
boolean getImportExistingResources()Output only. 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.
bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The importExistingResources.
-
getWorkerPool
String getWorkerPool()Output only. 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.string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The workerPool.
-
getWorkerPoolBytes
com.google.protobuf.ByteString getWorkerPoolBytes()Output only. 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.string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for workerPool.
-
getTfVersionConstraint
String getTfVersionConstraint()Output only. The user-specified Terraform version constraint. Example: "=1.3.10".
string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The tfVersionConstraint.
-
getTfVersionConstraintBytes
com.google.protobuf.ByteString getTfVersionConstraintBytes()Output only. The user-specified Terraform version constraint. Example: "=1.3.10".
string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for tfVersionConstraint.
-
getTfVersion
String getTfVersion()Output only. The version of Terraform used to create the Revision. It is in the format of "Major.Minor.Patch", for example, "1.3.10".
string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The tfVersion.
-
getTfVersionBytes
com.google.protobuf.ByteString getTfVersionBytes()Output only. The version of Terraform used to create the Revision. It is in the format of "Major.Minor.Patch", for example, "1.3.10".
string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for tfVersion.
-
getQuotaValidationResults
String getQuotaValidationResults()Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: `gs://{bucket}/{object}`.string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The quotaValidationResults.
-
getQuotaValidationResultsBytes
com.google.protobuf.ByteString getQuotaValidationResultsBytes()Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: `gs://{bucket}/{object}`.string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for quotaValidationResults.
-
getQuotaValidationValue
int getQuotaValidationValue()Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.
.google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for quotaValidation.
-
getQuotaValidation
QuotaValidation getQuotaValidation()Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.
.google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The quotaValidation.
-
hasProviderConfig
boolean hasProviderConfig()Output only. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the providerConfig field is set.
-
getProviderConfig
ProviderConfig getProviderConfig()Output only. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The providerConfig.
-
getProviderConfigOrBuilder
ProviderConfigOrBuilder getProviderConfigOrBuilder()Output only. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBlueprintCase
Revision.BlueprintCase getBlueprintCase()
-