Enum BackendService.Protocol (1.65.0)

public enum BackendService.Protocol extends Enum<BackendService.Protocol> implements ProtocolMessageEnum

The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.

Protobuf enum google.cloud.compute.v1.BackendService.Protocol

Implements

ProtocolMessageEnum

Static Fields

Name Description
GRPC

gRPC (available for Traffic Director).

GRPC = 2196510;

GRPC_VALUE

gRPC (available for Traffic Director).

GRPC = 2196510;

HTTP

HTTP = 2228360;

HTTP2

HTTP/2 with SSL.

HTTP2 = 69079210;

HTTP2_VALUE

HTTP/2 with SSL.

HTTP2 = 69079210;

HTTPS

HTTPS = 69079243;

HTTPS_VALUE

HTTPS = 69079243;

HTTP_VALUE

HTTP = 2228360;

SSL

TCP proxying with SSL.

SSL = 82412;

SSL_VALUE

TCP proxying with SSL.

SSL = 82412;

TCP

TCP proxying or TCP pass-through.

TCP = 82881;

TCP_VALUE

TCP proxying or TCP pass-through.

TCP = 82881;

UDP

UDP.

UDP = 83873;

UDP_VALUE

UDP.

UDP = 83873;

UNDEFINED_PROTOCOL

A value indicating that the enum field is not set.

UNDEFINED_PROTOCOL = 0;

UNDEFINED_PROTOCOL_VALUE

A value indicating that the enum field is not set.

UNDEFINED_PROTOCOL = 0;

UNRECOGNIZED
UNSPECIFIED

If a Backend Service has UNSPECIFIED as its protocol, it can be used with any L3/L4 Forwarding Rules.

UNSPECIFIED = 526786327;

UNSPECIFIED_VALUE

If a Backend Service has UNSPECIFIED as its protocol, it can be used with any L3/L4 Forwarding Rules.

UNSPECIFIED = 526786327;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()