Package com.google.cloud.config.v1
Class Preview
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.config.v1.Preview
- All Implemented Interfaces:
PreviewOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Preview
extends com.google.protobuf.GeneratedMessage
implements PreviewOrBuilder
A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration.Protobuf type
google.cloud.config.v1.Preview- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classA preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration.static enumPossible errors that can occur with previews.static enumPreview mode provides options for customizing preview operations.static enumPossible states of a preview.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Optional.booleanDeprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.getBuild()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static PreviewOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getLogs()Output only.com.google.protobuf.ByteStringOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<Preview>Output only.Output only.Optional.intOptional.Optional.Optional.intRequired.com.google.protobuf.ByteStringRequired.getState()Output only.intOutput only.The terraform blueprint to preview.The terraform blueprint to preview.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.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOptional.booleanThe terraform blueprint to preview.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Preview.Builderstatic Preview.BuildernewBuilder(Preview prototype) protected Preview.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PreviewparseDelimitedFrom(InputStream input) static PreviewparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreviewparseFrom(byte[] data) static PreviewparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreviewparseFrom(com.google.protobuf.ByteString data) static PreviewparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreviewparseFrom(com.google.protobuf.CodedInputStream input) static PreviewparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreviewparseFrom(InputStream input) static PreviewparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreviewparseFrom(ByteBuffer data) static PreviewparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Preview>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TERRAFORM_BLUEPRINT_FIELD_NUMBER
public static final int TERRAFORM_BLUEPRINT_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
DEPLOYMENT_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER- See Also:
-
PREVIEW_MODE_FIELD_NUMBER
public static final int PREVIEW_MODE_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
ARTIFACTS_GCS_BUCKET_FIELD_NUMBER
public static final int ARTIFACTS_GCS_BUCKET_FIELD_NUMBER- See Also:
-
WORKER_POOL_FIELD_NUMBER
public static final int WORKER_POOL_FIELD_NUMBER- See Also:
-
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER- See Also:
-
ERROR_STATUS_FIELD_NUMBER
public static final int ERROR_STATUS_FIELD_NUMBER- See Also:
-
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER- See Also:
-
TF_ERRORS_FIELD_NUMBER
public static final int TF_ERRORS_FIELD_NUMBER- See Also:
-
ERROR_LOGS_FIELD_NUMBER
public static final int ERROR_LOGS_FIELD_NUMBER- See Also:
-
PREVIEW_ARTIFACTS_FIELD_NUMBER
public static final int PREVIEW_ARTIFACTS_FIELD_NUMBER- See Also:
-
LOGS_FIELD_NUMBER
public static final int LOGS_FIELD_NUMBER- See Also:
-
TF_VERSION_FIELD_NUMBER
public static final int TF_VERSION_FIELD_NUMBER- See Also:
-
TF_VERSION_CONSTRAINT_FIELD_NUMBER
public static final int TF_VERSION_CONSTRAINT_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
PROVIDER_CONFIG_FIELD_NUMBER
public static final int PROVIDER_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getBlueprintCase
- Specified by:
getBlueprintCasein interfacePreviewOrBuilder
-
hasTerraformBlueprint
public boolean hasTerraformBlueprint()The terraform blueprint to preview.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;- Specified by:
hasTerraformBlueprintin interfacePreviewOrBuilder- Returns:
- Whether the terraformBlueprint field is set.
-
getTerraformBlueprint
The terraform blueprint to preview.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;- Specified by:
getTerraformBlueprintin interfacePreviewOrBuilder- Returns:
- The terraformBlueprint.
-
getTerraformBlueprintOrBuilder
The terraform blueprint to preview.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;- Specified by:
getTerraformBlueprintOrBuilderin interfacePreviewOrBuilder
-
getName
Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfacePreviewOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfacePreviewOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()Output only. Time the preview was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfacePreviewOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time the preview was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfacePreviewOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time the preview was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfacePreviewOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:PreviewOrBuilderOptional. User-defined labels for the preview.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfacePreviewOrBuilder
-
containsLabels
Optional. User-defined labels for the preview.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfacePreviewOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfacePreviewOrBuilder
-
getLabelsMap
Optional. User-defined labels for the preview.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfacePreviewOrBuilder
-
getLabelsOrDefault
Optional. User-defined labels for the preview.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfacePreviewOrBuilder
-
getLabelsOrThrow
Optional. User-defined labels for the preview.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfacePreviewOrBuilder
-
getStateValue
public int getStateValue()Output only. Current state of the preview.
.google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfacePreviewOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. Current state of the preview.
.google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfacePreviewOrBuilder- Returns:
- The state.
-
getDeployment
Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request.
string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getDeploymentin interfacePreviewOrBuilder- Returns:
- The deployment.
-
getDeploymentBytes
public com.google.protobuf.ByteString getDeploymentBytes()Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request.
string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getDeploymentBytesin interfacePreviewOrBuilder- Returns:
- The bytes for deployment.
-
getPreviewModeValue
public int getPreviewModeValue()Optional. Current mode of preview.
.google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPreviewModeValuein interfacePreviewOrBuilder- Returns:
- The enum numeric value on the wire for previewMode.
-
getPreviewMode
Optional. Current mode of preview.
.google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPreviewModein interfacePreviewOrBuilder- Returns:
- The previewMode.
-
getServiceAccount
Required. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`string service_account = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountin interfacePreviewOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()Required. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`string service_account = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountBytesin interfacePreviewOrBuilder- Returns:
- The bytes for serviceAccount.
-
hasArtifactsGcsBucket
public boolean hasArtifactsGcsBucket()Optional. User-defined location of Cloud Build logs, artifacts, and 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` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used.optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasArtifactsGcsBucketin interfacePreviewOrBuilder- Returns:
- Whether the artifactsGcsBucket field is set.
-
getArtifactsGcsBucket
Optional. User-defined location of Cloud Build logs, artifacts, and 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` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used.optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArtifactsGcsBucketin interfacePreviewOrBuilder- Returns:
- The artifactsGcsBucket.
-
getArtifactsGcsBucketBytes
public com.google.protobuf.ByteString getArtifactsGcsBucketBytes()Optional. User-defined location of Cloud Build logs, artifacts, and 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` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used.optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArtifactsGcsBucketBytesin interfacePreviewOrBuilder- Returns:
- The bytes for artifactsGcsBucket.
-
hasWorkerPool
public boolean hasWorkerPool()Optional. The user-specified 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. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used.optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
hasWorkerPoolin interfacePreviewOrBuilder- Returns:
- Whether the workerPool field is set.
-
getWorkerPool
Optional. The user-specified 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. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used.optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getWorkerPoolin interfacePreviewOrBuilder- Returns:
- The workerPool.
-
getWorkerPoolBytes
public com.google.protobuf.ByteString getWorkerPoolBytes()Optional. The user-specified 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. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used.optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getWorkerPoolBytesin interfacePreviewOrBuilder- Returns:
- The bytes for workerPool.
-
getErrorCodeValue
public int getErrorCodeValue()Output only. Code describing any errors that may have occurred.
.google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorCodeValuein interfacePreviewOrBuilder- Returns:
- The enum numeric value on the wire for errorCode.
-
getErrorCode
Output only. Code describing any errors that may have occurred.
.google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorCodein interfacePreviewOrBuilder- Returns:
- The errorCode.
-
hasErrorStatus
public boolean hasErrorStatus()Output only. Additional information regarding the current state.
.google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorStatusin interfacePreviewOrBuilder- Returns:
- Whether the errorStatus field is set.
-
getErrorStatus
Output only. Additional information regarding the current state.
.google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorStatusin interfacePreviewOrBuilder- Returns:
- The errorStatus.
-
getErrorStatusOrBuilder
Output only. Additional information regarding the current state.
.google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorStatusOrBuilderin interfacePreviewOrBuilder
-
getBuild
Output only. Cloud Build instance UUID associated with this preview.
string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBuildin interfacePreviewOrBuilder- Returns:
- The build.
-
getBuildBytes
public com.google.protobuf.ByteString getBuildBytes()Output only. Cloud Build instance UUID associated with this preview.
string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBuildBytesin interfacePreviewOrBuilder- Returns:
- The bytes for build.
-
getTfErrorsList
Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsListin interfacePreviewOrBuilder
-
getTfErrorsOrBuilderList
Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsOrBuilderListin interfacePreviewOrBuilder
-
getTfErrorsCount
public int getTfErrorsCount()Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsCountin interfacePreviewOrBuilder
-
getTfErrors
Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsin interfacePreviewOrBuilder
-
getTfErrorsOrBuilder
Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsOrBuilderin interfacePreviewOrBuilder
-
getErrorLogs
Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`.string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorLogsin interfacePreviewOrBuilder- Returns:
- The errorLogs.
-
getErrorLogsBytes
public com.google.protobuf.ByteString getErrorLogsBytes()Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`.string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorLogsBytesin interfacePreviewOrBuilder- Returns:
- The bytes for errorLogs.
-
hasPreviewArtifacts
public boolean hasPreviewArtifacts()Output only. Artifacts from preview.
.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPreviewArtifactsin interfacePreviewOrBuilder- Returns:
- Whether the previewArtifacts field is set.
-
getPreviewArtifacts
Output only. Artifacts from preview.
.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPreviewArtifactsin interfacePreviewOrBuilder- Returns:
- The previewArtifacts.
-
getPreviewArtifactsOrBuilder
Output only. Artifacts from preview.
.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPreviewArtifactsOrBuilderin interfacePreviewOrBuilder
-
getLogs
Output only. Location of preview logs in `gs://{bucket}/{object}` format.string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogsin interfacePreviewOrBuilder- Returns:
- The logs.
-
getLogsBytes
public com.google.protobuf.ByteString getLogsBytes()Output only. Location of preview logs in `gs://{bucket}/{object}` format.string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogsBytesin interfacePreviewOrBuilder- Returns:
- The bytes for logs.
-
getTfVersion
Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10".
string tf_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfVersionin interfacePreviewOrBuilder- Returns:
- The tfVersion.
-
getTfVersionBytes
public com.google.protobuf.ByteString getTfVersionBytes()Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10".
string tf_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfVersionBytesin interfacePreviewOrBuilder- Returns:
- The bytes for tfVersion.
-
hasTfVersionConstraint
public boolean hasTfVersionConstraint()Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTfVersionConstraintin interfacePreviewOrBuilder- Returns:
- Whether the tfVersionConstraint field is set.
-
getTfVersionConstraint
Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTfVersionConstraintin interfacePreviewOrBuilder- Returns:
- The tfVersionConstraint.
-
getTfVersionConstraintBytes
public com.google.protobuf.ByteString getTfVersionConstraintBytes()Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTfVersionConstraintBytesin interfacePreviewOrBuilder- Returns:
- The bytes for tfVersionConstraint.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:PreviewOrBuilderOptional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfacePreviewOrBuilder
-
containsAnnotations
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfacePreviewOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfacePreviewOrBuilder
-
getAnnotationsMap
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfacePreviewOrBuilder
-
getAnnotationsOrDefault
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfacePreviewOrBuilder
-
getAnnotationsOrThrow
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfacePreviewOrBuilder
-
hasProviderConfig
public boolean hasProviderConfig()Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasProviderConfigin interfacePreviewOrBuilder- Returns:
- Whether the providerConfig field is set.
-
getProviderConfig
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProviderConfigin interfacePreviewOrBuilder- Returns:
- The providerConfig.
-
getProviderConfigOrBuilder
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProviderConfigOrBuilderin interfacePreviewOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Preview parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Preview parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Preview parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Preview parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Preview parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Preview parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Preview parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Preview parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Preview parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Preview.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-