Enum MsgType

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

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

      • Undefined

        public static final MsgType Undefined
        Undefined = 0;
      • CreateCollection

        public static final MsgType CreateCollection
         DEFINITION REQUESTS: COLLECTION 
         
        CreateCollection = 100;
      • DropCollection

        public static final MsgType DropCollection
        DropCollection = 101;
      • HasCollection

        public static final MsgType HasCollection
        HasCollection = 102;
      • DescribeCollection

        public static final MsgType DescribeCollection
        DescribeCollection = 103;
      • ShowCollections

        public static final MsgType ShowCollections
        ShowCollections = 104;
      • GetSystemConfigs

        public static final MsgType GetSystemConfigs
        GetSystemConfigs = 105;
      • LoadCollection

        public static final MsgType LoadCollection
        LoadCollection = 106;
      • ReleaseCollection

        public static final MsgType ReleaseCollection
        ReleaseCollection = 107;
      • CreateAlias

        public static final MsgType CreateAlias
        CreateAlias = 108;
      • DropAlias

        public static final MsgType DropAlias
        DropAlias = 109;
      • AlterAlias

        public static final MsgType AlterAlias
        AlterAlias = 110;
      • AlterCollection

        public static final MsgType AlterCollection
        AlterCollection = 111;
      • RenameCollection

        public static final MsgType RenameCollection
        RenameCollection = 112;
      • CreatePartition

        public static final MsgType CreatePartition
         DEFINITION REQUESTS: PARTITION 
         
        CreatePartition = 200;
      • DropPartition

        public static final MsgType DropPartition
        DropPartition = 201;
      • HasPartition

        public static final MsgType HasPartition
        HasPartition = 202;
      • DescribePartition

        public static final MsgType DescribePartition
        DescribePartition = 203;
      • ShowPartitions

        public static final MsgType ShowPartitions
        ShowPartitions = 204;
      • LoadPartitions

        public static final MsgType LoadPartitions
        LoadPartitions = 205;
      • ReleasePartitions

        public static final MsgType ReleasePartitions
        ReleasePartitions = 206;
      • ShowSegments

        public static final MsgType ShowSegments
         DEFINE REQUESTS: SEGMENT 
         
        ShowSegments = 250;
      • DescribeSegment

        public static final MsgType DescribeSegment
        DescribeSegment = 251;
      • LoadSegments

        public static final MsgType LoadSegments
        LoadSegments = 252;
      • ReleaseSegments

        public static final MsgType ReleaseSegments
        ReleaseSegments = 253;
      • HandoffSegments

        public static final MsgType HandoffSegments
        HandoffSegments = 254;
      • LoadBalanceSegments

        public static final MsgType LoadBalanceSegments
        LoadBalanceSegments = 255;
      • DescribeSegments

        public static final MsgType DescribeSegments
        DescribeSegments = 256;
      • CreateIndex

        public static final MsgType CreateIndex
         DEFINITION REQUESTS: INDEX 
         
        CreateIndex = 300;
      • DescribeIndex

        public static final MsgType DescribeIndex
        DescribeIndex = 301;
      • DropIndex

        public static final MsgType DropIndex
        DropIndex = 302;
      • GetIndexStatistics

        public static final MsgType GetIndexStatistics
        GetIndexStatistics = 303;
      • Insert

        public static final MsgType Insert
         MANIPULATION REQUESTS 
         
        Insert = 400;
      • Delete

        public static final MsgType Delete
        Delete = 401;
      • Flush

        public static final MsgType Flush
        Flush = 402;
      • ResendSegmentStats

        public static final MsgType ResendSegmentStats
        ResendSegmentStats = 403;
      • Search

        public static final MsgType Search
         QUERY 
         
        Search = 500;
      • SearchResult

        public static final MsgType SearchResult
        SearchResult = 501;
      • GetIndexState

        public static final MsgType GetIndexState
        GetIndexState = 502;
      • GetIndexBuildProgress

        public static final MsgType GetIndexBuildProgress
        GetIndexBuildProgress = 503;
      • GetCollectionStatistics

        public static final MsgType GetCollectionStatistics
        GetCollectionStatistics = 504;
      • GetPartitionStatistics

        public static final MsgType GetPartitionStatistics
        GetPartitionStatistics = 505;
      • Retrieve

        public static final MsgType Retrieve
        Retrieve = 506;
      • RetrieveResult

        public static final MsgType RetrieveResult
        RetrieveResult = 507;
      • WatchDmChannels

        public static final MsgType WatchDmChannels
        WatchDmChannels = 508;
      • RemoveDmChannels

        public static final MsgType RemoveDmChannels
        RemoveDmChannels = 509;
      • WatchQueryChannels

        public static final MsgType WatchQueryChannels
        WatchQueryChannels = 510;
      • RemoveQueryChannels

        public static final MsgType RemoveQueryChannels
        RemoveQueryChannels = 511;
      • SealedSegmentsChangeInfo

        public static final MsgType SealedSegmentsChangeInfo
        SealedSegmentsChangeInfo = 512;
      • WatchDeltaChannels

        public static final MsgType WatchDeltaChannels
        WatchDeltaChannels = 513;
      • GetShardLeaders

        public static final MsgType GetShardLeaders
        GetShardLeaders = 514;
      • GetReplicas

        public static final MsgType GetReplicas
        GetReplicas = 515;
      • UnsubDmChannel

        public static final MsgType UnsubDmChannel
        UnsubDmChannel = 516;
      • GetDistribution

        public static final MsgType GetDistribution
        GetDistribution = 517;
      • SyncDistribution

        public static final MsgType SyncDistribution
        SyncDistribution = 518;
      • SegmentInfo

        public static final MsgType SegmentInfo
         DATA SERVICE 
         
        SegmentInfo = 600;
      • SystemInfo

        public static final MsgType SystemInfo
        SystemInfo = 601;
      • GetRecoveryInfo

        public static final MsgType GetRecoveryInfo
        GetRecoveryInfo = 602;
      • GetSegmentState

        public static final MsgType GetSegmentState
        GetSegmentState = 603;
      • TimeTick

        public static final MsgType TimeTick
         SYSTEM CONTROL 
         
        TimeTick = 1200;
      • QueryNodeStats

        public static final MsgType QueryNodeStats
         GOOSE TODO: Remove kQueryNodeStats
         
        QueryNodeStats = 1201;
      • LoadIndex

        public static final MsgType LoadIndex
        LoadIndex = 1202;
      • RequestID

        public static final MsgType RequestID
        RequestID = 1203;
      • RequestTSO

        public static final MsgType RequestTSO
        RequestTSO = 1204;
      • AllocateSegment

        public static final MsgType AllocateSegment
        AllocateSegment = 1205;
      • SegmentStatistics

        public static final MsgType SegmentStatistics
        SegmentStatistics = 1206;
      • SegmentFlushDone

        public static final MsgType SegmentFlushDone
        SegmentFlushDone = 1207;
      • DataNodeTt

        public static final MsgType DataNodeTt
        DataNodeTt = 1208;
      • Connect

        public static final MsgType Connect
        Connect = 1209;
      • ListClientInfos

        public static final MsgType ListClientInfos
        ListClientInfos = 1210;
      • AllocTimestamp

        public static final MsgType AllocTimestamp
        AllocTimestamp = 1211;
      • CreateCredential

        public static final MsgType CreateCredential
         Credential 
         
        CreateCredential = 1500;
      • GetCredential

        public static final MsgType GetCredential
        GetCredential = 1501;
      • DeleteCredential

        public static final MsgType DeleteCredential
        DeleteCredential = 1502;
      • UpdateCredential

        public static final MsgType UpdateCredential
        UpdateCredential = 1503;
      • ListCredUsernames

        public static final MsgType ListCredUsernames
        ListCredUsernames = 1504;
      • CreateRole

        public static final MsgType CreateRole
         RBAC 
         
        CreateRole = 1600;
      • DropRole

        public static final MsgType DropRole
        DropRole = 1601;
      • OperateUserRole

        public static final MsgType OperateUserRole
        OperateUserRole = 1602;
      • SelectRole

        public static final MsgType SelectRole
        SelectRole = 1603;
      • SelectUser

        public static final MsgType SelectUser
        SelectUser = 1604;
      • SelectResource

        public static final MsgType SelectResource
        SelectResource = 1605;
      • OperatePrivilege

        public static final MsgType OperatePrivilege
        OperatePrivilege = 1606;
      • SelectGrant

        public static final MsgType SelectGrant
        SelectGrant = 1607;
      • RefreshPolicyInfoCache

        public static final MsgType RefreshPolicyInfoCache
        RefreshPolicyInfoCache = 1608;
      • ListPolicy

        public static final MsgType ListPolicy
        ListPolicy = 1609;
      • CreateResourceGroup

        public static final MsgType CreateResourceGroup
         Resource group 
         
        CreateResourceGroup = 1700;
      • DropResourceGroup

        public static final MsgType DropResourceGroup
        DropResourceGroup = 1701;
      • ListResourceGroups

        public static final MsgType ListResourceGroups
        ListResourceGroups = 1702;
      • DescribeResourceGroup

        public static final MsgType DescribeResourceGroup
        DescribeResourceGroup = 1703;
      • TransferNode

        public static final MsgType TransferNode
        TransferNode = 1704;
      • TransferReplica

        public static final MsgType TransferReplica
        TransferReplica = 1705;
      • CreateDatabase

        public static final MsgType CreateDatabase
         Database group 
         
        CreateDatabase = 1801;
      • DropDatabase

        public static final MsgType DropDatabase
        DropDatabase = 1802;
      • ListDatabases

        public static final MsgType ListDatabases
        ListDatabases = 1803;
      • UNRECOGNIZED

        public static final MsgType UNRECOGNIZED
    • Field Detail

      • Undefined_VALUE

        public static final int Undefined_VALUE
        Undefined = 0;
        See Also:
        Constant Field Values
      • CreateCollection_VALUE

        public static final int CreateCollection_VALUE
         DEFINITION REQUESTS: COLLECTION 
         
        CreateCollection = 100;
        See Also:
        Constant Field Values
      • DropCollection_VALUE

        public static final int DropCollection_VALUE
        DropCollection = 101;
        See Also:
        Constant Field Values
      • HasCollection_VALUE

        public static final int HasCollection_VALUE
        HasCollection = 102;
        See Also:
        Constant Field Values
      • DescribeCollection_VALUE

        public static final int DescribeCollection_VALUE
        DescribeCollection = 103;
        See Also:
        Constant Field Values
      • ShowCollections_VALUE

        public static final int ShowCollections_VALUE
        ShowCollections = 104;
        See Also:
        Constant Field Values
      • GetSystemConfigs_VALUE

        public static final int GetSystemConfigs_VALUE
        GetSystemConfigs = 105;
        See Also:
        Constant Field Values
      • LoadCollection_VALUE

        public static final int LoadCollection_VALUE
        LoadCollection = 106;
        See Also:
        Constant Field Values
      • ReleaseCollection_VALUE

        public static final int ReleaseCollection_VALUE
        ReleaseCollection = 107;
        See Also:
        Constant Field Values
      • CreateAlias_VALUE

        public static final int CreateAlias_VALUE
        CreateAlias = 108;
        See Also:
        Constant Field Values
      • DropAlias_VALUE

        public static final int DropAlias_VALUE
        DropAlias = 109;
        See Also:
        Constant Field Values
      • AlterAlias_VALUE

        public static final int AlterAlias_VALUE
        AlterAlias = 110;
        See Also:
        Constant Field Values
      • AlterCollection_VALUE

        public static final int AlterCollection_VALUE
        AlterCollection = 111;
        See Also:
        Constant Field Values
      • RenameCollection_VALUE

        public static final int RenameCollection_VALUE
        RenameCollection = 112;
        See Also:
        Constant Field Values
      • CreatePartition_VALUE

        public static final int CreatePartition_VALUE
         DEFINITION REQUESTS: PARTITION 
         
        CreatePartition = 200;
        See Also:
        Constant Field Values
      • DropPartition_VALUE

        public static final int DropPartition_VALUE
        DropPartition = 201;
        See Also:
        Constant Field Values
      • HasPartition_VALUE

        public static final int HasPartition_VALUE
        HasPartition = 202;
        See Also:
        Constant Field Values
      • DescribePartition_VALUE

        public static final int DescribePartition_VALUE
        DescribePartition = 203;
        See Also:
        Constant Field Values
      • ShowPartitions_VALUE

        public static final int ShowPartitions_VALUE
        ShowPartitions = 204;
        See Also:
        Constant Field Values
      • LoadPartitions_VALUE

        public static final int LoadPartitions_VALUE
        LoadPartitions = 205;
        See Also:
        Constant Field Values
      • ReleasePartitions_VALUE

        public static final int ReleasePartitions_VALUE
        ReleasePartitions = 206;
        See Also:
        Constant Field Values
      • ShowSegments_VALUE

        public static final int ShowSegments_VALUE
         DEFINE REQUESTS: SEGMENT 
         
        ShowSegments = 250;
        See Also:
        Constant Field Values
      • DescribeSegment_VALUE

        public static final int DescribeSegment_VALUE
        DescribeSegment = 251;
        See Also:
        Constant Field Values
      • LoadSegments_VALUE

        public static final int LoadSegments_VALUE
        LoadSegments = 252;
        See Also:
        Constant Field Values
      • ReleaseSegments_VALUE

        public static final int ReleaseSegments_VALUE
        ReleaseSegments = 253;
        See Also:
        Constant Field Values
      • HandoffSegments_VALUE

        public static final int HandoffSegments_VALUE
        HandoffSegments = 254;
        See Also:
        Constant Field Values
      • LoadBalanceSegments_VALUE

        public static final int LoadBalanceSegments_VALUE
        LoadBalanceSegments = 255;
        See Also:
        Constant Field Values
      • DescribeSegments_VALUE

        public static final int DescribeSegments_VALUE
        DescribeSegments = 256;
        See Also:
        Constant Field Values
      • CreateIndex_VALUE

        public static final int CreateIndex_VALUE
         DEFINITION REQUESTS: INDEX 
         
        CreateIndex = 300;
        See Also:
        Constant Field Values
      • DescribeIndex_VALUE

        public static final int DescribeIndex_VALUE
        DescribeIndex = 301;
        See Also:
        Constant Field Values
      • DropIndex_VALUE

        public static final int DropIndex_VALUE
        DropIndex = 302;
        See Also:
        Constant Field Values
      • GetIndexStatistics_VALUE

        public static final int GetIndexStatistics_VALUE
        GetIndexStatistics = 303;
        See Also:
        Constant Field Values
      • Insert_VALUE

        public static final int Insert_VALUE
         MANIPULATION REQUESTS 
         
        Insert = 400;
        See Also:
        Constant Field Values
      • ResendSegmentStats_VALUE

        public static final int ResendSegmentStats_VALUE
        ResendSegmentStats = 403;
        See Also:
        Constant Field Values
      • SearchResult_VALUE

        public static final int SearchResult_VALUE
        SearchResult = 501;
        See Also:
        Constant Field Values
      • GetIndexState_VALUE

        public static final int GetIndexState_VALUE
        GetIndexState = 502;
        See Also:
        Constant Field Values
      • GetIndexBuildProgress_VALUE

        public static final int GetIndexBuildProgress_VALUE
        GetIndexBuildProgress = 503;
        See Also:
        Constant Field Values
      • GetCollectionStatistics_VALUE

        public static final int GetCollectionStatistics_VALUE
        GetCollectionStatistics = 504;
        See Also:
        Constant Field Values
      • GetPartitionStatistics_VALUE

        public static final int GetPartitionStatistics_VALUE
        GetPartitionStatistics = 505;
        See Also:
        Constant Field Values
      • RetrieveResult_VALUE

        public static final int RetrieveResult_VALUE
        RetrieveResult = 507;
        See Also:
        Constant Field Values
      • WatchDmChannels_VALUE

        public static final int WatchDmChannels_VALUE
        WatchDmChannels = 508;
        See Also:
        Constant Field Values
      • RemoveDmChannels_VALUE

        public static final int RemoveDmChannels_VALUE
        RemoveDmChannels = 509;
        See Also:
        Constant Field Values
      • WatchQueryChannels_VALUE

        public static final int WatchQueryChannels_VALUE
        WatchQueryChannels = 510;
        See Also:
        Constant Field Values
      • RemoveQueryChannels_VALUE

        public static final int RemoveQueryChannels_VALUE
        RemoveQueryChannels = 511;
        See Also:
        Constant Field Values
      • SealedSegmentsChangeInfo_VALUE

        public static final int SealedSegmentsChangeInfo_VALUE
        SealedSegmentsChangeInfo = 512;
        See Also:
        Constant Field Values
      • WatchDeltaChannels_VALUE

        public static final int WatchDeltaChannels_VALUE
        WatchDeltaChannels = 513;
        See Also:
        Constant Field Values
      • GetShardLeaders_VALUE

        public static final int GetShardLeaders_VALUE
        GetShardLeaders = 514;
        See Also:
        Constant Field Values
      • GetReplicas_VALUE

        public static final int GetReplicas_VALUE
        GetReplicas = 515;
        See Also:
        Constant Field Values
      • UnsubDmChannel_VALUE

        public static final int UnsubDmChannel_VALUE
        UnsubDmChannel = 516;
        See Also:
        Constant Field Values
      • GetDistribution_VALUE

        public static final int GetDistribution_VALUE
        GetDistribution = 517;
        See Also:
        Constant Field Values
      • SyncDistribution_VALUE

        public static final int SyncDistribution_VALUE
        SyncDistribution = 518;
        See Also:
        Constant Field Values
      • SegmentInfo_VALUE

        public static final int SegmentInfo_VALUE
         DATA SERVICE 
         
        SegmentInfo = 600;
        See Also:
        Constant Field Values
      • SystemInfo_VALUE

        public static final int SystemInfo_VALUE
        SystemInfo = 601;
        See Also:
        Constant Field Values
      • GetRecoveryInfo_VALUE

        public static final int GetRecoveryInfo_VALUE
        GetRecoveryInfo = 602;
        See Also:
        Constant Field Values
      • GetSegmentState_VALUE

        public static final int GetSegmentState_VALUE
        GetSegmentState = 603;
        See Also:
        Constant Field Values
      • TimeTick_VALUE

        public static final int TimeTick_VALUE
         SYSTEM CONTROL 
         
        TimeTick = 1200;
        See Also:
        Constant Field Values
      • QueryNodeStats_VALUE

        public static final int QueryNodeStats_VALUE
         GOOSE TODO: Remove kQueryNodeStats
         
        QueryNodeStats = 1201;
        See Also:
        Constant Field Values
      • LoadIndex_VALUE

        public static final int LoadIndex_VALUE
        LoadIndex = 1202;
        See Also:
        Constant Field Values
      • RequestID_VALUE

        public static final int RequestID_VALUE
        RequestID = 1203;
        See Also:
        Constant Field Values
      • RequestTSO_VALUE

        public static final int RequestTSO_VALUE
        RequestTSO = 1204;
        See Also:
        Constant Field Values
      • AllocateSegment_VALUE

        public static final int AllocateSegment_VALUE
        AllocateSegment = 1205;
        See Also:
        Constant Field Values
      • SegmentStatistics_VALUE

        public static final int SegmentStatistics_VALUE
        SegmentStatistics = 1206;
        See Also:
        Constant Field Values
      • SegmentFlushDone_VALUE

        public static final int SegmentFlushDone_VALUE
        SegmentFlushDone = 1207;
        See Also:
        Constant Field Values
      • DataNodeTt_VALUE

        public static final int DataNodeTt_VALUE
        DataNodeTt = 1208;
        See Also:
        Constant Field Values
      • ListClientInfos_VALUE

        public static final int ListClientInfos_VALUE
        ListClientInfos = 1210;
        See Also:
        Constant Field Values
      • AllocTimestamp_VALUE

        public static final int AllocTimestamp_VALUE
        AllocTimestamp = 1211;
        See Also:
        Constant Field Values
      • CreateCredential_VALUE

        public static final int CreateCredential_VALUE
         Credential 
         
        CreateCredential = 1500;
        See Also:
        Constant Field Values
      • GetCredential_VALUE

        public static final int GetCredential_VALUE
        GetCredential = 1501;
        See Also:
        Constant Field Values
      • DeleteCredential_VALUE

        public static final int DeleteCredential_VALUE
        DeleteCredential = 1502;
        See Also:
        Constant Field Values
      • UpdateCredential_VALUE

        public static final int UpdateCredential_VALUE
        UpdateCredential = 1503;
        See Also:
        Constant Field Values
      • ListCredUsernames_VALUE

        public static final int ListCredUsernames_VALUE
        ListCredUsernames = 1504;
        See Also:
        Constant Field Values
      • CreateRole_VALUE

        public static final int CreateRole_VALUE
         RBAC 
         
        CreateRole = 1600;
        See Also:
        Constant Field Values
      • DropRole_VALUE

        public static final int DropRole_VALUE
        DropRole = 1601;
        See Also:
        Constant Field Values
      • OperateUserRole_VALUE

        public static final int OperateUserRole_VALUE
        OperateUserRole = 1602;
        See Also:
        Constant Field Values
      • SelectRole_VALUE

        public static final int SelectRole_VALUE
        SelectRole = 1603;
        See Also:
        Constant Field Values
      • SelectUser_VALUE

        public static final int SelectUser_VALUE
        SelectUser = 1604;
        See Also:
        Constant Field Values
      • SelectResource_VALUE

        public static final int SelectResource_VALUE
        SelectResource = 1605;
        See Also:
        Constant Field Values
      • OperatePrivilege_VALUE

        public static final int OperatePrivilege_VALUE
        OperatePrivilege = 1606;
        See Also:
        Constant Field Values
      • SelectGrant_VALUE

        public static final int SelectGrant_VALUE
        SelectGrant = 1607;
        See Also:
        Constant Field Values
      • RefreshPolicyInfoCache_VALUE

        public static final int RefreshPolicyInfoCache_VALUE
        RefreshPolicyInfoCache = 1608;
        See Also:
        Constant Field Values
      • ListPolicy_VALUE

        public static final int ListPolicy_VALUE
        ListPolicy = 1609;
        See Also:
        Constant Field Values
      • CreateResourceGroup_VALUE

        public static final int CreateResourceGroup_VALUE
         Resource group 
         
        CreateResourceGroup = 1700;
        See Also:
        Constant Field Values
      • DropResourceGroup_VALUE

        public static final int DropResourceGroup_VALUE
        DropResourceGroup = 1701;
        See Also:
        Constant Field Values
      • ListResourceGroups_VALUE

        public static final int ListResourceGroups_VALUE
        ListResourceGroups = 1702;
        See Also:
        Constant Field Values
      • DescribeResourceGroup_VALUE

        public static final int DescribeResourceGroup_VALUE
        DescribeResourceGroup = 1703;
        See Also:
        Constant Field Values
      • TransferNode_VALUE

        public static final int TransferNode_VALUE
        TransferNode = 1704;
        See Also:
        Constant Field Values
      • TransferReplica_VALUE

        public static final int TransferReplica_VALUE
        TransferReplica = 1705;
        See Also:
        Constant Field Values
      • CreateDatabase_VALUE

        public static final int CreateDatabase_VALUE
         Database group 
         
        CreateDatabase = 1801;
        See Also:
        Constant Field Values
      • DropDatabase_VALUE

        public static final int DropDatabase_VALUE
        DropDatabase = 1802;
        See Also:
        Constant Field Values
      • ListDatabases_VALUE

        public static final int ListDatabases_VALUE
        ListDatabases = 1803;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static MsgType 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 MsgType 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 MsgType 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<MsgType> 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 MsgType 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