public static final class Srum.Builder extends GeneratedMessage.Builder<Srum.Builder> implements SrumOrBuilderThe Srum extension captures details specific to Windows System Resource Usage Monitor (SRUM) events.
Protobuf type google.backstory.Srum
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Srum.BuilderImplements
SrumOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Srum build()| Returns | |
|---|---|
| Type | Description |
Srum |
|
buildPartial()
public Srum buildPartial()| Returns | |
|---|---|
| Type | Description |
Srum |
|
clear()
public Srum.Builder clear()| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
|
clearBackgroundBytesRead()
public Srum.Builder clearBackgroundBytesRead()The number of bytes read by the application while running in the background.
int64 background_bytes_read = 2;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
clearBackgroundBytesWritten()
public Srum.Builder clearBackgroundBytesWritten()The number of bytes written by the application while running in the background.
int64 background_bytes_written = 3;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
clearBackgroundContextSwitches()
public Srum.Builder clearBackgroundContextSwitches()The number of context switches performed by the application's threads while in the background.
int64 background_context_switches = 4;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
clearBackgroundCycleCount()
public Srum.Builder clearBackgroundCycleCount()The amount of CPU cycle time consumed by the application in the background, measured in clock cycles.
int64 background_cycle_count = 5;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
clearBackgroundFlushesCount()
public Srum.Builder clearBackgroundFlushesCount()The number of flush operations performed by the application in the background.
int64 background_flushes_count = 6;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
clearBackgroundReadOperations()
public Srum.Builder clearBackgroundReadOperations()The number of read operations performed by the application in the background.
int64 background_read_operations = 7;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
clearBackgroundWriteOperations()
public Srum.Builder clearBackgroundWriteOperations()The number of write operations performed by the application in the background.
int64 background_write_operations = 8;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
clearId()
public Srum.Builder clearId()A unique identifier for the SRUM record or the application/user being monitored.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
clearInterfaceLuid()
public Srum.Builder clearInterfaceLuid()The Locally Unique Identifier (LUID) for the network interface used for data transfer.
string interface_luid = 9;
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
getBackgroundBytesRead()
public long getBackgroundBytesRead()The number of bytes read by the application while running in the background.
int64 background_bytes_read = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The backgroundBytesRead. |
getBackgroundBytesWritten()
public long getBackgroundBytesWritten()The number of bytes written by the application while running in the background.
int64 background_bytes_written = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The backgroundBytesWritten. |
getBackgroundContextSwitches()
public long getBackgroundContextSwitches()The number of context switches performed by the application's threads while in the background.
int64 background_context_switches = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The backgroundContextSwitches. |
getBackgroundCycleCount()
public long getBackgroundCycleCount()The amount of CPU cycle time consumed by the application in the background, measured in clock cycles.
int64 background_cycle_count = 5;
| Returns | |
|---|---|
| Type | Description |
long |
The backgroundCycleCount. |
getBackgroundFlushesCount()
public long getBackgroundFlushesCount()The number of flush operations performed by the application in the background.
int64 background_flushes_count = 6;
| Returns | |
|---|---|
| Type | Description |
long |
The backgroundFlushesCount. |
getBackgroundReadOperations()
public long getBackgroundReadOperations()The number of read operations performed by the application in the background.
int64 background_read_operations = 7;
| Returns | |
|---|---|
| Type | Description |
long |
The backgroundReadOperations. |
getBackgroundWriteOperations()
public long getBackgroundWriteOperations()The number of write operations performed by the application in the background.
int64 background_write_operations = 8;
| Returns | |
|---|---|
| Type | Description |
long |
The backgroundWriteOperations. |
getDefaultInstanceForType()
public Srum getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Srum |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()A unique identifier for the SRUM record or the application/user being monitored.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()A unique identifier for the SRUM record or the application/user being monitored.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getInterfaceLuid()
public String getInterfaceLuid()The Locally Unique Identifier (LUID) for the network interface used for data transfer.
string interface_luid = 9;
| Returns | |
|---|---|
| Type | Description |
String |
The interfaceLuid. |
getInterfaceLuidBytes()
public ByteString getInterfaceLuidBytes()The Locally Unique Identifier (LUID) for the network interface used for data transfer.
string interface_luid = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for interfaceLuid. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Srum other)
public Srum.Builder mergeFrom(Srum other)| Parameter | |
|---|---|
| Name | Description |
other |
Srum |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Srum.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Srum.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
|
setBackgroundBytesRead(long value)
public Srum.Builder setBackgroundBytesRead(long value)The number of bytes read by the application while running in the background.
int64 background_bytes_read = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe backgroundBytesRead to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setBackgroundBytesWritten(long value)
public Srum.Builder setBackgroundBytesWritten(long value)The number of bytes written by the application while running in the background.
int64 background_bytes_written = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe backgroundBytesWritten to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setBackgroundContextSwitches(long value)
public Srum.Builder setBackgroundContextSwitches(long value)The number of context switches performed by the application's threads while in the background.
int64 background_context_switches = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe backgroundContextSwitches to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setBackgroundCycleCount(long value)
public Srum.Builder setBackgroundCycleCount(long value)The amount of CPU cycle time consumed by the application in the background, measured in clock cycles.
int64 background_cycle_count = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe backgroundCycleCount to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setBackgroundFlushesCount(long value)
public Srum.Builder setBackgroundFlushesCount(long value)The number of flush operations performed by the application in the background.
int64 background_flushes_count = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe backgroundFlushesCount to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setBackgroundReadOperations(long value)
public Srum.Builder setBackgroundReadOperations(long value)The number of read operations performed by the application in the background.
int64 background_read_operations = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe backgroundReadOperations to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setBackgroundWriteOperations(long value)
public Srum.Builder setBackgroundWriteOperations(long value)The number of write operations performed by the application in the background.
int64 background_write_operations = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe backgroundWriteOperations to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setId(String value)
public Srum.Builder setId(String value)A unique identifier for the SRUM record or the application/user being monitored.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public Srum.Builder setIdBytes(ByteString value)A unique identifier for the SRUM record or the application/user being monitored.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setInterfaceLuid(String value)
public Srum.Builder setInterfaceLuid(String value)The Locally Unique Identifier (LUID) for the network interface used for data transfer.
string interface_luid = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe interfaceLuid to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |
setInterfaceLuidBytes(ByteString value)
public Srum.Builder setInterfaceLuidBytes(ByteString value)The Locally Unique Identifier (LUID) for the network interface used for data transfer.
string interface_luid = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for interfaceLuid to set. |
| Returns | |
|---|---|
| Type | Description |
Srum.Builder |
This builder for chaining. |