다음을 통해 공유


BackendProtocol Class

public final class BackendProtocol
extends ExpandableStringEnum<BackendProtocol>

How ingress should communicate with this app backend service.

Field Summary

Modifier and Type Field and Description
static final BackendProtocol DEFAULT

Static value Default for BackendProtocol.

static final BackendProtocol GRPC

Static value GRPC for BackendProtocol.

Constructor Summary

Constructor Description
BackendProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BackendProtocol value.

Method Summary

Modifier and Type Method and Description
static BackendProtocol fromString(String name)

Creates or finds a BackendProtocol from its string representation.

static Collection<BackendProtocol> values()

Gets known BackendProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final BackendProtocol DEFAULT

Static value Default for BackendProtocol.

GRPC

public static final BackendProtocol GRPC

Static value GRPC for BackendProtocol.

Constructor Details

BackendProtocol

@Deprecated
public BackendProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BackendProtocol value.

Method Details

fromString

public static BackendProtocol fromString(String name)

Creates or finds a BackendProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BackendProtocol.

values

public static Collection values()

Gets known BackendProtocol values.

Returns:

known BackendProtocol values.

Applies to