Class HealthStatusForNetworkEndpoint.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HealthStatusForNetworkEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder
Overrides

build()

public HealthStatusForNetworkEndpoint build()
Returns
TypeDescription
HealthStatusForNetworkEndpoint

buildPartial()

public HealthStatusForNetworkEndpoint buildPartial()
Returns
TypeDescription
HealthStatusForNetworkEndpoint

clear()

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

clearField(Descriptors.FieldDescriptor field)

public HealthStatusForNetworkEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
HealthStatusForNetworkEndpoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HealthStatusForNetworkEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public HealthStatusForNetworkEndpoint getDefaultInstanceForType()
Returns
TypeDescription
HealthStatusForNetworkEndpoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBackendServiceReference
Returns
TypeDescription
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
NameDescription
valueForwardingRuleReference
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder

mergeFrom(HealthStatusForNetworkEndpoint other)

public HealthStatusForNetworkEndpoint.Builder mergeFrom(HealthStatusForNetworkEndpoint other)
Parameter
NameDescription
otherHealthStatusForNetworkEndpoint
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HealthStatusForNetworkEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HealthStatusForNetworkEndpoint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueHealthCheckReference
Returns
TypeDescription
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
NameDescription
valueHealthCheckServiceReference
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HealthStatusForNetworkEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBackendServiceReference
Returns
TypeDescription
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
NameDescription
builderForValueBackendServiceReference.Builder
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HealthStatusForNetworkEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueForwardingRuleReference
Returns
TypeDescription
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
NameDescription
builderForValueForwardingRuleReference.Builder
Returns
TypeDescription
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
NameDescription
valueHealthCheckReference
Returns
TypeDescription
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
NameDescription
builderForValueHealthCheckReference.Builder
Returns
TypeDescription
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
NameDescription
valueHealthCheckServiceReference
Returns
TypeDescription
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
NameDescription
builderForValueHealthCheckServiceReference.Builder
Returns
TypeDescription
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
NameDescription
valueString

The healthState to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for healthState to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HealthStatusForNetworkEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder
Overrides