Class HttpLoadBalancing (2.31.0)

public final class HttpLoadBalancing extends GeneratedMessageV3 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 Fields

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HttpLoadBalancing getDefaultInstance()
Returns
TypeDescription
HttpLoadBalancing

getDescriptor()

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

newBuilder()

public static HttpLoadBalancing.Builder newBuilder()
Returns
TypeDescription
HttpLoadBalancing.Builder

newBuilder(HttpLoadBalancing prototype)

public static HttpLoadBalancing.Builder newBuilder(HttpLoadBalancing prototype)
Parameter
NameDescription
prototypeHttpLoadBalancing
Returns
TypeDescription
HttpLoadBalancing.Builder

parseDelimitedFrom(InputStream input)

public static HttpLoadBalancing parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpLoadBalancing parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HttpLoadBalancing parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HttpLoadBalancing parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HttpLoadBalancing parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HttpLoadBalancing parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HttpLoadBalancing parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpLoadBalancing parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HttpLoadBalancing parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpLoadBalancing parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HttpLoadBalancing parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HttpLoadBalancing parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpLoadBalancing
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HttpLoadBalancing> parser()
Returns
TypeDescription
Parser<HttpLoadBalancing>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HttpLoadBalancing getDefaultInstanceForType()
Returns
TypeDescription
HttpLoadBalancing

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.

getParserForType()

public Parser<HttpLoadBalancing> getParserForType()
Returns
TypeDescription
Parser<HttpLoadBalancing>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HttpLoadBalancing.Builder newBuilderForType()
Returns
TypeDescription
HttpLoadBalancing.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HttpLoadBalancing.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HttpLoadBalancing.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HttpLoadBalancing.Builder toBuilder()
Returns
TypeDescription
HttpLoadBalancing.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException