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
public interface RevisionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Revision.Action
getAction()
Output only.int
getActionValue()
Output only.ApplyResults
getApplyResults()
Output only.ApplyResultsOrBuilder
getApplyResultsOrBuilder()
Output only.Revision.BlueprintCase
getBlueprintCase()
String
getBuild()
Output only.com.google.protobuf.ByteString
getBuildBytes()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Revision.ErrorCode
getErrorCode()
Output only.int
getErrorCodeValue()
Output only.String
getErrorLogs()
Output only.com.google.protobuf.ByteString
getErrorLogsBytes()
Output only.boolean
getImportExistingResources()
Output only.String
getLogs()
Output only.com.google.protobuf.ByteString
getLogsBytes()
Output only.String
getName()
Revision name.com.google.protobuf.ByteString
getNameBytes()
Revision name.String
getServiceAccount()
Output only.com.google.protobuf.ByteString
getServiceAccountBytes()
Output only.Revision.State
getState()
Output only.String
getStateDetail()
Output only.com.google.protobuf.ByteString
getStateDetailBytes()
Output only.int
getStateValue()
Output only.TerraformBlueprint
getTerraformBlueprint()
Output only.TerraformBlueprintOrBuilder
getTerraformBlueprintOrBuilder()
Output only.TerraformError
getTfErrors(int index)
Output only.int
getTfErrorsCount()
Output only.List<TerraformError>
getTfErrorsList()
Output only.TerraformErrorOrBuilder
getTfErrorsOrBuilder(int index)
Output only.List<? extends TerraformErrorOrBuilder>
getTfErrorsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getWorkerPool()
Output only.com.google.protobuf.ByteString
getWorkerPoolBytes()
Output only.boolean
hasApplyResults()
Output only.boolean
hasCreateTime()
Output only.boolean
hasTerraformBlueprint()
Output only.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
TerraformError getTfErrors(int index)
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
TerraformErrorOrBuilder getTfErrorsOrBuilder(int index)
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.
-
getBlueprintCase
Revision.BlueprintCase getBlueprintCase()
-
-