Home
last modified time | relevance | path

Searched refs:HealthCheckResponse (Results 1 – 22 of 22) sorted by relevance

/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthCheckResponse.java9 public final class HealthCheckResponse extends class
15 private HealthCheckResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in HealthCheckResponse() method in HealthCheckResponse
18 private HealthCheckResponse() { in HealthCheckResponse() method in HealthCheckResponse
27 private HealthCheckResponse( in HealthCheckResponse() method in HealthCheckResponse
80 … io.grpc.health.v1.HealthCheckResponse.class, io.grpc.health.v1.HealthCheckResponse.Builder.class); in internalGetFieldAccessorTable()
181 return io.grpc.health.v1.HealthCheckResponse.getDescriptor().getEnumTypes().get(0); in getDescriptor()
218 public io.grpc.health.v1.HealthCheckResponse.ServingStatus getStatus() { in getStatus()
219 …io.grpc.health.v1.HealthCheckResponse.ServingStatus result = io.grpc.health.v1.HealthCheckResponse in getStatus()
220 … return result == null ? io.grpc.health.v1.HealthCheckResponse.ServingStatus.UNRECOGNIZED : result; in getStatus()
235 if (status_ != io.grpc.health.v1.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { in writeTo()
[all …]
DHealthCheckResponseOrBuilder.java17 io.grpc.health.v1.HealthCheckResponse.ServingStatus getStatus(); in getStatus()
/external/grpc-grpc/src/csharp/Grpc.HealthCheck.Tests/
DHealthServiceImplTest.cs38 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in SetStatus()
39 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, GetStatusHelper(impl, "")); in SetStatus()
41 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.NotServing); in SetStatus()
42 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.NotServing, GetStatusHelper(impl, "")); in SetStatus()
44 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Unknown); in SetStatus()
45 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Unknown, GetStatusHelper(impl, "")); in SetStatus()
47 … impl.SetStatus("grpc.test.TestService", HealthCheckResponse.Types.ServingStatus.Serving); in SetStatus()
48 …Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, GetStatusHelper(impl, "grpc.test.… in SetStatus()
55 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in ClearStatus()
56 … impl.SetStatus("grpc.test.TestService", HealthCheckResponse.Types.ServingStatus.Unknown); in ClearStatus()
[all …]
DHealthClientServerTest.cs68 serviceImpl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in ServiceIsRunning()
71 Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, response.Status); in ServiceIsRunning()
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/
DHealth.cs41HealthCheckResponse), global::Grpc.Health.V1.HealthCheckResponse.Parser, new[]{ "Status" }, null, … in HealthReflection()
177 public sealed partial class HealthCheckResponse : pb::IMessage<HealthCheckResponse> { class
178 …adonly pb::MessageParser<HealthCheckResponse> _parser = new pb::MessageParser<HealthCheckResponse>…
181 public static pb::MessageParser<HealthCheckResponse> Parser { get { return _parser; } }
194 public HealthCheckResponse() { in HealthCheckResponse() method in Grpc.Health.V1.HealthCheckResponse
201 public HealthCheckResponse(HealthCheckResponse other) : this() { in HealthCheckResponse() method in Grpc.Health.V1.HealthCheckResponse
207 public HealthCheckResponse Clone() { in Clone()
208 return new HealthCheckResponse(this); in Clone()
213 private global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus status_ = 0;
215 public global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus Status {
[all …]
DHealthServiceImpl.cs42 private readonly Dictionary<string, HealthCheckResponse.Types.ServingStatus> statusMap =
43 new Dictionary<string, HealthCheckResponse.Types.ServingStatus>();
50 public void SetStatus(string service, HealthCheckResponse.Types.ServingStatus status) in SetStatus()
87 …public override Task<HealthCheckResponse> Check(HealthCheckRequest request, ServerCallContext cont… in Check()
93 HealthCheckResponse.Types.ServingStatus status; in Check()
99 return Task.FromResult(new HealthCheckResponse { Status = status }); in Check()
DHealthGrpc.cs34HealthCheckResponse> __Marshaller_grpc_health_v1_HealthCheckResponse = grpc::Marshallers.Create((a…
36 …th.V1.HealthCheckResponse> __Method_Check = new grpc::Method<global::Grpc.Health.V1.HealthCheckReq…
52 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Health.V1.HealthCheckResponse> Che… in Check()
82 …public virtual global::Grpc.Health.V1.HealthCheckResponse Check(global::Grpc.Health.V1.HealthCheck… in Check()
86 …public virtual global::Grpc.Health.V1.HealthCheckResponse Check(global::Grpc.Health.V1.HealthCheck… in Check()
90 …public virtual grpc::AsyncUnaryCall<global::Grpc.Health.V1.HealthCheckResponse> CheckAsync(global:… in CheckAsync()
94 …public virtual grpc::AsyncUnaryCall<global::Grpc.Health.V1.HealthCheckResponse> CheckAsync(global:… in CheckAsync()
/external/grpc-grpc/test/cpp/end2end/
Dhealth_service_end2end_test.cc46 using grpc::health::v1::HealthCheckResponse;
57 HealthCheckResponse* response) override { in Check()
68 HealthCheckResponse::ServingStatus status) { in SetStatus()
73 void SetAll(HealthCheckResponse::ServingStatus status) { in SetAll()
82 std::map<const grpc::string, HealthCheckResponse::ServingStatus> status_map_;
92 impl_->SetStatus("", HealthCheckResponse::SERVING); in CustomHealthCheckService()
96 impl_->SetStatus(service_name, serving ? HealthCheckResponse::SERVING in SetServingStatus()
97 : HealthCheckResponse::NOT_SERVING); in SetServingStatus()
101 impl_->SetAll(serving ? HealthCheckResponse::SERVING in SetServingStatus()
102 : HealthCheckResponse::NOT_SERVING); in SetServingStatus()
[all …]
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/health/v1/
DHealthGrpc.java31 io.grpc.health.v1.HealthCheckResponse> getCheckMethod;
36 responseType = io.grpc.health.v1.HealthCheckResponse.class,
39 io.grpc.health.v1.HealthCheckResponse> getCheckMethod() { in getCheckMethod()
40 …Descriptor<io.grpc.health.v1.HealthCheckRequest, io.grpc.health.v1.HealthCheckResponse> getCheckMe… in getCheckMethod()
45 …escriptor.<io.grpc.health.v1.HealthCheckRequest, io.grpc.health.v1.HealthCheckResponse>newBuilder() in getCheckMethod()
53 io.grpc.health.v1.HealthCheckResponse.getDefaultInstance())) in getCheckMethod()
63 io.grpc.health.v1.HealthCheckResponse> getWatchMethod;
68 responseType = io.grpc.health.v1.HealthCheckResponse.class,
71 io.grpc.health.v1.HealthCheckResponse> getWatchMethod() { in getWatchMethod()
72 …Descriptor<io.grpc.health.v1.HealthCheckRequest, io.grpc.health.v1.HealthCheckResponse> getWatchMe… in getWatchMethod()
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/health_check/
D_health_servicer_test.py30 servicer.set('', health_pb2.HealthCheckResponse.SERVING)
32 health_pb2.HealthCheckResponse.SERVING)
34 health_pb2.HealthCheckResponse.UNKNOWN)
36 health_pb2.HealthCheckResponse.NOT_SERVING)
48 self.assertEqual(health_pb2.HealthCheckResponse.SERVING, resp.status)
54 self.assertEqual(health_pb2.HealthCheckResponse.SERVING, resp.status)
60 self.assertEqual(health_pb2.HealthCheckResponse.UNKNOWN, resp.status)
66 self.assertEqual(health_pb2.HealthCheckResponse.NOT_SERVING,
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DHealthStatusManagerTest.java30 import io.grpc.health.v1.HealthCheckResponse;
46 private final HealthCheckResponse.ServingStatus status
47 = HealthCheckResponse.ServingStatus.UNKNOWN;
62 StreamObserver<HealthCheckResponse> observer = mock(StreamObserver.class); in checkValidStatus()
69 inOrder.verify(observer, times(1)).onNext(any(HealthCheckResponse.class)); in checkValidStatus()
81 StreamObserver<HealthCheckResponse> observer = mock(StreamObserver.class); in checkStatusNotFound()
102 StreamObserver<HealthCheckResponse> observer = mock(StreamObserver.class); in notFoundForClearedStatus()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DHealthServiceImpl.java22 import io.grpc.health.v1.HealthCheckResponse;
23 import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
41 StreamObserver<HealthCheckResponse> responseObserver) { in check()
47 HealthCheckResponse response = HealthCheckResponse.newBuilder().setStatus(status).build(); in check()
DHealthStatusManager.java22 import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
/external/grpc-grpc/src/python/grpcio_health_checking/grpc_health/v1/
Dhealth.py38 return _health_pb2.HealthCheckResponse()
40 return _health_pb2.HealthCheckResponse(status=status)
/external/grpc-grpc/src/ruby/pb/grpc/health/
Dchecker.rb26 HealthCheckResponse = V1::HealthCheckResponse constant in Grpc.Health.Checker
43 HealthCheckResponse.new(status: status)
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/health/v1/
Dhealth.proto32 message HealthCheckResponse { message
45 rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
62 rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse);
/external/grpc-grpc-java/services/src/main/proto/grpc/health/v1/
Dhealth.proto32 message HealthCheckResponse { message
45 rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
62 rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse);
/external/grpc-grpc/src/proto/grpc/health/v1/
Dhealth.proto32 message HealthCheckResponse { message
42 rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
/external/grpc-grpc/src/ruby/pb/grpc/health/v1/
Dhealth_services_pb.rb37 rpc :Check, HealthCheckRequest, HealthCheckResponse
Dhealth_pb.rb24HealthCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1.Healt… constant
/external/grpc-grpc/doc/
Dhealth-checking.md35 message HealthCheckResponse {
45 rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/
Drun_xds_tests.py1333 …want_status = health_pb2.HealthCheckResponse.SERVING if serving else health_pb2.HealthCheckRespons…