Class UserAssist.Builder (0.3.0)

public static final class UserAssist.Builder extends GeneratedMessage.Builder<UserAssist.Builder> implements UserAssistOrBuilder

The UserAssist extension captures details specific to Windows User Assist events.

Protobuf type google.backstory.UserAssist

Implements

UserAssistOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public UserAssist build()
Returns
Type Description
UserAssist

buildPartial()

public UserAssist buildPartial()
Returns
Type Description
UserAssist

clear()

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

clearApplicationFocusCount()

public UserAssist.Builder clearApplicationFocusCount()

The number of times the application associated with the entry gained focus.

int64 application_focus_count = 1;

Returns
Type Description
UserAssist.Builder

This builder for chaining.

clearApplicationFocusDuration()

public UserAssist.Builder clearApplicationFocusDuration()

The total duration the application associated with the entry was in focus.

.google.protobuf.Duration application_focus_duration = 2;

Returns
Type Description
UserAssist.Builder

clearEntryIndex()

public UserAssist.Builder clearEntryIndex()

The index or identifier of the user assist entry, unique per user.

int64 entry_index = 4;

Returns
Type Description
UserAssist.Builder

This builder for chaining.

clearExecutionsCount()

public UserAssist.Builder clearExecutionsCount()

The number of times the application associated with the entry has been executed.

int64 executions_count = 3;

Returns
Type Description
UserAssist.Builder

This builder for chaining.

getApplicationFocusCount()

public long getApplicationFocusCount()

The number of times the application associated with the entry gained focus.

int64 application_focus_count = 1;

Returns
Type Description
long

The applicationFocusCount.

getApplicationFocusDuration()

public Duration getApplicationFocusDuration()

The total duration the application associated with the entry was in focus.

.google.protobuf.Duration application_focus_duration = 2;

Returns
Type Description
Duration

The applicationFocusDuration.

getApplicationFocusDurationBuilder()

public Duration.Builder getApplicationFocusDurationBuilder()

The total duration the application associated with the entry was in focus.

.google.protobuf.Duration application_focus_duration = 2;

Returns
Type Description
Builder

getApplicationFocusDurationOrBuilder()

public DurationOrBuilder getApplicationFocusDurationOrBuilder()

The total duration the application associated with the entry was in focus.

.google.protobuf.Duration application_focus_duration = 2;

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

public UserAssist getDefaultInstanceForType()
Returns
Type Description
UserAssist

getDescriptorForType()

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

getEntryIndex()

public long getEntryIndex()

The index or identifier of the user assist entry, unique per user.

int64 entry_index = 4;

Returns
Type Description
long

The entryIndex.

getExecutionsCount()

public long getExecutionsCount()

The number of times the application associated with the entry has been executed.

int64 executions_count = 3;

Returns
Type Description
long

The executionsCount.

hasApplicationFocusDuration()

public boolean hasApplicationFocusDuration()

The total duration the application associated with the entry was in focus.

.google.protobuf.Duration application_focus_duration = 2;

Returns
Type Description
boolean

Whether the applicationFocusDuration field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApplicationFocusDuration(Duration value)

public UserAssist.Builder mergeApplicationFocusDuration(Duration value)

The total duration the application associated with the entry was in focus.

.google.protobuf.Duration application_focus_duration = 2;

Parameter
Name Description
value Duration
Returns
Type Description
UserAssist.Builder

mergeFrom(UserAssist other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setApplicationFocusCount(long value)

public UserAssist.Builder setApplicationFocusCount(long value)

The number of times the application associated with the entry gained focus.

int64 application_focus_count = 1;

Parameter
Name Description
value long

The applicationFocusCount to set.

Returns
Type Description
UserAssist.Builder

This builder for chaining.

setApplicationFocusDuration(Duration value)

public UserAssist.Builder setApplicationFocusDuration(Duration value)

The total duration the application associated with the entry was in focus.

.google.protobuf.Duration application_focus_duration = 2;

Parameter
Name Description
value Duration
Returns
Type Description
UserAssist.Builder

setApplicationFocusDuration(Duration.Builder builderForValue)

public UserAssist.Builder setApplicationFocusDuration(Duration.Builder builderForValue)

The total duration the application associated with the entry was in focus.

.google.protobuf.Duration application_focus_duration = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UserAssist.Builder

setEntryIndex(long value)

public UserAssist.Builder setEntryIndex(long value)

The index or identifier of the user assist entry, unique per user.

int64 entry_index = 4;

Parameter
Name Description
value long

The entryIndex to set.

Returns
Type Description
UserAssist.Builder

This builder for chaining.

setExecutionsCount(long value)

public UserAssist.Builder setExecutionsCount(long value)

The number of times the application associated with the entry has been executed.

int64 executions_count = 3;

Parameter
Name Description
value long

The executionsCount to set.

Returns
Type Description
UserAssist.Builder

This builder for chaining.