@aneoconsultingfr/armonik.api.angular
Version:
gRPC API to interact with ArmoniK built for Angular
141 lines (140 loc) • 5.77 kB
TypeScript
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
/**
* Message implementation for armonik.api.grpc.v1.versions.ListVersionsRequest
*/
export declare class ListVersionsRequest implements GrpcMessage {
static id: string;
/**
* Deserialize binary data to message
* @param instance message instance
*/
static deserializeBinary(bytes: ByteSource): ListVersionsRequest;
/**
* Check all the properties and set default protobuf values if necessary
* @param _instance message instance
*/
static refineValues(_instance: ListVersionsRequest): void;
/**
* Deserializes / reads binary message into message instance using provided binary reader
* @param _instance message instance
* @param _reader binary reader instance
*/
static deserializeBinaryFromReader(_instance: ListVersionsRequest, _reader: BinaryReader): void;
/**
* Serializes a message to binary format using provided binary reader
* @param _instance message instance
* @param _writer binary writer instance
*/
static serializeBinaryToWriter(_instance: ListVersionsRequest, _writer: BinaryWriter): void;
/**
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
* @param _value initial values object or instance of ListVersionsRequest to deeply clone from
*/
constructor(_value?: RecursivePartial<ListVersionsRequest.AsObject>);
/**
* Serialize message to binary data
* @param instance message instance
*/
serializeBinary(): Uint8Array;
/**
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
*/
toObject(): ListVersionsRequest.AsObject;
/**
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
*/
toJSON(): ListVersionsRequest.AsObject;
/**
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
*/
toProtobufJSON(options?: ToProtobufJSONOptions): ListVersionsRequest.AsProtobufJSON;
}
export declare namespace ListVersionsRequest {
/**
* Standard JavaScript object representation for ListVersionsRequest
*/
interface AsObject {
}
/**
* Protobuf JSON representation for ListVersionsRequest
*/
interface AsProtobufJSON {
}
}
/**
* Message implementation for armonik.api.grpc.v1.versions.ListVersionsResponse
*/
export declare class ListVersionsResponse implements GrpcMessage {
static id: string;
/**
* Deserialize binary data to message
* @param instance message instance
*/
static deserializeBinary(bytes: ByteSource): ListVersionsResponse;
/**
* Check all the properties and set default protobuf values if necessary
* @param _instance message instance
*/
static refineValues(_instance: ListVersionsResponse): void;
/**
* Deserializes / reads binary message into message instance using provided binary reader
* @param _instance message instance
* @param _reader binary reader instance
*/
static deserializeBinaryFromReader(_instance: ListVersionsResponse, _reader: BinaryReader): void;
/**
* Serializes a message to binary format using provided binary reader
* @param _instance message instance
* @param _writer binary writer instance
*/
static serializeBinaryToWriter(_instance: ListVersionsResponse, _writer: BinaryWriter): void;
private _core;
private _api;
/**
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
* @param _value initial values object or instance of ListVersionsResponse to deeply clone from
*/
constructor(_value?: RecursivePartial<ListVersionsResponse.AsObject>);
get core(): string;
set core(value: string);
get api(): string;
set api(value: string);
/**
* Serialize message to binary data
* @param instance message instance
*/
serializeBinary(): Uint8Array;
/**
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
*/
toObject(): ListVersionsResponse.AsObject;
/**
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
*/
toJSON(): ListVersionsResponse.AsObject;
/**
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
*/
toProtobufJSON(options?: ToProtobufJSONOptions): ListVersionsResponse.AsProtobufJSON;
}
export declare namespace ListVersionsResponse {
/**
* Standard JavaScript object representation for ListVersionsResponse
*/
interface AsObject {
core: string;
api: string;
}
/**
* Protobuf JSON representation for ListVersionsResponse
*/
interface AsProtobufJSON {
core: string;
api: string;
}
}