Package com.google.cloud.config.v1
Class Deployment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.config.v1.Deployment
-
- All Implemented Interfaces:
DeploymentOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Deployment extends com.google.protobuf.GeneratedMessageV3 implements DeploymentOrBuilder
A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
Protobuf typegoogle.cloud.config.v1.Deployment
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Deployment.BlueprintCase
static class
Deployment.Builder
A Deployment is a group of resources and configs managed and provisioned by Infra Manager.static class
Deployment.ErrorCode
Possible errors that can occur with deployments.static class
Deployment.LockState
Possible lock states of a deployment.static class
Deployment.State
Possible states of a deployment.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARTIFACTS_GCS_BUCKET_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DELETE_BUILD_FIELD_NUMBER
static int
DELETE_LOGS_FIELD_NUMBER
static int
DELETE_RESULTS_FIELD_NUMBER
static int
ERROR_CODE_FIELD_NUMBER
static int
ERROR_LOGS_FIELD_NUMBER
static int
IMPORT_EXISTING_RESOURCES_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LATEST_REVISION_FIELD_NUMBER
static int
LOCK_STATE_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SERVICE_ACCOUNT_FIELD_NUMBER
static int
STATE_DETAIL_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
TERRAFORM_BLUEPRINT_FIELD_NUMBER
static int
TF_ERRORS_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
WORKER_POOL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
User-defined metadata for the deployment.boolean
equals(Object obj)
String
getArtifactsGcsBucket()
Optional.com.google.protobuf.ByteString
getArtifactsGcsBucketBytes()
Optional.Deployment.BlueprintCase
getBlueprintCase()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Deployment
getDefaultInstance()
Deployment
getDefaultInstanceForType()
String
getDeleteBuild()
Output only.com.google.protobuf.ByteString
getDeleteBuildBytes()
Output only.String
getDeleteLogs()
Output only.com.google.protobuf.ByteString
getDeleteLogsBytes()
Output only.ApplyResults
getDeleteResults()
Output only.ApplyResultsOrBuilder
getDeleteResultsOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Deployment.ErrorCode
getErrorCode()
Output only.int
getErrorCodeValue()
Output only.String
getErrorLogs()
Output only.com.google.protobuf.ByteString
getErrorLogsBytes()
Output only.boolean
getImportExistingResources()
By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
User-defined metadata for the deployment.Map<String,String>
getLabelsMap()
User-defined metadata for the deployment.String
getLabelsOrDefault(String key, String defaultValue)
User-defined metadata for the deployment.String
getLabelsOrThrow(String key)
User-defined metadata for the deployment.String
getLatestRevision()
Output only.com.google.protobuf.ByteString
getLatestRevisionBytes()
Output only.Deployment.LockState
getLockState()
Output only.int
getLockStateValue()
Output only.String
getName()
Resource name of the deployment.com.google.protobuf.ByteString
getNameBytes()
Resource name of the deployment.com.google.protobuf.Parser<Deployment>
getParserForType()
int
getSerializedSize()
String
getServiceAccount()
Optional.com.google.protobuf.ByteString
getServiceAccountBytes()
Optional.Deployment.State
getState()
Output only.String
getStateDetail()
Output only.com.google.protobuf.ByteString
getStateDetailBytes()
Output only.int
getStateValue()
Output only.TerraformBlueprint
getTerraformBlueprint()
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.TerraformBlueprintOrBuilder
getTerraformBlueprintOrBuilder()
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.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()
Optional.com.google.protobuf.ByteString
getWorkerPoolBytes()
Optional.boolean
hasArtifactsGcsBucket()
Optional.boolean
hasCreateTime()
Output only.boolean
hasDeleteResults()
Output only.int
hashCode()
boolean
hasImportExistingResources()
By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation.boolean
hasServiceAccount()
Optional.boolean
hasTerraformBlueprint()
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.boolean
hasUpdateTime()
Output only.boolean
hasWorkerPool()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Deployment.Builder
newBuilder()
static Deployment.Builder
newBuilder(Deployment prototype)
Deployment.Builder
newBuilderForType()
protected Deployment.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Deployment
parseDelimitedFrom(InputStream input)
static Deployment
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(byte[] data)
static Deployment
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(com.google.protobuf.ByteString data)
static Deployment
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(com.google.protobuf.CodedInputStream input)
static Deployment
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(InputStream input)
static Deployment
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(ByteBuffer data)
static Deployment
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Deployment>
parser()
Deployment.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TERRAFORM_BLUEPRINT_FIELD_NUMBER
public static final int TERRAFORM_BLUEPRINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LATEST_REVISION_FIELD_NUMBER
public static final int LATEST_REVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_DETAIL_FIELD_NUMBER
public static final int STATE_DETAIL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_RESULTS_FIELD_NUMBER
public static final int DELETE_RESULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_BUILD_FIELD_NUMBER
public static final int DELETE_BUILD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_LOGS_FIELD_NUMBER
public static final int DELETE_LOGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TF_ERRORS_FIELD_NUMBER
public static final int TF_ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_LOGS_FIELD_NUMBER
public static final int ERROR_LOGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARTIFACTS_GCS_BUCKET_FIELD_NUMBER
public static final int ARTIFACTS_GCS_BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMPORT_EXISTING_RESOURCES_FIELD_NUMBER
public static final int IMPORT_EXISTING_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKER_POOL_FIELD_NUMBER
public static final int WORKER_POOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCK_STATE_FIELD_NUMBER
public static final int LOCK_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getBlueprintCase
public Deployment.BlueprintCase getBlueprintCase()
- Specified by:
getBlueprintCase
in interfaceDeploymentOrBuilder
-
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;
- Specified by:
hasTerraformBlueprint
in interfaceDeploymentOrBuilder
- Returns:
- Whether the terraformBlueprint field is set.
-
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;
- Specified by:
getTerraformBlueprint
in interfaceDeploymentOrBuilder
- Returns:
- The terraformBlueprint.
-
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;
- Specified by:
getTerraformBlueprintOrBuilder
in interfaceDeploymentOrBuilder
-
getName
public String getName()
Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
string name = 1;
- Specified by:
getName
in interfaceDeploymentOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
string name = 1;
- Specified by:
getNameBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceDeploymentOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceDeploymentOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceDeploymentOrBuilder
-
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];
- Specified by:
hasUpdateTime
in interfaceDeploymentOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceDeploymentOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceDeploymentOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DeploymentOrBuilder
User-defined metadata for the deployment.
map<string, string> labels = 4;
- Specified by:
getLabelsCount
in interfaceDeploymentOrBuilder
-
containsLabels
public boolean containsLabels(String key)
User-defined metadata for the deployment.
map<string, string> labels = 4;
- Specified by:
containsLabels
in interfaceDeploymentOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceDeploymentOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
User-defined metadata for the deployment.
map<string, string> labels = 4;
- Specified by:
getLabelsMap
in interfaceDeploymentOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
User-defined metadata for the deployment.
map<string, string> labels = 4;
- Specified by:
getLabelsOrDefault
in interfaceDeploymentOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
User-defined metadata for the deployment.
map<string, string> labels = 4;
- Specified by:
getLabelsOrThrow
in interfaceDeploymentOrBuilder
-
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];
- Specified by:
getStateValue
in interfaceDeploymentOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
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];
- Specified by:
getState
in interfaceDeploymentOrBuilder
- Returns:
- The state.
-
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];
- Specified by:
getLatestRevision
in interfaceDeploymentOrBuilder
- Returns:
- The latestRevision.
-
getLatestRevisionBytes
public com.google.protobuf.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];
- Specified by:
getLatestRevisionBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for latestRevision.
-
getStateDetail
public String getStateDetail()
Output only. Additional information regarding the current state.
string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateDetail
in interfaceDeploymentOrBuilder
- Returns:
- The stateDetail.
-
getStateDetailBytes
public com.google.protobuf.ByteString getStateDetailBytes()
Output only. Additional information regarding the current state.
string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateDetailBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for stateDetail.
-
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];
- Specified by:
getErrorCodeValue
in interfaceDeploymentOrBuilder
- Returns:
- The enum numeric value on the wire for errorCode.
-
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];
- Specified by:
getErrorCode
in interfaceDeploymentOrBuilder
- Returns:
- The errorCode.
-
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];
- Specified by:
hasDeleteResults
in interfaceDeploymentOrBuilder
- Returns:
- Whether the deleteResults field is set.
-
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];
- Specified by:
getDeleteResults
in interfaceDeploymentOrBuilder
- Returns:
- The deleteResults.
-
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];
- Specified by:
getDeleteResultsOrBuilder
in interfaceDeploymentOrBuilder
-
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];
- Specified by:
getDeleteBuild
in interfaceDeploymentOrBuilder
- Returns:
- The deleteBuild.
-
getDeleteBuildBytes
public com.google.protobuf.ByteString getDeleteBuildBytes()
Output only. Cloud Build instance UUID associated with deleting this deployment.
string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteBuildBytes
in interfaceDeploymentOrBuilder
- Returns:
- 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];
- Specified by:
getDeleteLogs
in interfaceDeploymentOrBuilder
- Returns:
- The deleteLogs.
-
getDeleteLogsBytes
public com.google.protobuf.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];
- Specified by:
getDeleteLogsBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for deleteLogs.
-
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];
- Specified by:
getTfErrorsList
in interfaceDeploymentOrBuilder
-
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];
- Specified by:
getTfErrorsOrBuilderList
in interfaceDeploymentOrBuilder
-
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];
- Specified by:
getTfErrorsCount
in interfaceDeploymentOrBuilder
-
getTfErrors
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];
- Specified by:
getTfErrors
in interfaceDeploymentOrBuilder
-
getTfErrorsOrBuilder
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];
- Specified by:
getTfErrorsOrBuilder
in interfaceDeploymentOrBuilder
-
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];
- Specified by:
getErrorLogs
in interfaceDeploymentOrBuilder
- Returns:
- The errorLogs.
-
getErrorLogsBytes
public com.google.protobuf.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];
- Specified by:
getErrorLogsBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for errorLogs.
-
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];
- Specified by:
hasArtifactsGcsBucket
in interfaceDeploymentOrBuilder
- Returns:
- Whether the artifactsGcsBucket field is set.
-
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];
- Specified by:
getArtifactsGcsBucket
in interfaceDeploymentOrBuilder
- Returns:
- The artifactsGcsBucket.
-
getArtifactsGcsBucketBytes
public com.google.protobuf.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];
- Specified by:
getArtifactsGcsBucketBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for artifactsGcsBucket.
-
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) = { ... }
- Specified by:
hasServiceAccount
in interfaceDeploymentOrBuilder
- Returns:
- Whether the serviceAccount field is set.
-
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) = { ... }
- Specified by:
getServiceAccount
in interfaceDeploymentOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getServiceAccountBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for serviceAccount.
-
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;
- Specified by:
hasImportExistingResources
in interfaceDeploymentOrBuilder
- Returns:
- Whether the importExistingResources field is set.
-
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;
- Specified by:
getImportExistingResources
in interfaceDeploymentOrBuilder
- Returns:
- The importExistingResources.
-
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) = { ... }
- Specified by:
hasWorkerPool
in interfaceDeploymentOrBuilder
- Returns:
- Whether the workerPool field is set.
-
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) = { ... }
- Specified by:
getWorkerPool
in interfaceDeploymentOrBuilder
- Returns:
- The workerPool.
-
getWorkerPoolBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getWorkerPoolBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for workerPool.
-
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];
- Specified by:
getLockStateValue
in interfaceDeploymentOrBuilder
- Returns:
- The enum numeric value on the wire for lockState.
-
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];
- Specified by:
getLockState
in interfaceDeploymentOrBuilder
- Returns:
- The lockState.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Deployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Deployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Deployment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Deployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Deployment.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Deployment.Builder newBuilder()
-
newBuilder
public static Deployment.Builder newBuilder(Deployment prototype)
-
toBuilder
public Deployment.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Deployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Deployment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Deployment> parser()
-
getParserForType
public com.google.protobuf.Parser<Deployment> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Deployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-