Class LoadBalancerBackend (1.30.0)

public final class LoadBalancerBackend extends GeneratedMessageV3 implements LoadBalancerBackendOrBuilder

For display only. Metadata associated with a specific load balancer backend.

Protobuf type google.cloud.networkmanagement.v1.LoadBalancerBackend

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_CHECK_ALLOWING_FIREWALL_RULES_FIELD_NUMBER

public static final int HEALTH_CHECK_ALLOWING_FIREWALL_RULES_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_CHECK_BLOCKING_FIREWALL_RULES_FIELD_NUMBER

public static final int HEALTH_CHECK_BLOCKING_FIREWALL_RULES_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_CHECK_FIREWALL_STATE_FIELD_NUMBER

public static final int HEALTH_CHECK_FIREWALL_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LoadBalancerBackend getDefaultInstance()
Returns
TypeDescription
LoadBalancerBackend

getDescriptor()

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

newBuilder()

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

newBuilder(LoadBalancerBackend prototype)

public static LoadBalancerBackend.Builder newBuilder(LoadBalancerBackend prototype)
Parameter
NameDescription
prototypeLoadBalancerBackend
Returns
TypeDescription
LoadBalancerBackend.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LoadBalancerBackend getDefaultInstanceForType()
Returns
TypeDescription
LoadBalancerBackend

getDisplayName()

public String getDisplayName()

Name of a Compute Engine instance or network endpoint.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Compute Engine instance or network endpoint.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getHealthCheckAllowingFirewallRules(int index)

public String getHealthCheckAllowingFirewallRules(int index)

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The healthCheckAllowingFirewallRules at the given index.

getHealthCheckAllowingFirewallRulesBytes(int index)

public ByteString getHealthCheckAllowingFirewallRulesBytes(int index)

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the healthCheckAllowingFirewallRules at the given index.

getHealthCheckAllowingFirewallRulesCount()

public int getHealthCheckAllowingFirewallRulesCount()

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Returns
TypeDescription
int

The count of healthCheckAllowingFirewallRules.

getHealthCheckAllowingFirewallRulesList()

public ProtocolStringList getHealthCheckAllowingFirewallRulesList()

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the healthCheckAllowingFirewallRules.

getHealthCheckBlockingFirewallRules(int index)

public String getHealthCheckBlockingFirewallRules(int index)

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The healthCheckBlockingFirewallRules at the given index.

getHealthCheckBlockingFirewallRulesBytes(int index)

public ByteString getHealthCheckBlockingFirewallRulesBytes(int index)

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the healthCheckBlockingFirewallRules at the given index.

getHealthCheckBlockingFirewallRulesCount()

public int getHealthCheckBlockingFirewallRulesCount()

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Returns
TypeDescription
int

The count of healthCheckBlockingFirewallRules.

getHealthCheckBlockingFirewallRulesList()

public ProtocolStringList getHealthCheckBlockingFirewallRulesList()

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Returns
TypeDescription
ProtocolStringList

A list containing the healthCheckBlockingFirewallRules.

getHealthCheckFirewallState()

public LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState()

State of the health check firewall configuration.

.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;

Returns
TypeDescription
LoadBalancerBackend.HealthCheckFirewallState

The healthCheckFirewallState.

getHealthCheckFirewallStateValue()

public int getHealthCheckFirewallStateValue()

State of the health check firewall configuration.

.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for healthCheckFirewallState.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUri()

public String getUri()

URI of a Compute Engine instance or network endpoint.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Compute Engine instance or network endpoint.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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