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

client.0.3.22-pre1.source-code.prefab-services.proto Maven / Gradle / Ivy

Go to download

API Client for https://prefab.cloud: rate limits, feature flags and semaphores as a service

There is a newer version: 0.3.23
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy