Class AdditionalPodRangesConfig.Builder (2.45.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.v1beta1.AdditionalPodRangesConfig

Static Methods

getDescriptor()

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

Methods

addAllPodRangeInfo(Iterable<? extends RangeInfo> values)

public AdditionalPodRangesConfig.Builder addAllPodRangeInfo(Iterable<? extends RangeInfo> values)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.container.v1beta1.RangeInfo>
Returns
Type Description
AdditionalPodRangesConfig.Builder

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
Name Description
values Iterable<String>

The podRangeNames to add.

Returns
Type Description
AdditionalPodRangesConfig.Builder

This builder for chaining.

addPodRangeInfo(RangeInfo value)

public AdditionalPodRangesConfig.Builder addPodRangeInfo(RangeInfo value)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RangeInfo
Returns
Type Description
AdditionalPodRangesConfig.Builder

addPodRangeInfo(RangeInfo.Builder builderForValue)

public AdditionalPodRangesConfig.Builder addPodRangeInfo(RangeInfo.Builder builderForValue)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RangeInfo.Builder
Returns
Type Description
AdditionalPodRangesConfig.Builder

addPodRangeInfo(int index, RangeInfo value)

public AdditionalPodRangesConfig.Builder addPodRangeInfo(int index, RangeInfo value)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value RangeInfo
Returns
Type Description
AdditionalPodRangesConfig.Builder

addPodRangeInfo(int index, RangeInfo.Builder builderForValue)

public AdditionalPodRangesConfig.Builder addPodRangeInfo(int index, RangeInfo.Builder builderForValue)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue RangeInfo.Builder
Returns
Type Description
AdditionalPodRangesConfig.Builder

addPodRangeInfoBuilder()

public RangeInfo.Builder addPodRangeInfoBuilder()

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RangeInfo.Builder

addPodRangeInfoBuilder(int index)

public RangeInfo.Builder addPodRangeInfoBuilder(int index)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RangeInfo.Builder

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
Name Description
value String

The podRangeNames to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the podRangeNames to add.

Returns
Type Description
AdditionalPodRangesConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdditionalPodRangesConfig build()
Returns
Type Description
AdditionalPodRangesConfig

buildPartial()

public AdditionalPodRangesConfig buildPartial()
Returns
Type Description
AdditionalPodRangesConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPodRangeInfo()

public AdditionalPodRangesConfig.Builder clearPodRangeInfo()

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdditionalPodRangesConfig.Builder

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
Type Description
AdditionalPodRangesConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AdditionalPodRangesConfig getDefaultInstanceForType()
Returns
Type Description
AdditionalPodRangesConfig

getDescriptorForType()

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

getPodRangeInfo(int index)

public RangeInfo getPodRangeInfo(int index)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RangeInfo

getPodRangeInfoBuilder(int index)

public RangeInfo.Builder getPodRangeInfoBuilder(int index)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RangeInfo.Builder

getPodRangeInfoBuilderList()

public List<RangeInfo.Builder> getPodRangeInfoBuilderList()

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getPodRangeInfoCount()

public int getPodRangeInfoCount()

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPodRangeInfoList()

public List<RangeInfo> getPodRangeInfoList()

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<RangeInfo>

getPodRangeInfoOrBuilder(int index)

public RangeInfoOrBuilder getPodRangeInfoOrBuilder(int index)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RangeInfoOrBuilder

getPodRangeInfoOrBuilderList()

public List<? extends RangeInfoOrBuilder> getPodRangeInfoOrBuilderList()

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.container.v1beta1.RangeInfoOrBuilder>

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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the podRangeNames.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdditionalPodRangesConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePodRangeInfo(int index)

public AdditionalPodRangesConfig.Builder removePodRangeInfo(int index)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AdditionalPodRangesConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPodRangeInfo(int index, RangeInfo value)

public AdditionalPodRangesConfig.Builder setPodRangeInfo(int index, RangeInfo value)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value RangeInfo
Returns
Type Description
AdditionalPodRangesConfig.Builder

setPodRangeInfo(int index, RangeInfo.Builder builderForValue)

public AdditionalPodRangesConfig.Builder setPodRangeInfo(int index, RangeInfo.Builder builderForValue)

Output only. [Output only] Information for additional pod range.

repeated .google.container.v1beta1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue RangeInfo.Builder
Returns
Type Description
AdditionalPodRangesConfig.Builder

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
Name Description
index int

The index to set the value at.

value String

The podRangeNames to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AdditionalPodRangesConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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