Class SerializedComponent (0.3.0)

public final class SerializedComponent extends GeneratedMessage implements SerializedComponentOrBuilder

Serialized component.

Protobuf type google.cloud.designcenter.v1.SerializedComponent

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_FIELD_NUMBER

public static final int CONNECTIONS_FIELD_NUMBER
Field Value
Type Description
int

CONNECTIONS_PARAMETERS_FIELD_NUMBER

public static final int CONNECTIONS_PARAMETERS_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

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

URI_FIELD_NUMBER

public static final int URI_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 SerializedComponent getDefaultInstance()
Returns
Type Description
SerializedComponent

getDescriptor()

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

newBuilder()

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

newBuilder(SerializedComponent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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)

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

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

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)

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

repeated string apis = 6 [(.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 apis at the given index.

getApisCount()

public int getApisCount()

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

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

Returns
Type Description
int

The count of apis.

getApisList()

public ProtocolStringList getApisList()

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

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

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 = 10 [(.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 = 10 [(.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 = 13 [(.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 = 13 [(.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.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 9 [(.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.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 9 [(.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.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 9 [(.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.

repeated .google.cloud.designcenter.v1.ComponentParameterSchema component_parameter_schema = 9 [(.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.

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

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

getConnections(int index)

public SerializedConnection getConnections(int index)

Optional. The component connections.

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

Parameter
Name Description
index int
Returns
Type Description
SerializedConnection

getConnectionsCount()

public int getConnectionsCount()

Optional. The component connections.

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

Returns
Type Description
int

getConnectionsList()

public List<SerializedConnection> getConnectionsList()

Optional. The component connections.

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

Returns
Type Description
List<SerializedConnection>

getConnectionsOrBuilder(int index)

public SerializedConnectionOrBuilder getConnectionsOrBuilder(int index)

Optional. The component connections.

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

Parameter
Name Description
index int
Returns
Type Description
SerializedConnectionOrBuilder

getConnectionsOrBuilderList()

public List<? extends SerializedConnectionOrBuilder> getConnectionsOrBuilderList()

Optional. The component connections.

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

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

getConnectionsParameters(int index)

public ConnectionParameters getConnectionsParameters(int index)

Output only. The connection parameters of the component.

repeated .google.cloud.designcenter.v1.ConnectionParameters connections_parameters = 8 [(.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 = 8 [(.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 = 8 [(.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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getDefaultInstanceForType()

public SerializedComponent getDefaultInstanceForType()
Returns
Type Description
SerializedComponent

getDisplayName()

public String getDisplayName()

Optional. The component display name.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The component display name.

string display_name = 7 [(.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 for this serialized component.

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

Parameter
Name Description
index int
Returns
Type Description
InputVariableAlias

getInputVariableAliasesCount()

public int getInputVariableAliasesCount()

Optional. Input variable aliases defined for this serialized component.

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

Returns
Type Description
int

getInputVariableAliasesList()

public List<InputVariableAlias> getInputVariableAliasesList()

Optional. Input variable aliases defined for this serialized component.

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

Returns
Type Description
List<InputVariableAlias>

getInputVariableAliasesOrBuilder(int index)

public InputVariableAliasOrBuilder getInputVariableAliasesOrBuilder(int index)

Optional. Input variable aliases defined for this serialized component.

repeated .google.cloud.designcenter.v1.InputVariableAlias input_variable_aliases = 12 [(.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 for this serialized component.

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

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

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<SerializedComponent> getParserForType()
Returns
Type Description
Parser<SerializedComponent>
Overrides

getRoles(int index)

public String getRoles(int index)

Optional. IAM roles required by the service account to deploy the component.

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

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)

Optional. IAM roles required by the service account to deploy the component.

repeated string roles = 5 [(.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 roles at the given index.

getRolesCount()

public int getRolesCount()

Optional. IAM roles required by the service account to deploy the component.

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

Returns
Type Description
int

The count of roles.

getRolesList()

public ProtocolStringList getRolesList()

Optional. IAM roles required by the service account to deploy the component.

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

Returns
Type Description
ProtocolStringList

A list containing the roles.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSharedTemplateRevisionUri()

public String getSharedTemplateRevisionUri()

Optional. The shared template used to generate the component.

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

Returns
Type Description
String

The sharedTemplateRevisionUri.

getSharedTemplateRevisionUriBytes()

public ByteString getSharedTemplateRevisionUriBytes()

Optional. The shared template used to generate the component.

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

Returns
Type Description
ByteString

The bytes for sharedTemplateRevisionUri.

getUri()

public String getUri()

Optional. The component URI.

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

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Optional. The component URI.

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

Returns
Type Description
ByteString

The bytes for uri.

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 = 11 [(.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 = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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