Class LoadBalancerInfo (1.44.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
Type Description
int

BACKEND_TYPE_FIELD_NUMBER

public static final int BACKEND_TYPE_FIELD_NUMBER
Field Value
Type Description
int

BACKEND_URI_FIELD_NUMBER

public static final int BACKEND_URI_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_CHECK_URI_FIELD_NUMBER

public static final int HEALTH_CHECK_URI_FIELD_NUMBER
Field Value
Type Description
int

LOAD_BALANCER_TYPE_FIELD_NUMBER

public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LoadBalancerInfo getDefaultInstance()
Returns
Type Description
LoadBalancerInfo

getDescriptor()

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

newBuilder()

public static LoadBalancerInfo.Builder newBuilder()
Returns
Type Description
LoadBalancerInfo.Builder

newBuilder(LoadBalancerInfo prototype)

public static LoadBalancerInfo.Builder newBuilder(LoadBalancerInfo prototype)
Parameter
Name Description
prototype LoadBalancerInfo
Returns
Type Description
LoadBalancerInfo.Builder

parseDelimitedFrom(InputStream input)

public static LoadBalancerInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LoadBalancerInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LoadBalancerInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LoadBalancerInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LoadBalancerInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LoadBalancerInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LoadBalancerInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LoadBalancerInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LoadBalancerInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LoadBalancerInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LoadBalancerInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LoadBalancerInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadBalancerInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LoadBalancerInfo> parser()
Returns
Type Description
Parser<LoadBalancerInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackendType()

public LoadBalancerInfo.BackendType getBackendType()

Type of load balancer's backend configuration.

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

Returns
Type Description
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
Type Description
int

The enum numeric value on the wire for backendType.

getBackendUri()

public String getBackendUri()

Backend configuration URI.

string backend_uri = 5;

Returns
Type Description
String

The backendUri.

getBackendUriBytes()

public ByteString getBackendUriBytes()

Backend configuration URI.

string backend_uri = 5;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
LoadBalancerBackend

getBackendsCount()

public int getBackendsCount()

Information for the loadbalancer backends.

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

Returns
Type Description
int

getBackendsList()

public List<LoadBalancerBackend> getBackendsList()

Information for the loadbalancer backends.

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

Returns
Type Description
List<LoadBalancerBackend>

getBackendsOrBuilder(int index)

public LoadBalancerBackendOrBuilder getBackendsOrBuilder(int index)

Information for the loadbalancer backends.

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

Parameter
Name Description
index int
Returns
Type Description
LoadBalancerBackendOrBuilder

getBackendsOrBuilderList()

public List<? extends LoadBalancerBackendOrBuilder> getBackendsOrBuilderList()

Information for the loadbalancer backends.

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

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

getDefaultInstanceForType()

public LoadBalancerInfo getDefaultInstanceForType()
Returns
Type Description
LoadBalancerInfo

getHealthCheckUri() (deprecated)

public String getHealthCheckUri()

Deprecated. google.cloud.networkmanagement.v1.LoadBalancerInfo.health_check_uri is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=658

URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.

string health_check_uri = 2 [deprecated = true];

Returns
Type Description
String

The healthCheckUri.

getHealthCheckUriBytes() (deprecated)

public ByteString getHealthCheckUriBytes()

Deprecated. google.cloud.networkmanagement.v1.LoadBalancerInfo.health_check_uri is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=658

URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.

string health_check_uri = 2 [deprecated = true];

Returns
Type Description
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
Type Description
LoadBalancerInfo.LoadBalancerType

The loadBalancerType.

getLoadBalancerTypeValue()

public int getLoadBalancerTypeValue()

Type of the load balancer.

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

Returns
Type Description
int

The enum numeric value on the wire for loadBalancerType.

getParserForType()

public Parser<LoadBalancerInfo> getParserForType()
Returns
Type Description
Parser<LoadBalancerInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LoadBalancerInfo.Builder newBuilderForType()
Returns
Type Description
LoadBalancerInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LoadBalancerInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LoadBalancerInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LoadBalancerInfo.Builder toBuilder()
Returns
Type Description
LoadBalancerInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException