Reference documentation and code samples for the Google Cloud Chronicle Client class FileMetadataPE.
Metadata about the Portable Executable (PE) file.
Generated from protobuf message google.backstory.FileMetadataPE
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ imphash |
string
Imphash of the file. |
↳ entry_point |
int|string
info.pe-entry-point. |
↳ entry_point_exiftool |
int|string
info.exiftool.EntryPoint. |
↳ compilation_time |
Google\Protobuf\Timestamp
info.pe-timestamp. |
↳ compilation_exiftool_time |
Google\Protobuf\Timestamp
info.exiftool.TimeStamp. |
↳ section |
array<FileMetadataSection>
FilemetadataSection fields. |
↳ imports |
array<FileMetadataImports>
FilemetadataImports fields. |
↳ resource |
array<FileMetadataPeResourceInfo>
FilemetadataPeResourceInfo fields. |
↳ resources_type_count |
array<StringToInt64MapEntry>
Deprecated: use resources_type_count_str. |
↳ resources_language_count |
array<StringToInt64MapEntry>
Deprecated: use resources_language_count_str. |
↳ resources_type_count_str |
array<Label>
Number of resources by resource type. Example: RT_ICON: 10, RT_DIALOG: 5 |
↳ resources_language_count_str |
array<Label>
Number of resources by language. Example: NEUTRAL: 20, ENGLISH US: 10 |
↳ signature_info |
FileMetadataSignatureInfo
FilemetadataSignatureInfo field. deprecated, user File.signature_info instead. |
getImphash
Imphash of the file.
| Returns | |
|---|---|
| Type | Description |
string |
|
setImphash
Imphash of the file.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntryPoint
info.pe-entry-point.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setEntryPoint
info.pe-entry-point.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntryPointExiftool
info.exiftool.EntryPoint.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setEntryPointExiftool
info.exiftool.EntryPoint.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCompilationTime
info.pe-timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCompilationTime
clearCompilationTime
setCompilationTime
info.pe-timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCompilationExiftoolTime
info.exiftool.TimeStamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCompilationExiftoolTime
clearCompilationExiftoolTime
setCompilationExiftoolTime
info.exiftool.TimeStamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSection
FilemetadataSection fields.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<FileMetadataSection> |
|
setSection
FilemetadataSection fields.
| Parameter | |
|---|---|
| Name | Description |
var |
array<FileMetadataSection>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getImports
FilemetadataImports fields.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<FileMetadataImports> |
|
setImports
FilemetadataImports fields.
| Parameter | |
|---|---|
| Name | Description |
var |
array<FileMetadataImports>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResource
FilemetadataPeResourceInfo fields.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<FileMetadataPeResourceInfo> |
|
setResource
FilemetadataPeResourceInfo fields.
| Parameter | |
|---|---|
| Name | Description |
var |
array<FileMetadataPeResourceInfo>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourcesTypeCount
Deprecated: use resources_type_count_str.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<StringToInt64MapEntry> |
|
setResourcesTypeCount
Deprecated: use resources_type_count_str.
| Parameter | |
|---|---|
| Name | Description |
var |
array<StringToInt64MapEntry>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourcesLanguageCount
Deprecated: use resources_language_count_str.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<StringToInt64MapEntry> |
|
setResourcesLanguageCount
Deprecated: use resources_language_count_str.
| Parameter | |
|---|---|
| Name | Description |
var |
array<StringToInt64MapEntry>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourcesTypeCountStr
Number of resources by resource type.
Example: RT_ICON: 10, RT_DIALOG: 5
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Label> |
|
setResourcesTypeCountStr
Number of resources by resource type.
Example: RT_ICON: 10, RT_DIALOG: 5
| Parameter | |
|---|---|
| Name | Description |
var |
array<Label>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourcesLanguageCountStr
Number of resources by language.
Example: NEUTRAL: 20, ENGLISH US: 10
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Label> |
|
setResourcesLanguageCountStr
Number of resources by language.
Example: NEUTRAL: 20, ENGLISH US: 10
| Parameter | |
|---|---|
| Name | Description |
var |
array<Label>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSignatureInfo
FilemetadataSignatureInfo field.
deprecated, user File.signature_info instead.
| Returns | |
|---|---|
| Type | Description |
FileMetadataSignatureInfo|null |
|
hasSignatureInfo
clearSignatureInfo
setSignatureInfo
FilemetadataSignatureInfo field.
deprecated, user File.signature_info instead.
| Parameter | |
|---|---|
| Name | Description |
var |
FileMetadataSignatureInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|