blob: 1be966ff1e40d26580aacbc56d3295edea254538 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.message
import pyspark.sql.connect.proto.expressions_pb2
import pyspark.sql.connect.proto.relations_pb2
import sys
if sys.version_info >= (3, 8):
import typing as typing_extensions
else:
import typing_extensions
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class ExamplePluginRelation(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
INPUT_FIELD_NUMBER: builtins.int
CUSTOM_FIELD_FIELD_NUMBER: builtins.int
@property
def input(self) -> pyspark.sql.connect.proto.relations_pb2.Relation: ...
custom_field: builtins.str
def __init__(
self,
*,
input: pyspark.sql.connect.proto.relations_pb2.Relation | None = ...,
custom_field: builtins.str = ...,
) -> None: ...
def HasField(
self, field_name: typing_extensions.Literal["input", b"input"]
) -> builtins.bool: ...
def ClearField(
self,
field_name: typing_extensions.Literal["custom_field", b"custom_field", "input", b"input"],
) -> None: ...
global___ExamplePluginRelation = ExamplePluginRelation
class ExamplePluginExpression(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
CHILD_FIELD_NUMBER: builtins.int
CUSTOM_FIELD_FIELD_NUMBER: builtins.int
@property
def child(self) -> pyspark.sql.connect.proto.expressions_pb2.Expression: ...
custom_field: builtins.str
def __init__(
self,
*,
child: pyspark.sql.connect.proto.expressions_pb2.Expression | None = ...,
custom_field: builtins.str = ...,
) -> None: ...
def HasField(
self, field_name: typing_extensions.Literal["child", b"child"]
) -> builtins.bool: ...
def ClearField(
self,
field_name: typing_extensions.Literal["child", b"child", "custom_field", b"custom_field"],
) -> None: ...
global___ExamplePluginExpression = ExamplePluginExpression
class ExamplePluginCommand(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
CUSTOM_FIELD_FIELD_NUMBER: builtins.int
custom_field: builtins.str
def __init__(
self,
*,
custom_field: builtins.str = ...,
) -> None: ...
def ClearField(
self, field_name: typing_extensions.Literal["custom_field", b"custom_field"]
) -> None: ...
global___ExamplePluginCommand = ExamplePluginCommand