Class DailyResourceUsageAggregation.Network.Builder (0.9.0)

public static final class DailyResourceUsageAggregation.Network.Builder extends GeneratedMessageV3.Builder<DailyResourceUsageAggregation.Network.Builder> implements DailyResourceUsageAggregation.NetworkOrBuilder

Statistical aggregation of network usage.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DailyResourceUsageAggregation.Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

build()

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

buildPartial()

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

clear()

public DailyResourceUsageAggregation.Network.Builder clear()
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

clearEgressBps()

public DailyResourceUsageAggregation.Network.Builder clearEgressBps()

Network egress in B/s.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

clearField(Descriptors.FieldDescriptor field)

public DailyResourceUsageAggregation.Network.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

clearIngressBps()

public DailyResourceUsageAggregation.Network.Builder clearIngressBps()

Network ingress in B/s.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DailyResourceUsageAggregation.Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

clone()

public DailyResourceUsageAggregation.Network.Builder clone()
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getEgressBpsBuilder()

public DailyResourceUsageAggregation.Stats.Builder getEgressBpsBuilder()

Network egress in B/s.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Stats.Builder

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.

getIngressBpsBuilder()

public DailyResourceUsageAggregation.Stats.Builder getIngressBpsBuilder()

Network ingress in B/s.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Stats.Builder

getIngressBpsOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getIngressBpsOrBuilder()

Network ingress in B/s.

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

Returns
TypeDescription
DailyResourceUsageAggregation.StatsOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEgressBps(DailyResourceUsageAggregation.Stats value)

public DailyResourceUsageAggregation.Network.Builder mergeEgressBps(DailyResourceUsageAggregation.Stats value)

Network egress in B/s.

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

Parameter
NameDescription
valueDailyResourceUsageAggregation.Stats
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

mergeFrom(DailyResourceUsageAggregation.Network other)

public DailyResourceUsageAggregation.Network.Builder mergeFrom(DailyResourceUsageAggregation.Network other)
Parameter
NameDescription
otherDailyResourceUsageAggregation.Network
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DailyResourceUsageAggregation.Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DailyResourceUsageAggregation.Network.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

mergeIngressBps(DailyResourceUsageAggregation.Stats value)

public DailyResourceUsageAggregation.Network.Builder mergeIngressBps(DailyResourceUsageAggregation.Stats value)

Network ingress in B/s.

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

Parameter
NameDescription
valueDailyResourceUsageAggregation.Stats
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

setEgressBps(DailyResourceUsageAggregation.Stats value)

public DailyResourceUsageAggregation.Network.Builder setEgressBps(DailyResourceUsageAggregation.Stats value)

Network egress in B/s.

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

Parameter
NameDescription
valueDailyResourceUsageAggregation.Stats
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

setEgressBps(DailyResourceUsageAggregation.Stats.Builder builderForValue)

public DailyResourceUsageAggregation.Network.Builder setEgressBps(DailyResourceUsageAggregation.Stats.Builder builderForValue)

Network egress in B/s.

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

Parameter
NameDescription
builderForValueDailyResourceUsageAggregation.Stats.Builder
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DailyResourceUsageAggregation.Network.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

setIngressBps(DailyResourceUsageAggregation.Stats value)

public DailyResourceUsageAggregation.Network.Builder setIngressBps(DailyResourceUsageAggregation.Stats value)

Network ingress in B/s.

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

Parameter
NameDescription
valueDailyResourceUsageAggregation.Stats
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

setIngressBps(DailyResourceUsageAggregation.Stats.Builder builderForValue)

public DailyResourceUsageAggregation.Network.Builder setIngressBps(DailyResourceUsageAggregation.Stats.Builder builderForValue)

Network ingress in B/s.

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

Parameter
NameDescription
builderForValueDailyResourceUsageAggregation.Stats.Builder
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DailyResourceUsageAggregation.Network.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.Network.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DailyResourceUsageAggregation.Network.Builder
Overrides