Enum ConversationModel.State

java.lang.Object
java.lang.Enum<ConversationModel.State>
com.google.cloud.dialogflow.v2.ConversationModel.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ConversationModel.State>
Enclosing class:
ConversationModel

public static enum ConversationModel.State extends Enum<ConversationModel.State> implements com.google.protobuf.ProtocolMessageEnum
 State of the model.
 
Protobuf enum google.cloud.dialogflow.v2.ConversationModel.State
  • Enum Constant Details

    • 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;
    • CREATING

      public static final ConversationModel.State CREATING
       Model being created.
       
      CREATING = 1;
    • UNDEPLOYED

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

      public static final ConversationModel.State DEPLOYING
       Model is deploying.
       
      DEPLOYING = 3;
    • DEPLOYED

      public static final ConversationModel.State DEPLOYED
       Model is deployed and ready to use.
       
      DEPLOYED = 4;
    • UNDEPLOYING

      public static final ConversationModel.State UNDEPLOYING
       Model is undeploying.
       
      UNDEPLOYING = 5;
    • DELETING

      public static final ConversationModel.State DELETING
       Model is deleting.
       
      DELETING = 6;
    • 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;
    • UNRECOGNIZED

      public static final ConversationModel.State UNRECOGNIZED
  • Field Details

    • 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:
    • CREATING_VALUE

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

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

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

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

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

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

      public static final int FAILED_VALUE
       Model is in error state. Not ready to deploy and use.
       
      FAILED = 7;
      See Also:
    • 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:
  • Method Details

    • values

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