Class TerraformModuleMetadata.Builder (0.3.0)

public static final class TerraformModuleMetadata.Builder extends GeneratedMessage.Builder<TerraformModuleMetadata.Builder> implements TerraformModuleMetadataOrBuilder

Top-level message representing a Terraform module and its metadata.

Protobuf type google.cloud.designcenter.v1.TerraformModuleMetadata

Static Methods

getDescriptor()

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

Methods

addAllConnections(Iterable<? extends TerraformInputConnections> values)

public TerraformModuleMetadata.Builder addAllConnections(Iterable<? extends TerraformInputConnections> values)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.TerraformInputConnections>
Returns
Type Description
TerraformModuleMetadata.Builder

addAllExamples(Iterable<? extends ModuleDetails> values)

public TerraformModuleMetadata.Builder addAllExamples(Iterable<? extends ModuleDetails> values)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.ModuleDetails>
Returns
Type Description
TerraformModuleMetadata.Builder

addAllProviders(Iterable<String> values)

public TerraformModuleMetadata.Builder addAllProviders(Iterable<String> values)

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The providers to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

addAllRevisions(Iterable<String> values)

public TerraformModuleMetadata.Builder addAllRevisions(Iterable<String> values)

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The revisions to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

addAllSubmodules(Iterable<? extends ModuleDetails> values)

public TerraformModuleMetadata.Builder addAllSubmodules(Iterable<? extends ModuleDetails> values)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.ModuleDetails>
Returns
Type Description
TerraformModuleMetadata.Builder

addAllVersions(Iterable<String> values)

public TerraformModuleMetadata.Builder addAllVersions(Iterable<String> values)

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The versions to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

addConnections(TerraformInputConnections value)

public TerraformModuleMetadata.Builder addConnections(TerraformInputConnections value)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TerraformInputConnections
Returns
Type Description
TerraformModuleMetadata.Builder

addConnections(TerraformInputConnections.Builder builderForValue)

public TerraformModuleMetadata.Builder addConnections(TerraformInputConnections.Builder builderForValue)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue TerraformInputConnections.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

addConnections(int index, TerraformInputConnections value)

public TerraformModuleMetadata.Builder addConnections(int index, TerraformInputConnections value)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value TerraformInputConnections
Returns
Type Description
TerraformModuleMetadata.Builder

addConnections(int index, TerraformInputConnections.Builder builderForValue)

public TerraformModuleMetadata.Builder addConnections(int index, TerraformInputConnections.Builder builderForValue)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue TerraformInputConnections.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

addConnectionsBuilder()

public TerraformInputConnections.Builder addConnectionsBuilder()

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformInputConnections.Builder

addConnectionsBuilder(int index)

public TerraformInputConnections.Builder addConnectionsBuilder(int index)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TerraformInputConnections.Builder

addExamples(ModuleDetails value)

public TerraformModuleMetadata.Builder addExamples(ModuleDetails value)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ModuleDetails
Returns
Type Description
TerraformModuleMetadata.Builder

addExamples(ModuleDetails.Builder builderForValue)

public TerraformModuleMetadata.Builder addExamples(ModuleDetails.Builder builderForValue)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ModuleDetails.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

addExamples(int index, ModuleDetails value)

public TerraformModuleMetadata.Builder addExamples(int index, ModuleDetails value)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ModuleDetails
Returns
Type Description
TerraformModuleMetadata.Builder

addExamples(int index, ModuleDetails.Builder builderForValue)

public TerraformModuleMetadata.Builder addExamples(int index, ModuleDetails.Builder builderForValue)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ModuleDetails.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

addExamplesBuilder()

public ModuleDetails.Builder addExamplesBuilder()

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ModuleDetails.Builder

addExamplesBuilder(int index)

public ModuleDetails.Builder addExamplesBuilder(int index)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ModuleDetails.Builder

addProviders(String value)

public TerraformModuleMetadata.Builder addProviders(String value)

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The providers to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

addProvidersBytes(ByteString value)

public TerraformModuleMetadata.Builder addProvidersBytes(ByteString value)

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the providers to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

addRevisions(String value)

public TerraformModuleMetadata.Builder addRevisions(String value)

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The revisions to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

