@kurrent/kurrentdb-client 1.2.0-alpha.0 → 1.2.0

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.
Files changed (136) hide show
  1. package/dist/Client/http.d.ts +7 -1
  2. package/dist/Client/http.js +50 -48
  3. package/dist/Client/http.js.map +1 -1
  4. package/dist/Client/index.d.ts +30 -6
  5. package/dist/Client/index.js +77 -11
  6. package/dist/Client/index.js.map +1 -1
  7. package/dist/Client/parseConnectionString.d.ts +2 -2
  8. package/dist/constants.d.ts +3 -0
  9. package/dist/constants.js +6 -1
  10. package/dist/constants.js.map +1 -1
  11. package/dist/events/binaryEvent.js +2 -2
  12. package/dist/events/binaryEvent.js.map +1 -1
  13. package/dist/events/jsonEvent.js +2 -2
  14. package/dist/events/jsonEvent.js.map +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +4 -2
  17. package/dist/index.js.map +1 -1
  18. package/dist/projections/createProjection.d.ts +10 -1
  19. package/dist/projections/createProjection.js +13 -2
  20. package/dist/projections/createProjection.js.map +1 -1
  21. package/dist/streams/appendToStream/appendRecords.d.ts +3 -0
  22. package/dist/streams/appendToStream/appendRecords.js +132 -0
  23. package/dist/streams/appendToStream/appendRecords.js.map +1 -0
  24. package/dist/streams/appendToStream/batchAppend.js +2 -2
  25. package/dist/streams/appendToStream/batchAppend.js.map +1 -1
  26. package/dist/streams/appendToStream/index.d.ts +9 -1
  27. package/dist/streams/appendToStream/index.js +8 -0
  28. package/dist/streams/appendToStream/index.js.map +1 -1
  29. package/dist/streams/readAll.js +18 -18
  30. package/dist/streams/readAll.js.map +1 -1
  31. package/dist/streams/readStream.js +26 -34
  32. package/dist/streams/readStream.js.map +1 -1
  33. package/dist/types/index.d.ts +88 -2
  34. package/dist/types/index.js.map +1 -1
  35. package/dist/utils/CommandError.d.ts +9 -3
  36. package/dist/utils/CommandError.js +50 -1
  37. package/dist/utils/CommandError.js.map +1 -1
  38. package/dist/utils/convertBridgeError.d.ts +2 -1
  39. package/dist/utils/convertBridgeError.js +14 -24
  40. package/dist/utils/convertBridgeError.js.map +1 -1
  41. package/dist/utils/credentials.d.ts +19 -0
  42. package/dist/utils/credentials.js +31 -0
  43. package/dist/utils/credentials.js.map +1 -0
  44. package/dist/utils/grpcUUID.d.ts +1 -0
  45. package/dist/utils/grpcUUID.js +12 -12
  46. package/dist/utils/grpcUUID.js.map +1 -1
  47. package/generated/kurrentdb/protocols/v1/projectionmanagement_pb.d.ts +3 -0
  48. package/generated/kurrentdb/protocols/v1/projectionmanagement_pb.js +31 -1
  49. package/generated/kurrentdb/protocols/v2/core_pb.d.ts +188 -188
  50. package/generated/kurrentdb/protocols/v2/core_pb.js +1301 -1301
  51. package/generated/kurrentdb/protocols/v2/features/service_grpc_pb.d.ts +43 -43
  52. package/generated/kurrentdb/protocols/v2/features/service_grpc_pb.js +50 -50
  53. package/generated/kurrentdb/protocols/v2/features/service_pb.d.ts +227 -227
  54. package/generated/kurrentdb/protocols/v2/features/service_pb.js +1753 -1753
  55. package/generated/kurrentdb/protocols/v2/streams/errors_pb.d.ts +85 -0
  56. package/generated/kurrentdb/protocols/v2/streams/errors_pb.js +625 -1
  57. package/generated/kurrentdb/protocols/v2/streams/shared_pb.d.ts +218 -218
  58. package/generated/kurrentdb/protocols/v2/streams/shared_pb.js +1561 -1561
  59. package/generated/kurrentdb/protocols/v2/streams/streams_grpc_pb.d.ts +17 -0
  60. package/generated/kurrentdb/protocols/v2/streams/streams_grpc_pb.js +53 -0
  61. package/generated/kurrentdb/protocols/v2/streams/streams_pb.d.ts +134 -0
  62. package/generated/kurrentdb/protocols/v2/streams/streams_pb.js +1041 -1
  63. package/package.json +64 -66
  64. package/dist/schemaRegistry/checkSchemaCompatibility.d.ts +0 -12
  65. package/dist/schemaRegistry/checkSchemaCompatibility.js +0 -60
  66. package/dist/schemaRegistry/checkSchemaCompatibility.js.map +0 -1
  67. package/dist/schemaRegistry/createSchema.d.ts +0 -13
  68. package/dist/schemaRegistry/createSchema.js +0 -36
  69. package/dist/schemaRegistry/createSchema.js.map +0 -1
  70. package/dist/schemaRegistry/deleteSchema.d.ts +0 -11
  71. package/dist/schemaRegistry/deleteSchema.js +0 -23
  72. package/dist/schemaRegistry/deleteSchema.js.map +0 -1
  73. package/dist/schemaRegistry/deleteSchemaVersions.d.ts +0 -13
  74. package/dist/schemaRegistry/deleteSchemaVersions.js +0 -29
  75. package/dist/schemaRegistry/deleteSchemaVersions.js.map +0 -1
  76. package/dist/schemaRegistry/getSchema.d.ts +0 -12
  77. package/dist/schemaRegistry/getSchema.js +0 -28
  78. package/dist/schemaRegistry/getSchema.js.map +0 -1
  79. package/dist/schemaRegistry/getSchemaVersion.d.ts +0 -12
  80. package/dist/schemaRegistry/getSchemaVersion.js +0 -33
  81. package/dist/schemaRegistry/getSchemaVersion.js.map +0 -1
  82. package/dist/schemaRegistry/getSchemaVersionById.d.ts +0 -12
  83. package/dist/schemaRegistry/getSchemaVersionById.js +0 -28
  84. package/dist/schemaRegistry/getSchemaVersionById.js.map +0 -1
  85. package/dist/schemaRegistry/index.d.ts +0 -14
  86. package/dist/schemaRegistry/index.js +0 -35
  87. package/dist/schemaRegistry/index.js.map +0 -1
  88. package/dist/schemaRegistry/listRegisteredSchemas.d.ts +0 -11
  89. package/dist/schemaRegistry/listRegisteredSchemas.js +0 -41
  90. package/dist/schemaRegistry/listRegisteredSchemas.js.map +0 -1
  91. package/dist/schemaRegistry/listSchemaVersions.d.ts +0 -12
  92. package/dist/schemaRegistry/listSchemaVersions.js +0 -28
  93. package/dist/schemaRegistry/listSchemaVersions.js.map +0 -1
  94. package/dist/schemaRegistry/listSchemas.d.ts +0 -11
  95. package/dist/schemaRegistry/listSchemas.js +0 -35
  96. package/dist/schemaRegistry/listSchemas.js.map +0 -1
  97. package/dist/schemaRegistry/lookupSchemaName.d.ts +0 -12
  98. package/dist/schemaRegistry/lookupSchemaName.js +0 -23
  99. package/dist/schemaRegistry/lookupSchemaName.js.map +0 -1
  100. package/dist/schemaRegistry/registerSchemaVersion.d.ts +0 -13
  101. package/dist/schemaRegistry/registerSchemaVersion.js +0 -31
  102. package/dist/schemaRegistry/registerSchemaVersion.js.map +0 -1
  103. package/dist/schemaRegistry/types.d.ts +0 -347
  104. package/dist/schemaRegistry/types.js +0 -3
  105. package/dist/schemaRegistry/types.js.map +0 -1
  106. package/dist/schemaRegistry/updateSchema.d.ts +0 -11
  107. package/dist/schemaRegistry/updateSchema.js +0 -51
  108. package/dist/schemaRegistry/updateSchema.js.map +0 -1
  109. package/dist/schemaRegistry/utils/index.d.ts +0 -1
  110. package/dist/schemaRegistry/utils/index.js +0 -18
  111. package/dist/schemaRegistry/utils/index.js.map +0 -1
  112. package/dist/schemaRegistry/utils/mappers.d.ts +0 -24
  113. package/dist/schemaRegistry/utils/mappers.js +0 -198
  114. package/dist/schemaRegistry/utils/mappers.js.map +0 -1
  115. package/generated/kurrentdb/protocols/v2/registry/errors_grpc_pb.js +0 -1
  116. package/generated/kurrentdb/protocols/v2/registry/errors_pb.d.ts +0 -75
  117. package/generated/kurrentdb/protocols/v2/registry/errors_pb.js +0 -493
  118. package/generated/kurrentdb/protocols/v2/registry/events_grpc_pb.js +0 -1
  119. package/generated/kurrentdb/protocols/v2/registry/events_pb.d.ts +0 -255
  120. package/generated/kurrentdb/protocols/v2/registry/events_pb.js +0 -2057
  121. package/generated/kurrentdb/protocols/v2/registry/groups_grpc_pb.js +0 -1
  122. package/generated/kurrentdb/protocols/v2/registry/groups_pb.d.ts +0 -474
  123. package/generated/kurrentdb/protocols/v2/registry/groups_pb.js +0 -3593
  124. package/generated/kurrentdb/protocols/v2/registry/schemas_grpc_pb.js +0 -1
  125. package/generated/kurrentdb/protocols/v2/registry/schemas_pb.d.ts +0 -825
  126. package/generated/kurrentdb/protocols/v2/registry/schemas_pb.js +0 -6500
  127. package/generated/kurrentdb/protocols/v2/registry/service_grpc_pb.d.ts +0 -350
  128. package/generated/kurrentdb/protocols/v2/registry/service_grpc_pb.js +0 -654
  129. package/generated/kurrentdb/protocols/v2/registry/service_pb.d.ts +0 -10
  130. package/generated/kurrentdb/protocols/v2/registry/service_pb.js +0 -29
  131. package/generated/kurrentdb/protocols/v2/registry/shared_grpc_pb.js +0 -1
  132. package/generated/kurrentdb/protocols/v2/registry/shared_pb.d.ts +0 -26
  133. package/generated/kurrentdb/protocols/v2/registry/shared_pb.js +0 -51
  134. package/generated/kurrentdb/protocols/v2/registry/validation_grpc_pb.js +0 -1
  135. package/generated/kurrentdb/protocols/v2/registry/validation_pb.d.ts +0 -247
  136. package/generated/kurrentdb/protocols/v2/registry/validation_pb.js +0 -1789
