Interface GRPCActionOrBuilder (0.49.0)

public interface GRPCActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPort()

public abstract int getPort()

Optional. Port number of the gRPC service. Number must be in the range 1 to

  1. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The port.

getService()

public abstract String getService()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for service.