Class NetworkPerformanceConfig.Builder (0.42.0)

public static final class NetworkPerformanceConfig.Builder extends GeneratedMessage.Builder<NetworkPerformanceConfig.Builder> implements NetworkPerformanceConfigOrBuilder

Network performance configuration.

Protobuf type google.cloud.backupdr.v1.NetworkPerformanceConfig

Static Methods

getDescriptor()

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

Methods

build()

public NetworkPerformanceConfig build()
Returns
Type Description
NetworkPerformanceConfig

buildPartial()

public NetworkPerformanceConfig buildPartial()
Returns
Type Description
NetworkPerformanceConfig

clear()

public NetworkPerformanceConfig.Builder clear()
Returns
Type Description
NetworkPerformanceConfig.Builder
Overrides

clearTotalEgressBandwidthTier()

public NetworkPerformanceConfig.Builder clearTotalEgressBandwidthTier()

Optional. The tier of the total egress bandwidth.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkPerformanceConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public NetworkPerformanceConfig getDefaultInstanceForType()
Returns
Type Description
NetworkPerformanceConfig

getDescriptorForType()

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

getTotalEgressBandwidthTier()

public NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier()

Optional. The tier of the total egress bandwidth.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkPerformanceConfig.Tier

The totalEgressBandwidthTier.

getTotalEgressBandwidthTierValue()

public int getTotalEgressBandwidthTierValue()

Optional. The tier of the total egress bandwidth.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for totalEgressBandwidthTier.

hasTotalEgressBandwidthTier()

public boolean hasTotalEgressBandwidthTier()

Optional. The tier of the total egress bandwidth.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the totalEgressBandwidthTier field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkPerformanceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public NetworkPerformanceConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworkPerformanceConfig.Builder
Overrides

setTotalEgressBandwidthTier(NetworkPerformanceConfig.Tier value)

public NetworkPerformanceConfig.Builder setTotalEgressBandwidthTier(NetworkPerformanceConfig.Tier value)

Optional. The tier of the total egress bandwidth.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NetworkPerformanceConfig.Tier

The totalEgressBandwidthTier to set.

Returns
Type Description
NetworkPerformanceConfig.Builder

This builder for chaining.

setTotalEgressBandwidthTierValue(int value)

public NetworkPerformanceConfig.Builder setTotalEgressBandwidthTierValue(int value)

Optional. The tier of the total egress bandwidth.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for totalEgressBandwidthTier to set.

Returns
Type Description
NetworkPerformanceConfig.Builder

This builder for chaining.