Class LoadBalancerInfo (1.31.0)

public final class LoadBalancerInfo extends GeneratedMessageV3 implements LoadBalancerInfoOrBuilder

For display only. Metadata associated with a load balancer.

Protobuf type google.cloud.networkmanagement.v1.LoadBalancerInfo

Static Fields

BACKENDS_FIELD_NUMBER

public static final int BACKENDS_FIELD_NUMBER
Field Value
TypeDescription
int

BACKEND_TYPE_FIELD_NUMBER

public static final int BACKEND_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

BACKEND_URI_FIELD_NUMBER

public static final int BACKEND_URI_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_CHECK_URI_FIELD_NUMBER

public static final int HEALTH_CHECK_URI_FIELD_NUMBER
Field Value
TypeDescription
int

LOAD_BALANCER_TYPE_FIELD_NUMBER

public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LoadBalancerInfo getDefaultInstance()
Returns
TypeDescription
LoadBalancerInfo

getDescriptor()

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

newBuilder()

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

newBuilder(LoadBalancerInfo prototype)

public static LoadBalancerInfo.Builder newBuilder(LoadBalancerInfo prototype)
Parameter
NameDescription
prototypeLoadBalancerInfo
Returns
TypeDescription
LoadBalancerInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackendType()

public LoadBalancerInfo.BackendType getBackendType()

Type of load balancer's backend configuration.

.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;

Returns
TypeDescription
LoadBalancerInfo.BackendType

The backendType.

getBackendTypeValue()

public int getBackendTypeValue()

Type of load balancer's backend configuration.

.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for backendType.

getBackendUri()

public String getBackendUri()

Backend configuration URI.

string backend_uri = 5;

Returns
TypeDescription
String

The backendUri.

getBackendUriBytes()

public ByteString getBackendUriBytes()

Backend configuration URI.

string backend_uri = 5;

Returns
TypeDescription
ByteString

The bytes for backendUri.

getBackends(int index)

public LoadBalancerBackend getBackends(int index)

Information for the loadbalancer backends.

repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
LoadBalancerBackend

getBackendsCount()

public int getBackendsCount()

Information for the loadbalancer backends.

repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;

Returns
TypeDescription
int

getBackendsList()

public List<LoadBalancerBackend> getBackendsList()

Information for the loadbalancer backends.

repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;

Returns
TypeDescription
List<LoadBalancerBackend>

getBackendsOrBuilder(int index)

public LoadBalancerBackendOrBuilder getBackendsOrBuilder(int index)

Information for the loadbalancer backends.

repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
LoadBalancerBackendOrBuilder

getBackendsOrBuilderList()

public List<? extends LoadBalancerBackendOrBuilder> getBackendsOrBuilderList()

Information for the loadbalancer backends.

repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;

Returns
TypeDescription
List<? extends com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder>

getDefaultInstanceForType()

public LoadBalancerInfo getDefaultInstanceForType()
Returns
TypeDescription
LoadBalancerInfo

getHealthCheckUri()

public String getHealthCheckUri()

URI of the health check for the load balancer.

string health_check_uri = 2;

Returns
TypeDescription
String

The healthCheckUri.

getHealthCheckUriBytes()

public ByteString getHealthCheckUriBytes()

URI of the health check for the load balancer.

string health_check_uri = 2;

Returns
TypeDescription
ByteString

The bytes for healthCheckUri.

getLoadBalancerType()

public LoadBalancerInfo.LoadBalancerType getLoadBalancerType()

Type of the load balancer.

.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1;

Returns
TypeDescription
LoadBalancerInfo.LoadBalancerType

The loadBalancerType.

getLoadBalancerTypeValue()

public int getLoadBalancerTypeValue()

Type of the load balancer.

.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for loadBalancerType.

getParserForType()

public Parser<LoadBalancerInfo> getParserForType()
Returns
TypeDescription
Parser<LoadBalancerInfo>
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 LoadBalancerInfo.Builder newBuilderForType()
Returns
TypeDescription
LoadBalancerInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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