addRevisionsBytes(ByteString value)

public TerraformModuleMetadata.Builder addRevisionsBytes(ByteString value)

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the revisions to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

addSubmodules(ModuleDetails value)

public TerraformModuleMetadata.Builder addSubmodules(ModuleDetails value)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ModuleDetails
Returns
Type Description
TerraformModuleMetadata.Builder

addSubmodules(ModuleDetails.Builder builderForValue)

public TerraformModuleMetadata.Builder addSubmodules(ModuleDetails.Builder builderForValue)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ModuleDetails.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

addSubmodules(int index, ModuleDetails value)

public TerraformModuleMetadata.Builder addSubmodules(int index, ModuleDetails value)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ModuleDetails
Returns
Type Description
TerraformModuleMetadata.Builder

addSubmodules(int index, ModuleDetails.Builder builderForValue)

public TerraformModuleMetadata.Builder addSubmodules(int index, ModuleDetails.Builder builderForValue)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ModuleDetails.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

addSubmodulesBuilder()

public ModuleDetails.Builder addSubmodulesBuilder()

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ModuleDetails.Builder

addSubmodulesBuilder(int index)

public ModuleDetails.Builder addSubmodulesBuilder(int index)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ModuleDetails.Builder

addVersions(String value)

public TerraformModuleMetadata.Builder addVersions(String value)

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The versions to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

addVersionsBytes(ByteString value)

public TerraformModuleMetadata.Builder addVersionsBytes(ByteString value)

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the versions to add.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

build()

public TerraformModuleMetadata build()
Returns
Type Description
TerraformModuleMetadata

buildPartial()

public TerraformModuleMetadata buildPartial()
Returns
Type Description
TerraformModuleMetadata

clear()

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

clearConnections()

public TerraformModuleMetadata.Builder clearConnections()

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

clearDescription()

public TerraformModuleMetadata.Builder clearDescription()

Optional. Description of the module's purpose.

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearExamples()

public TerraformModuleMetadata.Builder clearExamples()

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

clearId()

public TerraformModuleMetadata.Builder clearId()

Optional. Unique identifier for the module version, e.g., "GoogleCloudPlatform/secret-manager/google/0.9.0"

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

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearModuleNamespace()

public TerraformModuleMetadata.Builder clearModuleNamespace()

Optional. Namespace for the module, often the organization.

string module_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearName()

public TerraformModuleMetadata.Builder clearName()

Optional. Name of the module.

string name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearOwner()

public TerraformModuleMetadata.Builder clearOwner()

Optional. Owner of the module.

string owner = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearProvider()

public TerraformModuleMetadata.Builder clearProvider()

Optional. Primary provider used by the module, e.g., "google".

string provider = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearProviders()

public TerraformModuleMetadata.Builder clearProviders()

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearRevisions()

public TerraformModuleMetadata.Builder clearRevisions()

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearRoot()

public TerraformModuleMetadata.Builder clearRoot()

Optional. Details of the root module.

.google.cloud.designcenter.v1.ModuleDetails root = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

clearSource()

public TerraformModuleMetadata.Builder clearSource()

Optional. URL to the source repository.

string source = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearSubmodules()

public TerraformModuleMetadata.Builder clearSubmodules()

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

clearTag()

public TerraformModuleMetadata.Builder clearTag()

Optional. Git tag or ref for this version.

string tag = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearUri()

public TerraformModuleMetadata.Builder clearUri()

Optional. The URI of the Terraform module.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearVersion()

public TerraformModuleMetadata.Builder clearVersion()

Optional. Semantic version of the module.

string version = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

clearVersions()

public TerraformModuleMetadata.Builder clearVersions()

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

getConnections(int index)

public TerraformInputConnections getConnections(int index)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TerraformInputConnections

getConnectionsBuilder(int index)

public TerraformInputConnections.Builder getConnectionsBuilder(int index)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TerraformInputConnections.Builder

getConnectionsBuilderList()

public List<TerraformInputConnections.Builder> getConnectionsBuilderList()

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getConnectionsCount()

public int getConnectionsCount()

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getConnectionsList()

public List<TerraformInputConnections> getConnectionsList()

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<TerraformInputConnections>

