Send feedback
Class LoadBalancerInfo (1.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.50.0 keyboard_arrow_down
public final class LoadBalancerInfo extends GeneratedMessageV3 implements LoadBalancerInfoOrBuilder
For display only. Metadata associated with a load balancer.
Protobuf type google.cloud.networkmanagement.v1.LoadBalancerInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static LoadBalancerInfo . Builder newBuilder ()
newBuilder(LoadBalancerInfo prototype)
public static LoadBalancerInfo . Builder newBuilder ( LoadBalancerInfo prototype )
public static LoadBalancerInfo parseDelimitedFrom ( InputStream input )
public static LoadBalancerInfo parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static LoadBalancerInfo parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LoadBalancerInfo parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static LoadBalancerInfo parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LoadBalancerInfo parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LoadBalancerInfo parseFrom ( CodedInputStream input )
public static LoadBalancerInfo parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LoadBalancerInfo parseFrom ( InputStream input )
public static LoadBalancerInfo parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static LoadBalancerInfo parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LoadBalancerInfo parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<LoadBalancerInfo> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBackendType()
public LoadBalancerInfo . BackendType getBackendType ()
Type of load balancer's backend configuration.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;
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
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;
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
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 ()
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;
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 ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public LoadBalancerInfo . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LoadBalancerInfo . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public LoadBalancerInfo . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]