Class AdditionalPodRangesConfig.Builder (2.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.container.v1beta1.RangeInfo>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The podRangeNames to add.

Returns
TypeDescription
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
NameDescription
valueRangeInfo
Returns
TypeDescription
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
NameDescription
builderForValueRangeInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRangeInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRangeInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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

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

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

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
NameDescription
indexint
Returns
TypeDescription
AdditionalPodRangesConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AdditionalPodRangesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRangeInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRangeInfo.Builder
Returns
TypeDescription
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
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