getConnectionsOrBuilder(int index)

public TerraformInputConnectionsOrBuilder getConnectionsOrBuilder(int index)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TerraformInputConnectionsOrBuilder

getConnectionsOrBuilderList()

public List<? extends TerraformInputConnectionsOrBuilder> getConnectionsOrBuilderList()

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.TerraformInputConnectionsOrBuilder>

getDefaultInstanceForType()

public TerraformModuleMetadata getDefaultInstanceForType()
Returns
Type Description
TerraformModuleMetadata

getDescription()

public String getDescription()

Optional. Description of the module's purpose.

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the module's purpose.

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getExamples(int index)

public ModuleDetails getExamples(int index)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ModuleDetails

getExamplesBuilder(int index)

public ModuleDetails.Builder getExamplesBuilder(int index)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ModuleDetails.Builder

getExamplesBuilderList()

public List<ModuleDetails.Builder> getExamplesBuilderList()

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getExamplesCount()

public int getExamplesCount()

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getExamplesList()

public List<ModuleDetails> getExamplesList()

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ModuleDetails>

getExamplesOrBuilder(int index)

public ModuleDetailsOrBuilder getExamplesOrBuilder(int index)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ModuleDetailsOrBuilder

getExamplesOrBuilderList()

public List<? extends ModuleDetailsOrBuilder> getExamplesOrBuilderList()

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ModuleDetailsOrBuilder>

getId()

public String getId()

Optional. Unique identifier for the module version, e.g., "GoogleCloudPlatform/secret-manager/google/0.9.0"

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

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Optional. Unique identifier for the module version, e.g., "GoogleCloudPlatform/secret-manager/google/0.9.0"

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

Returns
Type Description
ByteString

The bytes for id.

getModuleNamespace()

public String getModuleNamespace()

Optional. Namespace for the module, often the organization.

string module_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The moduleNamespace.

getModuleNamespaceBytes()

public ByteString getModuleNamespaceBytes()

Optional. Namespace for the module, often the organization.

string module_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for moduleNamespace.

getName()

public String getName()

Optional. Name of the module.

string name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the module.

string name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getOwner()

public String getOwner()

Optional. Owner of the module.

string owner = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The owner.

getOwnerBytes()

public ByteString getOwnerBytes()

Optional. Owner of the module.

string owner = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for owner.

getProvider()

public String getProvider()

Optional. Primary provider used by the module, e.g., "google".

string provider = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The provider.

getProviderBytes()

public ByteString getProviderBytes()

Optional. Primary provider used by the module, e.g., "google".

string provider = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for provider.

getProviders(int index)

public String getProviders(int index)

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The providers at the given index.

getProvidersBytes(int index)

public ByteString getProvidersBytes(int index)

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the providers at the given index.

getProvidersCount()

public int getProvidersCount()

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of providers.

getProvidersList()

public ProtocolStringList getProvidersList()

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the providers.

getRevisions(int index)

public String getRevisions(int index)

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The revisions at the given index.

getRevisionsBytes(int index)

public ByteString getRevisionsBytes(int index)

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the revisions at the given index.

getRevisionsCount()

public int getRevisionsCount()

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of revisions.

getRevisionsList()

public ProtocolStringList getRevisionsList()

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the revisions.

getRoot()

public ModuleDetails getRoot()

Optional. Details of the root module.

.google.cloud.designcenter.v1.ModuleDetails root = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ModuleDetails

The root.

getRootBuilder()

public ModuleDetails.Builder getRootBuilder()

Optional. Details of the root module.

.google.cloud.designcenter.v1.ModuleDetails root = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ModuleDetails.Builder

getRootOrBuilder()

public ModuleDetailsOrBuilder getRootOrBuilder()

Optional. Details of the root module.

.google.cloud.designcenter.v1.ModuleDetails root = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ModuleDetailsOrBuilder

getSource()

public String getSource()

Optional. URL to the source repository.

string source = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Optional. URL to the source repository.

string source = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for source.

getSubmodules(int index)

public ModuleDetails getSubmodules(int index)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ModuleDetails

getSubmodulesBuilder(int index)

public ModuleDetails.Builder getSubmodulesBuilder(int index)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ModuleDetails.Builder

