Interface GRPCActionOrBuilder (0.21.0)

public interface GRPCActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPort()

public abstract int getPort()

Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

int32 port = 1;

Returns
TypeDescription
int

The port.

getService()

public abstract String getService()

Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

string service = 2;

Returns
TypeDescription
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

string service = 2;

Returns
TypeDescription
ByteString

The bytes for service.