Class PodCIDROverprovisionConfig.Builder (2.40.0)

public static final class PodCIDROverprovisionConfig.Builder extends GeneratedMessageV3.Builder<PodCIDROverprovisionConfig.Builder> implements PodCIDROverprovisionConfigOrBuilder

[PRIVATE FIELD] Config for pod CIDR size overprovisioning.

Protobuf type google.container.v1.PodCIDROverprovisionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PodCIDROverprovisionConfig build()
Returns
TypeDescription
PodCIDROverprovisionConfig

buildPartial()

public PodCIDROverprovisionConfig buildPartial()
Returns
TypeDescription
PodCIDROverprovisionConfig

clear()

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

clearDisable()

public PodCIDROverprovisionConfig.Builder clearDisable()

Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.

bool disable = 1;

Returns
TypeDescription
PodCIDROverprovisionConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PodCIDROverprovisionConfig getDefaultInstanceForType()
Returns
TypeDescription
PodCIDROverprovisionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisable()

public boolean getDisable()

Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.

bool disable = 1;

Returns
TypeDescription
boolean

The disable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PodCIDROverprovisionConfig other)

public PodCIDROverprovisionConfig.Builder mergeFrom(PodCIDROverprovisionConfig other)
Parameter
NameDescription
otherPodCIDROverprovisionConfig
Returns
TypeDescription
PodCIDROverprovisionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisable(boolean value)

public PodCIDROverprovisionConfig.Builder setDisable(boolean value)

Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.

bool disable = 1;

Parameter
NameDescription
valueboolean

The disable to set.

Returns
TypeDescription
PodCIDROverprovisionConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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