Class TerraformModuleMetadata (0.3.0)

public final class TerraformModuleMetadata extends GeneratedMessage implements TerraformModuleMetadataOrBuilder

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

Protobuf type google.cloud.designcenter.v1.TerraformModuleMetadata

Static Fields

CONNECTIONS_FIELD_NUMBER

public static final int CONNECTIONS_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

EXAMPLES_FIELD_NUMBER

public static final int EXAMPLES_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

MODULE_NAMESPACE_FIELD_NUMBER

public static final int MODULE_NAMESPACE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OWNER_FIELD_NUMBER

public static final int OWNER_FIELD_NUMBER
Field Value
Type Description
int

PROVIDERS_FIELD_NUMBER

public static final int PROVIDERS_FIELD_NUMBER
Field Value
Type Description
int

PROVIDER_FIELD_NUMBER

public static final int PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

REVISIONS_FIELD_NUMBER

public static final int REVISIONS_FIELD_NUMBER
Field Value
Type Description
int

ROOT_FIELD_NUMBER

public static final int ROOT_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int

SUBMODULES_FIELD_NUMBER

public static final int SUBMODULES_FIELD_NUMBER
Field Value
Type Description
int

TAG_FIELD_NUMBER

public static final int TAG_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

VERSIONS_FIELD_NUMBER

public static final int VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TerraformModuleMetadata getDefaultInstance()
Returns
Type Description
TerraformModuleMetadata

getDescriptor()

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

newBuilder()

public static TerraformModuleMetadata.Builder newBuilder()
Returns
Type Description
TerraformModuleMetadata.Builder

newBuilder(TerraformModuleMetadata prototype)

public static TerraformModuleMetadata.Builder newBuilder(TerraformModuleMetadata prototype)
Parameter
Name Description
prototype TerraformModuleMetadata
Returns
Type Description
TerraformModuleMetadata.Builder

parseDelimitedFrom(InputStream input)

public static TerraformModuleMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformModuleMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TerraformModuleMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TerraformModuleMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TerraformModuleMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TerraformModuleMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TerraformModuleMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformModuleMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TerraformModuleMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformModuleMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TerraformModuleMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TerraformModuleMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformModuleMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TerraformModuleMetadata> parser()
Returns
Type Description
Parser<TerraformModuleMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

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

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.

getParserForType()

public Parser<TerraformModuleMetadata> getParserForType()
Returns
Type Description
Parser<TerraformModuleMetadata>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TerraformModuleMetadata.Builder newBuilderForType()
Returns
Type Description
TerraformModuleMetadata.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected TerraformModuleMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TerraformModuleMetadata.Builder
Overrides

toBuilder()

public TerraformModuleMetadata.Builder toBuilder()
Returns
Type Description
TerraformModuleMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException