Class GenerateApplicationTemplateRevisionIaCRequest.Builder (0.3.0)

public static final class GenerateApplicationTemplateRevisionIaCRequest.Builder extends GeneratedMessage.Builder<GenerateApplicationTemplateRevisionIaCRequest.Builder> implements GenerateApplicationTemplateRevisionIaCRequestOrBuilder

Request message for GenerateApplicationTemplateRevisionIaC method.

Protobuf type google.cloud.designcenter.v1.GenerateApplicationTemplateRevisionIaCRequest

Static Methods

getDescriptor()

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

Methods

build()

public GenerateApplicationTemplateRevisionIaCRequest build()
Returns
Type Description
GenerateApplicationTemplateRevisionIaCRequest

buildPartial()

public GenerateApplicationTemplateRevisionIaCRequest buildPartial()
Returns
Type Description
GenerateApplicationTemplateRevisionIaCRequest

clear()

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

clearArtifactLocation()

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

clearIacFormat()

public GenerateApplicationTemplateRevisionIaCRequest.Builder clearIacFormat()

Optional. The IaC format to generate.

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

Returns
Type Description
GenerateApplicationTemplateRevisionIaCRequest.Builder

This builder for chaining.

clearName()

public GenerateApplicationTemplateRevisionIaCRequest.Builder clearName()

Required. The name of the application template revision.

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

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

getDescriptorForType()

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

getIacFormat()

public GenerateApplicationTemplateRevisionIaCRequest.IACFormat getIacFormat()

Optional. The IaC format to generate.

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

Returns
Type Description
GenerateApplicationTemplateRevisionIaCRequest.IACFormat

The iacFormat.

getIacFormatValue()

public int getIacFormatValue()

Optional. The IaC format to generate.

.google.cloud.designcenter.v1.GenerateApplicationTemplateRevisionIaCRequest.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 revision.

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeArtifactLocation(ArtifactLocation value)

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

mergeFrom(GenerateApplicationTemplateRevisionIaCRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setArtifactLocation(ArtifactLocation value)

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

setArtifactLocation(ArtifactLocation.Builder builderForValue)

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

setIacFormat(GenerateApplicationTemplateRevisionIaCRequest.IACFormat value)

public GenerateApplicationTemplateRevisionIaCRequest.Builder setIacFormat(GenerateApplicationTemplateRevisionIaCRequest.IACFormat value)

Optional. The IaC format to generate.

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

Parameter
Name Description
value GenerateApplicationTemplateRevisionIaCRequest.IACFormat

The iacFormat to set.

Returns
Type Description
GenerateApplicationTemplateRevisionIaCRequest.Builder

This builder for chaining.

setIacFormatValue(int value)

public GenerateApplicationTemplateRevisionIaCRequest.Builder setIacFormatValue(int value)

Optional. The IaC format to generate.

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

This builder for chaining.

setName(String value)

public GenerateApplicationTemplateRevisionIaCRequest.Builder setName(String value)

Required. The name of the application template revision.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GenerateApplicationTemplateRevisionIaCRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GenerateApplicationTemplateRevisionIaCRequest.Builder setNameBytes(ByteString value)

Required. The name of the application template revision.

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

This builder for chaining.