| 1 | package Google::Dataflow::V1beta3::Streaming::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 'TopologyConfig', | ||
| 11 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::TopologyConfig']; | ||
| 12 | |||
| 13 | coerce 'TopologyConfig', | ||
| 14 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::TopologyConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedTopologyConfig', | ||
| 17 | as ArrayRef[TopologyConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedTopologyConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::TopologyConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringTopologyConfig', | ||
| 23 | as HashRef[TopologyConfig()]; | ||
| 24 | |||
| 25 | declare 'UserStageToComputationNameMapEntry', | ||
| 26 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::TopologyConfig::UserStageToComputationNameMapEntry']; | ||
| 27 | |||
| 28 | coerce 'UserStageToComputationNameMapEntry', | ||
| 29 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::TopologyConfig::UserStageToComputationNameMapEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedUserStageToComputationNameMapEntry', | ||
| 32 | as ArrayRef[UserStageToComputationNameMapEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedUserStageToComputationNameMapEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::TopologyConfig::UserStageToComputationNameMapEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringUserStageToComputationNameMapEntry', | ||
| 38 | as HashRef[UserStageToComputationNameMapEntry()]; | ||
| 39 | |||
| 40 | declare 'PubsubLocation', | ||
| 41 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::PubsubLocation']; | ||
| 42 | |||
| 43 | coerce 'PubsubLocation', | ||
| 44 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::PubsubLocation'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedPubsubLocation', | ||
| 47 | as ArrayRef[PubsubLocation()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedPubsubLocation', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::PubsubLocation'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringPubsubLocation', | ||
| 53 | as HashRef[PubsubLocation()]; | ||
| 54 | |||
| 55 | declare 'StreamingStageLocation', | ||
| 56 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::StreamingStageLocation']; | ||
| 57 | |||
| 58 | coerce 'StreamingStageLocation', | ||
| 59 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::StreamingStageLocation'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedStreamingStageLocation', | ||
| 62 | as ArrayRef[StreamingStageLocation()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedStreamingStageLocation', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::StreamingStageLocation'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringStreamingStageLocation', | ||
| 68 | as HashRef[StreamingStageLocation()]; | ||
| 69 | |||
| 70 | declare 'StreamingSideInputLocation', | ||
| 71 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::StreamingSideInputLocation']; | ||
| 72 | |||
| 73 | coerce 'StreamingSideInputLocation', | ||
| 74 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::StreamingSideInputLocation'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedStreamingSideInputLocation', | ||
| 77 | as ArrayRef[StreamingSideInputLocation()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedStreamingSideInputLocation', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::StreamingSideInputLocation'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringStreamingSideInputLocation', | ||
| 83 | as HashRef[StreamingSideInputLocation()]; | ||
| 84 | |||
| 85 | declare 'CustomSourceLocation', | ||
| 86 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::CustomSourceLocation']; | ||
| 87 | |||
| 88 | coerce 'CustomSourceLocation', | ||
| 89 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::CustomSourceLocation'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedCustomSourceLocation', | ||
| 92 | as ArrayRef[CustomSourceLocation()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedCustomSourceLocation', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::CustomSourceLocation'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringCustomSourceLocation', | ||
| 98 | as HashRef[CustomSourceLocation()]; | ||
| 99 | |||
| 100 | declare 'StreamLocation', | ||
| 101 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::StreamLocation']; | ||
| 102 | |||
| 103 | coerce 'StreamLocation', | ||
| 104 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::StreamLocation'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedStreamLocation', | ||
| 107 | as ArrayRef[StreamLocation()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedStreamLocation', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::StreamLocation'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringStreamLocation', | ||
| 113 | as HashRef[StreamLocation()]; | ||
| 114 | |||
| 115 | declare 'StateFamilyConfig', | ||
| 116 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::StateFamilyConfig']; | ||
| 117 | |||
| 118 | coerce 'StateFamilyConfig', | ||
| 119 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::StateFamilyConfig'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedStateFamilyConfig', | ||
| 122 | as ArrayRef[StateFamilyConfig()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedStateFamilyConfig', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::StateFamilyConfig'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringStateFamilyConfig', | ||
| 128 | as HashRef[StateFamilyConfig()]; | ||
| 129 | |||
| 130 | declare 'ComputationTopology', | ||
| 131 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::ComputationTopology']; | ||
| 132 | |||
| 133 | coerce 'ComputationTopology', | ||
| 134 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::ComputationTopology'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedComputationTopology', | ||
| 137 | as ArrayRef[ComputationTopology()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedComputationTopology', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::ComputationTopology'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringComputationTopology', | ||
| 143 | as HashRef[ComputationTopology()]; | ||
| 144 | |||
| 145 | declare 'KeyRangeLocation', | ||
| 146 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::KeyRangeLocation']; | ||
| 147 | |||
| 148 | coerce 'KeyRangeLocation', | ||
| 149 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::KeyRangeLocation'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedKeyRangeLocation', | ||
| 152 | as ArrayRef[KeyRangeLocation()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedKeyRangeLocation', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::KeyRangeLocation'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringKeyRangeLocation', | ||
| 158 | as HashRef[KeyRangeLocation()]; | ||
| 159 | |||
| 160 | declare 'MountedDataDisk', | ||
| 161 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::MountedDataDisk']; | ||
| 162 | |||
| 163 | coerce 'MountedDataDisk', | ||
| 164 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::MountedDataDisk'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedMountedDataDisk', | ||
| 167 | as ArrayRef[MountedDataDisk()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedMountedDataDisk', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::MountedDataDisk'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringMountedDataDisk', | ||
| 173 | as HashRef[MountedDataDisk()]; | ||
| 174 | |||
| 175 | declare 'DataDiskAssignment', | ||
| 176 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::DataDiskAssignment']; | ||
| 177 | |||
| 178 | coerce 'DataDiskAssignment', | ||
| 179 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::DataDiskAssignment'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedDataDiskAssignment', | ||
| 182 | as ArrayRef[DataDiskAssignment()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedDataDiskAssignment', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::DataDiskAssignment'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringDataDiskAssignment', | ||
| 188 | as HashRef[DataDiskAssignment()]; | ||
| 189 | |||
| 190 | declare 'KeyRangeDataDiskAssignment', | ||
| 191 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::KeyRangeDataDiskAssignment']; | ||
| 192 | |||
| 193 | coerce 'KeyRangeDataDiskAssignment', | ||
| 194 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::KeyRangeDataDiskAssignment'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedKeyRangeDataDiskAssignment', | ||
| 197 | as ArrayRef[KeyRangeDataDiskAssignment()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedKeyRangeDataDiskAssignment', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::KeyRangeDataDiskAssignment'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringKeyRangeDataDiskAssignment', | ||
| 203 | as HashRef[KeyRangeDataDiskAssignment()]; | ||
| 204 | |||
| 205 | declare 'StreamingComputationRanges', | ||
| 206 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::StreamingComputationRanges']; | ||
| 207 | |||
| 208 | coerce 'StreamingComputationRanges', | ||
| 209 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::StreamingComputationRanges'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedStreamingComputationRanges', | ||
| 212 | as ArrayRef[StreamingComputationRanges()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedStreamingComputationRanges', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::StreamingComputationRanges'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringStreamingComputationRanges', | ||
| 218 | as HashRef[StreamingComputationRanges()]; | ||
| 219 | |||
| 220 | declare 'StreamingApplianceSnapshotConfig', | ||
| 221 | as InstanceOf['Google::Dataflow::V1beta3::Streaming::StreamingApplianceSnapshotConfig']; | ||
| 222 | |||
| 223 | coerce 'StreamingApplianceSnapshotConfig', | ||
| 224 | from HashRef, via { 'Google::Dataflow::V1beta3::Streaming::StreamingApplianceSnapshotConfig'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedStreamingApplianceSnapshotConfig', | ||
| 227 | as ArrayRef[StreamingApplianceSnapshotConfig()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedStreamingApplianceSnapshotConfig', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Dataflow::V1beta3::Streaming::StreamingApplianceSnapshotConfig'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringStreamingApplianceSnapshotConfig', | ||
| 233 | as HashRef[StreamingApplianceSnapshotConfig()]; | ||
| 234 | |||
| 235 | 1; | ||
| 236 | |||
| 237 | __END__ |