Class GenerateApplicationTemplateIaCRequest.Builder (0.3.0)

public static final class GenerateApplicationTemplateIaCRequest.Builder extends GeneratedMessage.Builder<GenerateApplicationTemplateIaCRequest.Builder> implements GenerateApplicationTemplateIaCRequestOrBuilder

Request message for GenerateApplicationTemplateIaC method.

Protobuf type google.cloud.designcenter.v1.GenerateApplicationTemplateIaCRequest

Static Methods

getDescriptor()

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

Methods

build()

public GenerateApplicationTemplateIaCRequest build()
Returns
Type Description
GenerateApplicationTemplateIaCRequest

buildPartial()

public GenerateApplicationTemplateIaCRequest buildPartial()
Returns
Type Description
GenerateApplicationTemplateIaCRequest

clear()

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

clearArtifactLocation()

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

clearGcsUri() (deprecated)

public GenerateApplicationTemplateIaCRequest.Builder clearGcsUri()

Deprecated. google.cloud.designcenter.v1.GenerateApplicationTemplateIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/authoring_messages.proto;l=285

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
GenerateApplicationTemplateIaCRequest.Builder

This builder for chaining.

clearIacFormat()

public GenerateApplicationTemplateIaCRequest.Builder clearIacFormat()

Optional. The IaC format to generate.

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

Returns
Type Description
GenerateApplicationTemplateIaCRequest.Builder

This builder for chaining.

clearName()

public GenerateApplicationTemplateIaCRequest.Builder clearName()

Required. The name of the application template.

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

Returns
Type Description
GenerateApplicationTemplateIaCRequest.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 GenerateApplicationTemplateIaCRequest getDefaultInstanceForType()
Returns
Type Description
GenerateApplicationTemplateIaCRequest

getDescriptorForType()

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

getGcsUri() (deprecated)

public String getGcsUri()

Deprecated. google.cloud.designcenter.v1.GenerateApplicationTemplateIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/authoring_messages.proto;l=285

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.GenerateApplicationTemplateIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/authoring_messages.proto;l=285

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 GenerateApplicationTemplateIaCRequest.IACFormat getIacFormat()

Optional. The IaC format to generate.

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

Returns
Type Description
GenerateApplicationTemplateIaCRequest.IACFormat

The iacFormat.

getIacFormatValue()

public int getIacFormatValue()

Optional. The IaC format to generate.

.google.cloud.designcenter.v1.GenerateApplicationTemplateIaCRequest.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 template.

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 template.

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 GenerateApplicationTemplateIaCRequest.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
GenerateApplicationTemplateIaCRequest.Builder

mergeFrom(GenerateApplicationTemplateIaCRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setArtifactLocation(ArtifactLocation value)

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

setArtifactLocation(ArtifactLocation.Builder builderForValue)

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

setGcsUri(String value) (deprecated)

public GenerateApplicationTemplateIaCRequest.Builder setGcsUri(String value)

Deprecated. google.cloud.designcenter.v1.GenerateApplicationTemplateIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/authoring_messages.proto;l=285

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
GenerateApplicationTemplateIaCRequest.Builder

This builder for chaining.

setGcsUriBytes(ByteString value) (deprecated)

public GenerateApplicationTemplateIaCRequest.Builder setGcsUriBytes(ByteString value)

Deprecated. google.cloud.designcenter.v1.GenerateApplicationTemplateIaCRequest.gcs_uri is deprecated. See google/cloud/designcenter/v1/authoring_messages.proto;l=285

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
GenerateApplicationTemplateIaCRequest.Builder

This builder for chaining.

setIacFormat(GenerateApplicationTemplateIaCRequest.IACFormat value)

public GenerateApplicationTemplateIaCRequest.Builder setIacFormat(GenerateApplicationTemplateIaCRequest.IACFormat value)

Optional. The IaC format to generate.

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

Parameter
Name Description
value GenerateApplicationTemplateIaCRequest.IACFormat

The iacFormat to set.

Returns
Type Description
GenerateApplicationTemplateIaCRequest.Builder

This builder for chaining.

setIacFormatValue(int value)

public GenerateApplicationTemplateIaCRequest.Builder setIacFormatValue(int value)

Optional. The IaC format to generate.

.google.cloud.designcenter.v1.GenerateApplicationTemplateIaCRequest.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
GenerateApplicationTemplateIaCRequest.Builder

This builder for chaining.

setName(String value)

public GenerateApplicationTemplateIaCRequest.Builder setName(String value)

Required. The name of the application template.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GenerateApplicationTemplateIaCRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GenerateApplicationTemplateIaCRequest.Builder setNameBytes(ByteString value)

Required. The name of the application template.

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
GenerateApplicationTemplateIaCRequest.Builder

This builder for chaining.