Class NetworkPerformanceConfig.Builder (1.54.0)

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

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

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.

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

setUnknownFields(UnknownFieldSet unknownFields)

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