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:
  • 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:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getBlueprintCase

      public Preview.BlueprintCase getBlueprintCase()
      Specified by:
      getBlueprintCase in interface PreviewOrBuilder
    • hasTerraformBlueprint

      public boolean hasTerraformBlueprint()
       The terraform blueprint to preview.
       
      .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      Specified by:
      hasTerraformBlueprint in interface PreviewOrBuilder
      Returns:
      Whether the terraformBlueprint field is set.
    • getTerraformBlueprint

      public TerraformBlueprint getTerraformBlueprint()
       The terraform blueprint to preview.
       
      .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      Specified by:
      getTerraformBlueprint in interface PreviewOrBuilder
      Returns:
      The terraformBlueprint.
    • getTerraformBlueprintOrBuilder

      public TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder()
       The terraform blueprint to preview.
       
      .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      Specified by:
      getTerraformBlueprintOrBuilder in interface PreviewOrBuilder
    • getName

      public String 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:
      getName in interface PreviewOrBuilder
      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:
      getNameBytes in interface PreviewOrBuilder
      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:
      hasCreateTime in interface PreviewOrBuilder
      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:
      getCreateTime in interface PreviewOrBuilder
      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:
      getCreateTimeOrBuilder in interface PreviewOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: PreviewOrBuilder
       Optional. User-defined labels for the preview.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface PreviewOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. User-defined labels for the preview.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface PreviewOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface PreviewOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. User-defined labels for the preview.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface PreviewOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels for the preview.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface PreviewOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. User-defined labels for the preview.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface PreviewOrBuilder
    • 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:
      getStateValue in interface PreviewOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Preview.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:
      getState in interface PreviewOrBuilder
      Returns:
      The state.
    • getDeployment

      public String 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:
      getDeployment in interface PreviewOrBuilder
      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:
      getDeploymentBytes in interface PreviewOrBuilder
      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:
      getPreviewModeValue in interface PreviewOrBuilder
      Returns:
      The enum numeric value on the wire for previewMode.
    • getPreviewMode

      public Preview.PreviewMode getPreviewMode()
       Optional. Current mode of preview.
       
      .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPreviewMode in interface PreviewOrBuilder
      Returns:
      The previewMode.
    • getServiceAccount

      public String 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:
      getServiceAccount in interface PreviewOrBuilder
      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:
      getServiceAccountBytes in interface PreviewOrBuilder
      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:
      hasArtifactsGcsBucket in interface PreviewOrBuilder
      Returns:
      Whether the artifactsGcsBucket field is set.
    • getArtifactsGcsBucket

      public String 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:
      getArtifactsGcsBucket in interface PreviewOrBuilder
      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:
      getArtifactsGcsBucketBytes in interface PreviewOrBuilder
      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:
      hasWorkerPool in interface PreviewOrBuilder
      Returns:
      Whether the workerPool field is set.
    • getWorkerPool

      public String 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:
      getWorkerPool in interface PreviewOrBuilder
      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:
      getWorkerPoolBytes in interface PreviewOrBuilder
      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:
      getErrorCodeValue in interface PreviewOrBuilder
      Returns:
      The enum numeric value on the wire for errorCode.
    • getErrorCode

      public Preview.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:
      getErrorCode in interface PreviewOrBuilder
      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:
      hasErrorStatus in interface PreviewOrBuilder
      Returns:
      Whether the errorStatus field is set.
    • getErrorStatus

      public Status getErrorStatus()
       Output only. Additional information regarding the current state.
       
      .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorStatus in interface PreviewOrBuilder
      Returns:
      The errorStatus.
    • getErrorStatusOrBuilder

      public StatusOrBuilder getErrorStatusOrBuilder()
       Output only. Additional information regarding the current state.
       
      .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorStatusOrBuilder in interface PreviewOrBuilder
    • getBuild

      public String getBuild()
       Output only. Cloud Build instance UUID associated with this preview.
       
      string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBuild in interface PreviewOrBuilder
      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:
      getBuildBytes in interface PreviewOrBuilder
      Returns:
      The bytes for build.
    • getTfErrorsList

      public List<TerraformError> 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:
      getTfErrorsList in interface PreviewOrBuilder
    • getTfErrorsOrBuilderList

      public List<? extends TerraformErrorOrBuilder> 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:
      getTfErrorsOrBuilderList in interface PreviewOrBuilder
    • 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:
      getTfErrorsCount in interface PreviewOrBuilder
    • getTfErrors

      public TerraformError getTfErrors(int index)
       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:
      getTfErrors in interface PreviewOrBuilder
    • getTfErrorsOrBuilder

      public TerraformErrorOrBuilder getTfErrorsOrBuilder(int index)
       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:
      getTfErrorsOrBuilder in interface PreviewOrBuilder
    • getErrorLogs

      public String 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:
      getErrorLogs in interface PreviewOrBuilder
      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:
      getErrorLogsBytes in interface PreviewOrBuilder
      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:
      hasPreviewArtifacts in interface PreviewOrBuilder
      Returns:
      Whether the previewArtifacts field is set.
    • getPreviewArtifacts

      public PreviewArtifacts getPreviewArtifacts()
       Output only. Artifacts from preview.
       
      .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPreviewArtifacts in interface PreviewOrBuilder
      Returns:
      The previewArtifacts.
    • getPreviewArtifactsOrBuilder

      public PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder()
       Output only. Artifacts from preview.
       
      .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPreviewArtifactsOrBuilder in interface PreviewOrBuilder
    • getLogs

      public String getLogs()
       Output only. Location of preview logs in `gs://{bucket}/{object}` format.
       
      string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLogs in interface PreviewOrBuilder
      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:
      getLogsBytes in interface PreviewOrBuilder
      Returns:
      The bytes for logs.
    • getTfVersion

      public String 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:
      getTfVersion in interface PreviewOrBuilder
      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:
      getTfVersionBytes in interface PreviewOrBuilder
      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:
      hasTfVersionConstraint in interface PreviewOrBuilder
      Returns:
      Whether the tfVersionConstraint field is set.
    • getTfVersionConstraint

      public String 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:
      getTfVersionConstraint in interface PreviewOrBuilder
      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:
      getTfVersionConstraintBytes in interface PreviewOrBuilder
      Returns:
      The bytes for tfVersionConstraint.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: PreviewOrBuilder
       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:
      getAnnotationsCount in interface PreviewOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       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:
      containsAnnotations in interface PreviewOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface PreviewOrBuilder
    • getAnnotationsMap

      public Map<String,String> 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:
      getAnnotationsMap in interface PreviewOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       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:
      getAnnotationsOrDefault in interface PreviewOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       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:
      getAnnotationsOrThrow in interface PreviewOrBuilder
    • 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:
      hasProviderConfig in interface PreviewOrBuilder
      Returns:
      Whether the providerConfig field is set.
    • getProviderConfig

      public ProviderConfig getProviderConfig()
       Optional. This field specifies the provider configurations.
       
      .google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProviderConfig in interface PreviewOrBuilder
      Returns:
      The providerConfig.
    • getProviderConfigOrBuilder

      public ProviderConfigOrBuilder getProviderConfigOrBuilder()
       Optional. This field specifies the provider configurations.
       
      .google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProviderConfigOrBuilder in interface PreviewOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Preview parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Preview parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Preview parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Preview parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Preview parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Preview parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Preview.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Preview.Builder newBuilder()
    • newBuilder

      public static Preview.Builder newBuilder(Preview prototype)
    • toBuilder

      public Preview.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Preview.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Preview getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Preview> parser()
    • getParserForType

      public com.google.protobuf.Parser<Preview> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Preview getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder