Class HealthStatusForNetworkEndpoint.Builder (1.40.0)

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

Protobuf type google.cloud.compute.v1.HealthStatusForNetworkEndpoint

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public HealthStatusForNetworkEndpoint build()
Returns
TypeDescription
HealthStatusForNetworkEndpoint

buildPartial()

public HealthStatusForNetworkEndpoint buildPartial()
Returns
TypeDescription
HealthStatusForNetworkEndpoint

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

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;

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;

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
Overrides

clone()

public HealthStatusForNetworkEndpoint.Builder clone()
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;

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;

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

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

mergeFrom(HealthStatusForNetworkEndpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public HealthStatusForNetworkEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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

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

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

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

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

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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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