Class ExportIaCConfig.Builder (0.3.0)

public static final class ExportIaCConfig.Builder extends GeneratedMessage.Builder<ExportIaCConfig.Builder> implements ExportIaCConfigOrBuilder

Configuration for exporting a resource as IAC.

Protobuf type google.cloud.designcenter.v1.ExportIaCConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ExportIaCConfig build()
Returns
Type Description
ExportIaCConfig

buildPartial()

public ExportIaCConfig buildPartial()
Returns
Type Description
ExportIaCConfig

clear()

public ExportIaCConfig.Builder clear()
Returns
Type Description
ExportIaCConfig.Builder
Overrides

clearConfigPayload()

public ExportIaCConfig.Builder clearConfigPayload()
Returns
Type Description
ExportIaCConfig.Builder

clearIacFormat()

public ExportIaCConfig.Builder clearIacFormat()

Optional. IaC format of the export. Default is [IACFormat.TERRAFORM].

.google.cloud.designcenter.v1.IACFormat iac_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportIaCConfig.Builder

This builder for chaining.

clearTfConfig()

public ExportIaCConfig.Builder clearTfConfig()

Optional. Configuration on how to handle terraform IaC export.

.google.cloud.designcenter.v1.TerraformConfig tf_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportIaCConfig.Builder

getConfigPayloadCase()

public ExportIaCConfig.ConfigPayloadCase getConfigPayloadCase()
Returns
Type Description
ExportIaCConfig.ConfigPayloadCase

getDefaultInstanceForType()

public ExportIaCConfig getDefaultInstanceForType()
Returns
Type Description
ExportIaCConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIacFormat()

public IACFormat getIacFormat()

Optional. IaC format of the export. Default is [IACFormat.TERRAFORM].

.google.cloud.designcenter.v1.IACFormat iac_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IACFormat

The iacFormat.

getIacFormatValue()

public int getIacFormatValue()

Optional. IaC format of the export. Default is [IACFormat.TERRAFORM].

.google.cloud.designcenter.v1.IACFormat iac_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for iacFormat.

getTfConfig()

public TerraformConfig getTfConfig()

Optional. Configuration on how to handle terraform IaC export.

.google.cloud.designcenter.v1.TerraformConfig tf_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformConfig

The tfConfig.

getTfConfigBuilder()

public TerraformConfig.Builder getTfConfigBuilder()

Optional. Configuration on how to handle terraform IaC export.

.google.cloud.designcenter.v1.TerraformConfig tf_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformConfig.Builder

getTfConfigOrBuilder()

public TerraformConfigOrBuilder getTfConfigOrBuilder()

Optional. Configuration on how to handle terraform IaC export.

.google.cloud.designcenter.v1.TerraformConfig tf_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformConfigOrBuilder

hasTfConfig()

public boolean hasTfConfig()

Optional. Configuration on how to handle terraform IaC export.

.google.cloud.designcenter.v1.TerraformConfig tf_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tfConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportIaCConfig other)

public ExportIaCConfig.Builder mergeFrom(ExportIaCConfig other)
Parameter
Name Description
other ExportIaCConfig
Returns
Type Description
ExportIaCConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportIaCConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportIaCConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportIaCConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportIaCConfig.Builder
Overrides

mergeTfConfig(TerraformConfig value)

public ExportIaCConfig.Builder mergeTfConfig(TerraformConfig value)

Optional. Configuration on how to handle terraform IaC export.

.google.cloud.designcenter.v1.TerraformConfig tf_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TerraformConfig
Returns
Type Description
ExportIaCConfig.Builder

setIacFormat(IACFormat value)

public ExportIaCConfig.Builder setIacFormat(IACFormat value)

Optional. IaC format of the export. Default is [IACFormat.TERRAFORM].

.google.cloud.designcenter.v1.IACFormat iac_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IACFormat

The iacFormat to set.

Returns
Type Description
ExportIaCConfig.Builder

This builder for chaining.

setIacFormatValue(int value)

public ExportIaCConfig.Builder setIacFormatValue(int value)

Optional. IaC format of the export. Default is [IACFormat.TERRAFORM].

.google.cloud.designcenter.v1.IACFormat iac_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for iacFormat to set.

Returns
Type Description
ExportIaCConfig.Builder

This builder for chaining.

setTfConfig(TerraformConfig value)

public ExportIaCConfig.Builder setTfConfig(TerraformConfig value)

Optional. Configuration on how to handle terraform IaC export.

.google.cloud.designcenter.v1.TerraformConfig tf_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TerraformConfig
Returns
Type Description
ExportIaCConfig.Builder

setTfConfig(TerraformConfig.Builder builderForValue)

public ExportIaCConfig.Builder setTfConfig(TerraformConfig.Builder builderForValue)

Optional. Configuration on how to handle terraform IaC export.

.google.cloud.designcenter.v1.TerraformConfig tf_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue TerraformConfig.Builder
Returns
Type Description
ExportIaCConfig.Builder