Class NetworkConfig.ClusterNetworkPerformanceConfig.Builder (2.55.0)

public static final class NetworkConfig.ClusterNetworkPerformanceConfig.Builder extends GeneratedMessageV3.Builder<NetworkConfig.ClusterNetworkPerformanceConfig.Builder> implements NetworkConfig.ClusterNetworkPerformanceConfigOrBuilder

Configuration of all network bandwidth tiers

Protobuf type google.container.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkConfig.ClusterNetworkPerformanceConfig build()
Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig

buildPartial()

public NetworkConfig.ClusterNetworkPerformanceConfig buildPartial()
Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig

clear()

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder clear()
Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

clearTotalEgressBandwidthTier()

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder clearTotalEgressBandwidthTier()

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Builder

This builder for chaining.

clone()

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder clone()
Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

getDefaultInstanceForType()

public NetworkConfig.ClusterNetworkPerformanceConfig getDefaultInstanceForType()
Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig

getDescriptorForType()

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

getTotalEgressBandwidthTier()

public NetworkConfig.ClusterNetworkPerformanceConfig.Tier getTotalEgressBandwidthTier()

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Tier

The totalEgressBandwidthTier.

getTotalEgressBandwidthTierValue()

public int getTotalEgressBandwidthTierValue()

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig.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.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig.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(NetworkConfig.ClusterNetworkPerformanceConfig other)

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder mergeFrom(NetworkConfig.ClusterNetworkPerformanceConfig other)
Parameter
Name Description
other NetworkConfig.ClusterNetworkPerformanceConfig
Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTotalEgressBandwidthTier(NetworkConfig.ClusterNetworkPerformanceConfig.Tier value)

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder setTotalEgressBandwidthTier(NetworkConfig.ClusterNetworkPerformanceConfig.Tier value)

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1;

Parameter
Name Description
value NetworkConfig.ClusterNetworkPerformanceConfig.Tier

The totalEgressBandwidthTier to set.

Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Builder

This builder for chaining.

setTotalEgressBandwidthTierValue(int value)

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder setTotalEgressBandwidthTierValue(int value)

Specifies the total network bandwidth tier for the NodePool.

optional .google.container.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig.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
NetworkConfig.ClusterNetworkPerformanceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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