Class GenerateApplicationIaCRequest.Builder (0.3.0)

public static final class GenerateApplicationIaCRequest.Builder extends GeneratedMessage.Builder<GenerateApplicationIaCRequest.Builder> implements GenerateApplicationIaCRequestOrBuilder

Request message for GenerateApplicationIaC method.

Protobuf type google.cloud.designcenter.v1.GenerateApplicationIaCRequest

Static Methods

getDescriptor()

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

Methods

build()

public GenerateApplicationIaCRequest build()
Returns
Type Description
GenerateApplicationIaCRequest

buildPartial()

public GenerateApplicationIaCRequest buildPartial()
Returns
Type Description
GenerateApplicationIaCRequest

clear()

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

clearArtifactLocation()

public GenerateApplicationIaCRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateApplicationIaCRequest.Builder

clearGcsUri() (deprecated)

public GenerateApplicationIaCRequest.Builder clearGcsUri()

Deprecated. google.cloud.designcenter.v1.GenerateApplicationIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/deployment_messages.proto;l=262

Optional. DEPRECATED: Use the 'artifact_location' field instead. The Cloud Storage URI to write the generated IaC to.

string gcs_uri = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateApplicationIaCRequest.Builder

This builder for chaining.

clearIacFormat()

public GenerateApplicationIaCRequest.Builder clearIacFormat()

Optional. The IaC format to generate.

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

Returns
Type Description
GenerateApplicationIaCRequest.Builder

This builder for chaining.

clearName()

public GenerateApplicationIaCRequest.Builder clearName()

Required. The name of the application.

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

Returns
Type Description
GenerateApplicationIaCRequest.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 = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ArtifactLocationOrBuilder

getDefaultInstanceForType()

public GenerateApplicationIaCRequest getDefaultInstanceForType()
Returns
Type Description
GenerateApplicationIaCRequest

getDescriptorForType()

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

getGcsUri() (deprecated)

public String getGcsUri()

Deprecated. google.cloud.designcenter.v1.GenerateApplicationIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/deployment_messages.proto;l=262

Optional. DEPRECATED: Use the 'artifact_location' field instead. The Cloud Storage URI to write the generated IaC to.

string gcs_uri = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcsUri.

getGcsUriBytes() (deprecated)

public ByteString getGcsUriBytes()

Deprecated. google.cloud.designcenter.v1.GenerateApplicationIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/deployment_messages.proto;l=262

Optional. DEPRECATED: Use the 'artifact_location' field instead. The Cloud Storage URI to write the generated IaC to.

string gcs_uri = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcsUri.

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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the artifactLocation 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 GenerateApplicationIaCRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ArtifactLocation
Returns
Type Description
GenerateApplicationIaCRequest.Builder

mergeFrom(GenerateApplicationIaCRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setArtifactLocation(ArtifactLocation value)

public GenerateApplicationIaCRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ArtifactLocation
Returns
Type Description
GenerateApplicationIaCRequest.Builder

setArtifactLocation(ArtifactLocation.Builder builderForValue)

public GenerateApplicationIaCRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

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

setGcsUri(String value) (deprecated)

public GenerateApplicationIaCRequest.Builder setGcsUri(String value)

Deprecated. google.cloud.designcenter.v1.GenerateApplicationIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/deployment_messages.proto;l=262

Optional. DEPRECATED: Use the 'artifact_location' field instead. The Cloud Storage URI to write the generated IaC to.

string gcs_uri = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The gcsUri to set.

Returns
Type Description
GenerateApplicationIaCRequest.Builder

This builder for chaining.

setGcsUriBytes(ByteString value) (deprecated)

public GenerateApplicationIaCRequest.Builder setGcsUriBytes(ByteString value)

Deprecated. google.cloud.designcenter.v1.GenerateApplicationIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/deployment_messages.proto;l=262

Optional. DEPRECATED: Use the 'artifact_location' field instead. The Cloud Storage URI to write the generated IaC to.

string gcs_uri = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for gcsUri to set.

Returns
Type Description
GenerateApplicationIaCRequest.Builder

This builder for chaining.

setIacFormat(IACFormat value)

public GenerateApplicationIaCRequest.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
GenerateApplicationIaCRequest.Builder

This builder for chaining.

setIacFormatValue(int value)

public GenerateApplicationIaCRequest.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
GenerateApplicationIaCRequest.Builder

This builder for chaining.

setName(String value)

public GenerateApplicationIaCRequest.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
GenerateApplicationIaCRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GenerateApplicationIaCRequest.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
GenerateApplicationIaCRequest.Builder

This builder for chaining.