Class Component (0.3.0)

public final class Component extends GeneratedMessage implements ComponentOrBuilder

Component resource.

Protobuf type google.cloud.designcenter.v1.Component

Implements

ComponentOrBuilder

Static Fields

APIS_FIELD_NUMBER

public static final int APIS_FIELD_NUMBER
Field Value
Type Description
int

APPLICATION_INFO_FIELD_NUMBER

public static final int APPLICATION_INFO_FIELD_NUMBER
Field Value
Type Description
int

APPLICATION_TEMPLATE_REVISION_URI_FIELD_NUMBER

public static final int APPLICATION_TEMPLATE_REVISION_URI_FIELD_NUMBER
Field Value
Type Description
int

COMPONENT_PARAMETER_SCHEMA_FIELD_NUMBER

public static final int COMPONENT_PARAMETER_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

CONNECTIONS_PARAMETERS_FIELD_NUMBER

public static final int CONNECTIONS_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

INPUT_VARIABLE_ALIASES_FIELD_NUMBER

public static final int INPUT_VARIABLE_ALIASES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

ROLES_FIELD_NUMBER

public static final int ROLES_FIELD_NUMBER
Field Value
Type Description
int

SHARED_TEMPLATE_REVISION_URI_FIELD_NUMBER

public static final int SHARED_TEMPLATE_REVISION_URI_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

USE_AS_ROOT_MODULE_FIELD_NUMBER

public static final int USE_AS_ROOT_MODULE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Component getDefaultInstance()
Returns
Type Description
Component

getDescriptor()

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

newBuilder()

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

