Class NetworkConfig.ClusterNetworkPerformanceConfig.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkConfig.ClusterNetworkPerformanceConfig build()
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig

buildPartial()

public NetworkConfig.ClusterNetworkPerformanceConfig buildPartial()
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig

clear()

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder clear()
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder clone()
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

getDefaultInstanceForType()

public NetworkConfig.ClusterNetworkPerformanceConfig getDefaultInstanceForType()
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig.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(NetworkConfig.ClusterNetworkPerformanceConfig other)

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder mergeFrom(NetworkConfig.ClusterNetworkPerformanceConfig other)
Parameter
NameDescription
otherNetworkConfig.ClusterNetworkPerformanceConfig
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkConfig.ClusterNetworkPerformanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The totalEgressBandwidthTier to set.

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

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

Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkConfig.ClusterNetworkPerformanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Overrides