OLD | NEW |
(Empty) | |
| 1 /// |
| 2 // Generated code. Do not modify. |
| 3 /// |
| 4 library apphosting.datastore.v4; |
| 5 |
| 6 import 'package:fixnum/fixnum.dart'; |
| 7 import 'package:protobuf/protobuf.dart'; |
| 8 |
| 9 class PartitionId_Constants extends ProtobufEnum { |
| 10 static const PartitionId_Constants MAX_DIMENSION_TAG = const PartitionId_Const
ants._(100, 'MAX_DIMENSION_TAG'); |
| 11 |
| 12 static const List<PartitionId_Constants> values = const <PartitionId_Constants
> [ |
| 13 MAX_DIMENSION_TAG, |
| 14 ]; |
| 15 |
| 16 static final Map<int, PartitionId_Constants> _byValue = ProtobufEnum.initByVal
ue(values); |
| 17 static PartitionId_Constants valueOf(int value) => _byValue[value]; |
| 18 |
| 19 const PartitionId_Constants._(int v, String n) : super(v, n); |
| 20 } |
| 21 |
| 22 class PartitionId extends GeneratedMessage { |
| 23 static final BuilderInfo _i = new BuilderInfo('PartitionId') |
| 24 ..a(3, 'datasetId', GeneratedMessage.OS) |
| 25 ..a(4, 'namespace', GeneratedMessage.OS) |
| 26 ..hasRequiredFields = false |
| 27 ; |
| 28 |
| 29 PartitionId() : super(); |
| 30 PartitionId.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromBuffer(i, r); |
| 31 PartitionId.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromJson(i, r); |
| 32 PartitionId clone() => new PartitionId()..mergeFromMessage(this); |
| 33 BuilderInfo get info_ => _i; |
| 34 |
| 35 String get datasetId => getField(3); |
| 36 void set datasetId(String v) { setField(3, v); } |
| 37 bool hasDatasetId() => hasField(3); |
| 38 void clearDatasetId() => clearField(3); |
| 39 |
| 40 String get namespace => getField(4); |
| 41 void set namespace(String v) { setField(4, v); } |
| 42 bool hasNamespace() => hasField(4); |
| 43 void clearNamespace() => clearField(4); |
| 44 } |
| 45 |
| 46 class Key_PathElement extends GeneratedMessage { |
| 47 static final BuilderInfo _i = new BuilderInfo('Key_PathElement') |
| 48 ..a(1, 'kind', GeneratedMessage.QS) |
| 49 ..a(2, 'id', GeneratedMessage.O6, () => makeLongInt(0)) |
| 50 ..a(3, 'name', GeneratedMessage.OS) |
| 51 ; |
| 52 |
| 53 Key_PathElement() : super(); |
| 54 Key_PathElement.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromBuffer(i, r); |
| 55 Key_PathElement.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EM
PTY]) : super.fromJson(i, r); |
| 56 Key_PathElement clone() => new Key_PathElement()..mergeFromMessage(this); |
| 57 BuilderInfo get info_ => _i; |
| 58 |
| 59 String get kind => getField(1); |
| 60 void set kind(String v) { setField(1, v); } |
| 61 bool hasKind() => hasField(1); |
| 62 void clearKind() => clearField(1); |
| 63 |
| 64 Int64 get id => getField(2); |
| 65 void set id(Int64 v) { setField(2, v); } |
| 66 bool hasId() => hasField(2); |
| 67 void clearId() => clearField(2); |
| 68 |
| 69 String get name => getField(3); |
| 70 void set name(String v) { setField(3, v); } |
| 71 bool hasName() => hasField(3); |
| 72 void clearName() => clearField(3); |
| 73 } |
| 74 |
| 75 class Key extends GeneratedMessage { |
| 76 static final BuilderInfo _i = new BuilderInfo('Key') |
| 77 ..a(1, 'partitionId', GeneratedMessage.OM, () => new PartitionId(), () => ne
w PartitionId()) |
| 78 ..m(2, 'pathElement', () => new Key_PathElement(), () => new PbList<Key_Path
Element>()) |
| 79 ; |
| 80 |
| 81 Key() : super(); |
| 82 Key.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) :
super.fromBuffer(i, r); |
| 83 Key.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : supe
r.fromJson(i, r); |
| 84 Key clone() => new Key()..mergeFromMessage(this); |
| 85 BuilderInfo get info_ => _i; |
| 86 |
| 87 PartitionId get partitionId => getField(1); |
| 88 void set partitionId(PartitionId v) { setField(1, v); } |
| 89 bool hasPartitionId() => hasField(1); |
| 90 void clearPartitionId() => clearField(1); |
| 91 |
| 92 List<Key_PathElement> get pathElement => getField(2); |
| 93 } |
| 94 |
| 95 class GeoPoint extends GeneratedMessage { |
| 96 static final BuilderInfo _i = new BuilderInfo('GeoPoint') |
| 97 ..a(1, 'latitude', GeneratedMessage.QD) |
| 98 ..a(2, 'longitude', GeneratedMessage.QD) |
| 99 ; |
| 100 |
| 101 GeoPoint() : super(); |
| 102 GeoPoint.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromBuffer(i, r); |
| 103 GeoPoint.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) :
super.fromJson(i, r); |
| 104 GeoPoint clone() => new GeoPoint()..mergeFromMessage(this); |
| 105 BuilderInfo get info_ => _i; |
| 106 |
| 107 double get latitude => getField(1); |
| 108 void set latitude(double v) { setField(1, v); } |
| 109 bool hasLatitude() => hasField(1); |
| 110 void clearLatitude() => clearField(1); |
| 111 |
| 112 double get longitude => getField(2); |
| 113 void set longitude(double v) { setField(2, v); } |
| 114 bool hasLongitude() => hasField(2); |
| 115 void clearLongitude() => clearField(2); |
| 116 } |
| 117 |
| 118 class Value extends GeneratedMessage { |
| 119 static final BuilderInfo _i = new BuilderInfo('Value') |
| 120 ..a(1, 'booleanValue', GeneratedMessage.OB) |
| 121 ..a(2, 'integerValue', GeneratedMessage.O6, () => makeLongInt(0)) |
| 122 ..a(3, 'doubleValue', GeneratedMessage.OD) |
| 123 ..a(4, 'timestampMicrosecondsValue', GeneratedMessage.O6, () => makeLongInt(
0)) |
| 124 ..a(5, 'keyValue', GeneratedMessage.OM, () => new Key(), () => new Key()) |
| 125 ..a(16, 'blobKeyValue', GeneratedMessage.OS) |
| 126 ..a(17, 'stringValue', GeneratedMessage.OS) |
| 127 ..a(18, 'blobValue', GeneratedMessage.OY) |
| 128 ..a(6, 'entityValue', GeneratedMessage.OM, () => new Entity(), () => new Ent
ity()) |
| 129 ..a(8, 'geoPointValue', GeneratedMessage.OM, () => new GeoPoint(), () => new
GeoPoint()) |
| 130 ..m(7, 'listValue', () => new Value(), () => new PbList<Value>()) |
| 131 ..a(14, 'meaning', GeneratedMessage.O3) |
| 132 ..a(15, 'indexed', GeneratedMessage.OB, () => true) |
| 133 ; |
| 134 |
| 135 Value() : super(); |
| 136 Value.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r); |
| 137 Value.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : su
per.fromJson(i, r); |
| 138 Value clone() => new Value()..mergeFromMessage(this); |
| 139 BuilderInfo get info_ => _i; |
| 140 |
| 141 bool get booleanValue => getField(1); |
| 142 void set booleanValue(bool v) { setField(1, v); } |
| 143 bool hasBooleanValue() => hasField(1); |
| 144 void clearBooleanValue() => clearField(1); |
| 145 |
| 146 Int64 get integerValue => getField(2); |
| 147 void set integerValue(Int64 v) { setField(2, v); } |
| 148 bool hasIntegerValue() => hasField(2); |
| 149 void clearIntegerValue() => clearField(2); |
| 150 |
| 151 double get doubleValue => getField(3); |
| 152 void set doubleValue(double v) { setField(3, v); } |
| 153 bool hasDoubleValue() => hasField(3); |
| 154 void clearDoubleValue() => clearField(3); |
| 155 |
| 156 Int64 get timestampMicrosecondsValue => getField(4); |
| 157 void set timestampMicrosecondsValue(Int64 v) { setField(4, v); } |
| 158 bool hasTimestampMicrosecondsValue() => hasField(4); |
| 159 void clearTimestampMicrosecondsValue() => clearField(4); |
| 160 |
| 161 Key get keyValue => getField(5); |
| 162 void set keyValue(Key v) { setField(5, v); } |
| 163 bool hasKeyValue() => hasField(5); |
| 164 void clearKeyValue() => clearField(5); |
| 165 |
| 166 String get blobKeyValue => getField(16); |
| 167 void set blobKeyValue(String v) { setField(16, v); } |
| 168 bool hasBlobKeyValue() => hasField(16); |
| 169 void clearBlobKeyValue() => clearField(16); |
| 170 |
| 171 String get stringValue => getField(17); |
| 172 void set stringValue(String v) { setField(17, v); } |
| 173 bool hasStringValue() => hasField(17); |
| 174 void clearStringValue() => clearField(17); |
| 175 |
| 176 List<int> get blobValue => getField(18); |
| 177 void set blobValue(List<int> v) { setField(18, v); } |
| 178 bool hasBlobValue() => hasField(18); |
| 179 void clearBlobValue() => clearField(18); |
| 180 |
| 181 Entity get entityValue => getField(6); |
| 182 void set entityValue(Entity v) { setField(6, v); } |
| 183 bool hasEntityValue() => hasField(6); |
| 184 void clearEntityValue() => clearField(6); |
| 185 |
| 186 GeoPoint get geoPointValue => getField(8); |
| 187 void set geoPointValue(GeoPoint v) { setField(8, v); } |
| 188 bool hasGeoPointValue() => hasField(8); |
| 189 void clearGeoPointValue() => clearField(8); |
| 190 |
| 191 List<Value> get listValue => getField(7); |
| 192 |
| 193 int get meaning => getField(14); |
| 194 void set meaning(int v) { setField(14, v); } |
| 195 bool hasMeaning() => hasField(14); |
| 196 void clearMeaning() => clearField(14); |
| 197 |
| 198 bool get indexed => getField(15); |
| 199 void set indexed(bool v) { setField(15, v); } |
| 200 bool hasIndexed() => hasField(15); |
| 201 void clearIndexed() => clearField(15); |
| 202 } |
| 203 |
| 204 class Property extends GeneratedMessage { |
| 205 static final BuilderInfo _i = new BuilderInfo('Property') |
| 206 ..a(1, 'name', GeneratedMessage.QS) |
| 207 ..a(2, 'deprecatedMulti', GeneratedMessage.OB) |
| 208 ..m(3, 'deprecatedValue', () => new Value(), () => new PbList<Value>()) |
| 209 ..a(4, 'value', GeneratedMessage.OM, () => new Value(), () => new Value()) |
| 210 ; |
| 211 |
| 212 Property() : super(); |
| 213 Property.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromBuffer(i, r); |
| 214 Property.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) :
super.fromJson(i, r); |
| 215 Property clone() => new Property()..mergeFromMessage(this); |
| 216 BuilderInfo get info_ => _i; |
| 217 |
| 218 String get name => getField(1); |
| 219 void set name(String v) { setField(1, v); } |
| 220 bool hasName() => hasField(1); |
| 221 void clearName() => clearField(1); |
| 222 |
| 223 bool get deprecatedMulti => getField(2); |
| 224 void set deprecatedMulti(bool v) { setField(2, v); } |
| 225 bool hasDeprecatedMulti() => hasField(2); |
| 226 void clearDeprecatedMulti() => clearField(2); |
| 227 |
| 228 List<Value> get deprecatedValue => getField(3); |
| 229 |
| 230 Value get value => getField(4); |
| 231 void set value(Value v) { setField(4, v); } |
| 232 bool hasValue() => hasField(4); |
| 233 void clearValue() => clearField(4); |
| 234 } |
| 235 |
| 236 class Entity extends GeneratedMessage { |
| 237 static final BuilderInfo _i = new BuilderInfo('Entity') |
| 238 ..a(1, 'key', GeneratedMessage.OM, () => new Key(), () => new Key()) |
| 239 ..m(2, 'property', () => new Property(), () => new PbList<Property>()) |
| 240 ; |
| 241 |
| 242 Entity() : super(); |
| 243 Entity.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromBuffer(i, r); |
| 244 Entity.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : s
uper.fromJson(i, r); |
| 245 Entity clone() => new Entity()..mergeFromMessage(this); |
| 246 BuilderInfo get info_ => _i; |
| 247 |
| 248 Key get key => getField(1); |
| 249 void set key(Key v) { setField(1, v); } |
| 250 bool hasKey() => hasField(1); |
| 251 void clearKey() => clearField(1); |
| 252 |
| 253 List<Property> get property => getField(2); |
| 254 } |
| 255 |
| 256 class Error_ErrorCode extends ProtobufEnum { |
| 257 static const Error_ErrorCode BAD_REQUEST = const Error_ErrorCode._(1, 'BAD_REQ
UEST'); |
| 258 static const Error_ErrorCode CONCURRENT_TRANSACTION = const Error_ErrorCode._(
2, 'CONCURRENT_TRANSACTION'); |
| 259 static const Error_ErrorCode INTERNAL_ERROR = const Error_ErrorCode._(3, 'INTE
RNAL_ERROR'); |
| 260 static const Error_ErrorCode NEED_INDEX = const Error_ErrorCode._(4, 'NEED_IND
EX'); |
| 261 static const Error_ErrorCode TIMEOUT = const Error_ErrorCode._(5, 'TIMEOUT'); |
| 262 static const Error_ErrorCode PERMISSION_DENIED = const Error_ErrorCode._(6, 'P
ERMISSION_DENIED'); |
| 263 static const Error_ErrorCode BIGTABLE_ERROR = const Error_ErrorCode._(7, 'BIGT
ABLE_ERROR'); |
| 264 static const Error_ErrorCode COMMITTED_BUT_STILL_APPLYING = const Error_ErrorC
ode._(8, 'COMMITTED_BUT_STILL_APPLYING'); |
| 265 static const Error_ErrorCode CAPABILITY_DISABLED = const Error_ErrorCode._(9,
'CAPABILITY_DISABLED'); |
| 266 static const Error_ErrorCode TRY_ALTERNATE_BACKEND = const Error_ErrorCode._(1
0, 'TRY_ALTERNATE_BACKEND'); |
| 267 static const Error_ErrorCode SAFE_TIME_TOO_OLD = const Error_ErrorCode._(11, '
SAFE_TIME_TOO_OLD'); |
| 268 |
| 269 static const List<Error_ErrorCode> values = const <Error_ErrorCode> [ |
| 270 BAD_REQUEST, |
| 271 CONCURRENT_TRANSACTION, |
| 272 INTERNAL_ERROR, |
| 273 NEED_INDEX, |
| 274 TIMEOUT, |
| 275 PERMISSION_DENIED, |
| 276 BIGTABLE_ERROR, |
| 277 COMMITTED_BUT_STILL_APPLYING, |
| 278 CAPABILITY_DISABLED, |
| 279 TRY_ALTERNATE_BACKEND, |
| 280 SAFE_TIME_TOO_OLD, |
| 281 ]; |
| 282 |
| 283 static final Map<int, Error_ErrorCode> _byValue = ProtobufEnum.initByValue(val
ues); |
| 284 static Error_ErrorCode valueOf(int value) => _byValue[value]; |
| 285 |
| 286 const Error_ErrorCode._(int v, String n) : super(v, n); |
| 287 } |
| 288 |
| 289 class Error extends GeneratedMessage { |
| 290 static final BuilderInfo _i = new BuilderInfo('Error') |
| 291 ..hasRequiredFields = false |
| 292 ; |
| 293 |
| 294 Error() : super(); |
| 295 Error.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r); |
| 296 Error.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : su
per.fromJson(i, r); |
| 297 Error clone() => new Error()..mergeFromMessage(this); |
| 298 BuilderInfo get info_ => _i; |
| 299 } |
| 300 |
| 301 class EntityResult_ResultType extends ProtobufEnum { |
| 302 static const EntityResult_ResultType FULL = const EntityResult_ResultType._(1,
'FULL'); |
| 303 static const EntityResult_ResultType PROJECTION = const EntityResult_ResultTyp
e._(2, 'PROJECTION'); |
| 304 static const EntityResult_ResultType KEY_ONLY = const EntityResult_ResultType.
_(3, 'KEY_ONLY'); |
| 305 |
| 306 static const List<EntityResult_ResultType> values = const <EntityResult_Result
Type> [ |
| 307 FULL, |
| 308 PROJECTION, |
| 309 KEY_ONLY, |
| 310 ]; |
| 311 |
| 312 static final Map<int, EntityResult_ResultType> _byValue = ProtobufEnum.initByV
alue(values); |
| 313 static EntityResult_ResultType valueOf(int value) => _byValue[value]; |
| 314 |
| 315 const EntityResult_ResultType._(int v, String n) : super(v, n); |
| 316 } |
| 317 |
| 318 class EntityResult extends GeneratedMessage { |
| 319 static final BuilderInfo _i = new BuilderInfo('EntityResult') |
| 320 ..a(1, 'entity', GeneratedMessage.QM, () => new Entity(), () => new Entity()
) |
| 321 ..a(2, 'version', GeneratedMessage.O6, () => makeLongInt(0)) |
| 322 ; |
| 323 |
| 324 EntityResult() : super(); |
| 325 EntityResult.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.
EMPTY]) : super.fromBuffer(i, r); |
| 326 EntityResult.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY
]) : super.fromJson(i, r); |
| 327 EntityResult clone() => new EntityResult()..mergeFromMessage(this); |
| 328 BuilderInfo get info_ => _i; |
| 329 |
| 330 Entity get entity => getField(1); |
| 331 void set entity(Entity v) { setField(1, v); } |
| 332 bool hasEntity() => hasField(1); |
| 333 void clearEntity() => clearField(1); |
| 334 |
| 335 Int64 get version => getField(2); |
| 336 void set version(Int64 v) { setField(2, v); } |
| 337 bool hasVersion() => hasField(2); |
| 338 void clearVersion() => clearField(2); |
| 339 } |
| 340 |
| 341 class Query extends GeneratedMessage { |
| 342 static final BuilderInfo _i = new BuilderInfo('Query') |
| 343 ..m(2, 'projection', () => new PropertyExpression(), () => new PbList<Proper
tyExpression>()) |
| 344 ..m(3, 'kind', () => new KindExpression(), () => new PbList<KindExpression>(
)) |
| 345 ..a(4, 'filter', GeneratedMessage.OM, () => new Filter(), () => new Filter()
) |
| 346 ..m(5, 'order', () => new PropertyOrder(), () => new PbList<PropertyOrder>()
) |
| 347 ..m(6, 'groupBy', () => new PropertyReference(), () => new PbList<PropertyRe
ference>()) |
| 348 ..a(7, 'startCursor', GeneratedMessage.OY) |
| 349 ..a(8, 'endCursor', GeneratedMessage.OY) |
| 350 ..a(10, 'offset', GeneratedMessage.O3) |
| 351 ..a(11, 'limit', GeneratedMessage.O3) |
| 352 ; |
| 353 |
| 354 Query() : super(); |
| 355 Query.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY])
: super.fromBuffer(i, r); |
| 356 Query.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : su
per.fromJson(i, r); |
| 357 Query clone() => new Query()..mergeFromMessage(this); |
| 358 BuilderInfo get info_ => _i; |
| 359 |
| 360 List<PropertyExpression> get projection => getField(2); |
| 361 |
| 362 List<KindExpression> get kind => getField(3); |
| 363 |
| 364 Filter get filter => getField(4); |
| 365 void set filter(Filter v) { setField(4, v); } |
| 366 bool hasFilter() => hasField(4); |
| 367 void clearFilter() => clearField(4); |
| 368 |
| 369 List<PropertyOrder> get order => getField(5); |
| 370 |
| 371 List<PropertyReference> get groupBy => getField(6); |
| 372 |
| 373 List<int> get startCursor => getField(7); |
| 374 void set startCursor(List<int> v) { setField(7, v); } |
| 375 bool hasStartCursor() => hasField(7); |
| 376 void clearStartCursor() => clearField(7); |
| 377 |
| 378 List<int> get endCursor => getField(8); |
| 379 void set endCursor(List<int> v) { setField(8, v); } |
| 380 bool hasEndCursor() => hasField(8); |
| 381 void clearEndCursor() => clearField(8); |
| 382 |
| 383 int get offset => getField(10); |
| 384 void set offset(int v) { setField(10, v); } |
| 385 bool hasOffset() => hasField(10); |
| 386 void clearOffset() => clearField(10); |
| 387 |
| 388 int get limit => getField(11); |
| 389 void set limit(int v) { setField(11, v); } |
| 390 bool hasLimit() => hasField(11); |
| 391 void clearLimit() => clearField(11); |
| 392 } |
| 393 |
| 394 class KindExpression extends GeneratedMessage { |
| 395 static final BuilderInfo _i = new BuilderInfo('KindExpression') |
| 396 ..a(1, 'name', GeneratedMessage.QS) |
| 397 ; |
| 398 |
| 399 KindExpression() : super(); |
| 400 KindExpression.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); |
| 401 KindExpression.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); |
| 402 KindExpression clone() => new KindExpression()..mergeFromMessage(this); |
| 403 BuilderInfo get info_ => _i; |
| 404 |
| 405 String get name => getField(1); |
| 406 void set name(String v) { setField(1, v); } |
| 407 bool hasName() => hasField(1); |
| 408 void clearName() => clearField(1); |
| 409 } |
| 410 |
| 411 class PropertyReference extends GeneratedMessage { |
| 412 static final BuilderInfo _i = new BuilderInfo('PropertyReference') |
| 413 ..a(2, 'name', GeneratedMessage.QS) |
| 414 ; |
| 415 |
| 416 PropertyReference() : super(); |
| 417 PropertyReference.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegi
stry.EMPTY]) : super.fromBuffer(i, r); |
| 418 PropertyReference.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.
EMPTY]) : super.fromJson(i, r); |
| 419 PropertyReference clone() => new PropertyReference()..mergeFromMessage(this); |
| 420 BuilderInfo get info_ => _i; |
| 421 |
| 422 String get name => getField(2); |
| 423 void set name(String v) { setField(2, v); } |
| 424 bool hasName() => hasField(2); |
| 425 void clearName() => clearField(2); |
| 426 } |
| 427 |
| 428 class PropertyExpression_AggregationFunction extends ProtobufEnum { |
| 429 static const PropertyExpression_AggregationFunction FIRST = const PropertyExpr
ession_AggregationFunction._(1, 'FIRST'); |
| 430 |
| 431 static const List<PropertyExpression_AggregationFunction> values = const <Prop
ertyExpression_AggregationFunction> [ |
| 432 FIRST, |
| 433 ]; |
| 434 |
| 435 static final Map<int, PropertyExpression_AggregationFunction> _byValue = Proto
bufEnum.initByValue(values); |
| 436 static PropertyExpression_AggregationFunction valueOf(int value) => _byValue[v
alue]; |
| 437 |
| 438 const PropertyExpression_AggregationFunction._(int v, String n) : super(v, n); |
| 439 } |
| 440 |
| 441 class PropertyExpression extends GeneratedMessage { |
| 442 static final BuilderInfo _i = new BuilderInfo('PropertyExpression') |
| 443 ..a(1, 'property', GeneratedMessage.QM, () => new PropertyReference(), () =>
new PropertyReference()) |
| 444 ..e(2, 'aggregationFunction', GeneratedMessage.OE, () => PropertyExpression_
AggregationFunction.FIRST, (var v) => PropertyExpression_AggregationFunction.val
ueOf(v)) |
| 445 ; |
| 446 |
| 447 PropertyExpression() : super(); |
| 448 PropertyExpression.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionReg
istry.EMPTY]) : super.fromBuffer(i, r); |
| 449 PropertyExpression.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromJson(i, r); |
| 450 PropertyExpression clone() => new PropertyExpression()..mergeFromMessage(this)
; |
| 451 BuilderInfo get info_ => _i; |
| 452 |
| 453 PropertyReference get property => getField(1); |
| 454 void set property(PropertyReference v) { setField(1, v); } |
| 455 bool hasProperty() => hasField(1); |
| 456 void clearProperty() => clearField(1); |
| 457 |
| 458 PropertyExpression_AggregationFunction get aggregationFunction => getField(2); |
| 459 void set aggregationFunction(PropertyExpression_AggregationFunction v) { setFi
eld(2, v); } |
| 460 bool hasAggregationFunction() => hasField(2); |
| 461 void clearAggregationFunction() => clearField(2); |
| 462 } |
| 463 |
| 464 class PropertyOrder_Direction extends ProtobufEnum { |
| 465 static const PropertyOrder_Direction ASCENDING = const PropertyOrder_Direction
._(1, 'ASCENDING'); |
| 466 static const PropertyOrder_Direction DESCENDING = const PropertyOrder_Directio
n._(2, 'DESCENDING'); |
| 467 |
| 468 static const List<PropertyOrder_Direction> values = const <PropertyOrder_Direc
tion> [ |
| 469 ASCENDING, |
| 470 DESCENDING, |
| 471 ]; |
| 472 |
| 473 static final Map<int, PropertyOrder_Direction> _byValue = ProtobufEnum.initByV
alue(values); |
| 474 static PropertyOrder_Direction valueOf(int value) => _byValue[value]; |
| 475 |
| 476 const PropertyOrder_Direction._(int v, String n) : super(v, n); |
| 477 } |
| 478 |
| 479 class PropertyOrder extends GeneratedMessage { |
| 480 static final BuilderInfo _i = new BuilderInfo('PropertyOrder') |
| 481 ..a(1, 'property', GeneratedMessage.QM, () => new PropertyReference(), () =>
new PropertyReference()) |
| 482 ..e(2, 'direction', GeneratedMessage.OE, () => PropertyOrder_Direction.ASCEN
DING, (var v) => PropertyOrder_Direction.valueOf(v)) |
| 483 ; |
| 484 |
| 485 PropertyOrder() : super(); |
| 486 PropertyOrder.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromBuffer(i, r); |
| 487 PropertyOrder.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromJson(i, r); |
| 488 PropertyOrder clone() => new PropertyOrder()..mergeFromMessage(this); |
| 489 BuilderInfo get info_ => _i; |
| 490 |
| 491 PropertyReference get property => getField(1); |
| 492 void set property(PropertyReference v) { setField(1, v); } |
| 493 bool hasProperty() => hasField(1); |
| 494 void clearProperty() => clearField(1); |
| 495 |
| 496 PropertyOrder_Direction get direction => getField(2); |
| 497 void set direction(PropertyOrder_Direction v) { setField(2, v); } |
| 498 bool hasDirection() => hasField(2); |
| 499 void clearDirection() => clearField(2); |
| 500 } |
| 501 |
| 502 class Filter extends GeneratedMessage { |
| 503 static final BuilderInfo _i = new BuilderInfo('Filter') |
| 504 ..a(1, 'compositeFilter', GeneratedMessage.OM, () => new CompositeFilter(),
() => new CompositeFilter()) |
| 505 ..a(2, 'propertyFilter', GeneratedMessage.OM, () => new PropertyFilter(), ()
=> new PropertyFilter()) |
| 506 ; |
| 507 |
| 508 Filter() : super(); |
| 509 Filter.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromBuffer(i, r); |
| 510 Filter.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : s
uper.fromJson(i, r); |
| 511 Filter clone() => new Filter()..mergeFromMessage(this); |
| 512 BuilderInfo get info_ => _i; |
| 513 |
| 514 CompositeFilter get compositeFilter => getField(1); |
| 515 void set compositeFilter(CompositeFilter v) { setField(1, v); } |
| 516 bool hasCompositeFilter() => hasField(1); |
| 517 void clearCompositeFilter() => clearField(1); |
| 518 |
| 519 PropertyFilter get propertyFilter => getField(2); |
| 520 void set propertyFilter(PropertyFilter v) { setField(2, v); } |
| 521 bool hasPropertyFilter() => hasField(2); |
| 522 void clearPropertyFilter() => clearField(2); |
| 523 } |
| 524 |
| 525 class CompositeFilter_Operator extends ProtobufEnum { |
| 526 static const CompositeFilter_Operator AND = const CompositeFilter_Operator._(1
, 'AND'); |
| 527 |
| 528 static const List<CompositeFilter_Operator> values = const <CompositeFilter_Op
erator> [ |
| 529 AND, |
| 530 ]; |
| 531 |
| 532 static final Map<int, CompositeFilter_Operator> _byValue = ProtobufEnum.initBy
Value(values); |
| 533 static CompositeFilter_Operator valueOf(int value) => _byValue[value]; |
| 534 |
| 535 const CompositeFilter_Operator._(int v, String n) : super(v, n); |
| 536 } |
| 537 |
| 538 class CompositeFilter extends GeneratedMessage { |
| 539 static final BuilderInfo _i = new BuilderInfo('CompositeFilter') |
| 540 ..e(1, 'operator', GeneratedMessage.QE, () => CompositeFilter_Operator.AND,
(var v) => CompositeFilter_Operator.valueOf(v)) |
| 541 ..m(2, 'filter', () => new Filter(), () => new PbList<Filter>()) |
| 542 ; |
| 543 |
| 544 CompositeFilter() : super(); |
| 545 CompositeFilter.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromBuffer(i, r); |
| 546 CompositeFilter.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EM
PTY]) : super.fromJson(i, r); |
| 547 CompositeFilter clone() => new CompositeFilter()..mergeFromMessage(this); |
| 548 BuilderInfo get info_ => _i; |
| 549 |
| 550 CompositeFilter_Operator get operator => getField(1); |
| 551 void set operator(CompositeFilter_Operator v) { setField(1, v); } |
| 552 bool hasOperator() => hasField(1); |
| 553 void clearOperator() => clearField(1); |
| 554 |
| 555 List<Filter> get filter => getField(2); |
| 556 } |
| 557 |
| 558 class PropertyFilter_Operator extends ProtobufEnum { |
| 559 static const PropertyFilter_Operator LESS_THAN = const PropertyFilter_Operator
._(1, 'LESS_THAN'); |
| 560 static const PropertyFilter_Operator LESS_THAN_OR_EQUAL = const PropertyFilter
_Operator._(2, 'LESS_THAN_OR_EQUAL'); |
| 561 static const PropertyFilter_Operator GREATER_THAN = const PropertyFilter_Opera
tor._(3, 'GREATER_THAN'); |
| 562 static const PropertyFilter_Operator GREATER_THAN_OR_EQUAL = const PropertyFil
ter_Operator._(4, 'GREATER_THAN_OR_EQUAL'); |
| 563 static const PropertyFilter_Operator EQUAL = const PropertyFilter_Operator._(5
, 'EQUAL'); |
| 564 static const PropertyFilter_Operator HAS_ANCESTOR = const PropertyFilter_Opera
tor._(11, 'HAS_ANCESTOR'); |
| 565 |
| 566 static const List<PropertyFilter_Operator> values = const <PropertyFilter_Oper
ator> [ |
| 567 LESS_THAN, |
| 568 LESS_THAN_OR_EQUAL, |
| 569 GREATER_THAN, |
| 570 GREATER_THAN_OR_EQUAL, |
| 571 EQUAL, |
| 572 HAS_ANCESTOR, |
| 573 ]; |
| 574 |
| 575 static final Map<int, PropertyFilter_Operator> _byValue = ProtobufEnum.initByV
alue(values); |
| 576 static PropertyFilter_Operator valueOf(int value) => _byValue[value]; |
| 577 |
| 578 const PropertyFilter_Operator._(int v, String n) : super(v, n); |
| 579 } |
| 580 |
| 581 class PropertyFilter extends GeneratedMessage { |
| 582 static final BuilderInfo _i = new BuilderInfo('PropertyFilter') |
| 583 ..a(1, 'property', GeneratedMessage.QM, () => new PropertyReference(), () =>
new PropertyReference()) |
| 584 ..e(2, 'operator', GeneratedMessage.QE, () => PropertyFilter_Operator.LESS_T
HAN, (var v) => PropertyFilter_Operator.valueOf(v)) |
| 585 ..a(3, 'value', GeneratedMessage.QM, () => new Value(), () => new Value()) |
| 586 ; |
| 587 |
| 588 PropertyFilter() : super(); |
| 589 PropertyFilter.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); |
| 590 PropertyFilter.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); |
| 591 PropertyFilter clone() => new PropertyFilter()..mergeFromMessage(this); |
| 592 BuilderInfo get info_ => _i; |
| 593 |
| 594 PropertyReference get property => getField(1); |
| 595 void set property(PropertyReference v) { setField(1, v); } |
| 596 bool hasProperty() => hasField(1); |
| 597 void clearProperty() => clearField(1); |
| 598 |
| 599 PropertyFilter_Operator get operator => getField(2); |
| 600 void set operator(PropertyFilter_Operator v) { setField(2, v); } |
| 601 bool hasOperator() => hasField(2); |
| 602 void clearOperator() => clearField(2); |
| 603 |
| 604 Value get value => getField(3); |
| 605 void set value(Value v) { setField(3, v); } |
| 606 bool hasValue() => hasField(3); |
| 607 void clearValue() => clearField(3); |
| 608 } |
| 609 |
| 610 class GqlQuery extends GeneratedMessage { |
| 611 static final BuilderInfo _i = new BuilderInfo('GqlQuery') |
| 612 ..a(1, 'queryString', GeneratedMessage.QS) |
| 613 ..a(2, 'allowLiteral', GeneratedMessage.OB) |
| 614 ..m(3, 'nameArg', () => new GqlQueryArg(), () => new PbList<GqlQueryArg>()) |
| 615 ..m(4, 'numberArg', () => new GqlQueryArg(), () => new PbList<GqlQueryArg>()
) |
| 616 ; |
| 617 |
| 618 GqlQuery() : super(); |
| 619 GqlQuery.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromBuffer(i, r); |
| 620 GqlQuery.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) :
super.fromJson(i, r); |
| 621 GqlQuery clone() => new GqlQuery()..mergeFromMessage(this); |
| 622 BuilderInfo get info_ => _i; |
| 623 |
| 624 String get queryString => getField(1); |
| 625 void set queryString(String v) { setField(1, v); } |
| 626 bool hasQueryString() => hasField(1); |
| 627 void clearQueryString() => clearField(1); |
| 628 |
| 629 bool get allowLiteral => getField(2); |
| 630 void set allowLiteral(bool v) { setField(2, v); } |
| 631 bool hasAllowLiteral() => hasField(2); |
| 632 void clearAllowLiteral() => clearField(2); |
| 633 |
| 634 List<GqlQueryArg> get nameArg => getField(3); |
| 635 |
| 636 List<GqlQueryArg> get numberArg => getField(4); |
| 637 } |
| 638 |
| 639 class GqlQueryArg extends GeneratedMessage { |
| 640 static final BuilderInfo _i = new BuilderInfo('GqlQueryArg') |
| 641 ..a(1, 'name', GeneratedMessage.OS) |
| 642 ..a(2, 'value', GeneratedMessage.OM, () => new Value(), () => new Value()) |
| 643 ..a(3, 'cursor', GeneratedMessage.OY) |
| 644 ; |
| 645 |
| 646 GqlQueryArg() : super(); |
| 647 GqlQueryArg.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromBuffer(i, r); |
| 648 GqlQueryArg.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromJson(i, r); |
| 649 GqlQueryArg clone() => new GqlQueryArg()..mergeFromMessage(this); |
| 650 BuilderInfo get info_ => _i; |
| 651 |
| 652 String get name => getField(1); |
| 653 void set name(String v) { setField(1, v); } |
| 654 bool hasName() => hasField(1); |
| 655 void clearName() => clearField(1); |
| 656 |
| 657 Value get value => getField(2); |
| 658 void set value(Value v) { setField(2, v); } |
| 659 bool hasValue() => hasField(2); |
| 660 void clearValue() => clearField(2); |
| 661 |
| 662 List<int> get cursor => getField(3); |
| 663 void set cursor(List<int> v) { setField(3, v); } |
| 664 bool hasCursor() => hasField(3); |
| 665 void clearCursor() => clearField(3); |
| 666 } |
| 667 |
| 668 class QueryResultBatch_MoreResultsType extends ProtobufEnum { |
| 669 static const QueryResultBatch_MoreResultsType NOT_FINISHED = const QueryResult
Batch_MoreResultsType._(1, 'NOT_FINISHED'); |
| 670 static const QueryResultBatch_MoreResultsType MORE_RESULTS_AFTER_LIMIT = const
QueryResultBatch_MoreResultsType._(2, 'MORE_RESULTS_AFTER_LIMIT'); |
| 671 static const QueryResultBatch_MoreResultsType NO_MORE_RESULTS = const QueryRes
ultBatch_MoreResultsType._(3, 'NO_MORE_RESULTS'); |
| 672 |
| 673 static const List<QueryResultBatch_MoreResultsType> values = const <QueryResul
tBatch_MoreResultsType> [ |
| 674 NOT_FINISHED, |
| 675 MORE_RESULTS_AFTER_LIMIT, |
| 676 NO_MORE_RESULTS, |
| 677 ]; |
| 678 |
| 679 static final Map<int, QueryResultBatch_MoreResultsType> _byValue = ProtobufEnu
m.initByValue(values); |
| 680 static QueryResultBatch_MoreResultsType valueOf(int value) => _byValue[value]; |
| 681 |
| 682 const QueryResultBatch_MoreResultsType._(int v, String n) : super(v, n); |
| 683 } |
| 684 |
| 685 class QueryResultBatch extends GeneratedMessage { |
| 686 static final BuilderInfo _i = new BuilderInfo('QueryResultBatch') |
| 687 ..e(1, 'entityResultType', GeneratedMessage.QE, () => EntityResult_ResultTyp
e.FULL, (var v) => EntityResult_ResultType.valueOf(v)) |
| 688 ..m(2, 'entityResult', () => new EntityResult(), () => new PbList<EntityResu
lt>()) |
| 689 ..a(4, 'endCursor', GeneratedMessage.OY) |
| 690 ..e(5, 'moreResults', GeneratedMessage.QE, () => QueryResultBatch_MoreResult
sType.NOT_FINISHED, (var v) => QueryResultBatch_MoreResultsType.valueOf(v)) |
| 691 ..a(6, 'skippedResults', GeneratedMessage.O3) |
| 692 ; |
| 693 |
| 694 QueryResultBatch() : super(); |
| 695 QueryResultBatch.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromBuffer(i, r); |
| 696 QueryResultBatch.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromJson(i, r); |
| 697 QueryResultBatch clone() => new QueryResultBatch()..mergeFromMessage(this); |
| 698 BuilderInfo get info_ => _i; |
| 699 |
| 700 EntityResult_ResultType get entityResultType => getField(1); |
| 701 void set entityResultType(EntityResult_ResultType v) { setField(1, v); } |
| 702 bool hasEntityResultType() => hasField(1); |
| 703 void clearEntityResultType() => clearField(1); |
| 704 |
| 705 List<EntityResult> get entityResult => getField(2); |
| 706 |
| 707 List<int> get endCursor => getField(4); |
| 708 void set endCursor(List<int> v) { setField(4, v); } |
| 709 bool hasEndCursor() => hasField(4); |
| 710 void clearEndCursor() => clearField(4); |
| 711 |
| 712 QueryResultBatch_MoreResultsType get moreResults => getField(5); |
| 713 void set moreResults(QueryResultBatch_MoreResultsType v) { setField(5, v); } |
| 714 bool hasMoreResults() => hasField(5); |
| 715 void clearMoreResults() => clearField(5); |
| 716 |
| 717 int get skippedResults => getField(6); |
| 718 void set skippedResults(int v) { setField(6, v); } |
| 719 bool hasSkippedResults() => hasField(6); |
| 720 void clearSkippedResults() => clearField(6); |
| 721 } |
| 722 |
| 723 class Mutation_Operation extends ProtobufEnum { |
| 724 static const Mutation_Operation INSERT = const Mutation_Operation._(1, 'INSERT
'); |
| 725 static const Mutation_Operation UPDATE = const Mutation_Operation._(2, 'UPDATE
'); |
| 726 static const Mutation_Operation UPSERT = const Mutation_Operation._(3, 'UPSERT
'); |
| 727 static const Mutation_Operation DELETE = const Mutation_Operation._(4, 'DELETE
'); |
| 728 |
| 729 static const List<Mutation_Operation> values = const <Mutation_Operation> [ |
| 730 INSERT, |
| 731 UPDATE, |
| 732 UPSERT, |
| 733 DELETE, |
| 734 ]; |
| 735 |
| 736 static final Map<int, Mutation_Operation> _byValue = ProtobufEnum.initByValue(
values); |
| 737 static Mutation_Operation valueOf(int value) => _byValue[value]; |
| 738 |
| 739 const Mutation_Operation._(int v, String n) : super(v, n); |
| 740 } |
| 741 |
| 742 class Mutation extends GeneratedMessage { |
| 743 static final BuilderInfo _i = new BuilderInfo('Mutation') |
| 744 ..e(1, 'op', GeneratedMessage.OE, () => Mutation_Operation.UPSERT, (var v) =
> Mutation_Operation.valueOf(v)) |
| 745 ..a(2, 'key', GeneratedMessage.OM, () => new Key(), () => new Key()) |
| 746 ..a(3, 'entity', GeneratedMessage.OM, () => new Entity(), () => new Entity()
) |
| 747 ; |
| 748 |
| 749 Mutation() : super(); |
| 750 Mutation.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromBuffer(i, r); |
| 751 Mutation.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) :
super.fromJson(i, r); |
| 752 Mutation clone() => new Mutation()..mergeFromMessage(this); |
| 753 BuilderInfo get info_ => _i; |
| 754 |
| 755 Mutation_Operation get op => getField(1); |
| 756 void set op(Mutation_Operation v) { setField(1, v); } |
| 757 bool hasOp() => hasField(1); |
| 758 void clearOp() => clearField(1); |
| 759 |
| 760 Key get key => getField(2); |
| 761 void set key(Key v) { setField(2, v); } |
| 762 bool hasKey() => hasField(2); |
| 763 void clearKey() => clearField(2); |
| 764 |
| 765 Entity get entity => getField(3); |
| 766 void set entity(Entity v) { setField(3, v); } |
| 767 bool hasEntity() => hasField(3); |
| 768 void clearEntity() => clearField(3); |
| 769 } |
| 770 |
| 771 class MutationResult extends GeneratedMessage { |
| 772 static final BuilderInfo _i = new BuilderInfo('MutationResult') |
| 773 ..a(3, 'key', GeneratedMessage.OM, () => new Key(), () => new Key()) |
| 774 ..a(4, 'newVersion', GeneratedMessage.O6, () => makeLongInt(0)) |
| 775 ; |
| 776 |
| 777 MutationResult() : super(); |
| 778 MutationResult.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); |
| 779 MutationResult.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); |
| 780 MutationResult clone() => new MutationResult()..mergeFromMessage(this); |
| 781 BuilderInfo get info_ => _i; |
| 782 |
| 783 Key get key => getField(3); |
| 784 void set key(Key v) { setField(3, v); } |
| 785 bool hasKey() => hasField(3); |
| 786 void clearKey() => clearField(3); |
| 787 |
| 788 Int64 get newVersion => getField(4); |
| 789 void set newVersion(Int64 v) { setField(4, v); } |
| 790 bool hasNewVersion() => hasField(4); |
| 791 void clearNewVersion() => clearField(4); |
| 792 } |
| 793 |
| 794 class DeprecatedMutation extends GeneratedMessage { |
| 795 static final BuilderInfo _i = new BuilderInfo('DeprecatedMutation') |
| 796 ..m(1, 'upsert', () => new Entity(), () => new PbList<Entity>()) |
| 797 ..m(2, 'update', () => new Entity(), () => new PbList<Entity>()) |
| 798 ..m(3, 'insert', () => new Entity(), () => new PbList<Entity>()) |
| 799 ..m(4, 'insertAutoId', () => new Entity(), () => new PbList<Entity>()) |
| 800 ..m(5, 'delete', () => new Key(), () => new PbList<Key>()) |
| 801 ..a(6, 'force', GeneratedMessage.OB) |
| 802 ; |
| 803 |
| 804 DeprecatedMutation() : super(); |
| 805 DeprecatedMutation.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionReg
istry.EMPTY]) : super.fromBuffer(i, r); |
| 806 DeprecatedMutation.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromJson(i, r); |
| 807 DeprecatedMutation clone() => new DeprecatedMutation()..mergeFromMessage(this)
; |
| 808 BuilderInfo get info_ => _i; |
| 809 |
| 810 List<Entity> get upsert => getField(1); |
| 811 |
| 812 List<Entity> get update => getField(2); |
| 813 |
| 814 List<Entity> get insert => getField(3); |
| 815 |
| 816 List<Entity> get insertAutoId => getField(4); |
| 817 |
| 818 List<Key> get delete => getField(5); |
| 819 |
| 820 bool get force => getField(6); |
| 821 void set force(bool v) { setField(6, v); } |
| 822 bool hasForce() => hasField(6); |
| 823 void clearForce() => clearField(6); |
| 824 } |
| 825 |
| 826 class DeprecatedMutationResult extends GeneratedMessage { |
| 827 static final BuilderInfo _i = new BuilderInfo('DeprecatedMutationResult') |
| 828 ..a(1, 'indexUpdates', GeneratedMessage.Q3) |
| 829 ..m(2, 'insertAutoIdKey', () => new Key(), () => new PbList<Key>()) |
| 830 ..p(3, 'upsertVersion', GeneratedMessage.P6) |
| 831 ..p(4, 'updateVersion', GeneratedMessage.P6) |
| 832 ..p(5, 'insertVersion', GeneratedMessage.P6) |
| 833 ..p(6, 'insertAutoIdVersion', GeneratedMessage.P6) |
| 834 ..p(7, 'deleteVersion', GeneratedMessage.P6) |
| 835 ; |
| 836 |
| 837 DeprecatedMutationResult() : super(); |
| 838 DeprecatedMutationResult.fromBuffer(List<int> i, [ExtensionRegistry r = Extens
ionRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 839 DeprecatedMutationResult.fromJson(String i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromJson(i, r); |
| 840 DeprecatedMutationResult clone() => new DeprecatedMutationResult()..mergeFromM
essage(this); |
| 841 BuilderInfo get info_ => _i; |
| 842 |
| 843 int get indexUpdates => getField(1); |
| 844 void set indexUpdates(int v) { setField(1, v); } |
| 845 bool hasIndexUpdates() => hasField(1); |
| 846 void clearIndexUpdates() => clearField(1); |
| 847 |
| 848 List<Key> get insertAutoIdKey => getField(2); |
| 849 |
| 850 List<Int64> get upsertVersion => getField(3); |
| 851 |
| 852 List<Int64> get updateVersion => getField(4); |
| 853 |
| 854 List<Int64> get insertVersion => getField(5); |
| 855 |
| 856 List<Int64> get insertAutoIdVersion => getField(6); |
| 857 |
| 858 List<Int64> get deleteVersion => getField(7); |
| 859 } |
| 860 |
| 861 class ReadOptions_ReadConsistency extends ProtobufEnum { |
| 862 static const ReadOptions_ReadConsistency DEFAULT = const ReadOptions_ReadConsi
stency._(0, 'DEFAULT'); |
| 863 static const ReadOptions_ReadConsistency STRONG = const ReadOptions_ReadConsis
tency._(1, 'STRONG'); |
| 864 static const ReadOptions_ReadConsistency EVENTUAL = const ReadOptions_ReadCons
istency._(2, 'EVENTUAL'); |
| 865 |
| 866 static const List<ReadOptions_ReadConsistency> values = const <ReadOptions_Rea
dConsistency> [ |
| 867 DEFAULT, |
| 868 STRONG, |
| 869 EVENTUAL, |
| 870 ]; |
| 871 |
| 872 static final Map<int, ReadOptions_ReadConsistency> _byValue = ProtobufEnum.ini
tByValue(values); |
| 873 static ReadOptions_ReadConsistency valueOf(int value) => _byValue[value]; |
| 874 |
| 875 const ReadOptions_ReadConsistency._(int v, String n) : super(v, n); |
| 876 } |
| 877 |
| 878 class ReadOptions extends GeneratedMessage { |
| 879 static final BuilderInfo _i = new BuilderInfo('ReadOptions') |
| 880 ..e(1, 'readConsistency', GeneratedMessage.OE, () => ReadOptions_ReadConsist
ency.DEFAULT, (var v) => ReadOptions_ReadConsistency.valueOf(v)) |
| 881 ..a(2, 'transaction', GeneratedMessage.OY) |
| 882 ..hasRequiredFields = false |
| 883 ; |
| 884 |
| 885 ReadOptions() : super(); |
| 886 ReadOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromBuffer(i, r); |
| 887 ReadOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromJson(i, r); |
| 888 ReadOptions clone() => new ReadOptions()..mergeFromMessage(this); |
| 889 BuilderInfo get info_ => _i; |
| 890 |
| 891 ReadOptions_ReadConsistency get readConsistency => getField(1); |
| 892 void set readConsistency(ReadOptions_ReadConsistency v) { setField(1, v); } |
| 893 bool hasReadConsistency() => hasField(1); |
| 894 void clearReadConsistency() => clearField(1); |
| 895 |
| 896 List<int> get transaction => getField(2); |
| 897 void set transaction(List<int> v) { setField(2, v); } |
| 898 bool hasTransaction() => hasField(2); |
| 899 void clearTransaction() => clearField(2); |
| 900 } |
| 901 |
| 902 class LookupRequest extends GeneratedMessage { |
| 903 static final BuilderInfo _i = new BuilderInfo('LookupRequest') |
| 904 ..a(1, 'readOptions', GeneratedMessage.OM, () => new ReadOptions(), () => ne
w ReadOptions()) |
| 905 ..m(3, 'key', () => new Key(), () => new PbList<Key>()) |
| 906 ; |
| 907 |
| 908 LookupRequest() : super(); |
| 909 LookupRequest.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromBuffer(i, r); |
| 910 LookupRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromJson(i, r); |
| 911 LookupRequest clone() => new LookupRequest()..mergeFromMessage(this); |
| 912 BuilderInfo get info_ => _i; |
| 913 |
| 914 ReadOptions get readOptions => getField(1); |
| 915 void set readOptions(ReadOptions v) { setField(1, v); } |
| 916 bool hasReadOptions() => hasField(1); |
| 917 void clearReadOptions() => clearField(1); |
| 918 |
| 919 List<Key> get key => getField(3); |
| 920 } |
| 921 |
| 922 class LookupResponse extends GeneratedMessage { |
| 923 static final BuilderInfo _i = new BuilderInfo('LookupResponse') |
| 924 ..m(1, 'found', () => new EntityResult(), () => new PbList<EntityResult>()) |
| 925 ..m(2, 'missing', () => new EntityResult(), () => new PbList<EntityResult>()
) |
| 926 ..m(3, 'deferred', () => new Key(), () => new PbList<Key>()) |
| 927 ; |
| 928 |
| 929 LookupResponse() : super(); |
| 930 LookupResponse.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); |
| 931 LookupResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); |
| 932 LookupResponse clone() => new LookupResponse()..mergeFromMessage(this); |
| 933 BuilderInfo get info_ => _i; |
| 934 |
| 935 List<EntityResult> get found => getField(1); |
| 936 |
| 937 List<EntityResult> get missing => getField(2); |
| 938 |
| 939 List<Key> get deferred => getField(3); |
| 940 } |
| 941 |
| 942 class RunQueryRequest extends GeneratedMessage { |
| 943 static final BuilderInfo _i = new BuilderInfo('RunQueryRequest') |
| 944 ..a(1, 'readOptions', GeneratedMessage.OM, () => new ReadOptions(), () => ne
w ReadOptions()) |
| 945 ..a(2, 'partitionId', GeneratedMessage.OM, () => new PartitionId(), () => ne
w PartitionId()) |
| 946 ..a(3, 'query', GeneratedMessage.OM, () => new Query(), () => new Query()) |
| 947 ..a(7, 'gqlQuery', GeneratedMessage.OM, () => new GqlQuery(), () => new GqlQ
uery()) |
| 948 ..a(4, 'minSafeTimeSeconds', GeneratedMessage.O6, () => makeLongInt(0)) |
| 949 ..a(5, 'suggestedBatchSize', GeneratedMessage.O3) |
| 950 ; |
| 951 |
| 952 RunQueryRequest() : super(); |
| 953 RunQueryRequest.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromBuffer(i, r); |
| 954 RunQueryRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EM
PTY]) : super.fromJson(i, r); |
| 955 RunQueryRequest clone() => new RunQueryRequest()..mergeFromMessage(this); |
| 956 BuilderInfo get info_ => _i; |
| 957 |
| 958 ReadOptions get readOptions => getField(1); |
| 959 void set readOptions(ReadOptions v) { setField(1, v); } |
| 960 bool hasReadOptions() => hasField(1); |
| 961 void clearReadOptions() => clearField(1); |
| 962 |
| 963 PartitionId get partitionId => getField(2); |
| 964 void set partitionId(PartitionId v) { setField(2, v); } |
| 965 bool hasPartitionId() => hasField(2); |
| 966 void clearPartitionId() => clearField(2); |
| 967 |
| 968 Query get query => getField(3); |
| 969 void set query(Query v) { setField(3, v); } |
| 970 bool hasQuery() => hasField(3); |
| 971 void clearQuery() => clearField(3); |
| 972 |
| 973 GqlQuery get gqlQuery => getField(7); |
| 974 void set gqlQuery(GqlQuery v) { setField(7, v); } |
| 975 bool hasGqlQuery() => hasField(7); |
| 976 void clearGqlQuery() => clearField(7); |
| 977 |
| 978 Int64 get minSafeTimeSeconds => getField(4); |
| 979 void set minSafeTimeSeconds(Int64 v) { setField(4, v); } |
| 980 bool hasMinSafeTimeSeconds() => hasField(4); |
| 981 void clearMinSafeTimeSeconds() => clearField(4); |
| 982 |
| 983 int get suggestedBatchSize => getField(5); |
| 984 void set suggestedBatchSize(int v) { setField(5, v); } |
| 985 bool hasSuggestedBatchSize() => hasField(5); |
| 986 void clearSuggestedBatchSize() => clearField(5); |
| 987 } |
| 988 |
| 989 class RunQueryResponse extends GeneratedMessage { |
| 990 static final BuilderInfo _i = new BuilderInfo('RunQueryResponse') |
| 991 ..a(1, 'batch', GeneratedMessage.QM, () => new QueryResultBatch(), () => new
QueryResultBatch()) |
| 992 ..a(2, 'queryHandle', GeneratedMessage.OY) |
| 993 ; |
| 994 |
| 995 RunQueryResponse() : super(); |
| 996 RunQueryResponse.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromBuffer(i, r); |
| 997 RunQueryResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromJson(i, r); |
| 998 RunQueryResponse clone() => new RunQueryResponse()..mergeFromMessage(this); |
| 999 BuilderInfo get info_ => _i; |
| 1000 |
| 1001 QueryResultBatch get batch => getField(1); |
| 1002 void set batch(QueryResultBatch v) { setField(1, v); } |
| 1003 bool hasBatch() => hasField(1); |
| 1004 void clearBatch() => clearField(1); |
| 1005 |
| 1006 List<int> get queryHandle => getField(2); |
| 1007 void set queryHandle(List<int> v) { setField(2, v); } |
| 1008 bool hasQueryHandle() => hasField(2); |
| 1009 void clearQueryHandle() => clearField(2); |
| 1010 } |
| 1011 |
| 1012 class ContinueQueryRequest extends GeneratedMessage { |
| 1013 static final BuilderInfo _i = new BuilderInfo('ContinueQueryRequest') |
| 1014 ..a(1, 'queryHandle', GeneratedMessage.QY) |
| 1015 ; |
| 1016 |
| 1017 ContinueQueryRequest() : super(); |
| 1018 ContinueQueryRequest.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionR
egistry.EMPTY]) : super.fromBuffer(i, r); |
| 1019 ContinueQueryRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromJson(i, r); |
| 1020 ContinueQueryRequest clone() => new ContinueQueryRequest()..mergeFromMessage(t
his); |
| 1021 BuilderInfo get info_ => _i; |
| 1022 |
| 1023 List<int> get queryHandle => getField(1); |
| 1024 void set queryHandle(List<int> v) { setField(1, v); } |
| 1025 bool hasQueryHandle() => hasField(1); |
| 1026 void clearQueryHandle() => clearField(1); |
| 1027 } |
| 1028 |
| 1029 class ContinueQueryResponse extends GeneratedMessage { |
| 1030 static final BuilderInfo _i = new BuilderInfo('ContinueQueryResponse') |
| 1031 ..a(1, 'batch', GeneratedMessage.QM, () => new QueryResultBatch(), () => new
QueryResultBatch()) |
| 1032 ; |
| 1033 |
| 1034 ContinueQueryResponse() : super(); |
| 1035 ContinueQueryResponse.fromBuffer(List<int> i, [ExtensionRegistry r = Extension
Registry.EMPTY]) : super.fromBuffer(i, r); |
| 1036 ContinueQueryResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromJson(i, r); |
| 1037 ContinueQueryResponse clone() => new ContinueQueryResponse()..mergeFromMessage
(this); |
| 1038 BuilderInfo get info_ => _i; |
| 1039 |
| 1040 QueryResultBatch get batch => getField(1); |
| 1041 void set batch(QueryResultBatch v) { setField(1, v); } |
| 1042 bool hasBatch() => hasField(1); |
| 1043 void clearBatch() => clearField(1); |
| 1044 } |
| 1045 |
| 1046 class BeginTransactionRequest extends GeneratedMessage { |
| 1047 static final BuilderInfo _i = new BuilderInfo('BeginTransactionRequest') |
| 1048 ..a(1, 'crossGroup', GeneratedMessage.OB) |
| 1049 ..a(2, 'crossRequest', GeneratedMessage.OB) |
| 1050 ..hasRequiredFields = false |
| 1051 ; |
| 1052 |
| 1053 BeginTransactionRequest() : super(); |
| 1054 BeginTransactionRequest.fromBuffer(List<int> i, [ExtensionRegistry r = Extensi
onRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 1055 BeginTransactionRequest.fromJson(String i, [ExtensionRegistry r = ExtensionReg
istry.EMPTY]) : super.fromJson(i, r); |
| 1056 BeginTransactionRequest clone() => new BeginTransactionRequest()..mergeFromMes
sage(this); |
| 1057 BuilderInfo get info_ => _i; |
| 1058 |
| 1059 bool get crossGroup => getField(1); |
| 1060 void set crossGroup(bool v) { setField(1, v); } |
| 1061 bool hasCrossGroup() => hasField(1); |
| 1062 void clearCrossGroup() => clearField(1); |
| 1063 |
| 1064 bool get crossRequest => getField(2); |
| 1065 void set crossRequest(bool v) { setField(2, v); } |
| 1066 bool hasCrossRequest() => hasField(2); |
| 1067 void clearCrossRequest() => clearField(2); |
| 1068 } |
| 1069 |
| 1070 class BeginTransactionResponse extends GeneratedMessage { |
| 1071 static final BuilderInfo _i = new BuilderInfo('BeginTransactionResponse') |
| 1072 ..a(1, 'transaction', GeneratedMessage.QY) |
| 1073 ; |
| 1074 |
| 1075 BeginTransactionResponse() : super(); |
| 1076 BeginTransactionResponse.fromBuffer(List<int> i, [ExtensionRegistry r = Extens
ionRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 1077 BeginTransactionResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromJson(i, r); |
| 1078 BeginTransactionResponse clone() => new BeginTransactionResponse()..mergeFromM
essage(this); |
| 1079 BuilderInfo get info_ => _i; |
| 1080 |
| 1081 List<int> get transaction => getField(1); |
| 1082 void set transaction(List<int> v) { setField(1, v); } |
| 1083 bool hasTransaction() => hasField(1); |
| 1084 void clearTransaction() => clearField(1); |
| 1085 } |
| 1086 |
| 1087 class RollbackRequest extends GeneratedMessage { |
| 1088 static final BuilderInfo _i = new BuilderInfo('RollbackRequest') |
| 1089 ..a(1, 'transaction', GeneratedMessage.QY) |
| 1090 ; |
| 1091 |
| 1092 RollbackRequest() : super(); |
| 1093 RollbackRequest.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromBuffer(i, r); |
| 1094 RollbackRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EM
PTY]) : super.fromJson(i, r); |
| 1095 RollbackRequest clone() => new RollbackRequest()..mergeFromMessage(this); |
| 1096 BuilderInfo get info_ => _i; |
| 1097 |
| 1098 List<int> get transaction => getField(1); |
| 1099 void set transaction(List<int> v) { setField(1, v); } |
| 1100 bool hasTransaction() => hasField(1); |
| 1101 void clearTransaction() => clearField(1); |
| 1102 } |
| 1103 |
| 1104 class RollbackResponse extends GeneratedMessage { |
| 1105 static final BuilderInfo _i = new BuilderInfo('RollbackResponse') |
| 1106 ..hasRequiredFields = false |
| 1107 ; |
| 1108 |
| 1109 RollbackResponse() : super(); |
| 1110 RollbackResponse.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromBuffer(i, r); |
| 1111 RollbackResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromJson(i, r); |
| 1112 RollbackResponse clone() => new RollbackResponse()..mergeFromMessage(this); |
| 1113 BuilderInfo get info_ => _i; |
| 1114 } |
| 1115 |
| 1116 class CommitRequest_Mode extends ProtobufEnum { |
| 1117 static const CommitRequest_Mode TRANSACTIONAL = const CommitRequest_Mode._(1,
'TRANSACTIONAL'); |
| 1118 static const CommitRequest_Mode NON_TRANSACTIONAL = const CommitRequest_Mode._
(2, 'NON_TRANSACTIONAL'); |
| 1119 |
| 1120 static const List<CommitRequest_Mode> values = const <CommitRequest_Mode> [ |
| 1121 TRANSACTIONAL, |
| 1122 NON_TRANSACTIONAL, |
| 1123 ]; |
| 1124 |
| 1125 static final Map<int, CommitRequest_Mode> _byValue = ProtobufEnum.initByValue(
values); |
| 1126 static CommitRequest_Mode valueOf(int value) => _byValue[value]; |
| 1127 |
| 1128 const CommitRequest_Mode._(int v, String n) : super(v, n); |
| 1129 } |
| 1130 |
| 1131 class CommitRequest extends GeneratedMessage { |
| 1132 static final BuilderInfo _i = new BuilderInfo('CommitRequest') |
| 1133 ..a(1, 'transaction', GeneratedMessage.OY) |
| 1134 ..m(5, 'mutation', () => new Mutation(), () => new PbList<Mutation>()) |
| 1135 ..a(2, 'deprecatedMutation', GeneratedMessage.OM, () => new DeprecatedMutati
on(), () => new DeprecatedMutation()) |
| 1136 ..e(4, 'mode', GeneratedMessage.OE, () => CommitRequest_Mode.TRANSACTIONAL,
(var v) => CommitRequest_Mode.valueOf(v)) |
| 1137 ..a(6, 'ignoreReadOnly', GeneratedMessage.OB) |
| 1138 ; |
| 1139 |
| 1140 CommitRequest() : super(); |
| 1141 CommitRequest.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromBuffer(i, r); |
| 1142 CommitRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromJson(i, r); |
| 1143 CommitRequest clone() => new CommitRequest()..mergeFromMessage(this); |
| 1144 BuilderInfo get info_ => _i; |
| 1145 |
| 1146 List<int> get transaction => getField(1); |
| 1147 void set transaction(List<int> v) { setField(1, v); } |
| 1148 bool hasTransaction() => hasField(1); |
| 1149 void clearTransaction() => clearField(1); |
| 1150 |
| 1151 List<Mutation> get mutation => getField(5); |
| 1152 |
| 1153 DeprecatedMutation get deprecatedMutation => getField(2); |
| 1154 void set deprecatedMutation(DeprecatedMutation v) { setField(2, v); } |
| 1155 bool hasDeprecatedMutation() => hasField(2); |
| 1156 void clearDeprecatedMutation() => clearField(2); |
| 1157 |
| 1158 CommitRequest_Mode get mode => getField(4); |
| 1159 void set mode(CommitRequest_Mode v) { setField(4, v); } |
| 1160 bool hasMode() => hasField(4); |
| 1161 void clearMode() => clearField(4); |
| 1162 |
| 1163 bool get ignoreReadOnly => getField(6); |
| 1164 void set ignoreReadOnly(bool v) { setField(6, v); } |
| 1165 bool hasIgnoreReadOnly() => hasField(6); |
| 1166 void clearIgnoreReadOnly() => clearField(6); |
| 1167 } |
| 1168 |
| 1169 class CommitResponse extends GeneratedMessage { |
| 1170 static final BuilderInfo _i = new BuilderInfo('CommitResponse') |
| 1171 ..m(3, 'mutationResult', () => new MutationResult(), () => new PbList<Mutati
onResult>()) |
| 1172 ..a(1, 'deprecatedMutationResult', GeneratedMessage.OM, () => new Deprecated
MutationResult(), () => new DeprecatedMutationResult()) |
| 1173 ..a(4, 'indexUpdates', GeneratedMessage.O3) |
| 1174 ; |
| 1175 |
| 1176 CommitResponse() : super(); |
| 1177 CommitResponse.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); |
| 1178 CommitResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); |
| 1179 CommitResponse clone() => new CommitResponse()..mergeFromMessage(this); |
| 1180 BuilderInfo get info_ => _i; |
| 1181 |
| 1182 List<MutationResult> get mutationResult => getField(3); |
| 1183 |
| 1184 DeprecatedMutationResult get deprecatedMutationResult => getField(1); |
| 1185 void set deprecatedMutationResult(DeprecatedMutationResult v) { setField(1, v)
; } |
| 1186 bool hasDeprecatedMutationResult() => hasField(1); |
| 1187 void clearDeprecatedMutationResult() => clearField(1); |
| 1188 |
| 1189 int get indexUpdates => getField(4); |
| 1190 void set indexUpdates(int v) { setField(4, v); } |
| 1191 bool hasIndexUpdates() => hasField(4); |
| 1192 void clearIndexUpdates() => clearField(4); |
| 1193 } |
| 1194 |
| 1195 class AllocateIdsRequest extends GeneratedMessage { |
| 1196 static final BuilderInfo _i = new BuilderInfo('AllocateIdsRequest') |
| 1197 ..m(1, 'allocate', () => new Key(), () => new PbList<Key>()) |
| 1198 ..m(2, 'reserve', () => new Key(), () => new PbList<Key>()) |
| 1199 ; |
| 1200 |
| 1201 AllocateIdsRequest() : super(); |
| 1202 AllocateIdsRequest.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionReg
istry.EMPTY]) : super.fromBuffer(i, r); |
| 1203 AllocateIdsRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromJson(i, r); |
| 1204 AllocateIdsRequest clone() => new AllocateIdsRequest()..mergeFromMessage(this)
; |
| 1205 BuilderInfo get info_ => _i; |
| 1206 |
| 1207 List<Key> get allocate => getField(1); |
| 1208 |
| 1209 List<Key> get reserve => getField(2); |
| 1210 } |
| 1211 |
| 1212 class AllocateIdsResponse extends GeneratedMessage { |
| 1213 static final BuilderInfo _i = new BuilderInfo('AllocateIdsResponse') |
| 1214 ..m(1, 'allocated', () => new Key(), () => new PbList<Key>()) |
| 1215 ; |
| 1216 |
| 1217 AllocateIdsResponse() : super(); |
| 1218 AllocateIdsResponse.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromBuffer(i, r); |
| 1219 AllocateIdsResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromJson(i, r); |
| 1220 AllocateIdsResponse clone() => new AllocateIdsResponse()..mergeFromMessage(thi
s); |
| 1221 BuilderInfo get info_ => _i; |
| 1222 |
| 1223 List<Key> get allocated => getField(1); |
| 1224 } |
| 1225 |
OLD | NEW |