Enum HTTP2HealthCheck.PortSpecification (1.12.0)

public enum HTTP2HealthCheck.PortSpecification extends Enum<HTTP2HealthCheck.PortSpecification> implements ProtocolMessageEnum

Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified in port and portName fields.

Protobuf enum google.cloud.compute.v1.HTTP2HealthCheck.PortSpecification

Implements

ProtocolMessageEnum

Static Fields

NameDescription
UNDEFINED_PORT_SPECIFICATION

A value indicating that the enum field is not set.

UNDEFINED_PORT_SPECIFICATION = 0;

UNDEFINED_PORT_SPECIFICATION_VALUE

A value indicating that the enum field is not set.

UNDEFINED_PORT_SPECIFICATION = 0;

UNRECOGNIZED
USE_FIXED_PORT

The port number in port is used for health checking.

USE_FIXED_PORT = 190235748;

USE_FIXED_PORT_VALUE

The port number in port is used for health checking.

USE_FIXED_PORT = 190235748;

USE_NAMED_PORT

The portName is used for health checking.

USE_NAMED_PORT = 349300671;

USE_NAMED_PORT_VALUE

The portName is used for health checking.

USE_NAMED_PORT = 349300671;

USE_SERVING_PORT

For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.

USE_SERVING_PORT = 362637516;

USE_SERVING_PORT_VALUE

For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.

USE_SERVING_PORT = 362637516;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()