Class NodeNetworkConfig.NetworkPerformanceConfig.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides

build()

public NodeNetworkConfig.NetworkPerformanceConfig build()
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig

buildPartial()

public NodeNetworkConfig.NetworkPerformanceConfig buildPartial()
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig

clear()

public NodeNetworkConfig.NetworkPerformanceConfig.Builder clear()
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder

This builder for chaining.

clone()

public NodeNetworkConfig.NetworkPerformanceConfig.Builder clone()
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides

getDefaultInstanceForType()

public NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType()
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the totalEgressBandwidthTier field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeNetworkConfig.NetworkPerformanceConfig other)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder mergeFrom(NodeNetworkConfig.NetworkPerformanceConfig other)
Parameter
NameDescription
otherNodeNetworkConfig.NetworkPerformanceConfig
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeNetworkConfig.NetworkPerformanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NodeNetworkConfig.NetworkPerformanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueNodeNetworkConfig.NetworkPerformanceConfig.Tier

The totalEgressBandwidthTier to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeNetworkConfig.NetworkPerformanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig.Builder
Overrides