Enum Class TraitsOuterClass.Traits
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TraitsOuterClass.Traits>,Constable
- Enclosing class:
TraitsOuterClass
public static enum TraitsOuterClass.Traits
extends Enum<TraitsOuterClass.Traits>
implements com.google.protobuf.ProtocolMessageEnum
/ <summary> / This enum is used by several file services to specify the file traits to get or set, respectively. / </summary>Protobuf enum
Arp.System.Commons.Services.Io.Grpc.Traits-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription/ <summary> / Specifies the CRC32 value of the file as <see cref="System.Int32" />./ <summary> / Specifies the time of last write access or last modified time, respectively as <see cref="System.DateTime" /> in UTC / </summary>/ <summary> / Specifies the size of the file in bytes as <see cref="System.Int64" />./ <summary> / Not set./ <summary> / Specifies the file permissions mask as <see cref="Arp.System.Commons.Services.Io.Permissions" /> mask. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.google.protobuf.Internal.EnumLiteMap<TraitsOuterClass.Traits> static final int/ <summary> / Specifies the CRC32 value of the file as <see cref="System.Int32" />.static final int/ <summary> / Specifies the time of last write access or last modified time, respectively as <see cref="System.DateTime" /> in UTC / </summary>static final int/ <summary> / Specifies the size of the file in bytes as <see cref="System.Int64" />.static final int/ <summary> / Not set.static final int/ <summary> / Specifies the file permissions mask as <see cref="Arp.System.Commons.Services.Io.Permissions" /> mask.private final intprivate static final TraitsOuterClass.Traits[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TraitsOuterClass.TraitsforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TraitsOuterClass.Traits> static TraitsOuterClass.TraitsvalueOf(int value) Deprecated.static TraitsOuterClass.TraitsvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static TraitsOuterClass.TraitsReturns the enum constant of this class with the specified name.static TraitsOuterClass.Traits[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
T_None
/ <summary> / Not set. / </summary>
T_None = 0; -
T_Permissions
/ <summary> / Specifies the file permissions mask as <see cref="Arp.System.Commons.Services.Io.Permissions" /> mask. / </summary>
T_Permissions = 1; -
T_LastWriteTime
/ <summary> / Specifies the time of last write access or last modified time, respectively as <see cref="System.DateTime" /> in UTC / </summary>
T_LastWriteTime = 2; -
T_Length
/ <summary> / Specifies the size of the file in bytes as <see cref="System.Int64" />. / </summary>
T_Length = 4; -
T_Crc32
/ <summary> / Specifies the CRC32 value of the file as <see cref="System.Int32" />. / </summary>
T_Crc32 = 8; -
UNRECOGNIZED
-
-
Field Details
-
T_None_VALUE
public static final int T_None_VALUE/ <summary> / Not set. / </summary>
T_None = 0;- See Also:
-
T_Permissions_VALUE
public static final int T_Permissions_VALUE/ <summary> / Specifies the file permissions mask as <see cref="Arp.System.Commons.Services.Io.Permissions" /> mask. / </summary>
T_Permissions = 1;- See Also:
-
T_LastWriteTime_VALUE
public static final int T_LastWriteTime_VALUE/ <summary> / Specifies the time of last write access or last modified time, respectively as <see cref="System.DateTime" /> in UTC / </summary>
T_LastWriteTime = 2;- See Also:
-
T_Length_VALUE
public static final int T_Length_VALUE/ <summary> / Specifies the size of the file in bytes as <see cref="System.Int64" />. / </summary>
T_Length = 4;- See Also:
-
T_Crc32_VALUE
public static final int T_Crc32_VALUE/ <summary> / Specifies the CRC32 value of the file as <see cref="System.Int32" />. / </summary>
T_Crc32 = 8;- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<TraitsOuterClass.Traits> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
Traits
private Traits(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<TraitsOuterClass.Traits> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static TraitsOuterClass.Traits valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-