public static enum Request.ServiceRequest.ServiceRequestType extends Enum<Request.ServiceRequest.ServiceRequestType> implements com.google.protobuf.ProtocolMessageEnum
proto.ServiceRequest.ServiceRequestType| Enum Constant and Description |
|---|
DELETE
DELETE = 1; |
INITIALIZE
INITIALIZE = 2; |
UNRECOGNIZED |
UPDATE
UPDATE = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_VALUE
DELETE = 1; |
static int |
INITIALIZE_VALUE
INITIALIZE = 2; |
static int |
UPDATE_VALUE
UPDATE = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Request.ServiceRequest.ServiceRequestType |
forNumber(int value) |
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<Request.ServiceRequest.ServiceRequestType> |
internalGetValueMap() |
static Request.ServiceRequest.ServiceRequestType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Request.ServiceRequest.ServiceRequestType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Request.ServiceRequest.ServiceRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.ServiceRequest.ServiceRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.ServiceRequest.ServiceRequestType UPDATE
UPDATE = 0;public static final Request.ServiceRequest.ServiceRequestType DELETE
DELETE = 1;public static final Request.ServiceRequest.ServiceRequestType INITIALIZE
INITIALIZE = 2;public static final Request.ServiceRequest.ServiceRequestType UNRECOGNIZED
public static final int UPDATE_VALUE
UPDATE = 0;public static final int DELETE_VALUE
DELETE = 1;public static final int INITIALIZE_VALUE
INITIALIZE = 2;public static Request.ServiceRequest.ServiceRequestType[] values()
for (Request.ServiceRequest.ServiceRequestType c : Request.ServiceRequest.ServiceRequestType.values()) System.out.println(c);
public static Request.ServiceRequest.ServiceRequestType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Request.ServiceRequest.ServiceRequestType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Request.ServiceRequest.ServiceRequestType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Request.ServiceRequest.ServiceRequestType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Request.ServiceRequest.ServiceRequestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.