Enum Service.State (0.3.0)

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

The current status of the service.

Protobuf enum google.backstory.Service.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
COMPLETED

The service is completed.

COMPLETED = 4;

COMPLETED_VALUE

The service is completed.

COMPLETED = 4;

CONTINUE_PENDING

The service is continuing.

CONTINUE_PENDING = 8;

CONTINUE_PENDING_VALUE

The service is continuing.

CONTINUE_PENDING = 8;

PAUSED

The service is paused. This is a Windows-specific service status.

PAUSED = 3;

PAUSED_VALUE

The service is paused. This is a Windows-specific service status.

PAUSED = 3;

PAUSE_PENDING

The service is pausing.

PAUSE_PENDING = 7;

PAUSE_PENDING_VALUE

The service is pausing.

PAUSE_PENDING = 7;

RUNNING

The service is running.

RUNNING = 1;

RUNNING_VALUE

The service is running.

RUNNING = 1;

START_PENDING

The service is starting.

START_PENDING = 5;

START_PENDING_VALUE

The service is starting.

START_PENDING = 5;

STATE_UNSPECIFIED

Default service status.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default service status.

STATE_UNSPECIFIED = 0;

STOPPED

The service is stopped. This is a Windows-specific service status.

STOPPED = 2;

STOPPED_VALUE

The service is stopped. This is a Windows-specific service status.

STOPPED = 2;

STOP_PENDING

The service is stopping.

STOP_PENDING = 6;

STOP_PENDING_VALUE

The service is stopping.

STOP_PENDING = 6;

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