Class HttpLoadBalancing.Builder (2.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HttpLoadBalancing build()
Returns
TypeDescription
HttpLoadBalancing

buildPartial()

public HttpLoadBalancing buildPartial()
Returns
TypeDescription
HttpLoadBalancing

clear()

public HttpLoadBalancing.Builder clear()
Returns
TypeDescription
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
TypeDescription
HttpLoadBalancing.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HttpLoadBalancing getDefaultInstanceForType()
Returns
TypeDescription
HttpLoadBalancing

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The disabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HttpLoadBalancing other)

public HttpLoadBalancing.Builder mergeFrom(HttpLoadBalancing other)
Parameter
NameDescription
otherHttpLoadBalancing
Returns
TypeDescription
HttpLoadBalancing.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HttpLoadBalancing.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The disabled to set.

Returns
TypeDescription
HttpLoadBalancing.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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