Enum ImportIaCError.ErrorCode (0.3.0)

public enum ImportIaCError.ErrorCode extends Enum<ImportIaCError.ErrorCode> implements ProtocolMessageEnum

Specific error code for UI and programmatic handling.

Protobuf enum google.cloud.designcenter.v1.ImportIaCError.ErrorCode

Implements

ProtocolMessageEnum

Static Fields

Name Description
ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED

Mandatory attribute of shared template is missing in module block

ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED = 6;

ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED_VALUE

Mandatory attribute of shared template is missing in module block

ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED = 6;

ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED

Attribute defined inside module that is not in the shared template

ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED = 5;

ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED_VALUE

Attribute defined inside module that is not in the shared template

ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED = 5;

ERROR_CODE_PARAMETER_VALUE_INVALID

Value fails shared template schema checks (regex, range, etc.)

ERROR_CODE_PARAMETER_VALUE_INVALID = 7;

ERROR_CODE_PARAMETER_VALUE_INVALID_VALUE

Value fails shared template schema checks (regex, range, etc.)

ERROR_CODE_PARAMETER_VALUE_INVALID = 7;

ERROR_CODE_SYNTAX_ERROR

HCL Syntax errors (e.g. unclosed blocks, bad characters)

ERROR_CODE_SYNTAX_ERROR = 1;

ERROR_CODE_SYNTAX_ERROR_VALUE

HCL Syntax errors (e.g. unclosed blocks, bad characters)

ERROR_CODE_SYNTAX_ERROR = 1;

ERROR_CODE_TOP_LEVEL_ATTRIBUTE

Attributes defined outside of allowed blocks

ERROR_CODE_TOP_LEVEL_ATTRIBUTE = 3;

ERROR_CODE_TOP_LEVEL_ATTRIBUTE_VALUE

Attributes defined outside of allowed blocks

ERROR_CODE_TOP_LEVEL_ATTRIBUTE = 3;

ERROR_CODE_UNSPECIFIED

Default.

ERROR_CODE_UNSPECIFIED = 0;

ERROR_CODE_UNSPECIFIED_VALUE

Default.

ERROR_CODE_UNSPECIFIED = 0;

ERROR_CODE_UNSUPPORTED_BLOCK_TYPE

Top-level block is e.g. "resource", "data", "locals"

ERROR_CODE_UNSUPPORTED_BLOCK_TYPE = 2;

ERROR_CODE_UNSUPPORTED_BLOCK_TYPE_VALUE

Top-level block is e.g. "resource", "data", "locals"

ERROR_CODE_UNSUPPORTED_BLOCK_TYPE = 2;

ERROR_CODE_UNSUPPORTED_MODULE

Module not present in catalog

ERROR_CODE_UNSUPPORTED_MODULE = 4;

ERROR_CODE_UNSUPPORTED_MODULE_VALUE

Module not present in catalog

ERROR_CODE_UNSUPPORTED_MODULE = 4;

ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE

Output in outputs.tf is added, removed or schema changed

ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE = 9;

ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE_VALUE

Output in outputs.tf is added, removed or schema changed

ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE = 9;

ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE

Provider in providers.tf has added blocks or modified attributes

ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE = 10;

ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE_VALUE

Provider in providers.tf has added blocks or modified attributes

ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE = 10;

ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE

Value modified for variables defined in terraform.tfvars

ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE = 11;

ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE_VALUE

Value modified for variables defined in terraform.tfvars

ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE = 11;

ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE

Variable in variables.tf is added, removed or schema changed

ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE = 8;

ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE_VALUE

Variable in variables.tf is added, removed or schema changed

ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE = 8;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()