public enum SavePageType extends java.lang.Enum<SavePageType>
Protobuf enum teamdev.browsercore.browser.SavePageType
Enum Constant and Description |
---|
COMPLETE_HTML
The complete web page with all its resources will be saved.
|
MHTML
The complete web page with all its resources will be saved as MHTML.
|
ONLY_HTML
Only the HTML of the web page will be saved.
|
SAVE_PAGE_TYPE_UNSPECIFIED |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETE_HTML_VALUE
The complete web page with all its resources will be saved.
|
static int |
MHTML_VALUE
The complete web page with all its resources will be saved as MHTML.
|
static int |
ONLY_HTML_VALUE
Only the HTML of the web page will be saved.
|
static int |
SAVE_PAGE_TYPE_UNSPECIFIED_VALUE |
Modifier and Type | Method and Description |
---|---|
static SavePageType |
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 <any> |
internalGetValueMap() |
static SavePageType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SavePageType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SavePageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SavePageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SavePageType SAVE_PAGE_TYPE_UNSPECIFIED
public static final SavePageType ONLY_HTML
public static final SavePageType COMPLETE_HTML
public static final SavePageType MHTML
public static final SavePageType UNRECOGNIZED
public static final int SAVE_PAGE_TYPE_UNSPECIFIED_VALUE
public static final int ONLY_HTML_VALUE
public static final int COMPLETE_HTML_VALUE
public static final int MHTML_VALUE
public static SavePageType[] values()
for (SavePageType c : SavePageType.values()) System.out.println(c);
public static SavePageType 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()
@Deprecated public static SavePageType valueOf(int value)
forNumber(int)
instead.public static SavePageType forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SavePageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)