Chronicle V1 API - Class Google::Backstory::FileMetadataSection (v1.4.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::FileMetadataSection.

File metadata section.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#entropy

def entropy() -> ::Float
Returns
  • (::Float) — Entropy of the section.

#entropy=

def entropy=(value) -> ::Float
Parameter
  • value (::Float) — Entropy of the section.
Returns
  • (::Float) — Entropy of the section.

#md5_hex

def md5_hex() -> ::String
Returns
  • (::String) — MD5 hex of the file.

#md5_hex=

def md5_hex=(value) -> ::String
Parameter
  • value (::String) — MD5 hex of the file.
Returns
  • (::String) — MD5 hex of the file.

#name

def name() -> ::String
Returns
  • (::String) — Name of the section.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the section.
Returns
  • (::String) — Name of the section.

#raw_size_bytes

def raw_size_bytes() -> ::Integer
Returns
  • (::Integer) — Raw file size in bytes.

#raw_size_bytes=

def raw_size_bytes=(value) -> ::Integer
Parameter
  • value (::Integer) — Raw file size in bytes.
Returns
  • (::Integer) — Raw file size in bytes.

#virtual_size_bytes

def virtual_size_bytes() -> ::Integer
Returns
  • (::Integer) — Virtual file size in bytes.

#virtual_size_bytes=

def virtual_size_bytes=(value) -> ::Integer
Parameter
  • value (::Integer) — Virtual file size in bytes.
Returns
  • (::Integer) — Virtual file size in bytes.