Class AdditionalPodRangesConfig.Builder (2.24.0)

public static final class AdditionalPodRangesConfig.Builder extends GeneratedMessageV3.Builder<AdditionalPodRangesConfig.Builder> implements AdditionalPodRangesConfigOrBuilder

AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.

Protobuf type google.container.v1.AdditionalPodRangesConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllPodRangeNames(Iterable<String> values)

public AdditionalPodRangesConfig.Builder addAllPodRangeNames(Iterable<String> values)

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Parameter
NameDescription
valuesIterable<String>

The podRangeNames to add.

Returns
TypeDescription
AdditionalPodRangesConfig.Builder

This builder for chaining.

addPodRangeNames(String value)

public AdditionalPodRangesConfig.Builder addPodRangeNames(String value)

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Parameter
NameDescription
valueString

The podRangeNames to add.

Returns
TypeDescription
AdditionalPodRangesConfig.Builder

This builder for chaining.

addPodRangeNamesBytes(ByteString value)

public AdditionalPodRangesConfig.Builder addPodRangeNamesBytes(ByteString value)

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Parameter
NameDescription
valueByteString

The bytes of the podRangeNames to add.

Returns
TypeDescription
AdditionalPodRangesConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdditionalPodRangesConfig build()
Returns
TypeDescription
AdditionalPodRangesConfig

buildPartial()

public AdditionalPodRangesConfig buildPartial()
Returns
TypeDescription
AdditionalPodRangesConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AdditionalPodRangesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AdditionalPodRangesConfig.Builder
Overrides

clearPodRangeNames()

public AdditionalPodRangesConfig.Builder clearPodRangeNames()

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Returns
TypeDescription
AdditionalPodRangesConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AdditionalPodRangesConfig getDefaultInstanceForType()
Returns
TypeDescription
AdditionalPodRangesConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPodRangeNames(int index)

public String getPodRangeNames(int index)

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The podRangeNames at the given index.

getPodRangeNamesBytes(int index)

public ByteString getPodRangeNamesBytes(int index)

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the podRangeNames at the given index.

getPodRangeNamesCount()

public int getPodRangeNamesCount()

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Returns
TypeDescription
int

The count of podRangeNames.

getPodRangeNamesList()

public ProtocolStringList getPodRangeNamesList()

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the podRangeNames.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdditionalPodRangesConfig other)

public AdditionalPodRangesConfig.Builder mergeFrom(AdditionalPodRangesConfig other)
Parameter
NameDescription
otherAdditionalPodRangesConfig
Returns
TypeDescription
AdditionalPodRangesConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPodRangeNames(int index, String value)

public AdditionalPodRangesConfig.Builder setPodRangeNames(int index, String value)

Name for pod secondary ipv4 range which has the actual range defined ahead.

repeated string pod_range_names = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The podRangeNames to set.

Returns
TypeDescription
AdditionalPodRangesConfig.Builder

This builder for chaining.

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

public AdditionalPodRangesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AdditionalPodRangesConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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