public final class FileMetadataPeResourceInfo extends GeneratedMessage implements FileMetadataPeResourceInfoOrBuilderFile metadata for PE resource.
Protobuf type google.backstory.FileMetadataPeResourceInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FileMetadataPeResourceInfoImplements
FileMetadataPeResourceInfoOrBuilderStatic Fields
ENTROPY_FIELD_NUMBER
public static final int ENTROPY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FILETYPE_MAGIC_FIELD_NUMBER
public static final int FILETYPE_MAGIC_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FILE_TYPE_FIELD_NUMBER
public static final int FILE_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SHA256_HEX_FIELD_NUMBER
public static final int SHA256_HEX_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static FileMetadataPeResourceInfo getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static FileMetadataPeResourceInfo.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo.Builder |
|
newBuilder(FileMetadataPeResourceInfo prototype)
public static FileMetadataPeResourceInfo.Builder newBuilder(FileMetadataPeResourceInfo prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
FileMetadataPeResourceInfo |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo.Builder |
|
parseDelimitedFrom(InputStream input)
public static FileMetadataPeResourceInfo parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileMetadataPeResourceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static FileMetadataPeResourceInfo parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileMetadataPeResourceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static FileMetadataPeResourceInfo parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileMetadataPeResourceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static FileMetadataPeResourceInfo parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileMetadataPeResourceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static FileMetadataPeResourceInfo parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileMetadataPeResourceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static FileMetadataPeResourceInfo parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileMetadataPeResourceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<FileMetadataPeResourceInfo> parser()| Returns | |
|---|---|
| Type | Description |
Parser<FileMetadataPeResourceInfo> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public FileMetadataPeResourceInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo |
|
getEntropy()
public double getEntropy()Entropy of the resource.
double entropy = 5;
| Returns | |
|---|---|
| Type | Description |
double |
The entropy. |
getFileType()
public String getFileType()File type. Note that this value may not match any of the well-known type identifiers defined in the ResourceType enum.
string file_type = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The fileType. |
getFileTypeBytes()
public ByteString getFileTypeBytes()File type. Note that this value may not match any of the well-known type identifiers defined in the ResourceType enum.
string file_type = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fileType. |
getFiletypeMagic()
public String getFiletypeMagic()Type of resource content, as identified by the magic Python module.
string filetype_magic = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The filetypeMagic. |
getFiletypeMagicBytes()
public ByteString getFiletypeMagicBytes()Type of resource content, as identified by the magic Python module.
string filetype_magic = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filetypeMagic. |
getLanguageCode()
public String getLanguageCode()Human-readable version of the language and sublanguage identifiers, as defined in the Microsoft Windows PE specification.
string language_code = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()Human-readable version of the language and sublanguage identifiers, as defined in the Microsoft Windows PE specification.
string language_code = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for languageCode. |
getParserForType()
public Parser<FileMetadataPeResourceInfo> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<FileMetadataPeResourceInfo> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSha256Hex()
public String getSha256Hex()SHA256_hex field..
string sha256_hex = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The sha256Hex. |
getSha256HexBytes()
public ByteString getSha256HexBytes()SHA256_hex field..
string sha256_hex = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sha256Hex. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public FileMetadataPeResourceInfo.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FileMetadataPeResourceInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo.Builder |
|
toBuilder()
public FileMetadataPeResourceInfo.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
FileMetadataPeResourceInfo.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|