client.0.3.21-pre1.source-code.prefab-services.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
API Client for https://prefab.cloud: rate limits, feature flags and semaphores as a service
syntax = "proto3";
import "prefab.proto";
package prefab;
option java_package = "cloud.prefab.config.services";
option java_outer_classname = "PrefabService";
option java_multiple_files = true;
service RateLimitService {
rpc LimitCheck (LimitRequest) returns (LimitResponse) {
};
}
service ConfigService {
rpc GetConfig (ConfigServicePointer) returns (stream Configs) {
};
rpc GetAllConfig (ConfigServicePointer) returns (Configs) {
};
rpc Upsert (Config) returns (CreationResponse) {
};
}
service IdService {
rpc GetBlock (IdBlockRequest) returns (IdBlock) {
};
}
service LoggerReportingService {
rpc Send (Loggers) returns (LoggerReportResponse) {
};
}
service ClientService {
rpc GetAll (Identity) returns (ConfigEvaluations) {
};
}
// GreetingService for basic no-auth, no-resources required connectivity testing
message GreetingMessage {
string greeting = 1;
}
message GreetingResponse {
string greeting = 1;
string response = 2;
}
service GreetingService {
rpc Greet(GreetingMessage) returns (GreetingResponse);
}