public static interface Probe.GrpcActionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPort()
public abstract int getPort()Port number of the gRPC service. Number must be in the range 1 to 65535.
int32 port = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for service. |