Enum ConversationModel.State

    • Enum Constant Detail

      • STATE_UNSPECIFIED

        public static final ConversationModel.State STATE_UNSPECIFIED
         Should not be used, an un-set enum has this value by default.
         
        STATE_UNSPECIFIED = 0;
      • UNDEPLOYED

        public static final ConversationModel.State UNDEPLOYED
         Model is not deployed but ready to deploy.
         
        UNDEPLOYED = 2;
      • FAILED

        public static final ConversationModel.State FAILED
         Model is in error state. Not ready to deploy and use.
         
        FAILED = 7;
      • PENDING

        public static final ConversationModel.State PENDING
         Model is being created but the training has not started,
         The model may remain in this state until there is enough capacity to
         start training.
         
        PENDING = 8;
    • Field Detail

      • STATE_UNSPECIFIED_VALUE

        public static final int STATE_UNSPECIFIED_VALUE
         Should not be used, an un-set enum has this value by default.
         
        STATE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • CREATING_VALUE

        public static final int CREATING_VALUE
         Model being created.
         
        CREATING = 1;
        See Also:
        Constant Field Values
      • UNDEPLOYED_VALUE

        public static final int UNDEPLOYED_VALUE
         Model is not deployed but ready to deploy.
         
        UNDEPLOYED = 2;
        See Also:
        Constant Field Values
      • DEPLOYING_VALUE

        public static final int DEPLOYING_VALUE
         Model is deploying.
         
        DEPLOYING = 3;
        See Also:
        Constant Field Values
      • DEPLOYED_VALUE

        public static final int DEPLOYED_VALUE
         Model is deployed and ready to use.
         
        DEPLOYED = 4;
        See Also:
        Constant Field Values
      • UNDEPLOYING_VALUE

        public static final int UNDEPLOYING_VALUE
         Model is undeploying.
         
        UNDEPLOYING = 5;
        See Also:
        Constant Field Values
      • DELETING_VALUE

        public static final int DELETING_VALUE
         Model is deleting.
         
        DELETING = 6;
        See Also:
        Constant Field Values
      • FAILED_VALUE

        public static final int FAILED_VALUE
         Model is in error state. Not ready to deploy and use.
         
        FAILED = 7;
        See Also:
        Constant Field Values
      • PENDING_VALUE

        public static final int PENDING_VALUE
         Model is being created but the training has not started,
         The model may remain in this state until there is enough capacity to
         start training.
         
        PENDING = 8;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static ConversationModel.State 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 ConversationModel.State 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 ConversationModel.State 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<ConversationModel.State> 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 ConversationModel.State 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