Package com.grpc.health.v1
Interface HealthCheckRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
HealthCheckRequest,HealthCheckRequest.Builder
public interface HealthCheckRequestOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetService()optional string service = 1 [json_name = "service"];com.google.protobuf.ByteStringgetServiceBytes()optional string service = 1 [json_name = "service"];intgetTimeout()optional int32 timeout = 2 [json_name = "timeout"];booleanhasService()optional string service = 1 [json_name = "service"];booleanhasTimeout()optional int32 timeout = 2 [json_name = "timeout"];
-
-
-
Method Detail
-
hasService
boolean hasService()
optional string service = 1 [json_name = "service"];- Returns:
- Whether the service field is set.
-
getService
java.lang.String getService()
optional string service = 1 [json_name = "service"];- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()
optional string service = 1 [json_name = "service"];- Returns:
- The bytes for service.
-
hasTimeout
boolean hasTimeout()
optional int32 timeout = 2 [json_name = "timeout"];- Returns:
- Whether the timeout field is set.
-
getTimeout
int getTimeout()
optional int32 timeout = 2 [json_name = "timeout"];- Returns:
- The timeout.
-
-