@alis-build/build 1.945.1016
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.
- package/alis/build/build_grpc_pb.d.ts +35 -0
- package/alis/build/build_grpc_pb.js +119 -0
- package/alis/build/build_grpc_web_pb.d.ts +55 -0
- package/alis/build/build_grpc_web_pb.js +267 -0
- package/alis/build/build_pb.d.ts +346 -0
- package/alis/build/build_pb.js +2678 -0
- package/package.json +11 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// package: alis.build
|
|
4
|
+
// file: alis/build/build.proto
|
|
5
|
+
|
|
6
|
+
import * as alis_build_build_pb from "../../alis/build/build_pb";
|
|
7
|
+
import * as google_longrunning_operations_pb from "@alis-build/google-common-protos/google/longrunning/operations_pb";
|
|
8
|
+
import * as grpc from "@grpc/grpc-js";
|
|
9
|
+
|
|
10
|
+
interface IBuildServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
11
|
+
retrieveMyWorkstation: grpc.MethodDefinition<alis_build_build_pb.RetrieveMyWorkstationRequest, google_longrunning_operations_pb.Operation>;
|
|
12
|
+
getBuildSpec: grpc.MethodDefinition<alis_build_build_pb.GetBuildSpecRequest, alis_build_build_pb.BuildSpec>;
|
|
13
|
+
listBuildSpecs: grpc.MethodDefinition<alis_build_build_pb.ListBuildSpecsRequest, alis_build_build_pb.ListBuildSpecsResponse>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const BuildServiceService: IBuildServiceService;
|
|
17
|
+
|
|
18
|
+
export interface IBuildServiceServer extends grpc.UntypedServiceImplementation {
|
|
19
|
+
retrieveMyWorkstation: grpc.handleUnaryCall<alis_build_build_pb.RetrieveMyWorkstationRequest, google_longrunning_operations_pb.Operation>;
|
|
20
|
+
getBuildSpec: grpc.handleUnaryCall<alis_build_build_pb.GetBuildSpecRequest, alis_build_build_pb.BuildSpec>;
|
|
21
|
+
listBuildSpecs: grpc.handleUnaryCall<alis_build_build_pb.ListBuildSpecsRequest, alis_build_build_pb.ListBuildSpecsResponse>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export class BuildServiceClient extends grpc.Client {
|
|
25
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
|
26
|
+
retrieveMyWorkstation(argument: alis_build_build_pb.RetrieveMyWorkstationRequest, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
|
|
27
|
+
retrieveMyWorkstation(argument: alis_build_build_pb.RetrieveMyWorkstationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
|
|
28
|
+
retrieveMyWorkstation(argument: alis_build_build_pb.RetrieveMyWorkstationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
|
|
29
|
+
getBuildSpec(argument: alis_build_build_pb.GetBuildSpecRequest, callback: grpc.requestCallback<alis_build_build_pb.BuildSpec>): grpc.ClientUnaryCall;
|
|
30
|
+
getBuildSpec(argument: alis_build_build_pb.GetBuildSpecRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<alis_build_build_pb.BuildSpec>): grpc.ClientUnaryCall;
|
|
31
|
+
getBuildSpec(argument: alis_build_build_pb.GetBuildSpecRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<alis_build_build_pb.BuildSpec>): grpc.ClientUnaryCall;
|
|
32
|
+
listBuildSpecs(argument: alis_build_build_pb.ListBuildSpecsRequest, callback: grpc.requestCallback<alis_build_build_pb.ListBuildSpecsResponse>): grpc.ClientUnaryCall;
|
|
33
|
+
listBuildSpecs(argument: alis_build_build_pb.ListBuildSpecsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<alis_build_build_pb.ListBuildSpecsResponse>): grpc.ClientUnaryCall;
|
|
34
|
+
listBuildSpecs(argument: alis_build_build_pb.ListBuildSpecsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<alis_build_build_pb.ListBuildSpecsResponse>): grpc.ClientUnaryCall;
|
|
35
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var alis_build_build_pb = require('../../alis/build/build_pb.js');
|
|
6
|
+
var google_longrunning_operations_pb = require('@alis-build/google-common-protos/google/longrunning/operations_pb.js');
|
|
7
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
8
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
9
|
+
|
|
10
|
+
function serialize_alis_build_BuildSpec(arg) {
|
|
11
|
+
if (!(arg instanceof alis_build_build_pb.BuildSpec)) {
|
|
12
|
+
throw new Error('Expected argument of type alis.build.BuildSpec');
|
|
13
|
+
}
|
|
14
|
+
return Buffer.from(arg.serializeBinary());
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function deserialize_alis_build_BuildSpec(buffer_arg) {
|
|
18
|
+
return alis_build_build_pb.BuildSpec.deserializeBinary(new Uint8Array(buffer_arg));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function serialize_alis_build_GetBuildSpecRequest(arg) {
|
|
22
|
+
if (!(arg instanceof alis_build_build_pb.GetBuildSpecRequest)) {
|
|
23
|
+
throw new Error('Expected argument of type alis.build.GetBuildSpecRequest');
|
|
24
|
+
}
|
|
25
|
+
return Buffer.from(arg.serializeBinary());
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function deserialize_alis_build_GetBuildSpecRequest(buffer_arg) {
|
|
29
|
+
return alis_build_build_pb.GetBuildSpecRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function serialize_alis_build_ListBuildSpecsRequest(arg) {
|
|
33
|
+
if (!(arg instanceof alis_build_build_pb.ListBuildSpecsRequest)) {
|
|
34
|
+
throw new Error('Expected argument of type alis.build.ListBuildSpecsRequest');
|
|
35
|
+
}
|
|
36
|
+
return Buffer.from(arg.serializeBinary());
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function deserialize_alis_build_ListBuildSpecsRequest(buffer_arg) {
|
|
40
|
+
return alis_build_build_pb.ListBuildSpecsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function serialize_alis_build_ListBuildSpecsResponse(arg) {
|
|
44
|
+
if (!(arg instanceof alis_build_build_pb.ListBuildSpecsResponse)) {
|
|
45
|
+
throw new Error('Expected argument of type alis.build.ListBuildSpecsResponse');
|
|
46
|
+
}
|
|
47
|
+
return Buffer.from(arg.serializeBinary());
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function deserialize_alis_build_ListBuildSpecsResponse(buffer_arg) {
|
|
51
|
+
return alis_build_build_pb.ListBuildSpecsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function serialize_alis_build_RetrieveMyWorkstationRequest(arg) {
|
|
55
|
+
if (!(arg instanceof alis_build_build_pb.RetrieveMyWorkstationRequest)) {
|
|
56
|
+
throw new Error('Expected argument of type alis.build.RetrieveMyWorkstationRequest');
|
|
57
|
+
}
|
|
58
|
+
return Buffer.from(arg.serializeBinary());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function deserialize_alis_build_RetrieveMyWorkstationRequest(buffer_arg) {
|
|
62
|
+
return alis_build_build_pb.RetrieveMyWorkstationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function serialize_google_longrunning_Operation(arg) {
|
|
66
|
+
if (!(arg instanceof google_longrunning_operations_pb.Operation)) {
|
|
67
|
+
throw new Error('Expected argument of type google.longrunning.Operation');
|
|
68
|
+
}
|
|
69
|
+
return Buffer.from(arg.serializeBinary());
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function deserialize_google_longrunning_Operation(buffer_arg) {
|
|
73
|
+
return google_longrunning_operations_pb.Operation.deserializeBinary(new Uint8Array(buffer_arg));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// Public-facing API surface for Alis Build
|
|
78
|
+
var BuildServiceService = exports.BuildServiceService = {
|
|
79
|
+
// RetrieveMyWorkstation returns the relevant workstation beloning to the
|
|
80
|
+
// caller. If a workstation does not exist, it will provision one and then
|
|
81
|
+
// return with the one closest to the client.
|
|
82
|
+
retrieveMyWorkstation: {
|
|
83
|
+
path: '/alis.build.BuildService/RetrieveMyWorkstation',
|
|
84
|
+
requestStream: false,
|
|
85
|
+
responseStream: false,
|
|
86
|
+
requestType: alis_build_build_pb.RetrieveMyWorkstationRequest,
|
|
87
|
+
responseType: google_longrunning_operations_pb.Operation,
|
|
88
|
+
requestSerialize: serialize_alis_build_RetrieveMyWorkstationRequest,
|
|
89
|
+
requestDeserialize: deserialize_alis_build_RetrieveMyWorkstationRequest,
|
|
90
|
+
responseSerialize: serialize_google_longrunning_Operation,
|
|
91
|
+
responseDeserialize: deserialize_google_longrunning_Operation,
|
|
92
|
+
},
|
|
93
|
+
// Returns a build spec
|
|
94
|
+
getBuildSpec: {
|
|
95
|
+
path: '/alis.build.BuildService/GetBuildSpec',
|
|
96
|
+
requestStream: false,
|
|
97
|
+
responseStream: false,
|
|
98
|
+
requestType: alis_build_build_pb.GetBuildSpecRequest,
|
|
99
|
+
responseType: alis_build_build_pb.BuildSpec,
|
|
100
|
+
requestSerialize: serialize_alis_build_GetBuildSpecRequest,
|
|
101
|
+
requestDeserialize: deserialize_alis_build_GetBuildSpecRequest,
|
|
102
|
+
responseSerialize: serialize_alis_build_BuildSpec,
|
|
103
|
+
responseDeserialize: deserialize_alis_build_BuildSpec,
|
|
104
|
+
},
|
|
105
|
+
// Lists build specs
|
|
106
|
+
listBuildSpecs: {
|
|
107
|
+
path: '/alis.build.BuildService/ListBuildSpecs',
|
|
108
|
+
requestStream: false,
|
|
109
|
+
responseStream: false,
|
|
110
|
+
requestType: alis_build_build_pb.ListBuildSpecsRequest,
|
|
111
|
+
responseType: alis_build_build_pb.ListBuildSpecsResponse,
|
|
112
|
+
requestSerialize: serialize_alis_build_ListBuildSpecsRequest,
|
|
113
|
+
requestDeserialize: deserialize_alis_build_ListBuildSpecsRequest,
|
|
114
|
+
responseSerialize: serialize_alis_build_ListBuildSpecsResponse,
|
|
115
|
+
responseDeserialize: deserialize_alis_build_ListBuildSpecsResponse,
|
|
116
|
+
},
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
exports.BuildServiceClient = grpc.makeGenericClientConstructor(BuildServiceService, 'BuildService');
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as grpcWeb from 'grpc-web';
|
|
2
|
+
|
|
3
|
+
import * as alis_build_build_pb from '../../alis/build/build_pb'; // proto import: "alis/build/build.proto"
|
|
4
|
+
import * as google_longrunning_operations_pb from '@alis-build/google-common-protos/google/longrunning/operations_pb'; // proto import: "google/longrunning/operations.proto"
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class BuildServiceClient {
|
|
8
|
+
constructor (hostname: string,
|
|
9
|
+
credentials?: null | { [index: string]: string; },
|
|
10
|
+
options?: null | { [index: string]: any; });
|
|
11
|
+
|
|
12
|
+
retrieveMyWorkstation(
|
|
13
|
+
request: alis_build_build_pb.RetrieveMyWorkstationRequest,
|
|
14
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
15
|
+
callback: (err: grpcWeb.RpcError,
|
|
16
|
+
response: google_longrunning_operations_pb.Operation) => void
|
|
17
|
+
): grpcWeb.ClientReadableStream<google_longrunning_operations_pb.Operation>;
|
|
18
|
+
|
|
19
|
+
getBuildSpec(
|
|
20
|
+
request: alis_build_build_pb.GetBuildSpecRequest,
|
|
21
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
22
|
+
callback: (err: grpcWeb.RpcError,
|
|
23
|
+
response: alis_build_build_pb.BuildSpec) => void
|
|
24
|
+
): grpcWeb.ClientReadableStream<alis_build_build_pb.BuildSpec>;
|
|
25
|
+
|
|
26
|
+
listBuildSpecs(
|
|
27
|
+
request: alis_build_build_pb.ListBuildSpecsRequest,
|
|
28
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
29
|
+
callback: (err: grpcWeb.RpcError,
|
|
30
|
+
response: alis_build_build_pb.ListBuildSpecsResponse) => void
|
|
31
|
+
): grpcWeb.ClientReadableStream<alis_build_build_pb.ListBuildSpecsResponse>;
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class BuildServicePromiseClient {
|
|
36
|
+
constructor (hostname: string,
|
|
37
|
+
credentials?: null | { [index: string]: string; },
|
|
38
|
+
options?: null | { [index: string]: any; });
|
|
39
|
+
|
|
40
|
+
retrieveMyWorkstation(
|
|
41
|
+
request: alis_build_build_pb.RetrieveMyWorkstationRequest,
|
|
42
|
+
metadata?: grpcWeb.Metadata
|
|
43
|
+
): Promise<google_longrunning_operations_pb.Operation>;
|
|
44
|
+
|
|
45
|
+
getBuildSpec(
|
|
46
|
+
request: alis_build_build_pb.GetBuildSpecRequest,
|
|
47
|
+
metadata?: grpcWeb.Metadata
|
|
48
|
+
): Promise<alis_build_build_pb.BuildSpec>;
|
|
49
|
+
|
|
50
|
+
listBuildSpecs(
|
|
51
|
+
request: alis_build_build_pb.ListBuildSpecsRequest,
|
|
52
|
+
metadata?: grpcWeb.Metadata
|
|
53
|
+
): Promise<alis_build_build_pb.ListBuildSpecsResponse>;
|
|
54
|
+
|
|
55
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for alis.build
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v4.24.4
|
|
11
|
+
// source: alis/build/build.proto
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
const grpc = {};
|
|
20
|
+
grpc.web = require('grpc-web');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var google_longrunning_operations_pb = require('@alis-build/google-common-protos/google/longrunning/operations_pb.js')
|
|
24
|
+
|
|
25
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
26
|
+
|
|
27
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
28
|
+
const proto = {};
|
|
29
|
+
proto.alis = {};
|
|
30
|
+
proto.alis.build = require('./build_pb.js');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @param {string} hostname
|
|
34
|
+
* @param {?Object} credentials
|
|
35
|
+
* @param {?grpc.web.ClientOptions} options
|
|
36
|
+
* @constructor
|
|
37
|
+
* @struct
|
|
38
|
+
* @final
|
|
39
|
+
*/
|
|
40
|
+
proto.alis.build.BuildServiceClient =
|
|
41
|
+
function(hostname, credentials, options) {
|
|
42
|
+
if (!options) options = {};
|
|
43
|
+
options.format = 'text';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
47
|
+
*/
|
|
48
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @private @const {string} The hostname
|
|
52
|
+
*/
|
|
53
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
54
|
+
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @param {string} hostname
|
|
60
|
+
* @param {?Object} credentials
|
|
61
|
+
* @param {?grpc.web.ClientOptions} options
|
|
62
|
+
* @constructor
|
|
63
|
+
* @struct
|
|
64
|
+
* @final
|
|
65
|
+
*/
|
|
66
|
+
proto.alis.build.BuildServicePromiseClient =
|
|
67
|
+
function(hostname, credentials, options) {
|
|
68
|
+
if (!options) options = {};
|
|
69
|
+
options.format = 'text';
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
73
|
+
*/
|
|
74
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @private @const {string} The hostname
|
|
78
|
+
*/
|
|
79
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
80
|
+
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @const
|
|
86
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
87
|
+
* !proto.alis.build.RetrieveMyWorkstationRequest,
|
|
88
|
+
* !proto.google.longrunning.Operation>}
|
|
89
|
+
*/
|
|
90
|
+
const methodDescriptor_BuildService_RetrieveMyWorkstation = new grpc.web.MethodDescriptor(
|
|
91
|
+
'/alis.build.BuildService/RetrieveMyWorkstation',
|
|
92
|
+
grpc.web.MethodType.UNARY,
|
|
93
|
+
proto.alis.build.RetrieveMyWorkstationRequest,
|
|
94
|
+
google_longrunning_operations_pb.Operation,
|
|
95
|
+
/**
|
|
96
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationRequest} request
|
|
97
|
+
* @return {!Uint8Array}
|
|
98
|
+
*/
|
|
99
|
+
function(request) {
|
|
100
|
+
return request.serializeBinary();
|
|
101
|
+
},
|
|
102
|
+
google_longrunning_operations_pb.Operation.deserializeBinary
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationRequest} request The
|
|
108
|
+
* request proto
|
|
109
|
+
* @param {?Object<string, string>} metadata User defined
|
|
110
|
+
* call metadata
|
|
111
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.longrunning.Operation)}
|
|
112
|
+
* callback The callback function(error, response)
|
|
113
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.longrunning.Operation>|undefined}
|
|
114
|
+
* The XHR Node Readable Stream
|
|
115
|
+
*/
|
|
116
|
+
proto.alis.build.BuildServiceClient.prototype.retrieveMyWorkstation =
|
|
117
|
+
function(request, metadata, callback) {
|
|
118
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
119
|
+
'/alis.build.BuildService/RetrieveMyWorkstation',
|
|
120
|
+
request,
|
|
121
|
+
metadata || {},
|
|
122
|
+
methodDescriptor_BuildService_RetrieveMyWorkstation,
|
|
123
|
+
callback);
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationRequest} request The
|
|
129
|
+
* request proto
|
|
130
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
131
|
+
* call metadata
|
|
132
|
+
* @return {!Promise<!proto.google.longrunning.Operation>}
|
|
133
|
+
* Promise that resolves to the response
|
|
134
|
+
*/
|
|
135
|
+
proto.alis.build.BuildServicePromiseClient.prototype.retrieveMyWorkstation =
|
|
136
|
+
function(request, metadata) {
|
|
137
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
138
|
+
'/alis.build.BuildService/RetrieveMyWorkstation',
|
|
139
|
+
request,
|
|
140
|
+
metadata || {},
|
|
141
|
+
methodDescriptor_BuildService_RetrieveMyWorkstation);
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @const
|
|
147
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
148
|
+
* !proto.alis.build.GetBuildSpecRequest,
|
|
149
|
+
* !proto.alis.build.BuildSpec>}
|
|
150
|
+
*/
|
|
151
|
+
const methodDescriptor_BuildService_GetBuildSpec = new grpc.web.MethodDescriptor(
|
|
152
|
+
'/alis.build.BuildService/GetBuildSpec',
|
|
153
|
+
grpc.web.MethodType.UNARY,
|
|
154
|
+
proto.alis.build.GetBuildSpecRequest,
|
|
155
|
+
proto.alis.build.BuildSpec,
|
|
156
|
+
/**
|
|
157
|
+
* @param {!proto.alis.build.GetBuildSpecRequest} request
|
|
158
|
+
* @return {!Uint8Array}
|
|
159
|
+
*/
|
|
160
|
+
function(request) {
|
|
161
|
+
return request.serializeBinary();
|
|
162
|
+
},
|
|
163
|
+
proto.alis.build.BuildSpec.deserializeBinary
|
|
164
|
+
);
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @param {!proto.alis.build.GetBuildSpecRequest} request The
|
|
169
|
+
* request proto
|
|
170
|
+
* @param {?Object<string, string>} metadata User defined
|
|
171
|
+
* call metadata
|
|
172
|
+
* @param {function(?grpc.web.RpcError, ?proto.alis.build.BuildSpec)}
|
|
173
|
+
* callback The callback function(error, response)
|
|
174
|
+
* @return {!grpc.web.ClientReadableStream<!proto.alis.build.BuildSpec>|undefined}
|
|
175
|
+
* The XHR Node Readable Stream
|
|
176
|
+
*/
|
|
177
|
+
proto.alis.build.BuildServiceClient.prototype.getBuildSpec =
|
|
178
|
+
function(request, metadata, callback) {
|
|
179
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
180
|
+
'/alis.build.BuildService/GetBuildSpec',
|
|
181
|
+
request,
|
|
182
|
+
metadata || {},
|
|
183
|
+
methodDescriptor_BuildService_GetBuildSpec,
|
|
184
|
+
callback);
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @param {!proto.alis.build.GetBuildSpecRequest} request The
|
|
190
|
+
* request proto
|
|
191
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
192
|
+
* call metadata
|
|
193
|
+
* @return {!Promise<!proto.alis.build.BuildSpec>}
|
|
194
|
+
* Promise that resolves to the response
|
|
195
|
+
*/
|
|
196
|
+
proto.alis.build.BuildServicePromiseClient.prototype.getBuildSpec =
|
|
197
|
+
function(request, metadata) {
|
|
198
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
199
|
+
'/alis.build.BuildService/GetBuildSpec',
|
|
200
|
+
request,
|
|
201
|
+
metadata || {},
|
|
202
|
+
methodDescriptor_BuildService_GetBuildSpec);
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @const
|
|
208
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
209
|
+
* !proto.alis.build.ListBuildSpecsRequest,
|
|
210
|
+
* !proto.alis.build.ListBuildSpecsResponse>}
|
|
211
|
+
*/
|
|
212
|
+
const methodDescriptor_BuildService_ListBuildSpecs = new grpc.web.MethodDescriptor(
|
|
213
|
+
'/alis.build.BuildService/ListBuildSpecs',
|
|
214
|
+
grpc.web.MethodType.UNARY,
|
|
215
|
+
proto.alis.build.ListBuildSpecsRequest,
|
|
216
|
+
proto.alis.build.ListBuildSpecsResponse,
|
|
217
|
+
/**
|
|
218
|
+
* @param {!proto.alis.build.ListBuildSpecsRequest} request
|
|
219
|
+
* @return {!Uint8Array}
|
|
220
|
+
*/
|
|
221
|
+
function(request) {
|
|
222
|
+
return request.serializeBinary();
|
|
223
|
+
},
|
|
224
|
+
proto.alis.build.ListBuildSpecsResponse.deserializeBinary
|
|
225
|
+
);
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @param {!proto.alis.build.ListBuildSpecsRequest} request The
|
|
230
|
+
* request proto
|
|
231
|
+
* @param {?Object<string, string>} metadata User defined
|
|
232
|
+
* call metadata
|
|
233
|
+
* @param {function(?grpc.web.RpcError, ?proto.alis.build.ListBuildSpecsResponse)}
|
|
234
|
+
* callback The callback function(error, response)
|
|
235
|
+
* @return {!grpc.web.ClientReadableStream<!proto.alis.build.ListBuildSpecsResponse>|undefined}
|
|
236
|
+
* The XHR Node Readable Stream
|
|
237
|
+
*/
|
|
238
|
+
proto.alis.build.BuildServiceClient.prototype.listBuildSpecs =
|
|
239
|
+
function(request, metadata, callback) {
|
|
240
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
241
|
+
'/alis.build.BuildService/ListBuildSpecs',
|
|
242
|
+
request,
|
|
243
|
+
metadata || {},
|
|
244
|
+
methodDescriptor_BuildService_ListBuildSpecs,
|
|
245
|
+
callback);
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @param {!proto.alis.build.ListBuildSpecsRequest} request The
|
|
251
|
+
* request proto
|
|
252
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
253
|
+
* call metadata
|
|
254
|
+
* @return {!Promise<!proto.alis.build.ListBuildSpecsResponse>}
|
|
255
|
+
* Promise that resolves to the response
|
|
256
|
+
*/
|
|
257
|
+
proto.alis.build.BuildServicePromiseClient.prototype.listBuildSpecs =
|
|
258
|
+
function(request, metadata) {
|
|
259
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
260
|
+
'/alis.build.BuildService/ListBuildSpecs',
|
|
261
|
+
request,
|
|
262
|
+
metadata || {},
|
|
263
|
+
methodDescriptor_BuildService_ListBuildSpecs);
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
module.exports = proto.alis.build;
|