Package akka.remote
Enum WireFormats.TimeUnit
- java.lang.Object
- 
- java.lang.Enum<WireFormats.TimeUnit>
- 
- akka.remote.WireFormats.TimeUnit
 
 
- 
- All Implemented Interfaces:
- akka.protobufv3.internal.Internal.EnumLite,- akka.protobufv3.internal.ProtocolMessageEnum,- java.io.Serializable,- java.lang.Comparable<WireFormats.TimeUnit>
 - Enclosing class:
- WireFormats
 
 public static enum WireFormats.TimeUnit extends java.lang.Enum<WireFormats.TimeUnit> implements akka.protobufv3.internal.ProtocolMessageEnum java.util.concurrent.TimeUnit enum Protobuf enumTimeUnit
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description DAYSDAYS = 7;HOURSHOURS = 6;MICROSECONDSMICROSECONDS = 2;MILLISECONDSMILLISECONDS = 3;MINUTESMINUTES = 5;NANOSECONDSNANOSECONDS = 1;SECONDSSECONDS = 4;
 - 
Field SummaryFields Modifier and Type Field Description static intDAYS_VALUEDAYS = 7;static intHOURS_VALUEHOURS = 6;static intMICROSECONDS_VALUEMICROSECONDS = 2;static intMILLISECONDS_VALUEMILLISECONDS = 3;static intMINUTES_VALUEMINUTES = 5;static intNANOSECONDS_VALUENANOSECONDS = 1;static intSECONDS_VALUESECONDS = 4;
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WireFormats.TimeUnitforNumber(int value)static akka.protobufv3.internal.Descriptors.EnumDescriptorgetDescriptor()akka.protobufv3.internal.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()akka.protobufv3.internal.Descriptors.EnumValueDescriptorgetValueDescriptor()static akka.protobufv3.internal.Internal.EnumLiteMap<WireFormats.TimeUnit>internalGetValueMap()static WireFormats.TimeUnitvalueOf(int value)Deprecated.static WireFormats.TimeUnitvalueOf(akka.protobufv3.internal.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static WireFormats.TimeUnitvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WireFormats.TimeUnit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NANOSECONDSpublic static final WireFormats.TimeUnit NANOSECONDS NANOSECONDS = 1;
 - 
MICROSECONDSpublic static final WireFormats.TimeUnit MICROSECONDS MICROSECONDS = 2;
 - 
MILLISECONDSpublic static final WireFormats.TimeUnit MILLISECONDS MILLISECONDS = 3;
 - 
SECONDSpublic static final WireFormats.TimeUnit SECONDS SECONDS = 4;
 - 
MINUTESpublic static final WireFormats.TimeUnit MINUTES MINUTES = 5;
 - 
HOURSpublic static final WireFormats.TimeUnit HOURS HOURS = 6;
 - 
DAYSpublic static final WireFormats.TimeUnit DAYS DAYS = 7;
 
- 
 - 
Field Detail- 
NANOSECONDS_VALUEpublic static final int NANOSECONDS_VALUE NANOSECONDS = 1;- See Also:
- Constant Field Values
 
 - 
MICROSECONDS_VALUEpublic static final int MICROSECONDS_VALUE MICROSECONDS = 2;- See Also:
- Constant Field Values
 
 - 
MILLISECONDS_VALUEpublic static final int MILLISECONDS_VALUE MILLISECONDS = 3;- See Also:
- Constant Field Values
 
 - 
SECONDS_VALUEpublic static final int SECONDS_VALUE SECONDS = 4;- See Also:
- Constant Field Values
 
 - 
MINUTES_VALUEpublic static final int MINUTES_VALUE MINUTES = 5;- See Also:
- Constant Field Values
 
 - 
HOURS_VALUEpublic static final int HOURS_VALUE HOURS = 6;- See Also:
- Constant Field Values
 
 - 
DAYS_VALUEpublic static final int DAYS_VALUE DAYS = 7;- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
valuespublic static WireFormats.TimeUnit[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WireFormats.TimeUnit c : WireFormats.TimeUnit.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static WireFormats.TimeUnit valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
getNumberpublic final int getNumber() - Specified by:
- getNumberin interface- akka.protobufv3.internal.Internal.EnumLite
- Specified by:
- getNumberin interface- akka.protobufv3.internal.ProtocolMessageEnum
 
 - 
valueOf@Deprecated public static WireFormats.TimeUnit valueOf(int value) Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- value- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
forNumberpublic static WireFormats.TimeUnit forNumber(int value) - Parameters:
- value- The numeric wire value of the corresponding enum entry.
- Returns:
- The enum associated with the given numeric wire value.
 
 - 
internalGetValueMappublic static akka.protobufv3.internal.Internal.EnumLiteMap<WireFormats.TimeUnit> internalGetValueMap() 
 - 
getValueDescriptorpublic final akka.protobufv3.internal.Descriptors.EnumValueDescriptor getValueDescriptor() - Specified by:
- getValueDescriptorin interface- akka.protobufv3.internal.ProtocolMessageEnum
 
 - 
getDescriptorForTypepublic final akka.protobufv3.internal.Descriptors.EnumDescriptor getDescriptorForType() - Specified by:
- getDescriptorForTypein interface- akka.protobufv3.internal.ProtocolMessageEnum
 
 - 
getDescriptorpublic static final akka.protobufv3.internal.Descriptors.EnumDescriptor getDescriptor() 
 - 
valueOfpublic static WireFormats.TimeUnit valueOf(akka.protobufv3.internal.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- desc- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-