Enum SegmentLevel

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SegmentLevel>

    public enum SegmentLevel
    extends Enum<SegmentLevel>
    implements com.google.protobuf.ProtocolMessageEnum
    Protobuf enum milvus.proto.common.SegmentLevel
    • Enum Constant Detail

      • Legacy

        public static final SegmentLevel Legacy
         zero value for legacy logic
         
        Legacy = 0;
      • L0

        public static final SegmentLevel L0
         L0 segment, contains delta data for current channel
         
        L0 = 1;
      • L1

        public static final SegmentLevel L1
         L1 segment, normal segment, with no extra compaction attribute
         
        L1 = 2;
      • L2

        public static final SegmentLevel L2
         L2 segment, segment with extra data distribution info
         
        L2 = 3;
      • UNRECOGNIZED

        public static final SegmentLevel UNRECOGNIZED
    • Field Detail

      • Legacy_VALUE

        public static final int Legacy_VALUE
         zero value for legacy logic
         
        Legacy = 0;
        See Also:
        Constant Field Values
      • L0_VALUE

        public static final int L0_VALUE
         L0 segment, contains delta data for current channel
         
        L0 = 1;
        See Also:
        Constant Field Values
      • L1_VALUE

        public static final int L1_VALUE
         L1 segment, normal segment, with no extra compaction attribute
         
        L1 = 2;
        See Also:
        Constant Field Values
      • L2_VALUE

        public static final int L2_VALUE
         L2 segment, segment with extra data distribution info
         
        L2 = 3;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static SegmentLevel[] 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 (SegmentLevel c : SegmentLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SegmentLevel valueOf​(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:
        IllegalArgumentException - if this enum type 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 SegmentLevel 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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static SegmentLevel forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<SegmentLevel> 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 SegmentLevel valueOf​(com.google.protobuf.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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null