newBuilder(Component prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApis(int index)

public String getApis(int index)

Output only. APIs required to be enabled to deploy the component, in the form of "*.googleapis.com".

repeated string apis = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The apis at the given index.

getApisBytes(int index)

public ByteString getApisBytes(int index)

Output only. APIs required to be enabled to deploy the component, in the form of "*.googleapis.com".

repeated string apis = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the apis at the given index.

getApisCount()

public int getApisCount()

Output only. APIs required to be enabled to deploy the component, in the form of "*.googleapis.com".

repeated string apis = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of apis.

getApisList()

public ProtocolStringList getApisList()

Output only. APIs required to be enabled to deploy the component, in the form of "*.googleapis.com".

repeated string apis = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the apis.

getApplicationInfo()

public ComponentApplicationInfo getApplicationInfo()

Optional. The application associated with the component.

.google.cloud.designcenter.v1.ComponentApplicationInfo application_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComponentApplicationInfo

The applicationInfo.

getApplicationInfoOrBuilder()

public ComponentApplicationInfoOrBuilder getApplicationInfoOrBuilder()

Optional. The application associated with the component.

.google.cloud.designcenter.v1.ComponentApplicationInfo application_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComponentApplicationInfoOrBuilder

getApplicationTemplateRevisionUri()

public String getApplicationTemplateRevisionUri()

Optional. The application template revision used to generate the component.

string application_template_revision_uri = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The applicationTemplateRevisionUri.

getApplicationTemplateRevisionUriBytes()

public ByteString getApplicationTemplateRevisionUriBytes()

Optional. The application template revision used to generate the component.

string application_template_revision_uri = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for applicationTemplateRevisionUri.

getComponentParameterSchema(int index)

public ComponentParameterSchema getComponentParameterSchema(int index)

Output only. The component parameter schema, which includes possible parameter values. values.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComponentParameterSchema

getComponentParameterSchemaCount()

public int getComponentParameterSchemaCount()

Output only. The component parameter schema, which includes possible parameter values. values.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getComponentParameterSchemaList()

public List<ComponentParameterSchema> getComponentParameterSchemaList()

Output only. The component parameter schema, which includes possible parameter values. values.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ComponentParameterSchema>

getComponentParameterSchemaOrBuilder(int index)

public ComponentParameterSchemaOrBuilder getComponentParameterSchemaOrBuilder(int index)

Output only. The component parameter schema, which includes possible parameter values. values.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComponentParameterSchemaOrBuilder

getComponentParameterSchemaOrBuilderList()

public List<? extends ComponentParameterSchemaOrBuilder> getComponentParameterSchemaOrBuilderList()

Output only. The component parameter schema, which includes possible parameter values. values.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getConnectionsParameters(int index)

public ConnectionParameters getConnectionsParameters(int index)

Output only. The connection parameters of the component.

repeated .google.cloud.designcenter.v1.ConnectionParameters connections_parameters = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ConnectionParameters

getConnectionsParametersCount()

public int getConnectionsParametersCount()

Output only. The connection parameters of the component.

repeated .google.cloud.designcenter.v1.ConnectionParameters connections_parameters = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getConnectionsParametersList()

public List<ConnectionParameters> getConnectionsParametersList()

Output only. The connection parameters of the component.

repeated .google.cloud.designcenter.v1.ConnectionParameters connections_parameters = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ConnectionParameters>

getConnectionsParametersOrBuilder(int index)

public ConnectionParametersOrBuilder getConnectionsParametersOrBuilder(int index)

Output only. The connection parameters of the component.

repeated .google.cloud.designcenter.v1.ConnectionParameters connections_parameters = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ConnectionParametersOrBuilder

getConnectionsParametersOrBuilderList()

public List<? extends ConnectionParametersOrBuilder> getConnectionsParametersOrBuilderList()

Output only. The connection parameters of the component.

repeated .google.cloud.designcenter.v1.ConnectionParameters connections_parameters = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The component creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The component creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Component getDefaultInstanceForType()
Returns
Type Description
Component

getDisplayName()

public String getDisplayName()

Optional. The component display name.

string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The component display name.

string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getInputVariableAliases(int index)

public InputVariableAlias getInputVariableAliases(int index)

Optional. Input variable aliases defined on this live component.

repeated .google.cloud.designcenter.v1.InputVariableAlias input_variable_aliases = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
InputVariableAlias

getInputVariableAliasesCount()

public int getInputVariableAliasesCount()

Optional. Input variable aliases defined on this live component.

repeated .google.cloud.designcenter.v1.InputVariableAlias input_variable_aliases = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getInputVariableAliasesList()

public List<InputVariableAlias> getInputVariableAliasesList()

Optional. Input variable aliases defined on this live component.

repeated .google.cloud.designcenter.v1.InputVariableAlias input_variable_aliases = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<InputVariableAlias>

getInputVariableAliasesOrBuilder(int index)

public InputVariableAliasOrBuilder getInputVariableAliasesOrBuilder(int index)

Optional. Input variable aliases defined on this live component.

repeated .google.cloud.designcenter.v1.InputVariableAlias input_variable_aliases = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
InputVariableAliasOrBuilder

getInputVariableAliasesOrBuilderList()

public List<? extends InputVariableAliasOrBuilder> getInputVariableAliasesOrBuilderList()

Optional. Input variable aliases defined on this live component.

repeated .google.cloud.designcenter.v1.InputVariableAlias input_variable_aliases = 13 [(.google.api.field_behavior) = OPTIONAL];

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

getName()

public String getName()

Identifier. The component name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The component name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParameters(int index)

public Parameter getParameters(int index)

Optional. The component parameters.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter

getParametersCount()

public int getParametersCount()

Optional. The component parameters.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersList()

public List<Parameter> getParametersList()

Optional. The component parameters.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Parameter>

getParametersOrBuilder(int index)

public ParameterOrBuilder getParametersOrBuilder(int index)

Optional. The component parameters.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterOrBuilder

getParametersOrBuilderList()

public List<? extends ParameterOrBuilder> getParametersOrBuilderList()

Optional. The component parameters.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

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

getParserForType()

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

getRoles(int index)

public String getRoles(int index)

Output only. IAM roles required by the service account to deploy the component.

repeated string roles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The roles at the given index.

getRolesBytes(int index)

public ByteString getRolesBytes(int index)

Output only. IAM roles required by the service account to deploy the component.

repeated string roles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the roles at the given index.

getRolesCount()

public int getRolesCount()

Output only. IAM roles required by the service account to deploy the component.

repeated string roles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of roles.

getRolesList()

public ProtocolStringList getRolesList()

Output only. IAM roles required by the service account to deploy the component.

repeated string roles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the roles.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSharedTemplateRevisionUri()

public String getSharedTemplateRevisionUri()

Required. Immutable. The shared template used to generate the component.

string shared_template_revision_uri = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The sharedTemplateRevisionUri.

getSharedTemplateRevisionUriBytes()

public ByteString getSharedTemplateRevisionUriBytes()

Required. Immutable. The shared template used to generate the component.

string shared_template_revision_uri = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for sharedTemplateRevisionUri.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The component update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The component update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUseAsRootModule()

public boolean getUseAsRootModule()

Optional. Whether the component is exported as a separate terraform root module in a composite application template. If this is false, then native components will be exported as a submodule of a separate terraform root module.

bool use_as_root_module = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The useAsRootModule.

hasApplicationInfo()

public boolean hasApplicationInfo()

Optional. The application associated with the component.

.google.cloud.designcenter.v1.ComponentApplicationInfo application_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the applicationInfo field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The component creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The component update timestamp.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime 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 Component.Builder newBuilderForType()
Returns
Type Description
Component.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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