Class Preview.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Preview.Builder>
com.google.cloud.config.v1.Preview.Builder
All Implemented Interfaces:
PreviewOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Preview

public static final class Preview.Builder extends com.google.protobuf.GeneratedMessage.Builder<Preview.Builder> 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
  • 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.Builder<Preview.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Preview.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Preview.Builder>
    • clear

      public Preview.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Preview.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Preview.Builder>
    • getDefaultInstanceForType

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

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

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

      public Preview.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Preview.Builder>
    • mergeFrom

      public Preview.Builder mergeFrom(Preview other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Preview.Builder>
    • mergeFrom

      public Preview.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Preview.Builder>
      Throws:
      IOException
    • getBlueprintCase

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

      public Preview.Builder clearBlueprint()
    • 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.
    • setTerraformBlueprint

      public Preview.Builder setTerraformBlueprint(TerraformBlueprint value)
       The terraform blueprint to preview.
       
      .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
    • setTerraformBlueprint

      public Preview.Builder setTerraformBlueprint(TerraformBlueprint.Builder builderForValue)
       The terraform blueprint to preview.
       
      .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
    • mergeTerraformBlueprint

      public Preview.Builder mergeTerraformBlueprint(TerraformBlueprint value)
       The terraform blueprint to preview.
       
      .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
    • clearTerraformBlueprint

      public Preview.Builder clearTerraformBlueprint()
       The terraform blueprint to preview.
       
      .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
    • getTerraformBlueprintBuilder

      public TerraformBlueprint.Builder getTerraformBlueprintBuilder()
       The terraform blueprint to preview.
       
      .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
    • 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.
    • setName

      public Preview.Builder setName(String value)
       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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Preview.Builder clearName()
       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];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Preview.Builder setNameBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setCreateTime

      public Preview.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time the preview was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Preview.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time the preview was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Preview.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time the preview was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Preview.Builder clearCreateTime()
       Output only. Time the preview was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time the preview was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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
    • clearLabels

      public Preview.Builder clearLabels()
    • removeLabels

      public Preview.Builder removeLabels(String key)
       Optional. User-defined labels for the preview.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Preview.Builder putLabels(String key, String value)
       Optional. User-defined labels for the preview.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Preview.Builder putAllLabels(Map<String,String> values)
       Optional. User-defined labels for the preview.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • 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.
    • setStateValue

      public Preview.Builder setStateValue(int value)
       Output only. Current state of the preview.
       
      .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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.
    • setState

      public Preview.Builder setState(Preview.State value)
       Output only. Current state of the preview.
       
      .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Preview.Builder clearState()
       Output only. Current state of the preview.
       
      .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setDeployment

      public Preview.Builder setDeployment(String value)
       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) = { ... }
      Parameters:
      value - The deployment to set.
      Returns:
      This builder for chaining.
    • clearDeployment

      public Preview.Builder clearDeployment()
       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) = { ... }
      Returns:
      This builder for chaining.
    • setDeploymentBytes

      public Preview.Builder setDeploymentBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for deployment to set.
      Returns:
      This builder for chaining.
    • 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.
    • setPreviewModeValue

      public Preview.Builder setPreviewModeValue(int value)
       Optional. Current mode of preview.
       
      .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for previewMode to set.
      Returns:
      This builder for chaining.
    • 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.
    • setPreviewMode

      public Preview.Builder setPreviewMode(Preview.PreviewMode value)
       Optional. Current mode of preview.
       
      .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The previewMode to set.
      Returns:
      This builder for chaining.
    • clearPreviewMode

      public Preview.Builder clearPreviewMode()
       Optional. Current mode of preview.
       
      .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • 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.
    • setServiceAccount

      public Preview.Builder setServiceAccount(String value)
       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) = { ... }
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      public Preview.Builder clearServiceAccount()
       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) = { ... }
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      public Preview.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.
    • 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.
    • setArtifactsGcsBucket

      public Preview.Builder setArtifactsGcsBucket(String value)
       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];
      Parameters:
      value - The artifactsGcsBucket to set.
      Returns:
      This builder for chaining.
    • clearArtifactsGcsBucket

      public Preview.Builder clearArtifactsGcsBucket()
       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];
      Returns:
      This builder for chaining.
    • setArtifactsGcsBucketBytes

      public Preview.Builder setArtifactsGcsBucketBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for artifactsGcsBucket to set.
      Returns:
      This builder for chaining.
    • 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.
    • setWorkerPool

      public Preview.Builder setWorkerPool(String value)
       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) = { ... }
      Parameters:
      value - The workerPool to set.
      Returns:
      This builder for chaining.
    • clearWorkerPool

      public Preview.Builder clearWorkerPool()
       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) = { ... }
      Returns:
      This builder for chaining.
    • setWorkerPoolBytes

      public Preview.Builder setWorkerPoolBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for workerPool to set.
      Returns:
      This builder for chaining.
    • 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.
    • setErrorCodeValue

      public Preview.Builder setErrorCodeValue(int value)
       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];
      Parameters:
      value - The enum numeric value on the wire for errorCode to set.
      Returns:
      This builder for chaining.
    • 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.
    • setErrorCode

      public Preview.Builder setErrorCode(Preview.ErrorCode value)
       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];
      Parameters:
      value - The errorCode to set.
      Returns:
      This builder for chaining.
    • clearErrorCode

      public Preview.Builder clearErrorCode()
       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];
      Returns:
      This builder for chaining.
    • 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.
    • setErrorStatus

      public Preview.Builder setErrorStatus(Status value)
       Output only. Additional information regarding the current state.
       
      .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setErrorStatus

      public Preview.Builder setErrorStatus(Status.Builder builderForValue)
       Output only. Additional information regarding the current state.
       
      .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeErrorStatus

      public Preview.Builder mergeErrorStatus(Status value)
       Output only. Additional information regarding the current state.
       
      .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearErrorStatus

      public Preview.Builder clearErrorStatus()
       Output only. Additional information regarding the current state.
       
      .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorStatusBuilder

      public Status.Builder getErrorStatusBuilder()
       Output only. Additional information regarding the current state.
       
      .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setBuild

      public Preview.Builder setBuild(String value)
       Output only. Cloud Build instance UUID associated with this preview.
       
      string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The build to set.
      Returns:
      This builder for chaining.
    • clearBuild

      public Preview.Builder clearBuild()
       Output only. Cloud Build instance UUID associated with this preview.
       
      string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setBuildBytes

      public Preview.Builder setBuildBytes(com.google.protobuf.ByteString value)
       Output only. Cloud Build instance UUID associated with this preview.
       
      string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for build to set.
      Returns:
      This builder for chaining.
    • 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
    • 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
    • setTfErrors

      public Preview.Builder setTfErrors(int index, TerraformError value)
       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];
    • setTfErrors

      public Preview.Builder setTfErrors(int index, TerraformError.Builder builderForValue)
       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];
    • addTfErrors

      public Preview.Builder addTfErrors(TerraformError value)
       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];
    • addTfErrors

      public Preview.Builder addTfErrors(int index, TerraformError value)
       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];
    • addTfErrors

      public Preview.Builder addTfErrors(TerraformError.Builder builderForValue)
       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];
    • addTfErrors

      public Preview.Builder addTfErrors(int index, TerraformError.Builder builderForValue)
       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];
    • addAllTfErrors

      public Preview.Builder addAllTfErrors(Iterable<? extends TerraformError> values)
       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];
    • clearTfErrors

      public Preview.Builder clearTfErrors()
       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];
    • removeTfErrors

      public Preview.Builder removeTfErrors(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];
    • getTfErrorsBuilder

      public TerraformError.Builder getTfErrorsBuilder(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];
    • 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
    • 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
    • addTfErrorsBuilder

      public TerraformError.Builder addTfErrorsBuilder()
       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];
    • addTfErrorsBuilder

      public TerraformError.Builder addTfErrorsBuilder(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];
    • getTfErrorsBuilderList

      public List<TerraformError.Builder> getTfErrorsBuilderList()
       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];
    • 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.
    • setErrorLogs

      public Preview.Builder setErrorLogs(String value)
       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];
      Parameters:
      value - The errorLogs to set.
      Returns:
      This builder for chaining.
    • clearErrorLogs

      public Preview.Builder clearErrorLogs()
       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];
      Returns:
      This builder for chaining.
    • setErrorLogsBytes

      public Preview.Builder setErrorLogsBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for errorLogs to set.
      Returns:
      This builder for chaining.
    • 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.
    • setPreviewArtifacts

      public Preview.Builder setPreviewArtifacts(PreviewArtifacts value)
       Output only. Artifacts from preview.
       
      .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPreviewArtifacts

      public Preview.Builder setPreviewArtifacts(PreviewArtifacts.Builder builderForValue)
       Output only. Artifacts from preview.
       
      .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePreviewArtifacts

      public Preview.Builder mergePreviewArtifacts(PreviewArtifacts value)
       Output only. Artifacts from preview.
       
      .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPreviewArtifacts

      public Preview.Builder clearPreviewArtifacts()
       Output only. Artifacts from preview.
       
      .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPreviewArtifactsBuilder

      public PreviewArtifacts.Builder getPreviewArtifactsBuilder()
       Output only. Artifacts from preview.
       
      .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setLogs

      public Preview.Builder setLogs(String value)
       Output only. Location of preview logs in `gs://{bucket}/{object}` format.
       
      string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The logs to set.
      Returns:
      This builder for chaining.
    • clearLogs

      public Preview.Builder clearLogs()
       Output only. Location of preview logs in `gs://{bucket}/{object}` format.
       
      string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLogsBytes

      public Preview.Builder setLogsBytes(com.google.protobuf.ByteString value)
       Output only. Location of preview logs in `gs://{bucket}/{object}` format.
       
      string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for logs to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTfVersion

      public Preview.Builder setTfVersion(String value)
       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];
      Parameters:
      value - The tfVersion to set.
      Returns:
      This builder for chaining.
    • clearTfVersion

      public Preview.Builder clearTfVersion()
       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];
      Returns:
      This builder for chaining.
    • setTfVersionBytes

      public Preview.Builder setTfVersionBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for tfVersion to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTfVersionConstraint

      public Preview.Builder setTfVersionConstraint(String value)
       Optional. The user-specified Terraform version constraint.
       Example: "=1.3.10".
       
      optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The tfVersionConstraint to set.
      Returns:
      This builder for chaining.
    • clearTfVersionConstraint

      public Preview.Builder clearTfVersionConstraint()
       Optional. The user-specified Terraform version constraint.
       Example: "=1.3.10".
       
      optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTfVersionConstraintBytes

      public Preview.Builder setTfVersionConstraintBytes(com.google.protobuf.ByteString value)
       Optional. The user-specified Terraform version constraint.
       Example: "=1.3.10".
       
      optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for tfVersionConstraint to set.
      Returns:
      This builder for chaining.
    • 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
    • clearAnnotations

      public Preview.Builder clearAnnotations()
    • removeAnnotations

      public Preview.Builder removeAnnotations(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];
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public Preview.Builder putAnnotations(String key, String value)
       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];
    • putAllAnnotations

      public Preview.Builder putAllAnnotations(Map<String,String> values)
       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];
    • 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.
    • setProviderConfig

      public Preview.Builder setProviderConfig(ProviderConfig value)
       Optional. This field specifies the provider configurations.
       
      .google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • setProviderConfig

      public Preview.Builder setProviderConfig(ProviderConfig.Builder builderForValue)
       Optional. This field specifies the provider configurations.
       
      .google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • mergeProviderConfig

      public Preview.Builder mergeProviderConfig(ProviderConfig value)
       Optional. This field specifies the provider configurations.
       
      .google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • clearProviderConfig

      public Preview.Builder clearProviderConfig()
       Optional. This field specifies the provider configurations.
       
      .google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getProviderConfigBuilder

      public ProviderConfig.Builder getProviderConfigBuilder()
       Optional. This field specifies the provider configurations.
       
      .google.cloud.config.v1.ProviderConfig provider_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • 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