All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.boot.bootstrap-grpc-core.2.0.25.source-code.grpc.proto Maven / Gradle / Ivy

There is a newer version: 2.0.33
Show newest version
syntax = "proto3";
package com.turbospaces.api.v1;

option java_multiple_files = true;
option optimize_for = CODE_SIZE;

message GetApplicationVersionRequest {}
message GetExternalIpRequest {}
message HealthCheckRequest {}

message GetApplicationVersionResponse {
  string version = 1;
}

message GetExternalIpResponse {
  string ip = 1;
}

message HealthCheckResponse {
  bool healthy = 1;
}

message GetIntsRequest {
  int32 from = 1;
  int32 to = 2;
}

message GetIntsResponse {
  int32 value = 1;
}

service AdminApi {
  rpc getVersion (GetApplicationVersionRequest) returns (GetApplicationVersionResponse) {}
  rpc getExternalIp (GetExternalIpRequest) returns (GetExternalIpResponse) {}
  rpc healthCheck (HealthCheckRequest) returns (HealthCheckResponse) {}
  rpc getInts (GetIntsRequest) returns (stream GetIntsResponse) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy