public static enum ClientRuntimeProtocol.Signal extends Enum<ClientRuntimeProtocol.Signal> implements com.google.protobuf.ProtocolMessageEnum
Signal
Enum Constant and Description |
---|
SIG_RESUME
SIG_RESUME = 3; |
SIG_SUSPEND
SIG_SUSPEND = 2; |
SIG_TERMINATE
SIG_TERMINATE = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
SIG_RESUME_VALUE
SIG_RESUME = 3; |
static int |
SIG_SUSPEND_VALUE
SIG_SUSPEND = 2; |
static int |
SIG_TERMINATE_VALUE
SIG_TERMINATE = 1; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ClientRuntimeProtocol.Signal> |
internalGetValueMap() |
static ClientRuntimeProtocol.Signal |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ClientRuntimeProtocol.Signal |
valueOf(int value) |
static ClientRuntimeProtocol.Signal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientRuntimeProtocol.Signal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientRuntimeProtocol.Signal SIG_TERMINATE
SIG_TERMINATE = 1;
public static final ClientRuntimeProtocol.Signal SIG_SUSPEND
SIG_SUSPEND = 2;
public static final ClientRuntimeProtocol.Signal SIG_RESUME
SIG_RESUME = 3;
public static final int SIG_TERMINATE_VALUE
SIG_TERMINATE = 1;
public static final int SIG_SUSPEND_VALUE
SIG_SUSPEND = 2;
public static final int SIG_RESUME_VALUE
SIG_RESUME = 3;
public static ClientRuntimeProtocol.Signal[] values()
for (ClientRuntimeProtocol.Signal c : ClientRuntimeProtocol.Signal.values()) System.out.println(c);
public static ClientRuntimeProtocol.Signal valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static ClientRuntimeProtocol.Signal valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ClientRuntimeProtocol.Signal> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ClientRuntimeProtocol.Signal valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017 The Apache Software Foundation. All rights reserved.