public final class NetworkUsage extends Object
| Constructor and Description |
|---|
NetworkUsage() |
| Modifier and Type | Method and Description |
|---|---|
NetworkUsage |
clear() |
NetworkUsage |
clearBytesPerPeriod() |
NetworkUsage |
clearMessagesPerPeriod() |
NetworkUsage |
copyFrom(NetworkUsage _other) |
long |
getBytesPerPeriod() |
long |
getMessagesPerPeriod() |
int |
getSerializedSize() |
boolean |
hasBytesPerPeriod() |
boolean |
hasMessagesPerPeriod() |
void |
parseFrom(byte[] a) |
void |
parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size) |
NetworkUsage |
setBytesPerPeriod(long bytesPerPeriod) |
NetworkUsage |
setMessagesPerPeriod(long messagesPerPeriod) |
byte[] |
toByteArray() |
int |
writeTo(io.netty.buffer.ByteBuf _b) |
public boolean hasBytesPerPeriod()
public long getBytesPerPeriod()
public NetworkUsage setBytesPerPeriod(long bytesPerPeriod)
public NetworkUsage clearBytesPerPeriod()
public boolean hasMessagesPerPeriod()
public long getMessagesPerPeriod()
public NetworkUsage setMessagesPerPeriod(long messagesPerPeriod)
public NetworkUsage clearMessagesPerPeriod()
public int writeTo(io.netty.buffer.ByteBuf _b)
public int getSerializedSize()
public void parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size)
public NetworkUsage clear()
public NetworkUsage copyFrom(NetworkUsage _other)
public byte[] toByteArray()
public void parseFrom(byte[] a)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.