UNPKG

@aneoconsultingfr/armonik.api.angular

Version:

gRPC API to interact with ArmoniK built for Angular

1,192 lines 68.5 kB
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common'; import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf'; import * as googleProtobuf000 from '@ngx-grpc/well-known-types'; import * as armonikApiGrpcV1Session_status003 from './session-status.pb'; import * as armonikApiGrpcV1Sessions004 from './sessions-fields.pb'; import * as googleProtobuf005 from '@ngx-grpc/well-known-types'; import * as armonikApiGrpcV1006 from './objects.pb'; import * as armonikApiGrpcV1Sessions007 from './sessions-filters.pb'; import * as armonikApiGrpcV1Sort_direction008 from './sort-direction.pb'; /** * Message implementation for armonik.api.grpc.v1.sessions.SessionRaw */ export declare class SessionRaw implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): SessionRaw; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: SessionRaw): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: SessionRaw, _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: SessionRaw, _writer: BinaryWriter): void; private _sessionId; private _status; private _clientSubmission; private _workerSubmission; private _partitionIds; private _options?; private _createdAt?; private _cancelledAt?; private _closedAt?; private _purgedAt?; private _deletedAt?; private _duration?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of SessionRaw to deeply clone from */ constructor(_value?: RecursivePartial<SessionRaw.AsObject>); get sessionId(): string; set sessionId(value: string); get status(): armonikApiGrpcV1Session_status003.SessionStatus; set status(value: armonikApiGrpcV1Session_status003.SessionStatus); get clientSubmission(): boolean; set clientSubmission(value: boolean); get workerSubmission(): boolean; set workerSubmission(value: boolean); get partitionIds(): string[]; set partitionIds(value: string[]); get options(): armonikApiGrpcV1006.TaskOptions | undefined; set options(value: armonikApiGrpcV1006.TaskOptions | undefined); get createdAt(): googleProtobuf005.Timestamp | undefined; set createdAt(value: googleProtobuf005.Timestamp | undefined); get cancelledAt(): googleProtobuf005.Timestamp | undefined; set cancelledAt(value: googleProtobuf005.Timestamp | undefined); get closedAt(): googleProtobuf005.Timestamp | undefined; set closedAt(value: googleProtobuf005.Timestamp | undefined); get purgedAt(): googleProtobuf005.Timestamp | undefined; set purgedAt(value: googleProtobuf005.Timestamp | undefined); get deletedAt(): googleProtobuf005.Timestamp | undefined; set deletedAt(value: googleProtobuf005.Timestamp | undefined); get duration(): googleProtobuf000.Duration | undefined; set duration(value: googleProtobuf000.Duration | undefined); /** * 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(): SessionRaw.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): SessionRaw.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): SessionRaw.AsProtobufJSON; } export declare namespace SessionRaw { /** * Standard JavaScript object representation for SessionRaw */ interface AsObject { sessionId: string; status: armonikApiGrpcV1Session_status003.SessionStatus; clientSubmission: boolean; workerSubmission: boolean; partitionIds: string[]; options?: armonikApiGrpcV1006.TaskOptions.AsObject; createdAt?: googleProtobuf005.Timestamp.AsObject; cancelledAt?: googleProtobuf005.Timestamp.AsObject; closedAt?: googleProtobuf005.Timestamp.AsObject; purgedAt?: googleProtobuf005.Timestamp.AsObject; deletedAt?: googleProtobuf005.Timestamp.AsObject; duration?: googleProtobuf000.Duration.AsObject; } /** * Protobuf JSON representation for SessionRaw */ interface AsProtobufJSON { sessionId: string; status: string; clientSubmission: boolean; workerSubmission: boolean; partitionIds: string[]; options: armonikApiGrpcV1006.TaskOptions.AsProtobufJSON | null; createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; cancelledAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; closedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; purgedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; deletedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; duration: googleProtobuf000.Duration.AsProtobufJSON | null; } } /** * Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest */ export declare class ListSessionsRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ListSessionsRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ListSessionsRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ListSessionsRequest, _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: ListSessionsRequest, _writer: BinaryWriter): void; private _page; private _pageSize; private _filters?; private _sort?; private _withTaskOptions; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ListSessionsRequest to deeply clone from */ constructor(_value?: RecursivePartial<ListSessionsRequest.AsObject>); get page(): number; set page(value: number); get pageSize(): number; set pageSize(value: number); get filters(): armonikApiGrpcV1Sessions007.Filters | undefined; set filters(value: armonikApiGrpcV1Sessions007.Filters | undefined); get sort(): ListSessionsRequest.Sort | undefined; set sort(value: ListSessionsRequest.Sort | undefined); get withTaskOptions(): boolean; set withTaskOptions(value: boolean); /** * 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(): ListSessionsRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ListSessionsRequest.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): ListSessionsRequest.AsProtobufJSON; } export declare namespace ListSessionsRequest { /** * Standard JavaScript object representation for ListSessionsRequest */ interface AsObject { page: number; pageSize: number; filters?: armonikApiGrpcV1Sessions007.Filters.AsObject; sort?: ListSessionsRequest.Sort.AsObject; withTaskOptions: boolean; } /** * Protobuf JSON representation for ListSessionsRequest */ interface AsProtobufJSON { page: number; pageSize: number; filters: armonikApiGrpcV1Sessions007.Filters.AsProtobufJSON | null; sort: ListSessionsRequest.Sort.AsProtobufJSON | null; withTaskOptions: boolean; } /** * Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest.Sort */ class Sort implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Sort; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Sort): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Sort, _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: Sort, _writer: BinaryWriter): void; private _field?; private _direction; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Sort to deeply clone from */ constructor(_value?: RecursivePartial<Sort.AsObject>); get field(): armonikApiGrpcV1Sessions004.SessionField | undefined; set field(value: armonikApiGrpcV1Sessions004.SessionField | undefined); get direction(): armonikApiGrpcV1Sort_direction008.SortDirection; set direction(value: armonikApiGrpcV1Sort_direction008.SortDirection); /** * 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(): Sort.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Sort.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): Sort.AsProtobufJSON; } namespace Sort { /** * Standard JavaScript object representation for Sort */ interface AsObject { field?: armonikApiGrpcV1Sessions004.SessionField.AsObject; direction: armonikApiGrpcV1Sort_direction008.SortDirection; } /** * Protobuf JSON representation for Sort */ interface AsProtobufJSON { field: armonikApiGrpcV1Sessions004.SessionField.AsProtobufJSON | null; direction: string; } } } /** * Message implementation for armonik.api.grpc.v1.sessions.ListSessionsResponse */ export declare class ListSessionsResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ListSessionsResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ListSessionsResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ListSessionsResponse, _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: ListSessionsResponse, _writer: BinaryWriter): void; private _sessions?; private _page; private _pageSize; private _total; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ListSessionsResponse to deeply clone from */ constructor(_value?: RecursivePartial<ListSessionsResponse.AsObject>); get sessions(): SessionRaw[] | undefined; set sessions(value: SessionRaw[] | undefined); get page(): number; set page(value: number); get pageSize(): number; set pageSize(value: number); get total(): number; set total(value: number); /** * 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(): ListSessionsResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ListSessionsResponse.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): ListSessionsResponse.AsProtobufJSON; } export declare namespace ListSessionsResponse { /** * Standard JavaScript object representation for ListSessionsResponse */ interface AsObject { sessions?: SessionRaw.AsObject[]; page: number; pageSize: number; total: number; } /** * Protobuf JSON representation for ListSessionsResponse */ interface AsProtobufJSON { sessions: SessionRaw.AsProtobufJSON[] | null; page: number; pageSize: number; total: number; } } /** * Message implementation for armonik.api.grpc.v1.sessions.GetSessionRequest */ export declare class GetSessionRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): GetSessionRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: GetSessionRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: GetSessionRequest, _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: GetSessionRequest, _writer: BinaryWriter): void; private _sessionId; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of GetSessionRequest to deeply clone from */ constructor(_value?: RecursivePartial<GetSessionRequest.AsObject>); get sessionId(): string; set sessionId(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(): GetSessionRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): GetSessionRequest.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): GetSessionRequest.AsProtobufJSON; } export declare namespace GetSessionRequest { /** * Standard JavaScript object representation for GetSessionRequest */ interface AsObject { sessionId: string; } /** * Protobuf JSON representation for GetSessionRequest */ interface AsProtobufJSON { sessionId: string; } } /** * Message implementation for armonik.api.grpc.v1.sessions.GetSessionResponse */ export declare class GetSessionResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): GetSessionResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: GetSessionResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: GetSessionResponse, _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: GetSessionResponse, _writer: BinaryWriter): void; private _session?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of GetSessionResponse to deeply clone from */ constructor(_value?: RecursivePartial<GetSessionResponse.AsObject>); get session(): SessionRaw | undefined; set session(value: SessionRaw | undefined); /** * 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(): GetSessionResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): GetSessionResponse.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): GetSessionResponse.AsProtobufJSON; } export declare namespace GetSessionResponse { /** * Standard JavaScript object representation for GetSessionResponse */ interface AsObject { session?: SessionRaw.AsObject; } /** * Protobuf JSON representation for GetSessionResponse */ interface AsProtobufJSON { session: SessionRaw.AsProtobufJSON | null; } } /** * Message implementation for armonik.api.grpc.v1.sessions.CancelSessionRequest */ export declare class CancelSessionRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CancelSessionRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CancelSessionRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CancelSessionRequest, _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: CancelSessionRequest, _writer: BinaryWriter): void; private _sessionId; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CancelSessionRequest to deeply clone from */ constructor(_value?: RecursivePartial<CancelSessionRequest.AsObject>); get sessionId(): string; set sessionId(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(): CancelSessionRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): CancelSessionRequest.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): CancelSessionRequest.AsProtobufJSON; } export declare namespace CancelSessionRequest { /** * Standard JavaScript object representation for CancelSessionRequest */ interface AsObject { sessionId: string; } /** * Protobuf JSON representation for CancelSessionRequest */ interface AsProtobufJSON { sessionId: string; } } /** * Message implementation for armonik.api.grpc.v1.sessions.CancelSessionResponse */ export declare class CancelSessionResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CancelSessionResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CancelSessionResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CancelSessionResponse, _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: CancelSessionResponse, _writer: BinaryWriter): void; private _session?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CancelSessionResponse to deeply clone from */ constructor(_value?: RecursivePartial<CancelSessionResponse.AsObject>); get session(): SessionRaw | undefined; set session(value: SessionRaw | undefined); /** * 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(): CancelSessionResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): CancelSessionResponse.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): CancelSessionResponse.AsProtobufJSON; } export declare namespace CancelSessionResponse { /** * Standard JavaScript object representation for CancelSessionResponse */ interface AsObject { session?: SessionRaw.AsObject; } /** * Protobuf JSON representation for CancelSessionResponse */ interface AsProtobufJSON { session: SessionRaw.AsProtobufJSON | null; } } /** * Message implementation for armonik.api.grpc.v1.sessions.CreateSessionRequest */ export declare class CreateSessionRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CreateSessionRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CreateSessionRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CreateSessionRequest, _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: CreateSessionRequest, _writer: BinaryWriter): void; private _defaultTaskOption?; private _partitionIds; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CreateSessionRequest to deeply clone from */ constructor(_value?: RecursivePartial<CreateSessionRequest.AsObject>); get defaultTaskOption(): armonikApiGrpcV1006.TaskOptions | undefined; set defaultTaskOption(value: armonikApiGrpcV1006.TaskOptions | undefined); get partitionIds(): string[]; set partitionIds(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(): CreateSessionRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): CreateSessionRequest.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): CreateSessionRequest.AsProtobufJSON; } export declare namespace CreateSessionRequest { /** * Standard JavaScript object representation for CreateSessionRequest */ interface AsObject { defaultTaskOption?: armonikApiGrpcV1006.TaskOptions.AsObject; partitionIds: string[]; } /** * Protobuf JSON representation for CreateSessionRequest */ interface AsProtobufJSON { defaultTaskOption: armonikApiGrpcV1006.TaskOptions.AsProtobufJSON | null; partitionIds: string[]; } } /** * Message implementation for armonik.api.grpc.v1.sessions.CreateSessionReply */ export declare class CreateSessionReply implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CreateSessionReply; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CreateSessionReply): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CreateSessionReply, _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: CreateSessionReply, _writer: BinaryWriter): void; private _sessionId; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CreateSessionReply to deeply clone from */ constructor(_value?: RecursivePartial<CreateSessionReply.AsObject>); get sessionId(): string; set sessionId(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(): CreateSessionReply.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): CreateSessionReply.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): CreateSessionReply.AsProtobufJSON; } export declare namespace CreateSessionReply { /** * Standard JavaScript object representation for CreateSessionReply */ interface AsObject { sessionId: string; } /** * Protobuf JSON representation for CreateSessionReply */ interface AsProtobufJSON { sessionId: string; } } /** * Message implementation for armonik.api.grpc.v1.sessions.PauseSessionRequest */ export declare class PauseSessionRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): PauseSessionRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: PauseSessionRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: PauseSessionRequest, _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: PauseSessionRequest, _writer: BinaryWriter): void; private _sessionId; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of PauseSessionRequest to deeply clone from */ constructor(_value?: RecursivePartial<PauseSessionRequest.AsObject>); get sessionId(): string; set sessionId(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(): PauseSessionRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): PauseSessionRequest.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): PauseSessionRequest.AsProtobufJSON; } export declare namespace PauseSessionRequest { /** * Standard JavaScript object representation for PauseSessionRequest */ interface AsObject { sessionId: string; } /** * Protobuf JSON representation for PauseSessionRequest */ interface AsProtobufJSON { sessionId: string; } } /** * Message implementation for armonik.api.grpc.v1.sessions.PauseSessionResponse */ export declare class PauseSessionResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): PauseSessionResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: PauseSessionResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: PauseSessionResponse, _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: PauseSessionResponse, _writer: BinaryWriter): void; private _session?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of PauseSessionResponse to deeply clone from */ constructor(_value?: RecursivePartial<PauseSessionResponse.AsObject>); get session(): SessionRaw | undefined; set session(value: SessionRaw | undefined); /** * 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(): PauseSessionResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): PauseSessionResponse.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): PauseSessionResponse.AsProtobufJSON; } export declare namespace PauseSessionResponse { /** * Standard JavaScript object representation for PauseSessionResponse */ interface AsObject { session?: SessionRaw.AsObject; } /** * Protobuf JSON representation for PauseSessionResponse */ interface AsProtobufJSON { session: SessionRaw.AsProtobufJSON | null; } } /** * Message implementation for armonik.api.grpc.v1.sessions.ResumeSessionRequest */ export declare class ResumeSessionRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ResumeSessionRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ResumeSessionRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ResumeSessionRequest, _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: ResumeSessionRequest, _writer: BinaryWriter): void; private _sessionId; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ResumeSessionRequest to deeply clone from */ constructor(_value?: RecursivePartial<ResumeSessionRequest.AsObject>); get sessionId(): string; set sessionId(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(): ResumeSessionRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ResumeSessionRequest.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): ResumeSessionRequest.AsProtobufJSON; } export declare namespace ResumeSessionRequest { /** * Standard JavaScript object representation for ResumeSessionRequest */ interface AsObject { sessionId: string; } /** * Protobuf JSON representation for ResumeSessionRequest */ interface AsProtobufJSON { sessionId: string; } } /** * Message implementation for armonik.api.grpc.v1.sessions.ResumeSessionResponse */ export declare class ResumeSessionResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ResumeSessionResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ResumeSessionResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ResumeSessionResponse, _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: ResumeSessionResponse, _writer: BinaryWriter): void; private _session?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ResumeSessionResponse to deeply clone from */ constructor(_value?: RecursivePartial<ResumeSessionResponse.AsObject>); get session(): SessionRaw | undefined; set session(value: SessionRaw | undefined); /** * 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(): ResumeSessionResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ResumeSessionResponse.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): ResumeSessionResponse.AsProtobufJSON; } export declare namespace ResumeSessionResponse { /** * Standard JavaScript object representation for ResumeSessionResponse */ interface AsObject { session?: SessionRaw.AsObject; } /** * Protobuf JSON representation for ResumeSessionResponse */ interface AsProtobufJSON { session: SessionRaw.AsProtobufJSON | null; } } /** * Message implementation for armonik.api.grpc.v1.sessions.CloseSessionRequest */ export declare class CloseSessionRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CloseSessionRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CloseSessionRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CloseSessionRequest, _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: CloseSessionRequest, _writer: BinaryWriter): void; private _sessionId; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CloseSessionRequest to deeply clone from */ constructor(_value?: RecursivePartial<CloseSessionRequest.AsObject>); get sessionId(): string; set sessionId(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(): CloseSessionRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): CloseSessionRequest.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): CloseSessionRequest.AsProtobufJSON; } export declare namespace CloseSessionRequest { /** * Standard JavaScript object representation for CloseSessionRequest */ interface AsObject { sessionId: string; } /** * Protobuf JSON representation for CloseSessionRequest */ interface AsProtobufJSON { sessionId: string; } } /** * Message implementation for armonik.api.grpc.v1.sessions.CloseSessionResponse */ export declare class CloseSessionResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CloseSessionResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CloseSessionResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CloseSessionResponse, _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: CloseSessionResponse, _writer: BinaryWriter): void; private _session?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CloseSessionResponse to deeply clone from */ constructor(_value?: RecursivePartial<CloseSessionResponse.AsObject>); get session(): SessionRaw | undefined; set session(value: SessionRaw | undefined); /** * 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(): CloseSessionResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJