public static final class PrefetchFileMetadata.Builder extends GeneratedMessage.Builder<PrefetchFileMetadata.Builder> implements PrefetchFileMetadataOrBuilderWindows Prefetch file metadata.
Protobuf type google.backstory.PrefetchFileMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PrefetchFileMetadata.BuilderImplements
PrefetchFileMetadataOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PrefetchFileMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PrefetchFileMetadata.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
longThe runCount to set. |
| Returns | |
|---|---|
| Type | Description |
PrefetchFileMetadata.Builder |
This builder for chaining. |