getSubmodulesBuilderList()

public List<ModuleDetails.Builder> getSubmodulesBuilderList()

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getSubmodulesCount()

public int getSubmodulesCount()

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSubmodulesList()

public List<ModuleDetails> getSubmodulesList()

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ModuleDetails>

getSubmodulesOrBuilder(int index)

public ModuleDetailsOrBuilder getSubmodulesOrBuilder(int index)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ModuleDetailsOrBuilder

getSubmodulesOrBuilderList()

public List<? extends ModuleDetailsOrBuilder> getSubmodulesOrBuilderList()

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ModuleDetailsOrBuilder>

getTag()

public String getTag()

Optional. Git tag or ref for this version.

string tag = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tag.

getTagBytes()

public ByteString getTagBytes()

Optional. Git tag or ref for this version.

string tag = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tag.

getUri()

public String getUri()

Optional. The URI of the Terraform module.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Optional. The URI of the Terraform module.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for uri.

getVersion()

public String getVersion()

Optional. Semantic version of the module.

string version = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Optional. Semantic version of the module.

string version = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for version.

getVersions(int index)

public String getVersions(int index)

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The versions at the given index.

getVersionsBytes(int index)

public ByteString getVersionsBytes(int index)

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the versions at the given index.

getVersionsCount()

public int getVersionsCount()

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of versions.

getVersionsList()

public ProtocolStringList getVersionsList()

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the versions.

hasRoot()

public boolean hasRoot()

Optional. Details of the root module.

.google.cloud.designcenter.v1.ModuleDetails root = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the root field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TerraformModuleMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRoot(ModuleDetails value)

public TerraformModuleMetadata.Builder mergeRoot(ModuleDetails value)

Optional. Details of the root module.

.google.cloud.designcenter.v1.ModuleDetails root = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ModuleDetails
Returns
Type Description
TerraformModuleMetadata.Builder

removeConnections(int index)

public TerraformModuleMetadata.Builder removeConnections(int index)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TerraformModuleMetadata.Builder

removeExamples(int index)

public TerraformModuleMetadata.Builder removeExamples(int index)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TerraformModuleMetadata.Builder

removeSubmodules(int index)

public TerraformModuleMetadata.Builder removeSubmodules(int index)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TerraformModuleMetadata.Builder

setConnections(int index, TerraformInputConnections value)

public TerraformModuleMetadata.Builder setConnections(int index, TerraformInputConnections value)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value TerraformInputConnections
Returns
Type Description
TerraformModuleMetadata.Builder

setConnections(int index, TerraformInputConnections.Builder builderForValue)

public TerraformModuleMetadata.Builder setConnections(int index, TerraformInputConnections.Builder builderForValue)

Optional. Terraform input connections.

repeated .google.cloud.designcenter.v1.TerraformInputConnections connections = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue TerraformInputConnections.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

setDescription(String value)

public TerraformModuleMetadata.Builder setDescription(String value)

Optional. Description of the module's purpose.

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public TerraformModuleMetadata.Builder setDescriptionBytes(ByteString value)

Optional. Description of the module's purpose.

string description = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setExamples(int index, ModuleDetails value)

public TerraformModuleMetadata.Builder setExamples(int index, ModuleDetails value)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ModuleDetails
Returns
Type Description
TerraformModuleMetadata.Builder

setExamples(int index, ModuleDetails.Builder builderForValue)

public TerraformModuleMetadata.Builder setExamples(int index, ModuleDetails.Builder builderForValue)

Optional. List of examples for this module.

repeated .google.cloud.designcenter.v1.ModuleDetails examples = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ModuleDetails.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

setId(String value)

public TerraformModuleMetadata.Builder setId(String value)

Optional. Unique identifier for the module version, e.g., "GoogleCloudPlatform/secret-manager/google/0.9.0"

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

Parameter
Name Description
value String

The id to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setIdBytes(ByteString value)

public TerraformModuleMetadata.Builder setIdBytes(ByteString value)

Optional. Unique identifier for the module version, e.g., "GoogleCloudPlatform/secret-manager/google/0.9.0"

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

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setModuleNamespace(String value)

public TerraformModuleMetadata.Builder setModuleNamespace(String value)

