Class NetworkPerformanceConfig.Builder (1.93.0)

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

Protobuf type google.cloud.compute.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()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

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 String getTotalEgressBandwidthTier()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
Type Description
String

The totalEgressBandwidthTier.

getTotalEgressBandwidthTierBytes()

public ByteString getTotalEgressBandwidthTierBytes()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
Type Description
ByteString

The bytes for totalEgressBandwidthTier.

hasTotalEgressBandwidthTier()

public boolean hasTotalEgressBandwidthTier()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

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(String value)

public NetworkPerformanceConfig.Builder setTotalEgressBandwidthTier(String value)

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Parameter
Name Description
value String

The totalEgressBandwidthTier to set.

Returns
Type Description
NetworkPerformanceConfig.Builder

This builder for chaining.

setTotalEgressBandwidthTierBytes(ByteString value)

public NetworkPerformanceConfig.Builder setTotalEgressBandwidthTierBytes(ByteString value)

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Parameter
Name Description
value ByteString

The bytes for totalEgressBandwidthTier to set.

Returns
Type Description
NetworkPerformanceConfig.Builder

This builder for chaining.