| 1 | package Google::Bigtable::V2::Data::Types; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Type::Library -base; | ||
| 7 | use Type::Utils -all; | ||
| 8 | use Types::Standard -types; | ||
| 9 | |||
| 10 | declare 'Row', | ||
| 11 | as InstanceOf['Google::Bigtable::V2::Data::Row']; | ||
| 12 | |||
| 13 | coerce 'Row', | ||
| 14 | from HashRef, via { 'Google::Bigtable::V2::Data::Row'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedRow', | ||
| 17 | as ArrayRef[Row()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedRow', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Row'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringRow', | ||
| 23 | as HashRef[Row()]; | ||
| 24 | |||
| 25 | declare 'Family', | ||
| 26 | as InstanceOf['Google::Bigtable::V2::Data::Family']; | ||
| 27 | |||
| 28 | coerce 'Family', | ||
| 29 | from HashRef, via { 'Google::Bigtable::V2::Data::Family'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedFamily', | ||
| 32 | as ArrayRef[Family()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedFamily', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Family'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringFamily', | ||
| 38 | as HashRef[Family()]; | ||
| 39 | |||
| 40 | declare 'Column', | ||
| 41 | as InstanceOf['Google::Bigtable::V2::Data::Column']; | ||
| 42 | |||
| 43 | coerce 'Column', | ||
| 44 | from HashRef, via { 'Google::Bigtable::V2::Data::Column'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedColumn', | ||
| 47 | as ArrayRef[Column()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedColumn', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Column'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringColumn', | ||
| 53 | as HashRef[Column()]; | ||
| 54 | |||
| 55 | declare 'Cell', | ||
| 56 | as InstanceOf['Google::Bigtable::V2::Data::Cell']; | ||
| 57 | |||
| 58 | coerce 'Cell', | ||
| 59 | from HashRef, via { 'Google::Bigtable::V2::Data::Cell'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedCell', | ||
| 62 | as ArrayRef[Cell()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedCell', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Cell'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringCell', | ||
| 68 | as HashRef[Cell()]; | ||
| 69 | |||
| 70 | declare 'Value', | ||
| 71 | as InstanceOf['Google::Bigtable::V2::Data::Value']; | ||
| 72 | |||
| 73 | coerce 'Value', | ||
| 74 | from HashRef, via { 'Google::Bigtable::V2::Data::Value'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedValue', | ||
| 77 | as ArrayRef[Value()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedValue', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Value'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringValue', | ||
| 83 | as HashRef[Value()]; | ||
| 84 | |||
| 85 | declare 'ArrayValue', | ||
| 86 | as InstanceOf['Google::Bigtable::V2::Data::ArrayValue']; | ||
| 87 | |||
| 88 | coerce 'ArrayValue', | ||
| 89 | from HashRef, via { 'Google::Bigtable::V2::Data::ArrayValue'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedArrayValue', | ||
| 92 | as ArrayRef[ArrayValue()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedArrayValue', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ArrayValue'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringArrayValue', | ||
| 98 | as HashRef[ArrayValue()]; | ||
| 99 | |||
| 100 | declare 'RowRange', | ||
| 101 | as InstanceOf['Google::Bigtable::V2::Data::RowRange']; | ||
| 102 | |||
| 103 | coerce 'RowRange', | ||
| 104 | from HashRef, via { 'Google::Bigtable::V2::Data::RowRange'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedRowRange', | ||
| 107 | as ArrayRef[RowRange()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedRowRange', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::RowRange'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringRowRange', | ||
| 113 | as HashRef[RowRange()]; | ||
| 114 | |||
| 115 | declare 'RowSet', | ||
| 116 | as InstanceOf['Google::Bigtable::V2::Data::RowSet']; | ||
| 117 | |||
| 118 | coerce 'RowSet', | ||
| 119 | from HashRef, via { 'Google::Bigtable::V2::Data::RowSet'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedRowSet', | ||
| 122 | as ArrayRef[RowSet()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedRowSet', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::RowSet'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringRowSet', | ||
| 128 | as HashRef[RowSet()]; | ||
| 129 | |||
| 130 | declare 'ColumnRange', | ||
| 131 | as InstanceOf['Google::Bigtable::V2::Data::ColumnRange']; | ||
| 132 | |||
| 133 | coerce 'ColumnRange', | ||
| 134 | from HashRef, via { 'Google::Bigtable::V2::Data::ColumnRange'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedColumnRange', | ||
| 137 | as ArrayRef[ColumnRange()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedColumnRange', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ColumnRange'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringColumnRange', | ||
| 143 | as HashRef[ColumnRange()]; | ||
| 144 | |||
| 145 | declare 'TimestampRange', | ||
| 146 | as InstanceOf['Google::Bigtable::V2::Data::TimestampRange']; | ||
| 147 | |||
| 148 | coerce 'TimestampRange', | ||
| 149 | from HashRef, via { 'Google::Bigtable::V2::Data::TimestampRange'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedTimestampRange', | ||
| 152 | as ArrayRef[TimestampRange()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedTimestampRange', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::TimestampRange'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringTimestampRange', | ||
| 158 | as HashRef[TimestampRange()]; | ||
| 159 | |||
| 160 | declare 'ValueRange', | ||
| 161 | as InstanceOf['Google::Bigtable::V2::Data::ValueRange']; | ||
| 162 | |||
| 163 | coerce 'ValueRange', | ||
| 164 | from HashRef, via { 'Google::Bigtable::V2::Data::ValueRange'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedValueRange', | ||
| 167 | as ArrayRef[ValueRange()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedValueRange', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ValueRange'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringValueRange', | ||
| 173 | as HashRef[ValueRange()]; | ||
| 174 | |||
| 175 | declare 'ValueBitmask', | ||
| 176 | as InstanceOf['Google::Bigtable::V2::Data::ValueBitmask']; | ||
| 177 | |||
| 178 | coerce 'ValueBitmask', | ||
| 179 | from HashRef, via { 'Google::Bigtable::V2::Data::ValueBitmask'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedValueBitmask', | ||
| 182 | as ArrayRef[ValueBitmask()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedValueBitmask', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ValueBitmask'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringValueBitmask', | ||
| 188 | as HashRef[ValueBitmask()]; | ||
| 189 | |||
| 190 | declare 'RowFilter', | ||
| 191 | as InstanceOf['Google::Bigtable::V2::Data::RowFilter']; | ||
| 192 | |||
| 193 | coerce 'RowFilter', | ||
| 194 | from HashRef, via { 'Google::Bigtable::V2::Data::RowFilter'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedRowFilter', | ||
| 197 | as ArrayRef[RowFilter()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedRowFilter', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::RowFilter'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringRowFilter', | ||
| 203 | as HashRef[RowFilter()]; | ||
| 204 | |||
| 205 | declare 'Chain', | ||
| 206 | as InstanceOf['Google::Bigtable::V2::Data::RowFilter::Chain']; | ||
| 207 | |||
| 208 | coerce 'Chain', | ||
| 209 | from HashRef, via { 'Google::Bigtable::V2::Data::RowFilter::Chain'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedChain', | ||
| 212 | as ArrayRef[Chain()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedChain', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::RowFilter::Chain'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringChain', | ||
| 218 | as HashRef[Chain()]; | ||
| 219 | |||
| 220 | declare 'Interleave', | ||
| 221 | as InstanceOf['Google::Bigtable::V2::Data::RowFilter::Interleave']; | ||
| 222 | |||
| 223 | coerce 'Interleave', | ||
| 224 | from HashRef, via { 'Google::Bigtable::V2::Data::RowFilter::Interleave'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedInterleave', | ||
| 227 | as ArrayRef[Interleave()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedInterleave', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::RowFilter::Interleave'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringInterleave', | ||
| 233 | as HashRef[Interleave()]; | ||
| 234 | |||
| 235 | declare 'Condition', | ||
| 236 | as InstanceOf['Google::Bigtable::V2::Data::RowFilter::Condition']; | ||
| 237 | |||
| 238 | coerce 'Condition', | ||
| 239 | from HashRef, via { 'Google::Bigtable::V2::Data::RowFilter::Condition'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedCondition', | ||
| 242 | as ArrayRef[Condition()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedCondition', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::RowFilter::Condition'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringCondition', | ||
| 248 | as HashRef[Condition()]; | ||
| 249 | |||
| 250 | declare 'Mutation', | ||
| 251 | as InstanceOf['Google::Bigtable::V2::Data::Mutation']; | ||
| 252 | |||
| 253 | coerce 'Mutation', | ||
| 254 | from HashRef, via { 'Google::Bigtable::V2::Data::Mutation'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedMutation', | ||
| 257 | as ArrayRef[Mutation()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedMutation', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Mutation'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringMutation', | ||
| 263 | as HashRef[Mutation()]; | ||
| 264 | |||
| 265 | declare 'TimestampOrigin', | ||
| 266 | as (Int | Str); | ||
| 267 | |||
| 268 | declare 'SetCell', | ||
| 269 | as InstanceOf['Google::Bigtable::V2::Data::Mutation::SetCell']; | ||
| 270 | |||
| 271 | coerce 'SetCell', | ||
| 272 | from HashRef, via { 'Google::Bigtable::V2::Data::Mutation::SetCell'->new($_) }; | ||
| 273 | |||
| 274 | declare 'RepeatedSetCell', | ||
| 275 | as ArrayRef[SetCell()]; | ||
| 276 | |||
| 277 | coerce 'RepeatedSetCell', | ||
| 278 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Mutation::SetCell'->new($_) } @$_ ] }; | ||
| 279 | |||
| 280 | declare 'MapStringSetCell', | ||
| 281 | as HashRef[SetCell()]; | ||
| 282 | |||
| 283 | declare 'AddToCell', | ||
| 284 | as InstanceOf['Google::Bigtable::V2::Data::Mutation::AddToCell']; | ||
| 285 | |||
| 286 | coerce 'AddToCell', | ||
| 287 | from HashRef, via { 'Google::Bigtable::V2::Data::Mutation::AddToCell'->new($_) }; | ||
| 288 | |||
| 289 | declare 'RepeatedAddToCell', | ||
| 290 | as ArrayRef[AddToCell()]; | ||
| 291 | |||
| 292 | coerce 'RepeatedAddToCell', | ||
| 293 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Mutation::AddToCell'->new($_) } @$_ ] }; | ||
| 294 | |||
| 295 | declare 'MapStringAddToCell', | ||
| 296 | as HashRef[AddToCell()]; | ||
| 297 | |||
| 298 | declare 'MergeToCell', | ||
| 299 | as InstanceOf['Google::Bigtable::V2::Data::Mutation::MergeToCell']; | ||
| 300 | |||
| 301 | coerce 'MergeToCell', | ||
| 302 | from HashRef, via { 'Google::Bigtable::V2::Data::Mutation::MergeToCell'->new($_) }; | ||
| 303 | |||
| 304 | declare 'RepeatedMergeToCell', | ||
| 305 | as ArrayRef[MergeToCell()]; | ||
| 306 | |||
| 307 | coerce 'RepeatedMergeToCell', | ||
| 308 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Mutation::MergeToCell'->new($_) } @$_ ] }; | ||
| 309 | |||
| 310 | declare 'MapStringMergeToCell', | ||
| 311 | as HashRef[MergeToCell()]; | ||
| 312 | |||
| 313 | declare 'DeleteFromColumn', | ||
| 314 | as InstanceOf['Google::Bigtable::V2::Data::Mutation::DeleteFromColumn']; | ||
| 315 | |||
| 316 | coerce 'DeleteFromColumn', | ||
| 317 | from HashRef, via { 'Google::Bigtable::V2::Data::Mutation::DeleteFromColumn'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedDeleteFromColumn', | ||
| 320 | as ArrayRef[DeleteFromColumn()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedDeleteFromColumn', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Mutation::DeleteFromColumn'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringDeleteFromColumn', | ||
| 326 | as HashRef[DeleteFromColumn()]; | ||
| 327 | |||
| 328 | declare 'DeleteFromFamily', | ||
| 329 | as InstanceOf['Google::Bigtable::V2::Data::Mutation::DeleteFromFamily']; | ||
| 330 | |||
| 331 | coerce 'DeleteFromFamily', | ||
| 332 | from HashRef, via { 'Google::Bigtable::V2::Data::Mutation::DeleteFromFamily'->new($_) }; | ||
| 333 | |||
| 334 | declare 'RepeatedDeleteFromFamily', | ||
| 335 | as ArrayRef[DeleteFromFamily()]; | ||
| 336 | |||
| 337 | coerce 'RepeatedDeleteFromFamily', | ||
| 338 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Mutation::DeleteFromFamily'->new($_) } @$_ ] }; | ||
| 339 | |||
| 340 | declare 'MapStringDeleteFromFamily', | ||
| 341 | as HashRef[DeleteFromFamily()]; | ||
| 342 | |||
| 343 | declare 'DeleteFromRow', | ||
| 344 | as InstanceOf['Google::Bigtable::V2::Data::Mutation::DeleteFromRow']; | ||
| 345 | |||
| 346 | coerce 'DeleteFromRow', | ||
| 347 | from HashRef, via { 'Google::Bigtable::V2::Data::Mutation::DeleteFromRow'->new($_) }; | ||
| 348 | |||
| 349 | declare 'RepeatedDeleteFromRow', | ||
| 350 | as ArrayRef[DeleteFromRow()]; | ||
| 351 | |||
| 352 | coerce 'RepeatedDeleteFromRow', | ||
| 353 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Mutation::DeleteFromRow'->new($_) } @$_ ] }; | ||
| 354 | |||
| 355 | declare 'MapStringDeleteFromRow', | ||
| 356 | as HashRef[DeleteFromRow()]; | ||
| 357 | |||
| 358 | declare 'ReadModifyWriteRule', | ||
| 359 | as InstanceOf['Google::Bigtable::V2::Data::ReadModifyWriteRule']; | ||
| 360 | |||
| 361 | coerce 'ReadModifyWriteRule', | ||
| 362 | from HashRef, via { 'Google::Bigtable::V2::Data::ReadModifyWriteRule'->new($_) }; | ||
| 363 | |||
| 364 | declare 'RepeatedReadModifyWriteRule', | ||
| 365 | as ArrayRef[ReadModifyWriteRule()]; | ||
| 366 | |||
| 367 | coerce 'RepeatedReadModifyWriteRule', | ||
| 368 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ReadModifyWriteRule'->new($_) } @$_ ] }; | ||
| 369 | |||
| 370 | declare 'MapStringReadModifyWriteRule', | ||
| 371 | as HashRef[ReadModifyWriteRule()]; | ||
| 372 | |||
| 373 | declare 'StreamPartition', | ||
| 374 | as InstanceOf['Google::Bigtable::V2::Data::StreamPartition']; | ||
| 375 | |||
| 376 | coerce 'StreamPartition', | ||
| 377 | from HashRef, via { 'Google::Bigtable::V2::Data::StreamPartition'->new($_) }; | ||
| 378 | |||
| 379 | declare 'RepeatedStreamPartition', | ||
| 380 | as ArrayRef[StreamPartition()]; | ||
| 381 | |||
| 382 | coerce 'RepeatedStreamPartition', | ||
| 383 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::StreamPartition'->new($_) } @$_ ] }; | ||
| 384 | |||
| 385 | declare 'MapStringStreamPartition', | ||
| 386 | as HashRef[StreamPartition()]; | ||
| 387 | |||
| 388 | declare 'StreamContinuationTokens', | ||
| 389 | as InstanceOf['Google::Bigtable::V2::Data::StreamContinuationTokens']; | ||
| 390 | |||
| 391 | coerce 'StreamContinuationTokens', | ||
| 392 | from HashRef, via { 'Google::Bigtable::V2::Data::StreamContinuationTokens'->new($_) }; | ||
| 393 | |||
| 394 | declare 'RepeatedStreamContinuationTokens', | ||
| 395 | as ArrayRef[StreamContinuationTokens()]; | ||
| 396 | |||
| 397 | coerce 'RepeatedStreamContinuationTokens', | ||
| 398 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::StreamContinuationTokens'->new($_) } @$_ ] }; | ||
| 399 | |||
| 400 | declare 'MapStringStreamContinuationTokens', | ||
| 401 | as HashRef[StreamContinuationTokens()]; | ||
| 402 | |||
| 403 | declare 'StreamContinuationToken', | ||
| 404 | as InstanceOf['Google::Bigtable::V2::Data::StreamContinuationToken']; | ||
| 405 | |||
| 406 | coerce 'StreamContinuationToken', | ||
| 407 | from HashRef, via { 'Google::Bigtable::V2::Data::StreamContinuationToken'->new($_) }; | ||
| 408 | |||
| 409 | declare 'RepeatedStreamContinuationToken', | ||
| 410 | as ArrayRef[StreamContinuationToken()]; | ||
| 411 | |||
| 412 | coerce 'RepeatedStreamContinuationToken', | ||
| 413 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::StreamContinuationToken'->new($_) } @$_ ] }; | ||
| 414 | |||
| 415 | declare 'MapStringStreamContinuationToken', | ||
| 416 | as HashRef[StreamContinuationToken()]; | ||
| 417 | |||
| 418 | declare 'ProtoFormat', | ||
| 419 | as InstanceOf['Google::Bigtable::V2::Data::ProtoFormat']; | ||
| 420 | |||
| 421 | coerce 'ProtoFormat', | ||
| 422 | from HashRef, via { 'Google::Bigtable::V2::Data::ProtoFormat'->new($_) }; | ||
| 423 | |||
| 424 | declare 'RepeatedProtoFormat', | ||
| 425 | as ArrayRef[ProtoFormat()]; | ||
| 426 | |||
| 427 | coerce 'RepeatedProtoFormat', | ||
| 428 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ProtoFormat'->new($_) } @$_ ] }; | ||
| 429 | |||
| 430 | declare 'MapStringProtoFormat', | ||
| 431 | as HashRef[ProtoFormat()]; | ||
| 432 | |||
| 433 | declare 'ColumnMetadata', | ||
| 434 | as InstanceOf['Google::Bigtable::V2::Data::ColumnMetadata']; | ||
| 435 | |||
| 436 | coerce 'ColumnMetadata', | ||
| 437 | from HashRef, via { 'Google::Bigtable::V2::Data::ColumnMetadata'->new($_) }; | ||
| 438 | |||
| 439 | declare 'RepeatedColumnMetadata', | ||
| 440 | as ArrayRef[ColumnMetadata()]; | ||
| 441 | |||
| 442 | coerce 'RepeatedColumnMetadata', | ||
| 443 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ColumnMetadata'->new($_) } @$_ ] }; | ||
| 444 | |||
| 445 | declare 'MapStringColumnMetadata', | ||
| 446 | as HashRef[ColumnMetadata()]; | ||
| 447 | |||
| 448 | declare 'ProtoSchema', | ||
| 449 | as InstanceOf['Google::Bigtable::V2::Data::ProtoSchema']; | ||
| 450 | |||
| 451 | coerce 'ProtoSchema', | ||
| 452 | from HashRef, via { 'Google::Bigtable::V2::Data::ProtoSchema'->new($_) }; | ||
| 453 | |||
| 454 | declare 'RepeatedProtoSchema', | ||
| 455 | as ArrayRef[ProtoSchema()]; | ||
| 456 | |||
| 457 | coerce 'RepeatedProtoSchema', | ||
| 458 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ProtoSchema'->new($_) } @$_ ] }; | ||
| 459 | |||
| 460 | declare 'MapStringProtoSchema', | ||
| 461 | as HashRef[ProtoSchema()]; | ||
| 462 | |||
| 463 | declare 'ResultSetMetadata', | ||
| 464 | as InstanceOf['Google::Bigtable::V2::Data::ResultSetMetadata']; | ||
| 465 | |||
| 466 | coerce 'ResultSetMetadata', | ||
| 467 | from HashRef, via { 'Google::Bigtable::V2::Data::ResultSetMetadata'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedResultSetMetadata', | ||
| 470 | as ArrayRef[ResultSetMetadata()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedResultSetMetadata', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ResultSetMetadata'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringResultSetMetadata', | ||
| 476 | as HashRef[ResultSetMetadata()]; | ||
| 477 | |||
| 478 | declare 'ProtoRows', | ||
| 479 | as InstanceOf['Google::Bigtable::V2::Data::ProtoRows']; | ||
| 480 | |||
| 481 | coerce 'ProtoRows', | ||
| 482 | from HashRef, via { 'Google::Bigtable::V2::Data::ProtoRows'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedProtoRows', | ||
| 485 | as ArrayRef[ProtoRows()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedProtoRows', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ProtoRows'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringProtoRows', | ||
| 491 | as HashRef[ProtoRows()]; | ||
| 492 | |||
| 493 | declare 'ProtoRowsBatch', | ||
| 494 | as InstanceOf['Google::Bigtable::V2::Data::ProtoRowsBatch']; | ||
| 495 | |||
| 496 | coerce 'ProtoRowsBatch', | ||
| 497 | from HashRef, via { 'Google::Bigtable::V2::Data::ProtoRowsBatch'->new($_) }; | ||
| 498 | |||
| 499 | declare 'RepeatedProtoRowsBatch', | ||
| 500 | as ArrayRef[ProtoRowsBatch()]; | ||
| 501 | |||
| 502 | coerce 'RepeatedProtoRowsBatch', | ||
| 503 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::ProtoRowsBatch'->new($_) } @$_ ] }; | ||
| 504 | |||
| 505 | declare 'MapStringProtoRowsBatch', | ||
| 506 | as HashRef[ProtoRowsBatch()]; | ||
| 507 | |||
| 508 | declare 'PartialResultSet', | ||
| 509 | as InstanceOf['Google::Bigtable::V2::Data::PartialResultSet']; | ||
| 510 | |||
| 511 | coerce 'PartialResultSet', | ||
| 512 | from HashRef, via { 'Google::Bigtable::V2::Data::PartialResultSet'->new($_) }; | ||
| 513 | |||
| 514 | declare 'RepeatedPartialResultSet', | ||
| 515 | as ArrayRef[PartialResultSet()]; | ||
| 516 | |||
| 517 | coerce 'RepeatedPartialResultSet', | ||
| 518 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::PartialResultSet'->new($_) } @$_ ] }; | ||
| 519 | |||
| 520 | declare 'MapStringPartialResultSet', | ||
| 521 | as HashRef[PartialResultSet()]; | ||
| 522 | |||
| 523 | declare 'Idempotency', | ||
| 524 | as InstanceOf['Google::Bigtable::V2::Data::Idempotency']; | ||
| 525 | |||
| 526 | coerce 'Idempotency', | ||
| 527 | from HashRef, via { 'Google::Bigtable::V2::Data::Idempotency'->new($_) }; | ||
| 528 | |||
| 529 | declare 'RepeatedIdempotency', | ||
| 530 | as ArrayRef[Idempotency()]; | ||
| 531 | |||
| 532 | coerce 'RepeatedIdempotency', | ||
| 533 | from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::V2::Data::Idempotency'->new($_) } @$_ ] }; | ||
| 534 | |||
| 535 | declare 'MapStringIdempotency', | ||
| 536 | as HashRef[Idempotency()]; | ||
| 537 | |||
| 538 | 1; | ||
| 539 | |||
| 540 | __END__ |