| 1 | package Google::Cloud::Bigquery::Storage::V1alpha::Partition::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 'FieldSchema', | ||
| 11 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::FieldSchema']; | ||
| 12 | |||
| 13 | coerce 'FieldSchema', | ||
| 14 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::FieldSchema'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedFieldSchema', | ||
| 17 | as ArrayRef[FieldSchema()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedFieldSchema', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::FieldSchema'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringFieldSchema', | ||
| 23 | as HashRef[FieldSchema()]; | ||
| 24 | |||
| 25 | declare 'StorageDescriptor', | ||
| 26 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::StorageDescriptor']; | ||
| 27 | |||
| 28 | coerce 'StorageDescriptor', | ||
| 29 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::StorageDescriptor'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedStorageDescriptor', | ||
| 32 | as ArrayRef[StorageDescriptor()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedStorageDescriptor', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::StorageDescriptor'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringStorageDescriptor', | ||
| 38 | as HashRef[StorageDescriptor()]; | ||
| 39 | |||
| 40 | declare 'SerDeInfo', | ||
| 41 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::SerDeInfo']; | ||
| 42 | |||
| 43 | coerce 'SerDeInfo', | ||
| 44 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::SerDeInfo'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedSerDeInfo', | ||
| 47 | as ArrayRef[SerDeInfo()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedSerDeInfo', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::SerDeInfo'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringSerDeInfo', | ||
| 53 | as HashRef[SerDeInfo()]; | ||
| 54 | |||
| 55 | declare 'ParametersEntry', | ||
| 56 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::SerDeInfo::ParametersEntry']; | ||
| 57 | |||
| 58 | coerce 'ParametersEntry', | ||
| 59 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::SerDeInfo::ParametersEntry'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedParametersEntry', | ||
| 62 | as ArrayRef[ParametersEntry()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedParametersEntry', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::SerDeInfo::ParametersEntry'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringParametersEntry', | ||
| 68 | as HashRef[ParametersEntry()]; | ||
| 69 | |||
| 70 | declare 'MetastorePartition', | ||
| 71 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartition']; | ||
| 72 | |||
| 73 | coerce 'MetastorePartition', | ||
| 74 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartition'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedMetastorePartition', | ||
| 77 | as ArrayRef[MetastorePartition()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedMetastorePartition', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartition'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringMetastorePartition', | ||
| 83 | as HashRef[MetastorePartition()]; | ||
| 84 | |||
| 85 | declare 'ParametersEntry', | ||
| 86 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartition::ParametersEntry']; | ||
| 87 | |||
| 88 | coerce 'ParametersEntry', | ||
| 89 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartition::ParametersEntry'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedParametersEntry', | ||
| 92 | as ArrayRef[ParametersEntry()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedParametersEntry', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartition::ParametersEntry'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringParametersEntry', | ||
| 98 | as HashRef[ParametersEntry()]; | ||
| 99 | |||
| 100 | declare 'MetastorePartitionList', | ||
| 101 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartitionList']; | ||
| 102 | |||
| 103 | coerce 'MetastorePartitionList', | ||
| 104 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartitionList'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedMetastorePartitionList', | ||
| 107 | as ArrayRef[MetastorePartitionList()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedMetastorePartitionList', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartitionList'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringMetastorePartitionList', | ||
| 113 | as HashRef[MetastorePartitionList()]; | ||
| 114 | |||
| 115 | declare 'ReadStream', | ||
| 116 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::ReadStream']; | ||
| 117 | |||
| 118 | coerce 'ReadStream', | ||
| 119 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::ReadStream'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedReadStream', | ||
| 122 | as ArrayRef[ReadStream()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedReadStream', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::ReadStream'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringReadStream', | ||
| 128 | as HashRef[ReadStream()]; | ||
| 129 | |||
| 130 | declare 'StreamList', | ||
| 131 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::StreamList']; | ||
| 132 | |||
| 133 | coerce 'StreamList', | ||
| 134 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::StreamList'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedStreamList', | ||
| 137 | as ArrayRef[StreamList()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedStreamList', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::StreamList'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringStreamList', | ||
| 143 | as HashRef[StreamList()]; | ||
| 144 | |||
| 145 | declare 'MetastorePartitionValues', | ||
| 146 | as InstanceOf['Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartitionValues']; | ||
| 147 | |||
| 148 | coerce 'MetastorePartitionValues', | ||
| 149 | from HashRef, via { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartitionValues'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedMetastorePartitionValues', | ||
| 152 | as ArrayRef[MetastorePartitionValues()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedMetastorePartitionValues', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Storage::V1alpha::Partition::MetastorePartitionValues'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringMetastorePartitionValues', | ||
| 158 | as HashRef[MetastorePartitionValues()]; | ||
| 159 | |||
| 160 | 1; | ||
| 161 | |||
| 162 | __END__ |