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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ILBSubsettingConfig build()
Returns
Type Description
ILBSubsettingConfig

buildPartial()

public ILBSubsettingConfig buildPartial()
Returns
Type Description
ILBSubsettingConfig

clear()

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

clearEnabled()

public ILBSubsettingConfig.Builder clearEnabled()

Enables l4 ILB subsetting for this cluster

bool enabled = 1;

Returns
Type Description
ILBSubsettingConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ILBSubsettingConfig getDefaultInstanceForType()
Returns
Type Description
ILBSubsettingConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enables l4 ILB subsetting for this cluster

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ILBSubsettingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public ILBSubsettingConfig.Builder setEnabled(boolean value)

Enables l4 ILB subsetting for this cluster

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
ILBSubsettingConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ILBSubsettingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ILBSubsettingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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