public final class UserAssist extends GeneratedMessage implements UserAssistOrBuilderThe UserAssist extension captures details specific to Windows User Assist events.
Protobuf type google.backstory.UserAssist
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UserAssistImplements
UserAssistOrBuilderStatic Fields
APPLICATION_FOCUS_COUNT_FIELD_NUMBER
public static final int APPLICATION_FOCUS_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APPLICATION_FOCUS_DURATION_FIELD_NUMBER
public static final int APPLICATION_FOCUS_DURATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ENTRY_INDEX_FIELD_NUMBER
public static final int ENTRY_INDEX_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
EXECUTIONS_COUNT_FIELD_NUMBER
public static final int EXECUTIONS_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static UserAssist getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static UserAssist.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
UserAssist.Builder |
|
newBuilder(UserAssist prototype)
public static UserAssist.Builder newBuilder(UserAssist prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
UserAssist |
| Returns | |
|---|---|
| Type | Description |
UserAssist.Builder |
|
parseDelimitedFrom(InputStream input)
public static UserAssist parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserAssist parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static UserAssist parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserAssist parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static UserAssist parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserAssist parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static UserAssist parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserAssist parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static UserAssist parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserAssist parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static UserAssist parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserAssist parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserAssist |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<UserAssist> parser()| Returns | |
|---|---|
| Type | Description |
Parser<UserAssist> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. |
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 |
|
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. |
getParserForType()
public Parser<UserAssist> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<UserAssist> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public UserAssist.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
UserAssist.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UserAssist.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
UserAssist.Builder |
|
toBuilder()
public UserAssist.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
UserAssist.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|