Class ArtifactLocation.Builder (0.3.0)

public static final class ArtifactLocation.Builder extends GeneratedMessage.Builder<ArtifactLocation.Builder> implements ArtifactLocationOrBuilder

Defines the location for storing an artifact, such as generated IaC.

Protobuf type google.cloud.designcenter.v1.ArtifactLocation

Static Methods

getDescriptor()

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

Methods

build()

public ArtifactLocation build()
Returns
Type Description
ArtifactLocation

buildPartial()

public ArtifactLocation buildPartial()
Returns
Type Description
ArtifactLocation

clear()

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

clearDeveloperConnectExportConfig()

public ArtifactLocation.Builder clearDeveloperConnectExportConfig()

Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.

.google.cloud.designcenter.v1.DeveloperConnectExportConfig developer_connect_export_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ArtifactLocation.Builder

clearGcsUri()

public ArtifactLocation.Builder clearGcsUri()

Optional. The Cloud Storage URI for storing the generated IaC.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ArtifactLocation.Builder

This builder for chaining.

clearLocation()

public ArtifactLocation.Builder clearLocation()
Returns
Type Description
ArtifactLocation.Builder

getDefaultInstanceForType()

public ArtifactLocation getDefaultInstanceForType()
Returns
Type Description
ArtifactLocation

getDescriptorForType()

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

getDeveloperConnectExportConfig()

public DeveloperConnectExportConfig getDeveloperConnectExportConfig()

Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.

.google.cloud.designcenter.v1.DeveloperConnectExportConfig developer_connect_export_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeveloperConnectExportConfig

The developerConnectExportConfig.

getDeveloperConnectExportConfigBuilder()

public DeveloperConnectExportConfig.Builder getDeveloperConnectExportConfigBuilder()

Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.

.google.cloud.designcenter.v1.DeveloperConnectExportConfig developer_connect_export_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeveloperConnectExportConfig.Builder

getDeveloperConnectExportConfigOrBuilder()

public DeveloperConnectExportConfigOrBuilder getDeveloperConnectExportConfigOrBuilder()

Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.

.google.cloud.designcenter.v1.DeveloperConnectExportConfig developer_connect_export_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeveloperConnectExportConfigOrBuilder

getGcsUri()

public String getGcsUri()

Optional. The Cloud Storage URI for storing the generated IaC.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

Optional. The Cloud Storage URI for storing the generated IaC.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcsUri.

getLocationCase()

public ArtifactLocation.LocationCase getLocationCase()
Returns
Type Description
ArtifactLocation.LocationCase

hasDeveloperConnectExportConfig()

public boolean hasDeveloperConnectExportConfig()

Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.

.google.cloud.designcenter.v1.DeveloperConnectExportConfig developer_connect_export_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the developerConnectExportConfig field is set.

hasGcsUri()

public boolean hasGcsUri()

Optional. The Cloud Storage URI for storing the generated IaC.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gcsUri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeveloperConnectExportConfig(DeveloperConnectExportConfig value)

public ArtifactLocation.Builder mergeDeveloperConnectExportConfig(DeveloperConnectExportConfig value)

Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.

.google.cloud.designcenter.v1.DeveloperConnectExportConfig developer_connect_export_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DeveloperConnectExportConfig
Returns
Type Description
ArtifactLocation.Builder

mergeFrom(ArtifactLocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDeveloperConnectExportConfig(DeveloperConnectExportConfig value)

public ArtifactLocation.Builder setDeveloperConnectExportConfig(DeveloperConnectExportConfig value)

Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.

.google.cloud.designcenter.v1.DeveloperConnectExportConfig developer_connect_export_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DeveloperConnectExportConfig
Returns
Type Description
ArtifactLocation.Builder

setDeveloperConnectExportConfig(DeveloperConnectExportConfig.Builder builderForValue)

public ArtifactLocation.Builder setDeveloperConnectExportConfig(DeveloperConnectExportConfig.Builder builderForValue)

Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.

.google.cloud.designcenter.v1.DeveloperConnectExportConfig developer_connect_export_config = 1 [(.google.api.field_behavior) = OPTIONAL];

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

setGcsUri(String value)

public ArtifactLocation.Builder setGcsUri(String value)

Optional. The Cloud Storage URI for storing the generated IaC.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The gcsUri to set.

Returns
Type Description
ArtifactLocation.Builder

This builder for chaining.

setGcsUriBytes(ByteString value)

public ArtifactLocation.Builder setGcsUriBytes(ByteString value)

Optional. The Cloud Storage URI for storing the generated IaC.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for gcsUri to set.

Returns
Type Description
ArtifactLocation.Builder

This builder for chaining.