public static final class UserAssist.Builder extends GeneratedMessage.Builder<UserAssist.Builder> implements UserAssistOrBuilderThe UserAssist extension captures details specific to Windows User Assist events.
Protobuf type google.backstory.UserAssist
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserAssist.BuilderImplements
UserAssistOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserAssist.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserAssist.Builder |
|
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 |
longThe 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 |
longThe 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 |
longThe executionsCount to set. |
| Returns | |
|---|---|
| Type | Description |
UserAssist.Builder |
This builder for chaining. |