Class TerraformModuleConfig.Builder (0.3.0)

public static final class TerraformModuleConfig.Builder extends GeneratedMessage.Builder<TerraformModuleConfig.Builder> implements TerraformModuleConfigOrBuilder

Configuration on how terraform module should be handled during export.

Protobuf type google.cloud.designcenter.v1.TerraformModuleConfig

Static Methods

getDescriptor()

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

Methods

build()

public TerraformModuleConfig build()
Returns
Type Description
TerraformModuleConfig

buildPartial()

public TerraformModuleConfig buildPartial()
Returns
Type Description
TerraformModuleConfig

clear()

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

clearGitProxyEnabled()

public TerraformModuleConfig.Builder clearGitProxyEnabled()

Optional. This is typically only valid for 3P components if ingested via devconnect URI. Typically, for 1P components, since they are sourced from public git repos, this field is not applicable.

bool git_proxy_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleConfig.Builder

This builder for chaining.

clearLocalReferencesEnabled()

public TerraformModuleConfig.Builder clearLocalReferencesEnabled()

Optional. If set, all the dependent modules will be downloaded from the target repository and referenced locally.

bool local_references_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleConfig.Builder

This builder for chaining.

clearSourceOverride()

public TerraformModuleConfig.Builder clearSourceOverride()
Returns
Type Description
TerraformModuleConfig.Builder

getDefaultInstanceForType()

public TerraformModuleConfig getDefaultInstanceForType()
Returns
Type Description
TerraformModuleConfig

getDescriptorForType()

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

getGitProxyEnabled()

public boolean getGitProxyEnabled()

Optional. This is typically only valid for 3P components if ingested via devconnect URI. Typically, for 1P components, since they are sourced from public git repos, this field is not applicable.

bool git_proxy_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The gitProxyEnabled.

getLocalReferencesEnabled()

public boolean getLocalReferencesEnabled()

Optional. If set, all the dependent modules will be downloaded from the target repository and referenced locally.

bool local_references_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The localReferencesEnabled.

getSourceOverrideCase()

public TerraformModuleConfig.SourceOverrideCase getSourceOverrideCase()
Returns
Type Description
TerraformModuleConfig.SourceOverrideCase

hasGitProxyEnabled()

public boolean hasGitProxyEnabled()

Optional. This is typically only valid for 3P components if ingested via devconnect URI. Typically, for 1P components, since they are sourced from public git repos, this field is not applicable.

bool git_proxy_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gitProxyEnabled field is set.

hasLocalReferencesEnabled()

public boolean hasLocalReferencesEnabled()

Optional. If set, all the dependent modules will be downloaded from the target repository and referenced locally.

bool local_references_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the localReferencesEnabled field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TerraformModuleConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGitProxyEnabled(boolean value)

public TerraformModuleConfig.Builder setGitProxyEnabled(boolean value)

Optional. This is typically only valid for 3P components if ingested via devconnect URI. Typically, for 1P components, since they are sourced from public git repos, this field is not applicable.

bool git_proxy_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The gitProxyEnabled to set.

Returns
Type Description
TerraformModuleConfig.Builder

This builder for chaining.

setLocalReferencesEnabled(boolean value)

public TerraformModuleConfig.Builder setLocalReferencesEnabled(boolean value)

Optional. If set, all the dependent modules will be downloaded from the target repository and referenced locally.

bool local_references_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The localReferencesEnabled to set.

Returns
Type Description
TerraformModuleConfig.Builder

This builder for chaining.