Class ExportIaCConfig (0.3.0)

public final class ExportIaCConfig extends GeneratedMessage implements ExportIaCConfigOrBuilder

Configuration for exporting a resource as IAC.

Protobuf type google.cloud.designcenter.v1.ExportIaCConfig

Static Fields

IAC_FORMAT_FIELD_NUMBER

public static final int IAC_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

TF_CONFIG_FIELD_NUMBER

public static final int TF_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportIaCConfig getDefaultInstance()
Returns
Type Description
ExportIaCConfig

getDescriptor()

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

newBuilder()

public static ExportIaCConfig.Builder newBuilder()
Returns
Type Description
ExportIaCConfig.Builder

newBuilder(ExportIaCConfig prototype)

public static ExportIaCConfig.Builder newBuilder(ExportIaCConfig prototype)
Parameter
Name Description
prototype ExportIaCConfig
Returns
Type Description
ExportIaCConfig.Builder

parseDelimitedFrom(InputStream input)

public static ExportIaCConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportIaCConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportIaCConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportIaCConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportIaCConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportIaCConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportIaCConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportIaCConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportIaCConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportIaCConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportIaCConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportIaCConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportIaCConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportIaCConfig> parser()
Returns
Type Description
Parser<ExportIaCConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfigPayloadCase()

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

getDefaultInstanceForType()

public ExportIaCConfig getDefaultInstanceForType()
Returns
Type Description
ExportIaCConfig

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.

getParserForType()

public Parser<ExportIaCConfig> getParserForType()
Returns
Type Description
Parser<ExportIaCConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExportIaCConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportIaCConfig.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException