Enum StatusUpdate.DeviceState

java.lang.Object
java.lang.Enum<StatusUpdate.DeviceState>
com.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<StatusUpdate.DeviceState>
Enclosing class:
StatusUpdate

public static enum StatusUpdate.DeviceState extends Enum<StatusUpdate.DeviceState> implements com.google.protobuf.ProtocolMessageEnum
 The state displayed with the ADB Device when running "adb devices"
 
Protobuf enum google.cloud.devicestreaming.v1.StatusUpdate.DeviceState
  • Enum Constant Details

    • DEVICE_STATE_UNSPECIFIED

      public static final StatusUpdate.DeviceState DEVICE_STATE_UNSPECIFIED
       The device state is unknown.
       
      DEVICE_STATE_UNSPECIFIED = 0;
    • DEVICE

      public static final StatusUpdate.DeviceState DEVICE
       The ADB device is in the "device" status.
       
      DEVICE = 1;
    • RECOVERY

      public static final StatusUpdate.DeviceState RECOVERY
       The ADB device is in the "recovery" status.
       
      RECOVERY = 2;
    • RESCUE

      public static final StatusUpdate.DeviceState RESCUE
       The ADB device is in the "rescue" status.
       
      RESCUE = 3;
    • SIDELOAD

      public static final StatusUpdate.DeviceState SIDELOAD
       The ADB device is in the "sideload" status.
       
      SIDELOAD = 4;
    • MISSING

      public static final StatusUpdate.DeviceState MISSING
       The ADB device is in the "missing" status.
       
      MISSING = 10;
    • OFFLINE

      public static final StatusUpdate.DeviceState OFFLINE
       The ADB device is in the "offline" status.
       
      OFFLINE = 11;
    • UNAUTHORIZED

      public static final StatusUpdate.DeviceState UNAUTHORIZED
       The ADB device is in the "unauthorized" status.
       
      UNAUTHORIZED = 12;
    • AUTHORIZING

      public static final StatusUpdate.DeviceState AUTHORIZING
       The ADB device is in the "authorizing" status.
       
      AUTHORIZING = 13;
    • CONNECTING

      public static final StatusUpdate.DeviceState CONNECTING
       The ADB device is in the "connecting" status.
       
      CONNECTING = 14;
    • UNRECOGNIZED

      public static final StatusUpdate.DeviceState UNRECOGNIZED
  • Field Details

    • DEVICE_STATE_UNSPECIFIED_VALUE

      public static final int DEVICE_STATE_UNSPECIFIED_VALUE
       The device state is unknown.
       
      DEVICE_STATE_UNSPECIFIED = 0;
      See Also:
    • DEVICE_VALUE

      public static final int DEVICE_VALUE
       The ADB device is in the "device" status.
       
      DEVICE = 1;
      See Also:
    • RECOVERY_VALUE

      public static final int RECOVERY_VALUE
       The ADB device is in the "recovery" status.
       
      RECOVERY = 2;
      See Also:
    • RESCUE_VALUE

      public static final int RESCUE_VALUE
       The ADB device is in the "rescue" status.
       
      RESCUE = 3;
      See Also:
    • SIDELOAD_VALUE

      public static final int SIDELOAD_VALUE
       The ADB device is in the "sideload" status.
       
      SIDELOAD = 4;
      See Also:
    • MISSING_VALUE

      public static final int MISSING_VALUE
       The ADB device is in the "missing" status.
       
      MISSING = 10;
      See Also:
    • OFFLINE_VALUE

      public static final int OFFLINE_VALUE
       The ADB device is in the "offline" status.
       
      OFFLINE = 11;
      See Also:
    • UNAUTHORIZED_VALUE

      public static final int UNAUTHORIZED_VALUE
       The ADB device is in the "unauthorized" status.
       
      UNAUTHORIZED = 12;
      See Also:
    • AUTHORIZING_VALUE

      public static final int AUTHORIZING_VALUE
       The ADB device is in the "authorizing" status.
       
      AUTHORIZING = 13;
      See Also:
    • CONNECTING_VALUE

      public static final int CONNECTING_VALUE
       The ADB device is in the "connecting" status.
       
      CONNECTING = 14;
      See Also:
  • Method Details

    • values

      public static StatusUpdate.DeviceState[] 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 StatusUpdate.DeviceState 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 StatusUpdate.DeviceState 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 StatusUpdate.DeviceState 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<StatusUpdate.DeviceState> 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 StatusUpdate.DeviceState 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