@Generated(value="Generated by the protocol buffer compiler") public enum SavePageType extends java.lang.Enum<SavePageType> implements com.google.protobuf.ProtocolMessageEnum
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 com.google.protobuf.Internal.EnumLiteMap<SavePageType> |
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()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static SavePageType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SavePageType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SavePageType> 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 SavePageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)