Class NodeNetworkConfig.NetworkPerformanceConfig.Builder (2.46.0)

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

Configuration of all network bandwidth tiers

Protobuf type google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeNetworkConfig.NetworkPerformanceConfig build()
Returns
Type Description
NodeNetworkConfig.NetworkPerformanceConfig

buildPartial()

public NodeNetworkConfig.NetworkPerformanceConfig buildPartial()
Returns
Type Description
NodeNetworkConfig.NetworkPerformanceConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides

clearTotalEgressBandwidthTier()

public NodeNetworkConfig.NetworkPerformanceConfig.Builder clearTotalEgressBandwidthTier()

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

Returns
Type Description
NodeNetworkConfig.NetworkPerformanceConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType()
Returns
Type Description
NodeNetworkConfig.NetworkPerformanceConfig

getDescriptorForType()

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

getTotalEgressBandwidthTier()

public NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier()

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

Returns
Type Description
NodeNetworkConfig.NetworkPerformanceConfig.Tier

The totalEgressBandwidthTier.

getTotalEgressBandwidthTierValue()

public int getTotalEgressBandwidthTierValue()

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

Returns
Type Description
int

The enum numeric value on the wire for totalEgressBandwidthTier.

hasTotalEgressBandwidthTier()

public boolean hasTotalEgressBandwidthTier()

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

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(NodeNetworkConfig.NetworkPerformanceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTotalEgressBandwidthTier(NodeNetworkConfig.NetworkPerformanceConfig.Tier value)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder setTotalEgressBandwidthTier(NodeNetworkConfig.NetworkPerformanceConfig.Tier value)

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

Parameter
Name Description
value NodeNetworkConfig.NetworkPerformanceConfig.Tier

The totalEgressBandwidthTier to set.

Returns
Type Description
NodeNetworkConfig.NetworkPerformanceConfig.Builder

This builder for chaining.

setTotalEgressBandwidthTierValue(int value)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder setTotalEgressBandwidthTierValue(int value)

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

Parameter
Name Description
value int

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

Returns
Type Description
NodeNetworkConfig.NetworkPerformanceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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