Class LoadBalancerBackendInfo (1.41.0)

public final class LoadBalancerBackendInfo extends GeneratedMessageV3 implements LoadBalancerBackendInfoOrBuilder

For display only. Metadata associated with the load balancer backend.

Protobuf type google.cloud.networkmanagement.v1.LoadBalancerBackendInfo

Static Fields

BACKEND_BUCKET_URI_FIELD_NUMBER

public static final int BACKEND_BUCKET_URI_FIELD_NUMBER
Field Value
TypeDescription
int

BACKEND_SERVICE_URI_FIELD_NUMBER

public static final int BACKEND_SERVICE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_CHECK_FIREWALLS_CONFIG_STATE_FIELD_NUMBER

public static final int HEALTH_CHECK_FIREWALLS_CONFIG_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_CHECK_URI_FIELD_NUMBER

public static final int HEALTH_CHECK_URI_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_GROUP_URI_FIELD_NUMBER

public static final int INSTANCE_GROUP_URI_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_URI_FIELD_NUMBER

public static final int INSTANCE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_ENDPOINT_GROUP_URI_FIELD_NUMBER

public static final int NETWORK_ENDPOINT_GROUP_URI_FIELD_NUMBER
Field Value
TypeDescription
int

PSC_GOOGLE_API_TARGET_FIELD_NUMBER

public static final int PSC_GOOGLE_API_TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

PSC_SERVICE_ATTACHMENT_URI_FIELD_NUMBER

public static final int PSC_SERVICE_ATTACHMENT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LoadBalancerBackendInfo getDefaultInstance()
Returns
TypeDescription
LoadBalancerBackendInfo

getDescriptor()

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

newBuilder()

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

newBuilder(LoadBalancerBackendInfo prototype)

public static LoadBalancerBackendInfo.Builder newBuilder(LoadBalancerBackendInfo prototype)
Parameter
NameDescription
prototypeLoadBalancerBackendInfo
Returns
TypeDescription
LoadBalancerBackendInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackendBucketUri()

public String getBackendBucketUri()

URI of the backend bucket this backend targets (if applicable).

string backend_bucket_uri = 8;

Returns
TypeDescription
String

The backendBucketUri.

getBackendBucketUriBytes()

public ByteString getBackendBucketUriBytes()

URI of the backend bucket this backend targets (if applicable).

string backend_bucket_uri = 8;

Returns
TypeDescription
ByteString

The bytes for backendBucketUri.

getBackendServiceUri()

public String getBackendServiceUri()

URI of the backend service this backend belongs to (if applicable).

string backend_service_uri = 3;

Returns
TypeDescription
String

The backendServiceUri.

getBackendServiceUriBytes()

public ByteString getBackendServiceUriBytes()

URI of the backend service this backend belongs to (if applicable).

string backend_service_uri = 3;

Returns
TypeDescription
ByteString

The bytes for backendServiceUri.

getDefaultInstanceForType()

public LoadBalancerBackendInfo getDefaultInstanceForType()
Returns
TypeDescription
LoadBalancerBackendInfo

getHealthCheckFirewallsConfigState()

public LoadBalancerBackendInfo.HealthCheckFirewallsConfigState getHealthCheckFirewallsConfigState()

Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules

.google.cloud.networkmanagement.v1.LoadBalancerBackendInfo.HealthCheckFirewallsConfigState health_check_firewalls_config_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
LoadBalancerBackendInfo.HealthCheckFirewallsConfigState

The healthCheckFirewallsConfigState.

getHealthCheckFirewallsConfigStateValue()

public int getHealthCheckFirewallsConfigStateValue()

Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules

.google.cloud.networkmanagement.v1.LoadBalancerBackendInfo.HealthCheckFirewallsConfigState health_check_firewalls_config_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for healthCheckFirewallsConfigState.

getHealthCheckUri()

public String getHealthCheckUri()

URI of the health check attached to this backend (if applicable).

string health_check_uri = 6;

Returns
TypeDescription
String

The healthCheckUri.

getHealthCheckUriBytes()

public ByteString getHealthCheckUriBytes()

URI of the health check attached to this backend (if applicable).

string health_check_uri = 6;

Returns
TypeDescription
ByteString

The bytes for healthCheckUri.

getInstanceGroupUri()

public String getInstanceGroupUri()

URI of the instance group this backend belongs to (if applicable).

string instance_group_uri = 4;

Returns
TypeDescription
String

The instanceGroupUri.

getInstanceGroupUriBytes()

public ByteString getInstanceGroupUriBytes()

URI of the instance group this backend belongs to (if applicable).

string instance_group_uri = 4;

Returns
TypeDescription
ByteString

The bytes for instanceGroupUri.

getInstanceUri()

public String getInstanceUri()

URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.

string instance_uri = 2;

Returns
TypeDescription
String

The instanceUri.

getInstanceUriBytes()

public ByteString getInstanceUriBytes()

URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.

string instance_uri = 2;

Returns
TypeDescription
ByteString

The bytes for instanceUri.

getName()

public String getName()

Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNetworkEndpointGroupUri()

public String getNetworkEndpointGroupUri()

URI of the network endpoint group this backend belongs to (if applicable).

string network_endpoint_group_uri = 5;

Returns
TypeDescription
String

The networkEndpointGroupUri.

getNetworkEndpointGroupUriBytes()

public ByteString getNetworkEndpointGroupUriBytes()

URI of the network endpoint group this backend belongs to (if applicable).

string network_endpoint_group_uri = 5;

Returns
TypeDescription
ByteString

The bytes for networkEndpointGroupUri.

getParserForType()

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

getPscGoogleApiTarget()

public String getPscGoogleApiTarget()

PSC Google API target this PSC NEG backend targets (if applicable).

string psc_google_api_target = 10;

Returns
TypeDescription
String

The pscGoogleApiTarget.

getPscGoogleApiTargetBytes()

public ByteString getPscGoogleApiTargetBytes()

PSC Google API target this PSC NEG backend targets (if applicable).

string psc_google_api_target = 10;

Returns
TypeDescription
ByteString

The bytes for pscGoogleApiTarget.

getPscServiceAttachmentUri()

public String getPscServiceAttachmentUri()

URI of the PSC service attachment this PSC NEG backend targets (if applicable).

string psc_service_attachment_uri = 9;

Returns
TypeDescription
String

The pscServiceAttachmentUri.

getPscServiceAttachmentUriBytes()

public ByteString getPscServiceAttachmentUriBytes()

URI of the PSC service attachment this PSC NEG backend targets (if applicable).

string psc_service_attachment_uri = 9;

Returns
TypeDescription
ByteString

The bytes for pscServiceAttachmentUri.

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 LoadBalancerBackendInfo.Builder newBuilderForType()
Returns
TypeDescription
LoadBalancerBackendInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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