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
BACKEND_TYPE_FIELD_NUMBER
public static final int BACKEND_TYPE_FIELD_NUMBER
Field Value
BACKEND_URI_FIELD_NUMBER
public static final int BACKEND_URI_FIELD_NUMBER
Field Value
HEALTH_CHECK_URI_FIELD_NUMBER
public static final int HEALTH_CHECK_URI_FIELD_NUMBER
Field Value
LOAD_BALANCER_TYPE_FIELD_NUMBER
public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LoadBalancerInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LoadBalancerInfo.Builder newBuilder()
Returns
newBuilder(LoadBalancerInfo prototype)
public static LoadBalancerInfo.Builder newBuilder(LoadBalancerInfo prototype)
Parameter
Returns
public static LoadBalancerInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LoadBalancerInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LoadBalancerInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LoadBalancerInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LoadBalancerInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LoadBalancerInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LoadBalancerInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LoadBalancerInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LoadBalancerInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LoadBalancerInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LoadBalancerInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LoadBalancerInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LoadBalancerInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBackendType()
public LoadBalancerInfo.BackendType getBackendType()
Type of load balancer's backend configuration.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;
Returns
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
Returns
getBackendsCount()
public int getBackendsCount()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns
getBackendsList()
public List<LoadBalancerBackend> getBackendsList()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns
getBackendsOrBuilder(int index)
public LoadBalancerBackendOrBuilder getBackendsOrBuilder(int index)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter
Returns
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
getHealthCheckUri()
public String getHealthCheckUri()
URI of the health check for the load balancer.
string health_check_uri = 2;
Returns
Type | Description |
String | The healthCheckUri.
|
getHealthCheckUriBytes()
public ByteString getHealthCheckUriBytes()
URI of the health check for the load balancer.
string health_check_uri = 2;
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LoadBalancerInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LoadBalancerInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LoadBalancerInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions