@viamrobotics/sdk 0.0.5 → 0.0.6
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/dist/gen/common/v1/common_pb.d.ts +474 -0
- package/dist/gen/common/v1/common_pb_service.d.ts +3 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +302 -0
- package/dist/gen/component/arm/v1/arm_pb_service.d.ts +139 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +221 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +94 -0
- package/dist/gen/component/base/v1/base_pb.d.ts +258 -0
- package/dist/gen/component/base/v1/base_pb_service.d.ts +139 -0
- package/dist/gen/component/board/v1/board_pb.d.ts +456 -0
- package/dist/gen/component/board/v1/board_pb_service.d.ts +215 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +329 -0
- package/dist/gen/component/camera/v1/camera_pb_service.d.ts +121 -0
- package/dist/gen/component/gantry/v1/gantry_pb.d.ts +232 -0
- package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +120 -0
- package/dist/gen/component/generic/v1/generic_pb.d.ts +55 -0
- package/dist/gen/component/generic/v1/generic_pb_service.d.ts +63 -0
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +143 -0
- package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +101 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +294 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +112 -0
- package/dist/gen/component/motor/v1/motor_pb.d.ts +415 -0
- package/dist/gen/component/motor/v1/motor_pb_service.d.ts +196 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +357 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +177 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +59 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +63 -0
- package/dist/gen/component/sensor/v1/sensor_pb.d.ts +52 -0
- package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +63 -0
- package/dist/gen/component/servo/v1/servo_pb.d.ts +165 -0
- package/dist/gen/component/servo/v1/servo_pb_service.d.ts +101 -0
- package/dist/gen/google/api/annotations_pb.d.ts +9 -0
- package/dist/gen/google/api/annotations_pb_service.d.ts +3 -0
- package/dist/gen/google/api/client_pb.d.ts +439 -0
- package/dist/gen/google/api/client_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +454 -0
- package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +145 -0
- package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +58 -0
- package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +497 -0
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +210 -0
- package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +143 -0
- package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +167 -0
- package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +414 -0
- package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +66 -0
- package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +210 -0
- package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +3 -0
- package/dist/gen/google/api/field_behavior_pb.d.ts +21 -0
- package/dist/gen/google/api/field_behavior_pb_service.d.ts +3 -0
- package/dist/gen/google/api/http_pb.d.ts +136 -0
- package/dist/gen/google/api/http_pb_service.d.ts +3 -0
- package/dist/gen/google/api/httpbody_pb.d.ts +38 -0
- package/dist/gen/google/api/httpbody_pb_service.d.ts +3 -0
- package/dist/gen/google/api/launch_stage_pb.d.ts +18 -0
- package/dist/gen/google/api/launch_stage_pb_service.d.ts +3 -0
- package/dist/gen/google/api/resource_pb.d.ts +99 -0
- package/dist/gen/google/api/resource_pb_service.d.ts +3 -0
- package/dist/gen/google/api/visibility_pb.d.ts +64 -0
- package/dist/gen/google/api/visibility_pb_service.d.ts +3 -0
- package/dist/gen/google/bytestream/bytestream_pb.d.ts +155 -0
- package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +85 -0
- package/dist/gen/google/geo/type/viewport_pb.d.ts +34 -0
- package/dist/gen/google/geo/type/viewport_pb_service.d.ts +3 -0
- package/dist/gen/google/longrunning/operations_pb.d.ts +231 -0
- package/dist/gen/google/longrunning/operations_pb_service.d.ts +140 -0
- package/dist/gen/google/rpc/code_pb.d.ts +27 -0
- package/dist/gen/google/rpc/code_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +356 -0
- package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/error_details_pb.d.ts +349 -0
- package/dist/gen/google/rpc/error_details_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/status_pb.d.ts +36 -0
- package/dist/gen/google/rpc/status_pb_service.d.ts +3 -0
- package/dist/gen/google/type/calendar_period_pb.d.ts +18 -0
- package/dist/gen/google/type/calendar_period_pb_service.d.ts +3 -0
- package/dist/gen/google/type/color_pb.d.ts +40 -0
- package/dist/gen/google/type/color_pb_service.d.ts +3 -0
- package/dist/gen/google/type/date_pb.d.ts +33 -0
- package/dist/gen/google/type/date_pb_service.d.ts +3 -0
- package/dist/gen/google/type/datetime_pb.d.ts +93 -0
- package/dist/gen/google/type/datetime_pb_service.d.ts +3 -0
- package/dist/gen/google/type/dayofweek_pb.d.ts +18 -0
- package/dist/gen/google/type/dayofweek_pb_service.d.ts +3 -0
- package/dist/gen/google/type/decimal_pb.d.ts +25 -0
- package/dist/gen/google/type/decimal_pb_service.d.ts +3 -0
- package/dist/gen/google/type/expr_pb.d.ts +37 -0
- package/dist/gen/google/type/expr_pb_service.d.ts +3 -0
- package/dist/gen/google/type/fraction_pb.d.ts +29 -0
- package/dist/gen/google/type/fraction_pb_service.d.ts +3 -0
- package/dist/gen/google/type/interval_pb.d.ts +34 -0
- package/dist/gen/google/type/interval_pb_service.d.ts +3 -0
- package/dist/gen/google/type/latlng_pb.d.ts +29 -0
- package/dist/gen/google/type/latlng_pb_service.d.ts +3 -0
- package/dist/gen/google/type/localized_text_pb.d.ts +29 -0
- package/dist/gen/google/type/localized_text_pb_service.d.ts +3 -0
- package/dist/gen/google/type/money_pb.d.ts +33 -0
- package/dist/gen/google/type/money_pb_service.d.ts +3 -0
- package/dist/gen/google/type/month_pb.d.ts +23 -0
- package/dist/gen/google/type/month_pb_service.d.ts +3 -0
- package/dist/gen/google/type/phone_number_pb.d.ts +68 -0
- package/dist/gen/google/type/phone_number_pb_service.d.ts +3 -0
- package/dist/gen/google/type/postal_address_pb.d.ts +69 -0
- package/dist/gen/google/type/postal_address_pb_service.d.ts +3 -0
- package/dist/gen/google/type/quaternion_pb.d.ts +37 -0
- package/dist/gen/google/type/quaternion_pb_service.d.ts +3 -0
- package/dist/gen/google/type/timeofday_pb.d.ts +37 -0
- package/dist/gen/google/type/timeofday_pb_service.d.ts +3 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +126 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +85 -0
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +66 -0
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +55 -0
- package/dist/gen/proto/rpc/v1/auth_pb.d.ts +116 -0
- package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +92 -0
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +324 -0
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +3 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +578 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +104 -0
- package/dist/gen/proto/stream/v1/stream_pb.d.ts +115 -0
- package/dist/gen/proto/stream/v1/stream_pb_service.d.ts +101 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +672 -0
- package/dist/gen/robot/v1/robot_pb_service.d.ts +245 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +49 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +63 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +200 -0
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +101 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +324 -0
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +158 -0
- package/dist/gen/service/sensors/v1/sensors_pb.d.ts +135 -0
- package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +82 -0
- package/dist/gen/service/shell/v1/shell_pb.d.ts +64 -0
- package/dist/gen/service/shell/v1/shell_pb_service.d.ts +55 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +143 -0
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +82 -0
- package/dist/gen/service/vision/v1/vision_pb.d.ts +906 -0
- package/dist/gen/service/vision/v1/vision_pb_service.d.ts +329 -0
- package/package.json +3 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// package: google.api
|
|
2
|
+
// file: google/api/field_behavior.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
|
|
6
|
+
|
|
7
|
+
export const fieldBehavior: jspb.ExtensionFieldInfo<FieldBehaviorMap>;
|
|
8
|
+
|
|
9
|
+
export interface FieldBehaviorMap {
|
|
10
|
+
FIELD_BEHAVIOR_UNSPECIFIED: 0;
|
|
11
|
+
OPTIONAL: 1;
|
|
12
|
+
REQUIRED: 2;
|
|
13
|
+
OUTPUT_ONLY: 3;
|
|
14
|
+
INPUT_ONLY: 4;
|
|
15
|
+
IMMUTABLE: 5;
|
|
16
|
+
UNORDERED_LIST: 6;
|
|
17
|
+
NON_EMPTY_DEFAULT: 7;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const FieldBehavior: FieldBehaviorMap;
|
|
21
|
+
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// package: google.api
|
|
2
|
+
// file: google/api/http.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
|
|
6
|
+
export class Http extends jspb.Message {
|
|
7
|
+
clearRulesList(): void;
|
|
8
|
+
getRulesList(): Array<HttpRule>;
|
|
9
|
+
setRulesList(value: Array<HttpRule>): void;
|
|
10
|
+
addRules(value?: HttpRule, index?: number): HttpRule;
|
|
11
|
+
|
|
12
|
+
getFullyDecodeReservedExpansion(): boolean;
|
|
13
|
+
setFullyDecodeReservedExpansion(value: boolean): void;
|
|
14
|
+
|
|
15
|
+
serializeBinary(): Uint8Array;
|
|
16
|
+
toObject(includeInstance?: boolean): Http.AsObject;
|
|
17
|
+
static toObject(includeInstance: boolean, msg: Http): Http.AsObject;
|
|
18
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
19
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
20
|
+
static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void;
|
|
21
|
+
static deserializeBinary(bytes: Uint8Array): Http;
|
|
22
|
+
static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export namespace Http {
|
|
26
|
+
export type AsObject = {
|
|
27
|
+
rulesList: Array<HttpRule.AsObject>,
|
|
28
|
+
fullyDecodeReservedExpansion: boolean,
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class HttpRule extends jspb.Message {
|
|
33
|
+
getSelector(): string;
|
|
34
|
+
setSelector(value: string): void;
|
|
35
|
+
|
|
36
|
+
hasGet(): boolean;
|
|
37
|
+
clearGet(): void;
|
|
38
|
+
getGet(): string;
|
|
39
|
+
setGet(value: string): void;
|
|
40
|
+
|
|
41
|
+
hasPut(): boolean;
|
|
42
|
+
clearPut(): void;
|
|
43
|
+
getPut(): string;
|
|
44
|
+
setPut(value: string): void;
|
|
45
|
+
|
|
46
|
+
hasPost(): boolean;
|
|
47
|
+
clearPost(): void;
|
|
48
|
+
getPost(): string;
|
|
49
|
+
setPost(value: string): void;
|
|
50
|
+
|
|
51
|
+
hasDelete(): boolean;
|
|
52
|
+
clearDelete(): void;
|
|
53
|
+
getDelete(): string;
|
|
54
|
+
setDelete(value: string): void;
|
|
55
|
+
|
|
56
|
+
hasPatch(): boolean;
|
|
57
|
+
clearPatch(): void;
|
|
58
|
+
getPatch(): string;
|
|
59
|
+
setPatch(value: string): void;
|
|
60
|
+
|
|
61
|
+
hasCustom(): boolean;
|
|
62
|
+
clearCustom(): void;
|
|
63
|
+
getCustom(): CustomHttpPattern | undefined;
|
|
64
|
+
setCustom(value?: CustomHttpPattern): void;
|
|
65
|
+
|
|
66
|
+
getBody(): string;
|
|
67
|
+
setBody(value: string): void;
|
|
68
|
+
|
|
69
|
+
getResponseBody(): string;
|
|
70
|
+
setResponseBody(value: string): void;
|
|
71
|
+
|
|
72
|
+
clearAdditionalBindingsList(): void;
|
|
73
|
+
getAdditionalBindingsList(): Array<HttpRule>;
|
|
74
|
+
setAdditionalBindingsList(value: Array<HttpRule>): void;
|
|
75
|
+
addAdditionalBindings(value?: HttpRule, index?: number): HttpRule;
|
|
76
|
+
|
|
77
|
+
getPatternCase(): HttpRule.PatternCase;
|
|
78
|
+
serializeBinary(): Uint8Array;
|
|
79
|
+
toObject(includeInstance?: boolean): HttpRule.AsObject;
|
|
80
|
+
static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject;
|
|
81
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
82
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
83
|
+
static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void;
|
|
84
|
+
static deserializeBinary(bytes: Uint8Array): HttpRule;
|
|
85
|
+
static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export namespace HttpRule {
|
|
89
|
+
export type AsObject = {
|
|
90
|
+
selector: string,
|
|
91
|
+
get: string,
|
|
92
|
+
put: string,
|
|
93
|
+
post: string,
|
|
94
|
+
pb_delete: string,
|
|
95
|
+
patch: string,
|
|
96
|
+
custom?: CustomHttpPattern.AsObject,
|
|
97
|
+
body: string,
|
|
98
|
+
responseBody: string,
|
|
99
|
+
additionalBindingsList: Array<HttpRule.AsObject>,
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export enum PatternCase {
|
|
103
|
+
PATTERN_NOT_SET = 0,
|
|
104
|
+
GET = 2,
|
|
105
|
+
PUT = 3,
|
|
106
|
+
POST = 4,
|
|
107
|
+
DELETE = 5,
|
|
108
|
+
PATCH = 6,
|
|
109
|
+
CUSTOM = 8,
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export class CustomHttpPattern extends jspb.Message {
|
|
114
|
+
getKind(): string;
|
|
115
|
+
setKind(value: string): void;
|
|
116
|
+
|
|
117
|
+
getPath(): string;
|
|
118
|
+
setPath(value: string): void;
|
|
119
|
+
|
|
120
|
+
serializeBinary(): Uint8Array;
|
|
121
|
+
toObject(includeInstance?: boolean): CustomHttpPattern.AsObject;
|
|
122
|
+
static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject;
|
|
123
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
124
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
125
|
+
static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void;
|
|
126
|
+
static deserializeBinary(bytes: Uint8Array): CustomHttpPattern;
|
|
127
|
+
static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export namespace CustomHttpPattern {
|
|
131
|
+
export type AsObject = {
|
|
132
|
+
kind: string,
|
|
133
|
+
path: string,
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// package: google.api
|
|
2
|
+
// file: google/api/httpbody.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
|
|
6
|
+
|
|
7
|
+
export class HttpBody extends jspb.Message {
|
|
8
|
+
getContentType(): string;
|
|
9
|
+
setContentType(value: string): void;
|
|
10
|
+
|
|
11
|
+
getData(): Uint8Array | string;
|
|
12
|
+
getData_asU8(): Uint8Array;
|
|
13
|
+
getData_asB64(): string;
|
|
14
|
+
setData(value: Uint8Array | string): void;
|
|
15
|
+
|
|
16
|
+
clearExtensionsList(): void;
|
|
17
|
+
getExtensionsList(): Array<google_protobuf_any_pb.Any>;
|
|
18
|
+
setExtensionsList(value: Array<google_protobuf_any_pb.Any>): void;
|
|
19
|
+
addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any;
|
|
20
|
+
|
|
21
|
+
serializeBinary(): Uint8Array;
|
|
22
|
+
toObject(includeInstance?: boolean): HttpBody.AsObject;
|
|
23
|
+
static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject;
|
|
24
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
25
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
26
|
+
static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void;
|
|
27
|
+
static deserializeBinary(bytes: Uint8Array): HttpBody;
|
|
28
|
+
static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export namespace HttpBody {
|
|
32
|
+
export type AsObject = {
|
|
33
|
+
contentType: string,
|
|
34
|
+
data: Uint8Array | string,
|
|
35
|
+
extensionsList: Array<google_protobuf_any_pb.Any.AsObject>,
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// package: google.api
|
|
2
|
+
// file: google/api/launch_stage.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
|
|
6
|
+
export interface LaunchStageMap {
|
|
7
|
+
LAUNCH_STAGE_UNSPECIFIED: 0;
|
|
8
|
+
UNIMPLEMENTED: 6;
|
|
9
|
+
PRELAUNCH: 7;
|
|
10
|
+
EARLY_ACCESS: 1;
|
|
11
|
+
ALPHA: 2;
|
|
12
|
+
BETA: 3;
|
|
13
|
+
GA: 4;
|
|
14
|
+
DEPRECATED: 5;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const LaunchStage: LaunchStageMap;
|
|
18
|
+
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// package: google.api
|
|
2
|
+
// file: google/api/resource.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
|
|
6
|
+
|
|
7
|
+
export class ResourceDescriptor extends jspb.Message {
|
|
8
|
+
getType(): string;
|
|
9
|
+
setType(value: string): void;
|
|
10
|
+
|
|
11
|
+
clearPatternList(): void;
|
|
12
|
+
getPatternList(): Array<string>;
|
|
13
|
+
setPatternList(value: Array<string>): void;
|
|
14
|
+
addPattern(value: string, index?: number): string;
|
|
15
|
+
|
|
16
|
+
getNameField(): string;
|
|
17
|
+
setNameField(value: string): void;
|
|
18
|
+
|
|
19
|
+
getHistory(): ResourceDescriptor.HistoryMap[keyof ResourceDescriptor.HistoryMap];
|
|
20
|
+
setHistory(value: ResourceDescriptor.HistoryMap[keyof ResourceDescriptor.HistoryMap]): void;
|
|
21
|
+
|
|
22
|
+
getPlural(): string;
|
|
23
|
+
setPlural(value: string): void;
|
|
24
|
+
|
|
25
|
+
getSingular(): string;
|
|
26
|
+
setSingular(value: string): void;
|
|
27
|
+
|
|
28
|
+
clearStyleList(): void;
|
|
29
|
+
getStyleList(): Array<ResourceDescriptor.StyleMap[keyof ResourceDescriptor.StyleMap]>;
|
|
30
|
+
setStyleList(value: Array<ResourceDescriptor.StyleMap[keyof ResourceDescriptor.StyleMap]>): void;
|
|
31
|
+
addStyle(value: ResourceDescriptor.StyleMap[keyof ResourceDescriptor.StyleMap], index?: number): ResourceDescriptor.StyleMap[keyof ResourceDescriptor.StyleMap];
|
|
32
|
+
|
|
33
|
+
serializeBinary(): Uint8Array;
|
|
34
|
+
toObject(includeInstance?: boolean): ResourceDescriptor.AsObject;
|
|
35
|
+
static toObject(includeInstance: boolean, msg: ResourceDescriptor): ResourceDescriptor.AsObject;
|
|
36
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
37
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
38
|
+
static serializeBinaryToWriter(message: ResourceDescriptor, writer: jspb.BinaryWriter): void;
|
|
39
|
+
static deserializeBinary(bytes: Uint8Array): ResourceDescriptor;
|
|
40
|
+
static deserializeBinaryFromReader(message: ResourceDescriptor, reader: jspb.BinaryReader): ResourceDescriptor;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export namespace ResourceDescriptor {
|
|
44
|
+
export type AsObject = {
|
|
45
|
+
type: string,
|
|
46
|
+
patternList: Array<string>,
|
|
47
|
+
nameField: string,
|
|
48
|
+
history: ResourceDescriptor.HistoryMap[keyof ResourceDescriptor.HistoryMap],
|
|
49
|
+
plural: string,
|
|
50
|
+
singular: string,
|
|
51
|
+
styleList: Array<ResourceDescriptor.StyleMap[keyof ResourceDescriptor.StyleMap]>,
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface HistoryMap {
|
|
55
|
+
HISTORY_UNSPECIFIED: 0;
|
|
56
|
+
ORIGINALLY_SINGLE_PATTERN: 1;
|
|
57
|
+
FUTURE_MULTI_PATTERN: 2;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export const History: HistoryMap;
|
|
61
|
+
|
|
62
|
+
export interface StyleMap {
|
|
63
|
+
STYLE_UNSPECIFIED: 0;
|
|
64
|
+
DECLARATIVE_FRIENDLY: 1;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const Style: StyleMap;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export class ResourceReference extends jspb.Message {
|
|
71
|
+
getType(): string;
|
|
72
|
+
setType(value: string): void;
|
|
73
|
+
|
|
74
|
+
getChildType(): string;
|
|
75
|
+
setChildType(value: string): void;
|
|
76
|
+
|
|
77
|
+
serializeBinary(): Uint8Array;
|
|
78
|
+
toObject(includeInstance?: boolean): ResourceReference.AsObject;
|
|
79
|
+
static toObject(includeInstance: boolean, msg: ResourceReference): ResourceReference.AsObject;
|
|
80
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
81
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
82
|
+
static serializeBinaryToWriter(message: ResourceReference, writer: jspb.BinaryWriter): void;
|
|
83
|
+
static deserializeBinary(bytes: Uint8Array): ResourceReference;
|
|
84
|
+
static deserializeBinaryFromReader(message: ResourceReference, reader: jspb.BinaryReader): ResourceReference;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export namespace ResourceReference {
|
|
88
|
+
export type AsObject = {
|
|
89
|
+
type: string,
|
|
90
|
+
childType: string,
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export const resourceReference: jspb.ExtensionFieldInfo<ResourceReference>;
|
|
95
|
+
|
|
96
|
+
export const resourceDefinition: jspb.ExtensionFieldInfo<ResourceDescriptor>;
|
|
97
|
+
|
|
98
|
+
export const resource: jspb.ExtensionFieldInfo<ResourceDescriptor>;
|
|
99
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// package: google.api
|
|
2
|
+
// file: google/api/visibility.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
|
|
6
|
+
|
|
7
|
+
export class Visibility extends jspb.Message {
|
|
8
|
+
clearRulesList(): void;
|
|
9
|
+
getRulesList(): Array<VisibilityRule>;
|
|
10
|
+
setRulesList(value: Array<VisibilityRule>): void;
|
|
11
|
+
addRules(value?: VisibilityRule, index?: number): VisibilityRule;
|
|
12
|
+
|
|
13
|
+
serializeBinary(): Uint8Array;
|
|
14
|
+
toObject(includeInstance?: boolean): Visibility.AsObject;
|
|
15
|
+
static toObject(includeInstance: boolean, msg: Visibility): Visibility.AsObject;
|
|
16
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
17
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
18
|
+
static serializeBinaryToWriter(message: Visibility, writer: jspb.BinaryWriter): void;
|
|
19
|
+
static deserializeBinary(bytes: Uint8Array): Visibility;
|
|
20
|
+
static deserializeBinaryFromReader(message: Visibility, reader: jspb.BinaryReader): Visibility;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export namespace Visibility {
|
|
24
|
+
export type AsObject = {
|
|
25
|
+
rulesList: Array<VisibilityRule.AsObject>,
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export class VisibilityRule extends jspb.Message {
|
|
30
|
+
getSelector(): string;
|
|
31
|
+
setSelector(value: string): void;
|
|
32
|
+
|
|
33
|
+
getRestriction(): string;
|
|
34
|
+
setRestriction(value: string): void;
|
|
35
|
+
|
|
36
|
+
serializeBinary(): Uint8Array;
|
|
37
|
+
toObject(includeInstance?: boolean): VisibilityRule.AsObject;
|
|
38
|
+
static toObject(includeInstance: boolean, msg: VisibilityRule): VisibilityRule.AsObject;
|
|
39
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
40
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
41
|
+
static serializeBinaryToWriter(message: VisibilityRule, writer: jspb.BinaryWriter): void;
|
|
42
|
+
static deserializeBinary(bytes: Uint8Array): VisibilityRule;
|
|
43
|
+
static deserializeBinaryFromReader(message: VisibilityRule, reader: jspb.BinaryReader): VisibilityRule;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export namespace VisibilityRule {
|
|
47
|
+
export type AsObject = {
|
|
48
|
+
selector: string,
|
|
49
|
+
restriction: string,
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export const enumVisibility: jspb.ExtensionFieldInfo<VisibilityRule>;
|
|
54
|
+
|
|
55
|
+
export const valueVisibility: jspb.ExtensionFieldInfo<VisibilityRule>;
|
|
56
|
+
|
|
57
|
+
export const fieldVisibility: jspb.ExtensionFieldInfo<VisibilityRule>;
|
|
58
|
+
|
|
59
|
+
export const messageVisibility: jspb.ExtensionFieldInfo<VisibilityRule>;
|
|
60
|
+
|
|
61
|
+
export const methodVisibility: jspb.ExtensionFieldInfo<VisibilityRule>;
|
|
62
|
+
|
|
63
|
+
export const apiVisibility: jspb.ExtensionFieldInfo<VisibilityRule>;
|
|
64
|
+
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// package: google.bytestream
|
|
2
|
+
// file: google/bytestream/bytestream.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_api_annotations_pb from "../../google/api/annotations_pb";
|
|
6
|
+
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
7
|
+
|
|
8
|
+
export class ReadRequest extends jspb.Message {
|
|
9
|
+
getResourceName(): string;
|
|
10
|
+
setResourceName(value: string): void;
|
|
11
|
+
|
|
12
|
+
getReadOffset(): number;
|
|
13
|
+
setReadOffset(value: number): void;
|
|
14
|
+
|
|
15
|
+
getReadLimit(): number;
|
|
16
|
+
setReadLimit(value: number): void;
|
|
17
|
+
|
|
18
|
+
serializeBinary(): Uint8Array;
|
|
19
|
+
toObject(includeInstance?: boolean): ReadRequest.AsObject;
|
|
20
|
+
static toObject(includeInstance: boolean, msg: ReadRequest): ReadRequest.AsObject;
|
|
21
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
22
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
23
|
+
static serializeBinaryToWriter(message: ReadRequest, writer: jspb.BinaryWriter): void;
|
|
24
|
+
static deserializeBinary(bytes: Uint8Array): ReadRequest;
|
|
25
|
+
static deserializeBinaryFromReader(message: ReadRequest, reader: jspb.BinaryReader): ReadRequest;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export namespace ReadRequest {
|
|
29
|
+
export type AsObject = {
|
|
30
|
+
resourceName: string,
|
|
31
|
+
readOffset: number,
|
|
32
|
+
readLimit: number,
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class ReadResponse extends jspb.Message {
|
|
37
|
+
getData(): Uint8Array | string;
|
|
38
|
+
getData_asU8(): Uint8Array;
|
|
39
|
+
getData_asB64(): string;
|
|
40
|
+
setData(value: Uint8Array | string): void;
|
|
41
|
+
|
|
42
|
+
serializeBinary(): Uint8Array;
|
|
43
|
+
toObject(includeInstance?: boolean): ReadResponse.AsObject;
|
|
44
|
+
static toObject(includeInstance: boolean, msg: ReadResponse): ReadResponse.AsObject;
|
|
45
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
46
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
47
|
+
static serializeBinaryToWriter(message: ReadResponse, writer: jspb.BinaryWriter): void;
|
|
48
|
+
static deserializeBinary(bytes: Uint8Array): ReadResponse;
|
|
49
|
+
static deserializeBinaryFromReader(message: ReadResponse, reader: jspb.BinaryReader): ReadResponse;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export namespace ReadResponse {
|
|
53
|
+
export type AsObject = {
|
|
54
|
+
data: Uint8Array | string,
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class WriteRequest extends jspb.Message {
|
|
59
|
+
getResourceName(): string;
|
|
60
|
+
setResourceName(value: string): void;
|
|
61
|
+
|
|
62
|
+
getWriteOffset(): number;
|
|
63
|
+
setWriteOffset(value: number): void;
|
|
64
|
+
|
|
65
|
+
getFinishWrite(): boolean;
|
|
66
|
+
setFinishWrite(value: boolean): void;
|
|
67
|
+
|
|
68
|
+
getData(): Uint8Array | string;
|
|
69
|
+
getData_asU8(): Uint8Array;
|
|
70
|
+
getData_asB64(): string;
|
|
71
|
+
setData(value: Uint8Array | string): void;
|
|
72
|
+
|
|
73
|
+
serializeBinary(): Uint8Array;
|
|
74
|
+
toObject(includeInstance?: boolean): WriteRequest.AsObject;
|
|
75
|
+
static toObject(includeInstance: boolean, msg: WriteRequest): WriteRequest.AsObject;
|
|
76
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
77
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
78
|
+
static serializeBinaryToWriter(message: WriteRequest, writer: jspb.BinaryWriter): void;
|
|
79
|
+
static deserializeBinary(bytes: Uint8Array): WriteRequest;
|
|
80
|
+
static deserializeBinaryFromReader(message: WriteRequest, reader: jspb.BinaryReader): WriteRequest;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export namespace WriteRequest {
|
|
84
|
+
export type AsObject = {
|
|
85
|
+
resourceName: string,
|
|
86
|
+
writeOffset: number,
|
|
87
|
+
finishWrite: boolean,
|
|
88
|
+
data: Uint8Array | string,
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export class WriteResponse extends jspb.Message {
|
|
93
|
+
getCommittedSize(): number;
|
|
94
|
+
setCommittedSize(value: number): void;
|
|
95
|
+
|
|
96
|
+
serializeBinary(): Uint8Array;
|
|
97
|
+
toObject(includeInstance?: boolean): WriteResponse.AsObject;
|
|
98
|
+
static toObject(includeInstance: boolean, msg: WriteResponse): WriteResponse.AsObject;
|
|
99
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
100
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
101
|
+
static serializeBinaryToWriter(message: WriteResponse, writer: jspb.BinaryWriter): void;
|
|
102
|
+
static deserializeBinary(bytes: Uint8Array): WriteResponse;
|
|
103
|
+
static deserializeBinaryFromReader(message: WriteResponse, reader: jspb.BinaryReader): WriteResponse;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export namespace WriteResponse {
|
|
107
|
+
export type AsObject = {
|
|
108
|
+
committedSize: number,
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export class QueryWriteStatusRequest extends jspb.Message {
|
|
113
|
+
getResourceName(): string;
|
|
114
|
+
setResourceName(value: string): void;
|
|
115
|
+
|
|
116
|
+
serializeBinary(): Uint8Array;
|
|
117
|
+
toObject(includeInstance?: boolean): QueryWriteStatusRequest.AsObject;
|
|
118
|
+
static toObject(includeInstance: boolean, msg: QueryWriteStatusRequest): QueryWriteStatusRequest.AsObject;
|
|
119
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
120
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
121
|
+
static serializeBinaryToWriter(message: QueryWriteStatusRequest, writer: jspb.BinaryWriter): void;
|
|
122
|
+
static deserializeBinary(bytes: Uint8Array): QueryWriteStatusRequest;
|
|
123
|
+
static deserializeBinaryFromReader(message: QueryWriteStatusRequest, reader: jspb.BinaryReader): QueryWriteStatusRequest;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export namespace QueryWriteStatusRequest {
|
|
127
|
+
export type AsObject = {
|
|
128
|
+
resourceName: string,
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export class QueryWriteStatusResponse extends jspb.Message {
|
|
133
|
+
getCommittedSize(): number;
|
|
134
|
+
setCommittedSize(value: number): void;
|
|
135
|
+
|
|
136
|
+
getComplete(): boolean;
|
|
137
|
+
setComplete(value: boolean): void;
|
|
138
|
+
|
|
139
|
+
serializeBinary(): Uint8Array;
|
|
140
|
+
toObject(includeInstance?: boolean): QueryWriteStatusResponse.AsObject;
|
|
141
|
+
static toObject(includeInstance: boolean, msg: QueryWriteStatusResponse): QueryWriteStatusResponse.AsObject;
|
|
142
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
143
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
144
|
+
static serializeBinaryToWriter(message: QueryWriteStatusResponse, writer: jspb.BinaryWriter): void;
|
|
145
|
+
static deserializeBinary(bytes: Uint8Array): QueryWriteStatusResponse;
|
|
146
|
+
static deserializeBinaryFromReader(message: QueryWriteStatusResponse, reader: jspb.BinaryReader): QueryWriteStatusResponse;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export namespace QueryWriteStatusResponse {
|
|
150
|
+
export type AsObject = {
|
|
151
|
+
committedSize: number,
|
|
152
|
+
complete: boolean,
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// package: google.bytestream
|
|
2
|
+
// file: google/bytestream/bytestream.proto
|
|
3
|
+
|
|
4
|
+
import * as google_bytestream_bytestream_pb from "../../google/bytestream/bytestream_pb";
|
|
5
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
6
|
+
|
|
7
|
+
type ByteStreamRead = {
|
|
8
|
+
readonly methodName: string;
|
|
9
|
+
readonly service: typeof ByteStream;
|
|
10
|
+
readonly requestStream: false;
|
|
11
|
+
readonly responseStream: true;
|
|
12
|
+
readonly requestType: typeof google_bytestream_bytestream_pb.ReadRequest;
|
|
13
|
+
readonly responseType: typeof google_bytestream_bytestream_pb.ReadResponse;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
type ByteStreamWrite = {
|
|
17
|
+
readonly methodName: string;
|
|
18
|
+
readonly service: typeof ByteStream;
|
|
19
|
+
readonly requestStream: true;
|
|
20
|
+
readonly responseStream: false;
|
|
21
|
+
readonly requestType: typeof google_bytestream_bytestream_pb.WriteRequest;
|
|
22
|
+
readonly responseType: typeof google_bytestream_bytestream_pb.WriteResponse;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
type ByteStreamQueryWriteStatus = {
|
|
26
|
+
readonly methodName: string;
|
|
27
|
+
readonly service: typeof ByteStream;
|
|
28
|
+
readonly requestStream: false;
|
|
29
|
+
readonly responseStream: false;
|
|
30
|
+
readonly requestType: typeof google_bytestream_bytestream_pb.QueryWriteStatusRequest;
|
|
31
|
+
readonly responseType: typeof google_bytestream_bytestream_pb.QueryWriteStatusResponse;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export class ByteStream {
|
|
35
|
+
static readonly serviceName: string;
|
|
36
|
+
static readonly Read: ByteStreamRead;
|
|
37
|
+
static readonly Write: ByteStreamWrite;
|
|
38
|
+
static readonly QueryWriteStatus: ByteStreamQueryWriteStatus;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
42
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
43
|
+
|
|
44
|
+
interface UnaryResponse {
|
|
45
|
+
cancel(): void;
|
|
46
|
+
}
|
|
47
|
+
interface ResponseStream<T> {
|
|
48
|
+
cancel(): void;
|
|
49
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
50
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
51
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
52
|
+
}
|
|
53
|
+
interface RequestStream<T> {
|
|
54
|
+
write(message: T): RequestStream<T>;
|
|
55
|
+
end(): void;
|
|
56
|
+
cancel(): void;
|
|
57
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
58
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
59
|
+
}
|
|
60
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
61
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
62
|
+
end(): void;
|
|
63
|
+
cancel(): void;
|
|
64
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
65
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
66
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export class ByteStreamClient {
|
|
70
|
+
readonly serviceHost: string;
|
|
71
|
+
|
|
72
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
73
|
+
read(requestMessage: google_bytestream_bytestream_pb.ReadRequest, metadata?: grpc.Metadata): ResponseStream<google_bytestream_bytestream_pb.ReadResponse>;
|
|
74
|
+
write(metadata?: grpc.Metadata): RequestStream<google_bytestream_bytestream_pb.WriteRequest>;
|
|
75
|
+
queryWriteStatus(
|
|
76
|
+
requestMessage: google_bytestream_bytestream_pb.QueryWriteStatusRequest,
|
|
77
|
+
metadata: grpc.Metadata,
|
|
78
|
+
callback: (error: ServiceError|null, responseMessage: google_bytestream_bytestream_pb.QueryWriteStatusResponse|null) => void
|
|
79
|
+
): UnaryResponse;
|
|
80
|
+
queryWriteStatus(
|
|
81
|
+
requestMessage: google_bytestream_bytestream_pb.QueryWriteStatusRequest,
|
|
82
|
+
callback: (error: ServiceError|null, responseMessage: google_bytestream_bytestream_pb.QueryWriteStatusResponse|null) => void
|
|
83
|
+
): UnaryResponse;
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// package: google.geo.type
|
|
2
|
+
// file: google/geo/type/viewport.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_type_latlng_pb from "../../../google/type/latlng_pb";
|
|
6
|
+
|
|
7
|
+
export class Viewport extends jspb.Message {
|
|
8
|
+
hasLow(): boolean;
|
|
9
|
+
clearLow(): void;
|
|
10
|
+
getLow(): google_type_latlng_pb.LatLng | undefined;
|
|
11
|
+
setLow(value?: google_type_latlng_pb.LatLng): void;
|
|
12
|
+
|
|
13
|
+
hasHigh(): boolean;
|
|
14
|
+
clearHigh(): void;
|
|
15
|
+
getHigh(): google_type_latlng_pb.LatLng | undefined;
|
|
16
|
+
setHigh(value?: google_type_latlng_pb.LatLng): void;
|
|
17
|
+
|
|
18
|
+
serializeBinary(): Uint8Array;
|
|
19
|
+
toObject(includeInstance?: boolean): Viewport.AsObject;
|
|
20
|
+
static toObject(includeInstance: boolean, msg: Viewport): Viewport.AsObject;
|
|
21
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
22
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
23
|
+
static serializeBinaryToWriter(message: Viewport, writer: jspb.BinaryWriter): void;
|
|
24
|
+
static deserializeBinary(bytes: Uint8Array): Viewport;
|
|
25
|
+
static deserializeBinaryFromReader(message: Viewport, reader: jspb.BinaryReader): Viewport;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export namespace Viewport {
|
|
29
|
+
export type AsObject = {
|
|
30
|
+
low?: google_type_latlng_pb.LatLng.AsObject,
|
|
31
|
+
high?: google_type_latlng_pb.LatLng.AsObject,
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|