Class DailyResourceUsageAggregation.Network (0.21.0)

public static final class DailyResourceUsageAggregation.Network extends GeneratedMessageV3 implements DailyResourceUsageAggregation.NetworkOrBuilder

Statistical aggregation of network usage.

Protobuf type google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Network

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DailyResourceUsageAggregation.Network

Static Fields

EGRESS_BPS_FIELD_NUMBER

public static final int EGRESS_BPS_FIELD_NUMBER
Field Value
TypeDescription
int

INGRESS_BPS_FIELD_NUMBER

public static final int INGRESS_BPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DailyResourceUsageAggregation.Network getDefaultInstance()
Returns
TypeDescription
DailyResourceUsageAggregation.Network

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DailyResourceUsageAggregation.Network.Builder newBuilder()
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

newBuilder(DailyResourceUsageAggregation.Network prototype)

public static DailyResourceUsageAggregation.Network.Builder newBuilder(DailyResourceUsageAggregation.Network prototype)
Parameter
NameDescription
prototypeDailyResourceUsageAggregation.Network
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

parseDelimitedFrom(InputStream input)

public static DailyResourceUsageAggregation.Network parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DailyResourceUsageAggregation.Network parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DailyResourceUsageAggregation.Network parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DailyResourceUsageAggregation.Network parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DailyResourceUsageAggregation.Network parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DailyResourceUsageAggregation.Network parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyResourceUsageAggregation.Network
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DailyResourceUsageAggregation.Network> parser()
Returns
TypeDescription
Parser<Network>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DailyResourceUsageAggregation.Network getDefaultInstanceForType()
Returns
TypeDescription
DailyResourceUsageAggregation.Network

getEgressBps()

public DailyResourceUsageAggregation.Stats getEgressBps()

Network egress in B/s.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats egress_bps = 2;

Returns
TypeDescription
DailyResourceUsageAggregation.Stats

The egressBps.

getEgressBpsOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getEgressBpsOrBuilder()

Network egress in B/s.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats egress_bps = 2;

Returns
TypeDescription
DailyResourceUsageAggregation.StatsOrBuilder

getIngressBps()

public DailyResourceUsageAggregation.Stats getIngressBps()

Network ingress in B/s.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats ingress_bps = 1;

Returns
TypeDescription
DailyResourceUsageAggregation.Stats

The ingressBps.

getIngressBpsOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getIngressBpsOrBuilder()

Network ingress in B/s.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats ingress_bps = 1;

Returns
TypeDescription
DailyResourceUsageAggregation.StatsOrBuilder

getParserForType()

public Parser<DailyResourceUsageAggregation.Network> getParserForType()
Returns
TypeDescription
Parser<Network>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasEgressBps()

public boolean hasEgressBps()

Network egress in B/s.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats egress_bps = 2;

Returns
TypeDescription
boolean

Whether the egressBps field is set.

hasIngressBps()

public boolean hasIngressBps()

Network ingress in B/s.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats ingress_bps = 1;

Returns
TypeDescription
boolean

Whether the ingressBps field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DailyResourceUsageAggregation.Network.Builder newBuilderForType()
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DailyResourceUsageAggregation.Network.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DailyResourceUsageAggregation.Network.Builder toBuilder()
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException