Enum PluginInstance.State (0.28.0)

public enum PluginInstance.State extends Enum<PluginInstance.State> implements ProtocolMessageEnum

State represents the state of the plugin instance.

Protobuf enum google.cloud.apihub.v1.PluginInstance.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The plugin instance is active and ready for executions. This is the only state where executions can run on the plugin instance.

ACTIVE = 2;

ACTIVE_VALUE

The plugin instance is active and ready for executions. This is the only state where executions can run on the plugin instance.

ACTIVE = 2;

APPLYING_CONFIG

The updated config that contains additional_config and auth_config is being applied.

APPLYING_CONFIG = 3;

APPLYING_CONFIG_VALUE

The updated config that contains additional_config and auth_config is being applied.

APPLYING_CONFIG = 3;

CREATING

The plugin instance is being created.

CREATING = 1;

CREATING_VALUE

The plugin instance is being created.

CREATING = 1;

DELETING

The plugin instance is being deleted. Delete is only possible if there is no other operation running on the plugin instance and plugin instance action.

DELETING = 6;

DELETING_VALUE

The plugin instance is being deleted. Delete is only possible if there is no other operation running on the plugin instance and plugin instance action.

DELETING = 6;

ERROR

The ERROR state can come while applying config. Users can retrigger ApplyPluginInstanceConfig to restore the plugin instance back to active state. Note, In case the ERROR state happens while applying config (auth_config, additional_config), the plugin instance will reflect the config which was trying to be applied while error happened. In order to overwrite, trigger ApplyConfig with a new config.

ERROR = 4;

ERROR_VALUE

The ERROR state can come while applying config. Users can retrigger ApplyPluginInstanceConfig to restore the plugin instance back to active state. Note, In case the ERROR state happens while applying config (auth_config, additional_config), the plugin instance will reflect the config which was trying to be applied while error happened. In order to overwrite, trigger ApplyConfig with a new config.

ERROR = 4;

FAILED

The plugin instance is in a failed state. This indicates that an unrecoverable error occurred during a previous operation (Create, Delete).

FAILED = 5;

FAILED_VALUE

The plugin instance is in a failed state. This indicates that an unrecoverable error occurred during a previous operation (Create, Delete).

FAILED = 5;

STATE_UNSPECIFIED

Default unspecified state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default unspecified state.

STATE_UNSPECIFIED = 0;

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()