Class HealthStatusForNetworkEndpoint (1.56.0)

public final class HealthStatusForNetworkEndpoint extends GeneratedMessageV3 implements HealthStatusForNetworkEndpointOrBuilder

Protobuf type google.cloud.compute.v1.HealthStatusForNetworkEndpoint

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > HealthStatusForNetworkEndpoint

Static Fields

BACKEND_SERVICE_FIELD_NUMBER

public static final int BACKEND_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

FORWARDING_RULE_FIELD_NUMBER

public static final int FORWARDING_RULE_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_CHECK_FIELD_NUMBER

public static final int HEALTH_CHECK_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_CHECK_SERVICE_FIELD_NUMBER

public static final int HEALTH_CHECK_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_STATE_FIELD_NUMBER

public static final int HEALTH_STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HealthStatusForNetworkEndpoint getDefaultInstance()
Returns
Type Description
HealthStatusForNetworkEndpoint

getDescriptor()

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

newBuilder()

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

newBuilder(HealthStatusForNetworkEndpoint prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackendService()

public BackendServiceReference getBackendService()

URL of the backend service associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;

Returns
Type Description
BackendServiceReference

The backendService.

getBackendServiceOrBuilder()

public BackendServiceReferenceOrBuilder getBackendServiceOrBuilder()

URL of the backend service associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;

Returns
Type Description
BackendServiceReferenceOrBuilder

getDefaultInstanceForType()

public HealthStatusForNetworkEndpoint getDefaultInstanceForType()
Returns
Type Description
HealthStatusForNetworkEndpoint

getForwardingRule()

public ForwardingRuleReference getForwardingRule()

URL of the forwarding rule associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;

Returns
Type Description
ForwardingRuleReference

The forwardingRule.

getForwardingRuleOrBuilder()

public ForwardingRuleReferenceOrBuilder getForwardingRuleOrBuilder()

URL of the forwarding rule associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;

Returns
Type Description
ForwardingRuleReferenceOrBuilder

getHealthCheck()

public HealthCheckReference getHealthCheck()

URL of the health check associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;

Returns
Type Description
HealthCheckReference

The healthCheck.

getHealthCheckOrBuilder()

public HealthCheckReferenceOrBuilder getHealthCheckOrBuilder()

URL of the health check associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;

Returns
Type Description
HealthCheckReferenceOrBuilder

getHealthCheckService()

public HealthCheckServiceReference getHealthCheckService()

URL of the health check service associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;

Returns
Type Description
HealthCheckServiceReference

The healthCheckService.

getHealthCheckServiceOrBuilder()

public HealthCheckServiceReferenceOrBuilder getHealthCheckServiceOrBuilder()

URL of the health check service associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;

Returns
Type Description
HealthCheckServiceReferenceOrBuilder

getHealthState()

public String getHealthState()

Health state of the network endpoint determined based on the health checks configured. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
String

The healthState.

getHealthStateBytes()

public ByteString getHealthStateBytes()

Health state of the network endpoint determined based on the health checks configured. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
ByteString

The bytes for healthState.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBackendService()

public boolean hasBackendService()

URL of the backend service associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.BackendServiceReference backend_service = 306946058;

Returns
Type Description
boolean

Whether the backendService field is set.

hasForwardingRule()

public boolean hasForwardingRule()

URL of the forwarding rule associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.ForwardingRuleReference forwarding_rule = 269964030;

Returns
Type Description
boolean

Whether the forwardingRule field is set.

hasHealthCheck()

public boolean hasHealthCheck()

URL of the health check associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.HealthCheckReference health_check = 308876645;

Returns
Type Description
boolean

Whether the healthCheck field is set.

hasHealthCheckService()

public boolean hasHealthCheckService()

URL of the health check service associated with the health state of the network endpoint.

optional .google.cloud.compute.v1.HealthCheckServiceReference health_check_service = 408374747;

Returns
Type Description
boolean

Whether the healthCheckService field is set.

hasHealthState()

public boolean hasHealthState()

Health state of the network endpoint determined based on the health checks configured. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
boolean

Whether the healthState field is set.

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 HealthStatusForNetworkEndpoint.Builder newBuilderForType()
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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