Class DailyResourceUsageAggregation.Network.Builder (0.36.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DailyResourceUsageAggregation.Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder
Overrides

build()

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

buildPartial()

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

clear()

public DailyResourceUsageAggregation.Network.Builder clear()
Returns
Type Description
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
Type Description
DailyResourceUsageAggregation.Network.Builder

clearField(Descriptors.FieldDescriptor field)

public DailyResourceUsageAggregation.Network.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
DailyResourceUsageAggregation.Network.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DailyResourceUsageAggregation.Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder
Overrides

clone()

public DailyResourceUsageAggregation.Network.Builder clone()
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEgressBpsBuilder()

public DailyResourceUsageAggregation.Stats.Builder getEgressBpsBuilder()

Network egress in B/s.

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

Returns
Type Description
DailyResourceUsageAggregation.Stats.Builder

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.

getIngressBpsBuilder()

public DailyResourceUsageAggregation.Stats.Builder getIngressBpsBuilder()

Network ingress in B/s.

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

Returns
Type Description
DailyResourceUsageAggregation.Stats.Builder

getIngressBpsOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getIngressBpsOrBuilder()

Network ingress in B/s.

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

Returns
Type Description
DailyResourceUsageAggregation.StatsOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value DailyResourceUsageAggregation.Stats
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

mergeFrom(DailyResourceUsageAggregation.Network other)

public DailyResourceUsageAggregation.Network.Builder mergeFrom(DailyResourceUsageAggregation.Network other)
Parameter
Name Description
other DailyResourceUsageAggregation.Network
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DailyResourceUsageAggregation.Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DailyResourceUsageAggregation.Network.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value DailyResourceUsageAggregation.Stats
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value DailyResourceUsageAggregation.Stats
Returns
Type Description
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
Name Description
builderForValue DailyResourceUsageAggregation.Stats.Builder
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DailyResourceUsageAggregation.Network.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value DailyResourceUsageAggregation.Stats
Returns
Type Description
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
Name Description
builderForValue DailyResourceUsageAggregation.Stats.Builder
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder

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

public DailyResourceUsageAggregation.Network.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DailyResourceUsageAggregation.Network.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DailyResourceUsageAggregation.Network.Builder
Overrides