@Generated(value="Generated by the protocol buffer compiler") public enum ExtensionActionType extends java.lang.Enum<ExtensionActionType> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
ACTION
The chrome.action type available in Manifest V3.
|
BROWSER
The browser action can be applied to all web pages within a browser.
|
EXTENSION_ACTION_TYPE_UNSPECIFIED
Reserved value.
|
PAGE
The page action can be applied to some web pages, but is not applicable to all pages.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_VALUE
The chrome.action type available in Manifest V3.
|
static int |
BROWSER_VALUE
The browser action can be applied to all web pages within a browser.
|
static int |
EXTENSION_ACTION_TYPE_UNSPECIFIED_VALUE
Reserved value.
|
static int |
PAGE_VALUE
The page action can be applied to some web pages, but is not applicable to all pages.
|
Modifier and Type | Method and Description |
---|---|
static ExtensionActionType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ExtensionActionType> |
internalGetValueMap() |
static ExtensionActionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExtensionActionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExtensionActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExtensionActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtensionActionType EXTENSION_ACTION_TYPE_UNSPECIFIED
public static final ExtensionActionType PAGE
public static final ExtensionActionType BROWSER
public static final ExtensionActionType ACTION
public static final ExtensionActionType UNRECOGNIZED
public static final int EXTENSION_ACTION_TYPE_UNSPECIFIED_VALUE
public static final int PAGE_VALUE
public static final int BROWSER_VALUE
public static final int ACTION_VALUE
public static ExtensionActionType[] values()
for (ExtensionActionType c : ExtensionActionType.values()) System.out.println(c);
public static ExtensionActionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static ExtensionActionType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ExtensionActionType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExtensionActionType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ExtensionActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)