Class PrefetchFileMetadata.Builder (0.3.0)

public static final class PrefetchFileMetadata.Builder extends GeneratedMessage.Builder<PrefetchFileMetadata.Builder> implements PrefetchFileMetadataOrBuilder

Windows Prefetch file metadata.

Protobuf type google.backstory.PrefetchFileMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PrefetchFileMetadata build()
Returns
Type Description
PrefetchFileMetadata

buildPartial()

public PrefetchFileMetadata buildPartial()
Returns
Type Description
PrefetchFileMetadata

clear()

public PrefetchFileMetadata.Builder clear()
Returns
Type Description
PrefetchFileMetadata.Builder
Overrides

clearPrefetchHash()

public PrefetchFileMetadata.Builder clearPrefetchHash()

A hash of the executable path used to identify the prefetch file.

string prefetch_hash = 2;

Returns
Type Description
PrefetchFileMetadata.Builder

This builder for chaining.

clearRunCount()

public PrefetchFileMetadata.Builder clearRunCount()

The number of times the application has been run.

int64 run_count = 1;

Returns
Type Description
PrefetchFileMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public PrefetchFileMetadata getDefaultInstanceForType()
Returns
Type Description
PrefetchFileMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPrefetchHash()

public String getPrefetchHash()

A hash of the executable path used to identify the prefetch file.

string prefetch_hash = 2;

Returns
Type Description
String

The prefetchHash.

getPrefetchHashBytes()

public ByteString getPrefetchHashBytes()

A hash of the executable path used to identify the prefetch file.

string prefetch_hash = 2;

Returns
Type Description
ByteString

The bytes for prefetchHash.

getRunCount()

public long getRunCount()

The number of times the application has been run.

int64 run_count = 1;

Returns
Type Description
long

The runCount.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrefetchFileMetadata other)

public PrefetchFileMetadata.Builder mergeFrom(PrefetchFileMetadata other)
Parameter
Name Description
other PrefetchFileMetadata
Returns
Type Description
PrefetchFileMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrefetchFileMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrefetchFileMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PrefetchFileMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PrefetchFileMetadata.Builder
Overrides

setPrefetchHash(String value)

public PrefetchFileMetadata.Builder setPrefetchHash(String value)

A hash of the executable path used to identify the prefetch file.

string prefetch_hash = 2;

Parameter
Name Description
value String

The prefetchHash to set.

Returns
Type Description
PrefetchFileMetadata.Builder

This builder for chaining.

setPrefetchHashBytes(ByteString value)

public PrefetchFileMetadata.Builder setPrefetchHashBytes(ByteString value)

A hash of the executable path used to identify the prefetch file.

string prefetch_hash = 2;

Parameter
Name Description
value ByteString

The bytes for prefetchHash to set.

Returns
Type Description
PrefetchFileMetadata.Builder

This builder for chaining.

setRunCount(long value)

public PrefetchFileMetadata.Builder setRunCount(long value)

The number of times the application has been run.

int64 run_count = 1;

Parameter
Name Description
value long

The runCount to set.

Returns
Type Description
PrefetchFileMetadata.Builder

This builder for chaining.