arg-services
Version:
Protobuf and gRPC definitions for microservice-based argumentation machines
109 lines (94 loc) • 3.25 kB
TypeScript
// @generated by protoc-gen-es v2.5.0 with parameter "target=js+dts,import_extension=js,json_types=true"
// @generated from file arg_services/mining/v1beta/mining.proto (package arg_services.mining.v1beta, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
import type { JsonObject, Message } from "@bufbuild/protobuf";
import type { StructJson } from "@bufbuild/protobuf/wkt";
import type { Graph, GraphJson } from "../../graph/v1/graph_pb.js";
/**
* Describes the file arg_services/mining/v1beta/mining.proto.
*/
export declare const file_arg_services_mining_v1beta_mining: GenFile;
/**
* @generated from message arg_services.mining.v1beta.RunPipelineRequest
*/
export declare type RunPipelineRequest = Message<"arg_services.mining.v1beta.RunPipelineRequest"> & {
/**
* @generated from field: repeated string texts = 1;
*/
texts: string[];
/**
* Implementation-specific information can be encoded here
*
* @generated from field: google.protobuf.Struct extras = 15;
*/
extras?: JsonObject;
};
/**
* @generated from message arg_services.mining.v1beta.RunPipelineRequest
*/
export declare type RunPipelineRequestJson = {
/**
* @generated from field: repeated string texts = 1;
*/
texts?: string[];
/**
* Implementation-specific information can be encoded here
*
* @generated from field: google.protobuf.Struct extras = 15;
*/
extras?: StructJson;
};
/**
* Describes the message arg_services.mining.v1beta.RunPipelineRequest.
* Use `create(RunPipelineRequestSchema)` to create a new message.
*/
export declare const RunPipelineRequestSchema: GenMessage<RunPipelineRequest, {jsonType: RunPipelineRequestJson}>;
/**
* @generated from message arg_services.mining.v1beta.RunPipelineResponse
*/
export declare type RunPipelineResponse = Message<"arg_services.mining.v1beta.RunPipelineResponse"> & {
/**
* @generated from field: repeated arg_services.graph.v1.Graph graphs = 1;
*/
graphs: Graph[];
/**
* Implementation-specific information can be encoded here
*
* @generated from field: google.protobuf.Struct extras = 15;
*/
extras?: JsonObject;
};
/**
* @generated from message arg_services.mining.v1beta.RunPipelineResponse
*/
export declare type RunPipelineResponseJson = {
/**
* @generated from field: repeated arg_services.graph.v1.Graph graphs = 1;
*/
graphs?: GraphJson[];
/**
* Implementation-specific information can be encoded here
*
* @generated from field: google.protobuf.Struct extras = 15;
*/
extras?: StructJson;
};
/**
* Describes the message arg_services.mining.v1beta.RunPipelineResponse.
* Use `create(RunPipelineResponseSchema)` to create a new message.
*/
export declare const RunPipelineResponseSchema: GenMessage<RunPipelineResponse, {jsonType: RunPipelineResponseJson}>;
/**
* @generated from service arg_services.mining.v1beta.MiningService
*/
export declare const MiningService: GenService<{
/**
* @generated from rpc arg_services.mining.v1beta.MiningService.RunPipeline
*/
runPipeline: {
methodKind: "unary";
input: typeof RunPipelineRequestSchema;
output: typeof RunPipelineResponseSchema;
},
}>;