Class ILBSubsettingConfig.Builder (2.42.0)

public static final class ILBSubsettingConfig.Builder extends GeneratedMessageV3.Builder<ILBSubsettingConfig.Builder> implements ILBSubsettingConfigOrBuilder

ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.

Protobuf type google.container.v1.ILBSubsettingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ILBSubsettingConfig build()
Returns
TypeDescription
ILBSubsettingConfig

buildPartial()

public ILBSubsettingConfig buildPartial()
Returns
TypeDescription
ILBSubsettingConfig

clear()

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

clearEnabled()

public ILBSubsettingConfig.Builder clearEnabled()

Enables l4 ILB subsetting for this cluster.

bool enabled = 1;

Returns
TypeDescription
ILBSubsettingConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ILBSubsettingConfig getDefaultInstanceForType()
Returns
TypeDescription
ILBSubsettingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Enables l4 ILB subsetting for this cluster.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ILBSubsettingConfig other)

public ILBSubsettingConfig.Builder mergeFrom(ILBSubsettingConfig other)
Parameter
NameDescription
otherILBSubsettingConfig
Returns
TypeDescription
ILBSubsettingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public ILBSubsettingConfig.Builder setEnabled(boolean value)

Enables l4 ILB subsetting for this cluster.

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
ILBSubsettingConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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