Class DailyResourceUsageAggregation.Network (0.25.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
Type Description
int

INGRESS_BPS_FIELD_NUMBER

public static final int INGRESS_BPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DailyResourceUsageAggregation.Network getDefaultInstance()
Returns
Type Description
DailyResourceUsageAggregation.Network

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DailyResourceUsageAggregation.Network.Builder newBuilder()
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

newBuilder(DailyResourceUsageAggregation.Network prototype)

public static DailyResourceUsageAggregation.Network.Builder newBuilder(DailyResourceUsageAggregation.Network prototype)
Parameter
Name Description
prototype DailyResourceUsageAggregation.Network
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

parseDelimitedFrom(InputStream input)

public static DailyResourceUsageAggregation.Network parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DailyResourceUsageAggregation.Network parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DailyResourceUsageAggregation.Network parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DailyResourceUsageAggregation.Network parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DailyResourceUsageAggregation.Network parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DailyResourceUsageAggregation.Network parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DailyResourceUsageAggregation.Network parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DailyResourceUsageAggregation.Network
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DailyResourceUsageAggregation.Network getDefaultInstanceForType()
Returns
Type Description
DailyResourceUsageAggregation.Network

getEgressBps()

public DailyResourceUsageAggregation.Stats getEgressBps()

Network egress in B/s.

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

Returns
Type Description
DailyResourceUsageAggregation.Stats

The egressBps.

getEgressBpsOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getEgressBpsOrBuilder()

Network egress in B/s.

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

Returns
Type Description
DailyResourceUsageAggregation.StatsOrBuilder

getIngressBps()

public DailyResourceUsageAggregation.Stats getIngressBps()

Network ingress in B/s.

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

Returns
Type Description
DailyResourceUsageAggregation.Stats

The ingressBps.

getIngressBpsOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getIngressBpsOrBuilder()

Network ingress in B/s.

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

Returns
Type Description
DailyResourceUsageAggregation.StatsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEgressBps()

public boolean hasEgressBps()

Network egress in B/s.

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

Returns
Type Description
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
Type Description
boolean

Whether the ingressBps field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DailyResourceUsageAggregation.Network.Builder newBuilderForType()
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DailyResourceUsageAggregation.Network.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DailyResourceUsageAggregation.Network.Builder toBuilder()
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException