| # |
| # 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. |
| # |
| # -*- coding: utf-8 -*- |
| # Generated by the protocol buffer compiler. DO NOT EDIT! |
| # NO CHECKED-IN PROTOBUF GENCODE |
| # source: spark/connect/ml_common.proto |
| # Protobuf Python Version: 6.33.5 |
| """Generated protocol buffer code.""" |
| |
| from google.protobuf import descriptor as _descriptor |
| from google.protobuf import descriptor_pool as _descriptor_pool |
| from google.protobuf import runtime_version as _runtime_version |
| from google.protobuf import symbol_database as _symbol_database |
| from google.protobuf.internal import builder as _builder |
| |
| _runtime_version.ValidateProtobufRuntimeVersion( |
| _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "spark/connect/ml_common.proto" |
| ) |
| # @@protoc_insertion_point(imports) |
| |
| _sym_db = _symbol_database.Default() |
| |
| |
| from pyspark.sql.connect.proto import expressions_pb2 as spark_dot_connect_dot_expressions__pb2 |
| |
| |
| DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( |
| b'\n\x1dspark/connect/ml_common.proto\x12\rspark.connect\x1a\x1fspark/connect/expressions.proto"\xa5\x01\n\x08MlParams\x12;\n\x06params\x18\x01 \x03(\x0b\x32#.spark.connect.MlParams.ParamsEntryR\x06params\x1a\\\n\x0bParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32!.spark.connect.Expression.LiteralR\x05value:\x02\x38\x01"\x90\x02\n\nMlOperator\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n\x03uid\x18\x02 \x01(\tR\x03uid\x12:\n\x04type\x18\x03 \x01(\x0e\x32&.spark.connect.MlOperator.OperatorTypeR\x04type"\x9f\x01\n\x0cOperatorType\x12\x1d\n\x19OPERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17OPERATOR_TYPE_ESTIMATOR\x10\x01\x12\x1d\n\x19OPERATOR_TYPE_TRANSFORMER\x10\x02\x12\x1b\n\x17OPERATOR_TYPE_EVALUATOR\x10\x03\x12\x17\n\x13OPERATOR_TYPE_MODEL\x10\x04"\x1b\n\tObjectRef\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02idB6\n\x1eorg.apache.spark.connect.protoP\x01Z\x12internal/generatedb\x06proto3' |
| ) |
| |
| _globals = globals() |
| _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
| _builder.BuildTopDescriptorsAndMessages( |
| DESCRIPTOR, "pyspark.sql.connect.proto.ml_common_pb2", _globals |
| ) |
| if not _descriptor._USE_C_DESCRIPTORS: |
| _globals["DESCRIPTOR"]._loaded_options = None |
| _globals[ |
| "DESCRIPTOR" |
| ]._serialized_options = b"\n\036org.apache.spark.connect.protoP\001Z\022internal/generated" |
| _globals["_MLPARAMS_PARAMSENTRY"]._loaded_options = None |
| _globals["_MLPARAMS_PARAMSENTRY"]._serialized_options = b"8\001" |
| _globals["_MLPARAMS"]._serialized_start = 82 |
| _globals["_MLPARAMS"]._serialized_end = 247 |
| _globals["_MLPARAMS_PARAMSENTRY"]._serialized_start = 155 |
| _globals["_MLPARAMS_PARAMSENTRY"]._serialized_end = 247 |
| _globals["_MLOPERATOR"]._serialized_start = 250 |
| _globals["_MLOPERATOR"]._serialized_end = 522 |
| _globals["_MLOPERATOR_OPERATORTYPE"]._serialized_start = 363 |
| _globals["_MLOPERATOR_OPERATORTYPE"]._serialized_end = 522 |
| _globals["_OBJECTREF"]._serialized_start = 524 |
| _globals["_OBJECTREF"]._serialized_end = 551 |
| # @@protoc_insertion_point(module_scope) |