Class ExportApplicationIaCRequest.Builder (0.3.0)

public static final class ExportApplicationIaCRequest.Builder extends GeneratedMessage.Builder<ExportApplicationIaCRequest.Builder> implements ExportApplicationIaCRequestOrBuilder

Request message for ExportApplicationIaC method.

Protobuf type google.cloud.designcenter.v1.ExportApplicationIaCRequest

Static Methods

getDescriptor()

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

Methods

build()

public ExportApplicationIaCRequest build()
Returns
Type Description
ExportApplicationIaCRequest

buildPartial()

public ExportApplicationIaCRequest buildPartial()
Returns
Type Description
ExportApplicationIaCRequest

clear()

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

clearArtifactLocation()

public ExportApplicationIaCRequest.Builder clearArtifactLocation()

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportApplicationIaCRequest.Builder

clearExportIacConfig()

public ExportApplicationIaCRequest.Builder clearExportIacConfig()

Optional. Configuration for exporting IaC.

.google.cloud.designcenter.v1.ExportIaCConfig export_iac_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportApplicationIaCRequest.Builder

clearIacFormat()

public ExportApplicationIaCRequest.Builder clearIacFormat()

Optional. The IaC format to generate.

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

Returns
Type Description
ExportApplicationIaCRequest.Builder

This builder for chaining.

clearName()

public ExportApplicationIaCRequest.Builder clearName()

Required. The name of the application.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ExportApplicationIaCRequest.Builder

This builder for chaining.

getArtifactLocation()

public ArtifactLocation getArtifactLocation()

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ArtifactLocation

The artifactLocation.

getArtifactLocationBuilder()

public ArtifactLocation.Builder getArtifactLocationBuilder()

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ArtifactLocation.Builder

getArtifactLocationOrBuilder()

public ArtifactLocationOrBuilder getArtifactLocationOrBuilder()

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ArtifactLocationOrBuilder

getDefaultInstanceForType()

public ExportApplicationIaCRequest getDefaultInstanceForType()
Returns
Type Description
ExportApplicationIaCRequest

getDescriptorForType()

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

getExportIacConfig()

public ExportIaCConfig getExportIacConfig()

Optional. Configuration for exporting IaC.

.google.cloud.designcenter.v1.ExportIaCConfig export_iac_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportIaCConfig

The exportIacConfig.

getExportIacConfigBuilder()

public ExportIaCConfig.Builder getExportIacConfigBuilder()

Optional. Configuration for exporting IaC.

.google.cloud.designcenter.v1.ExportIaCConfig export_iac_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportIaCConfig.Builder

getExportIacConfigOrBuilder()

public ExportIaCConfigOrBuilder getExportIacConfigOrBuilder()

Optional. Configuration for exporting IaC.

.google.cloud.designcenter.v1.ExportIaCConfig export_iac_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportIaCConfigOrBuilder

getIacFormat()

public IACFormat getIacFormat()

Optional. The IaC format to generate.

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

Returns
Type Description
IACFormat

The iacFormat.

getIacFormatValue()

public int getIacFormatValue()

Optional. The IaC format to generate.

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

Returns
Type Description
int

The enum numeric value on the wire for iacFormat.

getName()

public String getName()

Required. The name of the application.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the application.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasArtifactLocation()

public boolean hasArtifactLocation()

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the artifactLocation field is set.

hasExportIacConfig()

public boolean hasExportIacConfig()

Optional. Configuration for exporting IaC.

.google.cloud.designcenter.v1.ExportIaCConfig export_iac_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the exportIacConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeArtifactLocation(ArtifactLocation value)

public ExportApplicationIaCRequest.Builder mergeArtifactLocation(ArtifactLocation value)

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ArtifactLocation
Returns
Type Description
ExportApplicationIaCRequest.Builder

mergeExportIacConfig(ExportIaCConfig value)

public ExportApplicationIaCRequest.Builder mergeExportIacConfig(ExportIaCConfig value)

Optional. Configuration for exporting IaC.

.google.cloud.designcenter.v1.ExportIaCConfig export_iac_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExportIaCConfig
Returns
Type Description
ExportApplicationIaCRequest.Builder

mergeFrom(ExportApplicationIaCRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setArtifactLocation(ArtifactLocation value)

public ExportApplicationIaCRequest.Builder setArtifactLocation(ArtifactLocation value)

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ArtifactLocation
Returns
Type Description
ExportApplicationIaCRequest.Builder

setArtifactLocation(ArtifactLocation.Builder builderForValue)

public ExportApplicationIaCRequest.Builder setArtifactLocation(ArtifactLocation.Builder builderForValue)

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

.google.cloud.designcenter.v1.ArtifactLocation artifact_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ArtifactLocation.Builder
Returns
Type Description
ExportApplicationIaCRequest.Builder

setExportIacConfig(ExportIaCConfig value)

public ExportApplicationIaCRequest.Builder setExportIacConfig(ExportIaCConfig value)

Optional. Configuration for exporting IaC.

.google.cloud.designcenter.v1.ExportIaCConfig export_iac_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExportIaCConfig
Returns
Type Description
ExportApplicationIaCRequest.Builder

setExportIacConfig(ExportIaCConfig.Builder builderForValue)

public ExportApplicationIaCRequest.Builder setExportIacConfig(ExportIaCConfig.Builder builderForValue)

Optional. Configuration for exporting IaC.

.google.cloud.designcenter.v1.ExportIaCConfig export_iac_config = 4 [(.google.api.field_behavior) = OPTIONAL];

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

setIacFormat(IACFormat value)

public ExportApplicationIaCRequest.Builder setIacFormat(IACFormat value)

Optional. The IaC format to generate.

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

Parameter
Name Description
value IACFormat

The iacFormat to set.

Returns
Type Description
ExportApplicationIaCRequest.Builder

This builder for chaining.

setIacFormatValue(int value)

public ExportApplicationIaCRequest.Builder setIacFormatValue(int value)

Optional. The IaC format to generate.

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

Parameter
Name Description
value int

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

Returns
Type Description
ExportApplicationIaCRequest.Builder

This builder for chaining.

setName(String value)

public ExportApplicationIaCRequest.Builder setName(String value)

Required. The name of the application.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExportApplicationIaCRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportApplicationIaCRequest.Builder setNameBytes(ByteString value)

Required. The name of the application.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExportApplicationIaCRequest.Builder

This builder for chaining.