Class NetworkPerformanceConfig.Builder (0.10.0)

public static final class NetworkPerformanceConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public NetworkPerformanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworkPerformanceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkPerformanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkPerformanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkPerformanceConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkPerformanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkPerformanceConfig.Builder
Overrides

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

public NetworkPerformanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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