Class HealthStatusForNetworkEndpoint.Builder (1.57.0)

public static final class HealthStatusForNetworkEndpoint.Builder extends GeneratedMessageV3.Builder<HealthStatusForNetworkEndpoint.Builder> implements HealthStatusForNetworkEndpointOrBuilder

Protobuf type google.cloud.compute.v1.HealthStatusForNetworkEndpoint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HealthStatusForNetworkEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides

build()

public HealthStatusForNetworkEndpoint build()
Returns
Type Description
HealthStatusForNetworkEndpoint

buildPartial()

public HealthStatusForNetworkEndpoint buildPartial()
Returns
Type Description
HealthStatusForNetworkEndpoint

clear()

public HealthStatusForNetworkEndpoint.Builder clear()
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides

clearBackendService()

public HealthStatusForNetworkEndpoint.Builder clearBackendService()

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
HealthStatusForNetworkEndpoint.Builder

clearField(Descriptors.FieldDescriptor field)

public HealthStatusForNetworkEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides

clearForwardingRule()

public HealthStatusForNetworkEndpoint.Builder clearForwardingRule()

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
HealthStatusForNetworkEndpoint.Builder

clearHealthCheck()

public HealthStatusForNetworkEndpoint.Builder clearHealthCheck()

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
HealthStatusForNetworkEndpoint.Builder

clearHealthCheckService()

public HealthStatusForNetworkEndpoint.Builder clearHealthCheckService()

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
HealthStatusForNetworkEndpoint.Builder

clearHealthState()

public HealthStatusForNetworkEndpoint.Builder clearHealthState()

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
HealthStatusForNetworkEndpoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HealthStatusForNetworkEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides

clone()

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

getBackendServiceBuilder()

public BackendServiceReference.Builder getBackendServiceBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getForwardingRuleBuilder()

public ForwardingRuleReference.Builder getForwardingRuleBuilder()

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.Builder

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.

getHealthCheckBuilder()

public HealthCheckReference.Builder getHealthCheckBuilder()

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.Builder

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.

getHealthCheckServiceBuilder()

public HealthCheckServiceReference.Builder getHealthCheckServiceBuilder()

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.Builder

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackendService(BackendServiceReference value)

public HealthStatusForNetworkEndpoint.Builder mergeBackendService(BackendServiceReference value)

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

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

Parameter
Name Description
value BackendServiceReference
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

mergeForwardingRule(ForwardingRuleReference value)

public HealthStatusForNetworkEndpoint.Builder mergeForwardingRule(ForwardingRuleReference value)

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

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

Parameter
Name Description
value ForwardingRuleReference
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

mergeFrom(HealthStatusForNetworkEndpoint other)

public HealthStatusForNetworkEndpoint.Builder mergeFrom(HealthStatusForNetworkEndpoint other)
Parameter
Name Description
other HealthStatusForNetworkEndpoint
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HealthStatusForNetworkEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HealthStatusForNetworkEndpoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides

mergeHealthCheck(HealthCheckReference value)

public HealthStatusForNetworkEndpoint.Builder mergeHealthCheck(HealthCheckReference value)

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

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

Parameter
Name Description
value HealthCheckReference
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

mergeHealthCheckService(HealthCheckServiceReference value)

public HealthStatusForNetworkEndpoint.Builder mergeHealthCheckService(HealthCheckServiceReference value)

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;

Parameter
Name Description
value HealthCheckServiceReference
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HealthStatusForNetworkEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides

setBackendService(BackendServiceReference value)

public HealthStatusForNetworkEndpoint.Builder setBackendService(BackendServiceReference value)

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

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

Parameter
Name Description
value BackendServiceReference
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

setBackendService(BackendServiceReference.Builder builderForValue)

public HealthStatusForNetworkEndpoint.Builder setBackendService(BackendServiceReference.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue BackendServiceReference.Builder
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HealthStatusForNetworkEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides

setForwardingRule(ForwardingRuleReference value)

public HealthStatusForNetworkEndpoint.Builder setForwardingRule(ForwardingRuleReference value)

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

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

Parameter
Name Description
value ForwardingRuleReference
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

setForwardingRule(ForwardingRuleReference.Builder builderForValue)

public HealthStatusForNetworkEndpoint.Builder setForwardingRule(ForwardingRuleReference.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ForwardingRuleReference.Builder
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

setHealthCheck(HealthCheckReference value)

public HealthStatusForNetworkEndpoint.Builder setHealthCheck(HealthCheckReference value)

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

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

Parameter
Name Description
value HealthCheckReference
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

setHealthCheck(HealthCheckReference.Builder builderForValue)

public HealthStatusForNetworkEndpoint.Builder setHealthCheck(HealthCheckReference.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue HealthCheckReference.Builder
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

setHealthCheckService(HealthCheckServiceReference value)

public HealthStatusForNetworkEndpoint.Builder setHealthCheckService(HealthCheckServiceReference value)

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;

Parameter
Name Description
value HealthCheckServiceReference
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

setHealthCheckService(HealthCheckServiceReference.Builder builderForValue)

public HealthStatusForNetworkEndpoint.Builder setHealthCheckService(HealthCheckServiceReference.Builder builderForValue)

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;

Parameter
Name Description
builderForValue HealthCheckServiceReference.Builder
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

setHealthState(String value)

public HealthStatusForNetworkEndpoint.Builder setHealthState(String value)

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;

Parameter
Name Description
value String

The healthState to set.

Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

This builder for chaining.

setHealthStateBytes(ByteString value)

public HealthStatusForNetworkEndpoint.Builder setHealthStateBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for healthState to set.

Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HealthStatusForNetworkEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HealthStatusForNetworkEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder
Overrides