Optional. Namespace for the module, often the organization.

string module_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The moduleNamespace to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setModuleNamespaceBytes(ByteString value)

public TerraformModuleMetadata.Builder setModuleNamespaceBytes(ByteString value)

Optional. Namespace for the module, often the organization.

string module_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for moduleNamespace to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setName(String value)

public TerraformModuleMetadata.Builder setName(String value)

Optional. Name of the module.

string name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TerraformModuleMetadata.Builder setNameBytes(ByteString value)

Optional. Name of the module.

string name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setOwner(String value)

public TerraformModuleMetadata.Builder setOwner(String value)

Optional. Owner of the module.

string owner = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The owner to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setOwnerBytes(ByteString value)

public TerraformModuleMetadata.Builder setOwnerBytes(ByteString value)

Optional. Owner of the module.

string owner = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for owner to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setProvider(String value)

public TerraformModuleMetadata.Builder setProvider(String value)

Optional. Primary provider used by the module, e.g., "google".

string provider = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The provider to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setProviderBytes(ByteString value)

public TerraformModuleMetadata.Builder setProviderBytes(ByteString value)

Optional. Primary provider used by the module, e.g., "google".

string provider = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for provider to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setProviders(int index, String value)

public TerraformModuleMetadata.Builder setProviders(int index, String value)

Optional. List of provider names used.

repeated string providers = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The providers to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setRevisions(int index, String value)

public TerraformModuleMetadata.Builder setRevisions(int index, String value)

Optional. List of available revisions for this module.

repeated string revisions = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The revisions to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setRoot(ModuleDetails value)

public TerraformModuleMetadata.Builder setRoot(ModuleDetails value)

Optional. Details of the root module.

.google.cloud.designcenter.v1.ModuleDetails root = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ModuleDetails
Returns
Type Description
TerraformModuleMetadata.Builder

setRoot(ModuleDetails.Builder builderForValue)

public TerraformModuleMetadata.Builder setRoot(ModuleDetails.Builder builderForValue)

Optional. Details of the root module.

.google.cloud.designcenter.v1.ModuleDetails root = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ModuleDetails.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

setSource(String value)

public TerraformModuleMetadata.Builder setSource(String value)

Optional. URL to the source repository.

string source = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The source to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setSourceBytes(ByteString value)

public TerraformModuleMetadata.Builder setSourceBytes(ByteString value)

Optional. URL to the source repository.

string source = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for source to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setSubmodules(int index, ModuleDetails value)

public TerraformModuleMetadata.Builder setSubmodules(int index, ModuleDetails value)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ModuleDetails
Returns
Type Description
TerraformModuleMetadata.Builder

setSubmodules(int index, ModuleDetails.Builder builderForValue)

public TerraformModuleMetadata.Builder setSubmodules(int index, ModuleDetails.Builder builderForValue)

Optional. List of submodules within this module.

repeated .google.cloud.designcenter.v1.ModuleDetails submodules = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ModuleDetails.Builder
Returns
Type Description
TerraformModuleMetadata.Builder

setTag(String value)

public TerraformModuleMetadata.Builder setTag(String value)

Optional. Git tag or ref for this version.

string tag = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tag to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setTagBytes(ByteString value)

public TerraformModuleMetadata.Builder setTagBytes(ByteString value)

Optional. Git tag or ref for this version.

string tag = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for tag to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setUri(String value)

public TerraformModuleMetadata.Builder setUri(String value)

Optional. The URI of the Terraform module.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setUriBytes(ByteString value)

public TerraformModuleMetadata.Builder setUriBytes(ByteString value)

Optional. The URI of the Terraform module.

string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setVersion(String value)

public TerraformModuleMetadata.Builder setVersion(String value)

Optional. Semantic version of the module.

string version = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The version to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public TerraformModuleMetadata.Builder setVersionBytes(ByteString value)

Optional. Semantic version of the module.

string version = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.

setVersions(int index, String value)

public TerraformModuleMetadata.Builder setVersions(int index, String value)

Optional. List of available versions for this module.

repeated string versions = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The versions to set.

Returns
Type Description
TerraformModuleMetadata.Builder

This builder for chaining.