clarifai-web-grpc 11.2.0 → 11.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1498,6 +1498,13 @@ export class V2Client {
1498
1498
  response: proto_clarifai_api_service_pb.MultiRunnerResponse) => void
1499
1499
  ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiRunnerResponse>;
1500
1500
 
1501
+ patchRunners(
1502
+ request: proto_clarifai_api_service_pb.PatchRunnersRequest,
1503
+ metadata: grpcWeb.Metadata | undefined,
1504
+ callback: (err: grpcWeb.RpcError,
1505
+ response: proto_clarifai_api_service_pb.MultiRunnerResponse) => void
1506
+ ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiRunnerResponse>;
1507
+
1501
1508
  deleteRunners(
1502
1509
  request: proto_clarifai_api_service_pb.DeleteRunnersRequest,
1503
1510
  metadata: grpcWeb.Metadata | undefined,
@@ -2785,6 +2792,11 @@ export class V2PromiseClient {
2785
2792
  metadata?: grpcWeb.Metadata
2786
2793
  ): Promise<proto_clarifai_api_service_pb.MultiRunnerResponse>;
2787
2794
 
2795
+ patchRunners(
2796
+ request: proto_clarifai_api_service_pb.PatchRunnersRequest,
2797
+ metadata?: grpcWeb.Metadata
2798
+ ): Promise<proto_clarifai_api_service_pb.MultiRunnerResponse>;
2799
+
2788
2800
  deleteRunners(
2789
2801
  request: proto_clarifai_api_service_pb.DeleteRunnersRequest,
2790
2802
  metadata?: grpcWeb.Metadata
@@ -13083,6 +13083,67 @@ proto.clarifai.api.V2PromiseClient.prototype.postRunners =
13083
13083
  };
13084
13084
 
13085
13085
 
13086
+ /**
13087
+ * @const
13088
+ * @type {!grpc.web.MethodDescriptor<
13089
+ * !proto.clarifai.api.PatchRunnersRequest,
13090
+ * !proto.clarifai.api.MultiRunnerResponse>}
13091
+ */
13092
+ const methodDescriptor_V2_PatchRunners = new grpc.web.MethodDescriptor(
13093
+ '/clarifai.api.V2/PatchRunners',
13094
+ grpc.web.MethodType.UNARY,
13095
+ proto.clarifai.api.PatchRunnersRequest,
13096
+ proto.clarifai.api.MultiRunnerResponse,
13097
+ /**
13098
+ * @param {!proto.clarifai.api.PatchRunnersRequest} request
13099
+ * @return {!Uint8Array}
13100
+ */
13101
+ function(request) {
13102
+ return request.serializeBinary();
13103
+ },
13104
+ proto.clarifai.api.MultiRunnerResponse.deserializeBinary
13105
+ );
13106
+
13107
+
13108
+ /**
13109
+ * @param {!proto.clarifai.api.PatchRunnersRequest} request The
13110
+ * request proto
13111
+ * @param {?Object<string, string>} metadata User defined
13112
+ * call metadata
13113
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerResponse)}
13114
+ * callback The callback function(error, response)
13115
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerResponse>|undefined}
13116
+ * The XHR Node Readable Stream
13117
+ */
13118
+ proto.clarifai.api.V2Client.prototype.patchRunners =
13119
+ function(request, metadata, callback) {
13120
+ return this.client_.rpcCall(this.hostname_ +
13121
+ '/clarifai.api.V2/PatchRunners',
13122
+ request,
13123
+ metadata || {},
13124
+ methodDescriptor_V2_PatchRunners,
13125
+ callback);
13126
+ };
13127
+
13128
+
13129
+ /**
13130
+ * @param {!proto.clarifai.api.PatchRunnersRequest} request The
13131
+ * request proto
13132
+ * @param {?Object<string, string>=} metadata User defined
13133
+ * call metadata
13134
+ * @return {!Promise<!proto.clarifai.api.MultiRunnerResponse>}
13135
+ * Promise that resolves to the response
13136
+ */
13137
+ proto.clarifai.api.V2PromiseClient.prototype.patchRunners =
13138
+ function(request, metadata) {
13139
+ return this.client_.unaryCall(this.hostname_ +
13140
+ '/clarifai.api.V2/PatchRunners',
13141
+ request,
13142
+ metadata || {},
13143
+ methodDescriptor_V2_PatchRunners);
13144
+ };
13145
+
13146
+
13086
13147
  /**
13087
13148
  * @const
13088
13149
  * @type {!grpc.web.MethodDescriptor<
@@ -3180,6 +3180,15 @@ export class ListLogEntriesRequest extends jspb.Message {
3180
3180
  getRunnerId(): string;
3181
3181
  setRunnerId(value: string): ListLogEntriesRequest;
3182
3182
 
3183
+ getPipelineId(): string;
3184
+ setPipelineId(value: string): ListLogEntriesRequest;
3185
+
3186
+ getPipelineVersionId(): string;
3187
+ setPipelineVersionId(value: string): ListLogEntriesRequest;
3188
+
3189
+ getPipelineVersionRunId(): string;
3190
+ setPipelineVersionRunId(value: string): ListLogEntriesRequest;
3191
+
3183
3192
  serializeBinary(): Uint8Array;
3184
3193
  toObject(includeInstance?: boolean): ListLogEntriesRequest.AsObject;
3185
3194
  static toObject(includeInstance: boolean, msg: ListLogEntriesRequest): ListLogEntriesRequest.AsObject;
@@ -3200,6 +3209,9 @@ export namespace ListLogEntriesRequest {
3200
3209
  computeClusterId: string,
3201
3210
  nodepoolId: string,
3202
3211
  runnerId: string,
3212
+ pipelineId: string,
3213
+ pipelineVersionId: string,
3214
+ pipelineVersionRunId: string,
3203
3215
  }
3204
3216
  }
3205
3217
 
@@ -3230,6 +3242,15 @@ export class StreamLogEntriesRequest extends jspb.Message {
3230
3242
  getRunnerId(): string;
3231
3243
  setRunnerId(value: string): StreamLogEntriesRequest;
3232
3244
 
3245
+ getPipelineId(): string;
3246
+ setPipelineId(value: string): StreamLogEntriesRequest;
3247
+
3248
+ getPipelineVersionId(): string;
3249
+ setPipelineVersionId(value: string): StreamLogEntriesRequest;
3250
+
3251
+ getPipelineVersionRunId(): string;
3252
+ setPipelineVersionRunId(value: string): StreamLogEntriesRequest;
3253
+
3233
3254
  serializeBinary(): Uint8Array;
3234
3255
  toObject(includeInstance?: boolean): StreamLogEntriesRequest.AsObject;
3235
3256
  static toObject(includeInstance: boolean, msg: StreamLogEntriesRequest): StreamLogEntriesRequest.AsObject;
@@ -3248,6 +3269,9 @@ export namespace StreamLogEntriesRequest {
3248
3269
  computeClusterId: string,
3249
3270
  nodepoolId: string,
3250
3271
  runnerId: string,
3272
+ pipelineId: string,
3273
+ pipelineVersionId: string,
3274
+ pipelineVersionRunId: string,
3251
3275
  }
3252
3276
  }
3253
3277
 
@@ -9929,6 +9953,44 @@ export namespace PostRunnersRequest {
9929
9953
  }
9930
9954
  }
9931
9955
 
9956
+ export class PatchRunnersRequest extends jspb.Message {
9957
+ getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
9958
+ setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PatchRunnersRequest;
9959
+ hasUserAppId(): boolean;
9960
+ clearUserAppId(): PatchRunnersRequest;
9961
+
9962
+ getNodepoolId(): string;
9963
+ setNodepoolId(value: string): PatchRunnersRequest;
9964
+
9965
+ getRunnersList(): Array<proto_clarifai_api_resources_pb.Runner>;
9966
+ setRunnersList(value: Array<proto_clarifai_api_resources_pb.Runner>): PatchRunnersRequest;
9967
+ clearRunnersList(): PatchRunnersRequest;
9968
+ addRunners(value?: proto_clarifai_api_resources_pb.Runner, index?: number): proto_clarifai_api_resources_pb.Runner;
9969
+
9970
+ getComputeClusterId(): string;
9971
+ setComputeClusterId(value: string): PatchRunnersRequest;
9972
+
9973
+ getAction(): string;
9974
+ setAction(value: string): PatchRunnersRequest;
9975
+
9976
+ serializeBinary(): Uint8Array;
9977
+ toObject(includeInstance?: boolean): PatchRunnersRequest.AsObject;
9978
+ static toObject(includeInstance: boolean, msg: PatchRunnersRequest): PatchRunnersRequest.AsObject;
9979
+ static serializeBinaryToWriter(message: PatchRunnersRequest, writer: jspb.BinaryWriter): void;
9980
+ static deserializeBinary(bytes: Uint8Array): PatchRunnersRequest;
9981
+ static deserializeBinaryFromReader(message: PatchRunnersRequest, reader: jspb.BinaryReader): PatchRunnersRequest;
9982
+ }
9983
+
9984
+ export namespace PatchRunnersRequest {
9985
+ export type AsObject = {
9986
+ userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
9987
+ nodepoolId: string,
9988
+ runnersList: Array<proto_clarifai_api_resources_pb.Runner.AsObject>,
9989
+ computeClusterId: string,
9990
+ action: string,
9991
+ }
9992
+ }
9993
+
9932
9994
  export class DeleteRunnersRequest extends jspb.Message {
9933
9995
  getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
9934
9996
  setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): DeleteRunnersRequest;