Class HttpLoadBalancing.Builder (2.47.0)

public static final class HttpLoadBalancing.Builder extends GeneratedMessageV3.Builder<HttpLoadBalancing.Builder> implements HttpLoadBalancingOrBuilder

Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

Protobuf type google.container.v1beta1.HttpLoadBalancing

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HttpLoadBalancing build()
Returns
Type Description
HttpLoadBalancing

buildPartial()

public HttpLoadBalancing buildPartial()
Returns
Type Description
HttpLoadBalancing

clear()

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

clearDisabled()

public HttpLoadBalancing.Builder clearDisabled()

Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.

bool disabled = 1;

Returns
Type Description
HttpLoadBalancing.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HttpLoadBalancing getDefaultInstanceForType()
Returns
Type Description
HttpLoadBalancing

getDescriptorForType()

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

getDisabled()

public boolean getDisabled()

Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.

bool disabled = 1;

Returns
Type Description
boolean

The disabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HttpLoadBalancing other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisabled(boolean value)

public HttpLoadBalancing.Builder setDisabled(boolean value)

Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.

bool disabled = 1;

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
HttpLoadBalancing.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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