Enum Class TraitsOuterClass.Traits

java.lang.Object
java.lang.Enum<TraitsOuterClass.Traits>
Arp.System.Commons.Services.Io.Grpc.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
  • Enum Constant Details

    • T_None

      public static final TraitsOuterClass.Traits T_None
      / <summary>
       / Not set.
       / </summary>
       
      T_None = 0;
    • T_Permissions

      public static final TraitsOuterClass.Traits T_Permissions
      / <summary>
       / Specifies the file permissions mask as <see cref="Arp.System.Commons.Services.Io.Permissions" /> mask.
       / </summary>
       
      T_Permissions = 1;
    • T_LastWriteTime

      public static final TraitsOuterClass.Traits 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

      public static final TraitsOuterClass.Traits T_Length
      / <summary>
       / Specifies the size of the file in bytes as <see cref="System.Int64" />.
       / </summary>
       
      T_Length = 4;
    • T_Crc32

      public static final TraitsOuterClass.Traits T_Crc32
      / <summary>
       / Specifies the CRC32 value of the file as <see cref="System.Int32" />.
       / </summary>
       
      T_Crc32 = 8;
    • UNRECOGNIZED

      public static final TraitsOuterClass.Traits 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

      private static final TraitsOuterClass.Traits[] VALUES
    • value

      private final int value
  • Constructor Details

    • Traits

      private Traits(int value)
  • Method Details

    • values

      public static TraitsOuterClass.Traits[] 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

      public static TraitsOuterClass.Traits valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static TraitsOuterClass.Traits valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static TraitsOuterClass.Traits forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<TraitsOuterClass.Traits> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null