Package com.teamdev.jxbrowser.net
Enum Class ResourceType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ResourceType>
,Constable
@Generated("Generated by the protocol buffer compiler")
public enum ResourceType
extends Enum<ResourceType>
implements com.google.protobuf.ProtocolMessageEnum
Resource types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresents a report of Content Security Policy violations.Represents a favicon.Represents a font.Represents an image (jpg/gif/png/etc).Represents a top level page.Represents a media resource.Represents a tag for a plugin.Represents a ping requestRepresents a resource that a plugin requested.Represents an explicitly requested prefetch.Reserved value.Represents an external script.Represents the main resource of a service worker.Represents the main resource of a shared worker.Represents a CSS stylesheet.Represents a frame or iframe.Represents the main resource of a dedicated worker.Represents an XMLHttpRequest. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Represents a report of Content Security Policy violations.static final int
Represents a favicon.static final int
Represents a font.static final int
Represents an image (jpg/gif/png/etc).static final int
Represents a top level page.static final int
Represents a media resource.static final int
Represents a tag for a plugin.static final int
Represents a ping requeststatic final int
Represents a resource that a plugin requested.static final int
Represents an explicitly requested prefetch.static final int
Reserved value.static final int
Represents an external script.static final int
Represents the main resource of a service worker.static final int
Represents the main resource of a shared worker.static final int
Represents a CSS stylesheet.static final int
Represents a frame or iframe.static final int
static final int
Represents the main resource of a dedicated worker.static final int
Represents an XMLHttpRequest. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceType
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<ResourceType>
static ResourceType
valueOf
(int value) Deprecated.static ResourceType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ResourceType
Returns the enum constant of this class with the specified name.static ResourceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RESOURCE_TYPE_UNSPECIFIED
Reserved value. -
MAIN_FRAME
Represents a top level page. -
SUB_FRAME
Represents a frame or iframe. -
STYLESHEET
Represents a CSS stylesheet. -
SCRIPT
Represents an external script. -
IMAGE
Represents an image (jpg/gif/png/etc). -
FONT_RESOURCE
Represents a font. -
SUB_RESOURCE
-
OBJECT
Represents a tag for a plugin. -
MEDIA
Represents a media resource. -
WORKER
Represents the main resource of a dedicated worker. -
SHARED_WORKER
Represents the main resource of a shared worker. -
PREFETCH
Represents an explicitly requested prefetch. -
FAVICON
Represents a favicon. -
XHR
Represents an XMLHttpRequest. -
PING
Represents a ping request -
SERVICE_WORKER
Represents the main resource of a service worker. -
CSP_REPORT
Represents a report of Content Security Policy violations. -
PLUGIN_RESOURCE
Represents a resource that a plugin requested. -
UNRECOGNIZED
-
-
Field Details
-
RESOURCE_TYPE_UNSPECIFIED_VALUE
public static final int RESOURCE_TYPE_UNSPECIFIED_VALUEReserved value.- See Also:
-
MAIN_FRAME_VALUE
public static final int MAIN_FRAME_VALUERepresents a top level page.- See Also:
-
SUB_FRAME_VALUE
public static final int SUB_FRAME_VALUERepresents a frame or iframe.- See Also:
-
STYLESHEET_VALUE
public static final int STYLESHEET_VALUERepresents a CSS stylesheet.- See Also:
-
SCRIPT_VALUE
public static final int SCRIPT_VALUERepresents an external script.- See Also:
-
IMAGE_VALUE
public static final int IMAGE_VALUERepresents an image (jpg/gif/png/etc).- See Also:
-
FONT_RESOURCE_VALUE
public static final int FONT_RESOURCE_VALUERepresents a font.- See Also:
-
SUB_RESOURCE_VALUE
public static final int SUB_RESOURCE_VALUE- See Also:
-
OBJECT_VALUE
public static final int OBJECT_VALUERepresents a tag for a plugin.- See Also:
-
MEDIA_VALUE
public static final int MEDIA_VALUERepresents a media resource.- See Also:
-
WORKER_VALUE
public static final int WORKER_VALUERepresents the main resource of a dedicated worker.- See Also:
-
SHARED_WORKER_VALUE
public static final int SHARED_WORKER_VALUERepresents the main resource of a shared worker.- See Also:
-
PREFETCH_VALUE
public static final int PREFETCH_VALUERepresents an explicitly requested prefetch.- See Also:
-
FAVICON_VALUE
public static final int FAVICON_VALUERepresents a favicon.- See Also:
-
XHR_VALUE
public static final int XHR_VALUERepresents an XMLHttpRequest.- See Also:
-
PING_VALUE
public static final int PING_VALUERepresents a ping request- See Also:
-
SERVICE_WORKER_VALUE
public static final int SERVICE_WORKER_VALUERepresents the main resource of a service worker.- See Also:
-
CSP_REPORT_VALUE
public static final int CSP_REPORT_VALUERepresents a report of Content Security Policy violations.- See Also:
-
PLUGIN_RESOURCE_VALUE
public static final int PLUGIN_RESOURCE_VALUERepresents a resource that a plugin requested.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-