Class AdditionalPodNetworkConfig.Builder (2.48.0)

public static final class AdditionalPodNetworkConfig.Builder extends GeneratedMessageV3.Builder<AdditionalPodNetworkConfig.Builder> implements AdditionalPodNetworkConfigOrBuilder

AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message

Protobuf type google.container.v1.AdditionalPodNetworkConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdditionalPodNetworkConfig build()
Returns
Type Description
AdditionalPodNetworkConfig

buildPartial()

public AdditionalPodNetworkConfig buildPartial()
Returns
Type Description
AdditionalPodNetworkConfig

clear()

public AdditionalPodNetworkConfig.Builder clear()
Returns
Type Description
AdditionalPodNetworkConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMaxPodsPerNode()

public AdditionalPodNetworkConfig.Builder clearMaxPodsPerNode()

The maximum number of pods per node which use this pod network

optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;

Returns
Type Description
AdditionalPodNetworkConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSecondaryPodRange()

public AdditionalPodNetworkConfig.Builder clearSecondaryPodRange()

The name of the secondary range on the subnet which provides IP address for this pod range

string secondary_pod_range = 2;

Returns
Type Description
AdditionalPodNetworkConfig.Builder

This builder for chaining.

clearSubnetwork()

public AdditionalPodNetworkConfig.Builder clearSubnetwork()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
Type Description
AdditionalPodNetworkConfig.Builder

This builder for chaining.

clone()

public AdditionalPodNetworkConfig.Builder clone()
Returns
Type Description
AdditionalPodNetworkConfig.Builder
Overrides

getDefaultInstanceForType()

public AdditionalPodNetworkConfig getDefaultInstanceForType()
Returns
Type Description
AdditionalPodNetworkConfig

getDescriptorForType()

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

getMaxPodsPerNode()

public MaxPodsConstraint getMaxPodsPerNode()

The maximum number of pods per node which use this pod network

optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;

Returns
Type Description
MaxPodsConstraint

The maxPodsPerNode.

getMaxPodsPerNodeBuilder()

public MaxPodsConstraint.Builder getMaxPodsPerNodeBuilder()

The maximum number of pods per node which use this pod network

optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;

Returns
Type Description
MaxPodsConstraint.Builder

getMaxPodsPerNodeOrBuilder()

public MaxPodsConstraintOrBuilder getMaxPodsPerNodeOrBuilder()

The maximum number of pods per node which use this pod network

optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;

Returns
Type Description
MaxPodsConstraintOrBuilder

getSecondaryPodRange()

public String getSecondaryPodRange()

The name of the secondary range on the subnet which provides IP address for this pod range

string secondary_pod_range = 2;

Returns
Type Description
String

The secondaryPodRange.

getSecondaryPodRangeBytes()

public ByteString getSecondaryPodRangeBytes()

The name of the secondary range on the subnet which provides IP address for this pod range

string secondary_pod_range = 2;

Returns
Type Description
ByteString

The bytes for secondaryPodRange.

getSubnetwork()

public String getSubnetwork()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
Type Description
ByteString

The bytes for subnetwork.

hasMaxPodsPerNode()

public boolean hasMaxPodsPerNode()

The maximum number of pods per node which use this pod network

optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;

Returns
Type Description
boolean

Whether the maxPodsPerNode field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdditionalPodNetworkConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMaxPodsPerNode(MaxPodsConstraint value)

public AdditionalPodNetworkConfig.Builder mergeMaxPodsPerNode(MaxPodsConstraint value)

The maximum number of pods per node which use this pod network

optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;

Parameter
Name Description
value MaxPodsConstraint
Returns
Type Description
AdditionalPodNetworkConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxPodsPerNode(MaxPodsConstraint value)

public AdditionalPodNetworkConfig.Builder setMaxPodsPerNode(MaxPodsConstraint value)

The maximum number of pods per node which use this pod network

optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;

Parameter
Name Description
value MaxPodsConstraint
Returns
Type Description
AdditionalPodNetworkConfig.Builder

setMaxPodsPerNode(MaxPodsConstraint.Builder builderForValue)

public AdditionalPodNetworkConfig.Builder setMaxPodsPerNode(MaxPodsConstraint.Builder builderForValue)

The maximum number of pods per node which use this pod network

optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;

Parameter
Name Description
builderForValue MaxPodsConstraint.Builder
Returns
Type Description
AdditionalPodNetworkConfig.Builder

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

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

setSecondaryPodRange(String value)

public AdditionalPodNetworkConfig.Builder setSecondaryPodRange(String value)

The name of the secondary range on the subnet which provides IP address for this pod range

string secondary_pod_range = 2;

Parameter
Name Description
value String

The secondaryPodRange to set.

Returns
Type Description
AdditionalPodNetworkConfig.Builder

This builder for chaining.

setSecondaryPodRangeBytes(ByteString value)

public AdditionalPodNetworkConfig.Builder setSecondaryPodRangeBytes(ByteString value)

The name of the secondary range on the subnet which provides IP address for this pod range

string secondary_pod_range = 2;

Parameter
Name Description
value ByteString

The bytes for secondaryPodRange to set.

Returns
Type Description
AdditionalPodNetworkConfig.Builder

This builder for chaining.

setSubnetwork(String value)

public AdditionalPodNetworkConfig.Builder setSubnetwork(String value)

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Parameter
Name Description
value String

The subnetwork to set.

Returns
Type Description
AdditionalPodNetworkConfig.Builder

This builder for chaining.

setSubnetworkBytes(ByteString value)

public AdditionalPodNetworkConfig.Builder setSubnetworkBytes(ByteString value)

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Parameter
Name Description
value ByteString

The bytes for subnetwork to set.

Returns
Type Description
AdditionalPodNetworkConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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