Class HealthStatusForNetworkEndpoint (1.34.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
TypeDescription
int

FORWARDING_RULE_FIELD_NUMBER

public static final int FORWARDING_RULE_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_CHECK_FIELD_NUMBER

public static final int HEALTH_CHECK_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_CHECK_SERVICE_FIELD_NUMBER

public static final int HEALTH_CHECK_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_STATE_FIELD_NUMBER

public static final int HEALTH_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HealthStatusForNetworkEndpoint getDefaultInstance()
Returns
TypeDescription
HealthStatusForNetworkEndpoint

getDescriptor()

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

newBuilder()

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

newBuilder(HealthStatusForNetworkEndpoint prototype)

public static HealthStatusForNetworkEndpoint.Builder newBuilder(HealthStatusForNetworkEndpoint prototype)
Parameter
NameDescription
prototypeHealthStatusForNetworkEndpoint
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BackendServiceReferenceOrBuilder

getDefaultInstanceForType()

public HealthStatusForNetworkEndpoint getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for healthState.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the healthState field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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