Class AppCompatMetadata.Builder (0.3.0)

public static final class AppCompatMetadata.Builder extends GeneratedMessage.Builder<AppCompatMetadata.Builder> implements AppCompatMetadataOrBuilder

Windows AppCompatCache (Application Compatibility) metadata.

Protobuf type google.backstory.AppCompatMetadata

Static Methods

getDescriptor()

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

Methods

build()

public AppCompatMetadata build()
Returns
Type Description
AppCompatMetadata

buildPartial()

public AppCompatMetadata buildPartial()
Returns
Type Description
AppCompatMetadata

clear()

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

clearControlSet()

public AppCompatMetadata.Builder clearControlSet()

Indicates which registry Control Set the AppCompatCache data belongs to (e.g., "ControlSet001").

string control_set = 3;

Returns
Type Description
AppCompatMetadata.Builder

This builder for chaining.

clearExecuted()

public AppCompatMetadata.Builder clearExecuted()

Indicates whether the file associated with the entry was executed.

bool executed = 2;

Returns
Type Description
AppCompatMetadata.Builder

This builder for chaining.

clearSequence()

public AppCompatMetadata.Builder clearSequence()

Indicates the chronological order in which the entry was added to the cache.

int32 sequence = 1;

Returns
Type Description
AppCompatMetadata.Builder

This builder for chaining.

getControlSet()

public String getControlSet()

Indicates which registry Control Set the AppCompatCache data belongs to (e.g., "ControlSet001").

string control_set = 3;

Returns
Type Description
String

The controlSet.

getControlSetBytes()

public ByteString getControlSetBytes()

Indicates which registry Control Set the AppCompatCache data belongs to (e.g., "ControlSet001").

string control_set = 3;

Returns
Type Description
ByteString

The bytes for controlSet.

getDefaultInstanceForType()

public AppCompatMetadata getDefaultInstanceForType()
Returns
Type Description
AppCompatMetadata

getDescriptorForType()

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

getExecuted()

public boolean getExecuted()

Indicates whether the file associated with the entry was executed.

bool executed = 2;

Returns
Type Description
boolean

The executed.

getSequence()

public int getSequence()

Indicates the chronological order in which the entry was added to the cache.

int32 sequence = 1;

Returns
Type Description
int

The sequence.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppCompatMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setControlSet(String value)

public AppCompatMetadata.Builder setControlSet(String value)

Indicates which registry Control Set the AppCompatCache data belongs to (e.g., "ControlSet001").

string control_set = 3;

Parameter
Name Description
value String

The controlSet to set.

Returns
Type Description
AppCompatMetadata.Builder

This builder for chaining.

setControlSetBytes(ByteString value)

public AppCompatMetadata.Builder setControlSetBytes(ByteString value)

Indicates which registry Control Set the AppCompatCache data belongs to (e.g., "ControlSet001").

string control_set = 3;

Parameter
Name Description
value ByteString

The bytes for controlSet to set.

Returns
Type Description
AppCompatMetadata.Builder

This builder for chaining.

setExecuted(boolean value)

public AppCompatMetadata.Builder setExecuted(boolean value)

Indicates whether the file associated with the entry was executed.

bool executed = 2;

Parameter
Name Description
value boolean

The executed to set.

Returns
Type Description
AppCompatMetadata.Builder

This builder for chaining.

setSequence(int value)

public AppCompatMetadata.Builder setSequence(int value)

Indicates the chronological order in which the entry was added to the cache.

int32 sequence = 1;

Parameter
Name Description
value int

The sequence to set.

Returns
Type Description
AppCompatMetadata.Builder

This builder for chaining.