Class RootModule (0.3.0)

public final class RootModule extends GeneratedMessage implements RootModuleOrBuilder

Metadata for a root module.

Protobuf type google.cloud.designcenter.v1.RootModule

Implements

RootModuleOrBuilder

Static Fields

COMPONENTS_FIELD_NUMBER

public static final int COMPONENTS_FIELD_NUMBER
Field Value
Type Description
int

DEPENDENCIES_FIELD_NUMBER

public static final int DEPENDENCIES_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

INPUT_VARIABLES_FIELD_NUMBER

public static final int INPUT_VARIABLES_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_VARIABLES_FIELD_NUMBER

public static final int OUTPUT_VARIABLES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RootModule getDefaultInstance()
Returns
Type Description
RootModule

getDescriptor()

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

newBuilder()

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

newBuilder(RootModule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getComponents(int index)

public String getComponents(int index)

List of Application Design Center component names associated with this root module. For standard app template type components, this list will have a single element. For service / workload / asset components, this list will contain all such component names.

repeated string components = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The components at the given index.

getComponentsBytes(int index)

public ByteString getComponentsBytes(int index)

List of Application Design Center component names associated with this root module. For standard app template type components, this list will have a single element. For service / workload / asset components, this list will contain all such component names.

repeated string components = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the components at the given index.

getComponentsCount()

public int getComponentsCount()

List of Application Design Center component names associated with this root module. For standard app template type components, this list will have a single element. For service / workload / asset components, this list will contain all such component names.

repeated string components = 2;

Returns
Type Description
int

The count of components.

getComponentsList()

public ProtocolStringList getComponentsList()

List of Application Design Center component names associated with this root module. For standard app template type components, this list will have a single element. For service / workload / asset components, this list will contain all such component names.

repeated string components = 2;

Returns
Type Description
ProtocolStringList

A list containing the components.

getDefaultInstanceForType()

public RootModule getDefaultInstanceForType()
Returns
Type Description
RootModule

getDependencies(int index)

public RootModuleDependency getDependencies(int index)

Dependencies of this root module. The dependency graph of root modules must be acyclic.

repeated .google.cloud.designcenter.v1.RootModuleDependency dependencies = 3;

Parameter
Name Description
index int
Returns
Type Description
RootModuleDependency

getDependenciesCount()

public int getDependenciesCount()

Dependencies of this root module. The dependency graph of root modules must be acyclic.

repeated .google.cloud.designcenter.v1.RootModuleDependency dependencies = 3;

Returns
Type Description
int

getDependenciesList()

public List<RootModuleDependency> getDependenciesList()

Dependencies of this root module. The dependency graph of root modules must be acyclic.

repeated .google.cloud.designcenter.v1.RootModuleDependency dependencies = 3;

Returns
Type Description
List<RootModuleDependency>

getDependenciesOrBuilder(int index)

public RootModuleDependencyOrBuilder getDependenciesOrBuilder(int index)

Dependencies of this root module. The dependency graph of root modules must be acyclic.

repeated .google.cloud.designcenter.v1.RootModuleDependency dependencies = 3;

Parameter
Name Description
index int
Returns
Type Description
RootModuleDependencyOrBuilder

getDependenciesOrBuilderList()

public List<? extends RootModuleDependencyOrBuilder> getDependenciesOrBuilderList()

Dependencies of this root module. The dependency graph of root modules must be acyclic.

repeated .google.cloud.designcenter.v1.RootModuleDependency dependencies = 3;

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

getId()

public String getId()

Identifier of the root module. This is the directory name of the root module in the generated terraform which is also same as the corresponding component ID.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Identifier of the root module. This is the directory name of the root module in the generated terraform which is also same as the corresponding component ID.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getInputVariables(int index)

public RootInputVariable getInputVariables(int index)

List of input variables of this root module.

repeated .google.cloud.designcenter.v1.RootInputVariable input_variables = 4;

Parameter
Name Description
index int
Returns
Type Description
RootInputVariable

getInputVariablesCount()

public int getInputVariablesCount()

List of input variables of this root module.

repeated .google.cloud.designcenter.v1.RootInputVariable input_variables = 4;

Returns
Type Description
int

getInputVariablesList()

public List<RootInputVariable> getInputVariablesList()

List of input variables of this root module.

repeated .google.cloud.designcenter.v1.RootInputVariable input_variables = 4;

Returns
Type Description
List<RootInputVariable>

getInputVariablesOrBuilder(int index)

public RootInputVariableOrBuilder getInputVariablesOrBuilder(int index)

List of input variables of this root module.

repeated .google.cloud.designcenter.v1.RootInputVariable input_variables = 4;

Parameter
Name Description
index int
Returns
Type Description
RootInputVariableOrBuilder

getInputVariablesOrBuilderList()

public List<? extends RootInputVariableOrBuilder> getInputVariablesOrBuilderList()

List of input variables of this root module.

repeated .google.cloud.designcenter.v1.RootInputVariable input_variables = 4;

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

getOutputVariables(int index)

public RootOutputVariable getOutputVariables(int index)

List of output variables of this root module.

repeated .google.cloud.designcenter.v1.RootOutputVariable output_variables = 5;

Parameter
Name Description
index int
Returns
Type Description
RootOutputVariable

getOutputVariablesCount()

public int getOutputVariablesCount()

List of output variables of this root module.

repeated .google.cloud.designcenter.v1.RootOutputVariable output_variables = 5;

Returns
Type Description
int

getOutputVariablesList()

public List<RootOutputVariable> getOutputVariablesList()

List of output variables of this root module.

repeated .google.cloud.designcenter.v1.RootOutputVariable output_variables = 5;

Returns
Type Description
List<RootOutputVariable>

getOutputVariablesOrBuilder(int index)

public RootOutputVariableOrBuilder getOutputVariablesOrBuilder(int index)

List of output variables of this root module.

repeated .google.cloud.designcenter.v1.RootOutputVariable output_variables = 5;

Parameter
Name Description
index int
Returns
Type Description
RootOutputVariableOrBuilder

getOutputVariablesOrBuilderList()

public List<? extends RootOutputVariableOrBuilder> getOutputVariablesOrBuilderList()

List of output variables of this root module.

repeated .google.cloud.designcenter.v1.RootOutputVariable output_variables = 5;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 RootModule.Builder newBuilderForType()
Returns
Type Description
RootModule.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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