@@ -1,188 +1,188 @@
1
- // package: kurrentdb.protocol
2
- // file: kurrentdb/protocols/v2/core.proto
3
-
4
- /* tslint:disable */
5
- /* eslint-disable */
6
-
7
- import * as jspb from "google-protobuf";
8
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
9
- import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
10
- import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
11
- import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
12
-
13
- export class ErrorAnnotations extends jspb.Message {
14
- getCode(): string;
15
- setCode(value: string): ErrorAnnotations;
16
- getSeverity(): ErrorAnnotations.Severity;
17
- setSeverity(value: ErrorAnnotations.Severity): ErrorAnnotations;
18
-
19
- hasMessage(): boolean;
20
- clearMessage(): void;
21
- getMessage(): string | undefined;
22
- setMessage(value: string): ErrorAnnotations;
23
-
24
- serializeBinary(): Uint8Array;
25
- toObject(includeInstance?: boolean): ErrorAnnotations.AsObject;
26
- static toObject(includeInstance: boolean, msg: ErrorAnnotations): ErrorAnnotations.AsObject;
27
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
28
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
29
- static serializeBinaryToWriter(message: ErrorAnnotations, writer: jspb.BinaryWriter): void;
30
- static deserializeBinary(bytes: Uint8Array): ErrorAnnotations;
31
- static deserializeBinaryFromReader(message: ErrorAnnotations, reader: jspb.BinaryReader): ErrorAnnotations;
32
- }
33
-
34
- export namespace ErrorAnnotations {
35
- export type AsObject = {
36
- code: string,
37
- severity: ErrorAnnotations.Severity,
38
- message?: string,
39
- }
40
-
41
- export enum Severity {
42
- RECOVERABLE = 0,
43
- FATAL = 1,
44
- }
45
-
46
- }
47
-
48
- export class DynamicValueList extends jspb.Message {
49
- clearValuesList(): void;
50
- getValuesList(): Array<DynamicValue>;
51
- setValuesList(value: Array<DynamicValue>): DynamicValueList;
52
- addValues(value?: DynamicValue, index?: number): DynamicValue;
53
-
54
- serializeBinary(): Uint8Array;
55
- toObject(includeInstance?: boolean): DynamicValueList.AsObject;
56
- static toObject(includeInstance: boolean, msg: DynamicValueList): DynamicValueList.AsObject;
57
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
58
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
59
- static serializeBinaryToWriter(message: DynamicValueList, writer: jspb.BinaryWriter): void;
60
- static deserializeBinary(bytes: Uint8Array): DynamicValueList;
61
- static deserializeBinaryFromReader(message: DynamicValueList, reader: jspb.BinaryReader): DynamicValueList;
62
- }
63
-
64
- export namespace DynamicValueList {
65
- export type AsObject = {
66
- valuesList: Array<DynamicValue.AsObject>,
67
- }
68
- }
69
-
70
- export class DynamicValueMap extends jspb.Message {
71
-
72
- getValuesMap(): jspb.Map<string, DynamicValue>;
73
- clearValuesMap(): void;
74
-
75
- serializeBinary(): Uint8Array;
76
- toObject(includeInstance?: boolean): DynamicValueMap.AsObject;
77
- static toObject(includeInstance: boolean, msg: DynamicValueMap): DynamicValueMap.AsObject;
78
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
79
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
80
- static serializeBinaryToWriter(message: DynamicValueMap, writer: jspb.BinaryWriter): void;
81
- static deserializeBinary(bytes: Uint8Array): DynamicValueMap;
82
- static deserializeBinaryFromReader(message: DynamicValueMap, reader: jspb.BinaryReader): DynamicValueMap;
83
- }
84
-
85
- export namespace DynamicValueMap {
86
- export type AsObject = {
87
-
88
- valuesMap: Array<[string, DynamicValue.AsObject]>,
89
- }
90
- }
91
-
92
- export class DynamicValue extends jspb.Message {
93
-
94
- hasNullValue(): boolean;
95
- clearNullValue(): void;
96
- getNullValue(): google_protobuf_struct_pb.NullValue;
97
- setNullValue(value: google_protobuf_struct_pb.NullValue): DynamicValue;
98
-
99
- hasInt32Value(): boolean;
100
- clearInt32Value(): void;
101
- getInt32Value(): number;
102
- setInt32Value(value: number): DynamicValue;
103
-
104
- hasInt64Value(): boolean;
105
- clearInt64Value(): void;
106
- getInt64Value(): number;
107
- setInt64Value(value: number): DynamicValue;
108
-
109
- hasBytesValue(): boolean;
110
- clearBytesValue(): void;
111
- getBytesValue(): Uint8Array | string;
112
- getBytesValue_asU8(): Uint8Array;
113
- getBytesValue_asB64(): string;
114
- setBytesValue(value: Uint8Array | string): DynamicValue;
115
-
116
- hasDoubleValue(): boolean;
117
- clearDoubleValue(): void;
118
- getDoubleValue(): number;
119
- setDoubleValue(value: number): DynamicValue;
120
-
121
- hasFloatValue(): boolean;
122
- clearFloatValue(): void;
123
- getFloatValue(): number;
124
- setFloatValue(value: number): DynamicValue;
125
-
126
- hasStringValue(): boolean;
127
- clearStringValue(): void;
128
- getStringValue(): string;
129
- setStringValue(value: string): DynamicValue;
130
-
131
- hasBooleanValue(): boolean;
132
- clearBooleanValue(): void;
133
- getBooleanValue(): boolean;
134
- setBooleanValue(value: boolean): DynamicValue;
135
-
136
- hasTimestampValue(): boolean;
137
- clearTimestampValue(): void;
138
- getTimestampValue(): google_protobuf_timestamp_pb.Timestamp | undefined;
139
- setTimestampValue(value?: google_protobuf_timestamp_pb.Timestamp): DynamicValue;
140
-
141
- hasDurationValue(): boolean;
142
- clearDurationValue(): void;
143
- getDurationValue(): google_protobuf_duration_pb.Duration | undefined;
144
- setDurationValue(value?: google_protobuf_duration_pb.Duration): DynamicValue;
145
-
146
- getKindCase(): DynamicValue.KindCase;
147
-
148
- serializeBinary(): Uint8Array;
149
- toObject(includeInstance?: boolean): DynamicValue.AsObject;
150
- static toObject(includeInstance: boolean, msg: DynamicValue): DynamicValue.AsObject;
151
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
152
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
153
- static serializeBinaryToWriter(message: DynamicValue, writer: jspb.BinaryWriter): void;
154
- static deserializeBinary(bytes: Uint8Array): DynamicValue;
155
- static deserializeBinaryFromReader(message: DynamicValue, reader: jspb.BinaryReader): DynamicValue;
156
- }
157
-
158
- export namespace DynamicValue {
159
- export type AsObject = {
160
- nullValue: google_protobuf_struct_pb.NullValue,
161
- int32Value: number,
162
- int64Value: number,
163
- bytesValue: Uint8Array | string,
164
- doubleValue: number,
165
- floatValue: number,
166
- stringValue: string,
167
- booleanValue: boolean,
168
- timestampValue?: google_protobuf_timestamp_pb.Timestamp.AsObject,
169
- durationValue?: google_protobuf_duration_pb.Duration.AsObject,
170
- }
171
-
172
- export enum KindCase {
173
- KIND_NOT_SET = 0,
174
- NULL_VALUE = 1,
175
- INT32_VALUE = 2,
176
- INT64_VALUE = 3,
177
- BYTES_VALUE = 4,
178
- DOUBLE_VALUE = 5,
179
- FLOAT_VALUE = 6,
180
- STRING_VALUE = 7,
181
- BOOLEAN_VALUE = 8,
182
- TIMESTAMP_VALUE = 9,
183
- DURATION_VALUE = 10,
184
- }
185
-
186
- }
187
-
188
- export const errorInfo: jspb.ExtensionFieldInfo<ErrorAnnotations>;
1
+ // package: kurrentdb.protocol
2
+ // file: kurrentdb/protocols/v2/core.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as jspb from "google-protobuf";
8
+ import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
9
+ import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
10
+ import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
11
+ import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
12
+
13
+ export class ErrorAnnotations extends jspb.Message {
14
+ getCode(): string;
15
+ setCode(value: string): ErrorAnnotations;
16
+ getSeverity(): ErrorAnnotations.Severity;
17
+ setSeverity(value: ErrorAnnotations.Severity): ErrorAnnotations;
18
+
19
+ hasMessage(): boolean;
20
+ clearMessage(): void;
21
+ getMessage(): string | undefined;
22
+ setMessage(value: string): ErrorAnnotations;
23
+
24
+ serializeBinary(): Uint8Array;
25
+ toObject(includeInstance?: boolean): ErrorAnnotations.AsObject;
26
+ static toObject(includeInstance: boolean, msg: ErrorAnnotations): ErrorAnnotations.AsObject;
27
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
28
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
29
+ static serializeBinaryToWriter(message: ErrorAnnotations, writer: jspb.BinaryWriter): void;
30
+ static deserializeBinary(bytes: Uint8Array): ErrorAnnotations;
31
+ static deserializeBinaryFromReader(message: ErrorAnnotations, reader: jspb.BinaryReader): ErrorAnnotations;
32
+ }
33
+
34
+ export namespace ErrorAnnotations {
35
+ export type AsObject = {
36
+ code: string,
37
+ severity: ErrorAnnotations.Severity,
38
+ message?: string,
39
+ }
40
+
41
+ export enum Severity {
42
+ RECOVERABLE = 0,
43
+ FATAL = 1,
44
+ }
45
+
46
+ }
47
+
48
+ export class DynamicValueList extends jspb.Message {
49
+ clearValuesList(): void;
50
+ getValuesList(): Array<DynamicValue>;
51
+ setValuesList(value: Array<DynamicValue>): DynamicValueList;
52
+ addValues(value?: DynamicValue, index?: number): DynamicValue;
53
+
54
+ serializeBinary(): Uint8Array;
55
+ toObject(includeInstance?: boolean): DynamicValueList.AsObject;
56
+ static toObject(includeInstance: boolean, msg: DynamicValueList): DynamicValueList.AsObject;
57
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
58
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
59
+ static serializeBinaryToWriter(message: DynamicValueList, writer: jspb.BinaryWriter): void;
60
+ static deserializeBinary(bytes: Uint8Array): DynamicValueList;
61
+ static deserializeBinaryFromReader(message: DynamicValueList, reader: jspb.BinaryReader): DynamicValueList;
62
+ }
63
+
64
+ export namespace DynamicValueList {
65
+ export type AsObject = {
66
+ valuesList: Array<DynamicValue.AsObject>,
67
+ }
68
+ }
69
+
70
+ export class DynamicValueMap extends jspb.Message {
71
+
72
+ getValuesMap(): jspb.Map<string, DynamicValue>;
73
+ clearValuesMap(): void;
74
+
75
+ serializeBinary(): Uint8Array;
76
+ toObject(includeInstance?: boolean): DynamicValueMap.AsObject;
77
+ static toObject(includeInstance: boolean, msg: DynamicValueMap): DynamicValueMap.AsObject;
78
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
79
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
80
+ static serializeBinaryToWriter(message: DynamicValueMap, writer: jspb.BinaryWriter): void;
81
+ static deserializeBinary(bytes: Uint8Array): DynamicValueMap;
82
+ static deserializeBinaryFromReader(message: DynamicValueMap, reader: jspb.BinaryReader): DynamicValueMap;
83
+ }
84
+
85
+ export namespace DynamicValueMap {
86
+ export type AsObject = {
87
+
88
+ valuesMap: Array<[string, DynamicValue.AsObject]>,
89
+ }
90
+ }
91
+
92
+ export class DynamicValue extends jspb.Message {
93
+
94
+ hasNullValue(): boolean;
95
+ clearNullValue(): void;
96
+ getNullValue(): google_protobuf_struct_pb.NullValue;
97
+ setNullValue(value: google_protobuf_struct_pb.NullValue): DynamicValue;
98
+
99
+ hasInt32Value(): boolean;
100
+ clearInt32Value(): void;
101
+ getInt32Value(): number;
102
+ setInt32Value(value: number): DynamicValue;
103
+
104
+ hasInt64Value(): boolean;
105
+ clearInt64Value(): void;
106
+ getInt64Value(): number;
107
+ setInt64Value(value: number): DynamicValue;
108
+
109
+ hasBytesValue(): boolean;
110
+ clearBytesValue(): void;
111
+ getBytesValue(): Uint8Array | string;
112
+ getBytesValue_asU8(): Uint8Array;
113
+ getBytesValue_asB64(): string;
114
+ setBytesValue(value: Uint8Array | string): DynamicValue;
115
+
116
+ hasDoubleValue(): boolean;
117
+ clearDoubleValue(): void;
118
+ getDoubleValue(): number;
119
+ setDoubleValue(value: number): DynamicValue;
120
+
121
+ hasFloatValue(): boolean;
122
+ clearFloatValue(): void;
123
+ getFloatValue(): number;
124
+ setFloatValue(value: number): DynamicValue;
125
+
126
+ hasStringValue(): boolean;
127
+ clearStringValue(): void;
128
+ getStringValue(): string;
129
+ setStringValue(value: string): DynamicValue;
130
+
131
+ hasBooleanValue(): boolean;
132
+ clearBooleanValue(): void;
133
+ getBooleanValue(): boolean;
134
+ setBooleanValue(value: boolean): DynamicValue;
135
+
136
+ hasTimestampValue(): boolean;
137
+ clearTimestampValue(): void;
138
+ getTimestampValue(): google_protobuf_timestamp_pb.Timestamp | undefined;
139
+ setTimestampValue(value?: google_protobuf_timestamp_pb.Timestamp): DynamicValue;
140
+
141
+ hasDurationValue(): boolean;
142
+ clearDurationValue(): void;
143
+ getDurationValue(): google_protobuf_duration_pb.Duration | undefined;
144
+ setDurationValue(value?: google_protobuf_duration_pb.Duration): DynamicValue;
145
+
146
+ getKindCase(): DynamicValue.KindCase;
147
+
148
+ serializeBinary(): Uint8Array;
149
+ toObject(includeInstance?: boolean): DynamicValue.AsObject;
150
+ static toObject(includeInstance: boolean, msg: DynamicValue): DynamicValue.AsObject;
151
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
152
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
153
+ static serializeBinaryToWriter(message: DynamicValue, writer: jspb.BinaryWriter): void;
154
+ static deserializeBinary(bytes: Uint8Array): DynamicValue;
155
+ static deserializeBinaryFromReader(message: DynamicValue, reader: jspb.BinaryReader): DynamicValue;
156
+ }
157
+
158
+ export namespace DynamicValue {
159
+ export type AsObject = {
160
+ nullValue: google_protobuf_struct_pb.NullValue,
161
+ int32Value: number,
162
+ int64Value: number,
163
+ bytesValue: Uint8Array | string,
164
+ doubleValue: number,
165
+ floatValue: number,
166
+ stringValue: string,
167
+ booleanValue: boolean,
168
+ timestampValue?: google_protobuf_timestamp_pb.Timestamp.AsObject,
169
+ durationValue?: google_protobuf_duration_pb.Duration.AsObject,
170
+ }
171
+
172
+ export enum KindCase {
173
+ KIND_NOT_SET = 0,
174
+ NULL_VALUE = 1,
175
+ INT32_VALUE = 2,
176
+ INT64_VALUE = 3,
177
+ BYTES_VALUE = 4,
178
+ DOUBLE_VALUE = 5,
179
+ FLOAT_VALUE = 6,
180
+ STRING_VALUE = 7,
181
+ BOOLEAN_VALUE = 8,
182
+ TIMESTAMP_VALUE = 9,
183
+ DURATION_VALUE = 10,
184
+ }
185
+
186
+ }
187
+
188
+ export const errorInfo: jspb.ExtensionFieldInfo<ErrorAnnotations>;