Class AdditionalPodNetworkConfig.Builder (2.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdditionalPodNetworkConfig build()
Returns
TypeDescription
AdditionalPodNetworkConfig

buildPartial()

public AdditionalPodNetworkConfig buildPartial()
Returns
TypeDescription
AdditionalPodNetworkConfig

clear()

public AdditionalPodNetworkConfig.Builder clear()
Returns
TypeDescription
AdditionalPodNetworkConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AdditionalPodNetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AdditionalPodNetworkConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public AdditionalPodNetworkConfig.Builder clone()
Returns
TypeDescription
AdditionalPodNetworkConfig.Builder
Overrides

getDefaultInstanceForType()

public AdditionalPodNetworkConfig getDefaultInstanceForType()
Returns
TypeDescription
AdditionalPodNetworkConfig

getDescriptorForType()

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

The bytes for secondaryPodRange.

getSubnetwork()

public String getSubnetwork()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the maxPodsPerNode field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdditionalPodNetworkConfig other)

public AdditionalPodNetworkConfig.Builder mergeFrom(AdditionalPodNetworkConfig other)
Parameter
NameDescription
otherAdditionalPodNetworkConfig
Returns
TypeDescription
AdditionalPodNetworkConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AdditionalPodNetworkConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueMaxPodsConstraint
Returns
TypeDescription
AdditionalPodNetworkConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AdditionalPodNetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMaxPodsConstraint
Returns
TypeDescription
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
NameDescription
builderForValueMaxPodsConstraint.Builder
Returns
TypeDescription
AdditionalPodNetworkConfig.Builder

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

public AdditionalPodNetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The secondaryPodRange to set.

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

The bytes for secondaryPodRange to set.

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

The subnetwork to set.

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

The bytes for subnetwork to set.

Returns
TypeDescription
AdditionalPodNetworkConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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