@@ -16,25 +16,23 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616See the License for the specific language governing permissions and
1717limitations under the License.
1818"""
19+
1920import builtins
2021import collections .abc
2122import google .protobuf .descriptor
2223import google .protobuf .internal .containers
2324import google .protobuf .message
24- import sys
25-
26- if sys .version_info >= (3 , 8 ):
27- import typing as typing_extensions
28- else :
29- import typing_extensions
25+ import typing
3026
3127DESCRIPTOR : google .protobuf .descriptor .FileDescriptor
3228
29+ @typing .final
3330class FileFormat (google .protobuf .message .Message ):
3431 """Defines the file format encoding the features/entity data in files"""
3532
3633 DESCRIPTOR : google .protobuf .descriptor .Descriptor
3734
35+ @typing .final
3836 class ParquetFormat (google .protobuf .message .Message ):
3937 """Defines options for the Parquet data format"""
4038
@@ -53,26 +51,30 @@ class FileFormat(google.protobuf.message.Message):
5351 """Deprecated: Delta Lake is a table format, not a file format.
5452 Use TableFormat.DeltaFormat instead for Delta Lake support.
5553 """
54+
5655 def __init__ (
5756 self ,
5857 * ,
5958 parquet_format : global___FileFormat .ParquetFormat | None = ...,
6059 delta_format : global___TableFormat .DeltaFormat | None = ...,
6160 ) -> None : ...
62- def HasField (self , field_name : typing_extensions .Literal ["delta_format" , b"delta_format" , "format" , b"format" , "parquet_format" , b"parquet_format" ]) -> builtins .bool : ...
63- def ClearField (self , field_name : typing_extensions .Literal ["delta_format" , b"delta_format" , "format" , b"format" , "parquet_format" , b"parquet_format" ]) -> None : ...
64- def WhichOneof (self , oneof_group : typing_extensions .Literal ["format" , b"format" ]) -> typing_extensions .Literal ["parquet_format" , "delta_format" ] | None : ...
61+ def HasField (self , field_name : typing .Literal ["delta_format" , b"delta_format" , "format" , b"format" , "parquet_format" , b"parquet_format" ]) -> builtins .bool : ...
62+ def ClearField (self , field_name : typing .Literal ["delta_format" , b"delta_format" , "format" , b"format" , "parquet_format" , b"parquet_format" ]) -> None : ...
63+ def WhichOneof (self , oneof_group : typing .Literal ["format" , b"format" ]) -> typing .Literal ["parquet_format" , "delta_format" ] | None : ...
6564
6665global___FileFormat = FileFormat
6766
67+ @typing .final
6868class TableFormat (google .protobuf .message .Message ):
6969 DESCRIPTOR : google .protobuf .descriptor .Descriptor
7070
71+ @typing .final
7172 class IcebergFormat (google .protobuf .message .Message ):
7273 """Defines options for Apache Iceberg table format"""
7374
7475 DESCRIPTOR : google .protobuf .descriptor .Descriptor
7576
77+ @typing .final
7678 class PropertiesEntry (google .protobuf .message .Message ):
7779 DESCRIPTOR : google .protobuf .descriptor .Descriptor
7880
@@ -86,7 +88,7 @@ class TableFormat(google.protobuf.message.Message):
8688 key : builtins .str = ...,
8789 value : builtins .str = ...,
8890 ) -> None : ...
89- def ClearField (self , field_name : typing_extensions .Literal ["key" , b"key" , "value" , b"value" ]) -> None : ...
91+ def ClearField (self , field_name : typing .Literal ["key" , b"key" , "value" , b"value" ]) -> None : ...
9092
9193 CATALOG_FIELD_NUMBER : builtins .int
9294 NAMESPACE_FIELD_NUMBER : builtins .int
@@ -100,20 +102,23 @@ class TableFormat(google.protobuf.message.Message):
100102 """Additional properties for Iceberg configuration
101103 Examples: warehouse location, snapshot-id, as-of-timestamp, etc.
102104 """
105+
103106 def __init__ (
104107 self ,
105108 * ,
106109 catalog : builtins .str = ...,
107110 namespace : builtins .str = ...,
108111 properties : collections .abc .Mapping [builtins .str , builtins .str ] | None = ...,
109112 ) -> None : ...
110- def ClearField (self , field_name : typing_extensions .Literal ["catalog" , b"catalog" , "namespace" , b"namespace" , "properties" , b"properties" ]) -> None : ...
113+ def ClearField (self , field_name : typing .Literal ["catalog" , b"catalog" , "namespace" , b"namespace" , "properties" , b"properties" ]) -> None : ...
111114
115+ @typing .final
112116 class DeltaFormat (google .protobuf .message .Message ):
113117 """Defines options for Delta Lake table format"""
114118
115119 DESCRIPTOR : google .protobuf .descriptor .Descriptor
116120
121+ @typing .final
117122 class PropertiesEntry (google .protobuf .message .Message ):
118123 DESCRIPTOR : google .protobuf .descriptor .Descriptor
119124
@@ -127,7 +132,7 @@ class TableFormat(google.protobuf.message.Message):
127132 key : builtins .str = ...,
128133 value : builtins .str = ...,
129134 ) -> None : ...
130- def ClearField (self , field_name : typing_extensions .Literal ["key" , b"key" , "value" , b"value" ]) -> None : ...
135+ def ClearField (self , field_name : typing .Literal ["key" , b"key" , "value" , b"value" ]) -> None : ...
131136
132137 CHECKPOINT_LOCATION_FIELD_NUMBER : builtins .int
133138 PROPERTIES_FIELD_NUMBER : builtins .int
@@ -138,19 +143,22 @@ class TableFormat(google.protobuf.message.Message):
138143 """Additional properties for Delta configuration
139144 Examples: auto-optimize settings, vacuum settings, etc.
140145 """
146+
141147 def __init__ (
142148 self ,
143149 * ,
144150 checkpoint_location : builtins .str = ...,
145151 properties : collections .abc .Mapping [builtins .str , builtins .str ] | None = ...,
146152 ) -> None : ...
147- def ClearField (self , field_name : typing_extensions .Literal ["checkpoint_location" , b"checkpoint_location" , "properties" , b"properties" ]) -> None : ...
153+ def ClearField (self , field_name : typing .Literal ["checkpoint_location" , b"checkpoint_location" , "properties" , b"properties" ]) -> None : ...
148154
155+ @typing .final
149156 class HudiFormat (google .protobuf .message .Message ):
150157 """Defines options for Apache Hudi table format"""
151158
152159 DESCRIPTOR : google .protobuf .descriptor .Descriptor
153160
161+ @typing .final
154162 class PropertiesEntry (google .protobuf .message .Message ):
155163 DESCRIPTOR : google .protobuf .descriptor .Descriptor
156164
@@ -164,7 +172,7 @@ class TableFormat(google.protobuf.message.Message):
164172 key : builtins .str = ...,
165173 value : builtins .str = ...,
166174 ) -> None : ...
167- def ClearField (self , field_name : typing_extensions .Literal ["key" , b"key" , "value" , b"value" ]) -> None : ...
175+ def ClearField (self , field_name : typing .Literal ["key" , b"key" , "value" , b"value" ]) -> None : ...
168176
169177 TABLE_TYPE_FIELD_NUMBER : builtins .int
170178 RECORD_KEY_FIELD_NUMBER : builtins .int
@@ -181,6 +189,7 @@ class TableFormat(google.protobuf.message.Message):
181189 """Additional properties for Hudi configuration
182190 Examples: compaction strategy, indexing options, etc.
183191 """
192+
184193 def __init__ (
185194 self ,
186195 * ,
@@ -189,7 +198,7 @@ class TableFormat(google.protobuf.message.Message):
189198 precombine_field : builtins .str = ...,
190199 properties : collections .abc .Mapping [builtins .str , builtins .str ] | None = ...,
191200 ) -> None : ...
192- def ClearField (self , field_name : typing_extensions .Literal ["precombine_field" , b"precombine_field" , "properties" , b"properties" , "record_key" , b"record_key" , "table_type" , b"table_type" ]) -> None : ...
201+ def ClearField (self , field_name : typing .Literal ["precombine_field" , b"precombine_field" , "properties" , b"properties" , "record_key" , b"record_key" , "table_type" , b"table_type" ]) -> None : ...
193202
194203 ICEBERG_FORMAT_FIELD_NUMBER : builtins .int
195204 DELTA_FORMAT_FIELD_NUMBER : builtins .int
@@ -207,17 +216,19 @@ class TableFormat(google.protobuf.message.Message):
207216 delta_format : global___TableFormat .DeltaFormat | None = ...,
208217 hudi_format : global___TableFormat .HudiFormat | None = ...,
209218 ) -> None : ...
210- def HasField (self , field_name : typing_extensions .Literal ["delta_format" , b"delta_format" , "format" , b"format" , "hudi_format" , b"hudi_format" , "iceberg_format" , b"iceberg_format" ]) -> builtins .bool : ...
211- def ClearField (self , field_name : typing_extensions .Literal ["delta_format" , b"delta_format" , "format" , b"format" , "hudi_format" , b"hudi_format" , "iceberg_format" , b"iceberg_format" ]) -> None : ...
212- def WhichOneof (self , oneof_group : typing_extensions .Literal ["format" , b"format" ]) -> typing_extensions .Literal ["iceberg_format" , "delta_format" , "hudi_format" ] | None : ...
219+ def HasField (self , field_name : typing .Literal ["delta_format" , b"delta_format" , "format" , b"format" , "hudi_format" , b"hudi_format" , "iceberg_format" , b"iceberg_format" ]) -> builtins .bool : ...
220+ def ClearField (self , field_name : typing .Literal ["delta_format" , b"delta_format" , "format" , b"format" , "hudi_format" , b"hudi_format" , "iceberg_format" , b"iceberg_format" ]) -> None : ...
221+ def WhichOneof (self , oneof_group : typing .Literal ["format" , b"format" ]) -> typing .Literal ["iceberg_format" , "delta_format" , "hudi_format" ] | None : ...
213222
214223global___TableFormat = TableFormat
215224
225+ @typing .final
216226class StreamFormat (google .protobuf .message .Message ):
217227 """Defines the data format encoding features/entity data in data streams"""
218228
219229 DESCRIPTOR : google .protobuf .descriptor .Descriptor
220230
231+ @typing .final
221232 class ProtoFormat (google .protobuf .message .Message ):
222233 """Defines options for the protobuf data format"""
223234
@@ -233,8 +244,9 @@ class StreamFormat(google.protobuf.message.Message):
233244 * ,
234245 class_path : builtins .str = ...,
235246 ) -> None : ...
236- def ClearField (self , field_name : typing_extensions .Literal ["class_path" , b"class_path" ]) -> None : ...
247+ def ClearField (self , field_name : typing .Literal ["class_path" , b"class_path" ]) -> None : ...
237248
249+ @typing .final
238250 class AvroFormat (google .protobuf .message .Message ):
239251 """Defines options for the avro data format"""
240252
@@ -250,8 +262,9 @@ class StreamFormat(google.protobuf.message.Message):
250262 * ,
251263 schema_json : builtins .str = ...,
252264 ) -> None : ...
253- def ClearField (self , field_name : typing_extensions .Literal ["schema_json" , b"schema_json" ]) -> None : ...
265+ def ClearField (self , field_name : typing .Literal ["schema_json" , b"schema_json" ]) -> None : ...
254266
267+ @typing .final
255268 class JsonFormat (google .protobuf .message .Message ):
256269 DESCRIPTOR : google .protobuf .descriptor .Descriptor
257270
@@ -262,7 +275,7 @@ class StreamFormat(google.protobuf.message.Message):
262275 * ,
263276 schema_json : builtins .str = ...,
264277 ) -> None : ...
265- def ClearField (self , field_name : typing_extensions .Literal ["schema_json" , b"schema_json" ]) -> None : ...
278+ def ClearField (self , field_name : typing .Literal ["schema_json" , b"schema_json" ]) -> None : ...
266279
267280 AVRO_FORMAT_FIELD_NUMBER : builtins .int
268281 PROTO_FORMAT_FIELD_NUMBER : builtins .int
@@ -280,8 +293,8 @@ class StreamFormat(google.protobuf.message.Message):
280293 proto_format : global___StreamFormat .ProtoFormat | None = ...,
281294 json_format : global___StreamFormat .JsonFormat | None = ...,
282295 ) -> None : ...
283- def HasField (self , field_name : typing_extensions .Literal ["avro_format" , b"avro_format" , "format" , b"format" , "json_format" , b"json_format" , "proto_format" , b"proto_format" ]) -> builtins .bool : ...
284- def ClearField (self , field_name : typing_extensions .Literal ["avro_format" , b"avro_format" , "format" , b"format" , "json_format" , b"json_format" , "proto_format" , b"proto_format" ]) -> None : ...
285- def WhichOneof (self , oneof_group : typing_extensions .Literal ["format" , b"format" ]) -> typing_extensions .Literal ["avro_format" , "proto_format" , "json_format" ] | None : ...
296+ def HasField (self , field_name : typing .Literal ["avro_format" , b"avro_format" , "format" , b"format" , "json_format" , b"json_format" , "proto_format" , b"proto_format" ]) -> builtins .bool : ...
297+ def ClearField (self , field_name : typing .Literal ["avro_format" , b"avro_format" , "format" , b"format" , "json_format" , b"json_format" , "proto_format" , b"proto_format" ]) -> None : ...
298+ def WhichOneof (self , oneof_group : typing .Literal ["format" , b"format" ]) -> typing .Literal ["avro_format" , "proto_format" , "json_format" ] | None : ...
286299
287300global___StreamFormat = StreamFormat
0 commit comments