diff --git a/README.md b/README.md index ea07b61..9dc5be6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Proto files here are used in [STAC](https://github.com/nearspacelabs/stac-python-client) service and in [geometry service](https://github.com/geo-grpc/geometry-chain) -Build new versions using `generate.sh` from proto directory (requires docker): +Build new versions using `generate.sh` from within proto directory (requires docker): ```bash ./generate.sh ``` diff --git a/copy_mono.sh b/copy_mono.sh index 82fd635..1bc8612 100755 --- a/copy_mono.sh +++ b/copy_mono.sh @@ -10,5 +10,5 @@ cp ../../nearspacelabs/mono/java/geometry-chain/settings.gradle ./java/geometry- # Copy Python from mono cp -r ../../nearspacelabs/mono/python/epl_geometry ./python -cp -r ../../nearspacelabs/mono/python/epl_protobuf ./python +cp -r ../../nearspacelabs/mono/python/epl_protobuf_v1 ./python # Copy Python from mono \ No newline at end of file diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 2e606e4..00c3031 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -19,7 +19,7 @@ else() /usr/lib/x86_64-linux-gnu/libjansson.so) endif() -add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/protobuf-lib) +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/epl-protobuf-v1) if (APPLE) set(PROJECT_INCLUDES ${CMAKE_SOURCE_DIR}/src /usr/local/include/google/protobuf) @@ -29,7 +29,7 @@ endif() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17") -target_link_libraries(protobuf_lib) +target_link_libraries(epl_protobuf_v1) enable_testing() diff --git a/cpp/epl-protobuf-v1/CMakeLists.txt b/cpp/epl-protobuf-v1/CMakeLists.txt new file mode 100644 index 0000000..6560fd4 --- /dev/null +++ b/cpp/epl-protobuf-v1/CMakeLists.txt @@ -0,0 +1,44 @@ +cmake_minimum_required(VERSION 3.13.4) +project(epl_protobuf_v1) +set(CMAKE_VERBOSE_MAKEFILE ON) + +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../cmake") + +find_package(Protobuf REQUIRED) +find_package(GRPC REQUIRED) + +set(protobuf_MODULE_COMPATIBLE TRUE) + +message(STATUS "Using protobuf ${protobuf_VERSION}") + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17") + +set(${PROJECT_NAME}_INCLUDE + /usr/local/include + ${PROTO_SRC_DIR} + /usr/local/include/grpc++ + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1 + CACHE INTERNAL "${PROJECT_NAME}: Include Directories" FORCE) + +include_directories(${${PROJECT_NAME}_INCLUDE}) + +add_library(${PROJECT_NAME} + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/geometry.pb.cc + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/geometry.pb.h + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/geometry_service.grpc.pb.cc + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/geometry_service.grpc.pb.h + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/geometry_service.pb.cc + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/geometry_service.pb.h + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/query.pb.cc + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/query.pb.h + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/stac.pb.cc + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/stac.pb.h + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/stac_service.grpc.pb.cc + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/stac_service.grpc.pb.h + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/stac_service.pb.cc + ${CMAKE_SOURCE_DIR}/epl-protobuf-v1/epl/protobuf/v1/stac_service.pb.h + ) + +target_link_libraries(${PROJECT_NAME} + gRPC::grpc++_reflection + protobuf::libprotobuf) \ No newline at end of file diff --git a/cpp/protobuf-lib/epl/protobuf/v1/geometry.pb.cc b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry.pb.cc similarity index 77% rename from cpp/protobuf-lib/epl/protobuf/v1/geometry.pb.cc rename to cpp/epl-protobuf-v1/epl/protobuf/v1/geometry.pb.cc index c6f8f5c..03cf4bc 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/geometry.pb.cc +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry.pb.cc @@ -14,501 +14,356 @@ #include // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GeodeticInverse_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<15> scc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GeometryResponse_RelateMapEntry_DoNotUse_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_AffineTransform_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Buffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Params_Clip_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Convex_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Cut_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Densify_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Generalize_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_GeneralizeByArea_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_GeodeticBuffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Intersection_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Offset_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_RandomPoints_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Relate_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Simplify_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ProjectionData_Custom_epl_2fprotobuf_2fv1_2fgeometry_2eproto; + +PROTOBUF_PRAGMA_INIT_SEG namespace epl { namespace protobuf { namespace v1 { -class GeometryDataDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr wkt_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr geojson_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr wkb_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr esri_shape_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ewkb_; -} _GeometryData_default_instance_; -class ProjectionData_CustomDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ProjectionData_Custom_default_instance_; -class ProjectionDataDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - ::PROTOBUF_NAMESPACE_ID::int32 epsg_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr proj4_; - const ::epl::protobuf::v1::ProjectionData_Custom* custom_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr wkt_; -} _ProjectionData_default_instance_; -class EnvelopeDataDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _EnvelopeData_default_instance_; -class GeometryRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - const ::epl::protobuf::v1::GeometryData* geometry_; - const ::epl::protobuf::v1::GeometryData* left_geometry_; - const ::epl::protobuf::v1::GeometryRequest* geometry_request_; - const ::epl::protobuf::v1::GeometryRequest* left_geometry_request_; - const ::epl::protobuf::v1::GeometryData* right_geometry_; - const ::epl::protobuf::v1::GeometryRequest* right_geometry_request_; - const ::epl::protobuf::v1::Params_Buffer* buffer_params_; - const ::epl::protobuf::v1::Params_Convex* convex_params_; - const ::epl::protobuf::v1::Params_Relate* relate_params_; - const ::epl::protobuf::v1::Params_RandomPoints* random_points_params_; - const ::epl::protobuf::v1::Params_Generalize* generalize_params_; - const ::epl::protobuf::v1::Params_Intersection* intersection_params_; - const ::epl::protobuf::v1::Params_Offset* offset_params_; - const ::epl::protobuf::v1::Params_Cut* cut_params_; - const ::epl::protobuf::v1::Params_Clip* clip_params_; - const ::epl::protobuf::v1::Params_Densify* densify_params_; - const ::epl::protobuf::v1::Params_Simplify* simplify_params_; - const ::epl::protobuf::v1::Params_GeneralizeByArea* generalize_by_area_params_; - const ::epl::protobuf::v1::Params_AffineTransform* affine_transform_params_; - const ::epl::protobuf::v1::Params_GeodeticBuffer* geodetic_buffer_params_; -} _GeometryRequest_default_instance_; -class GeodeticInverseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GeodeticInverse_default_instance_; -class GeometryResponse_RelateMapEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GeometryResponse_RelateMapEntry_DoNotUse_default_instance_; -class GeometryResponseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - const ::epl::protobuf::v1::GeometryData* geometry_; - bool spatial_relationship_; - double measure_; - const ::epl::protobuf::v1::GeodeticInverse* geodetic_inverse_; -} _GeometryResponse_default_instance_; -class FileRequestChunkDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _FileRequestChunk_default_instance_; -class Params_BufferDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Buffer_default_instance_; -class Params_GeodeticBufferDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_GeodeticBuffer_default_instance_; -class Params_ConvexDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Convex_default_instance_; -class Params_RelateDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Relate_default_instance_; -class Params_RandomPointsDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_RandomPoints_default_instance_; -class Params_GeneralizeDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Generalize_default_instance_; -class Params_GeneralizeByAreaDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_GeneralizeByArea_default_instance_; -class Params_IntersectionDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Intersection_default_instance_; -class Params_OffsetDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Offset_default_instance_; -class Params_CutDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Cut_default_instance_; -class Params_ClipDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Clip_default_instance_; -class Params_DensifyDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Densify_default_instance_; -class Params_SimplifyDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_Simplify_default_instance_; -class Params_AffineTransformDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_AffineTransform_default_instance_; -class ParamsDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Params_default_instance_; +constexpr GeometryData::GeometryData( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : feature_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , proj_(nullptr) + , envelope_(nullptr) + , geometry_id_(PROTOBUF_ULONGLONG(0)) + , simple_(0) + + , _oneof_case_{}{} +struct GeometryDataDefaultTypeInternal { + constexpr GeometryDataDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GeometryDataDefaultTypeInternal() {} + union { + GeometryData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GeometryDataDefaultTypeInternal _GeometryData_default_instance_; +constexpr ProjectionData_Custom::ProjectionData_Custom( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : lon_0_(0) + , lat_0_(0) + , cs_type_(0) +{} +struct ProjectionData_CustomDefaultTypeInternal { + constexpr ProjectionData_CustomDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ProjectionData_CustomDefaultTypeInternal() {} + union { + ProjectionData_Custom _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ProjectionData_CustomDefaultTypeInternal _ProjectionData_Custom_default_instance_; +constexpr ProjectionData::ProjectionData( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : shape_() + , _shape_cached_byte_size_() + , transform_() + , _transform_cached_byte_size_() + , geometry_(nullptr) + , bbox_(nullptr) + , centroid_(nullptr) + , _oneof_case_{}{} +struct ProjectionDataDefaultTypeInternal { + constexpr ProjectionDataDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ProjectionDataDefaultTypeInternal() {} + union { + ProjectionData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ProjectionDataDefaultTypeInternal _ProjectionData_default_instance_; +constexpr EnvelopeData::EnvelopeData( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : proj_(nullptr) + , xmin_(0) + , ymin_(0) + , xmax_(0) + , ymax_(0) + , zmin_(0) + , zmax_(0){} +struct EnvelopeDataDefaultTypeInternal { + constexpr EnvelopeDataDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~EnvelopeDataDefaultTypeInternal() {} + union { + EnvelopeData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EnvelopeDataDefaultTypeInternal _EnvelopeData_default_instance_; +constexpr GeometryRequest::GeometryRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : operation_proj_(nullptr) + , result_proj_(nullptr) + , operator__(0) + + , result_encoding_(0) + + , _oneof_case_{}{} +struct GeometryRequestDefaultTypeInternal { + constexpr GeometryRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GeometryRequestDefaultTypeInternal() {} + union { + GeometryRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GeometryRequestDefaultTypeInternal _GeometryRequest_default_instance_; +constexpr GeodeticInverse::GeodeticInverse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : az12_(0) + , az21_(0) + , distance_(0){} +struct GeodeticInverseDefaultTypeInternal { + constexpr GeodeticInverseDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GeodeticInverseDefaultTypeInternal() {} + union { + GeodeticInverse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GeodeticInverseDefaultTypeInternal _GeodeticInverse_default_instance_; +constexpr GeometryResponse_RelateMapEntry_DoNotUse::GeometryResponse_RelateMapEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} +struct GeometryResponse_RelateMapEntry_DoNotUseDefaultTypeInternal { + constexpr GeometryResponse_RelateMapEntry_DoNotUseDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GeometryResponse_RelateMapEntry_DoNotUseDefaultTypeInternal() {} + union { + GeometryResponse_RelateMapEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GeometryResponse_RelateMapEntry_DoNotUseDefaultTypeInternal _GeometryResponse_RelateMapEntry_DoNotUse_default_instance_; +constexpr GeometryResponse::GeometryResponse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : relate_map_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) + , _oneof_case_{}{} +struct GeometryResponseDefaultTypeInternal { + constexpr GeometryResponseDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GeometryResponseDefaultTypeInternal() {} + union { + GeometryResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GeometryResponseDefaultTypeInternal _GeometryResponse_default_instance_; +constexpr FileRequestChunk::FileRequestChunk( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : data_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , file_name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , nested_request_(nullptr) + , input_proj_(nullptr) + , result_proj_(nullptr) + , result_encoding_type_(0) + + , is_last_chunk_(false) + , size_(PROTOBUF_LONGLONG(0)) + , offset_(PROTOBUF_LONGLONG(0)){} +struct FileRequestChunkDefaultTypeInternal { + constexpr FileRequestChunkDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~FileRequestChunkDefaultTypeInternal() {} + union { + FileRequestChunk _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FileRequestChunkDefaultTypeInternal _FileRequestChunk_default_instance_; +constexpr Params_Buffer::Params_Buffer( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : distance_(0) + , max_deviation_(0) + , union_result_(false) + , max_vertices_in_full_circle_(0){} +struct Params_BufferDefaultTypeInternal { + constexpr Params_BufferDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_BufferDefaultTypeInternal() {} + union { + Params_Buffer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_BufferDefaultTypeInternal _Params_Buffer_default_instance_; +constexpr Params_GeodeticBuffer::Params_GeodeticBuffer( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : distance_(0) + , max_deviation_(0) + , union_result_(false) + , max_vertices_in_full_circle_(0){} +struct Params_GeodeticBufferDefaultTypeInternal { + constexpr Params_GeodeticBufferDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_GeodeticBufferDefaultTypeInternal() {} + union { + Params_GeodeticBuffer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_GeodeticBufferDefaultTypeInternal _Params_GeodeticBuffer_default_instance_; +constexpr Params_Convex::Params_Convex( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : merge_(false){} +struct Params_ConvexDefaultTypeInternal { + constexpr Params_ConvexDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_ConvexDefaultTypeInternal() {} + union { + Params_Convex _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_ConvexDefaultTypeInternal _Params_Convex_default_instance_; +constexpr Params_Relate::Params_Relate( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : de_9im_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct Params_RelateDefaultTypeInternal { + constexpr Params_RelateDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_RelateDefaultTypeInternal() {} + union { + Params_Relate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_RelateDefaultTypeInternal _Params_Relate_default_instance_; +constexpr Params_RandomPoints::Params_RandomPoints( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : points_per_square_km_(0) + , seed_(PROTOBUF_LONGLONG(0)){} +struct Params_RandomPointsDefaultTypeInternal { + constexpr Params_RandomPointsDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_RandomPointsDefaultTypeInternal() {} + union { + Params_RandomPoints _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_RandomPointsDefaultTypeInternal _Params_RandomPoints_default_instance_; +constexpr Params_Generalize::Params_Generalize( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : max_deviation_(0) + , remove_degenerates_(false){} +struct Params_GeneralizeDefaultTypeInternal { + constexpr Params_GeneralizeDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_GeneralizeDefaultTypeInternal() {} + union { + Params_Generalize _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_GeneralizeDefaultTypeInternal _Params_Generalize_default_instance_; +constexpr Params_GeneralizeByArea::Params_GeneralizeByArea( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : percent_reduction_(0) + , max_point_count_(0) + , remove_degenerates_(false){} +struct Params_GeneralizeByAreaDefaultTypeInternal { + constexpr Params_GeneralizeByAreaDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_GeneralizeByAreaDefaultTypeInternal() {} + union { + Params_GeneralizeByArea _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_GeneralizeByAreaDefaultTypeInternal _Params_GeneralizeByArea_default_instance_; +constexpr Params_Intersection::Params_Intersection( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : dimension_mask_(0){} +struct Params_IntersectionDefaultTypeInternal { + constexpr Params_IntersectionDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_IntersectionDefaultTypeInternal() {} + union { + Params_Intersection _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_IntersectionDefaultTypeInternal _Params_Intersection_default_instance_; +constexpr Params_Offset::Params_Offset( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : distance_(0) + , bevel_ratio_(0) + , flatten_error_(0) + , join_type_(0) +{} +struct Params_OffsetDefaultTypeInternal { + constexpr Params_OffsetDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_OffsetDefaultTypeInternal() {} + union { + Params_Offset _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_OffsetDefaultTypeInternal _Params_Offset_default_instance_; +constexpr Params_Cut::Params_Cut( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : consider_touch_(false){} +struct Params_CutDefaultTypeInternal { + constexpr Params_CutDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_CutDefaultTypeInternal() {} + union { + Params_Cut _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_CutDefaultTypeInternal _Params_Cut_default_instance_; +constexpr Params_Clip::Params_Clip( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : envelope_(nullptr){} +struct Params_ClipDefaultTypeInternal { + constexpr Params_ClipDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_ClipDefaultTypeInternal() {} + union { + Params_Clip _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_ClipDefaultTypeInternal _Params_Clip_default_instance_; +constexpr Params_Densify::Params_Densify( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : max_length_(0){} +struct Params_DensifyDefaultTypeInternal { + constexpr Params_DensifyDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_DensifyDefaultTypeInternal() {} + union { + Params_Densify _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_DensifyDefaultTypeInternal _Params_Densify_default_instance_; +constexpr Params_Simplify::Params_Simplify( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : force_(false){} +struct Params_SimplifyDefaultTypeInternal { + constexpr Params_SimplifyDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_SimplifyDefaultTypeInternal() {} + union { + Params_Simplify _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_SimplifyDefaultTypeInternal _Params_Simplify_default_instance_; +constexpr Params_AffineTransform::Params_AffineTransform( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : x_offset_(0) + , y_offset_(0) + , geodetic_(false){} +struct Params_AffineTransformDefaultTypeInternal { + constexpr Params_AffineTransformDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Params_AffineTransformDefaultTypeInternal() {} + union { + Params_AffineTransform _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Params_AffineTransformDefaultTypeInternal _Params_AffineTransform_default_instance_; +constexpr Params::Params( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} +struct ParamsDefaultTypeInternal { + constexpr ParamsDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ParamsDefaultTypeInternal() {} + union { + Params _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ParamsDefaultTypeInternal _Params_default_instance_; } // namespace v1 } // namespace protobuf } // namespace epl -static void InitDefaultsscc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_GeometryData_default_instance_; - new (ptr) ::epl::protobuf::v1::GeometryData(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::epl::protobuf::v1::_ProjectionData_default_instance_; - new (ptr) ::epl::protobuf::v1::ProjectionData(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::epl::protobuf::v1::_EnvelopeData_default_instance_; - new (ptr) ::epl::protobuf::v1::EnvelopeData(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::GeometryData::InitAsDefaultInstance(); - ::epl::protobuf::v1::ProjectionData::InitAsDefaultInstance(); - ::epl::protobuf::v1::EnvelopeData::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, { - &scc_info_ProjectionData_Custom_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base,}}; - -static void InitDefaultsscc_info_FileRequestChunk_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_FileRequestChunk_default_instance_; - new (ptr) ::epl::protobuf::v1::FileRequestChunk(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::FileRequestChunk::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_FileRequestChunk_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_FileRequestChunk_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, { - &scc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base,}}; - -static void InitDefaultsscc_info_GeodeticInverse_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_GeodeticInverse_default_instance_; - new (ptr) ::epl::protobuf::v1::GeodeticInverse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::GeodeticInverse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GeodeticInverse_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GeodeticInverse_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_GeometryRequest_default_instance_; - new (ptr) ::epl::protobuf::v1::GeometryRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::GeometryRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<15> scc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 15, 0, InitDefaultsscc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, { - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Buffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Convex_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Relate_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_RandomPoints_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Generalize_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Intersection_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Offset_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Cut_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Clip_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Densify_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Simplify_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_GeneralizeByArea_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_AffineTransform_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_GeodeticBuffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base,}}; - -static void InitDefaultsscc_info_GeometryResponse_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_GeometryResponse_default_instance_; - new (ptr) ::epl::protobuf::v1::GeometryResponse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::GeometryResponse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_GeometryResponse_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_GeometryResponse_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, { - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_GeodeticInverse_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_GeometryResponse_RelateMapEntry_DoNotUse_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base,}}; - -static void InitDefaultsscc_info_GeometryResponse_RelateMapEntry_DoNotUse_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_GeometryResponse_RelateMapEntry_DoNotUse_default_instance_; - new (ptr) ::epl::protobuf::v1::GeometryResponse_RelateMapEntry_DoNotUse(); - } - ::epl::protobuf::v1::GeometryResponse_RelateMapEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GeometryResponse_RelateMapEntry_DoNotUse_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GeometryResponse_RelateMapEntry_DoNotUse_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_default_instance_; - new (ptr) ::epl::protobuf::v1::Params(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_AffineTransform_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_AffineTransform_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_AffineTransform(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_AffineTransform::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_AffineTransform_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_AffineTransform_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Buffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Buffer_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Buffer(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Buffer::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Buffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Buffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Clip_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Clip_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Clip(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Clip::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Params_Clip_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Params_Clip_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, { - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base,}}; - -static void InitDefaultsscc_info_Params_Convex_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Convex_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Convex(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Convex::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Convex_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Convex_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Cut_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Cut_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Cut(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Cut::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Cut_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Cut_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Densify_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Densify_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Densify(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Densify::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Densify_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Densify_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Generalize_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Generalize_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Generalize(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Generalize::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Generalize_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Generalize_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_GeneralizeByArea_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_GeneralizeByArea_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_GeneralizeByArea(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_GeneralizeByArea::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_GeneralizeByArea_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_GeneralizeByArea_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_GeodeticBuffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_GeodeticBuffer_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_GeodeticBuffer(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_GeodeticBuffer::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_GeodeticBuffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_GeodeticBuffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Intersection_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Intersection_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Intersection(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Intersection::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Intersection_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Intersection_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Offset_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Offset_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Offset(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Offset::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Offset_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Offset_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_RandomPoints_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_RandomPoints_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_RandomPoints(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_RandomPoints::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_RandomPoints_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_RandomPoints_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Relate_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Relate_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Relate(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Relate::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Relate_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Relate_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_Params_Simplify_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Params_Simplify_default_instance_; - new (ptr) ::epl::protobuf::v1::Params_Simplify(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Params_Simplify::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Params_Simplify_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Params_Simplify_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - -static void InitDefaultsscc_info_ProjectionData_Custom_epl_2fprotobuf_2fv1_2fgeometry_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_ProjectionData_Custom_default_instance_; - new (ptr) ::epl::protobuf::v1::ProjectionData_Custom(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::ProjectionData_Custom::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ProjectionData_Custom_epl_2fprotobuf_2fv1_2fgeometry_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ProjectionData_Custom_epl_2fprotobuf_2fv1_2fgeometry_2eproto}, {}}; - static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_epl_2fprotobuf_2fv1_2fgeometry_2eproto[24]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fgeometry_2eproto[6]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_epl_2fprotobuf_2fv1_2fgeometry_2eproto = nullptr; @@ -521,11 +376,11 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fgeometry ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryData, geometry_id_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryData, feature_id_), - offsetof(::epl::protobuf::v1::GeometryDataDefaultTypeInternal, wkt_), - offsetof(::epl::protobuf::v1::GeometryDataDefaultTypeInternal, geojson_), - offsetof(::epl::protobuf::v1::GeometryDataDefaultTypeInternal, wkb_), - offsetof(::epl::protobuf::v1::GeometryDataDefaultTypeInternal, esri_shape_), - offsetof(::epl::protobuf::v1::GeometryDataDefaultTypeInternal, ewkb_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryData, proj_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryData, envelope_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryData, simple_), @@ -543,10 +398,10 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fgeometry ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::ProjectionData, _oneof_case_[0]), ~0u, // no _weak_field_map_ - offsetof(::epl::protobuf::v1::ProjectionDataDefaultTypeInternal, epsg_), - offsetof(::epl::protobuf::v1::ProjectionDataDefaultTypeInternal, proj4_), - offsetof(::epl::protobuf::v1::ProjectionDataDefaultTypeInternal, custom_), - offsetof(::epl::protobuf::v1::ProjectionDataDefaultTypeInternal, wkt_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::ProjectionData, geometry_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::ProjectionData, bbox_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::ProjectionData, centroid_), @@ -570,30 +425,30 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fgeometry ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryRequest, _oneof_case_[0]), ~0u, // no _weak_field_map_ - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, geometry_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, left_geometry_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, geometry_request_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, left_geometry_request_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, right_geometry_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, right_geometry_request_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryRequest, operator__), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryRequest, result_encoding_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryRequest, operation_proj_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryRequest, result_proj_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, buffer_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, convex_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, relate_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, random_points_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, generalize_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, intersection_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, offset_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, cut_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, clip_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, densify_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, simplify_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, generalize_by_area_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, affine_transform_params_), - offsetof(::epl::protobuf::v1::GeometryRequestDefaultTypeInternal, geodetic_buffer_params_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryRequest, left_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryRequest, right_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryRequest, params_), @@ -619,10 +474,10 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fgeometry ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryResponse, _oneof_case_[0]), ~0u, // no _weak_field_map_ - offsetof(::epl::protobuf::v1::GeometryResponseDefaultTypeInternal, geometry_), - offsetof(::epl::protobuf::v1::GeometryResponseDefaultTypeInternal, spatial_relationship_), - offsetof(::epl::protobuf::v1::GeometryResponseDefaultTypeInternal, measure_), - offsetof(::epl::protobuf::v1::GeometryResponseDefaultTypeInternal, geodetic_inverse_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryResponse, relate_map_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::GeometryResponse, result_), ~0u, // no _has_bits_ @@ -938,43 +793,21 @@ const char descriptor_table_protodef_epl_2fprotobuf_2fv1_2fgeometry_2eproto[] PR "obuf/v1\242\002\004GMPB\252\002\023com.epl.protobuf.v1b\006pr" "oto3" ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_deps[1] = { -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_sccs[22] = { - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_FileRequestChunk_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_GeodeticInverse_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_GeometryResponse_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_GeometryResponse_RelateMapEntry_DoNotUse_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_AffineTransform_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Buffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Clip_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Convex_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Cut_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Densify_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Generalize_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_GeneralizeByArea_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_GeodeticBuffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Intersection_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Offset_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_RandomPoints_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Relate_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Params_Simplify_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_ProjectionData_Custom_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, -}; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_once; -static bool descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto = { - &descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_initialized, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fgeometry_2eproto, "epl/protobuf/v1/geometry.proto", 5484, - &descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_sccs, descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_deps, 22, 0, + false, false, 5484, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fgeometry_2eproto, "epl/protobuf/v1/geometry.proto", + &descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_once, nullptr, 0, 24, schemas, file_default_instances, TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto::offsets, - file_level_metadata_epl_2fprotobuf_2fv1_2fgeometry_2eproto, 24, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fgeometry_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fgeometry_2eproto, + file_level_metadata_epl_2fprotobuf_2fv1_2fgeometry_2eproto, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fgeometry_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fgeometry_2eproto, }; +PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata +descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(int index) { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); + return descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[index]; +} // Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_epl_2fprotobuf_2fv1_2fgeometry_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto), true); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_epl_2fprotobuf_2fv1_2fgeometry_2eproto(&descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); namespace epl { namespace protobuf { namespace v1 { @@ -1144,22 +977,6 @@ bool OperatorType_IsValid(int value) { // =================================================================== -void GeometryData::InitAsDefaultInstance() { - ::epl::protobuf::v1::_GeometryData_default_instance_.wkt_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::epl::protobuf::v1::_GeometryData_default_instance_.geojson_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::epl::protobuf::v1::_GeometryData_default_instance_.wkb_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::epl::protobuf::v1::_GeometryData_default_instance_.esri_shape_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::epl::protobuf::v1::_GeometryData_default_instance_.ewkb_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::epl::protobuf::v1::_GeometryData_default_instance_._instance.get_mutable()->proj_ = const_cast< ::epl::protobuf::v1::ProjectionData*>( - ::epl::protobuf::v1::ProjectionData::internal_default_instance()); - ::epl::protobuf::v1::_GeometryData_default_instance_._instance.get_mutable()->envelope_ = const_cast< ::epl::protobuf::v1::EnvelopeData*>( - ::epl::protobuf::v1::EnvelopeData::internal_default_instance()); -} class GeometryData::_Internal { public: static const ::epl::protobuf::v1::ProjectionData& proj(const GeometryData* msg); @@ -1174,18 +991,19 @@ const ::epl::protobuf::v1::EnvelopeData& GeometryData::_Internal::envelope(const GeometryData* msg) { return *msg->envelope_; } -GeometryData::GeometryData() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +GeometryData::GeometryData(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.GeometryData) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.GeometryData) } GeometryData::GeometryData(const GeometryData& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); feature_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_feature_id().empty()) { - feature_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.feature_id_); + feature_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_feature_id(), + GetArena()); } if (from._internal_has_proj()) { proj_ = new ::epl::protobuf::v1::ProjectionData(*from.proj_); @@ -1230,20 +1048,22 @@ GeometryData::GeometryData(const GeometryData& from) } void GeometryData::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - feature_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&proj_, 0, static_cast( - reinterpret_cast(&simple_) - - reinterpret_cast(&proj_)) + sizeof(simple_)); - clear_has_data(); +feature_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&proj_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&simple_) - + reinterpret_cast(&proj_)) + sizeof(simple_)); +clear_has_data(); } GeometryData::~GeometryData() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.GeometryData) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void GeometryData::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); feature_id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete proj_; if (this != internal_default_instance()) delete envelope_; @@ -1252,36 +1072,37 @@ void GeometryData::SharedDtor() { } } +void GeometryData::ArenaDtor(void* object) { + GeometryData* _this = reinterpret_cast< GeometryData* >(object); + (void)_this; +} +void GeometryData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void GeometryData::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GeometryData& GeometryData::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void GeometryData::clear_data() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.GeometryData) switch (data_case()) { case kWkt: { - data_.wkt_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.wkt_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kGeojson: { - data_.geojson_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.geojson_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kWkb: { - data_.wkb_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.wkb_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kEsriShape: { - data_.esri_shape_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.esri_shape_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kEwkb: { - data_.ewkb_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.ewkb_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DATA_NOT_SET: { @@ -1298,12 +1119,12 @@ void GeometryData::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - feature_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && proj_ != nullptr) { + feature_id_.ClearToEmpty(); + if (GetArena() == nullptr && proj_ != nullptr) { delete proj_; } proj_ = nullptr; - if (GetArenaNoVirtual() == nullptr && envelope_ != nullptr) { + if (GetArena() == nullptr && envelope_ != nullptr) { delete envelope_; } envelope_ = nullptr; @@ -1311,7 +1132,7 @@ void GeometryData::Clear() { reinterpret_cast(&simple_) - reinterpret_cast(&geometry_id_)) + sizeof(simple_)); clear_data(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* GeometryData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -1324,7 +1145,7 @@ const char* GeometryData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I // uint64 geometry_id = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - geometry_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + geometry_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -1388,7 +1209,7 @@ const char* GeometryData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I // .epl.protobuf.v1.SimpleState simple = 14; case 14: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_simple(static_cast<::epl::protobuf::v1::SimpleState>(val)); } else goto handle_unusual; @@ -1407,7 +1228,9 @@ const char* GeometryData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -1506,7 +1329,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* GeometryData::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.GeometryData) return target; @@ -1621,13 +1444,12 @@ void GeometryData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void GeometryData::MergeFrom(const GeometryData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.GeometryData) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.feature_id().size() > 0) { - - feature_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.feature_id_); + _internal_set_feature_id(from._internal_feature_id()); } if (from.has_proj()) { _internal_mutable_proj()->::epl::protobuf::v1::ProjectionData::MergeFrom(from._internal_proj()); @@ -1688,13 +1510,14 @@ bool GeometryData::IsInitialized() const { void GeometryData::InternalSwap(GeometryData* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - feature_id_.Swap(&other->feature_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(proj_, other->proj_); - swap(envelope_, other->envelope_); - swap(geometry_id_, other->geometry_id_); - swap(simple_, other->simple_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + feature_id_.Swap(&other->feature_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GeometryData, simple_) + + sizeof(GeometryData::simple_) + - PROTOBUF_FIELD_OFFSET(GeometryData, proj_)>( + reinterpret_cast(&proj_), + reinterpret_cast(&other->proj_)); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } @@ -1706,21 +1529,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GeometryData::GetMetadata() const { // =================================================================== -void ProjectionData_Custom::InitAsDefaultInstance() { -} class ProjectionData_Custom::_Internal { public: }; -ProjectionData_Custom::ProjectionData_Custom() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +ProjectionData_Custom::ProjectionData_Custom(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.ProjectionData.Custom) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.ProjectionData.Custom) } ProjectionData_Custom::ProjectionData_Custom(const ProjectionData_Custom& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&lon_0_, &from.lon_0_, static_cast(reinterpret_cast(&cs_type_) - reinterpret_cast(&lon_0_)) + sizeof(cs_type_)); @@ -1728,27 +1549,31 @@ ProjectionData_Custom::ProjectionData_Custom(const ProjectionData_Custom& from) } void ProjectionData_Custom::SharedCtor() { - ::memset(&lon_0_, 0, static_cast( - reinterpret_cast(&cs_type_) - - reinterpret_cast(&lon_0_)) + sizeof(cs_type_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&lon_0_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&cs_type_) - + reinterpret_cast(&lon_0_)) + sizeof(cs_type_)); } ProjectionData_Custom::~ProjectionData_Custom() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.ProjectionData.Custom) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void ProjectionData_Custom::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void ProjectionData_Custom::ArenaDtor(void* object) { + ProjectionData_Custom* _this = reinterpret_cast< ProjectionData_Custom* >(object); + (void)_this; +} +void ProjectionData_Custom::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void ProjectionData_Custom::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ProjectionData_Custom& ProjectionData_Custom::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ProjectionData_Custom_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void ProjectionData_Custom::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.ProjectionData.Custom) @@ -1759,7 +1584,7 @@ void ProjectionData_Custom::Clear() { ::memset(&lon_0_, 0, static_cast( reinterpret_cast(&cs_type_) - reinterpret_cast(&lon_0_)) + sizeof(cs_type_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* ProjectionData_Custom::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -1786,7 +1611,7 @@ const char* ProjectionData_Custom::_InternalParse(const char* ptr, ::PROTOBUF_NA // .epl.protobuf.v1.ProjectionData.CSType cs_type = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_cs_type(static_cast<::epl::protobuf::v1::ProjectionData_CSType>(val)); } else goto handle_unusual; @@ -1797,7 +1622,9 @@ const char* ProjectionData_Custom::_InternalParse(const char* ptr, ::PROTOBUF_NA ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -1838,7 +1665,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* ProjectionData_Custom::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.ProjectionData.Custom) return target; @@ -1895,7 +1722,7 @@ void ProjectionData_Custom::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& fr void ProjectionData_Custom::MergeFrom(const ProjectionData_Custom& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.ProjectionData.Custom) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1930,10 +1757,13 @@ bool ProjectionData_Custom::IsInitialized() const { void ProjectionData_Custom::InternalSwap(ProjectionData_Custom* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(lon_0_, other->lon_0_); - swap(lat_0_, other->lat_0_); - swap(cs_type_, other->cs_type_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ProjectionData_Custom, cs_type_) + + sizeof(ProjectionData_Custom::cs_type_) + - PROTOBUF_FIELD_OFFSET(ProjectionData_Custom, lon_0_)>( + reinterpret_cast(&lon_0_), + reinterpret_cast(&other->lon_0_)); } ::PROTOBUF_NAMESPACE_ID::Metadata ProjectionData_Custom::GetMetadata() const { @@ -1943,21 +1773,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata ProjectionData_Custom::GetMetadata() const { // =================================================================== -void ProjectionData::InitAsDefaultInstance() { - ::epl::protobuf::v1::_ProjectionData_default_instance_.epsg_ = 0; - ::epl::protobuf::v1::_ProjectionData_default_instance_.proj4_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::epl::protobuf::v1::_ProjectionData_default_instance_.custom_ = const_cast< ::epl::protobuf::v1::ProjectionData_Custom*>( - ::epl::protobuf::v1::ProjectionData_Custom::internal_default_instance()); - ::epl::protobuf::v1::_ProjectionData_default_instance_.wkt_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::epl::protobuf::v1::_ProjectionData_default_instance_._instance.get_mutable()->geometry_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); - ::epl::protobuf::v1::_ProjectionData_default_instance_._instance.get_mutable()->bbox_ = const_cast< ::epl::protobuf::v1::EnvelopeData*>( - ::epl::protobuf::v1::EnvelopeData::internal_default_instance()); - ::epl::protobuf::v1::_ProjectionData_default_instance_._instance.get_mutable()->centroid_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); -} class ProjectionData::_Internal { public: static const ::epl::protobuf::v1::ProjectionData_Custom& custom(const ProjectionData* msg); @@ -1983,10 +1798,11 @@ ProjectionData::_Internal::centroid(const ProjectionData* msg) { return *msg->centroid_; } void ProjectionData::set_allocated_custom(::epl::protobuf::v1::ProjectionData_Custom* custom) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_definition(); if (custom) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(custom); if (message_arena != submessage_arena) { custom = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, custom, submessage_arena); @@ -1996,17 +1812,19 @@ void ProjectionData::set_allocated_custom(::epl::protobuf::v1::ProjectionData_Cu } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.ProjectionData.custom) } -ProjectionData::ProjectionData() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +ProjectionData::ProjectionData(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + shape_(arena), + transform_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.ProjectionData) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.ProjectionData) } ProjectionData::ProjectionData(const ProjectionData& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), shape_(from.shape_), transform_(from.transform_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_geometry()) { geometry_ = new ::epl::protobuf::v1::GeometryData(*from.geometry_); } else { @@ -2048,19 +1866,21 @@ ProjectionData::ProjectionData(const ProjectionData& from) } void ProjectionData::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - ::memset(&geometry_, 0, static_cast( - reinterpret_cast(¢roid_) - - reinterpret_cast(&geometry_)) + sizeof(centroid_)); - clear_has_definition(); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&geometry_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(¢roid_) - + reinterpret_cast(&geometry_)) + sizeof(centroid_)); +clear_has_definition(); } ProjectionData::~ProjectionData() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.ProjectionData) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void ProjectionData::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete geometry_; if (this != internal_default_instance()) delete bbox_; if (this != internal_default_instance()) delete centroid_; @@ -2069,14 +1889,15 @@ void ProjectionData::SharedDtor() { } } +void ProjectionData::ArenaDtor(void* object) { + ProjectionData* _this = reinterpret_cast< ProjectionData* >(object); + (void)_this; +} +void ProjectionData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void ProjectionData::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ProjectionData& ProjectionData::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void ProjectionData::clear_definition() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.ProjectionData) @@ -2086,15 +1907,17 @@ void ProjectionData::clear_definition() { break; } case kProj4: { - definition_.proj4_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + definition_.proj4_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kCustom: { - delete definition_.custom_; + if (GetArena() == nullptr) { + delete definition_.custom_; + } break; } case kWkt: { - definition_.wkt_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + definition_.wkt_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DEFINITION_NOT_SET: { @@ -2113,20 +1936,20 @@ void ProjectionData::Clear() { shape_.Clear(); transform_.Clear(); - if (GetArenaNoVirtual() == nullptr && geometry_ != nullptr) { + if (GetArena() == nullptr && geometry_ != nullptr) { delete geometry_; } geometry_ = nullptr; - if (GetArenaNoVirtual() == nullptr && bbox_ != nullptr) { + if (GetArena() == nullptr && bbox_ != nullptr) { delete bbox_; } bbox_ = nullptr; - if (GetArenaNoVirtual() == nullptr && centroid_ != nullptr) { + if (GetArena() == nullptr && centroid_ != nullptr) { delete centroid_; } centroid_ = nullptr; clear_definition(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* ProjectionData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -2139,7 +1962,7 @@ const char* ProjectionData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE // int32 epsg = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - _internal_set_epsg(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + _internal_set_epsg(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; @@ -2174,7 +1997,7 @@ const char* ProjectionData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_shape(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64) { - _internal_add_shape(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + _internal_add_shape(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; @@ -2215,7 +2038,9 @@ const char* ProjectionData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -2309,7 +2134,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* ProjectionData::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.ProjectionData) return target; @@ -2434,7 +2259,7 @@ void ProjectionData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void ProjectionData::MergeFrom(const ProjectionData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.ProjectionData) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -2492,12 +2317,15 @@ bool ProjectionData::IsInitialized() const { void ProjectionData::InternalSwap(ProjectionData* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); shape_.InternalSwap(&other->shape_); transform_.InternalSwap(&other->transform_); - swap(geometry_, other->geometry_); - swap(bbox_, other->bbox_); - swap(centroid_, other->centroid_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ProjectionData, centroid_) + + sizeof(ProjectionData::centroid_) + - PROTOBUF_FIELD_OFFSET(ProjectionData, geometry_)>( + reinterpret_cast(&geometry_), + reinterpret_cast(&other->geometry_)); swap(definition_, other->definition_); swap(_oneof_case_[0], other->_oneof_case_[0]); } @@ -2509,10 +2337,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata ProjectionData::GetMetadata() const { // =================================================================== -void EnvelopeData::InitAsDefaultInstance() { - ::epl::protobuf::v1::_EnvelopeData_default_instance_._instance.get_mutable()->proj_ = const_cast< ::epl::protobuf::v1::ProjectionData*>( - ::epl::protobuf::v1::ProjectionData::internal_default_instance()); -} class EnvelopeData::_Internal { public: static const ::epl::protobuf::v1::ProjectionData& proj(const EnvelopeData* msg); @@ -2522,15 +2346,15 @@ const ::epl::protobuf::v1::ProjectionData& EnvelopeData::_Internal::proj(const EnvelopeData* msg) { return *msg->proj_; } -EnvelopeData::EnvelopeData() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +EnvelopeData::EnvelopeData(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.EnvelopeData) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.EnvelopeData) } EnvelopeData::EnvelopeData(const EnvelopeData& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_proj()) { proj_ = new ::epl::protobuf::v1::ProjectionData(*from.proj_); } else { @@ -2543,29 +2367,32 @@ EnvelopeData::EnvelopeData(const EnvelopeData& from) } void EnvelopeData::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - ::memset(&proj_, 0, static_cast( - reinterpret_cast(&zmax_) - - reinterpret_cast(&proj_)) + sizeof(zmax_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&proj_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&zmax_) - + reinterpret_cast(&proj_)) + sizeof(zmax_)); } EnvelopeData::~EnvelopeData() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.EnvelopeData) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void EnvelopeData::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete proj_; } +void EnvelopeData::ArenaDtor(void* object) { + EnvelopeData* _this = reinterpret_cast< EnvelopeData* >(object); + (void)_this; +} +void EnvelopeData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void EnvelopeData::SetCachedSize(int size) const { _cached_size_.Set(size); } -const EnvelopeData& EnvelopeData::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void EnvelopeData::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.EnvelopeData) @@ -2573,14 +2400,14 @@ void EnvelopeData::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && proj_ != nullptr) { + if (GetArena() == nullptr && proj_ != nullptr) { delete proj_; } proj_ = nullptr; ::memset(&xmin_, 0, static_cast( reinterpret_cast(&zmax_) - reinterpret_cast(&xmin_)) + sizeof(zmax_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* EnvelopeData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -2645,7 +2472,9 @@ const char* EnvelopeData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -2711,7 +2540,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* EnvelopeData::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.EnvelopeData) return target; @@ -2789,7 +2618,7 @@ void EnvelopeData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void EnvelopeData::MergeFrom(const EnvelopeData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.EnvelopeData) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -2836,14 +2665,13 @@ bool EnvelopeData::IsInitialized() const { void EnvelopeData::InternalSwap(EnvelopeData* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(proj_, other->proj_); - swap(xmin_, other->xmin_); - swap(ymin_, other->ymin_); - swap(xmax_, other->xmax_); - swap(ymax_, other->ymax_); - swap(zmin_, other->zmin_); - swap(zmax_, other->zmax_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(EnvelopeData, zmax_) + + sizeof(EnvelopeData::zmax_) + - PROTOBUF_FIELD_OFFSET(EnvelopeData, proj_)>( + reinterpret_cast(&proj_), + reinterpret_cast(&other->proj_)); } ::PROTOBUF_NAMESPACE_ID::Metadata EnvelopeData::GetMetadata() const { @@ -2853,52 +2681,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata EnvelopeData::GetMetadata() const { // =================================================================== -void GeometryRequest::InitAsDefaultInstance() { - ::epl::protobuf::v1::_GeometryRequest_default_instance_.geometry_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.left_geometry_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.geometry_request_ = const_cast< ::epl::protobuf::v1::GeometryRequest*>( - ::epl::protobuf::v1::GeometryRequest::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.left_geometry_request_ = const_cast< ::epl::protobuf::v1::GeometryRequest*>( - ::epl::protobuf::v1::GeometryRequest::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.right_geometry_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.right_geometry_request_ = const_cast< ::epl::protobuf::v1::GeometryRequest*>( - ::epl::protobuf::v1::GeometryRequest::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_._instance.get_mutable()->operation_proj_ = const_cast< ::epl::protobuf::v1::ProjectionData*>( - ::epl::protobuf::v1::ProjectionData::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_._instance.get_mutable()->result_proj_ = const_cast< ::epl::protobuf::v1::ProjectionData*>( - ::epl::protobuf::v1::ProjectionData::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.buffer_params_ = const_cast< ::epl::protobuf::v1::Params_Buffer*>( - ::epl::protobuf::v1::Params_Buffer::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.convex_params_ = const_cast< ::epl::protobuf::v1::Params_Convex*>( - ::epl::protobuf::v1::Params_Convex::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.relate_params_ = const_cast< ::epl::protobuf::v1::Params_Relate*>( - ::epl::protobuf::v1::Params_Relate::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.random_points_params_ = const_cast< ::epl::protobuf::v1::Params_RandomPoints*>( - ::epl::protobuf::v1::Params_RandomPoints::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.generalize_params_ = const_cast< ::epl::protobuf::v1::Params_Generalize*>( - ::epl::protobuf::v1::Params_Generalize::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.intersection_params_ = const_cast< ::epl::protobuf::v1::Params_Intersection*>( - ::epl::protobuf::v1::Params_Intersection::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.offset_params_ = const_cast< ::epl::protobuf::v1::Params_Offset*>( - ::epl::protobuf::v1::Params_Offset::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.cut_params_ = const_cast< ::epl::protobuf::v1::Params_Cut*>( - ::epl::protobuf::v1::Params_Cut::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.clip_params_ = const_cast< ::epl::protobuf::v1::Params_Clip*>( - ::epl::protobuf::v1::Params_Clip::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.densify_params_ = const_cast< ::epl::protobuf::v1::Params_Densify*>( - ::epl::protobuf::v1::Params_Densify::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.simplify_params_ = const_cast< ::epl::protobuf::v1::Params_Simplify*>( - ::epl::protobuf::v1::Params_Simplify::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.generalize_by_area_params_ = const_cast< ::epl::protobuf::v1::Params_GeneralizeByArea*>( - ::epl::protobuf::v1::Params_GeneralizeByArea::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.affine_transform_params_ = const_cast< ::epl::protobuf::v1::Params_AffineTransform*>( - ::epl::protobuf::v1::Params_AffineTransform::internal_default_instance()); - ::epl::protobuf::v1::_GeometryRequest_default_instance_.geodetic_buffer_params_ = const_cast< ::epl::protobuf::v1::Params_GeodeticBuffer*>( - ::epl::protobuf::v1::Params_GeodeticBuffer::internal_default_instance()); -} class GeometryRequest::_Internal { public: static const ::epl::protobuf::v1::GeometryData& geometry(const GeometryRequest* msg); @@ -3014,10 +2796,11 @@ GeometryRequest::_Internal::geodetic_buffer_params(const GeometryRequest* msg) { return *msg->params_.geodetic_buffer_params_; } void GeometryRequest::set_allocated_geometry(::epl::protobuf::v1::GeometryData* geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_left(); if (geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(geometry); if (message_arena != submessage_arena) { geometry = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, geometry, submessage_arena); @@ -3028,10 +2811,11 @@ void GeometryRequest::set_allocated_geometry(::epl::protobuf::v1::GeometryData* // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.geometry) } void GeometryRequest::set_allocated_left_geometry(::epl::protobuf::v1::GeometryData* left_geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_left(); if (left_geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(left_geometry); if (message_arena != submessage_arena) { left_geometry = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, left_geometry, submessage_arena); @@ -3042,10 +2826,11 @@ void GeometryRequest::set_allocated_left_geometry(::epl::protobuf::v1::GeometryD // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.left_geometry) } void GeometryRequest::set_allocated_geometry_request(::epl::protobuf::v1::GeometryRequest* geometry_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_left(); if (geometry_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(geometry_request); if (message_arena != submessage_arena) { geometry_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, geometry_request, submessage_arena); @@ -3056,10 +2841,11 @@ void GeometryRequest::set_allocated_geometry_request(::epl::protobuf::v1::Geomet // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.geometry_request) } void GeometryRequest::set_allocated_left_geometry_request(::epl::protobuf::v1::GeometryRequest* left_geometry_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_left(); if (left_geometry_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(left_geometry_request); if (message_arena != submessage_arena) { left_geometry_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, left_geometry_request, submessage_arena); @@ -3070,10 +2856,11 @@ void GeometryRequest::set_allocated_left_geometry_request(::epl::protobuf::v1::G // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.left_geometry_request) } void GeometryRequest::set_allocated_right_geometry(::epl::protobuf::v1::GeometryData* right_geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_right(); if (right_geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(right_geometry); if (message_arena != submessage_arena) { right_geometry = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, right_geometry, submessage_arena); @@ -3084,10 +2871,11 @@ void GeometryRequest::set_allocated_right_geometry(::epl::protobuf::v1::Geometry // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.right_geometry) } void GeometryRequest::set_allocated_right_geometry_request(::epl::protobuf::v1::GeometryRequest* right_geometry_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_right(); if (right_geometry_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(right_geometry_request); if (message_arena != submessage_arena) { right_geometry_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, right_geometry_request, submessage_arena); @@ -3098,10 +2886,11 @@ void GeometryRequest::set_allocated_right_geometry_request(::epl::protobuf::v1:: // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.right_geometry_request) } void GeometryRequest::set_allocated_buffer_params(::epl::protobuf::v1::Params_Buffer* buffer_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (buffer_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(buffer_params); if (message_arena != submessage_arena) { buffer_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, buffer_params, submessage_arena); @@ -3112,10 +2901,11 @@ void GeometryRequest::set_allocated_buffer_params(::epl::protobuf::v1::Params_Bu // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.buffer_params) } void GeometryRequest::set_allocated_convex_params(::epl::protobuf::v1::Params_Convex* convex_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (convex_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(convex_params); if (message_arena != submessage_arena) { convex_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, convex_params, submessage_arena); @@ -3126,10 +2916,11 @@ void GeometryRequest::set_allocated_convex_params(::epl::protobuf::v1::Params_Co // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.convex_params) } void GeometryRequest::set_allocated_relate_params(::epl::protobuf::v1::Params_Relate* relate_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (relate_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(relate_params); if (message_arena != submessage_arena) { relate_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, relate_params, submessage_arena); @@ -3140,10 +2931,11 @@ void GeometryRequest::set_allocated_relate_params(::epl::protobuf::v1::Params_Re // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.relate_params) } void GeometryRequest::set_allocated_random_points_params(::epl::protobuf::v1::Params_RandomPoints* random_points_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (random_points_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(random_points_params); if (message_arena != submessage_arena) { random_points_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, random_points_params, submessage_arena); @@ -3154,10 +2946,11 @@ void GeometryRequest::set_allocated_random_points_params(::epl::protobuf::v1::Pa // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.random_points_params) } void GeometryRequest::set_allocated_generalize_params(::epl::protobuf::v1::Params_Generalize* generalize_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (generalize_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(generalize_params); if (message_arena != submessage_arena) { generalize_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, generalize_params, submessage_arena); @@ -3168,10 +2961,11 @@ void GeometryRequest::set_allocated_generalize_params(::epl::protobuf::v1::Param // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.generalize_params) } void GeometryRequest::set_allocated_intersection_params(::epl::protobuf::v1::Params_Intersection* intersection_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (intersection_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(intersection_params); if (message_arena != submessage_arena) { intersection_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, intersection_params, submessage_arena); @@ -3182,10 +2976,11 @@ void GeometryRequest::set_allocated_intersection_params(::epl::protobuf::v1::Par // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.intersection_params) } void GeometryRequest::set_allocated_offset_params(::epl::protobuf::v1::Params_Offset* offset_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (offset_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(offset_params); if (message_arena != submessage_arena) { offset_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, offset_params, submessage_arena); @@ -3196,10 +2991,11 @@ void GeometryRequest::set_allocated_offset_params(::epl::protobuf::v1::Params_Of // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.offset_params) } void GeometryRequest::set_allocated_cut_params(::epl::protobuf::v1::Params_Cut* cut_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (cut_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(cut_params); if (message_arena != submessage_arena) { cut_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, cut_params, submessage_arena); @@ -3210,10 +3006,11 @@ void GeometryRequest::set_allocated_cut_params(::epl::protobuf::v1::Params_Cut* // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.cut_params) } void GeometryRequest::set_allocated_clip_params(::epl::protobuf::v1::Params_Clip* clip_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (clip_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(clip_params); if (message_arena != submessage_arena) { clip_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, clip_params, submessage_arena); @@ -3224,10 +3021,11 @@ void GeometryRequest::set_allocated_clip_params(::epl::protobuf::v1::Params_Clip // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.clip_params) } void GeometryRequest::set_allocated_densify_params(::epl::protobuf::v1::Params_Densify* densify_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (densify_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(densify_params); if (message_arena != submessage_arena) { densify_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, densify_params, submessage_arena); @@ -3238,10 +3036,11 @@ void GeometryRequest::set_allocated_densify_params(::epl::protobuf::v1::Params_D // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.densify_params) } void GeometryRequest::set_allocated_simplify_params(::epl::protobuf::v1::Params_Simplify* simplify_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (simplify_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(simplify_params); if (message_arena != submessage_arena) { simplify_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, simplify_params, submessage_arena); @@ -3252,10 +3051,11 @@ void GeometryRequest::set_allocated_simplify_params(::epl::protobuf::v1::Params_ // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.simplify_params) } void GeometryRequest::set_allocated_generalize_by_area_params(::epl::protobuf::v1::Params_GeneralizeByArea* generalize_by_area_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (generalize_by_area_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(generalize_by_area_params); if (message_arena != submessage_arena) { generalize_by_area_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, generalize_by_area_params, submessage_arena); @@ -3266,10 +3066,11 @@ void GeometryRequest::set_allocated_generalize_by_area_params(::epl::protobuf::v // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.generalize_by_area_params) } void GeometryRequest::set_allocated_affine_transform_params(::epl::protobuf::v1::Params_AffineTransform* affine_transform_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (affine_transform_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(affine_transform_params); if (message_arena != submessage_arena) { affine_transform_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, affine_transform_params, submessage_arena); @@ -3280,10 +3081,11 @@ void GeometryRequest::set_allocated_affine_transform_params(::epl::protobuf::v1: // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.affine_transform_params) } void GeometryRequest::set_allocated_geodetic_buffer_params(::epl::protobuf::v1::Params_GeodeticBuffer* geodetic_buffer_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_params(); if (geodetic_buffer_params) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(geodetic_buffer_params); if (message_arena != submessage_arena) { geodetic_buffer_params = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, geodetic_buffer_params, submessage_arena); @@ -3293,15 +3095,15 @@ void GeometryRequest::set_allocated_geodetic_buffer_params(::epl::protobuf::v1:: } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryRequest.geodetic_buffer_params) } -GeometryRequest::GeometryRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +GeometryRequest::GeometryRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.GeometryRequest) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.GeometryRequest) } GeometryRequest::GeometryRequest(const GeometryRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_operation_proj()) { operation_proj_ = new ::epl::protobuf::v1::ProjectionData(*from.operation_proj_); } else { @@ -3417,21 +3219,23 @@ GeometryRequest::GeometryRequest(const GeometryRequest& from) } void GeometryRequest::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - ::memset(&operation_proj_, 0, static_cast( - reinterpret_cast(&result_encoding_) - - reinterpret_cast(&operation_proj_)) + sizeof(result_encoding_)); - clear_has_left(); - clear_has_right(); - clear_has_params(); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&operation_proj_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&result_encoding_) - + reinterpret_cast(&operation_proj_)) + sizeof(result_encoding_)); +clear_has_left(); +clear_has_right(); +clear_has_params(); } GeometryRequest::~GeometryRequest() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.GeometryRequest) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void GeometryRequest::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete operation_proj_; if (this != internal_default_instance()) delete result_proj_; if (has_left()) { @@ -3445,32 +3249,41 @@ void GeometryRequest::SharedDtor() { } } +void GeometryRequest::ArenaDtor(void* object) { + GeometryRequest* _this = reinterpret_cast< GeometryRequest* >(object); + (void)_this; +} +void GeometryRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void GeometryRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GeometryRequest& GeometryRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void GeometryRequest::clear_left() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.GeometryRequest) switch (left_case()) { case kGeometry: { - delete left_.geometry_; + if (GetArena() == nullptr) { + delete left_.geometry_; + } break; } case kLeftGeometry: { - delete left_.left_geometry_; + if (GetArena() == nullptr) { + delete left_.left_geometry_; + } break; } case kGeometryRequest: { - delete left_.geometry_request_; + if (GetArena() == nullptr) { + delete left_.geometry_request_; + } break; } case kLeftGeometryRequest: { - delete left_.left_geometry_request_; + if (GetArena() == nullptr) { + delete left_.left_geometry_request_; + } break; } case LEFT_NOT_SET: { @@ -3484,11 +3297,15 @@ void GeometryRequest::clear_right() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.GeometryRequest) switch (right_case()) { case kRightGeometry: { - delete right_.right_geometry_; + if (GetArena() == nullptr) { + delete right_.right_geometry_; + } break; } case kRightGeometryRequest: { - delete right_.right_geometry_request_; + if (GetArena() == nullptr) { + delete right_.right_geometry_request_; + } break; } case RIGHT_NOT_SET: { @@ -3502,59 +3319,87 @@ void GeometryRequest::clear_params() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.GeometryRequest) switch (params_case()) { case kBufferParams: { - delete params_.buffer_params_; + if (GetArena() == nullptr) { + delete params_.buffer_params_; + } break; } case kConvexParams: { - delete params_.convex_params_; + if (GetArena() == nullptr) { + delete params_.convex_params_; + } break; } case kRelateParams: { - delete params_.relate_params_; + if (GetArena() == nullptr) { + delete params_.relate_params_; + } break; } case kRandomPointsParams: { - delete params_.random_points_params_; + if (GetArena() == nullptr) { + delete params_.random_points_params_; + } break; } case kGeneralizeParams: { - delete params_.generalize_params_; + if (GetArena() == nullptr) { + delete params_.generalize_params_; + } break; } case kIntersectionParams: { - delete params_.intersection_params_; + if (GetArena() == nullptr) { + delete params_.intersection_params_; + } break; } case kOffsetParams: { - delete params_.offset_params_; + if (GetArena() == nullptr) { + delete params_.offset_params_; + } break; } case kCutParams: { - delete params_.cut_params_; + if (GetArena() == nullptr) { + delete params_.cut_params_; + } break; } case kClipParams: { - delete params_.clip_params_; + if (GetArena() == nullptr) { + delete params_.clip_params_; + } break; } case kDensifyParams: { - delete params_.densify_params_; + if (GetArena() == nullptr) { + delete params_.densify_params_; + } break; } case kSimplifyParams: { - delete params_.simplify_params_; + if (GetArena() == nullptr) { + delete params_.simplify_params_; + } break; } case kGeneralizeByAreaParams: { - delete params_.generalize_by_area_params_; + if (GetArena() == nullptr) { + delete params_.generalize_by_area_params_; + } break; } case kAffineTransformParams: { - delete params_.affine_transform_params_; + if (GetArena() == nullptr) { + delete params_.affine_transform_params_; + } break; } case kGeodeticBufferParams: { - delete params_.geodetic_buffer_params_; + if (GetArena() == nullptr) { + delete params_.geodetic_buffer_params_; + } break; } case PARAMS_NOT_SET: { @@ -3571,11 +3416,11 @@ void GeometryRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && operation_proj_ != nullptr) { + if (GetArena() == nullptr && operation_proj_ != nullptr) { delete operation_proj_; } operation_proj_ = nullptr; - if (GetArenaNoVirtual() == nullptr && result_proj_ != nullptr) { + if (GetArena() == nullptr && result_proj_ != nullptr) { delete result_proj_; } result_proj_ = nullptr; @@ -3585,7 +3430,7 @@ void GeometryRequest::Clear() { clear_left(); clear_right(); clear_params(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* GeometryRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -3640,7 +3485,7 @@ const char* GeometryRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC // .epl.protobuf.v1.OperatorType operator = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_operator_(static_cast<::epl::protobuf::v1::OperatorType>(val)); } else goto handle_unusual; @@ -3648,7 +3493,7 @@ const char* GeometryRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC // .epl.protobuf.v1.Encoding result_encoding = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_result_encoding(static_cast<::epl::protobuf::v1::Encoding>(val)); } else goto handle_unusual; @@ -3771,7 +3616,9 @@ const char* GeometryRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -3983,7 +3830,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* GeometryRequest::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.GeometryRequest) return target; @@ -4205,7 +4052,7 @@ void GeometryRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void GeometryRequest::MergeFrom(const GeometryRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.GeometryRequest) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -4338,11 +4185,13 @@ bool GeometryRequest::IsInitialized() const { void GeometryRequest::InternalSwap(GeometryRequest* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(operation_proj_, other->operation_proj_); - swap(result_proj_, other->result_proj_); - swap(operator__, other->operator__); - swap(result_encoding_, other->result_encoding_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GeometryRequest, result_encoding_) + + sizeof(GeometryRequest::result_encoding_) + - PROTOBUF_FIELD_OFFSET(GeometryRequest, operation_proj_)>( + reinterpret_cast(&operation_proj_), + reinterpret_cast(&other->operation_proj_)); swap(left_, other->left_); swap(right_, other->right_); swap(params_, other->params_); @@ -4358,21 +4207,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GeometryRequest::GetMetadata() const { // =================================================================== -void GeodeticInverse::InitAsDefaultInstance() { -} class GeodeticInverse::_Internal { public: }; -GeodeticInverse::GeodeticInverse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +GeodeticInverse::GeodeticInverse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.GeodeticInverse) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.GeodeticInverse) } GeodeticInverse::GeodeticInverse(const GeodeticInverse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&az12_, &from.az12_, static_cast(reinterpret_cast(&distance_) - reinterpret_cast(&az12_)) + sizeof(distance_)); @@ -4380,27 +4227,31 @@ GeodeticInverse::GeodeticInverse(const GeodeticInverse& from) } void GeodeticInverse::SharedCtor() { - ::memset(&az12_, 0, static_cast( - reinterpret_cast(&distance_) - - reinterpret_cast(&az12_)) + sizeof(distance_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&az12_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&distance_) - + reinterpret_cast(&az12_)) + sizeof(distance_)); } GeodeticInverse::~GeodeticInverse() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.GeodeticInverse) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void GeodeticInverse::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void GeodeticInverse::ArenaDtor(void* object) { + GeodeticInverse* _this = reinterpret_cast< GeodeticInverse* >(object); + (void)_this; +} +void GeodeticInverse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void GeodeticInverse::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GeodeticInverse& GeodeticInverse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GeodeticInverse_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void GeodeticInverse::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.GeodeticInverse) @@ -4411,7 +4262,7 @@ void GeodeticInverse::Clear() { ::memset(&az12_, 0, static_cast( reinterpret_cast(&distance_) - reinterpret_cast(&az12_)) + sizeof(distance_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* GeodeticInverse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -4448,7 +4299,9 @@ const char* GeodeticInverse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -4488,7 +4341,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* GeodeticInverse::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.GeodeticInverse) return target; @@ -4544,7 +4397,7 @@ void GeodeticInverse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void GeodeticInverse::MergeFrom(const GeodeticInverse& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.GeodeticInverse) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -4579,10 +4432,13 @@ bool GeodeticInverse::IsInitialized() const { void GeodeticInverse::InternalSwap(GeodeticInverse* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(az12_, other->az12_); - swap(az21_, other->az21_); - swap(distance_, other->distance_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GeodeticInverse, distance_) + + sizeof(GeodeticInverse::distance_) + - PROTOBUF_FIELD_OFFSET(GeodeticInverse, az12_)>( + reinterpret_cast(&az12_), + reinterpret_cast(&other->az12_)); } ::PROTOBUF_NAMESPACE_ID::Metadata GeodeticInverse::GetMetadata() const { @@ -4609,14 +4465,6 @@ void GeometryResponse_RelateMapEntry_DoNotUse::MergeFrom( // =================================================================== -void GeometryResponse::InitAsDefaultInstance() { - ::epl::protobuf::v1::_GeometryResponse_default_instance_.geometry_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); - ::epl::protobuf::v1::_GeometryResponse_default_instance_.spatial_relationship_ = false; - ::epl::protobuf::v1::_GeometryResponse_default_instance_.measure_ = 0; - ::epl::protobuf::v1::_GeometryResponse_default_instance_.geodetic_inverse_ = const_cast< ::epl::protobuf::v1::GeodeticInverse*>( - ::epl::protobuf::v1::GeodeticInverse::internal_default_instance()); -} class GeometryResponse::_Internal { public: static const ::epl::protobuf::v1::GeometryData& geometry(const GeometryResponse* msg); @@ -4632,10 +4480,11 @@ GeometryResponse::_Internal::geodetic_inverse(const GeometryResponse* msg) { return *msg->result_.geodetic_inverse_; } void GeometryResponse::set_allocated_geometry(::epl::protobuf::v1::GeometryData* geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_result(); if (geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(geometry); if (message_arena != submessage_arena) { geometry = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, geometry, submessage_arena); @@ -4646,10 +4495,11 @@ void GeometryResponse::set_allocated_geometry(::epl::protobuf::v1::GeometryData* // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryResponse.geometry) } void GeometryResponse::set_allocated_geodetic_inverse(::epl::protobuf::v1::GeodeticInverse* geodetic_inverse) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_result(); if (geodetic_inverse) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(geodetic_inverse); if (message_arena != submessage_arena) { geodetic_inverse = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, geodetic_inverse, submessage_arena); @@ -4659,15 +4509,16 @@ void GeometryResponse::set_allocated_geodetic_inverse(::epl::protobuf::v1::Geode } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryResponse.geodetic_inverse) } -GeometryResponse::GeometryResponse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +GeometryResponse::GeometryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + relate_map_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.GeometryResponse) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.GeometryResponse) } GeometryResponse::GeometryResponse(const GeometryResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); relate_map_.MergeFrom(from.relate_map_); clear_has_result(); switch (from.result_case()) { @@ -4695,35 +4546,39 @@ GeometryResponse::GeometryResponse(const GeometryResponse& from) } void GeometryResponse::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GeometryResponse_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - clear_has_result(); +clear_has_result(); } GeometryResponse::~GeometryResponse() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.GeometryResponse) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void GeometryResponse::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (has_result()) { clear_result(); } } +void GeometryResponse::ArenaDtor(void* object) { + GeometryResponse* _this = reinterpret_cast< GeometryResponse* >(object); + (void)_this; +} +void GeometryResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void GeometryResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GeometryResponse& GeometryResponse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GeometryResponse_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void GeometryResponse::clear_result() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.GeometryResponse) switch (result_case()) { case kGeometry: { - delete result_.geometry_; + if (GetArena() == nullptr) { + delete result_.geometry_; + } break; } case kSpatialRelationship: { @@ -4735,7 +4590,9 @@ void GeometryResponse::clear_result() { break; } case kGeodeticInverse: { - delete result_.geodetic_inverse_; + if (GetArena() == nullptr) { + delete result_.geodetic_inverse_; + } break; } case RESULT_NOT_SET: { @@ -4754,7 +4611,7 @@ void GeometryResponse::Clear() { relate_map_.Clear(); clear_result(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* GeometryResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -4774,7 +4631,7 @@ const char* GeometryResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA // bool spatial_relationship = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - _internal_set_spatial_relationship(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + _internal_set_spatial_relationship(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; @@ -4810,7 +4667,9 @@ const char* GeometryResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -4891,7 +4750,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* GeometryResponse::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.GeometryResponse) return target; @@ -4970,7 +4829,7 @@ void GeometryResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void GeometryResponse::MergeFrom(const GeometryResponse& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.GeometryResponse) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -5018,7 +4877,7 @@ bool GeometryResponse::IsInitialized() const { void GeometryResponse::InternalSwap(GeometryResponse* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); relate_map_.Swap(&other->relate_map_); swap(result_, other->result_); swap(_oneof_case_[0], other->_oneof_case_[0]); @@ -5031,14 +4890,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GeometryResponse::GetMetadata() const { // =================================================================== -void FileRequestChunk::InitAsDefaultInstance() { - ::epl::protobuf::v1::_FileRequestChunk_default_instance_._instance.get_mutable()->nested_request_ = const_cast< ::epl::protobuf::v1::GeometryRequest*>( - ::epl::protobuf::v1::GeometryRequest::internal_default_instance()); - ::epl::protobuf::v1::_FileRequestChunk_default_instance_._instance.get_mutable()->input_proj_ = const_cast< ::epl::protobuf::v1::ProjectionData*>( - ::epl::protobuf::v1::ProjectionData::internal_default_instance()); - ::epl::protobuf::v1::_FileRequestChunk_default_instance_._instance.get_mutable()->result_proj_ = const_cast< ::epl::protobuf::v1::ProjectionData*>( - ::epl::protobuf::v1::ProjectionData::internal_default_instance()); -} class FileRequestChunk::_Internal { public: static const ::epl::protobuf::v1::GeometryRequest& nested_request(const FileRequestChunk* msg); @@ -5058,22 +4909,24 @@ const ::epl::protobuf::v1::ProjectionData& FileRequestChunk::_Internal::result_proj(const FileRequestChunk* msg) { return *msg->result_proj_; } -FileRequestChunk::FileRequestChunk() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +FileRequestChunk::FileRequestChunk(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.FileRequestChunk) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.FileRequestChunk) } FileRequestChunk::FileRequestChunk(const FileRequestChunk& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); data_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_data().empty()) { - data_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.data_); + data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_data(), + GetArena()); } file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_file_name().empty()) { - file_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.file_name_); + file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_file_name(), + GetArena()); } if (from._internal_has_nested_request()) { nested_request_ = new ::epl::protobuf::v1::GeometryRequest(*from.nested_request_); @@ -5097,20 +4950,22 @@ FileRequestChunk::FileRequestChunk(const FileRequestChunk& from) } void FileRequestChunk::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_FileRequestChunk_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - data_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&nested_request_, 0, static_cast( - reinterpret_cast(&offset_) - - reinterpret_cast(&nested_request_)) + sizeof(offset_)); +data_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&nested_request_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&offset_) - + reinterpret_cast(&nested_request_)) + sizeof(offset_)); } FileRequestChunk::~FileRequestChunk() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.FileRequestChunk) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void FileRequestChunk::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); data_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); file_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete nested_request_; @@ -5118,14 +4973,15 @@ void FileRequestChunk::SharedDtor() { if (this != internal_default_instance()) delete result_proj_; } +void FileRequestChunk::ArenaDtor(void* object) { + FileRequestChunk* _this = reinterpret_cast< FileRequestChunk* >(object); + (void)_this; +} +void FileRequestChunk::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void FileRequestChunk::SetCachedSize(int size) const { _cached_size_.Set(size); } -const FileRequestChunk& FileRequestChunk::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FileRequestChunk_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void FileRequestChunk::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.FileRequestChunk) @@ -5133,24 +4989,24 @@ void FileRequestChunk::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - file_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && nested_request_ != nullptr) { + data_.ClearToEmpty(); + file_name_.ClearToEmpty(); + if (GetArena() == nullptr && nested_request_ != nullptr) { delete nested_request_; } nested_request_ = nullptr; - if (GetArenaNoVirtual() == nullptr && input_proj_ != nullptr) { + if (GetArena() == nullptr && input_proj_ != nullptr) { delete input_proj_; } input_proj_ = nullptr; - if (GetArenaNoVirtual() == nullptr && result_proj_ != nullptr) { + if (GetArena() == nullptr && result_proj_ != nullptr) { delete result_proj_; } result_proj_ = nullptr; ::memset(&result_encoding_type_, 0, static_cast( reinterpret_cast(&offset_) - reinterpret_cast(&result_encoding_type_)) + sizeof(offset_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* FileRequestChunk::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -5170,7 +5026,7 @@ const char* FileRequestChunk::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA // .epl.protobuf.v1.Encoding result_encoding_type = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_result_encoding_type(static_cast<::epl::protobuf::v1::Encoding>(val)); } else goto handle_unusual; @@ -5200,14 +5056,14 @@ const char* FileRequestChunk::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA // int64 size = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { - size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // int64 offset = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { - offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -5223,7 +5079,7 @@ const char* FileRequestChunk::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA // bool is_last_chunk = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { - is_last_chunk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + is_last_chunk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -5233,7 +5089,9 @@ const char* FileRequestChunk::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -5320,7 +5178,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* FileRequestChunk::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.FileRequestChunk) return target; @@ -5421,17 +5279,15 @@ void FileRequestChunk::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void FileRequestChunk::MergeFrom(const FileRequestChunk& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.FileRequestChunk) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.data().size() > 0) { - - data_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.data_); + _internal_set_data(from._internal_data()); } if (from.file_name().size() > 0) { - - file_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.file_name_); + _internal_set_file_name(from._internal_file_name()); } if (from.has_nested_request()) { _internal_mutable_nested_request()->::epl::protobuf::v1::GeometryRequest::MergeFrom(from._internal_nested_request()); @@ -5476,18 +5332,15 @@ bool FileRequestChunk::IsInitialized() const { void FileRequestChunk::InternalSwap(FileRequestChunk* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - data_.Swap(&other->data_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - file_name_.Swap(&other->file_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(nested_request_, other->nested_request_); - swap(input_proj_, other->input_proj_); - swap(result_proj_, other->result_proj_); - swap(result_encoding_type_, other->result_encoding_type_); - swap(is_last_chunk_, other->is_last_chunk_); - swap(size_, other->size_); - swap(offset_, other->offset_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + data_.Swap(&other->data_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + file_name_.Swap(&other->file_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(FileRequestChunk, offset_) + + sizeof(FileRequestChunk::offset_) + - PROTOBUF_FIELD_OFFSET(FileRequestChunk, nested_request_)>( + reinterpret_cast(&nested_request_), + reinterpret_cast(&other->nested_request_)); } ::PROTOBUF_NAMESPACE_ID::Metadata FileRequestChunk::GetMetadata() const { @@ -5497,21 +5350,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata FileRequestChunk::GetMetadata() const { // =================================================================== -void Params_Buffer::InitAsDefaultInstance() { -} class Params_Buffer::_Internal { public: }; -Params_Buffer::Params_Buffer() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Buffer::Params_Buffer(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Buffer) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Buffer) } Params_Buffer::Params_Buffer(const Params_Buffer& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&distance_, &from.distance_, static_cast(reinterpret_cast(&max_vertices_in_full_circle_) - reinterpret_cast(&distance_)) + sizeof(max_vertices_in_full_circle_)); @@ -5519,27 +5370,31 @@ Params_Buffer::Params_Buffer(const Params_Buffer& from) } void Params_Buffer::SharedCtor() { - ::memset(&distance_, 0, static_cast( - reinterpret_cast(&max_vertices_in_full_circle_) - - reinterpret_cast(&distance_)) + sizeof(max_vertices_in_full_circle_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&distance_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&max_vertices_in_full_circle_) - + reinterpret_cast(&distance_)) + sizeof(max_vertices_in_full_circle_)); } Params_Buffer::~Params_Buffer() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Buffer) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Buffer::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_Buffer::ArenaDtor(void* object) { + Params_Buffer* _this = reinterpret_cast< Params_Buffer* >(object); + (void)_this; +} +void Params_Buffer::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Buffer::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Buffer& Params_Buffer::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Buffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Buffer::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Buffer) @@ -5550,7 +5405,7 @@ void Params_Buffer::Clear() { ::memset(&distance_, 0, static_cast( reinterpret_cast(&max_vertices_in_full_circle_) - reinterpret_cast(&distance_)) + sizeof(max_vertices_in_full_circle_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Buffer::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -5577,14 +5432,14 @@ const char* Params_Buffer::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ // bool union_result = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - union_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + union_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // int32 max_vertices_in_full_circle = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - max_vertices_in_full_circle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + max_vertices_in_full_circle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -5594,7 +5449,9 @@ const char* Params_Buffer::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -5640,7 +5497,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Buffer::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Buffer) return target; @@ -5703,7 +5560,7 @@ void Params_Buffer::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params_Buffer::MergeFrom(const Params_Buffer& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Buffer) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -5741,11 +5598,13 @@ bool Params_Buffer::IsInitialized() const { void Params_Buffer::InternalSwap(Params_Buffer* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(distance_, other->distance_); - swap(max_deviation_, other->max_deviation_); - swap(union_result_, other->union_result_); - swap(max_vertices_in_full_circle_, other->max_vertices_in_full_circle_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Params_Buffer, max_vertices_in_full_circle_) + + sizeof(Params_Buffer::max_vertices_in_full_circle_) + - PROTOBUF_FIELD_OFFSET(Params_Buffer, distance_)>( + reinterpret_cast(&distance_), + reinterpret_cast(&other->distance_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Params_Buffer::GetMetadata() const { @@ -5755,21 +5614,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Buffer::GetMetadata() const { // =================================================================== -void Params_GeodeticBuffer::InitAsDefaultInstance() { -} class Params_GeodeticBuffer::_Internal { public: }; -Params_GeodeticBuffer::Params_GeodeticBuffer() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_GeodeticBuffer::Params_GeodeticBuffer(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.GeodeticBuffer) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.GeodeticBuffer) } Params_GeodeticBuffer::Params_GeodeticBuffer(const Params_GeodeticBuffer& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&distance_, &from.distance_, static_cast(reinterpret_cast(&max_vertices_in_full_circle_) - reinterpret_cast(&distance_)) + sizeof(max_vertices_in_full_circle_)); @@ -5777,27 +5634,31 @@ Params_GeodeticBuffer::Params_GeodeticBuffer(const Params_GeodeticBuffer& from) } void Params_GeodeticBuffer::SharedCtor() { - ::memset(&distance_, 0, static_cast( - reinterpret_cast(&max_vertices_in_full_circle_) - - reinterpret_cast(&distance_)) + sizeof(max_vertices_in_full_circle_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&distance_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&max_vertices_in_full_circle_) - + reinterpret_cast(&distance_)) + sizeof(max_vertices_in_full_circle_)); } Params_GeodeticBuffer::~Params_GeodeticBuffer() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.GeodeticBuffer) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_GeodeticBuffer::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_GeodeticBuffer::ArenaDtor(void* object) { + Params_GeodeticBuffer* _this = reinterpret_cast< Params_GeodeticBuffer* >(object); + (void)_this; +} +void Params_GeodeticBuffer::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_GeodeticBuffer::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_GeodeticBuffer& Params_GeodeticBuffer::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_GeodeticBuffer_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_GeodeticBuffer::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.GeodeticBuffer) @@ -5808,7 +5669,7 @@ void Params_GeodeticBuffer::Clear() { ::memset(&distance_, 0, static_cast( reinterpret_cast(&max_vertices_in_full_circle_) - reinterpret_cast(&distance_)) + sizeof(max_vertices_in_full_circle_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_GeodeticBuffer::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -5835,14 +5696,14 @@ const char* Params_GeodeticBuffer::_InternalParse(const char* ptr, ::PROTOBUF_NA // bool union_result = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - union_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + union_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // int32 max_vertices_in_full_circle = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - max_vertices_in_full_circle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + max_vertices_in_full_circle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -5852,7 +5713,9 @@ const char* Params_GeodeticBuffer::_InternalParse(const char* ptr, ::PROTOBUF_NA ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -5898,7 +5761,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_GeodeticBuffer::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.GeodeticBuffer) return target; @@ -5961,7 +5824,7 @@ void Params_GeodeticBuffer::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& fr void Params_GeodeticBuffer::MergeFrom(const Params_GeodeticBuffer& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.GeodeticBuffer) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -5999,11 +5862,13 @@ bool Params_GeodeticBuffer::IsInitialized() const { void Params_GeodeticBuffer::InternalSwap(Params_GeodeticBuffer* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(distance_, other->distance_); - swap(max_deviation_, other->max_deviation_); - swap(union_result_, other->union_result_); - swap(max_vertices_in_full_circle_, other->max_vertices_in_full_circle_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Params_GeodeticBuffer, max_vertices_in_full_circle_) + + sizeof(Params_GeodeticBuffer::max_vertices_in_full_circle_) + - PROTOBUF_FIELD_OFFSET(Params_GeodeticBuffer, distance_)>( + reinterpret_cast(&distance_), + reinterpret_cast(&other->distance_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Params_GeodeticBuffer::GetMetadata() const { @@ -6013,45 +5878,46 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_GeodeticBuffer::GetMetadata() const { // =================================================================== -void Params_Convex::InitAsDefaultInstance() { -} class Params_Convex::_Internal { public: }; -Params_Convex::Params_Convex() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Convex::Params_Convex(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Convex) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Convex) } Params_Convex::Params_Convex(const Params_Convex& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); merge_ = from.merge_; // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Params.Convex) } void Params_Convex::SharedCtor() { - merge_ = false; +merge_ = false; } Params_Convex::~Params_Convex() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Convex) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Convex::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_Convex::ArenaDtor(void* object) { + Params_Convex* _this = reinterpret_cast< Params_Convex* >(object); + (void)_this; +} +void Params_Convex::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Convex::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Convex& Params_Convex::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Convex_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Convex::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Convex) @@ -6060,7 +5926,7 @@ void Params_Convex::Clear() { (void) cached_has_bits; merge_ = false; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Convex::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -6073,7 +5939,7 @@ const char* Params_Convex::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ // bool merge = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - merge_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + merge_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -6083,7 +5949,9 @@ const char* Params_Convex::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -6111,7 +5979,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Convex::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Convex) return target; @@ -6157,7 +6025,7 @@ void Params_Convex::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params_Convex::MergeFrom(const Params_Convex& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Convex) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -6186,7 +6054,7 @@ bool Params_Convex::IsInitialized() const { void Params_Convex::InternalSwap(Params_Convex* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(merge_, other->merge_); } @@ -6197,50 +6065,51 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Convex::GetMetadata() const { // =================================================================== -void Params_Relate::InitAsDefaultInstance() { -} class Params_Relate::_Internal { public: }; -Params_Relate::Params_Relate() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Relate::Params_Relate(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Relate) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Relate) } Params_Relate::Params_Relate(const Params_Relate& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); de_9im_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_de_9im().empty()) { - de_9im_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.de_9im_); + de_9im_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_de_9im(), + GetArena()); } // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Params.Relate) } void Params_Relate::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Params_Relate_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - de_9im_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +de_9im_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } Params_Relate::~Params_Relate() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Relate) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Relate::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); de_9im_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } +void Params_Relate::ArenaDtor(void* object) { + Params_Relate* _this = reinterpret_cast< Params_Relate* >(object); + (void)_this; +} +void Params_Relate::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Relate::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Relate& Params_Relate::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Relate_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Relate::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Relate) @@ -6248,8 +6117,8 @@ void Params_Relate::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - de_9im_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); + de_9im_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Relate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -6274,7 +6143,9 @@ const char* Params_Relate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -6306,7 +6177,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Relate::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Relate) return target; @@ -6354,13 +6225,12 @@ void Params_Relate::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params_Relate::MergeFrom(const Params_Relate& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Relate) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.de_9im().size() > 0) { - - de_9im_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.de_9im_); + _internal_set_de_9im(from._internal_de_9im()); } } @@ -6384,9 +6254,8 @@ bool Params_Relate::IsInitialized() const { void Params_Relate::InternalSwap(Params_Relate* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - de_9im_.Swap(&other->de_9im_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + de_9im_.Swap(&other->de_9im_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } ::PROTOBUF_NAMESPACE_ID::Metadata Params_Relate::GetMetadata() const { @@ -6396,21 +6265,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Relate::GetMetadata() const { // =================================================================== -void Params_RandomPoints::InitAsDefaultInstance() { -} class Params_RandomPoints::_Internal { public: }; -Params_RandomPoints::Params_RandomPoints() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_RandomPoints::Params_RandomPoints(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.RandomPoints) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.RandomPoints) } Params_RandomPoints::Params_RandomPoints(const Params_RandomPoints& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&points_per_square_km_, &from.points_per_square_km_, static_cast(reinterpret_cast(&seed_) - reinterpret_cast(&points_per_square_km_)) + sizeof(seed_)); @@ -6418,27 +6285,31 @@ Params_RandomPoints::Params_RandomPoints(const Params_RandomPoints& from) } void Params_RandomPoints::SharedCtor() { - ::memset(&points_per_square_km_, 0, static_cast( - reinterpret_cast(&seed_) - - reinterpret_cast(&points_per_square_km_)) + sizeof(seed_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&points_per_square_km_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&seed_) - + reinterpret_cast(&points_per_square_km_)) + sizeof(seed_)); } Params_RandomPoints::~Params_RandomPoints() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.RandomPoints) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_RandomPoints::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_RandomPoints::ArenaDtor(void* object) { + Params_RandomPoints* _this = reinterpret_cast< Params_RandomPoints* >(object); + (void)_this; +} +void Params_RandomPoints::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_RandomPoints::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_RandomPoints& Params_RandomPoints::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_RandomPoints_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_RandomPoints::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.RandomPoints) @@ -6449,7 +6320,7 @@ void Params_RandomPoints::Clear() { ::memset(&points_per_square_km_, 0, static_cast( reinterpret_cast(&seed_) - reinterpret_cast(&points_per_square_km_)) + sizeof(seed_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_RandomPoints::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -6469,7 +6340,7 @@ const char* Params_RandomPoints::_InternalParse(const char* ptr, ::PROTOBUF_NAME // int64 seed = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -6479,7 +6350,9 @@ const char* Params_RandomPoints::_InternalParse(const char* ptr, ::PROTOBUF_NAME ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -6513,7 +6386,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_RandomPoints::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.RandomPoints) return target; @@ -6566,7 +6439,7 @@ void Params_RandomPoints::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from void Params_RandomPoints::MergeFrom(const Params_RandomPoints& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.RandomPoints) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -6598,9 +6471,13 @@ bool Params_RandomPoints::IsInitialized() const { void Params_RandomPoints::InternalSwap(Params_RandomPoints* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(points_per_square_km_, other->points_per_square_km_); - swap(seed_, other->seed_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Params_RandomPoints, seed_) + + sizeof(Params_RandomPoints::seed_) + - PROTOBUF_FIELD_OFFSET(Params_RandomPoints, points_per_square_km_)>( + reinterpret_cast(&points_per_square_km_), + reinterpret_cast(&other->points_per_square_km_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Params_RandomPoints::GetMetadata() const { @@ -6610,21 +6487,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_RandomPoints::GetMetadata() const { // =================================================================== -void Params_Generalize::InitAsDefaultInstance() { -} class Params_Generalize::_Internal { public: }; -Params_Generalize::Params_Generalize() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Generalize::Params_Generalize(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Generalize) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Generalize) } Params_Generalize::Params_Generalize(const Params_Generalize& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&max_deviation_, &from.max_deviation_, static_cast(reinterpret_cast(&remove_degenerates_) - reinterpret_cast(&max_deviation_)) + sizeof(remove_degenerates_)); @@ -6632,27 +6507,31 @@ Params_Generalize::Params_Generalize(const Params_Generalize& from) } void Params_Generalize::SharedCtor() { - ::memset(&max_deviation_, 0, static_cast( - reinterpret_cast(&remove_degenerates_) - - reinterpret_cast(&max_deviation_)) + sizeof(remove_degenerates_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&max_deviation_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&remove_degenerates_) - + reinterpret_cast(&max_deviation_)) + sizeof(remove_degenerates_)); } Params_Generalize::~Params_Generalize() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Generalize) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Generalize::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_Generalize::ArenaDtor(void* object) { + Params_Generalize* _this = reinterpret_cast< Params_Generalize* >(object); + (void)_this; +} +void Params_Generalize::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Generalize::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Generalize& Params_Generalize::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Generalize_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Generalize::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Generalize) @@ -6663,7 +6542,7 @@ void Params_Generalize::Clear() { ::memset(&max_deviation_, 0, static_cast( reinterpret_cast(&remove_degenerates_) - reinterpret_cast(&max_deviation_)) + sizeof(remove_degenerates_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Generalize::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -6683,7 +6562,7 @@ const char* Params_Generalize::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP // bool remove_degenerates = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - remove_degenerates_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + remove_degenerates_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -6693,7 +6572,9 @@ const char* Params_Generalize::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -6727,7 +6608,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Generalize::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Generalize) return target; @@ -6778,7 +6659,7 @@ void Params_Generalize::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) void Params_Generalize::MergeFrom(const Params_Generalize& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Generalize) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -6810,9 +6691,13 @@ bool Params_Generalize::IsInitialized() const { void Params_Generalize::InternalSwap(Params_Generalize* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(max_deviation_, other->max_deviation_); - swap(remove_degenerates_, other->remove_degenerates_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Params_Generalize, remove_degenerates_) + + sizeof(Params_Generalize::remove_degenerates_) + - PROTOBUF_FIELD_OFFSET(Params_Generalize, max_deviation_)>( + reinterpret_cast(&max_deviation_), + reinterpret_cast(&other->max_deviation_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Params_Generalize::GetMetadata() const { @@ -6822,21 +6707,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Generalize::GetMetadata() const { // =================================================================== -void Params_GeneralizeByArea::InitAsDefaultInstance() { -} class Params_GeneralizeByArea::_Internal { public: }; -Params_GeneralizeByArea::Params_GeneralizeByArea() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_GeneralizeByArea::Params_GeneralizeByArea(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.GeneralizeByArea) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.GeneralizeByArea) } Params_GeneralizeByArea::Params_GeneralizeByArea(const Params_GeneralizeByArea& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&percent_reduction_, &from.percent_reduction_, static_cast(reinterpret_cast(&remove_degenerates_) - reinterpret_cast(&percent_reduction_)) + sizeof(remove_degenerates_)); @@ -6844,27 +6727,31 @@ Params_GeneralizeByArea::Params_GeneralizeByArea(const Params_GeneralizeByArea& } void Params_GeneralizeByArea::SharedCtor() { - ::memset(&percent_reduction_, 0, static_cast( - reinterpret_cast(&remove_degenerates_) - - reinterpret_cast(&percent_reduction_)) + sizeof(remove_degenerates_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&percent_reduction_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&remove_degenerates_) - + reinterpret_cast(&percent_reduction_)) + sizeof(remove_degenerates_)); } Params_GeneralizeByArea::~Params_GeneralizeByArea() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.GeneralizeByArea) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_GeneralizeByArea::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_GeneralizeByArea::ArenaDtor(void* object) { + Params_GeneralizeByArea* _this = reinterpret_cast< Params_GeneralizeByArea* >(object); + (void)_this; +} +void Params_GeneralizeByArea::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_GeneralizeByArea::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_GeneralizeByArea& Params_GeneralizeByArea::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_GeneralizeByArea_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_GeneralizeByArea::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.GeneralizeByArea) @@ -6875,7 +6762,7 @@ void Params_GeneralizeByArea::Clear() { ::memset(&percent_reduction_, 0, static_cast( reinterpret_cast(&remove_degenerates_) - reinterpret_cast(&percent_reduction_)) + sizeof(remove_degenerates_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_GeneralizeByArea::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -6895,14 +6782,14 @@ const char* Params_GeneralizeByArea::_InternalParse(const char* ptr, ::PROTOBUF_ // int32 max_point_count = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - max_point_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + max_point_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // bool remove_degenerates = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - remove_degenerates_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + remove_degenerates_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -6912,7 +6799,9 @@ const char* Params_GeneralizeByArea::_InternalParse(const char* ptr, ::PROTOBUF_ ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -6952,7 +6841,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_GeneralizeByArea::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.GeneralizeByArea) return target; @@ -7010,7 +6899,7 @@ void Params_GeneralizeByArea::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& void Params_GeneralizeByArea::MergeFrom(const Params_GeneralizeByArea& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.GeneralizeByArea) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7045,10 +6934,13 @@ bool Params_GeneralizeByArea::IsInitialized() const { void Params_GeneralizeByArea::InternalSwap(Params_GeneralizeByArea* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(percent_reduction_, other->percent_reduction_); - swap(max_point_count_, other->max_point_count_); - swap(remove_degenerates_, other->remove_degenerates_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Params_GeneralizeByArea, remove_degenerates_) + + sizeof(Params_GeneralizeByArea::remove_degenerates_) + - PROTOBUF_FIELD_OFFSET(Params_GeneralizeByArea, percent_reduction_)>( + reinterpret_cast(&percent_reduction_), + reinterpret_cast(&other->percent_reduction_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Params_GeneralizeByArea::GetMetadata() const { @@ -7058,45 +6950,46 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_GeneralizeByArea::GetMetadata() const { // =================================================================== -void Params_Intersection::InitAsDefaultInstance() { -} class Params_Intersection::_Internal { public: }; -Params_Intersection::Params_Intersection() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Intersection::Params_Intersection(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Intersection) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Intersection) } Params_Intersection::Params_Intersection(const Params_Intersection& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); dimension_mask_ = from.dimension_mask_; // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Params.Intersection) } void Params_Intersection::SharedCtor() { - dimension_mask_ = 0; +dimension_mask_ = 0; } Params_Intersection::~Params_Intersection() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Intersection) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Intersection::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_Intersection::ArenaDtor(void* object) { + Params_Intersection* _this = reinterpret_cast< Params_Intersection* >(object); + (void)_this; +} +void Params_Intersection::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Intersection::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Intersection& Params_Intersection::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Intersection_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Intersection::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Intersection) @@ -7105,7 +6998,7 @@ void Params_Intersection::Clear() { (void) cached_has_bits; dimension_mask_ = 0; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Intersection::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7118,7 +7011,7 @@ const char* Params_Intersection::_InternalParse(const char* ptr, ::PROTOBUF_NAME // int32 dimension_mask = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - dimension_mask_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + dimension_mask_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -7128,7 +7021,9 @@ const char* Params_Intersection::_InternalParse(const char* ptr, ::PROTOBUF_NAME ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7156,7 +7051,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Intersection::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Intersection) return target; @@ -7204,7 +7099,7 @@ void Params_Intersection::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from void Params_Intersection::MergeFrom(const Params_Intersection& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Intersection) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7233,7 +7128,7 @@ bool Params_Intersection::IsInitialized() const { void Params_Intersection::InternalSwap(Params_Intersection* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(dimension_mask_, other->dimension_mask_); } @@ -7244,21 +7139,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Intersection::GetMetadata() const { // =================================================================== -void Params_Offset::InitAsDefaultInstance() { -} class Params_Offset::_Internal { public: }; -Params_Offset::Params_Offset() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Offset::Params_Offset(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Offset) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Offset) } Params_Offset::Params_Offset(const Params_Offset& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&distance_, &from.distance_, static_cast(reinterpret_cast(&join_type_) - reinterpret_cast(&distance_)) + sizeof(join_type_)); @@ -7266,27 +7159,31 @@ Params_Offset::Params_Offset(const Params_Offset& from) } void Params_Offset::SharedCtor() { - ::memset(&distance_, 0, static_cast( - reinterpret_cast(&join_type_) - - reinterpret_cast(&distance_)) + sizeof(join_type_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&distance_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&join_type_) - + reinterpret_cast(&distance_)) + sizeof(join_type_)); } Params_Offset::~Params_Offset() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Offset) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Offset::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_Offset::ArenaDtor(void* object) { + Params_Offset* _this = reinterpret_cast< Params_Offset* >(object); + (void)_this; +} +void Params_Offset::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Offset::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Offset& Params_Offset::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Offset_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Offset::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Offset) @@ -7297,7 +7194,7 @@ void Params_Offset::Clear() { ::memset(&distance_, 0, static_cast( reinterpret_cast(&join_type_) - reinterpret_cast(&distance_)) + sizeof(join_type_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Offset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7317,7 +7214,7 @@ const char* Params_Offset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ // .epl.protobuf.v1.Params.Offset.OffsetJoinType join_type = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_join_type(static_cast<::epl::protobuf::v1::Params_Offset_OffsetJoinType>(val)); } else goto handle_unusual; @@ -7342,7 +7239,9 @@ const char* Params_Offset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7389,7 +7288,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Offset::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Offset) return target; @@ -7451,7 +7350,7 @@ void Params_Offset::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params_Offset::MergeFrom(const Params_Offset& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Offset) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7489,11 +7388,13 @@ bool Params_Offset::IsInitialized() const { void Params_Offset::InternalSwap(Params_Offset* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(distance_, other->distance_); - swap(bevel_ratio_, other->bevel_ratio_); - swap(flatten_error_, other->flatten_error_); - swap(join_type_, other->join_type_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Params_Offset, join_type_) + + sizeof(Params_Offset::join_type_) + - PROTOBUF_FIELD_OFFSET(Params_Offset, distance_)>( + reinterpret_cast(&distance_), + reinterpret_cast(&other->distance_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Params_Offset::GetMetadata() const { @@ -7503,45 +7404,46 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Offset::GetMetadata() const { // =================================================================== -void Params_Cut::InitAsDefaultInstance() { -} class Params_Cut::_Internal { public: }; -Params_Cut::Params_Cut() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Cut::Params_Cut(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Cut) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Cut) } Params_Cut::Params_Cut(const Params_Cut& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); consider_touch_ = from.consider_touch_; // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Params.Cut) } void Params_Cut::SharedCtor() { - consider_touch_ = false; +consider_touch_ = false; } Params_Cut::~Params_Cut() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Cut) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Cut::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_Cut::ArenaDtor(void* object) { + Params_Cut* _this = reinterpret_cast< Params_Cut* >(object); + (void)_this; +} +void Params_Cut::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Cut::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Cut& Params_Cut::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Cut_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Cut::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Cut) @@ -7550,7 +7452,7 @@ void Params_Cut::Clear() { (void) cached_has_bits; consider_touch_ = false; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Cut::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7563,7 +7465,7 @@ const char* Params_Cut::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID: // bool consider_touch = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - consider_touch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + consider_touch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -7573,7 +7475,9 @@ const char* Params_Cut::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID: ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7601,7 +7505,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Cut::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Cut) return target; @@ -7647,7 +7551,7 @@ void Params_Cut::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params_Cut::MergeFrom(const Params_Cut& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Cut) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7676,7 +7580,7 @@ bool Params_Cut::IsInitialized() const { void Params_Cut::InternalSwap(Params_Cut* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(consider_touch_, other->consider_touch_); } @@ -7687,10 +7591,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Cut::GetMetadata() const { // =================================================================== -void Params_Clip::InitAsDefaultInstance() { - ::epl::protobuf::v1::_Params_Clip_default_instance_._instance.get_mutable()->envelope_ = const_cast< ::epl::protobuf::v1::EnvelopeData*>( - ::epl::protobuf::v1::EnvelopeData::internal_default_instance()); -} class Params_Clip::_Internal { public: static const ::epl::protobuf::v1::EnvelopeData& envelope(const Params_Clip* msg); @@ -7700,15 +7600,15 @@ const ::epl::protobuf::v1::EnvelopeData& Params_Clip::_Internal::envelope(const Params_Clip* msg) { return *msg->envelope_; } -Params_Clip::Params_Clip() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Clip::Params_Clip(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Clip) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Clip) } Params_Clip::Params_Clip(const Params_Clip& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_envelope()) { envelope_ = new ::epl::protobuf::v1::EnvelopeData(*from.envelope_); } else { @@ -7718,27 +7618,29 @@ Params_Clip::Params_Clip(const Params_Clip& from) } void Params_Clip::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Params_Clip_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - envelope_ = nullptr; +envelope_ = nullptr; } Params_Clip::~Params_Clip() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Clip) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Clip::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete envelope_; } +void Params_Clip::ArenaDtor(void* object) { + Params_Clip* _this = reinterpret_cast< Params_Clip* >(object); + (void)_this; +} +void Params_Clip::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Clip::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Clip& Params_Clip::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Clip_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Clip::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Clip) @@ -7746,11 +7648,11 @@ void Params_Clip::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && envelope_ != nullptr) { + if (GetArena() == nullptr && envelope_ != nullptr) { delete envelope_; } envelope_ = nullptr; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Clip::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7773,7 +7675,9 @@ const char* Params_Clip::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7803,7 +7707,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Clip::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Clip) return target; @@ -7851,7 +7755,7 @@ void Params_Clip::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params_Clip::MergeFrom(const Params_Clip& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Clip) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7880,7 +7784,7 @@ bool Params_Clip::IsInitialized() const { void Params_Clip::InternalSwap(Params_Clip* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(envelope_, other->envelope_); } @@ -7891,45 +7795,46 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Clip::GetMetadata() const { // =================================================================== -void Params_Densify::InitAsDefaultInstance() { -} class Params_Densify::_Internal { public: }; -Params_Densify::Params_Densify() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Densify::Params_Densify(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Densify) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Densify) } Params_Densify::Params_Densify(const Params_Densify& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); max_length_ = from.max_length_; // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Params.Densify) } void Params_Densify::SharedCtor() { - max_length_ = 0; +max_length_ = 0; } Params_Densify::~Params_Densify() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Densify) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Densify::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_Densify::ArenaDtor(void* object) { + Params_Densify* _this = reinterpret_cast< Params_Densify* >(object); + (void)_this; +} +void Params_Densify::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Densify::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Densify& Params_Densify::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Densify_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Densify::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Densify) @@ -7938,7 +7843,7 @@ void Params_Densify::Clear() { (void) cached_has_bits; max_length_ = 0; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Densify::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7961,7 +7866,9 @@ const char* Params_Densify::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7989,7 +7896,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Densify::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Densify) return target; @@ -8035,7 +7942,7 @@ void Params_Densify::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params_Densify::MergeFrom(const Params_Densify& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Densify) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -8064,7 +7971,7 @@ bool Params_Densify::IsInitialized() const { void Params_Densify::InternalSwap(Params_Densify* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(max_length_, other->max_length_); } @@ -8075,45 +7982,46 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Densify::GetMetadata() const { // =================================================================== -void Params_Simplify::InitAsDefaultInstance() { -} class Params_Simplify::_Internal { public: }; -Params_Simplify::Params_Simplify() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_Simplify::Params_Simplify(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.Simplify) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.Simplify) } Params_Simplify::Params_Simplify(const Params_Simplify& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); force_ = from.force_; // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Params.Simplify) } void Params_Simplify::SharedCtor() { - force_ = false; +force_ = false; } Params_Simplify::~Params_Simplify() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.Simplify) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_Simplify::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_Simplify::ArenaDtor(void* object) { + Params_Simplify* _this = reinterpret_cast< Params_Simplify* >(object); + (void)_this; +} +void Params_Simplify::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_Simplify::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_Simplify& Params_Simplify::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_Simplify_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_Simplify::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.Simplify) @@ -8122,7 +8030,7 @@ void Params_Simplify::Clear() { (void) cached_has_bits; force_ = false; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_Simplify::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -8135,7 +8043,7 @@ const char* Params_Simplify::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC // bool force = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - force_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + force_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -8145,7 +8053,9 @@ const char* Params_Simplify::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -8173,7 +8083,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_Simplify::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.Simplify) return target; @@ -8219,7 +8129,7 @@ void Params_Simplify::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params_Simplify::MergeFrom(const Params_Simplify& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.Simplify) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -8248,7 +8158,7 @@ bool Params_Simplify::IsInitialized() const { void Params_Simplify::InternalSwap(Params_Simplify* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(force_, other->force_); } @@ -8259,21 +8169,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_Simplify::GetMetadata() const { // =================================================================== -void Params_AffineTransform::InitAsDefaultInstance() { -} class Params_AffineTransform::_Internal { public: }; -Params_AffineTransform::Params_AffineTransform() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params_AffineTransform::Params_AffineTransform(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params.AffineTransform) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params.AffineTransform) } Params_AffineTransform::Params_AffineTransform(const Params_AffineTransform& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&x_offset_, &from.x_offset_, static_cast(reinterpret_cast(&geodetic_) - reinterpret_cast(&x_offset_)) + sizeof(geodetic_)); @@ -8281,27 +8189,31 @@ Params_AffineTransform::Params_AffineTransform(const Params_AffineTransform& fro } void Params_AffineTransform::SharedCtor() { - ::memset(&x_offset_, 0, static_cast( - reinterpret_cast(&geodetic_) - - reinterpret_cast(&x_offset_)) + sizeof(geodetic_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&x_offset_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&geodetic_) - + reinterpret_cast(&x_offset_)) + sizeof(geodetic_)); } Params_AffineTransform::~Params_AffineTransform() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params.AffineTransform) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params_AffineTransform::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params_AffineTransform::ArenaDtor(void* object) { + Params_AffineTransform* _this = reinterpret_cast< Params_AffineTransform* >(object); + (void)_this; +} +void Params_AffineTransform::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params_AffineTransform::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params_AffineTransform& Params_AffineTransform::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_AffineTransform_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params_AffineTransform::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params.AffineTransform) @@ -8312,7 +8224,7 @@ void Params_AffineTransform::Clear() { ::memset(&x_offset_, 0, static_cast( reinterpret_cast(&geodetic_) - reinterpret_cast(&x_offset_)) + sizeof(geodetic_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params_AffineTransform::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -8325,7 +8237,7 @@ const char* Params_AffineTransform::_InternalParse(const char* ptr, ::PROTOBUF_N // bool geodetic = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - geodetic_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + geodetic_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -8349,7 +8261,9 @@ const char* Params_AffineTransform::_InternalParse(const char* ptr, ::PROTOBUF_N ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -8389,7 +8303,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params_AffineTransform::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params.AffineTransform) return target; @@ -8445,7 +8359,7 @@ void Params_AffineTransform::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& f void Params_AffineTransform::MergeFrom(const Params_AffineTransform& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params.AffineTransform) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -8480,10 +8394,13 @@ bool Params_AffineTransform::IsInitialized() const { void Params_AffineTransform::InternalSwap(Params_AffineTransform* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(x_offset_, other->x_offset_); - swap(y_offset_, other->y_offset_); - swap(geodetic_, other->geodetic_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Params_AffineTransform, geodetic_) + + sizeof(Params_AffineTransform::geodetic_) + - PROTOBUF_FIELD_OFFSET(Params_AffineTransform, x_offset_)>( + reinterpret_cast(&x_offset_), + reinterpret_cast(&other->x_offset_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Params_AffineTransform::GetMetadata() const { @@ -8493,21 +8410,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params_AffineTransform::GetMetadata() const { // =================================================================== -void Params::InitAsDefaultInstance() { -} class Params::_Internal { public: }; -Params::Params() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Params::Params(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Params) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Params) } Params::Params(const Params& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Params) } @@ -8517,19 +8432,22 @@ void Params::SharedCtor() { Params::~Params() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Params) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Params::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Params::ArenaDtor(void* object) { + Params* _this = reinterpret_cast< Params* >(object); + (void)_this; +} +void Params::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Params::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Params& Params::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Params_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base); - return *internal_default_instance(); -} - void Params::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Params) @@ -8537,7 +8455,7 @@ void Params::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Params::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -8550,7 +8468,9 @@ const char* Params::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } // while @@ -8570,7 +8490,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Params::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Params) return target; @@ -8611,7 +8531,7 @@ void Params::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Params::MergeFrom(const Params& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Params) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -8637,7 +8557,7 @@ bool Params::IsInitialized() const { void Params::InternalSwap(Params* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); } ::PROTOBUF_NAMESPACE_ID::Metadata Params::GetMetadata() const { @@ -8651,76 +8571,76 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Params::GetMetadata() const { } // namespace epl PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::GeometryData* Arena::CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::GeometryData >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::GeometryData >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::ProjectionData_Custom* Arena::CreateMaybeMessage< ::epl::protobuf::v1::ProjectionData_Custom >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::ProjectionData_Custom >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::ProjectionData_Custom >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::ProjectionData* Arena::CreateMaybeMessage< ::epl::protobuf::v1::ProjectionData >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::ProjectionData >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::ProjectionData >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::EnvelopeData* Arena::CreateMaybeMessage< ::epl::protobuf::v1::EnvelopeData >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::EnvelopeData >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::EnvelopeData >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::GeometryRequest* Arena::CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::GeometryRequest >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::GeometryRequest >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::GeodeticInverse* Arena::CreateMaybeMessage< ::epl::protobuf::v1::GeodeticInverse >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::GeodeticInverse >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::GeodeticInverse >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::GeometryResponse_RelateMapEntry_DoNotUse* Arena::CreateMaybeMessage< ::epl::protobuf::v1::GeometryResponse_RelateMapEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::GeometryResponse_RelateMapEntry_DoNotUse >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::GeometryResponse_RelateMapEntry_DoNotUse >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::GeometryResponse* Arena::CreateMaybeMessage< ::epl::protobuf::v1::GeometryResponse >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::GeometryResponse >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::GeometryResponse >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::FileRequestChunk* Arena::CreateMaybeMessage< ::epl::protobuf::v1::FileRequestChunk >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::FileRequestChunk >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::FileRequestChunk >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Buffer* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Buffer >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Buffer >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Buffer >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_GeodeticBuffer* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_GeodeticBuffer >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_GeodeticBuffer >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_GeodeticBuffer >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Convex* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Convex >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Convex >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Convex >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Relate* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Relate >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Relate >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Relate >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_RandomPoints* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_RandomPoints >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_RandomPoints >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_RandomPoints >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Generalize* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Generalize >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Generalize >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Generalize >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_GeneralizeByArea* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_GeneralizeByArea >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_GeneralizeByArea >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_GeneralizeByArea >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Intersection* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Intersection >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Intersection >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Intersection >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Offset* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Offset >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Offset >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Offset >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Cut* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Cut >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Cut >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Cut >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Clip* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Clip >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Clip >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Clip >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Densify* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Densify >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Densify >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Densify >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_Simplify* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_Simplify >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_Simplify >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_Simplify >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params_AffineTransform* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params_AffineTransform >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params_AffineTransform >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params_AffineTransform >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Params* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Params >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Params >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Params >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/cpp/protobuf-lib/epl/protobuf/v1/geometry.pb.h b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry.pb.h similarity index 77% rename from cpp/protobuf-lib/epl/protobuf/v1/geometry.pb.h rename to cpp/epl-protobuf-v1/epl/protobuf/v1/geometry.pb.h index ccdc52a..1031e00 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/geometry.pb.h +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry.pb.h @@ -8,12 +8,12 @@ #include #include -#if PROTOBUF_VERSION < 3011000 +#if PROTOBUF_VERSION < 3015000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3011002 < PROTOBUF_MIN_PROTOC_VERSION +#if 3015002 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -25,8 +25,7 @@ #include #include #include -#include -#include +#include #include #include #include // IWYU pragma: export @@ -49,7 +48,7 @@ PROTOBUF_NAMESPACE_CLOSE struct TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] + static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[24] PROTOBUF_SECTION_VARIABLE(protodesc_cold); @@ -58,80 +57,81 @@ struct TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto { static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto; +::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(int index); namespace epl { namespace protobuf { namespace v1 { class EnvelopeData; -class EnvelopeDataDefaultTypeInternal; +struct EnvelopeDataDefaultTypeInternal; extern EnvelopeDataDefaultTypeInternal _EnvelopeData_default_instance_; class FileRequestChunk; -class FileRequestChunkDefaultTypeInternal; +struct FileRequestChunkDefaultTypeInternal; extern FileRequestChunkDefaultTypeInternal _FileRequestChunk_default_instance_; class GeodeticInverse; -class GeodeticInverseDefaultTypeInternal; +struct GeodeticInverseDefaultTypeInternal; extern GeodeticInverseDefaultTypeInternal _GeodeticInverse_default_instance_; class GeometryData; -class GeometryDataDefaultTypeInternal; +struct GeometryDataDefaultTypeInternal; extern GeometryDataDefaultTypeInternal _GeometryData_default_instance_; class GeometryRequest; -class GeometryRequestDefaultTypeInternal; +struct GeometryRequestDefaultTypeInternal; extern GeometryRequestDefaultTypeInternal _GeometryRequest_default_instance_; class GeometryResponse; -class GeometryResponseDefaultTypeInternal; +struct GeometryResponseDefaultTypeInternal; extern GeometryResponseDefaultTypeInternal _GeometryResponse_default_instance_; class GeometryResponse_RelateMapEntry_DoNotUse; -class GeometryResponse_RelateMapEntry_DoNotUseDefaultTypeInternal; +struct GeometryResponse_RelateMapEntry_DoNotUseDefaultTypeInternal; extern GeometryResponse_RelateMapEntry_DoNotUseDefaultTypeInternal _GeometryResponse_RelateMapEntry_DoNotUse_default_instance_; class Params; -class ParamsDefaultTypeInternal; +struct ParamsDefaultTypeInternal; extern ParamsDefaultTypeInternal _Params_default_instance_; class Params_AffineTransform; -class Params_AffineTransformDefaultTypeInternal; +struct Params_AffineTransformDefaultTypeInternal; extern Params_AffineTransformDefaultTypeInternal _Params_AffineTransform_default_instance_; class Params_Buffer; -class Params_BufferDefaultTypeInternal; +struct Params_BufferDefaultTypeInternal; extern Params_BufferDefaultTypeInternal _Params_Buffer_default_instance_; class Params_Clip; -class Params_ClipDefaultTypeInternal; +struct Params_ClipDefaultTypeInternal; extern Params_ClipDefaultTypeInternal _Params_Clip_default_instance_; class Params_Convex; -class Params_ConvexDefaultTypeInternal; +struct Params_ConvexDefaultTypeInternal; extern Params_ConvexDefaultTypeInternal _Params_Convex_default_instance_; class Params_Cut; -class Params_CutDefaultTypeInternal; +struct Params_CutDefaultTypeInternal; extern Params_CutDefaultTypeInternal _Params_Cut_default_instance_; class Params_Densify; -class Params_DensifyDefaultTypeInternal; +struct Params_DensifyDefaultTypeInternal; extern Params_DensifyDefaultTypeInternal _Params_Densify_default_instance_; class Params_Generalize; -class Params_GeneralizeDefaultTypeInternal; +struct Params_GeneralizeDefaultTypeInternal; extern Params_GeneralizeDefaultTypeInternal _Params_Generalize_default_instance_; class Params_GeneralizeByArea; -class Params_GeneralizeByAreaDefaultTypeInternal; +struct Params_GeneralizeByAreaDefaultTypeInternal; extern Params_GeneralizeByAreaDefaultTypeInternal _Params_GeneralizeByArea_default_instance_; class Params_GeodeticBuffer; -class Params_GeodeticBufferDefaultTypeInternal; +struct Params_GeodeticBufferDefaultTypeInternal; extern Params_GeodeticBufferDefaultTypeInternal _Params_GeodeticBuffer_default_instance_; class Params_Intersection; -class Params_IntersectionDefaultTypeInternal; +struct Params_IntersectionDefaultTypeInternal; extern Params_IntersectionDefaultTypeInternal _Params_Intersection_default_instance_; class Params_Offset; -class Params_OffsetDefaultTypeInternal; +struct Params_OffsetDefaultTypeInternal; extern Params_OffsetDefaultTypeInternal _Params_Offset_default_instance_; class Params_RandomPoints; -class Params_RandomPointsDefaultTypeInternal; +struct Params_RandomPointsDefaultTypeInternal; extern Params_RandomPointsDefaultTypeInternal _Params_RandomPoints_default_instance_; class Params_Relate; -class Params_RelateDefaultTypeInternal; +struct Params_RelateDefaultTypeInternal; extern Params_RelateDefaultTypeInternal _Params_Relate_default_instance_; class Params_Simplify; -class Params_SimplifyDefaultTypeInternal; +struct Params_SimplifyDefaultTypeInternal; extern Params_SimplifyDefaultTypeInternal _Params_Simplify_default_instance_; class ProjectionData; -class ProjectionDataDefaultTypeInternal; +struct ProjectionDataDefaultTypeInternal; extern ProjectionDataDefaultTypeInternal _ProjectionData_default_instance_; class ProjectionData_Custom; -class ProjectionData_CustomDefaultTypeInternal; +struct ProjectionData_CustomDefaultTypeInternal; extern ProjectionData_CustomDefaultTypeInternal _ProjectionData_Custom_default_instance_; } // namespace v1 } // namespace protobuf @@ -186,7 +186,7 @@ inline const std::string& ProjectionData_CSType_Name(T enum_t_value) { ProjectionData_CSType_descriptor(), enum_t_value); } inline bool ProjectionData_CSType_Parse( - const std::string& name, ProjectionData_CSType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProjectionData_CSType* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( ProjectionData_CSType_descriptor(), name, value); } @@ -210,7 +210,7 @@ inline const std::string& FileRequestChunk_FileType_Name(T enum_t_value) { FileRequestChunk_FileType_descriptor(), enum_t_value); } inline bool FileRequestChunk_FileType_Parse( - const std::string& name, FileRequestChunk_FileType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileRequestChunk_FileType* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( FileRequestChunk_FileType_descriptor(), name, value); } @@ -237,7 +237,7 @@ inline const std::string& Params_Offset_OffsetJoinType_Name(T enum_t_value) { Params_Offset_OffsetJoinType_descriptor(), enum_t_value); } inline bool Params_Offset_OffsetJoinType_Parse( - const std::string& name, Params_Offset_OffsetJoinType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Params_Offset_OffsetJoinType* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Params_Offset_OffsetJoinType_descriptor(), name, value); } @@ -270,7 +270,7 @@ inline const std::string& SimpleState_Name(T enum_t_value) { SimpleState_descriptor(), enum_t_value); } inline bool SimpleState_Parse( - const std::string& name, SimpleState* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SimpleState* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( SimpleState_descriptor(), name, value); } @@ -299,7 +299,7 @@ inline const std::string& Encoding_Name(T enum_t_value) { Encoding_descriptor(), enum_t_value); } inline bool Encoding_Parse( - const std::string& name, Encoding* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Encoding* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Encoding_descriptor(), name, value); } @@ -370,17 +370,18 @@ inline const std::string& OperatorType_Name(T enum_t_value) { OperatorType_descriptor(), enum_t_value); } inline bool OperatorType_Parse( - const std::string& name, OperatorType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OperatorType* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( OperatorType_descriptor(), name, value); } // =================================================================== -class GeometryData : +class GeometryData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.GeometryData) */ { public: - GeometryData(); + inline GeometryData() : GeometryData(nullptr) {} virtual ~GeometryData(); + explicit constexpr GeometryData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GeometryData(const GeometryData& from); GeometryData(GeometryData&& from) noexcept @@ -393,7 +394,7 @@ class GeometryData : return *this; } inline GeometryData& operator=(GeometryData&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -410,8 +411,9 @@ class GeometryData : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const GeometryData& default_instance(); - + static const GeometryData& default_instance() { + return *internal_default_instance(); + } enum DataCase { kWkt = 3, kGeojson = 4, @@ -421,7 +423,6 @@ class GeometryData : DATA_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const GeometryData* internal_default_instance() { return reinterpret_cast( &_GeometryData_default_instance_); @@ -434,6 +435,15 @@ class GeometryData : } inline void Swap(GeometryData* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeometryData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -468,20 +478,17 @@ class GeometryData : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.GeometryData"; } + protected: + explicit GeometryData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -532,6 +539,9 @@ class GeometryData : const ::epl::protobuf::v1::ProjectionData& _internal_proj() const; ::epl::protobuf::v1::ProjectionData* _internal_mutable_proj(); public: + void unsafe_arena_set_allocated_proj( + ::epl::protobuf::v1::ProjectionData* proj); + ::epl::protobuf::v1::ProjectionData* unsafe_arena_release_proj(); // .epl.protobuf.v1.EnvelopeData envelope = 13; bool has_envelope() const; @@ -547,6 +557,9 @@ class GeometryData : const ::epl::protobuf::v1::EnvelopeData& _internal_envelope() const; ::epl::protobuf::v1::EnvelopeData* _internal_mutable_envelope(); public: + void unsafe_arena_set_allocated_envelope( + ::epl::protobuf::v1::EnvelopeData* envelope); + ::epl::protobuf::v1::EnvelopeData* unsafe_arena_release_envelope(); // uint64 geometry_id = 1; void clear_geometry_id(); @@ -567,6 +580,7 @@ class GeometryData : public: // string wkt = 3; + bool has_wkt() const; private: bool _internal_has_wkt() const; public: @@ -586,6 +600,7 @@ class GeometryData : public: // string geojson = 4; + bool has_geojson() const; private: bool _internal_has_geojson() const; public: @@ -605,6 +620,7 @@ class GeometryData : public: // bytes wkb = 5; + bool has_wkb() const; private: bool _internal_has_wkb() const; public: @@ -624,6 +640,7 @@ class GeometryData : public: // bytes esri_shape = 6; + bool has_esri_shape() const; private: bool _internal_has_esri_shape() const; public: @@ -643,6 +660,7 @@ class GeometryData : public: // bytes ewkb = 15; + bool has_ewkb() const; private: bool _internal_has_ewkb() const; public: @@ -675,14 +693,17 @@ class GeometryData : inline bool has_data() const; inline void clear_has_data(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr feature_id_; ::epl::protobuf::v1::ProjectionData* proj_; ::epl::protobuf::v1::EnvelopeData* envelope_; ::PROTOBUF_NAMESPACE_ID::uint64 geometry_id_; int simple_; union DataUnion { - DataUnion() {} + constexpr DataUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr wkt_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr geojson_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr wkb_; @@ -696,11 +717,12 @@ class GeometryData : }; // ------------------------------------------------------------------- -class ProjectionData_Custom : +class ProjectionData_Custom PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.ProjectionData.Custom) */ { public: - ProjectionData_Custom(); + inline ProjectionData_Custom() : ProjectionData_Custom(nullptr) {} virtual ~ProjectionData_Custom(); + explicit constexpr ProjectionData_Custom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ProjectionData_Custom(const ProjectionData_Custom& from); ProjectionData_Custom(ProjectionData_Custom&& from) noexcept @@ -713,7 +735,7 @@ class ProjectionData_Custom : return *this; } inline ProjectionData_Custom& operator=(ProjectionData_Custom&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -730,9 +752,9 @@ class ProjectionData_Custom : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const ProjectionData_Custom& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ProjectionData_Custom& default_instance() { + return *internal_default_instance(); + } static inline const ProjectionData_Custom* internal_default_instance() { return reinterpret_cast( &_ProjectionData_Custom_default_instance_); @@ -745,6 +767,15 @@ class ProjectionData_Custom : } inline void Swap(ProjectionData_Custom* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ProjectionData_Custom* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -779,20 +810,17 @@ class ProjectionData_Custom : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.ProjectionData.Custom"; } + protected: + explicit ProjectionData_Custom(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -837,7 +865,9 @@ class ProjectionData_Custom : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double lon_0_; double lat_0_; int cs_type_; @@ -846,11 +876,12 @@ class ProjectionData_Custom : }; // ------------------------------------------------------------------- -class ProjectionData : +class ProjectionData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.ProjectionData) */ { public: - ProjectionData(); + inline ProjectionData() : ProjectionData(nullptr) {} virtual ~ProjectionData(); + explicit constexpr ProjectionData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ProjectionData(const ProjectionData& from); ProjectionData(ProjectionData&& from) noexcept @@ -863,7 +894,7 @@ class ProjectionData : return *this; } inline ProjectionData& operator=(ProjectionData&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -880,8 +911,9 @@ class ProjectionData : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const ProjectionData& default_instance(); - + static const ProjectionData& default_instance() { + return *internal_default_instance(); + } enum DefinitionCase { kEpsg = 1, kProj4 = 2, @@ -890,7 +922,6 @@ class ProjectionData : DEFINITION_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ProjectionData* internal_default_instance() { return reinterpret_cast( &_ProjectionData_default_instance_); @@ -903,6 +934,15 @@ class ProjectionData : } inline void Swap(ProjectionData* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ProjectionData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -937,20 +977,17 @@ class ProjectionData : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.ProjectionData"; } + protected: + explicit ProjectionData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -982,7 +1019,7 @@ class ProjectionData : "Incorrect type passed to function CSType_Name."); return ProjectionData_CSType_Name(enum_t_value); } - static inline bool CSType_Parse(const std::string& name, + static inline bool CSType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSType* value) { return ProjectionData_CSType_Parse(name, value); } @@ -1058,6 +1095,9 @@ class ProjectionData : const ::epl::protobuf::v1::GeometryData& _internal_geometry() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_geometry(); public: + void unsafe_arena_set_allocated_geometry( + ::epl::protobuf::v1::GeometryData* geometry); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_geometry(); // .epl.protobuf.v1.EnvelopeData bbox = 11; bool has_bbox() const; @@ -1073,6 +1113,9 @@ class ProjectionData : const ::epl::protobuf::v1::EnvelopeData& _internal_bbox() const; ::epl::protobuf::v1::EnvelopeData* _internal_mutable_bbox(); public: + void unsafe_arena_set_allocated_bbox( + ::epl::protobuf::v1::EnvelopeData* bbox); + ::epl::protobuf::v1::EnvelopeData* unsafe_arena_release_bbox(); // .epl.protobuf.v1.GeometryData centroid = 12; bool has_centroid() const; @@ -1088,8 +1131,12 @@ class ProjectionData : const ::epl::protobuf::v1::GeometryData& _internal_centroid() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_centroid(); public: + void unsafe_arena_set_allocated_centroid( + ::epl::protobuf::v1::GeometryData* centroid); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_centroid(); // int32 epsg = 1; + bool has_epsg() const; private: bool _internal_has_epsg() const; public: @@ -1102,6 +1149,7 @@ class ProjectionData : public: // string proj4 = 2; + bool has_proj4() const; private: bool _internal_has_proj4() const; public: @@ -1134,8 +1182,12 @@ class ProjectionData : const ::epl::protobuf::v1::ProjectionData_Custom& _internal_custom() const; ::epl::protobuf::v1::ProjectionData_Custom* _internal_mutable_custom(); public: + void unsafe_arena_set_allocated_custom( + ::epl::protobuf::v1::ProjectionData_Custom* custom); + ::epl::protobuf::v1::ProjectionData_Custom* unsafe_arena_release_custom(); // string wkt = 4; + bool has_wkt() const; private: bool _internal_has_wkt() const; public: @@ -1167,7 +1219,9 @@ class ProjectionData : inline bool has_definition() const; inline void clear_has_definition(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > shape_; mutable std::atomic _shape_cached_byte_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > transform_; @@ -1176,7 +1230,8 @@ class ProjectionData : ::epl::protobuf::v1::EnvelopeData* bbox_; ::epl::protobuf::v1::GeometryData* centroid_; union DefinitionUnion { - DefinitionUnion() {} + constexpr DefinitionUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::PROTOBUF_NAMESPACE_ID::int32 epsg_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr proj4_; ::epl::protobuf::v1::ProjectionData_Custom* custom_; @@ -1189,11 +1244,12 @@ class ProjectionData : }; // ------------------------------------------------------------------- -class EnvelopeData : +class EnvelopeData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.EnvelopeData) */ { public: - EnvelopeData(); + inline EnvelopeData() : EnvelopeData(nullptr) {} virtual ~EnvelopeData(); + explicit constexpr EnvelopeData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); EnvelopeData(const EnvelopeData& from); EnvelopeData(EnvelopeData&& from) noexcept @@ -1206,7 +1262,7 @@ class EnvelopeData : return *this; } inline EnvelopeData& operator=(EnvelopeData&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -1223,9 +1279,9 @@ class EnvelopeData : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const EnvelopeData& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const EnvelopeData& default_instance() { + return *internal_default_instance(); + } static inline const EnvelopeData* internal_default_instance() { return reinterpret_cast( &_EnvelopeData_default_instance_); @@ -1238,6 +1294,15 @@ class EnvelopeData : } inline void Swap(EnvelopeData* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(EnvelopeData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -1272,20 +1337,17 @@ class EnvelopeData : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.EnvelopeData"; } + protected: + explicit EnvelopeData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -1317,6 +1379,9 @@ class EnvelopeData : const ::epl::protobuf::v1::ProjectionData& _internal_proj() const; ::epl::protobuf::v1::ProjectionData* _internal_mutable_proj(); public: + void unsafe_arena_set_allocated_proj( + ::epl::protobuf::v1::ProjectionData* proj); + ::epl::protobuf::v1::ProjectionData* unsafe_arena_release_proj(); // double xmin = 1; void clear_xmin(); @@ -1376,7 +1441,9 @@ class EnvelopeData : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::epl::protobuf::v1::ProjectionData* proj_; double xmin_; double ymin_; @@ -1389,11 +1456,12 @@ class EnvelopeData : }; // ------------------------------------------------------------------- -class GeometryRequest : +class GeometryRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.GeometryRequest) */ { public: - GeometryRequest(); + inline GeometryRequest() : GeometryRequest(nullptr) {} virtual ~GeometryRequest(); + explicit constexpr GeometryRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GeometryRequest(const GeometryRequest& from); GeometryRequest(GeometryRequest&& from) noexcept @@ -1406,7 +1474,7 @@ class GeometryRequest : return *this; } inline GeometryRequest& operator=(GeometryRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -1423,8 +1491,9 @@ class GeometryRequest : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const GeometryRequest& default_instance(); - + static const GeometryRequest& default_instance() { + return *internal_default_instance(); + } enum LeftCase { kGeometry = 1, kLeftGeometry = 2, @@ -1457,7 +1526,6 @@ class GeometryRequest : PARAMS_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const GeometryRequest* internal_default_instance() { return reinterpret_cast( &_GeometryRequest_default_instance_); @@ -1470,6 +1538,15 @@ class GeometryRequest : } inline void Swap(GeometryRequest* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeometryRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -1504,20 +1581,17 @@ class GeometryRequest : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.GeometryRequest"; } + protected: + explicit GeometryRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -1566,6 +1640,9 @@ class GeometryRequest : const ::epl::protobuf::v1::ProjectionData& _internal_operation_proj() const; ::epl::protobuf::v1::ProjectionData* _internal_mutable_operation_proj(); public: + void unsafe_arena_set_allocated_operation_proj( + ::epl::protobuf::v1::ProjectionData* operation_proj); + ::epl::protobuf::v1::ProjectionData* unsafe_arena_release_operation_proj(); // .epl.protobuf.v1.ProjectionData result_proj = 10; bool has_result_proj() const; @@ -1581,6 +1658,9 @@ class GeometryRequest : const ::epl::protobuf::v1::ProjectionData& _internal_result_proj() const; ::epl::protobuf::v1::ProjectionData* _internal_mutable_result_proj(); public: + void unsafe_arena_set_allocated_result_proj( + ::epl::protobuf::v1::ProjectionData* result_proj); + ::epl::protobuf::v1::ProjectionData* unsafe_arena_release_result_proj(); // .epl.protobuf.v1.OperatorType operator = 7; void clear_operator_(); @@ -1614,6 +1694,9 @@ class GeometryRequest : const ::epl::protobuf::v1::GeometryData& _internal_geometry() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_geometry(); public: + void unsafe_arena_set_allocated_geometry( + ::epl::protobuf::v1::GeometryData* geometry); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_geometry(); // .epl.protobuf.v1.GeometryData left_geometry = 2; bool has_left_geometry() const; @@ -1629,6 +1712,9 @@ class GeometryRequest : const ::epl::protobuf::v1::GeometryData& _internal_left_geometry() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_left_geometry(); public: + void unsafe_arena_set_allocated_left_geometry( + ::epl::protobuf::v1::GeometryData* left_geometry); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_left_geometry(); // .epl.protobuf.v1.GeometryRequest geometry_request = 3; bool has_geometry_request() const; @@ -1644,6 +1730,9 @@ class GeometryRequest : const ::epl::protobuf::v1::GeometryRequest& _internal_geometry_request() const; ::epl::protobuf::v1::GeometryRequest* _internal_mutable_geometry_request(); public: + void unsafe_arena_set_allocated_geometry_request( + ::epl::protobuf::v1::GeometryRequest* geometry_request); + ::epl::protobuf::v1::GeometryRequest* unsafe_arena_release_geometry_request(); // .epl.protobuf.v1.GeometryRequest left_geometry_request = 4; bool has_left_geometry_request() const; @@ -1659,6 +1748,9 @@ class GeometryRequest : const ::epl::protobuf::v1::GeometryRequest& _internal_left_geometry_request() const; ::epl::protobuf::v1::GeometryRequest* _internal_mutable_left_geometry_request(); public: + void unsafe_arena_set_allocated_left_geometry_request( + ::epl::protobuf::v1::GeometryRequest* left_geometry_request); + ::epl::protobuf::v1::GeometryRequest* unsafe_arena_release_left_geometry_request(); // .epl.protobuf.v1.GeometryData right_geometry = 5; bool has_right_geometry() const; @@ -1674,6 +1766,9 @@ class GeometryRequest : const ::epl::protobuf::v1::GeometryData& _internal_right_geometry() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_right_geometry(); public: + void unsafe_arena_set_allocated_right_geometry( + ::epl::protobuf::v1::GeometryData* right_geometry); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_right_geometry(); // .epl.protobuf.v1.GeometryRequest right_geometry_request = 6; bool has_right_geometry_request() const; @@ -1689,6 +1784,9 @@ class GeometryRequest : const ::epl::protobuf::v1::GeometryRequest& _internal_right_geometry_request() const; ::epl::protobuf::v1::GeometryRequest* _internal_mutable_right_geometry_request(); public: + void unsafe_arena_set_allocated_right_geometry_request( + ::epl::protobuf::v1::GeometryRequest* right_geometry_request); + ::epl::protobuf::v1::GeometryRequest* unsafe_arena_release_right_geometry_request(); // .epl.protobuf.v1.Params.Buffer buffer_params = 11; bool has_buffer_params() const; @@ -1704,6 +1802,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Buffer& _internal_buffer_params() const; ::epl::protobuf::v1::Params_Buffer* _internal_mutable_buffer_params(); public: + void unsafe_arena_set_allocated_buffer_params( + ::epl::protobuf::v1::Params_Buffer* buffer_params); + ::epl::protobuf::v1::Params_Buffer* unsafe_arena_release_buffer_params(); // .epl.protobuf.v1.Params.Convex convex_params = 12; bool has_convex_params() const; @@ -1719,6 +1820,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Convex& _internal_convex_params() const; ::epl::protobuf::v1::Params_Convex* _internal_mutable_convex_params(); public: + void unsafe_arena_set_allocated_convex_params( + ::epl::protobuf::v1::Params_Convex* convex_params); + ::epl::protobuf::v1::Params_Convex* unsafe_arena_release_convex_params(); // .epl.protobuf.v1.Params.Relate relate_params = 13; bool has_relate_params() const; @@ -1734,6 +1838,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Relate& _internal_relate_params() const; ::epl::protobuf::v1::Params_Relate* _internal_mutable_relate_params(); public: + void unsafe_arena_set_allocated_relate_params( + ::epl::protobuf::v1::Params_Relate* relate_params); + ::epl::protobuf::v1::Params_Relate* unsafe_arena_release_relate_params(); // .epl.protobuf.v1.Params.RandomPoints random_points_params = 14; bool has_random_points_params() const; @@ -1749,6 +1856,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_RandomPoints& _internal_random_points_params() const; ::epl::protobuf::v1::Params_RandomPoints* _internal_mutable_random_points_params(); public: + void unsafe_arena_set_allocated_random_points_params( + ::epl::protobuf::v1::Params_RandomPoints* random_points_params); + ::epl::protobuf::v1::Params_RandomPoints* unsafe_arena_release_random_points_params(); // .epl.protobuf.v1.Params.Generalize generalize_params = 15; bool has_generalize_params() const; @@ -1764,6 +1874,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Generalize& _internal_generalize_params() const; ::epl::protobuf::v1::Params_Generalize* _internal_mutable_generalize_params(); public: + void unsafe_arena_set_allocated_generalize_params( + ::epl::protobuf::v1::Params_Generalize* generalize_params); + ::epl::protobuf::v1::Params_Generalize* unsafe_arena_release_generalize_params(); // .epl.protobuf.v1.Params.Intersection intersection_params = 16; bool has_intersection_params() const; @@ -1779,6 +1892,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Intersection& _internal_intersection_params() const; ::epl::protobuf::v1::Params_Intersection* _internal_mutable_intersection_params(); public: + void unsafe_arena_set_allocated_intersection_params( + ::epl::protobuf::v1::Params_Intersection* intersection_params); + ::epl::protobuf::v1::Params_Intersection* unsafe_arena_release_intersection_params(); // .epl.protobuf.v1.Params.Offset offset_params = 17; bool has_offset_params() const; @@ -1794,6 +1910,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Offset& _internal_offset_params() const; ::epl::protobuf::v1::Params_Offset* _internal_mutable_offset_params(); public: + void unsafe_arena_set_allocated_offset_params( + ::epl::protobuf::v1::Params_Offset* offset_params); + ::epl::protobuf::v1::Params_Offset* unsafe_arena_release_offset_params(); // .epl.protobuf.v1.Params.Cut cut_params = 18; bool has_cut_params() const; @@ -1809,6 +1928,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Cut& _internal_cut_params() const; ::epl::protobuf::v1::Params_Cut* _internal_mutable_cut_params(); public: + void unsafe_arena_set_allocated_cut_params( + ::epl::protobuf::v1::Params_Cut* cut_params); + ::epl::protobuf::v1::Params_Cut* unsafe_arena_release_cut_params(); // .epl.protobuf.v1.Params.Clip clip_params = 19; bool has_clip_params() const; @@ -1824,6 +1946,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Clip& _internal_clip_params() const; ::epl::protobuf::v1::Params_Clip* _internal_mutable_clip_params(); public: + void unsafe_arena_set_allocated_clip_params( + ::epl::protobuf::v1::Params_Clip* clip_params); + ::epl::protobuf::v1::Params_Clip* unsafe_arena_release_clip_params(); // .epl.protobuf.v1.Params.Densify densify_params = 20; bool has_densify_params() const; @@ -1839,6 +1964,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Densify& _internal_densify_params() const; ::epl::protobuf::v1::Params_Densify* _internal_mutable_densify_params(); public: + void unsafe_arena_set_allocated_densify_params( + ::epl::protobuf::v1::Params_Densify* densify_params); + ::epl::protobuf::v1::Params_Densify* unsafe_arena_release_densify_params(); // .epl.protobuf.v1.Params.Simplify simplify_params = 21; bool has_simplify_params() const; @@ -1854,6 +1982,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_Simplify& _internal_simplify_params() const; ::epl::protobuf::v1::Params_Simplify* _internal_mutable_simplify_params(); public: + void unsafe_arena_set_allocated_simplify_params( + ::epl::protobuf::v1::Params_Simplify* simplify_params); + ::epl::protobuf::v1::Params_Simplify* unsafe_arena_release_simplify_params(); // .epl.protobuf.v1.Params.GeneralizeByArea generalize_by_area_params = 22; bool has_generalize_by_area_params() const; @@ -1869,6 +2000,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_GeneralizeByArea& _internal_generalize_by_area_params() const; ::epl::protobuf::v1::Params_GeneralizeByArea* _internal_mutable_generalize_by_area_params(); public: + void unsafe_arena_set_allocated_generalize_by_area_params( + ::epl::protobuf::v1::Params_GeneralizeByArea* generalize_by_area_params); + ::epl::protobuf::v1::Params_GeneralizeByArea* unsafe_arena_release_generalize_by_area_params(); // .epl.protobuf.v1.Params.AffineTransform affine_transform_params = 23; bool has_affine_transform_params() const; @@ -1884,6 +2018,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_AffineTransform& _internal_affine_transform_params() const; ::epl::protobuf::v1::Params_AffineTransform* _internal_mutable_affine_transform_params(); public: + void unsafe_arena_set_allocated_affine_transform_params( + ::epl::protobuf::v1::Params_AffineTransform* affine_transform_params); + ::epl::protobuf::v1::Params_AffineTransform* unsafe_arena_release_affine_transform_params(); // .epl.protobuf.v1.Params.GeodeticBuffer geodetic_buffer_params = 24; bool has_geodetic_buffer_params() const; @@ -1899,6 +2036,9 @@ class GeometryRequest : const ::epl::protobuf::v1::Params_GeodeticBuffer& _internal_geodetic_buffer_params() const; ::epl::protobuf::v1::Params_GeodeticBuffer* _internal_mutable_geodetic_buffer_params(); public: + void unsafe_arena_set_allocated_geodetic_buffer_params( + ::epl::protobuf::v1::Params_GeodeticBuffer* geodetic_buffer_params); + ::epl::protobuf::v1::Params_GeodeticBuffer* unsafe_arena_release_geodetic_buffer_params(); void clear_left(); LeftCase left_case() const; @@ -1939,25 +2079,30 @@ class GeometryRequest : inline bool has_params() const; inline void clear_has_params(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::epl::protobuf::v1::ProjectionData* operation_proj_; ::epl::protobuf::v1::ProjectionData* result_proj_; int operator__; int result_encoding_; union LeftUnion { - LeftUnion() {} + constexpr LeftUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::epl::protobuf::v1::GeometryData* geometry_; ::epl::protobuf::v1::GeometryData* left_geometry_; ::epl::protobuf::v1::GeometryRequest* geometry_request_; ::epl::protobuf::v1::GeometryRequest* left_geometry_request_; } left_; union RightUnion { - RightUnion() {} + constexpr RightUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::epl::protobuf::v1::GeometryData* right_geometry_; ::epl::protobuf::v1::GeometryRequest* right_geometry_request_; } right_; union ParamsUnion { - ParamsUnion() {} + constexpr ParamsUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::epl::protobuf::v1::Params_Buffer* buffer_params_; ::epl::protobuf::v1::Params_Convex* convex_params_; ::epl::protobuf::v1::Params_Relate* relate_params_; @@ -1980,11 +2125,12 @@ class GeometryRequest : }; // ------------------------------------------------------------------- -class GeodeticInverse : +class GeodeticInverse PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.GeodeticInverse) */ { public: - GeodeticInverse(); + inline GeodeticInverse() : GeodeticInverse(nullptr) {} virtual ~GeodeticInverse(); + explicit constexpr GeodeticInverse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GeodeticInverse(const GeodeticInverse& from); GeodeticInverse(GeodeticInverse&& from) noexcept @@ -1997,7 +2143,7 @@ class GeodeticInverse : return *this; } inline GeodeticInverse& operator=(GeodeticInverse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -2014,9 +2160,9 @@ class GeodeticInverse : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const GeodeticInverse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GeodeticInverse& default_instance() { + return *internal_default_instance(); + } static inline const GeodeticInverse* internal_default_instance() { return reinterpret_cast( &_GeodeticInverse_default_instance_); @@ -2029,6 +2175,15 @@ class GeodeticInverse : } inline void Swap(GeodeticInverse* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeodeticInverse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -2063,20 +2218,17 @@ class GeodeticInverse : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.GeodeticInverse"; } + protected: + explicit GeodeticInverse(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -2121,7 +2273,9 @@ class GeodeticInverse : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double az12_; double az21_; double distance_; @@ -2133,16 +2287,16 @@ class GeodeticInverse : class GeometryResponse_RelateMapEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL> { public: typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL> SuperType; GeometryResponse_RelateMapEntry_DoNotUse(); - GeometryResponse_RelateMapEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit constexpr GeometryResponse_RelateMapEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit GeometryResponse_RelateMapEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); void MergeFrom(const GeometryResponse_RelateMapEntry_DoNotUse& other); static const GeometryResponse_RelateMapEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_GeometryResponse_RelateMapEntry_DoNotUse_default_instance_); } static bool ValidateKey(void*) { return true; } @@ -2160,11 +2314,12 @@ class GeometryResponse_RelateMapEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID: // ------------------------------------------------------------------- -class GeometryResponse : +class GeometryResponse PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.GeometryResponse) */ { public: - GeometryResponse(); + inline GeometryResponse() : GeometryResponse(nullptr) {} virtual ~GeometryResponse(); + explicit constexpr GeometryResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GeometryResponse(const GeometryResponse& from); GeometryResponse(GeometryResponse&& from) noexcept @@ -2177,7 +2332,7 @@ class GeometryResponse : return *this; } inline GeometryResponse& operator=(GeometryResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -2194,8 +2349,9 @@ class GeometryResponse : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const GeometryResponse& default_instance(); - + static const GeometryResponse& default_instance() { + return *internal_default_instance(); + } enum ResultCase { kGeometry = 1, kSpatialRelationship = 2, @@ -2204,7 +2360,6 @@ class GeometryResponse : RESULT_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const GeometryResponse* internal_default_instance() { return reinterpret_cast( &_GeometryResponse_default_instance_); @@ -2217,6 +2372,15 @@ class GeometryResponse : } inline void Swap(GeometryResponse* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GeometryResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -2251,20 +2415,17 @@ class GeometryResponse : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.GeometryResponse"; } + protected: + explicit GeometryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -2312,8 +2473,12 @@ class GeometryResponse : const ::epl::protobuf::v1::GeometryData& _internal_geometry() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_geometry(); public: + void unsafe_arena_set_allocated_geometry( + ::epl::protobuf::v1::GeometryData* geometry); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_geometry(); // bool spatial_relationship = 2; + bool has_spatial_relationship() const; private: bool _internal_has_spatial_relationship() const; public: @@ -2326,6 +2491,7 @@ class GeometryResponse : public: // double measure = 3; + bool has_measure() const; private: bool _internal_has_measure() const; public: @@ -2351,6 +2517,9 @@ class GeometryResponse : const ::epl::protobuf::v1::GeodeticInverse& _internal_geodetic_inverse() const; ::epl::protobuf::v1::GeodeticInverse* _internal_mutable_geodetic_inverse(); public: + void unsafe_arena_set_allocated_geodetic_inverse( + ::epl::protobuf::v1::GeodeticInverse* geodetic_inverse); + ::epl::protobuf::v1::GeodeticInverse* unsafe_arena_release_geodetic_inverse(); void clear_result(); ResultCase result_case() const; @@ -2365,15 +2534,17 @@ class GeometryResponse : inline bool has_result() const; inline void clear_has_result(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::MapField< GeometryResponse_RelateMapEntry_DoNotUse, ::PROTOBUF_NAMESPACE_ID::int64, bool, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL, - 0 > relate_map_; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL> relate_map_; union ResultUnion { - ResultUnion() {} + constexpr ResultUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::epl::protobuf::v1::GeometryData* geometry_; bool spatial_relationship_; double measure_; @@ -2386,11 +2557,12 @@ class GeometryResponse : }; // ------------------------------------------------------------------- -class FileRequestChunk : +class FileRequestChunk PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.FileRequestChunk) */ { public: - FileRequestChunk(); + inline FileRequestChunk() : FileRequestChunk(nullptr) {} virtual ~FileRequestChunk(); + explicit constexpr FileRequestChunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); FileRequestChunk(const FileRequestChunk& from); FileRequestChunk(FileRequestChunk&& from) noexcept @@ -2403,7 +2575,7 @@ class FileRequestChunk : return *this; } inline FileRequestChunk& operator=(FileRequestChunk&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -2420,9 +2592,9 @@ class FileRequestChunk : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const FileRequestChunk& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const FileRequestChunk& default_instance() { + return *internal_default_instance(); + } static inline const FileRequestChunk* internal_default_instance() { return reinterpret_cast( &_FileRequestChunk_default_instance_); @@ -2435,6 +2607,15 @@ class FileRequestChunk : } inline void Swap(FileRequestChunk* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FileRequestChunk* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -2469,20 +2650,17 @@ class FileRequestChunk : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.FileRequestChunk"; } + protected: + explicit FileRequestChunk(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -2512,7 +2690,7 @@ class FileRequestChunk : "Incorrect type passed to function FileType_Name."); return FileRequestChunk_FileType_Name(enum_t_value); } - static inline bool FileType_Parse(const std::string& name, + static inline bool FileType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileType* value) { return FileRequestChunk_FileType_Parse(name, value); } @@ -2576,6 +2754,9 @@ class FileRequestChunk : const ::epl::protobuf::v1::GeometryRequest& _internal_nested_request() const; ::epl::protobuf::v1::GeometryRequest* _internal_mutable_nested_request(); public: + void unsafe_arena_set_allocated_nested_request( + ::epl::protobuf::v1::GeometryRequest* nested_request); + ::epl::protobuf::v1::GeometryRequest* unsafe_arena_release_nested_request(); // .epl.protobuf.v1.ProjectionData input_proj = 3; bool has_input_proj() const; @@ -2591,6 +2772,9 @@ class FileRequestChunk : const ::epl::protobuf::v1::ProjectionData& _internal_input_proj() const; ::epl::protobuf::v1::ProjectionData* _internal_mutable_input_proj(); public: + void unsafe_arena_set_allocated_input_proj( + ::epl::protobuf::v1::ProjectionData* input_proj); + ::epl::protobuf::v1::ProjectionData* unsafe_arena_release_input_proj(); // .epl.protobuf.v1.ProjectionData result_proj = 5; bool has_result_proj() const; @@ -2606,6 +2790,9 @@ class FileRequestChunk : const ::epl::protobuf::v1::ProjectionData& _internal_result_proj() const; ::epl::protobuf::v1::ProjectionData* _internal_mutable_result_proj(); public: + void unsafe_arena_set_allocated_result_proj( + ::epl::protobuf::v1::ProjectionData* result_proj); + ::epl::protobuf::v1::ProjectionData* unsafe_arena_release_result_proj(); // .epl.protobuf.v1.Encoding result_encoding_type = 2; void clear_result_encoding_type(); @@ -2647,7 +2834,9 @@ class FileRequestChunk : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_name_; ::epl::protobuf::v1::GeometryRequest* nested_request_; @@ -2662,11 +2851,12 @@ class FileRequestChunk : }; // ------------------------------------------------------------------- -class Params_Buffer : +class Params_Buffer PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Buffer) */ { public: - Params_Buffer(); + inline Params_Buffer() : Params_Buffer(nullptr) {} virtual ~Params_Buffer(); + explicit constexpr Params_Buffer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Buffer(const Params_Buffer& from); Params_Buffer(Params_Buffer&& from) noexcept @@ -2679,7 +2869,7 @@ class Params_Buffer : return *this; } inline Params_Buffer& operator=(Params_Buffer&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -2696,9 +2886,9 @@ class Params_Buffer : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Buffer& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Buffer& default_instance() { + return *internal_default_instance(); + } static inline const Params_Buffer* internal_default_instance() { return reinterpret_cast( &_Params_Buffer_default_instance_); @@ -2711,6 +2901,15 @@ class Params_Buffer : } inline void Swap(Params_Buffer* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Buffer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -2745,20 +2944,17 @@ class Params_Buffer : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Buffer"; } + protected: + explicit Params_Buffer(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -2813,7 +3009,9 @@ class Params_Buffer : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double distance_; double max_deviation_; bool union_result_; @@ -2823,11 +3021,12 @@ class Params_Buffer : }; // ------------------------------------------------------------------- -class Params_GeodeticBuffer : +class Params_GeodeticBuffer PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.GeodeticBuffer) */ { public: - Params_GeodeticBuffer(); + inline Params_GeodeticBuffer() : Params_GeodeticBuffer(nullptr) {} virtual ~Params_GeodeticBuffer(); + explicit constexpr Params_GeodeticBuffer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_GeodeticBuffer(const Params_GeodeticBuffer& from); Params_GeodeticBuffer(Params_GeodeticBuffer&& from) noexcept @@ -2840,7 +3039,7 @@ class Params_GeodeticBuffer : return *this; } inline Params_GeodeticBuffer& operator=(Params_GeodeticBuffer&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -2857,9 +3056,9 @@ class Params_GeodeticBuffer : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_GeodeticBuffer& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_GeodeticBuffer& default_instance() { + return *internal_default_instance(); + } static inline const Params_GeodeticBuffer* internal_default_instance() { return reinterpret_cast( &_Params_GeodeticBuffer_default_instance_); @@ -2872,6 +3071,15 @@ class Params_GeodeticBuffer : } inline void Swap(Params_GeodeticBuffer* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_GeodeticBuffer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -2906,20 +3114,17 @@ class Params_GeodeticBuffer : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.GeodeticBuffer"; } + protected: + explicit Params_GeodeticBuffer(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -2974,7 +3179,9 @@ class Params_GeodeticBuffer : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double distance_; double max_deviation_; bool union_result_; @@ -2984,11 +3191,12 @@ class Params_GeodeticBuffer : }; // ------------------------------------------------------------------- -class Params_Convex : +class Params_Convex PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Convex) */ { public: - Params_Convex(); + inline Params_Convex() : Params_Convex(nullptr) {} virtual ~Params_Convex(); + explicit constexpr Params_Convex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Convex(const Params_Convex& from); Params_Convex(Params_Convex&& from) noexcept @@ -3001,7 +3209,7 @@ class Params_Convex : return *this; } inline Params_Convex& operator=(Params_Convex&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3018,9 +3226,9 @@ class Params_Convex : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Convex& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Convex& default_instance() { + return *internal_default_instance(); + } static inline const Params_Convex* internal_default_instance() { return reinterpret_cast( &_Params_Convex_default_instance_); @@ -3033,6 +3241,15 @@ class Params_Convex : } inline void Swap(Params_Convex* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Convex* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3067,20 +3284,17 @@ class Params_Convex : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Convex"; } + protected: + explicit Params_Convex(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3105,18 +3319,21 @@ class Params_Convex : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; bool merge_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto; }; // ------------------------------------------------------------------- -class Params_Relate : +class Params_Relate PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Relate) */ { public: - Params_Relate(); + inline Params_Relate() : Params_Relate(nullptr) {} virtual ~Params_Relate(); + explicit constexpr Params_Relate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Relate(const Params_Relate& from); Params_Relate(Params_Relate&& from) noexcept @@ -3129,7 +3346,7 @@ class Params_Relate : return *this; } inline Params_Relate& operator=(Params_Relate&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3146,9 +3363,9 @@ class Params_Relate : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Relate& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Relate& default_instance() { + return *internal_default_instance(); + } static inline const Params_Relate* internal_default_instance() { return reinterpret_cast( &_Params_Relate_default_instance_); @@ -3161,6 +3378,15 @@ class Params_Relate : } inline void Swap(Params_Relate* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Relate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3195,20 +3421,17 @@ class Params_Relate : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Relate"; } + protected: + explicit Params_Relate(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3240,18 +3463,21 @@ class Params_Relate : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr de_9im_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto; }; // ------------------------------------------------------------------- -class Params_RandomPoints : +class Params_RandomPoints PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.RandomPoints) */ { public: - Params_RandomPoints(); + inline Params_RandomPoints() : Params_RandomPoints(nullptr) {} virtual ~Params_RandomPoints(); + explicit constexpr Params_RandomPoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_RandomPoints(const Params_RandomPoints& from); Params_RandomPoints(Params_RandomPoints&& from) noexcept @@ -3264,7 +3490,7 @@ class Params_RandomPoints : return *this; } inline Params_RandomPoints& operator=(Params_RandomPoints&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3281,9 +3507,9 @@ class Params_RandomPoints : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_RandomPoints& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_RandomPoints& default_instance() { + return *internal_default_instance(); + } static inline const Params_RandomPoints* internal_default_instance() { return reinterpret_cast( &_Params_RandomPoints_default_instance_); @@ -3296,6 +3522,15 @@ class Params_RandomPoints : } inline void Swap(Params_RandomPoints* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_RandomPoints* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3330,20 +3565,17 @@ class Params_RandomPoints : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.RandomPoints"; } + protected: + explicit Params_RandomPoints(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3378,7 +3610,9 @@ class Params_RandomPoints : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double points_per_square_km_; ::PROTOBUF_NAMESPACE_ID::int64 seed_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -3386,11 +3620,12 @@ class Params_RandomPoints : }; // ------------------------------------------------------------------- -class Params_Generalize : +class Params_Generalize PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Generalize) */ { public: - Params_Generalize(); + inline Params_Generalize() : Params_Generalize(nullptr) {} virtual ~Params_Generalize(); + explicit constexpr Params_Generalize(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Generalize(const Params_Generalize& from); Params_Generalize(Params_Generalize&& from) noexcept @@ -3403,7 +3638,7 @@ class Params_Generalize : return *this; } inline Params_Generalize& operator=(Params_Generalize&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3420,9 +3655,9 @@ class Params_Generalize : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Generalize& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Generalize& default_instance() { + return *internal_default_instance(); + } static inline const Params_Generalize* internal_default_instance() { return reinterpret_cast( &_Params_Generalize_default_instance_); @@ -3435,6 +3670,15 @@ class Params_Generalize : } inline void Swap(Params_Generalize* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Generalize* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3469,20 +3713,17 @@ class Params_Generalize : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Generalize"; } + protected: + explicit Params_Generalize(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3517,7 +3758,9 @@ class Params_Generalize : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double max_deviation_; bool remove_degenerates_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -3525,11 +3768,12 @@ class Params_Generalize : }; // ------------------------------------------------------------------- -class Params_GeneralizeByArea : +class Params_GeneralizeByArea PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.GeneralizeByArea) */ { public: - Params_GeneralizeByArea(); + inline Params_GeneralizeByArea() : Params_GeneralizeByArea(nullptr) {} virtual ~Params_GeneralizeByArea(); + explicit constexpr Params_GeneralizeByArea(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_GeneralizeByArea(const Params_GeneralizeByArea& from); Params_GeneralizeByArea(Params_GeneralizeByArea&& from) noexcept @@ -3542,7 +3786,7 @@ class Params_GeneralizeByArea : return *this; } inline Params_GeneralizeByArea& operator=(Params_GeneralizeByArea&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3559,9 +3803,9 @@ class Params_GeneralizeByArea : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_GeneralizeByArea& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_GeneralizeByArea& default_instance() { + return *internal_default_instance(); + } static inline const Params_GeneralizeByArea* internal_default_instance() { return reinterpret_cast( &_Params_GeneralizeByArea_default_instance_); @@ -3574,6 +3818,15 @@ class Params_GeneralizeByArea : } inline void Swap(Params_GeneralizeByArea* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_GeneralizeByArea* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3608,20 +3861,17 @@ class Params_GeneralizeByArea : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.GeneralizeByArea"; } + protected: + explicit Params_GeneralizeByArea(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3666,7 +3916,9 @@ class Params_GeneralizeByArea : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double percent_reduction_; ::PROTOBUF_NAMESPACE_ID::int32 max_point_count_; bool remove_degenerates_; @@ -3675,11 +3927,12 @@ class Params_GeneralizeByArea : }; // ------------------------------------------------------------------- -class Params_Intersection : +class Params_Intersection PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Intersection) */ { public: - Params_Intersection(); + inline Params_Intersection() : Params_Intersection(nullptr) {} virtual ~Params_Intersection(); + explicit constexpr Params_Intersection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Intersection(const Params_Intersection& from); Params_Intersection(Params_Intersection&& from) noexcept @@ -3692,7 +3945,7 @@ class Params_Intersection : return *this; } inline Params_Intersection& operator=(Params_Intersection&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3709,9 +3962,9 @@ class Params_Intersection : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Intersection& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Intersection& default_instance() { + return *internal_default_instance(); + } static inline const Params_Intersection* internal_default_instance() { return reinterpret_cast( &_Params_Intersection_default_instance_); @@ -3724,6 +3977,15 @@ class Params_Intersection : } inline void Swap(Params_Intersection* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Intersection* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3758,20 +4020,17 @@ class Params_Intersection : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Intersection"; } + protected: + explicit Params_Intersection(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3796,18 +4055,21 @@ class Params_Intersection : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::int32 dimension_mask_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto; }; // ------------------------------------------------------------------- -class Params_Offset : +class Params_Offset PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Offset) */ { public: - Params_Offset(); + inline Params_Offset() : Params_Offset(nullptr) {} virtual ~Params_Offset(); + explicit constexpr Params_Offset(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Offset(const Params_Offset& from); Params_Offset(Params_Offset&& from) noexcept @@ -3820,7 +4082,7 @@ class Params_Offset : return *this; } inline Params_Offset& operator=(Params_Offset&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3837,9 +4099,9 @@ class Params_Offset : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Offset& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Offset& default_instance() { + return *internal_default_instance(); + } static inline const Params_Offset* internal_default_instance() { return reinterpret_cast( &_Params_Offset_default_instance_); @@ -3852,6 +4114,15 @@ class Params_Offset : } inline void Swap(Params_Offset* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Offset* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3886,20 +4157,17 @@ class Params_Offset : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Offset"; } + protected: + explicit Params_Offset(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3935,7 +4203,7 @@ class Params_Offset : "Incorrect type passed to function OffsetJoinType_Name."); return Params_Offset_OffsetJoinType_Name(enum_t_value); } - static inline bool OffsetJoinType_Parse(const std::string& name, + static inline bool OffsetJoinType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OffsetJoinType* value) { return Params_Offset_OffsetJoinType_Parse(name, value); } @@ -3988,7 +4256,9 @@ class Params_Offset : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double distance_; double bevel_ratio_; double flatten_error_; @@ -3998,11 +4268,12 @@ class Params_Offset : }; // ------------------------------------------------------------------- -class Params_Cut : +class Params_Cut PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Cut) */ { public: - Params_Cut(); + inline Params_Cut() : Params_Cut(nullptr) {} virtual ~Params_Cut(); + explicit constexpr Params_Cut(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Cut(const Params_Cut& from); Params_Cut(Params_Cut&& from) noexcept @@ -4015,7 +4286,7 @@ class Params_Cut : return *this; } inline Params_Cut& operator=(Params_Cut&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4032,9 +4303,9 @@ class Params_Cut : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Cut& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Cut& default_instance() { + return *internal_default_instance(); + } static inline const Params_Cut* internal_default_instance() { return reinterpret_cast( &_Params_Cut_default_instance_); @@ -4047,6 +4318,15 @@ class Params_Cut : } inline void Swap(Params_Cut* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Cut* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4081,20 +4361,17 @@ class Params_Cut : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Cut"; } + protected: + explicit Params_Cut(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4119,18 +4396,21 @@ class Params_Cut : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; bool consider_touch_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto; }; // ------------------------------------------------------------------- -class Params_Clip : +class Params_Clip PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Clip) */ { public: - Params_Clip(); + inline Params_Clip() : Params_Clip(nullptr) {} virtual ~Params_Clip(); + explicit constexpr Params_Clip(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Clip(const Params_Clip& from); Params_Clip(Params_Clip&& from) noexcept @@ -4143,7 +4423,7 @@ class Params_Clip : return *this; } inline Params_Clip& operator=(Params_Clip&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4160,9 +4440,9 @@ class Params_Clip : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Clip& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Clip& default_instance() { + return *internal_default_instance(); + } static inline const Params_Clip* internal_default_instance() { return reinterpret_cast( &_Params_Clip_default_instance_); @@ -4175,6 +4455,15 @@ class Params_Clip : } inline void Swap(Params_Clip* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Clip* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4209,20 +4498,17 @@ class Params_Clip : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Clip"; } + protected: + explicit Params_Clip(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4248,23 +4534,29 @@ class Params_Clip : const ::epl::protobuf::v1::EnvelopeData& _internal_envelope() const; ::epl::protobuf::v1::EnvelopeData* _internal_mutable_envelope(); public: + void unsafe_arena_set_allocated_envelope( + ::epl::protobuf::v1::EnvelopeData* envelope); + ::epl::protobuf::v1::EnvelopeData* unsafe_arena_release_envelope(); // @@protoc_insertion_point(class_scope:epl.protobuf.v1.Params.Clip) private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::epl::protobuf::v1::EnvelopeData* envelope_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto; }; // ------------------------------------------------------------------- -class Params_Densify : +class Params_Densify PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Densify) */ { public: - Params_Densify(); + inline Params_Densify() : Params_Densify(nullptr) {} virtual ~Params_Densify(); + explicit constexpr Params_Densify(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Densify(const Params_Densify& from); Params_Densify(Params_Densify&& from) noexcept @@ -4277,7 +4569,7 @@ class Params_Densify : return *this; } inline Params_Densify& operator=(Params_Densify&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4294,9 +4586,9 @@ class Params_Densify : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Densify& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Densify& default_instance() { + return *internal_default_instance(); + } static inline const Params_Densify* internal_default_instance() { return reinterpret_cast( &_Params_Densify_default_instance_); @@ -4309,6 +4601,15 @@ class Params_Densify : } inline void Swap(Params_Densify* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Densify* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4343,20 +4644,17 @@ class Params_Densify : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Densify"; } + protected: + explicit Params_Densify(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4381,18 +4679,21 @@ class Params_Densify : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double max_length_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto; }; // ------------------------------------------------------------------- -class Params_Simplify : +class Params_Simplify PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.Simplify) */ { public: - Params_Simplify(); + inline Params_Simplify() : Params_Simplify(nullptr) {} virtual ~Params_Simplify(); + explicit constexpr Params_Simplify(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_Simplify(const Params_Simplify& from); Params_Simplify(Params_Simplify&& from) noexcept @@ -4405,7 +4706,7 @@ class Params_Simplify : return *this; } inline Params_Simplify& operator=(Params_Simplify&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4422,9 +4723,9 @@ class Params_Simplify : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_Simplify& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_Simplify& default_instance() { + return *internal_default_instance(); + } static inline const Params_Simplify* internal_default_instance() { return reinterpret_cast( &_Params_Simplify_default_instance_); @@ -4437,6 +4738,15 @@ class Params_Simplify : } inline void Swap(Params_Simplify* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_Simplify* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4471,20 +4781,17 @@ class Params_Simplify : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.Simplify"; } + protected: + explicit Params_Simplify(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4509,18 +4816,21 @@ class Params_Simplify : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; bool force_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto; }; // ------------------------------------------------------------------- -class Params_AffineTransform : +class Params_AffineTransform PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params.AffineTransform) */ { public: - Params_AffineTransform(); + inline Params_AffineTransform() : Params_AffineTransform(nullptr) {} virtual ~Params_AffineTransform(); + explicit constexpr Params_AffineTransform(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params_AffineTransform(const Params_AffineTransform& from); Params_AffineTransform(Params_AffineTransform&& from) noexcept @@ -4533,7 +4843,7 @@ class Params_AffineTransform : return *this; } inline Params_AffineTransform& operator=(Params_AffineTransform&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4550,9 +4860,9 @@ class Params_AffineTransform : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params_AffineTransform& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params_AffineTransform& default_instance() { + return *internal_default_instance(); + } static inline const Params_AffineTransform* internal_default_instance() { return reinterpret_cast( &_Params_AffineTransform_default_instance_); @@ -4565,6 +4875,15 @@ class Params_AffineTransform : } inline void Swap(Params_AffineTransform* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params_AffineTransform* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4599,20 +4918,17 @@ class Params_AffineTransform : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params.AffineTransform"; } + protected: + explicit Params_AffineTransform(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4657,7 +4973,9 @@ class Params_AffineTransform : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; double x_offset_; double y_offset_; bool geodetic_; @@ -4666,11 +4984,12 @@ class Params_AffineTransform : }; // ------------------------------------------------------------------- -class Params : +class Params PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Params) */ { public: - Params(); + inline Params() : Params(nullptr) {} virtual ~Params(); + explicit constexpr Params(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Params(const Params& from); Params(Params&& from) noexcept @@ -4683,7 +5002,7 @@ class Params : return *this; } inline Params& operator=(Params&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4700,9 +5019,9 @@ class Params : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Params& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Params& default_instance() { + return *internal_default_instance(); + } static inline const Params* internal_default_instance() { return reinterpret_cast( &_Params_default_instance_); @@ -4715,6 +5034,15 @@ class Params : } inline void Swap(Params* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Params* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4749,20 +5077,17 @@ class Params : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Params"; } + protected: + explicit Params(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4790,7 +5115,9 @@ class Params : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fgeometry_2eproto; }; @@ -4827,7 +5154,7 @@ inline void GeometryData::set_geometry_id(::PROTOBUF_NAMESPACE_ID::uint64 value) // string feature_id = 2; inline void GeometryData::clear_feature_id() { - feature_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + feature_id_.ClearToEmpty(); } inline const std::string& GeometryData::feature_id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryData.feature_id) @@ -4842,38 +5169,38 @@ inline std::string* GeometryData::mutable_feature_id() { return _internal_mutable_feature_id(); } inline const std::string& GeometryData::_internal_feature_id() const { - return feature_id_.GetNoArena(); + return feature_id_.Get(); } inline void GeometryData::_internal_set_feature_id(const std::string& value) { - feature_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + feature_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void GeometryData::set_feature_id(std::string&& value) { - feature_id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + feature_id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.GeometryData.feature_id) } inline void GeometryData::set_feature_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - feature_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + feature_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.GeometryData.feature_id) } -inline void GeometryData::set_feature_id(const char* value, size_t size) { +inline void GeometryData::set_feature_id(const char* value, + size_t size) { - feature_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + feature_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.GeometryData.feature_id) } inline std::string* GeometryData::_internal_mutable_feature_id() { - return feature_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return feature_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* GeometryData::release_feature_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryData.feature_id) - - return feature_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return feature_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void GeometryData::set_allocated_feature_id(std::string* feature_id) { if (feature_id != nullptr) { @@ -4881,7 +5208,8 @@ inline void GeometryData::set_allocated_feature_id(std::string* feature_id) { } else { } - feature_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), feature_id); + feature_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), feature_id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryData.feature_id) } @@ -4889,12 +5217,15 @@ inline void GeometryData::set_allocated_feature_id(std::string* feature_id) { inline bool GeometryData::_internal_has_wkt() const { return data_case() == kWkt; } +inline bool GeometryData::has_wkt() const { + return _internal_has_wkt(); +} inline void GeometryData::set_has_wkt() { _oneof_case_[0] = kWkt; } inline void GeometryData::clear_wkt() { if (_internal_has_wkt()) { - data_.wkt_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.wkt_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } @@ -4912,9 +5243,9 @@ inline std::string* GeometryData::mutable_wkt() { } inline const std::string& GeometryData::_internal_wkt() const { if (_internal_has_wkt()) { - return data_.wkt_.GetNoArena(); + return data_.wkt_.Get(); } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void GeometryData::_internal_set_wkt(const std::string& value) { if (!_internal_has_wkt()) { @@ -4922,7 +5253,7 @@ inline void GeometryData::_internal_set_wkt(const std::string& value) { set_has_wkt(); data_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.wkt_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + data_.wkt_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void GeometryData::set_wkt(std::string&& value) { // @@protoc_insertion_point(field_set:epl.protobuf.v1.GeometryData.wkt) @@ -4931,7 +5262,8 @@ inline void GeometryData::set_wkt(std::string&& value) { set_has_wkt(); data_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.wkt_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + data_.wkt_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.GeometryData.wkt) } inline void GeometryData::set_wkt(const char* value) { @@ -4941,18 +5273,21 @@ inline void GeometryData::set_wkt(const char* value) { set_has_wkt(); data_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.wkt_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); + data_.wkt_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.GeometryData.wkt) } -inline void GeometryData::set_wkt(const char* value, size_t size) { +inline void GeometryData::set_wkt(const char* value, + size_t size) { if (!_internal_has_wkt()) { clear_data(); set_has_wkt(); data_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.wkt_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); + data_.wkt_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.GeometryData.wkt) } inline std::string* GeometryData::_internal_mutable_wkt() { @@ -4961,13 +5296,14 @@ inline std::string* GeometryData::_internal_mutable_wkt() { set_has_wkt(); data_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - return data_.wkt_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.wkt_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* GeometryData::release_wkt() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryData.wkt) if (_internal_has_wkt()) { clear_has_data(); - return data_.wkt_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.wkt_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } @@ -4979,6 +5315,10 @@ inline void GeometryData::set_allocated_wkt(std::string* wkt) { if (wkt != nullptr) { set_has_wkt(); data_.wkt_.UnsafeSetDefault(wkt); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(wkt); + } } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryData.wkt) } @@ -4987,12 +5327,15 @@ inline void GeometryData::set_allocated_wkt(std::string* wkt) { inline bool GeometryData::_internal_has_geojson() const { return data_case() == kGeojson; } +inline bool GeometryData::has_geojson() const { + return _internal_has_geojson(); +} inline void GeometryData::set_has_geojson() { _oneof_case_[0] = kGeojson; } inline void GeometryData::clear_geojson() { if (_internal_has_geojson()) { - data_.geojson_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.geojson_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } @@ -5010,9 +5353,9 @@ inline std::string* GeometryData::mutable_geojson() { } inline const std::string& GeometryData::_internal_geojson() const { if (_internal_has_geojson()) { - return data_.geojson_.GetNoArena(); + return data_.geojson_.Get(); } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void GeometryData::_internal_set_geojson(const std::string& value) { if (!_internal_has_geojson()) { @@ -5020,7 +5363,7 @@ inline void GeometryData::_internal_set_geojson(const std::string& value) { set_has_geojson(); data_.geojson_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.geojson_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + data_.geojson_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void GeometryData::set_geojson(std::string&& value) { // @@protoc_insertion_point(field_set:epl.protobuf.v1.GeometryData.geojson) @@ -5029,7 +5372,8 @@ inline void GeometryData::set_geojson(std::string&& value) { set_has_geojson(); data_.geojson_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.geojson_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + data_.geojson_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.GeometryData.geojson) } inline void GeometryData::set_geojson(const char* value) { @@ -5039,18 +5383,21 @@ inline void GeometryData::set_geojson(const char* value) { set_has_geojson(); data_.geojson_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.geojson_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); + data_.geojson_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.GeometryData.geojson) } -inline void GeometryData::set_geojson(const char* value, size_t size) { +inline void GeometryData::set_geojson(const char* value, + size_t size) { if (!_internal_has_geojson()) { clear_data(); set_has_geojson(); data_.geojson_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.geojson_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); + data_.geojson_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.GeometryData.geojson) } inline std::string* GeometryData::_internal_mutable_geojson() { @@ -5059,13 +5406,14 @@ inline std::string* GeometryData::_internal_mutable_geojson() { set_has_geojson(); data_.geojson_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - return data_.geojson_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.geojson_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* GeometryData::release_geojson() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryData.geojson) if (_internal_has_geojson()) { clear_has_data(); - return data_.geojson_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.geojson_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } @@ -5077,6 +5425,10 @@ inline void GeometryData::set_allocated_geojson(std::string* geojson) { if (geojson != nullptr) { set_has_geojson(); data_.geojson_.UnsafeSetDefault(geojson); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(geojson); + } } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryData.geojson) } @@ -5085,12 +5437,15 @@ inline void GeometryData::set_allocated_geojson(std::string* geojson) { inline bool GeometryData::_internal_has_wkb() const { return data_case() == kWkb; } +inline bool GeometryData::has_wkb() const { + return _internal_has_wkb(); +} inline void GeometryData::set_has_wkb() { _oneof_case_[0] = kWkb; } inline void GeometryData::clear_wkb() { if (_internal_has_wkb()) { - data_.wkb_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.wkb_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } @@ -5108,9 +5463,9 @@ inline std::string* GeometryData::mutable_wkb() { } inline const std::string& GeometryData::_internal_wkb() const { if (_internal_has_wkb()) { - return data_.wkb_.GetNoArena(); + return data_.wkb_.Get(); } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void GeometryData::_internal_set_wkb(const std::string& value) { if (!_internal_has_wkb()) { @@ -5118,7 +5473,7 @@ inline void GeometryData::_internal_set_wkb(const std::string& value) { set_has_wkb(); data_.wkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.wkb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + data_.wkb_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void GeometryData::set_wkb(std::string&& value) { // @@protoc_insertion_point(field_set:epl.protobuf.v1.GeometryData.wkb) @@ -5127,7 +5482,8 @@ inline void GeometryData::set_wkb(std::string&& value) { set_has_wkb(); data_.wkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.wkb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + data_.wkb_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.GeometryData.wkb) } inline void GeometryData::set_wkb(const char* value) { @@ -5137,18 +5493,21 @@ inline void GeometryData::set_wkb(const char* value) { set_has_wkb(); data_.wkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.wkb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); + data_.wkb_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.GeometryData.wkb) } -inline void GeometryData::set_wkb(const void* value, size_t size) { +inline void GeometryData::set_wkb(const void* value, + size_t size) { if (!_internal_has_wkb()) { clear_data(); set_has_wkb(); data_.wkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.wkb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); + data_.wkb_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.GeometryData.wkb) } inline std::string* GeometryData::_internal_mutable_wkb() { @@ -5157,13 +5516,14 @@ inline std::string* GeometryData::_internal_mutable_wkb() { set_has_wkb(); data_.wkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - return data_.wkb_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.wkb_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* GeometryData::release_wkb() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryData.wkb) if (_internal_has_wkb()) { clear_has_data(); - return data_.wkb_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.wkb_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } @@ -5175,6 +5535,10 @@ inline void GeometryData::set_allocated_wkb(std::string* wkb) { if (wkb != nullptr) { set_has_wkb(); data_.wkb_.UnsafeSetDefault(wkb); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(wkb); + } } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryData.wkb) } @@ -5183,12 +5547,15 @@ inline void GeometryData::set_allocated_wkb(std::string* wkb) { inline bool GeometryData::_internal_has_esri_shape() const { return data_case() == kEsriShape; } +inline bool GeometryData::has_esri_shape() const { + return _internal_has_esri_shape(); +} inline void GeometryData::set_has_esri_shape() { _oneof_case_[0] = kEsriShape; } inline void GeometryData::clear_esri_shape() { if (_internal_has_esri_shape()) { - data_.esri_shape_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.esri_shape_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } @@ -5206,9 +5573,9 @@ inline std::string* GeometryData::mutable_esri_shape() { } inline const std::string& GeometryData::_internal_esri_shape() const { if (_internal_has_esri_shape()) { - return data_.esri_shape_.GetNoArena(); + return data_.esri_shape_.Get(); } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void GeometryData::_internal_set_esri_shape(const std::string& value) { if (!_internal_has_esri_shape()) { @@ -5216,7 +5583,7 @@ inline void GeometryData::_internal_set_esri_shape(const std::string& value) { set_has_esri_shape(); data_.esri_shape_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.esri_shape_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + data_.esri_shape_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void GeometryData::set_esri_shape(std::string&& value) { // @@protoc_insertion_point(field_set:epl.protobuf.v1.GeometryData.esri_shape) @@ -5225,7 +5592,8 @@ inline void GeometryData::set_esri_shape(std::string&& value) { set_has_esri_shape(); data_.esri_shape_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.esri_shape_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + data_.esri_shape_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.GeometryData.esri_shape) } inline void GeometryData::set_esri_shape(const char* value) { @@ -5235,18 +5603,21 @@ inline void GeometryData::set_esri_shape(const char* value) { set_has_esri_shape(); data_.esri_shape_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.esri_shape_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); + data_.esri_shape_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.GeometryData.esri_shape) } -inline void GeometryData::set_esri_shape(const void* value, size_t size) { +inline void GeometryData::set_esri_shape(const void* value, + size_t size) { if (!_internal_has_esri_shape()) { clear_data(); set_has_esri_shape(); data_.esri_shape_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.esri_shape_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); + data_.esri_shape_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.GeometryData.esri_shape) } inline std::string* GeometryData::_internal_mutable_esri_shape() { @@ -5255,13 +5626,14 @@ inline std::string* GeometryData::_internal_mutable_esri_shape() { set_has_esri_shape(); data_.esri_shape_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - return data_.esri_shape_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.esri_shape_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* GeometryData::release_esri_shape() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryData.esri_shape) if (_internal_has_esri_shape()) { clear_has_data(); - return data_.esri_shape_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.esri_shape_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } @@ -5273,6 +5645,10 @@ inline void GeometryData::set_allocated_esri_shape(std::string* esri_shape) { if (esri_shape != nullptr) { set_has_esri_shape(); data_.esri_shape_.UnsafeSetDefault(esri_shape); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(esri_shape); + } } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryData.esri_shape) } @@ -5281,12 +5657,15 @@ inline void GeometryData::set_allocated_esri_shape(std::string* esri_shape) { inline bool GeometryData::_internal_has_ewkb() const { return data_case() == kEwkb; } +inline bool GeometryData::has_ewkb() const { + return _internal_has_ewkb(); +} inline void GeometryData::set_has_ewkb() { _oneof_case_[0] = kEwkb; } inline void GeometryData::clear_ewkb() { if (_internal_has_ewkb()) { - data_.ewkb_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.ewkb_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } @@ -5304,9 +5683,9 @@ inline std::string* GeometryData::mutable_ewkb() { } inline const std::string& GeometryData::_internal_ewkb() const { if (_internal_has_ewkb()) { - return data_.ewkb_.GetNoArena(); + return data_.ewkb_.Get(); } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void GeometryData::_internal_set_ewkb(const std::string& value) { if (!_internal_has_ewkb()) { @@ -5314,7 +5693,7 @@ inline void GeometryData::_internal_set_ewkb(const std::string& value) { set_has_ewkb(); data_.ewkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.ewkb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + data_.ewkb_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void GeometryData::set_ewkb(std::string&& value) { // @@protoc_insertion_point(field_set:epl.protobuf.v1.GeometryData.ewkb) @@ -5323,7 +5702,8 @@ inline void GeometryData::set_ewkb(std::string&& value) { set_has_ewkb(); data_.ewkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.ewkb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + data_.ewkb_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.GeometryData.ewkb) } inline void GeometryData::set_ewkb(const char* value) { @@ -5333,18 +5713,21 @@ inline void GeometryData::set_ewkb(const char* value) { set_has_ewkb(); data_.ewkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.ewkb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); + data_.ewkb_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.GeometryData.ewkb) } -inline void GeometryData::set_ewkb(const void* value, size_t size) { +inline void GeometryData::set_ewkb(const void* value, + size_t size) { if (!_internal_has_ewkb()) { clear_data(); set_has_ewkb(); data_.ewkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - data_.ewkb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); + data_.ewkb_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.GeometryData.ewkb) } inline std::string* GeometryData::_internal_mutable_ewkb() { @@ -5353,13 +5736,14 @@ inline std::string* GeometryData::_internal_mutable_ewkb() { set_has_ewkb(); data_.ewkb_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - return data_.ewkb_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.ewkb_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* GeometryData::release_ewkb() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryData.ewkb) if (_internal_has_ewkb()) { clear_has_data(); - return data_.ewkb_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.ewkb_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } @@ -5371,6 +5755,10 @@ inline void GeometryData::set_allocated_ewkb(std::string* ewkb) { if (ewkb != nullptr) { set_has_ewkb(); data_.ewkb_.UnsafeSetDefault(ewkb); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(ewkb); + } } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.GeometryData.ewkb) } @@ -5383,21 +5771,43 @@ inline bool GeometryData::has_proj() const { return _internal_has_proj(); } inline void GeometryData::clear_proj() { - if (GetArenaNoVirtual() == nullptr && proj_ != nullptr) { + if (GetArena() == nullptr && proj_ != nullptr) { delete proj_; } proj_ = nullptr; } inline const ::epl::protobuf::v1::ProjectionData& GeometryData::_internal_proj() const { const ::epl::protobuf::v1::ProjectionData* p = proj_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ProjectionData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ProjectionData_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData& GeometryData::proj() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryData.proj) return _internal_proj(); } +inline void GeometryData::unsafe_arena_set_allocated_proj( + ::epl::protobuf::v1::ProjectionData* proj) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(proj_); + } + proj_ = proj; + if (proj) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryData.proj) +} inline ::epl::protobuf::v1::ProjectionData* GeometryData::release_proj() { + + ::epl::protobuf::v1::ProjectionData* temp = proj_; + proj_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ProjectionData* GeometryData::unsafe_arena_release_proj() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryData.proj) ::epl::protobuf::v1::ProjectionData* temp = proj_; @@ -5407,7 +5817,7 @@ inline ::epl::protobuf::v1::ProjectionData* GeometryData::release_proj() { inline ::epl::protobuf::v1::ProjectionData* GeometryData::_internal_mutable_proj() { if (proj_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArena()); proj_ = p; } return proj_; @@ -5417,12 +5827,13 @@ inline ::epl::protobuf::v1::ProjectionData* GeometryData::mutable_proj() { return _internal_mutable_proj(); } inline void GeometryData::set_allocated_proj(::epl::protobuf::v1::ProjectionData* proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete proj_; } if (proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(proj); if (message_arena != submessage_arena) { proj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, proj, submessage_arena); @@ -5443,21 +5854,43 @@ inline bool GeometryData::has_envelope() const { return _internal_has_envelope(); } inline void GeometryData::clear_envelope() { - if (GetArenaNoVirtual() == nullptr && envelope_ != nullptr) { + if (GetArena() == nullptr && envelope_ != nullptr) { delete envelope_; } envelope_ = nullptr; } inline const ::epl::protobuf::v1::EnvelopeData& GeometryData::_internal_envelope() const { const ::epl::protobuf::v1::EnvelopeData* p = envelope_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_EnvelopeData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_EnvelopeData_default_instance_); } inline const ::epl::protobuf::v1::EnvelopeData& GeometryData::envelope() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryData.envelope) return _internal_envelope(); } +inline void GeometryData::unsafe_arena_set_allocated_envelope( + ::epl::protobuf::v1::EnvelopeData* envelope) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(envelope_); + } + envelope_ = envelope; + if (envelope) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryData.envelope) +} inline ::epl::protobuf::v1::EnvelopeData* GeometryData::release_envelope() { + + ::epl::protobuf::v1::EnvelopeData* temp = envelope_; + envelope_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::EnvelopeData* GeometryData::unsafe_arena_release_envelope() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryData.envelope) ::epl::protobuf::v1::EnvelopeData* temp = envelope_; @@ -5467,7 +5900,7 @@ inline ::epl::protobuf::v1::EnvelopeData* GeometryData::release_envelope() { inline ::epl::protobuf::v1::EnvelopeData* GeometryData::_internal_mutable_envelope() { if (envelope_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::EnvelopeData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::EnvelopeData>(GetArena()); envelope_ = p; } return envelope_; @@ -5477,12 +5910,13 @@ inline ::epl::protobuf::v1::EnvelopeData* GeometryData::mutable_envelope() { return _internal_mutable_envelope(); } inline void GeometryData::set_allocated_envelope(::epl::protobuf::v1::EnvelopeData* envelope) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete envelope_; } if (envelope) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(envelope); if (message_arena != submessage_arena) { envelope = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, envelope, submessage_arena); @@ -5596,6 +6030,9 @@ inline void ProjectionData_Custom::set_cs_type(::epl::protobuf::v1::ProjectionDa inline bool ProjectionData::_internal_has_epsg() const { return definition_case() == kEpsg; } +inline bool ProjectionData::has_epsg() const { + return _internal_has_epsg(); +} inline void ProjectionData::set_has_epsg() { _oneof_case_[0] = kEpsg; } @@ -5631,12 +6068,15 @@ inline void ProjectionData::set_epsg(::PROTOBUF_NAMESPACE_ID::int32 value) { inline bool ProjectionData::_internal_has_proj4() const { return definition_case() == kProj4; } +inline bool ProjectionData::has_proj4() const { + return _internal_has_proj4(); +} inline void ProjectionData::set_has_proj4() { _oneof_case_[0] = kProj4; } inline void ProjectionData::clear_proj4() { if (_internal_has_proj4()) { - definition_.proj4_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + definition_.proj4_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_definition(); } } @@ -5654,9 +6094,9 @@ inline std::string* ProjectionData::mutable_proj4() { } inline const std::string& ProjectionData::_internal_proj4() const { if (_internal_has_proj4()) { - return definition_.proj4_.GetNoArena(); + return definition_.proj4_.Get(); } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void ProjectionData::_internal_set_proj4(const std::string& value) { if (!_internal_has_proj4()) { @@ -5664,7 +6104,7 @@ inline void ProjectionData::_internal_set_proj4(const std::string& value) { set_has_proj4(); definition_.proj4_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - definition_.proj4_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + definition_.proj4_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void ProjectionData::set_proj4(std::string&& value) { // @@protoc_insertion_point(field_set:epl.protobuf.v1.ProjectionData.proj4) @@ -5673,7 +6113,8 @@ inline void ProjectionData::set_proj4(std::string&& value) { set_has_proj4(); definition_.proj4_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - definition_.proj4_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + definition_.proj4_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.ProjectionData.proj4) } inline void ProjectionData::set_proj4(const char* value) { @@ -5683,18 +6124,21 @@ inline void ProjectionData::set_proj4(const char* value) { set_has_proj4(); definition_.proj4_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - definition_.proj4_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); + definition_.proj4_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.ProjectionData.proj4) } -inline void ProjectionData::set_proj4(const char* value, size_t size) { +inline void ProjectionData::set_proj4(const char* value, + size_t size) { if (!_internal_has_proj4()) { clear_definition(); set_has_proj4(); definition_.proj4_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - definition_.proj4_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); + definition_.proj4_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.ProjectionData.proj4) } inline std::string* ProjectionData::_internal_mutable_proj4() { @@ -5703,13 +6147,14 @@ inline std::string* ProjectionData::_internal_mutable_proj4() { set_has_proj4(); definition_.proj4_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - return definition_.proj4_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return definition_.proj4_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* ProjectionData::release_proj4() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ProjectionData.proj4) if (_internal_has_proj4()) { clear_has_definition(); - return definition_.proj4_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return definition_.proj4_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } @@ -5721,6 +6166,10 @@ inline void ProjectionData::set_allocated_proj4(std::string* proj4) { if (proj4 != nullptr) { set_has_proj4(); definition_.proj4_.UnsafeSetDefault(proj4); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(proj4); + } } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.ProjectionData.proj4) } @@ -5737,7 +6186,9 @@ inline void ProjectionData::set_has_custom() { } inline void ProjectionData::clear_custom() { if (_internal_has_custom()) { - delete definition_.custom_; + if (GetArena() == nullptr) { + delete definition_.custom_; + } clear_has_definition(); } } @@ -5746,6 +6197,9 @@ inline ::epl::protobuf::v1::ProjectionData_Custom* ProjectionData::release_custo if (_internal_has_custom()) { clear_has_definition(); ::epl::protobuf::v1::ProjectionData_Custom* temp = definition_.custom_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } definition_.custom_ = nullptr; return temp; } else { @@ -5755,18 +6209,36 @@ inline ::epl::protobuf::v1::ProjectionData_Custom* ProjectionData::release_custo inline const ::epl::protobuf::v1::ProjectionData_Custom& ProjectionData::_internal_custom() const { return _internal_has_custom() ? *definition_.custom_ - : *reinterpret_cast< ::epl::protobuf::v1::ProjectionData_Custom*>(&::epl::protobuf::v1::_ProjectionData_Custom_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::ProjectionData_Custom&>(::epl::protobuf::v1::_ProjectionData_Custom_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData_Custom& ProjectionData::custom() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ProjectionData.custom) return _internal_custom(); } +inline ::epl::protobuf::v1::ProjectionData_Custom* ProjectionData::unsafe_arena_release_custom() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.ProjectionData.custom) + if (_internal_has_custom()) { + clear_has_definition(); + ::epl::protobuf::v1::ProjectionData_Custom* temp = definition_.custom_; + definition_.custom_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ProjectionData::unsafe_arena_set_allocated_custom(::epl::protobuf::v1::ProjectionData_Custom* custom) { + clear_definition(); + if (custom) { + set_has_custom(); + definition_.custom_ = custom; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ProjectionData.custom) +} inline ::epl::protobuf::v1::ProjectionData_Custom* ProjectionData::_internal_mutable_custom() { if (!_internal_has_custom()) { clear_definition(); set_has_custom(); - definition_.custom_ = CreateMaybeMessage< ::epl::protobuf::v1::ProjectionData_Custom >( - GetArenaNoVirtual()); + definition_.custom_ = CreateMaybeMessage< ::epl::protobuf::v1::ProjectionData_Custom >(GetArena()); } return definition_.custom_; } @@ -5779,12 +6251,15 @@ inline ::epl::protobuf::v1::ProjectionData_Custom* ProjectionData::mutable_custo inline bool ProjectionData::_internal_has_wkt() const { return definition_case() == kWkt; } +inline bool ProjectionData::has_wkt() const { + return _internal_has_wkt(); +} inline void ProjectionData::set_has_wkt() { _oneof_case_[0] = kWkt; } inline void ProjectionData::clear_wkt() { if (_internal_has_wkt()) { - definition_.wkt_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + definition_.wkt_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_definition(); } } @@ -5802,9 +6277,9 @@ inline std::string* ProjectionData::mutable_wkt() { } inline const std::string& ProjectionData::_internal_wkt() const { if (_internal_has_wkt()) { - return definition_.wkt_.GetNoArena(); + return definition_.wkt_.Get(); } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void ProjectionData::_internal_set_wkt(const std::string& value) { if (!_internal_has_wkt()) { @@ -5812,7 +6287,7 @@ inline void ProjectionData::_internal_set_wkt(const std::string& value) { set_has_wkt(); definition_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - definition_.wkt_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + definition_.wkt_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void ProjectionData::set_wkt(std::string&& value) { // @@protoc_insertion_point(field_set:epl.protobuf.v1.ProjectionData.wkt) @@ -5821,7 +6296,8 @@ inline void ProjectionData::set_wkt(std::string&& value) { set_has_wkt(); definition_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - definition_.wkt_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + definition_.wkt_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.ProjectionData.wkt) } inline void ProjectionData::set_wkt(const char* value) { @@ -5831,18 +6307,21 @@ inline void ProjectionData::set_wkt(const char* value) { set_has_wkt(); definition_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - definition_.wkt_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); + definition_.wkt_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.ProjectionData.wkt) } -inline void ProjectionData::set_wkt(const char* value, size_t size) { +inline void ProjectionData::set_wkt(const char* value, + size_t size) { if (!_internal_has_wkt()) { clear_definition(); set_has_wkt(); definition_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - definition_.wkt_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); + definition_.wkt_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.ProjectionData.wkt) } inline std::string* ProjectionData::_internal_mutable_wkt() { @@ -5851,13 +6330,14 @@ inline std::string* ProjectionData::_internal_mutable_wkt() { set_has_wkt(); definition_.wkt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - return definition_.wkt_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return definition_.wkt_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* ProjectionData::release_wkt() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ProjectionData.wkt) if (_internal_has_wkt()) { clear_has_definition(); - return definition_.wkt_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return definition_.wkt_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } @@ -5869,6 +6349,10 @@ inline void ProjectionData::set_allocated_wkt(std::string* wkt) { if (wkt != nullptr) { set_has_wkt(); definition_.wkt_.UnsafeSetDefault(wkt); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(wkt); + } } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.ProjectionData.wkt) } @@ -5881,21 +6365,43 @@ inline bool ProjectionData::has_geometry() const { return _internal_has_geometry(); } inline void ProjectionData::clear_geometry() { - if (GetArenaNoVirtual() == nullptr && geometry_ != nullptr) { + if (GetArena() == nullptr && geometry_ != nullptr) { delete geometry_; } geometry_ = nullptr; } inline const ::epl::protobuf::v1::GeometryData& ProjectionData::_internal_geometry() const { const ::epl::protobuf::v1::GeometryData* p = geometry_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_GeometryData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& ProjectionData::geometry() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ProjectionData.geometry) return _internal_geometry(); } +inline void ProjectionData::unsafe_arena_set_allocated_geometry( + ::epl::protobuf::v1::GeometryData* geometry) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(geometry_); + } + geometry_ = geometry; + if (geometry) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ProjectionData.geometry) +} inline ::epl::protobuf::v1::GeometryData* ProjectionData::release_geometry() { + + ::epl::protobuf::v1::GeometryData* temp = geometry_; + geometry_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::GeometryData* ProjectionData::unsafe_arena_release_geometry() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ProjectionData.geometry) ::epl::protobuf::v1::GeometryData* temp = geometry_; @@ -5905,7 +6411,7 @@ inline ::epl::protobuf::v1::GeometryData* ProjectionData::release_geometry() { inline ::epl::protobuf::v1::GeometryData* ProjectionData::_internal_mutable_geometry() { if (geometry_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::GeometryData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::GeometryData>(GetArena()); geometry_ = p; } return geometry_; @@ -5915,12 +6421,13 @@ inline ::epl::protobuf::v1::GeometryData* ProjectionData::mutable_geometry() { return _internal_mutable_geometry(); } inline void ProjectionData::set_allocated_geometry(::epl::protobuf::v1::GeometryData* geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete geometry_; } if (geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(geometry); if (message_arena != submessage_arena) { geometry = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, geometry, submessage_arena); @@ -5941,21 +6448,43 @@ inline bool ProjectionData::has_bbox() const { return _internal_has_bbox(); } inline void ProjectionData::clear_bbox() { - if (GetArenaNoVirtual() == nullptr && bbox_ != nullptr) { + if (GetArena() == nullptr && bbox_ != nullptr) { delete bbox_; } bbox_ = nullptr; } inline const ::epl::protobuf::v1::EnvelopeData& ProjectionData::_internal_bbox() const { const ::epl::protobuf::v1::EnvelopeData* p = bbox_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_EnvelopeData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_EnvelopeData_default_instance_); } inline const ::epl::protobuf::v1::EnvelopeData& ProjectionData::bbox() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ProjectionData.bbox) return _internal_bbox(); } +inline void ProjectionData::unsafe_arena_set_allocated_bbox( + ::epl::protobuf::v1::EnvelopeData* bbox) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bbox_); + } + bbox_ = bbox; + if (bbox) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ProjectionData.bbox) +} inline ::epl::protobuf::v1::EnvelopeData* ProjectionData::release_bbox() { + + ::epl::protobuf::v1::EnvelopeData* temp = bbox_; + bbox_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::EnvelopeData* ProjectionData::unsafe_arena_release_bbox() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ProjectionData.bbox) ::epl::protobuf::v1::EnvelopeData* temp = bbox_; @@ -5965,7 +6494,7 @@ inline ::epl::protobuf::v1::EnvelopeData* ProjectionData::release_bbox() { inline ::epl::protobuf::v1::EnvelopeData* ProjectionData::_internal_mutable_bbox() { if (bbox_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::EnvelopeData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::EnvelopeData>(GetArena()); bbox_ = p; } return bbox_; @@ -5975,12 +6504,13 @@ inline ::epl::protobuf::v1::EnvelopeData* ProjectionData::mutable_bbox() { return _internal_mutable_bbox(); } inline void ProjectionData::set_allocated_bbox(::epl::protobuf::v1::EnvelopeData* bbox) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete bbox_; } if (bbox) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(bbox); if (message_arena != submessage_arena) { bbox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, bbox, submessage_arena); @@ -6001,21 +6531,43 @@ inline bool ProjectionData::has_centroid() const { return _internal_has_centroid(); } inline void ProjectionData::clear_centroid() { - if (GetArenaNoVirtual() == nullptr && centroid_ != nullptr) { + if (GetArena() == nullptr && centroid_ != nullptr) { delete centroid_; } centroid_ = nullptr; } inline const ::epl::protobuf::v1::GeometryData& ProjectionData::_internal_centroid() const { const ::epl::protobuf::v1::GeometryData* p = centroid_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_GeometryData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& ProjectionData::centroid() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ProjectionData.centroid) return _internal_centroid(); } +inline void ProjectionData::unsafe_arena_set_allocated_centroid( + ::epl::protobuf::v1::GeometryData* centroid) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(centroid_); + } + centroid_ = centroid; + if (centroid) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ProjectionData.centroid) +} inline ::epl::protobuf::v1::GeometryData* ProjectionData::release_centroid() { + + ::epl::protobuf::v1::GeometryData* temp = centroid_; + centroid_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::GeometryData* ProjectionData::unsafe_arena_release_centroid() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ProjectionData.centroid) ::epl::protobuf::v1::GeometryData* temp = centroid_; @@ -6025,7 +6577,7 @@ inline ::epl::protobuf::v1::GeometryData* ProjectionData::release_centroid() { inline ::epl::protobuf::v1::GeometryData* ProjectionData::_internal_mutable_centroid() { if (centroid_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::GeometryData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::GeometryData>(GetArena()); centroid_ = p; } return centroid_; @@ -6035,12 +6587,13 @@ inline ::epl::protobuf::v1::GeometryData* ProjectionData::mutable_centroid() { return _internal_mutable_centroid(); } inline void ProjectionData::set_allocated_centroid(::epl::protobuf::v1::GeometryData* centroid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete centroid_; } if (centroid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(centroid); if (message_arena != submessage_arena) { centroid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, centroid, submessage_arena); @@ -6248,21 +6801,43 @@ inline bool EnvelopeData::has_proj() const { return _internal_has_proj(); } inline void EnvelopeData::clear_proj() { - if (GetArenaNoVirtual() == nullptr && proj_ != nullptr) { + if (GetArena() == nullptr && proj_ != nullptr) { delete proj_; } proj_ = nullptr; } inline const ::epl::protobuf::v1::ProjectionData& EnvelopeData::_internal_proj() const { const ::epl::protobuf::v1::ProjectionData* p = proj_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ProjectionData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ProjectionData_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData& EnvelopeData::proj() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.EnvelopeData.proj) return _internal_proj(); } +inline void EnvelopeData::unsafe_arena_set_allocated_proj( + ::epl::protobuf::v1::ProjectionData* proj) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(proj_); + } + proj_ = proj; + if (proj) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.EnvelopeData.proj) +} inline ::epl::protobuf::v1::ProjectionData* EnvelopeData::release_proj() { + + ::epl::protobuf::v1::ProjectionData* temp = proj_; + proj_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ProjectionData* EnvelopeData::unsafe_arena_release_proj() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.EnvelopeData.proj) ::epl::protobuf::v1::ProjectionData* temp = proj_; @@ -6272,7 +6847,7 @@ inline ::epl::protobuf::v1::ProjectionData* EnvelopeData::release_proj() { inline ::epl::protobuf::v1::ProjectionData* EnvelopeData::_internal_mutable_proj() { if (proj_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArena()); proj_ = p; } return proj_; @@ -6282,12 +6857,13 @@ inline ::epl::protobuf::v1::ProjectionData* EnvelopeData::mutable_proj() { return _internal_mutable_proj(); } inline void EnvelopeData::set_allocated_proj(::epl::protobuf::v1::ProjectionData* proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete proj_; } if (proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(proj); if (message_arena != submessage_arena) { proj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, proj, submessage_arena); @@ -6356,7 +6932,9 @@ inline void GeometryRequest::set_has_geometry() { } inline void GeometryRequest::clear_geometry() { if (_internal_has_geometry()) { - delete left_.geometry_; + if (GetArena() == nullptr) { + delete left_.geometry_; + } clear_has_left(); } } @@ -6365,6 +6943,9 @@ inline ::epl::protobuf::v1::GeometryData* GeometryRequest::release_geometry() { if (_internal_has_geometry()) { clear_has_left(); ::epl::protobuf::v1::GeometryData* temp = left_.geometry_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } left_.geometry_ = nullptr; return temp; } else { @@ -6374,18 +6955,36 @@ inline ::epl::protobuf::v1::GeometryData* GeometryRequest::release_geometry() { inline const ::epl::protobuf::v1::GeometryData& GeometryRequest::_internal_geometry() const { return _internal_has_geometry() ? *left_.geometry_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryData*>(&::epl::protobuf::v1::_GeometryData_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryData&>(::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& GeometryRequest::geometry() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.geometry) return _internal_geometry(); } +inline ::epl::protobuf::v1::GeometryData* GeometryRequest::unsafe_arena_release_geometry() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.geometry) + if (_internal_has_geometry()) { + clear_has_left(); + ::epl::protobuf::v1::GeometryData* temp = left_.geometry_; + left_.geometry_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_geometry(::epl::protobuf::v1::GeometryData* geometry) { + clear_left(); + if (geometry) { + set_has_geometry(); + left_.geometry_ = geometry; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.geometry) +} inline ::epl::protobuf::v1::GeometryData* GeometryRequest::_internal_mutable_geometry() { if (!_internal_has_geometry()) { clear_left(); set_has_geometry(); - left_.geometry_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >( - GetArenaNoVirtual()); + left_.geometry_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >(GetArena()); } return left_.geometry_; } @@ -6406,7 +7005,9 @@ inline void GeometryRequest::set_has_left_geometry() { } inline void GeometryRequest::clear_left_geometry() { if (_internal_has_left_geometry()) { - delete left_.left_geometry_; + if (GetArena() == nullptr) { + delete left_.left_geometry_; + } clear_has_left(); } } @@ -6415,6 +7016,9 @@ inline ::epl::protobuf::v1::GeometryData* GeometryRequest::release_left_geometry if (_internal_has_left_geometry()) { clear_has_left(); ::epl::protobuf::v1::GeometryData* temp = left_.left_geometry_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } left_.left_geometry_ = nullptr; return temp; } else { @@ -6424,18 +7028,36 @@ inline ::epl::protobuf::v1::GeometryData* GeometryRequest::release_left_geometry inline const ::epl::protobuf::v1::GeometryData& GeometryRequest::_internal_left_geometry() const { return _internal_has_left_geometry() ? *left_.left_geometry_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryData*>(&::epl::protobuf::v1::_GeometryData_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryData&>(::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& GeometryRequest::left_geometry() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.left_geometry) return _internal_left_geometry(); } +inline ::epl::protobuf::v1::GeometryData* GeometryRequest::unsafe_arena_release_left_geometry() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.left_geometry) + if (_internal_has_left_geometry()) { + clear_has_left(); + ::epl::protobuf::v1::GeometryData* temp = left_.left_geometry_; + left_.left_geometry_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_left_geometry(::epl::protobuf::v1::GeometryData* left_geometry) { + clear_left(); + if (left_geometry) { + set_has_left_geometry(); + left_.left_geometry_ = left_geometry; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.left_geometry) +} inline ::epl::protobuf::v1::GeometryData* GeometryRequest::_internal_mutable_left_geometry() { if (!_internal_has_left_geometry()) { clear_left(); set_has_left_geometry(); - left_.left_geometry_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >( - GetArenaNoVirtual()); + left_.left_geometry_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >(GetArena()); } return left_.left_geometry_; } @@ -6456,7 +7078,9 @@ inline void GeometryRequest::set_has_geometry_request() { } inline void GeometryRequest::clear_geometry_request() { if (_internal_has_geometry_request()) { - delete left_.geometry_request_; + if (GetArena() == nullptr) { + delete left_.geometry_request_; + } clear_has_left(); } } @@ -6465,6 +7089,9 @@ inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::release_geometry_r if (_internal_has_geometry_request()) { clear_has_left(); ::epl::protobuf::v1::GeometryRequest* temp = left_.geometry_request_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } left_.geometry_request_ = nullptr; return temp; } else { @@ -6474,18 +7101,36 @@ inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::release_geometry_r inline const ::epl::protobuf::v1::GeometryRequest& GeometryRequest::_internal_geometry_request() const { return _internal_has_geometry_request() ? *left_.geometry_request_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryRequest*>(&::epl::protobuf::v1::_GeometryRequest_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryRequest&>(::epl::protobuf::v1::_GeometryRequest_default_instance_); } inline const ::epl::protobuf::v1::GeometryRequest& GeometryRequest::geometry_request() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.geometry_request) return _internal_geometry_request(); } +inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::unsafe_arena_release_geometry_request() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.geometry_request) + if (_internal_has_geometry_request()) { + clear_has_left(); + ::epl::protobuf::v1::GeometryRequest* temp = left_.geometry_request_; + left_.geometry_request_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_geometry_request(::epl::protobuf::v1::GeometryRequest* geometry_request) { + clear_left(); + if (geometry_request) { + set_has_geometry_request(); + left_.geometry_request_ = geometry_request; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.geometry_request) +} inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::_internal_mutable_geometry_request() { if (!_internal_has_geometry_request()) { clear_left(); set_has_geometry_request(); - left_.geometry_request_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >( - GetArenaNoVirtual()); + left_.geometry_request_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >(GetArena()); } return left_.geometry_request_; } @@ -6506,7 +7151,9 @@ inline void GeometryRequest::set_has_left_geometry_request() { } inline void GeometryRequest::clear_left_geometry_request() { if (_internal_has_left_geometry_request()) { - delete left_.left_geometry_request_; + if (GetArena() == nullptr) { + delete left_.left_geometry_request_; + } clear_has_left(); } } @@ -6515,6 +7162,9 @@ inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::release_left_geome if (_internal_has_left_geometry_request()) { clear_has_left(); ::epl::protobuf::v1::GeometryRequest* temp = left_.left_geometry_request_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } left_.left_geometry_request_ = nullptr; return temp; } else { @@ -6524,18 +7174,36 @@ inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::release_left_geome inline const ::epl::protobuf::v1::GeometryRequest& GeometryRequest::_internal_left_geometry_request() const { return _internal_has_left_geometry_request() ? *left_.left_geometry_request_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryRequest*>(&::epl::protobuf::v1::_GeometryRequest_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryRequest&>(::epl::protobuf::v1::_GeometryRequest_default_instance_); } inline const ::epl::protobuf::v1::GeometryRequest& GeometryRequest::left_geometry_request() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.left_geometry_request) return _internal_left_geometry_request(); } +inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::unsafe_arena_release_left_geometry_request() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.left_geometry_request) + if (_internal_has_left_geometry_request()) { + clear_has_left(); + ::epl::protobuf::v1::GeometryRequest* temp = left_.left_geometry_request_; + left_.left_geometry_request_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_left_geometry_request(::epl::protobuf::v1::GeometryRequest* left_geometry_request) { + clear_left(); + if (left_geometry_request) { + set_has_left_geometry_request(); + left_.left_geometry_request_ = left_geometry_request; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.left_geometry_request) +} inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::_internal_mutable_left_geometry_request() { if (!_internal_has_left_geometry_request()) { clear_left(); set_has_left_geometry_request(); - left_.left_geometry_request_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >( - GetArenaNoVirtual()); + left_.left_geometry_request_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >(GetArena()); } return left_.left_geometry_request_; } @@ -6556,7 +7224,9 @@ inline void GeometryRequest::set_has_right_geometry() { } inline void GeometryRequest::clear_right_geometry() { if (_internal_has_right_geometry()) { - delete right_.right_geometry_; + if (GetArena() == nullptr) { + delete right_.right_geometry_; + } clear_has_right(); } } @@ -6565,6 +7235,9 @@ inline ::epl::protobuf::v1::GeometryData* GeometryRequest::release_right_geometr if (_internal_has_right_geometry()) { clear_has_right(); ::epl::protobuf::v1::GeometryData* temp = right_.right_geometry_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } right_.right_geometry_ = nullptr; return temp; } else { @@ -6574,18 +7247,36 @@ inline ::epl::protobuf::v1::GeometryData* GeometryRequest::release_right_geometr inline const ::epl::protobuf::v1::GeometryData& GeometryRequest::_internal_right_geometry() const { return _internal_has_right_geometry() ? *right_.right_geometry_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryData*>(&::epl::protobuf::v1::_GeometryData_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryData&>(::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& GeometryRequest::right_geometry() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.right_geometry) return _internal_right_geometry(); } +inline ::epl::protobuf::v1::GeometryData* GeometryRequest::unsafe_arena_release_right_geometry() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.right_geometry) + if (_internal_has_right_geometry()) { + clear_has_right(); + ::epl::protobuf::v1::GeometryData* temp = right_.right_geometry_; + right_.right_geometry_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_right_geometry(::epl::protobuf::v1::GeometryData* right_geometry) { + clear_right(); + if (right_geometry) { + set_has_right_geometry(); + right_.right_geometry_ = right_geometry; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.right_geometry) +} inline ::epl::protobuf::v1::GeometryData* GeometryRequest::_internal_mutable_right_geometry() { if (!_internal_has_right_geometry()) { clear_right(); set_has_right_geometry(); - right_.right_geometry_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >( - GetArenaNoVirtual()); + right_.right_geometry_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >(GetArena()); } return right_.right_geometry_; } @@ -6606,7 +7297,9 @@ inline void GeometryRequest::set_has_right_geometry_request() { } inline void GeometryRequest::clear_right_geometry_request() { if (_internal_has_right_geometry_request()) { - delete right_.right_geometry_request_; + if (GetArena() == nullptr) { + delete right_.right_geometry_request_; + } clear_has_right(); } } @@ -6615,6 +7308,9 @@ inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::release_right_geom if (_internal_has_right_geometry_request()) { clear_has_right(); ::epl::protobuf::v1::GeometryRequest* temp = right_.right_geometry_request_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } right_.right_geometry_request_ = nullptr; return temp; } else { @@ -6624,18 +7320,36 @@ inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::release_right_geom inline const ::epl::protobuf::v1::GeometryRequest& GeometryRequest::_internal_right_geometry_request() const { return _internal_has_right_geometry_request() ? *right_.right_geometry_request_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryRequest*>(&::epl::protobuf::v1::_GeometryRequest_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryRequest&>(::epl::protobuf::v1::_GeometryRequest_default_instance_); } inline const ::epl::protobuf::v1::GeometryRequest& GeometryRequest::right_geometry_request() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.right_geometry_request) return _internal_right_geometry_request(); } +inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::unsafe_arena_release_right_geometry_request() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.right_geometry_request) + if (_internal_has_right_geometry_request()) { + clear_has_right(); + ::epl::protobuf::v1::GeometryRequest* temp = right_.right_geometry_request_; + right_.right_geometry_request_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_right_geometry_request(::epl::protobuf::v1::GeometryRequest* right_geometry_request) { + clear_right(); + if (right_geometry_request) { + set_has_right_geometry_request(); + right_.right_geometry_request_ = right_geometry_request; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.right_geometry_request) +} inline ::epl::protobuf::v1::GeometryRequest* GeometryRequest::_internal_mutable_right_geometry_request() { if (!_internal_has_right_geometry_request()) { clear_right(); set_has_right_geometry_request(); - right_.right_geometry_request_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >( - GetArenaNoVirtual()); + right_.right_geometry_request_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >(GetArena()); } return right_.right_geometry_request_; } @@ -6692,21 +7406,43 @@ inline bool GeometryRequest::has_operation_proj() const { return _internal_has_operation_proj(); } inline void GeometryRequest::clear_operation_proj() { - if (GetArenaNoVirtual() == nullptr && operation_proj_ != nullptr) { + if (GetArena() == nullptr && operation_proj_ != nullptr) { delete operation_proj_; } operation_proj_ = nullptr; } inline const ::epl::protobuf::v1::ProjectionData& GeometryRequest::_internal_operation_proj() const { const ::epl::protobuf::v1::ProjectionData* p = operation_proj_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ProjectionData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ProjectionData_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData& GeometryRequest::operation_proj() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.operation_proj) return _internal_operation_proj(); } +inline void GeometryRequest::unsafe_arena_set_allocated_operation_proj( + ::epl::protobuf::v1::ProjectionData* operation_proj) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(operation_proj_); + } + operation_proj_ = operation_proj; + if (operation_proj) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.operation_proj) +} inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::release_operation_proj() { + + ::epl::protobuf::v1::ProjectionData* temp = operation_proj_; + operation_proj_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::unsafe_arena_release_operation_proj() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryRequest.operation_proj) ::epl::protobuf::v1::ProjectionData* temp = operation_proj_; @@ -6716,7 +7452,7 @@ inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::release_operation_p inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::_internal_mutable_operation_proj() { if (operation_proj_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArena()); operation_proj_ = p; } return operation_proj_; @@ -6726,12 +7462,13 @@ inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::mutable_operation_p return _internal_mutable_operation_proj(); } inline void GeometryRequest::set_allocated_operation_proj(::epl::protobuf::v1::ProjectionData* operation_proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete operation_proj_; } if (operation_proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(operation_proj); if (message_arena != submessage_arena) { operation_proj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, operation_proj, submessage_arena); @@ -6752,21 +7489,43 @@ inline bool GeometryRequest::has_result_proj() const { return _internal_has_result_proj(); } inline void GeometryRequest::clear_result_proj() { - if (GetArenaNoVirtual() == nullptr && result_proj_ != nullptr) { + if (GetArena() == nullptr && result_proj_ != nullptr) { delete result_proj_; } result_proj_ = nullptr; } inline const ::epl::protobuf::v1::ProjectionData& GeometryRequest::_internal_result_proj() const { const ::epl::protobuf::v1::ProjectionData* p = result_proj_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ProjectionData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ProjectionData_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData& GeometryRequest::result_proj() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.result_proj) return _internal_result_proj(); } +inline void GeometryRequest::unsafe_arena_set_allocated_result_proj( + ::epl::protobuf::v1::ProjectionData* result_proj) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(result_proj_); + } + result_proj_ = result_proj; + if (result_proj) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.result_proj) +} inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::release_result_proj() { + + ::epl::protobuf::v1::ProjectionData* temp = result_proj_; + result_proj_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::unsafe_arena_release_result_proj() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.GeometryRequest.result_proj) ::epl::protobuf::v1::ProjectionData* temp = result_proj_; @@ -6776,7 +7535,7 @@ inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::release_result_proj inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::_internal_mutable_result_proj() { if (result_proj_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArena()); result_proj_ = p; } return result_proj_; @@ -6786,12 +7545,13 @@ inline ::epl::protobuf::v1::ProjectionData* GeometryRequest::mutable_result_proj return _internal_mutable_result_proj(); } inline void GeometryRequest::set_allocated_result_proj(::epl::protobuf::v1::ProjectionData* result_proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete result_proj_; } if (result_proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(result_proj); if (message_arena != submessage_arena) { result_proj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, result_proj, submessage_arena); @@ -6816,7 +7576,9 @@ inline void GeometryRequest::set_has_buffer_params() { } inline void GeometryRequest::clear_buffer_params() { if (_internal_has_buffer_params()) { - delete params_.buffer_params_; + if (GetArena() == nullptr) { + delete params_.buffer_params_; + } clear_has_params(); } } @@ -6825,6 +7587,9 @@ inline ::epl::protobuf::v1::Params_Buffer* GeometryRequest::release_buffer_param if (_internal_has_buffer_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Buffer* temp = params_.buffer_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.buffer_params_ = nullptr; return temp; } else { @@ -6834,18 +7599,36 @@ inline ::epl::protobuf::v1::Params_Buffer* GeometryRequest::release_buffer_param inline const ::epl::protobuf::v1::Params_Buffer& GeometryRequest::_internal_buffer_params() const { return _internal_has_buffer_params() ? *params_.buffer_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Buffer*>(&::epl::protobuf::v1::_Params_Buffer_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Buffer&>(::epl::protobuf::v1::_Params_Buffer_default_instance_); } inline const ::epl::protobuf::v1::Params_Buffer& GeometryRequest::buffer_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.buffer_params) return _internal_buffer_params(); } +inline ::epl::protobuf::v1::Params_Buffer* GeometryRequest::unsafe_arena_release_buffer_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.buffer_params) + if (_internal_has_buffer_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Buffer* temp = params_.buffer_params_; + params_.buffer_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_buffer_params(::epl::protobuf::v1::Params_Buffer* buffer_params) { + clear_params(); + if (buffer_params) { + set_has_buffer_params(); + params_.buffer_params_ = buffer_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.buffer_params) +} inline ::epl::protobuf::v1::Params_Buffer* GeometryRequest::_internal_mutable_buffer_params() { if (!_internal_has_buffer_params()) { clear_params(); set_has_buffer_params(); - params_.buffer_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Buffer >( - GetArenaNoVirtual()); + params_.buffer_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Buffer >(GetArena()); } return params_.buffer_params_; } @@ -6866,7 +7649,9 @@ inline void GeometryRequest::set_has_convex_params() { } inline void GeometryRequest::clear_convex_params() { if (_internal_has_convex_params()) { - delete params_.convex_params_; + if (GetArena() == nullptr) { + delete params_.convex_params_; + } clear_has_params(); } } @@ -6875,6 +7660,9 @@ inline ::epl::protobuf::v1::Params_Convex* GeometryRequest::release_convex_param if (_internal_has_convex_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Convex* temp = params_.convex_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.convex_params_ = nullptr; return temp; } else { @@ -6884,18 +7672,36 @@ inline ::epl::protobuf::v1::Params_Convex* GeometryRequest::release_convex_param inline const ::epl::protobuf::v1::Params_Convex& GeometryRequest::_internal_convex_params() const { return _internal_has_convex_params() ? *params_.convex_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Convex*>(&::epl::protobuf::v1::_Params_Convex_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Convex&>(::epl::protobuf::v1::_Params_Convex_default_instance_); } inline const ::epl::protobuf::v1::Params_Convex& GeometryRequest::convex_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.convex_params) return _internal_convex_params(); } +inline ::epl::protobuf::v1::Params_Convex* GeometryRequest::unsafe_arena_release_convex_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.convex_params) + if (_internal_has_convex_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Convex* temp = params_.convex_params_; + params_.convex_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_convex_params(::epl::protobuf::v1::Params_Convex* convex_params) { + clear_params(); + if (convex_params) { + set_has_convex_params(); + params_.convex_params_ = convex_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.convex_params) +} inline ::epl::protobuf::v1::Params_Convex* GeometryRequest::_internal_mutable_convex_params() { if (!_internal_has_convex_params()) { clear_params(); set_has_convex_params(); - params_.convex_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Convex >( - GetArenaNoVirtual()); + params_.convex_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Convex >(GetArena()); } return params_.convex_params_; } @@ -6916,7 +7722,9 @@ inline void GeometryRequest::set_has_relate_params() { } inline void GeometryRequest::clear_relate_params() { if (_internal_has_relate_params()) { - delete params_.relate_params_; + if (GetArena() == nullptr) { + delete params_.relate_params_; + } clear_has_params(); } } @@ -6925,6 +7733,9 @@ inline ::epl::protobuf::v1::Params_Relate* GeometryRequest::release_relate_param if (_internal_has_relate_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Relate* temp = params_.relate_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.relate_params_ = nullptr; return temp; } else { @@ -6934,18 +7745,36 @@ inline ::epl::protobuf::v1::Params_Relate* GeometryRequest::release_relate_param inline const ::epl::protobuf::v1::Params_Relate& GeometryRequest::_internal_relate_params() const { return _internal_has_relate_params() ? *params_.relate_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Relate*>(&::epl::protobuf::v1::_Params_Relate_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Relate&>(::epl::protobuf::v1::_Params_Relate_default_instance_); } inline const ::epl::protobuf::v1::Params_Relate& GeometryRequest::relate_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.relate_params) return _internal_relate_params(); } +inline ::epl::protobuf::v1::Params_Relate* GeometryRequest::unsafe_arena_release_relate_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.relate_params) + if (_internal_has_relate_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Relate* temp = params_.relate_params_; + params_.relate_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_relate_params(::epl::protobuf::v1::Params_Relate* relate_params) { + clear_params(); + if (relate_params) { + set_has_relate_params(); + params_.relate_params_ = relate_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.relate_params) +} inline ::epl::protobuf::v1::Params_Relate* GeometryRequest::_internal_mutable_relate_params() { if (!_internal_has_relate_params()) { clear_params(); set_has_relate_params(); - params_.relate_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Relate >( - GetArenaNoVirtual()); + params_.relate_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Relate >(GetArena()); } return params_.relate_params_; } @@ -6966,7 +7795,9 @@ inline void GeometryRequest::set_has_random_points_params() { } inline void GeometryRequest::clear_random_points_params() { if (_internal_has_random_points_params()) { - delete params_.random_points_params_; + if (GetArena() == nullptr) { + delete params_.random_points_params_; + } clear_has_params(); } } @@ -6975,6 +7806,9 @@ inline ::epl::protobuf::v1::Params_RandomPoints* GeometryRequest::release_random if (_internal_has_random_points_params()) { clear_has_params(); ::epl::protobuf::v1::Params_RandomPoints* temp = params_.random_points_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.random_points_params_ = nullptr; return temp; } else { @@ -6984,18 +7818,36 @@ inline ::epl::protobuf::v1::Params_RandomPoints* GeometryRequest::release_random inline const ::epl::protobuf::v1::Params_RandomPoints& GeometryRequest::_internal_random_points_params() const { return _internal_has_random_points_params() ? *params_.random_points_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_RandomPoints*>(&::epl::protobuf::v1::_Params_RandomPoints_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_RandomPoints&>(::epl::protobuf::v1::_Params_RandomPoints_default_instance_); } inline const ::epl::protobuf::v1::Params_RandomPoints& GeometryRequest::random_points_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.random_points_params) return _internal_random_points_params(); } +inline ::epl::protobuf::v1::Params_RandomPoints* GeometryRequest::unsafe_arena_release_random_points_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.random_points_params) + if (_internal_has_random_points_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_RandomPoints* temp = params_.random_points_params_; + params_.random_points_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_random_points_params(::epl::protobuf::v1::Params_RandomPoints* random_points_params) { + clear_params(); + if (random_points_params) { + set_has_random_points_params(); + params_.random_points_params_ = random_points_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.random_points_params) +} inline ::epl::protobuf::v1::Params_RandomPoints* GeometryRequest::_internal_mutable_random_points_params() { if (!_internal_has_random_points_params()) { clear_params(); set_has_random_points_params(); - params_.random_points_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_RandomPoints >( - GetArenaNoVirtual()); + params_.random_points_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_RandomPoints >(GetArena()); } return params_.random_points_params_; } @@ -7016,7 +7868,9 @@ inline void GeometryRequest::set_has_generalize_params() { } inline void GeometryRequest::clear_generalize_params() { if (_internal_has_generalize_params()) { - delete params_.generalize_params_; + if (GetArena() == nullptr) { + delete params_.generalize_params_; + } clear_has_params(); } } @@ -7025,6 +7879,9 @@ inline ::epl::protobuf::v1::Params_Generalize* GeometryRequest::release_generali if (_internal_has_generalize_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Generalize* temp = params_.generalize_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.generalize_params_ = nullptr; return temp; } else { @@ -7034,18 +7891,36 @@ inline ::epl::protobuf::v1::Params_Generalize* GeometryRequest::release_generali inline const ::epl::protobuf::v1::Params_Generalize& GeometryRequest::_internal_generalize_params() const { return _internal_has_generalize_params() ? *params_.generalize_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Generalize*>(&::epl::protobuf::v1::_Params_Generalize_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Generalize&>(::epl::protobuf::v1::_Params_Generalize_default_instance_); } inline const ::epl::protobuf::v1::Params_Generalize& GeometryRequest::generalize_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.generalize_params) return _internal_generalize_params(); } +inline ::epl::protobuf::v1::Params_Generalize* GeometryRequest::unsafe_arena_release_generalize_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.generalize_params) + if (_internal_has_generalize_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Generalize* temp = params_.generalize_params_; + params_.generalize_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_generalize_params(::epl::protobuf::v1::Params_Generalize* generalize_params) { + clear_params(); + if (generalize_params) { + set_has_generalize_params(); + params_.generalize_params_ = generalize_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.generalize_params) +} inline ::epl::protobuf::v1::Params_Generalize* GeometryRequest::_internal_mutable_generalize_params() { if (!_internal_has_generalize_params()) { clear_params(); set_has_generalize_params(); - params_.generalize_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Generalize >( - GetArenaNoVirtual()); + params_.generalize_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Generalize >(GetArena()); } return params_.generalize_params_; } @@ -7066,7 +7941,9 @@ inline void GeometryRequest::set_has_intersection_params() { } inline void GeometryRequest::clear_intersection_params() { if (_internal_has_intersection_params()) { - delete params_.intersection_params_; + if (GetArena() == nullptr) { + delete params_.intersection_params_; + } clear_has_params(); } } @@ -7075,6 +7952,9 @@ inline ::epl::protobuf::v1::Params_Intersection* GeometryRequest::release_inters if (_internal_has_intersection_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Intersection* temp = params_.intersection_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.intersection_params_ = nullptr; return temp; } else { @@ -7084,18 +7964,36 @@ inline ::epl::protobuf::v1::Params_Intersection* GeometryRequest::release_inters inline const ::epl::protobuf::v1::Params_Intersection& GeometryRequest::_internal_intersection_params() const { return _internal_has_intersection_params() ? *params_.intersection_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Intersection*>(&::epl::protobuf::v1::_Params_Intersection_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Intersection&>(::epl::protobuf::v1::_Params_Intersection_default_instance_); } inline const ::epl::protobuf::v1::Params_Intersection& GeometryRequest::intersection_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.intersection_params) return _internal_intersection_params(); } +inline ::epl::protobuf::v1::Params_Intersection* GeometryRequest::unsafe_arena_release_intersection_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.intersection_params) + if (_internal_has_intersection_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Intersection* temp = params_.intersection_params_; + params_.intersection_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_intersection_params(::epl::protobuf::v1::Params_Intersection* intersection_params) { + clear_params(); + if (intersection_params) { + set_has_intersection_params(); + params_.intersection_params_ = intersection_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.intersection_params) +} inline ::epl::protobuf::v1::Params_Intersection* GeometryRequest::_internal_mutable_intersection_params() { if (!_internal_has_intersection_params()) { clear_params(); set_has_intersection_params(); - params_.intersection_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Intersection >( - GetArenaNoVirtual()); + params_.intersection_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Intersection >(GetArena()); } return params_.intersection_params_; } @@ -7116,7 +8014,9 @@ inline void GeometryRequest::set_has_offset_params() { } inline void GeometryRequest::clear_offset_params() { if (_internal_has_offset_params()) { - delete params_.offset_params_; + if (GetArena() == nullptr) { + delete params_.offset_params_; + } clear_has_params(); } } @@ -7125,6 +8025,9 @@ inline ::epl::protobuf::v1::Params_Offset* GeometryRequest::release_offset_param if (_internal_has_offset_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Offset* temp = params_.offset_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.offset_params_ = nullptr; return temp; } else { @@ -7134,18 +8037,36 @@ inline ::epl::protobuf::v1::Params_Offset* GeometryRequest::release_offset_param inline const ::epl::protobuf::v1::Params_Offset& GeometryRequest::_internal_offset_params() const { return _internal_has_offset_params() ? *params_.offset_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Offset*>(&::epl::protobuf::v1::_Params_Offset_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Offset&>(::epl::protobuf::v1::_Params_Offset_default_instance_); } inline const ::epl::protobuf::v1::Params_Offset& GeometryRequest::offset_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.offset_params) return _internal_offset_params(); } +inline ::epl::protobuf::v1::Params_Offset* GeometryRequest::unsafe_arena_release_offset_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.offset_params) + if (_internal_has_offset_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Offset* temp = params_.offset_params_; + params_.offset_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_offset_params(::epl::protobuf::v1::Params_Offset* offset_params) { + clear_params(); + if (offset_params) { + set_has_offset_params(); + params_.offset_params_ = offset_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.offset_params) +} inline ::epl::protobuf::v1::Params_Offset* GeometryRequest::_internal_mutable_offset_params() { if (!_internal_has_offset_params()) { clear_params(); set_has_offset_params(); - params_.offset_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Offset >( - GetArenaNoVirtual()); + params_.offset_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Offset >(GetArena()); } return params_.offset_params_; } @@ -7166,7 +8087,9 @@ inline void GeometryRequest::set_has_cut_params() { } inline void GeometryRequest::clear_cut_params() { if (_internal_has_cut_params()) { - delete params_.cut_params_; + if (GetArena() == nullptr) { + delete params_.cut_params_; + } clear_has_params(); } } @@ -7175,6 +8098,9 @@ inline ::epl::protobuf::v1::Params_Cut* GeometryRequest::release_cut_params() { if (_internal_has_cut_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Cut* temp = params_.cut_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.cut_params_ = nullptr; return temp; } else { @@ -7184,18 +8110,36 @@ inline ::epl::protobuf::v1::Params_Cut* GeometryRequest::release_cut_params() { inline const ::epl::protobuf::v1::Params_Cut& GeometryRequest::_internal_cut_params() const { return _internal_has_cut_params() ? *params_.cut_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Cut*>(&::epl::protobuf::v1::_Params_Cut_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Cut&>(::epl::protobuf::v1::_Params_Cut_default_instance_); } inline const ::epl::protobuf::v1::Params_Cut& GeometryRequest::cut_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.cut_params) return _internal_cut_params(); } +inline ::epl::protobuf::v1::Params_Cut* GeometryRequest::unsafe_arena_release_cut_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.cut_params) + if (_internal_has_cut_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Cut* temp = params_.cut_params_; + params_.cut_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_cut_params(::epl::protobuf::v1::Params_Cut* cut_params) { + clear_params(); + if (cut_params) { + set_has_cut_params(); + params_.cut_params_ = cut_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.cut_params) +} inline ::epl::protobuf::v1::Params_Cut* GeometryRequest::_internal_mutable_cut_params() { if (!_internal_has_cut_params()) { clear_params(); set_has_cut_params(); - params_.cut_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Cut >( - GetArenaNoVirtual()); + params_.cut_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Cut >(GetArena()); } return params_.cut_params_; } @@ -7216,7 +8160,9 @@ inline void GeometryRequest::set_has_clip_params() { } inline void GeometryRequest::clear_clip_params() { if (_internal_has_clip_params()) { - delete params_.clip_params_; + if (GetArena() == nullptr) { + delete params_.clip_params_; + } clear_has_params(); } } @@ -7225,6 +8171,9 @@ inline ::epl::protobuf::v1::Params_Clip* GeometryRequest::release_clip_params() if (_internal_has_clip_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Clip* temp = params_.clip_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.clip_params_ = nullptr; return temp; } else { @@ -7234,18 +8183,36 @@ inline ::epl::protobuf::v1::Params_Clip* GeometryRequest::release_clip_params() inline const ::epl::protobuf::v1::Params_Clip& GeometryRequest::_internal_clip_params() const { return _internal_has_clip_params() ? *params_.clip_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Clip*>(&::epl::protobuf::v1::_Params_Clip_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Clip&>(::epl::protobuf::v1::_Params_Clip_default_instance_); } inline const ::epl::protobuf::v1::Params_Clip& GeometryRequest::clip_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.clip_params) return _internal_clip_params(); } +inline ::epl::protobuf::v1::Params_Clip* GeometryRequest::unsafe_arena_release_clip_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.clip_params) + if (_internal_has_clip_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Clip* temp = params_.clip_params_; + params_.clip_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_clip_params(::epl::protobuf::v1::Params_Clip* clip_params) { + clear_params(); + if (clip_params) { + set_has_clip_params(); + params_.clip_params_ = clip_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.clip_params) +} inline ::epl::protobuf::v1::Params_Clip* GeometryRequest::_internal_mutable_clip_params() { if (!_internal_has_clip_params()) { clear_params(); set_has_clip_params(); - params_.clip_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Clip >( - GetArenaNoVirtual()); + params_.clip_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Clip >(GetArena()); } return params_.clip_params_; } @@ -7266,7 +8233,9 @@ inline void GeometryRequest::set_has_densify_params() { } inline void GeometryRequest::clear_densify_params() { if (_internal_has_densify_params()) { - delete params_.densify_params_; + if (GetArena() == nullptr) { + delete params_.densify_params_; + } clear_has_params(); } } @@ -7275,6 +8244,9 @@ inline ::epl::protobuf::v1::Params_Densify* GeometryRequest::release_densify_par if (_internal_has_densify_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Densify* temp = params_.densify_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.densify_params_ = nullptr; return temp; } else { @@ -7284,18 +8256,36 @@ inline ::epl::protobuf::v1::Params_Densify* GeometryRequest::release_densify_par inline const ::epl::protobuf::v1::Params_Densify& GeometryRequest::_internal_densify_params() const { return _internal_has_densify_params() ? *params_.densify_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Densify*>(&::epl::protobuf::v1::_Params_Densify_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Densify&>(::epl::protobuf::v1::_Params_Densify_default_instance_); } inline const ::epl::protobuf::v1::Params_Densify& GeometryRequest::densify_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.densify_params) return _internal_densify_params(); } +inline ::epl::protobuf::v1::Params_Densify* GeometryRequest::unsafe_arena_release_densify_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.densify_params) + if (_internal_has_densify_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Densify* temp = params_.densify_params_; + params_.densify_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_densify_params(::epl::protobuf::v1::Params_Densify* densify_params) { + clear_params(); + if (densify_params) { + set_has_densify_params(); + params_.densify_params_ = densify_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.densify_params) +} inline ::epl::protobuf::v1::Params_Densify* GeometryRequest::_internal_mutable_densify_params() { if (!_internal_has_densify_params()) { clear_params(); set_has_densify_params(); - params_.densify_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Densify >( - GetArenaNoVirtual()); + params_.densify_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Densify >(GetArena()); } return params_.densify_params_; } @@ -7316,7 +8306,9 @@ inline void GeometryRequest::set_has_simplify_params() { } inline void GeometryRequest::clear_simplify_params() { if (_internal_has_simplify_params()) { - delete params_.simplify_params_; + if (GetArena() == nullptr) { + delete params_.simplify_params_; + } clear_has_params(); } } @@ -7325,6 +8317,9 @@ inline ::epl::protobuf::v1::Params_Simplify* GeometryRequest::release_simplify_p if (_internal_has_simplify_params()) { clear_has_params(); ::epl::protobuf::v1::Params_Simplify* temp = params_.simplify_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.simplify_params_ = nullptr; return temp; } else { @@ -7334,18 +8329,36 @@ inline ::epl::protobuf::v1::Params_Simplify* GeometryRequest::release_simplify_p inline const ::epl::protobuf::v1::Params_Simplify& GeometryRequest::_internal_simplify_params() const { return _internal_has_simplify_params() ? *params_.simplify_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_Simplify*>(&::epl::protobuf::v1::_Params_Simplify_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_Simplify&>(::epl::protobuf::v1::_Params_Simplify_default_instance_); } inline const ::epl::protobuf::v1::Params_Simplify& GeometryRequest::simplify_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.simplify_params) return _internal_simplify_params(); } +inline ::epl::protobuf::v1::Params_Simplify* GeometryRequest::unsafe_arena_release_simplify_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.simplify_params) + if (_internal_has_simplify_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_Simplify* temp = params_.simplify_params_; + params_.simplify_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_simplify_params(::epl::protobuf::v1::Params_Simplify* simplify_params) { + clear_params(); + if (simplify_params) { + set_has_simplify_params(); + params_.simplify_params_ = simplify_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.simplify_params) +} inline ::epl::protobuf::v1::Params_Simplify* GeometryRequest::_internal_mutable_simplify_params() { if (!_internal_has_simplify_params()) { clear_params(); set_has_simplify_params(); - params_.simplify_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Simplify >( - GetArenaNoVirtual()); + params_.simplify_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_Simplify >(GetArena()); } return params_.simplify_params_; } @@ -7366,7 +8379,9 @@ inline void GeometryRequest::set_has_generalize_by_area_params() { } inline void GeometryRequest::clear_generalize_by_area_params() { if (_internal_has_generalize_by_area_params()) { - delete params_.generalize_by_area_params_; + if (GetArena() == nullptr) { + delete params_.generalize_by_area_params_; + } clear_has_params(); } } @@ -7375,6 +8390,9 @@ inline ::epl::protobuf::v1::Params_GeneralizeByArea* GeometryRequest::release_ge if (_internal_has_generalize_by_area_params()) { clear_has_params(); ::epl::protobuf::v1::Params_GeneralizeByArea* temp = params_.generalize_by_area_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.generalize_by_area_params_ = nullptr; return temp; } else { @@ -7384,18 +8402,36 @@ inline ::epl::protobuf::v1::Params_GeneralizeByArea* GeometryRequest::release_ge inline const ::epl::protobuf::v1::Params_GeneralizeByArea& GeometryRequest::_internal_generalize_by_area_params() const { return _internal_has_generalize_by_area_params() ? *params_.generalize_by_area_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_GeneralizeByArea*>(&::epl::protobuf::v1::_Params_GeneralizeByArea_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_GeneralizeByArea&>(::epl::protobuf::v1::_Params_GeneralizeByArea_default_instance_); } inline const ::epl::protobuf::v1::Params_GeneralizeByArea& GeometryRequest::generalize_by_area_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.generalize_by_area_params) return _internal_generalize_by_area_params(); } +inline ::epl::protobuf::v1::Params_GeneralizeByArea* GeometryRequest::unsafe_arena_release_generalize_by_area_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.generalize_by_area_params) + if (_internal_has_generalize_by_area_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_GeneralizeByArea* temp = params_.generalize_by_area_params_; + params_.generalize_by_area_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_generalize_by_area_params(::epl::protobuf::v1::Params_GeneralizeByArea* generalize_by_area_params) { + clear_params(); + if (generalize_by_area_params) { + set_has_generalize_by_area_params(); + params_.generalize_by_area_params_ = generalize_by_area_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.generalize_by_area_params) +} inline ::epl::protobuf::v1::Params_GeneralizeByArea* GeometryRequest::_internal_mutable_generalize_by_area_params() { if (!_internal_has_generalize_by_area_params()) { clear_params(); set_has_generalize_by_area_params(); - params_.generalize_by_area_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_GeneralizeByArea >( - GetArenaNoVirtual()); + params_.generalize_by_area_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_GeneralizeByArea >(GetArena()); } return params_.generalize_by_area_params_; } @@ -7416,7 +8452,9 @@ inline void GeometryRequest::set_has_affine_transform_params() { } inline void GeometryRequest::clear_affine_transform_params() { if (_internal_has_affine_transform_params()) { - delete params_.affine_transform_params_; + if (GetArena() == nullptr) { + delete params_.affine_transform_params_; + } clear_has_params(); } } @@ -7425,6 +8463,9 @@ inline ::epl::protobuf::v1::Params_AffineTransform* GeometryRequest::release_aff if (_internal_has_affine_transform_params()) { clear_has_params(); ::epl::protobuf::v1::Params_AffineTransform* temp = params_.affine_transform_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.affine_transform_params_ = nullptr; return temp; } else { @@ -7434,18 +8475,36 @@ inline ::epl::protobuf::v1::Params_AffineTransform* GeometryRequest::release_aff inline const ::epl::protobuf::v1::Params_AffineTransform& GeometryRequest::_internal_affine_transform_params() const { return _internal_has_affine_transform_params() ? *params_.affine_transform_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_AffineTransform*>(&::epl::protobuf::v1::_Params_AffineTransform_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_AffineTransform&>(::epl::protobuf::v1::_Params_AffineTransform_default_instance_); } inline const ::epl::protobuf::v1::Params_AffineTransform& GeometryRequest::affine_transform_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.affine_transform_params) return _internal_affine_transform_params(); } +inline ::epl::protobuf::v1::Params_AffineTransform* GeometryRequest::unsafe_arena_release_affine_transform_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.affine_transform_params) + if (_internal_has_affine_transform_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_AffineTransform* temp = params_.affine_transform_params_; + params_.affine_transform_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_affine_transform_params(::epl::protobuf::v1::Params_AffineTransform* affine_transform_params) { + clear_params(); + if (affine_transform_params) { + set_has_affine_transform_params(); + params_.affine_transform_params_ = affine_transform_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.affine_transform_params) +} inline ::epl::protobuf::v1::Params_AffineTransform* GeometryRequest::_internal_mutable_affine_transform_params() { if (!_internal_has_affine_transform_params()) { clear_params(); set_has_affine_transform_params(); - params_.affine_transform_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_AffineTransform >( - GetArenaNoVirtual()); + params_.affine_transform_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_AffineTransform >(GetArena()); } return params_.affine_transform_params_; } @@ -7466,7 +8525,9 @@ inline void GeometryRequest::set_has_geodetic_buffer_params() { } inline void GeometryRequest::clear_geodetic_buffer_params() { if (_internal_has_geodetic_buffer_params()) { - delete params_.geodetic_buffer_params_; + if (GetArena() == nullptr) { + delete params_.geodetic_buffer_params_; + } clear_has_params(); } } @@ -7475,6 +8536,9 @@ inline ::epl::protobuf::v1::Params_GeodeticBuffer* GeometryRequest::release_geod if (_internal_has_geodetic_buffer_params()) { clear_has_params(); ::epl::protobuf::v1::Params_GeodeticBuffer* temp = params_.geodetic_buffer_params_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } params_.geodetic_buffer_params_ = nullptr; return temp; } else { @@ -7484,18 +8548,36 @@ inline ::epl::protobuf::v1::Params_GeodeticBuffer* GeometryRequest::release_geod inline const ::epl::protobuf::v1::Params_GeodeticBuffer& GeometryRequest::_internal_geodetic_buffer_params() const { return _internal_has_geodetic_buffer_params() ? *params_.geodetic_buffer_params_ - : *reinterpret_cast< ::epl::protobuf::v1::Params_GeodeticBuffer*>(&::epl::protobuf::v1::_Params_GeodeticBuffer_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::Params_GeodeticBuffer&>(::epl::protobuf::v1::_Params_GeodeticBuffer_default_instance_); } inline const ::epl::protobuf::v1::Params_GeodeticBuffer& GeometryRequest::geodetic_buffer_params() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryRequest.geodetic_buffer_params) return _internal_geodetic_buffer_params(); } +inline ::epl::protobuf::v1::Params_GeodeticBuffer* GeometryRequest::unsafe_arena_release_geodetic_buffer_params() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryRequest.geodetic_buffer_params) + if (_internal_has_geodetic_buffer_params()) { + clear_has_params(); + ::epl::protobuf::v1::Params_GeodeticBuffer* temp = params_.geodetic_buffer_params_; + params_.geodetic_buffer_params_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryRequest::unsafe_arena_set_allocated_geodetic_buffer_params(::epl::protobuf::v1::Params_GeodeticBuffer* geodetic_buffer_params) { + clear_params(); + if (geodetic_buffer_params) { + set_has_geodetic_buffer_params(); + params_.geodetic_buffer_params_ = geodetic_buffer_params; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryRequest.geodetic_buffer_params) +} inline ::epl::protobuf::v1::Params_GeodeticBuffer* GeometryRequest::_internal_mutable_geodetic_buffer_params() { if (!_internal_has_geodetic_buffer_params()) { clear_params(); set_has_geodetic_buffer_params(); - params_.geodetic_buffer_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_GeodeticBuffer >( - GetArenaNoVirtual()); + params_.geodetic_buffer_params_ = CreateMaybeMessage< ::epl::protobuf::v1::Params_GeodeticBuffer >(GetArena()); } return params_.geodetic_buffer_params_; } @@ -7613,7 +8695,9 @@ inline void GeometryResponse::set_has_geometry() { } inline void GeometryResponse::clear_geometry() { if (_internal_has_geometry()) { - delete result_.geometry_; + if (GetArena() == nullptr) { + delete result_.geometry_; + } clear_has_result(); } } @@ -7622,6 +8706,9 @@ inline ::epl::protobuf::v1::GeometryData* GeometryResponse::release_geometry() { if (_internal_has_geometry()) { clear_has_result(); ::epl::protobuf::v1::GeometryData* temp = result_.geometry_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } result_.geometry_ = nullptr; return temp; } else { @@ -7631,18 +8718,36 @@ inline ::epl::protobuf::v1::GeometryData* GeometryResponse::release_geometry() { inline const ::epl::protobuf::v1::GeometryData& GeometryResponse::_internal_geometry() const { return _internal_has_geometry() ? *result_.geometry_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryData*>(&::epl::protobuf::v1::_GeometryData_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryData&>(::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& GeometryResponse::geometry() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryResponse.geometry) return _internal_geometry(); } +inline ::epl::protobuf::v1::GeometryData* GeometryResponse::unsafe_arena_release_geometry() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryResponse.geometry) + if (_internal_has_geometry()) { + clear_has_result(); + ::epl::protobuf::v1::GeometryData* temp = result_.geometry_; + result_.geometry_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryResponse::unsafe_arena_set_allocated_geometry(::epl::protobuf::v1::GeometryData* geometry) { + clear_result(); + if (geometry) { + set_has_geometry(); + result_.geometry_ = geometry; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryResponse.geometry) +} inline ::epl::protobuf::v1::GeometryData* GeometryResponse::_internal_mutable_geometry() { if (!_internal_has_geometry()) { clear_result(); set_has_geometry(); - result_.geometry_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >( - GetArenaNoVirtual()); + result_.geometry_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >(GetArena()); } return result_.geometry_; } @@ -7655,6 +8760,9 @@ inline ::epl::protobuf::v1::GeometryData* GeometryResponse::mutable_geometry() { inline bool GeometryResponse::_internal_has_spatial_relationship() const { return result_case() == kSpatialRelationship; } +inline bool GeometryResponse::has_spatial_relationship() const { + return _internal_has_spatial_relationship(); +} inline void GeometryResponse::set_has_spatial_relationship() { _oneof_case_[0] = kSpatialRelationship; } @@ -7690,6 +8798,9 @@ inline void GeometryResponse::set_spatial_relationship(bool value) { inline bool GeometryResponse::_internal_has_measure() const { return result_case() == kMeasure; } +inline bool GeometryResponse::has_measure() const { + return _internal_has_measure(); +} inline void GeometryResponse::set_has_measure() { _oneof_case_[0] = kMeasure; } @@ -7733,7 +8844,9 @@ inline void GeometryResponse::set_has_geodetic_inverse() { } inline void GeometryResponse::clear_geodetic_inverse() { if (_internal_has_geodetic_inverse()) { - delete result_.geodetic_inverse_; + if (GetArena() == nullptr) { + delete result_.geodetic_inverse_; + } clear_has_result(); } } @@ -7742,6 +8855,9 @@ inline ::epl::protobuf::v1::GeodeticInverse* GeometryResponse::release_geodetic_ if (_internal_has_geodetic_inverse()) { clear_has_result(); ::epl::protobuf::v1::GeodeticInverse* temp = result_.geodetic_inverse_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } result_.geodetic_inverse_ = nullptr; return temp; } else { @@ -7751,18 +8867,36 @@ inline ::epl::protobuf::v1::GeodeticInverse* GeometryResponse::release_geodetic_ inline const ::epl::protobuf::v1::GeodeticInverse& GeometryResponse::_internal_geodetic_inverse() const { return _internal_has_geodetic_inverse() ? *result_.geodetic_inverse_ - : *reinterpret_cast< ::epl::protobuf::v1::GeodeticInverse*>(&::epl::protobuf::v1::_GeodeticInverse_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeodeticInverse&>(::epl::protobuf::v1::_GeodeticInverse_default_instance_); } inline const ::epl::protobuf::v1::GeodeticInverse& GeometryResponse::geodetic_inverse() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.GeometryResponse.geodetic_inverse) return _internal_geodetic_inverse(); } +inline ::epl::protobuf::v1::GeodeticInverse* GeometryResponse::unsafe_arena_release_geodetic_inverse() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.GeometryResponse.geodetic_inverse) + if (_internal_has_geodetic_inverse()) { + clear_has_result(); + ::epl::protobuf::v1::GeodeticInverse* temp = result_.geodetic_inverse_; + result_.geodetic_inverse_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void GeometryResponse::unsafe_arena_set_allocated_geodetic_inverse(::epl::protobuf::v1::GeodeticInverse* geodetic_inverse) { + clear_result(); + if (geodetic_inverse) { + set_has_geodetic_inverse(); + result_.geodetic_inverse_ = geodetic_inverse; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.GeometryResponse.geodetic_inverse) +} inline ::epl::protobuf::v1::GeodeticInverse* GeometryResponse::_internal_mutable_geodetic_inverse() { if (!_internal_has_geodetic_inverse()) { clear_result(); set_has_geodetic_inverse(); - result_.geodetic_inverse_ = CreateMaybeMessage< ::epl::protobuf::v1::GeodeticInverse >( - GetArenaNoVirtual()); + result_.geodetic_inverse_ = CreateMaybeMessage< ::epl::protobuf::v1::GeodeticInverse >(GetArena()); } return result_.geodetic_inverse_; } @@ -7821,21 +8955,43 @@ inline bool FileRequestChunk::has_nested_request() const { return _internal_has_nested_request(); } inline void FileRequestChunk::clear_nested_request() { - if (GetArenaNoVirtual() == nullptr && nested_request_ != nullptr) { + if (GetArena() == nullptr && nested_request_ != nullptr) { delete nested_request_; } nested_request_ = nullptr; } inline const ::epl::protobuf::v1::GeometryRequest& FileRequestChunk::_internal_nested_request() const { const ::epl::protobuf::v1::GeometryRequest* p = nested_request_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_GeometryRequest_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_GeometryRequest_default_instance_); } inline const ::epl::protobuf::v1::GeometryRequest& FileRequestChunk::nested_request() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.FileRequestChunk.nested_request) return _internal_nested_request(); } +inline void FileRequestChunk::unsafe_arena_set_allocated_nested_request( + ::epl::protobuf::v1::GeometryRequest* nested_request) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(nested_request_); + } + nested_request_ = nested_request; + if (nested_request) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.FileRequestChunk.nested_request) +} inline ::epl::protobuf::v1::GeometryRequest* FileRequestChunk::release_nested_request() { + + ::epl::protobuf::v1::GeometryRequest* temp = nested_request_; + nested_request_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::GeometryRequest* FileRequestChunk::unsafe_arena_release_nested_request() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.FileRequestChunk.nested_request) ::epl::protobuf::v1::GeometryRequest* temp = nested_request_; @@ -7845,7 +9001,7 @@ inline ::epl::protobuf::v1::GeometryRequest* FileRequestChunk::release_nested_re inline ::epl::protobuf::v1::GeometryRequest* FileRequestChunk::_internal_mutable_nested_request() { if (nested_request_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::GeometryRequest>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::GeometryRequest>(GetArena()); nested_request_ = p; } return nested_request_; @@ -7855,12 +9011,13 @@ inline ::epl::protobuf::v1::GeometryRequest* FileRequestChunk::mutable_nested_re return _internal_mutable_nested_request(); } inline void FileRequestChunk::set_allocated_nested_request(::epl::protobuf::v1::GeometryRequest* nested_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete nested_request_; } if (nested_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(nested_request); if (message_arena != submessage_arena) { nested_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, nested_request, submessage_arena); @@ -7901,21 +9058,43 @@ inline bool FileRequestChunk::has_input_proj() const { return _internal_has_input_proj(); } inline void FileRequestChunk::clear_input_proj() { - if (GetArenaNoVirtual() == nullptr && input_proj_ != nullptr) { + if (GetArena() == nullptr && input_proj_ != nullptr) { delete input_proj_; } input_proj_ = nullptr; } inline const ::epl::protobuf::v1::ProjectionData& FileRequestChunk::_internal_input_proj() const { const ::epl::protobuf::v1::ProjectionData* p = input_proj_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ProjectionData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ProjectionData_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData& FileRequestChunk::input_proj() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.FileRequestChunk.input_proj) return _internal_input_proj(); } +inline void FileRequestChunk::unsafe_arena_set_allocated_input_proj( + ::epl::protobuf::v1::ProjectionData* input_proj) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(input_proj_); + } + input_proj_ = input_proj; + if (input_proj) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.FileRequestChunk.input_proj) +} inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::release_input_proj() { + + ::epl::protobuf::v1::ProjectionData* temp = input_proj_; + input_proj_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::unsafe_arena_release_input_proj() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.FileRequestChunk.input_proj) ::epl::protobuf::v1::ProjectionData* temp = input_proj_; @@ -7925,7 +9104,7 @@ inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::release_input_proj inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::_internal_mutable_input_proj() { if (input_proj_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArena()); input_proj_ = p; } return input_proj_; @@ -7935,12 +9114,13 @@ inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::mutable_input_proj return _internal_mutable_input_proj(); } inline void FileRequestChunk::set_allocated_input_proj(::epl::protobuf::v1::ProjectionData* input_proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete input_proj_; } if (input_proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(input_proj); if (message_arena != submessage_arena) { input_proj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, input_proj, submessage_arena); @@ -7961,21 +9141,43 @@ inline bool FileRequestChunk::has_result_proj() const { return _internal_has_result_proj(); } inline void FileRequestChunk::clear_result_proj() { - if (GetArenaNoVirtual() == nullptr && result_proj_ != nullptr) { + if (GetArena() == nullptr && result_proj_ != nullptr) { delete result_proj_; } result_proj_ = nullptr; } inline const ::epl::protobuf::v1::ProjectionData& FileRequestChunk::_internal_result_proj() const { const ::epl::protobuf::v1::ProjectionData* p = result_proj_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ProjectionData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ProjectionData_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData& FileRequestChunk::result_proj() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.FileRequestChunk.result_proj) return _internal_result_proj(); } +inline void FileRequestChunk::unsafe_arena_set_allocated_result_proj( + ::epl::protobuf::v1::ProjectionData* result_proj) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(result_proj_); + } + result_proj_ = result_proj; + if (result_proj) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.FileRequestChunk.result_proj) +} inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::release_result_proj() { + + ::epl::protobuf::v1::ProjectionData* temp = result_proj_; + result_proj_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::unsafe_arena_release_result_proj() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.FileRequestChunk.result_proj) ::epl::protobuf::v1::ProjectionData* temp = result_proj_; @@ -7985,7 +9187,7 @@ inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::release_result_pro inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::_internal_mutable_result_proj() { if (result_proj_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArena()); result_proj_ = p; } return result_proj_; @@ -7995,12 +9197,13 @@ inline ::epl::protobuf::v1::ProjectionData* FileRequestChunk::mutable_result_pro return _internal_mutable_result_proj(); } inline void FileRequestChunk::set_allocated_result_proj(::epl::protobuf::v1::ProjectionData* result_proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete result_proj_; } if (result_proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(result_proj); if (message_arena != submessage_arena) { result_proj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, result_proj, submessage_arena); @@ -8015,7 +9218,7 @@ inline void FileRequestChunk::set_allocated_result_proj(::epl::protobuf::v1::Pro // bytes data = 6; inline void FileRequestChunk::clear_data() { - data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_.ClearToEmpty(); } inline const std::string& FileRequestChunk::data() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.FileRequestChunk.data) @@ -8030,38 +9233,38 @@ inline std::string* FileRequestChunk::mutable_data() { return _internal_mutable_data(); } inline const std::string& FileRequestChunk::_internal_data() const { - return data_.GetNoArena(); + return data_.Get(); } inline void FileRequestChunk::_internal_set_data(const std::string& value) { - data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void FileRequestChunk::set_data(std::string&& value) { - data_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + data_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.FileRequestChunk.data) } inline void FileRequestChunk::set_data(const char* value) { GOOGLE_DCHECK(value != nullptr); - data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.FileRequestChunk.data) } -inline void FileRequestChunk::set_data(const void* value, size_t size) { +inline void FileRequestChunk::set_data(const void* value, + size_t size) { - data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.FileRequestChunk.data) } inline std::string* FileRequestChunk::_internal_mutable_data() { - return data_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* FileRequestChunk::release_data() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.FileRequestChunk.data) - - return data_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void FileRequestChunk::set_allocated_data(std::string* data) { if (data != nullptr) { @@ -8069,7 +9272,8 @@ inline void FileRequestChunk::set_allocated_data(std::string* data) { } else { } - data_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data); + data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.FileRequestChunk.data) } @@ -8115,7 +9319,7 @@ inline void FileRequestChunk::set_offset(::PROTOBUF_NAMESPACE_ID::int64 value) { // string file_name = 9; inline void FileRequestChunk::clear_file_name() { - file_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + file_name_.ClearToEmpty(); } inline const std::string& FileRequestChunk::file_name() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.FileRequestChunk.file_name) @@ -8130,38 +9334,38 @@ inline std::string* FileRequestChunk::mutable_file_name() { return _internal_mutable_file_name(); } inline const std::string& FileRequestChunk::_internal_file_name() const { - return file_name_.GetNoArena(); + return file_name_.Get(); } inline void FileRequestChunk::_internal_set_file_name(const std::string& value) { - file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void FileRequestChunk::set_file_name(std::string&& value) { - file_name_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + file_name_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.FileRequestChunk.file_name) } inline void FileRequestChunk::set_file_name(const char* value) { GOOGLE_DCHECK(value != nullptr); - file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.FileRequestChunk.file_name) } -inline void FileRequestChunk::set_file_name(const char* value, size_t size) { +inline void FileRequestChunk::set_file_name(const char* value, + size_t size) { - file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.FileRequestChunk.file_name) } inline std::string* FileRequestChunk::_internal_mutable_file_name() { - return file_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return file_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* FileRequestChunk::release_file_name() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.FileRequestChunk.file_name) - - return file_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return file_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void FileRequestChunk::set_allocated_file_name(std::string* file_name) { if (file_name != nullptr) { @@ -8169,7 +9373,8 @@ inline void FileRequestChunk::set_allocated_file_name(std::string* file_name) { } else { } - file_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_name); + file_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_name, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.FileRequestChunk.file_name) } @@ -8391,7 +9596,7 @@ inline void Params_Convex::set_merge(bool value) { // string de_9im = 1; inline void Params_Relate::clear_de_9im() { - de_9im_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + de_9im_.ClearToEmpty(); } inline const std::string& Params_Relate::de_9im() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Params.Relate.de_9im) @@ -8406,38 +9611,38 @@ inline std::string* Params_Relate::mutable_de_9im() { return _internal_mutable_de_9im(); } inline const std::string& Params_Relate::_internal_de_9im() const { - return de_9im_.GetNoArena(); + return de_9im_.Get(); } inline void Params_Relate::_internal_set_de_9im(const std::string& value) { - de_9im_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + de_9im_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Params_Relate::set_de_9im(std::string&& value) { - de_9im_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + de_9im_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Params.Relate.de_9im) } inline void Params_Relate::set_de_9im(const char* value) { GOOGLE_DCHECK(value != nullptr); - de_9im_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + de_9im_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Params.Relate.de_9im) } -inline void Params_Relate::set_de_9im(const char* value, size_t size) { +inline void Params_Relate::set_de_9im(const char* value, + size_t size) { - de_9im_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + de_9im_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Params.Relate.de_9im) } inline std::string* Params_Relate::_internal_mutable_de_9im() { - return de_9im_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return de_9im_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Params_Relate::release_de_9im() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Params.Relate.de_9im) - - return de_9im_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return de_9im_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Params_Relate::set_allocated_de_9im(std::string* de_9im) { if (de_9im != nullptr) { @@ -8445,7 +9650,8 @@ inline void Params_Relate::set_allocated_de_9im(std::string* de_9im) { } else { } - de_9im_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), de_9im); + de_9im_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), de_9im, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Params.Relate.de_9im) } @@ -8745,21 +9951,43 @@ inline bool Params_Clip::has_envelope() const { return _internal_has_envelope(); } inline void Params_Clip::clear_envelope() { - if (GetArenaNoVirtual() == nullptr && envelope_ != nullptr) { + if (GetArena() == nullptr && envelope_ != nullptr) { delete envelope_; } envelope_ = nullptr; } inline const ::epl::protobuf::v1::EnvelopeData& Params_Clip::_internal_envelope() const { const ::epl::protobuf::v1::EnvelopeData* p = envelope_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_EnvelopeData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_EnvelopeData_default_instance_); } inline const ::epl::protobuf::v1::EnvelopeData& Params_Clip::envelope() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Params.Clip.envelope) return _internal_envelope(); } +inline void Params_Clip::unsafe_arena_set_allocated_envelope( + ::epl::protobuf::v1::EnvelopeData* envelope) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(envelope_); + } + envelope_ = envelope; + if (envelope) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.Params.Clip.envelope) +} inline ::epl::protobuf::v1::EnvelopeData* Params_Clip::release_envelope() { + + ::epl::protobuf::v1::EnvelopeData* temp = envelope_; + envelope_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::EnvelopeData* Params_Clip::unsafe_arena_release_envelope() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Params.Clip.envelope) ::epl::protobuf::v1::EnvelopeData* temp = envelope_; @@ -8769,7 +9997,7 @@ inline ::epl::protobuf::v1::EnvelopeData* Params_Clip::release_envelope() { inline ::epl::protobuf::v1::EnvelopeData* Params_Clip::_internal_mutable_envelope() { if (envelope_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::EnvelopeData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::EnvelopeData>(GetArena()); envelope_ = p; } return envelope_; @@ -8779,12 +10007,13 @@ inline ::epl::protobuf::v1::EnvelopeData* Params_Clip::mutable_envelope() { return _internal_mutable_envelope(); } inline void Params_Clip::set_allocated_envelope(::epl::protobuf::v1::EnvelopeData* envelope) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete envelope_; } if (envelope) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(envelope); if (message_arena != submessage_arena) { envelope = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, envelope, submessage_arena); diff --git a/cpp/protobuf-lib/epl/protobuf/v1/geometry_service.grpc.pb.cc b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.grpc.pb.cc similarity index 63% rename from cpp/protobuf-lib/epl/protobuf/v1/geometry_service.grpc.pb.cc rename to cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.grpc.pb.cc index 70cdf49..69b43e7 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/geometry_service.grpc.pb.cc +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.grpc.pb.cc @@ -48,144 +48,169 @@ GeometryService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& ch {} ::grpc::Status GeometryService::Stub::Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest& request, ::epl::protobuf::v1::GeometryResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Operate_, context, request, response); + return ::grpc::internal::BlockingUnaryCall< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_Operate_, context, request, response); } void GeometryService::Stub::experimental_async::Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::epl::protobuf::v1::GeometryResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_Operate_, context, request, response, std::move(f)); -} - -void GeometryService::Stub::experimental_async::Operate(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::GeometryResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_Operate_, context, request, response, std::move(f)); + ::grpc::internal::CallbackUnaryCall< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_Operate_, context, request, response, std::move(f)); } void GeometryService::Stub::experimental_async::Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_Operate_, context, request, response, reactor); + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_Operate_, context, request, response, reactor); } -void GeometryService::Stub::experimental_async::Operate(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_Operate_, context, request, response, reactor); +::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::PrepareAsyncOperateRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::epl::protobuf::v1::GeometryResponse, ::epl::protobuf::v1::GeometryRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_Operate_, context, request); } ::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::AsyncOperateRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_Operate_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::PrepareAsyncOperateRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_Operate_, context, request, false); + auto* result = + this->PrepareAsyncOperateRaw(context, request, cq); + result->StartCall(); + return result; } ::grpc::ClientReaderWriter< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::OperateBiStreamRaw(::grpc::ClientContext* context) { - return ::grpc_impl::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), rpcmethod_OperateBiStream_, context); + return ::grpc::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), rpcmethod_OperateBiStream_, context); } void GeometryService::Stub::experimental_async::OperateBiStream(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>* reactor) { - ::grpc_impl::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_OperateBiStream_, context, reactor); + ::grpc::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_OperateBiStream_, context, reactor); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::AsyncOperateBiStreamRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateBiStream_, context, true, tag); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateBiStream_, context, true, tag); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::PrepareAsyncOperateBiStreamRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateBiStream_, context, false, nullptr); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateBiStream_, context, false, nullptr); } ::grpc::ClientReaderWriter< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::OperateBiStreamFlowRaw(::grpc::ClientContext* context) { - return ::grpc_impl::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), rpcmethod_OperateBiStreamFlow_, context); + return ::grpc::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), rpcmethod_OperateBiStreamFlow_, context); } void GeometryService::Stub::experimental_async::OperateBiStreamFlow(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>* reactor) { - ::grpc_impl::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_OperateBiStreamFlow_, context, reactor); + ::grpc::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_OperateBiStreamFlow_, context, reactor); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::AsyncOperateBiStreamFlowRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateBiStreamFlow_, context, true, tag); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateBiStreamFlow_, context, true, tag); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::PrepareAsyncOperateBiStreamFlowRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateBiStreamFlow_, context, false, nullptr); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateBiStreamFlow_, context, false, nullptr); } ::grpc::ClientReader< ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::OperateServerStreamRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest& request) { - return ::grpc_impl::internal::ClientReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), rpcmethod_OperateServerStream_, context, request); + return ::grpc::internal::ClientReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), rpcmethod_OperateServerStream_, context, request); } -void GeometryService::Stub::experimental_async::OperateServerStream(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) { - ::grpc_impl::internal::ClientCallbackReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_OperateServerStream_, context, request, reactor); +void GeometryService::Stub::experimental_async::OperateServerStream(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) { + ::grpc::internal::ClientCallbackReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_OperateServerStream_, context, request, reactor); } ::grpc::ClientAsyncReader< ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::AsyncOperateServerStreamRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateServerStream_, context, request, true, tag); + return ::grpc::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateServerStream_, context, request, true, tag); } ::grpc::ClientAsyncReader< ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::PrepareAsyncOperateServerStreamRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateServerStream_, context, request, false, nullptr); + return ::grpc::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_OperateServerStream_, context, request, false, nullptr); } ::grpc::ClientWriter< ::epl::protobuf::v1::GeometryRequest>* GeometryService::Stub::OperateClientStreamRaw(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryResponse* response) { - return ::grpc_impl::internal::ClientWriterFactory< ::epl::protobuf::v1::GeometryRequest>::Create(channel_.get(), rpcmethod_OperateClientStream_, context, response); + return ::grpc::internal::ClientWriterFactory< ::epl::protobuf::v1::GeometryRequest>::Create(channel_.get(), rpcmethod_OperateClientStream_, context, response); } void GeometryService::Stub::experimental_async::OperateClientStream(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::experimental::ClientWriteReactor< ::epl::protobuf::v1::GeometryRequest>* reactor) { - ::grpc_impl::internal::ClientCallbackWriterFactory< ::epl::protobuf::v1::GeometryRequest>::Create(stub_->channel_.get(), stub_->rpcmethod_OperateClientStream_, context, response, reactor); + ::grpc::internal::ClientCallbackWriterFactory< ::epl::protobuf::v1::GeometryRequest>::Create(stub_->channel_.get(), stub_->rpcmethod_OperateClientStream_, context, response, reactor); } ::grpc::ClientAsyncWriter< ::epl::protobuf::v1::GeometryRequest>* GeometryService::Stub::AsyncOperateClientStreamRaw(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncWriterFactory< ::epl::protobuf::v1::GeometryRequest>::Create(channel_.get(), cq, rpcmethod_OperateClientStream_, context, response, true, tag); + return ::grpc::internal::ClientAsyncWriterFactory< ::epl::protobuf::v1::GeometryRequest>::Create(channel_.get(), cq, rpcmethod_OperateClientStream_, context, response, true, tag); } ::grpc::ClientAsyncWriter< ::epl::protobuf::v1::GeometryRequest>* GeometryService::Stub::PrepareAsyncOperateClientStreamRaw(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncWriterFactory< ::epl::protobuf::v1::GeometryRequest>::Create(channel_.get(), cq, rpcmethod_OperateClientStream_, context, response, false, nullptr); + return ::grpc::internal::ClientAsyncWriterFactory< ::epl::protobuf::v1::GeometryRequest>::Create(channel_.get(), cq, rpcmethod_OperateClientStream_, context, response, false, nullptr); } ::grpc::ClientReaderWriter< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::FileOperateBiStreamFlowRaw(::grpc::ClientContext* context) { - return ::grpc_impl::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), rpcmethod_FileOperateBiStreamFlow_, context); + return ::grpc::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), rpcmethod_FileOperateBiStreamFlow_, context); } void GeometryService::Stub::experimental_async::FileOperateBiStreamFlow(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::epl::protobuf::v1::FileRequestChunk,::epl::protobuf::v1::GeometryResponse>* reactor) { - ::grpc_impl::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::FileRequestChunk,::epl::protobuf::v1::GeometryResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_FileOperateBiStreamFlow_, context, reactor); + ::grpc::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::FileRequestChunk,::epl::protobuf::v1::GeometryResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_FileOperateBiStreamFlow_, context, reactor); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::AsyncFileOperateBiStreamFlowRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_FileOperateBiStreamFlow_, context, true, tag); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_FileOperateBiStreamFlow_, context, true, tag); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>* GeometryService::Stub::PrepareAsyncFileOperateBiStreamFlowRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_FileOperateBiStreamFlow_, context, false, nullptr); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>::Create(channel_.get(), cq, rpcmethod_FileOperateBiStreamFlow_, context, false, nullptr); } GeometryService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( GeometryService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< GeometryService::Service, ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( - std::mem_fn(&GeometryService::Service::Operate), this))); + new ::grpc::internal::RpcMethodHandler< GeometryService::Service, ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](GeometryService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::GeometryRequest* req, + ::epl::protobuf::v1::GeometryResponse* resp) { + return service->Operate(ctx, req, resp); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( GeometryService_method_names[1], ::grpc::internal::RpcMethod::BIDI_STREAMING, new ::grpc::internal::BidiStreamingHandler< GeometryService::Service, ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( - std::mem_fn(&GeometryService::Service::OperateBiStream), this))); + [](GeometryService::Service* service, + ::grpc::ServerContext* ctx, + ::grpc::ServerReaderWriter<::epl::protobuf::v1::GeometryResponse, + ::epl::protobuf::v1::GeometryRequest>* stream) { + return service->OperateBiStream(ctx, stream); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( GeometryService_method_names[2], ::grpc::internal::RpcMethod::BIDI_STREAMING, new ::grpc::internal::BidiStreamingHandler< GeometryService::Service, ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( - std::mem_fn(&GeometryService::Service::OperateBiStreamFlow), this))); + [](GeometryService::Service* service, + ::grpc::ServerContext* ctx, + ::grpc::ServerReaderWriter<::epl::protobuf::v1::GeometryResponse, + ::epl::protobuf::v1::GeometryRequest>* stream) { + return service->OperateBiStreamFlow(ctx, stream); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( GeometryService_method_names[3], ::grpc::internal::RpcMethod::SERVER_STREAMING, new ::grpc::internal::ServerStreamingHandler< GeometryService::Service, ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( - std::mem_fn(&GeometryService::Service::OperateServerStream), this))); + [](GeometryService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::GeometryRequest* req, + ::grpc::ServerWriter<::epl::protobuf::v1::GeometryResponse>* writer) { + return service->OperateServerStream(ctx, req, writer); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( GeometryService_method_names[4], ::grpc::internal::RpcMethod::CLIENT_STREAMING, new ::grpc::internal::ClientStreamingHandler< GeometryService::Service, ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( - std::mem_fn(&GeometryService::Service::OperateClientStream), this))); + [](GeometryService::Service* service, + ::grpc::ServerContext* ctx, + ::grpc::ServerReader<::epl::protobuf::v1::GeometryRequest>* reader, + ::epl::protobuf::v1::GeometryResponse* resp) { + return service->OperateClientStream(ctx, reader, resp); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( GeometryService_method_names[5], ::grpc::internal::RpcMethod::BIDI_STREAMING, new ::grpc::internal::BidiStreamingHandler< GeometryService::Service, ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>( - std::mem_fn(&GeometryService::Service::FileOperateBiStreamFlow), this))); + [](GeometryService::Service* service, + ::grpc::ServerContext* ctx, + ::grpc::ServerReaderWriter<::epl::protobuf::v1::GeometryResponse, + ::epl::protobuf::v1::FileRequestChunk>* stream) { + return service->FileOperateBiStreamFlow(ctx, stream); + }, this))); } GeometryService::Service::~Service() { diff --git a/cpp/protobuf-lib/epl/protobuf/v1/geometry_service.grpc.pb.h b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.grpc.pb.h similarity index 94% rename from cpp/protobuf-lib/epl/protobuf/v1/geometry_service.grpc.pb.h rename to cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.grpc.pb.h index 641a9a2..ede3b16 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/geometry_service.grpc.pb.h +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.grpc.pb.h @@ -124,17 +124,11 @@ class GeometryService final { virtual ~experimental_async_interface() {} // Execute a single blocking geometry operation virtual void Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::epl::protobuf::v1::GeometryResponse* response, std::function) = 0; - virtual void Operate(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::GeometryResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual void Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else virtual void Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void Operate(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void Operate(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif // stream in operator requests and get back a stream of results #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual void OperateBiStream(::grpc::ClientContext* context, ::grpc::ClientBidiReactor< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>* reactor) = 0; @@ -150,9 +144,9 @@ class GeometryService final { #endif // Maybe a cut operation that returns a lot of different geometries? for now, this is not implemented. #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void OperateServerStream(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) = 0; + virtual void OperateServerStream(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) = 0; #else - virtual void OperateServerStream(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) = 0; + virtual void OperateServerStream(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) = 0; #endif // Maybe something like a union operation. for now, this is not implemented. #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -252,18 +246,12 @@ class GeometryService final { public StubInterface::experimental_async_interface { public: void Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::epl::protobuf::v1::GeometryResponse* response, std::function) override; - void Operate(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::GeometryResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else void Operate(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void Operate(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void Operate(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void OperateBiStream(::grpc::ClientContext* context, ::grpc::ClientBidiReactor< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>* reactor) override; #else void OperateBiStream(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>* reactor) override; @@ -274,9 +262,9 @@ class GeometryService final { void OperateBiStreamFlow(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::epl::protobuf::v1::GeometryRequest,::epl::protobuf::v1::GeometryResponse>* reactor) override; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void OperateServerStream(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) override; + void OperateServerStream(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) override; #else - void OperateServerStream(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) override; + void OperateServerStream(::grpc::ClientContext* context, const ::epl::protobuf::v1::GeometryRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::GeometryResponse>* reactor) override; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void OperateClientStream(::grpc::ClientContext* context, ::epl::protobuf::v1::GeometryResponse* response, ::grpc::ClientWriteReactor< ::epl::protobuf::v1::GeometryRequest>* reactor) override; @@ -476,7 +464,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(0, - new ::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -491,7 +479,7 @@ class GeometryService final { #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(0); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_Operate() override { @@ -523,7 +511,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(1, - new ::grpc_impl::internal::CallbackBidiHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( + new ::grpc::internal::CallbackBidiHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -561,7 +549,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(2, - new ::grpc_impl::internal::CallbackBidiHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( + new ::grpc::internal::CallbackBidiHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -599,7 +587,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(3, - new ::grpc_impl::internal::CallbackServerStreamingHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( + new ::grpc::internal::CallbackServerStreamingHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -637,7 +625,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(4, - new ::grpc_impl::internal::CallbackClientStreamingHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( + new ::grpc::internal::CallbackClientStreamingHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -675,7 +663,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(5, - new ::grpc_impl::internal::CallbackBidiHandler< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>( + new ::grpc::internal::CallbackBidiHandler< ::epl::protobuf::v1::FileRequestChunk, ::epl::protobuf::v1::GeometryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -940,7 +928,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(0, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -978,7 +966,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(1, - new ::grpc_impl::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1016,7 +1004,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(2, - new ::grpc_impl::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1054,7 +1042,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(3, - new ::grpc_impl::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1092,7 +1080,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(4, - new ::grpc_impl::internal::CallbackClientStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackClientStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1130,7 +1118,7 @@ class GeometryService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(5, - new ::grpc_impl::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1163,7 +1151,14 @@ class GeometryService final { public: WithStreamedUnaryMethod_Operate() { ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>(std::bind(&WithStreamedUnaryMethod_Operate::StreamedOperate, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< + ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>* streamer) { + return this->StreamedOperate(context, + streamer); + })); } ~WithStreamedUnaryMethod_Operate() override { BaseClassMustBeDerivedFromService(this); @@ -1184,7 +1179,14 @@ class GeometryService final { public: WithSplitStreamingMethod_OperateServerStream() { ::grpc::Service::MarkMethodStreamed(3, - new ::grpc::internal::SplitServerStreamingHandler< ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>(std::bind(&WithSplitStreamingMethod_OperateServerStream::StreamedOperateServerStream, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::SplitServerStreamingHandler< + ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerSplitStreamer< + ::epl::protobuf::v1::GeometryRequest, ::epl::protobuf::v1::GeometryResponse>* streamer) { + return this->StreamedOperateServerStream(context, + streamer); + })); } ~WithSplitStreamingMethod_OperateServerStream() override { BaseClassMustBeDerivedFromService(this); diff --git a/cpp/protobuf-lib/epl/protobuf/v1/geometry_service.pb.cc b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.pb.cc similarity index 79% rename from cpp/protobuf-lib/epl/protobuf/v1/geometry_service.pb.cc rename to cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.pb.cc index 7140ff0..94c8992 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/geometry_service.pb.cc +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.pb.cc @@ -14,6 +14,8 @@ #include // @@protoc_insertion_point(includes) #include + +PROTOBUF_PRAGMA_INIT_SEG namespace epl { namespace protobuf { namespace v1 { @@ -53,19 +55,21 @@ const char descriptor_table_protodef_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2e static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_deps[1] = { &::descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_2eproto, }; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_sccs[1] = { -}; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_once; -static bool descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto = { - &descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_initialized, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto, "epl/protobuf/v1/geometry_service.proto", 809, - &descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_sccs, descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_deps, 0, 1, + false, false, 809, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto, "epl/protobuf/v1/geometry_service.proto", + &descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_deps, 1, 0, schemas, file_default_instances, TableStruct_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto::offsets, - file_level_metadata_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto, 0, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto, + file_level_metadata_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto, }; +PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata +descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_metadata_getter(int index) { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto); + return descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto.file_level_metadata[index]; +} // Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto), true); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto(&descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto); namespace epl { namespace protobuf { namespace v1 { diff --git a/cpp/protobuf-lib/epl/protobuf/v1/geometry_service.pb.h b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.pb.h similarity index 91% rename from cpp/protobuf-lib/epl/protobuf/v1/geometry_service.pb.h rename to cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.pb.h index 997044d..cf402ae 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/geometry_service.pb.h +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/geometry_service.pb.h @@ -8,12 +8,12 @@ #include #include -#if PROTOBUF_VERSION < 3011000 +#if PROTOBUF_VERSION < 3015000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3011002 < PROTOBUF_MIN_PROTOC_VERSION +#if 3015002 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -25,8 +25,7 @@ #include #include #include -#include -#include +#include #include #include // IWYU pragma: export #include // IWYU pragma: export @@ -44,7 +43,7 @@ PROTOBUF_NAMESPACE_CLOSE struct TableStruct_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] + static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold); @@ -53,6 +52,7 @@ struct TableStruct_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto { static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto; +::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_epl_2fprotobuf_2fv1_2fgeometry_5fservice_2eproto_metadata_getter(int index); PROTOBUF_NAMESPACE_OPEN PROTOBUF_NAMESPACE_CLOSE namespace epl { diff --git a/cpp/protobuf-lib/epl/protobuf/v1/query.pb.cc b/cpp/epl-protobuf-v1/epl/protobuf/v1/query.pb.cc similarity index 81% rename from cpp/protobuf-lib/epl/protobuf/v1/query.pb.cc rename to cpp/epl-protobuf-v1/epl/protobuf/v1/query.pb.cc index 24573a4..065a186 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/query.pb.cc +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/query.pb.cc @@ -14,112 +14,103 @@ #include // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; + +PROTOBUF_PRAGMA_INIT_SEG namespace epl { namespace protobuf { namespace v1 { -class FloatFilterDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - float value_; - float start_; -} _FloatFilter_default_instance_; -class DoubleFilterDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - double value_; - double start_; -} _DoubleFilter_default_instance_; -class TimestampFilterDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - const PROTOBUF_NAMESPACE_ID::Timestamp* value_; - const PROTOBUF_NAMESPACE_ID::Timestamp* start_; -} _TimestampFilter_default_instance_; -class UInt32FilterDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - ::PROTOBUF_NAMESPACE_ID::uint32 value_; - ::PROTOBUF_NAMESPACE_ID::uint32 start_; -} _UInt32Filter_default_instance_; -class StringFilterDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _StringFilter_default_instance_; +constexpr FloatFilter::FloatFilter( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : set_() + , _set_cached_byte_size_() + , rel_type_(0) + + , end_(0) + , sort_direction_(0) + + , _oneof_case_{}{} +struct FloatFilterDefaultTypeInternal { + constexpr FloatFilterDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~FloatFilterDefaultTypeInternal() {} + union { + FloatFilter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FloatFilterDefaultTypeInternal _FloatFilter_default_instance_; +constexpr DoubleFilter::DoubleFilter( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : set_() + , _set_cached_byte_size_() + , rel_type_(0) + + , sort_direction_(0) + + , end_(0) + , _oneof_case_{}{} +struct DoubleFilterDefaultTypeInternal { + constexpr DoubleFilterDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DoubleFilterDefaultTypeInternal() {} + union { + DoubleFilter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DoubleFilterDefaultTypeInternal _DoubleFilter_default_instance_; +constexpr TimestampFilter::TimestampFilter( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : end_(nullptr) + , rel_type_(0) + + , sort_direction_(0) + + , _oneof_case_{}{} +struct TimestampFilterDefaultTypeInternal { + constexpr TimestampFilterDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~TimestampFilterDefaultTypeInternal() {} + union { + TimestampFilter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT TimestampFilterDefaultTypeInternal _TimestampFilter_default_instance_; +constexpr UInt32Filter::UInt32Filter( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : set_() + , _set_cached_byte_size_() + , rel_type_(0) + + , end_(0u) + , sort_direction_(0) + + , _oneof_case_{}{} +struct UInt32FilterDefaultTypeInternal { + constexpr UInt32FilterDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~UInt32FilterDefaultTypeInternal() {} + union { + UInt32Filter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UInt32FilterDefaultTypeInternal _UInt32Filter_default_instance_; +constexpr StringFilter::StringFilter( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : set_() + , value_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , rel_type_(0) +{} +struct StringFilterDefaultTypeInternal { + constexpr StringFilterDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StringFilterDefaultTypeInternal() {} + union { + StringFilter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StringFilterDefaultTypeInternal _StringFilter_default_instance_; } // namespace v1 } // namespace protobuf } // namespace epl -static void InitDefaultsscc_info_DoubleFilter_epl_2fprotobuf_2fv1_2fquery_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_DoubleFilter_default_instance_; - new (ptr) ::epl::protobuf::v1::DoubleFilter(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::DoubleFilter::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DoubleFilter_epl_2fprotobuf_2fv1_2fquery_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_DoubleFilter_epl_2fprotobuf_2fv1_2fquery_2eproto}, {}}; - -static void InitDefaultsscc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_FloatFilter_default_instance_; - new (ptr) ::epl::protobuf::v1::FloatFilter(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::FloatFilter::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto}, {}}; - -static void InitDefaultsscc_info_StringFilter_epl_2fprotobuf_2fv1_2fquery_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_StringFilter_default_instance_; - new (ptr) ::epl::protobuf::v1::StringFilter(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::StringFilter::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StringFilter_epl_2fprotobuf_2fv1_2fquery_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_StringFilter_epl_2fprotobuf_2fv1_2fquery_2eproto}, {}}; - -static void InitDefaultsscc_info_TimestampFilter_epl_2fprotobuf_2fv1_2fquery_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_TimestampFilter_default_instance_; - new (ptr) ::epl::protobuf::v1::TimestampFilter(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::TimestampFilter::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_TimestampFilter_epl_2fprotobuf_2fv1_2fquery_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_TimestampFilter_epl_2fprotobuf_2fv1_2fquery_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsscc_info_UInt32Filter_epl_2fprotobuf_2fv1_2fquery_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_UInt32Filter_default_instance_; - new (ptr) ::epl::protobuf::v1::UInt32Filter(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::UInt32Filter::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_UInt32Filter_epl_2fprotobuf_2fv1_2fquery_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_UInt32Filter_epl_2fprotobuf_2fv1_2fquery_2eproto}, {}}; - static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_epl_2fprotobuf_2fv1_2fquery_2eproto[5]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fquery_2eproto[2]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_epl_2fprotobuf_2fv1_2fquery_2eproto = nullptr; @@ -131,8 +122,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fquery_2e PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::FloatFilter, _oneof_case_[0]), ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::FloatFilter, rel_type_), - offsetof(::epl::protobuf::v1::FloatFilterDefaultTypeInternal, value_), - offsetof(::epl::protobuf::v1::FloatFilterDefaultTypeInternal, start_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::FloatFilter, end_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::FloatFilter, sort_direction_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::FloatFilter, set_), @@ -143,8 +134,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fquery_2e PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::DoubleFilter, _oneof_case_[0]), ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::DoubleFilter, rel_type_), - offsetof(::epl::protobuf::v1::DoubleFilterDefaultTypeInternal, value_), - offsetof(::epl::protobuf::v1::DoubleFilterDefaultTypeInternal, start_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::DoubleFilter, end_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::DoubleFilter, sort_direction_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::DoubleFilter, set_), @@ -155,8 +146,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fquery_2e PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::TimestampFilter, _oneof_case_[0]), ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::TimestampFilter, rel_type_), - offsetof(::epl::protobuf::v1::TimestampFilterDefaultTypeInternal, value_), - offsetof(::epl::protobuf::v1::TimestampFilterDefaultTypeInternal, start_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::TimestampFilter, end_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::TimestampFilter, sort_direction_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::TimestampFilter, data_), @@ -166,8 +157,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fquery_2e PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::UInt32Filter, _oneof_case_[0]), ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::UInt32Filter, rel_type_), - offsetof(::epl::protobuf::v1::UInt32FilterDefaultTypeInternal, value_), - offsetof(::epl::protobuf::v1::UInt32FilterDefaultTypeInternal, start_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::UInt32Filter, end_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::UInt32Filter, sort_direction_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::UInt32Filter, set_), @@ -237,24 +228,21 @@ const char descriptor_table_protodef_epl_2fprotobuf_2fv1_2fquery_2eproto[] PROTO static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_deps[1] = { &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, }; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_sccs[5] = { - &scc_info_DoubleFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base, - &scc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base, - &scc_info_StringFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base, - &scc_info_TimestampFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base, - &scc_info_UInt32Filter_epl_2fprotobuf_2fv1_2fquery_2eproto.base, -}; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_once; -static bool descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto = { - &descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_initialized, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fquery_2eproto, "epl/protobuf/v1/query.proto", 1361, - &descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_sccs, descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_deps, 5, 1, + false, false, 1361, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fquery_2eproto, "epl/protobuf/v1/query.proto", + &descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_deps, 1, 5, schemas, file_default_instances, TableStruct_epl_2fprotobuf_2fv1_2fquery_2eproto::offsets, - file_level_metadata_epl_2fprotobuf_2fv1_2fquery_2eproto, 5, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fquery_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fquery_2eproto, + file_level_metadata_epl_2fprotobuf_2fv1_2fquery_2eproto, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fquery_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fquery_2eproto, }; +PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata +descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_metadata_getter(int index) { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto); + return descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto.file_level_metadata[index]; +} // Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_epl_2fprotobuf_2fv1_2fquery_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto), true); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_epl_2fprotobuf_2fv1_2fquery_2eproto(&descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto); namespace epl { namespace protobuf { namespace v1 { @@ -300,24 +288,21 @@ bool FilterRelationship_IsValid(int value) { // =================================================================== -void FloatFilter::InitAsDefaultInstance() { - ::epl::protobuf::v1::_FloatFilter_default_instance_.value_ = 0; - ::epl::protobuf::v1::_FloatFilter_default_instance_.start_ = 0; -} class FloatFilter::_Internal { public: }; -FloatFilter::FloatFilter() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +FloatFilter::FloatFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + set_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.FloatFilter) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.FloatFilter) } FloatFilter::FloatFilter(const FloatFilter& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), set_(from.set_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&rel_type_, &from.rel_type_, static_cast(reinterpret_cast(&sort_direction_) - reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); @@ -339,31 +324,35 @@ FloatFilter::FloatFilter(const FloatFilter& from) } void FloatFilter::SharedCtor() { - ::memset(&rel_type_, 0, static_cast( - reinterpret_cast(&sort_direction_) - - reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); - clear_has_data(); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&rel_type_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&sort_direction_) - + reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); +clear_has_data(); } FloatFilter::~FloatFilter() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.FloatFilter) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void FloatFilter::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } +void FloatFilter::ArenaDtor(void* object) { + FloatFilter* _this = reinterpret_cast< FloatFilter* >(object); + (void)_this; +} +void FloatFilter::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void FloatFilter::SetCachedSize(int size) const { _cached_size_.Set(size); } -const FloatFilter& FloatFilter::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base); - return *internal_default_instance(); -} - void FloatFilter::clear_data() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.FloatFilter) @@ -395,7 +384,7 @@ void FloatFilter::Clear() { reinterpret_cast(&sort_direction_) - reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); clear_data(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* FloatFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -415,7 +404,7 @@ const char* FloatFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID // .epl.protobuf.v1.FilterRelationship rel_type = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_rel_type(static_cast<::epl::protobuf::v1::FilterRelationship>(val)); } else goto handle_unusual; @@ -437,7 +426,7 @@ const char* FloatFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID // .epl.protobuf.v1.SortDirection sort_direction = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_sort_direction(static_cast<::epl::protobuf::v1::SortDirection>(val)); } else goto handle_unusual; @@ -458,7 +447,9 @@ const char* FloatFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -517,7 +508,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* FloatFilter::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.FloatFilter) return target; @@ -605,7 +596,7 @@ void FloatFilter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void FloatFilter::MergeFrom(const FloatFilter& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.FloatFilter) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -654,11 +645,14 @@ bool FloatFilter::IsInitialized() const { void FloatFilter::InternalSwap(FloatFilter* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); set_.InternalSwap(&other->set_); - swap(rel_type_, other->rel_type_); - swap(end_, other->end_); - swap(sort_direction_, other->sort_direction_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(FloatFilter, sort_direction_) + + sizeof(FloatFilter::sort_direction_) + - PROTOBUF_FIELD_OFFSET(FloatFilter, rel_type_)>( + reinterpret_cast(&rel_type_), + reinterpret_cast(&other->rel_type_)); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } @@ -670,24 +664,21 @@ ::PROTOBUF_NAMESPACE_ID::Metadata FloatFilter::GetMetadata() const { // =================================================================== -void DoubleFilter::InitAsDefaultInstance() { - ::epl::protobuf::v1::_DoubleFilter_default_instance_.value_ = 0; - ::epl::protobuf::v1::_DoubleFilter_default_instance_.start_ = 0; -} class DoubleFilter::_Internal { public: }; -DoubleFilter::DoubleFilter() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +DoubleFilter::DoubleFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + set_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.DoubleFilter) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.DoubleFilter) } DoubleFilter::DoubleFilter(const DoubleFilter& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), set_(from.set_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&rel_type_, &from.rel_type_, static_cast(reinterpret_cast(&end_) - reinterpret_cast(&rel_type_)) + sizeof(end_)); @@ -709,31 +700,35 @@ DoubleFilter::DoubleFilter(const DoubleFilter& from) } void DoubleFilter::SharedCtor() { - ::memset(&rel_type_, 0, static_cast( - reinterpret_cast(&end_) - - reinterpret_cast(&rel_type_)) + sizeof(end_)); - clear_has_data(); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&rel_type_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&end_) - + reinterpret_cast(&rel_type_)) + sizeof(end_)); +clear_has_data(); } DoubleFilter::~DoubleFilter() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.DoubleFilter) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void DoubleFilter::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } +void DoubleFilter::ArenaDtor(void* object) { + DoubleFilter* _this = reinterpret_cast< DoubleFilter* >(object); + (void)_this; +} +void DoubleFilter::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void DoubleFilter::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DoubleFilter& DoubleFilter::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DoubleFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base); - return *internal_default_instance(); -} - void DoubleFilter::clear_data() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.DoubleFilter) @@ -765,7 +760,7 @@ void DoubleFilter::Clear() { reinterpret_cast(&end_) - reinterpret_cast(&rel_type_)) + sizeof(end_)); clear_data(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* DoubleFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -785,7 +780,7 @@ const char* DoubleFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I // .epl.protobuf.v1.FilterRelationship rel_type = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_rel_type(static_cast<::epl::protobuf::v1::FilterRelationship>(val)); } else goto handle_unusual; @@ -807,7 +802,7 @@ const char* DoubleFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I // .epl.protobuf.v1.SortDirection sort_direction = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_sort_direction(static_cast<::epl::protobuf::v1::SortDirection>(val)); } else goto handle_unusual; @@ -828,7 +823,9 @@ const char* DoubleFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -887,7 +884,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* DoubleFilter::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.DoubleFilter) return target; @@ -975,7 +972,7 @@ void DoubleFilter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void DoubleFilter::MergeFrom(const DoubleFilter& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.DoubleFilter) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1024,11 +1021,14 @@ bool DoubleFilter::IsInitialized() const { void DoubleFilter::InternalSwap(DoubleFilter* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); set_.InternalSwap(&other->set_); - swap(rel_type_, other->rel_type_); - swap(sort_direction_, other->sort_direction_); - swap(end_, other->end_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DoubleFilter, end_) + + sizeof(DoubleFilter::end_) + - PROTOBUF_FIELD_OFFSET(DoubleFilter, rel_type_)>( + reinterpret_cast(&rel_type_), + reinterpret_cast(&other->rel_type_)); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } @@ -1040,14 +1040,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DoubleFilter::GetMetadata() const { // =================================================================== -void TimestampFilter::InitAsDefaultInstance() { - ::epl::protobuf::v1::_TimestampFilter_default_instance_.value_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_TimestampFilter_default_instance_.start_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_TimestampFilter_default_instance_._instance.get_mutable()->end_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); -} class TimestampFilter::_Internal { public: static const PROTOBUF_NAMESPACE_ID::Timestamp& value(const TimestampFilter* msg); @@ -1068,7 +1060,7 @@ TimestampFilter::_Internal::end(const TimestampFilter* msg) { return *msg->end_; } void TimestampFilter::set_allocated_value(PROTOBUF_NAMESPACE_ID::Timestamp* value) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (value) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = @@ -1084,12 +1076,14 @@ void TimestampFilter::set_allocated_value(PROTOBUF_NAMESPACE_ID::Timestamp* valu } void TimestampFilter::clear_value() { if (_internal_has_value()) { - delete data_.value_; + if (GetArena() == nullptr) { + delete data_.value_; + } clear_has_data(); } } void TimestampFilter::set_allocated_start(PROTOBUF_NAMESPACE_ID::Timestamp* start) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (start) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = @@ -1105,25 +1099,27 @@ void TimestampFilter::set_allocated_start(PROTOBUF_NAMESPACE_ID::Timestamp* star } void TimestampFilter::clear_start() { if (_internal_has_start()) { - delete data_.start_; + if (GetArena() == nullptr) { + delete data_.start_; + } clear_has_data(); } } void TimestampFilter::clear_end() { - if (GetArenaNoVirtual() == nullptr && end_ != nullptr) { + if (GetArena() == nullptr && end_ != nullptr) { delete end_; } end_ = nullptr; } -TimestampFilter::TimestampFilter() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +TimestampFilter::TimestampFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.TimestampFilter) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.TimestampFilter) } TimestampFilter::TimestampFilter(const TimestampFilter& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_end()) { end_ = new PROTOBUF_NAMESPACE_ID::Timestamp(*from.end_); } else { @@ -1150,43 +1146,50 @@ TimestampFilter::TimestampFilter(const TimestampFilter& from) } void TimestampFilter::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_TimestampFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base); - ::memset(&end_, 0, static_cast( - reinterpret_cast(&sort_direction_) - - reinterpret_cast(&end_)) + sizeof(sort_direction_)); - clear_has_data(); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&end_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&sort_direction_) - + reinterpret_cast(&end_)) + sizeof(sort_direction_)); +clear_has_data(); } TimestampFilter::~TimestampFilter() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.TimestampFilter) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void TimestampFilter::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete end_; if (has_data()) { clear_data(); } } +void TimestampFilter::ArenaDtor(void* object) { + TimestampFilter* _this = reinterpret_cast< TimestampFilter* >(object); + (void)_this; +} +void TimestampFilter::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void TimestampFilter::SetCachedSize(int size) const { _cached_size_.Set(size); } -const TimestampFilter& TimestampFilter::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_TimestampFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base); - return *internal_default_instance(); -} - void TimestampFilter::clear_data() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.TimestampFilter) switch (data_case()) { case kValue: { - delete data_.value_; + if (GetArena() == nullptr) { + delete data_.value_; + } break; } case kStart: { - delete data_.start_; + if (GetArena() == nullptr) { + delete data_.start_; + } break; } case DATA_NOT_SET: { @@ -1203,7 +1206,7 @@ void TimestampFilter::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && end_ != nullptr) { + if (GetArena() == nullptr && end_ != nullptr) { delete end_; } end_ = nullptr; @@ -1211,7 +1214,7 @@ void TimestampFilter::Clear() { reinterpret_cast(&sort_direction_) - reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); clear_data(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* TimestampFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -1231,7 +1234,7 @@ const char* TimestampFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC // .epl.protobuf.v1.FilterRelationship rel_type = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_rel_type(static_cast<::epl::protobuf::v1::FilterRelationship>(val)); } else goto handle_unusual; @@ -1253,7 +1256,7 @@ const char* TimestampFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC // .epl.protobuf.v1.SortDirection sort_direction = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_sort_direction(static_cast<::epl::protobuf::v1::SortDirection>(val)); } else goto handle_unusual; @@ -1264,7 +1267,9 @@ const char* TimestampFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -1324,7 +1329,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* TimestampFilter::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.TimestampFilter) return target; @@ -1403,7 +1408,7 @@ void TimestampFilter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void TimestampFilter::MergeFrom(const TimestampFilter& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.TimestampFilter) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1451,10 +1456,13 @@ bool TimestampFilter::IsInitialized() const { void TimestampFilter::InternalSwap(TimestampFilter* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(end_, other->end_); - swap(rel_type_, other->rel_type_); - swap(sort_direction_, other->sort_direction_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(TimestampFilter, sort_direction_) + + sizeof(TimestampFilter::sort_direction_) + - PROTOBUF_FIELD_OFFSET(TimestampFilter, end_)>( + reinterpret_cast(&end_), + reinterpret_cast(&other->end_)); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } @@ -1466,24 +1474,21 @@ ::PROTOBUF_NAMESPACE_ID::Metadata TimestampFilter::GetMetadata() const { // =================================================================== -void UInt32Filter::InitAsDefaultInstance() { - ::epl::protobuf::v1::_UInt32Filter_default_instance_.value_ = 0u; - ::epl::protobuf::v1::_UInt32Filter_default_instance_.start_ = 0u; -} class UInt32Filter::_Internal { public: }; -UInt32Filter::UInt32Filter() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +UInt32Filter::UInt32Filter(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + set_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.UInt32Filter) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.UInt32Filter) } UInt32Filter::UInt32Filter(const UInt32Filter& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), set_(from.set_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&rel_type_, &from.rel_type_, static_cast(reinterpret_cast(&sort_direction_) - reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); @@ -1505,31 +1510,35 @@ UInt32Filter::UInt32Filter(const UInt32Filter& from) } void UInt32Filter::SharedCtor() { - ::memset(&rel_type_, 0, static_cast( - reinterpret_cast(&sort_direction_) - - reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); - clear_has_data(); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&rel_type_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&sort_direction_) - + reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); +clear_has_data(); } UInt32Filter::~UInt32Filter() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.UInt32Filter) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void UInt32Filter::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } +void UInt32Filter::ArenaDtor(void* object) { + UInt32Filter* _this = reinterpret_cast< UInt32Filter* >(object); + (void)_this; +} +void UInt32Filter::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void UInt32Filter::SetCachedSize(int size) const { _cached_size_.Set(size); } -const UInt32Filter& UInt32Filter::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_UInt32Filter_epl_2fprotobuf_2fv1_2fquery_2eproto.base); - return *internal_default_instance(); -} - void UInt32Filter::clear_data() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.UInt32Filter) @@ -1561,7 +1570,7 @@ void UInt32Filter::Clear() { reinterpret_cast(&sort_direction_) - reinterpret_cast(&rel_type_)) + sizeof(sort_direction_)); clear_data(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* UInt32Filter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -1574,14 +1583,14 @@ const char* UInt32Filter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I // uint32 value = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - _internal_set_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + _internal_set_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // .epl.protobuf.v1.FilterRelationship rel_type = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_rel_type(static_cast<::epl::protobuf::v1::FilterRelationship>(val)); } else goto handle_unusual; @@ -1589,21 +1598,21 @@ const char* UInt32Filter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I // uint32 start = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - _internal_set_start(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + _internal_set_start(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint32 end = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // .epl.protobuf.v1.SortDirection sort_direction = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_sort_direction(static_cast<::epl::protobuf::v1::SortDirection>(val)); } else goto handle_unusual; @@ -1614,7 +1623,7 @@ const char* UInt32Filter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_set(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48) { - _internal_add_set(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + _internal_add_set(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; @@ -1624,7 +1633,9 @@ const char* UInt32Filter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -1687,7 +1698,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* UInt32Filter::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.UInt32Filter) return target; @@ -1781,7 +1792,7 @@ void UInt32Filter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void UInt32Filter::MergeFrom(const UInt32Filter& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.UInt32Filter) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1830,11 +1841,14 @@ bool UInt32Filter::IsInitialized() const { void UInt32Filter::InternalSwap(UInt32Filter* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); set_.InternalSwap(&other->set_); - swap(rel_type_, other->rel_type_); - swap(end_, other->end_); - swap(sort_direction_, other->sort_direction_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UInt32Filter, sort_direction_) + + sizeof(UInt32Filter::sort_direction_) + - PROTOBUF_FIELD_OFFSET(UInt32Filter, rel_type_)>( + reinterpret_cast(&rel_type_), + reinterpret_cast(&other->rel_type_)); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } @@ -1846,53 +1860,55 @@ ::PROTOBUF_NAMESPACE_ID::Metadata UInt32Filter::GetMetadata() const { // =================================================================== -void StringFilter::InitAsDefaultInstance() { -} class StringFilter::_Internal { public: }; -StringFilter::StringFilter() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +StringFilter::StringFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + set_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.StringFilter) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.StringFilter) } StringFilter::StringFilter(const StringFilter& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), set_(from.set_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_value().empty()) { - value_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.value_); + value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_value(), + GetArena()); } rel_type_ = from.rel_type_; // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.StringFilter) } void StringFilter::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_StringFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base); - value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - rel_type_ = 0; +value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +rel_type_ = 0; } StringFilter::~StringFilter() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.StringFilter) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void StringFilter::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } +void StringFilter::ArenaDtor(void* object) { + StringFilter* _this = reinterpret_cast< StringFilter* >(object); + (void)_this; +} +void StringFilter::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void StringFilter::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StringFilter& StringFilter::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StringFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base); - return *internal_default_instance(); -} - void StringFilter::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.StringFilter) @@ -1901,9 +1917,9 @@ void StringFilter::Clear() { (void) cached_has_bits; set_.Clear(); - value_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + value_.ClearToEmpty(); rel_type_ = 0; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* StringFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -1925,7 +1941,7 @@ const char* StringFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I // .epl.protobuf.v1.FilterRelationship rel_type = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_rel_type(static_cast<::epl::protobuf::v1::FilterRelationship>(val)); } else goto handle_unusual; @@ -1950,7 +1966,9 @@ const char* StringFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -1999,7 +2017,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* StringFilter::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.StringFilter) return target; @@ -2061,14 +2079,13 @@ void StringFilter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void StringFilter::MergeFrom(const StringFilter& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.StringFilter) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; set_.MergeFrom(from.set_); if (from.value().size() > 0) { - - value_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.value_); + _internal_set_value(from._internal_value()); } if (from.rel_type() != 0) { _internal_set_rel_type(from._internal_rel_type()); @@ -2095,10 +2112,9 @@ bool StringFilter::IsInitialized() const { void StringFilter::InternalSwap(StringFilter* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); set_.InternalSwap(&other->set_); - value_.Swap(&other->value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); + value_.Swap(&other->value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); swap(rel_type_, other->rel_type_); } @@ -2113,19 +2129,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata StringFilter::GetMetadata() const { } // namespace epl PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::FloatFilter* Arena::CreateMaybeMessage< ::epl::protobuf::v1::FloatFilter >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::FloatFilter >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::FloatFilter >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::DoubleFilter* Arena::CreateMaybeMessage< ::epl::protobuf::v1::DoubleFilter >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::DoubleFilter >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::DoubleFilter >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::TimestampFilter* Arena::CreateMaybeMessage< ::epl::protobuf::v1::TimestampFilter >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::TimestampFilter >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::TimestampFilter >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::UInt32Filter* Arena::CreateMaybeMessage< ::epl::protobuf::v1::UInt32Filter >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::UInt32Filter >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::UInt32Filter >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::StringFilter* Arena::CreateMaybeMessage< ::epl::protobuf::v1::StringFilter >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::StringFilter >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::StringFilter >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/cpp/protobuf-lib/epl/protobuf/v1/query.pb.h b/cpp/epl-protobuf-v1/epl/protobuf/v1/query.pb.h similarity index 86% rename from cpp/protobuf-lib/epl/protobuf/v1/query.pb.h rename to cpp/epl-protobuf-v1/epl/protobuf/v1/query.pb.h index 5ac3e07..4c575d2 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/query.pb.h +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/query.pb.h @@ -8,12 +8,12 @@ #include #include -#if PROTOBUF_VERSION < 3011000 +#if PROTOBUF_VERSION < 3015000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3011002 < PROTOBUF_MIN_PROTOC_VERSION +#if 3015002 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -25,8 +25,7 @@ #include #include #include -#include -#include +#include #include #include #include // IWYU pragma: export @@ -47,7 +46,7 @@ PROTOBUF_NAMESPACE_CLOSE struct TableStruct_epl_2fprotobuf_2fv1_2fquery_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] + static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5] PROTOBUF_SECTION_VARIABLE(protodesc_cold); @@ -56,23 +55,24 @@ struct TableStruct_epl_2fprotobuf_2fv1_2fquery_2eproto { static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto; +::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_metadata_getter(int index); namespace epl { namespace protobuf { namespace v1 { class DoubleFilter; -class DoubleFilterDefaultTypeInternal; +struct DoubleFilterDefaultTypeInternal; extern DoubleFilterDefaultTypeInternal _DoubleFilter_default_instance_; class FloatFilter; -class FloatFilterDefaultTypeInternal; +struct FloatFilterDefaultTypeInternal; extern FloatFilterDefaultTypeInternal _FloatFilter_default_instance_; class StringFilter; -class StringFilterDefaultTypeInternal; +struct StringFilterDefaultTypeInternal; extern StringFilterDefaultTypeInternal _StringFilter_default_instance_; class TimestampFilter; -class TimestampFilterDefaultTypeInternal; +struct TimestampFilterDefaultTypeInternal; extern TimestampFilterDefaultTypeInternal _TimestampFilter_default_instance_; class UInt32Filter; -class UInt32FilterDefaultTypeInternal; +struct UInt32FilterDefaultTypeInternal; extern UInt32FilterDefaultTypeInternal _UInt32Filter_default_instance_; } // namespace v1 } // namespace protobuf @@ -110,7 +110,7 @@ inline const std::string& SortDirection_Name(T enum_t_value) { SortDirection_descriptor(), enum_t_value); } inline bool SortDirection_Parse( - const std::string& name, SortDirection* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SortDirection* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( SortDirection_descriptor(), name, value); } @@ -145,17 +145,18 @@ inline const std::string& FilterRelationship_Name(T enum_t_value) { FilterRelationship_descriptor(), enum_t_value); } inline bool FilterRelationship_Parse( - const std::string& name, FilterRelationship* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FilterRelationship* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( FilterRelationship_descriptor(), name, value); } // =================================================================== -class FloatFilter : +class FloatFilter PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.FloatFilter) */ { public: - FloatFilter(); + inline FloatFilter() : FloatFilter(nullptr) {} virtual ~FloatFilter(); + explicit constexpr FloatFilter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); FloatFilter(const FloatFilter& from); FloatFilter(FloatFilter&& from) noexcept @@ -168,7 +169,7 @@ class FloatFilter : return *this; } inline FloatFilter& operator=(FloatFilter&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -185,15 +186,15 @@ class FloatFilter : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const FloatFilter& default_instance(); - + static const FloatFilter& default_instance() { + return *internal_default_instance(); + } enum DataCase { kValue = 1, kStart = 3, DATA_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const FloatFilter* internal_default_instance() { return reinterpret_cast( &_FloatFilter_default_instance_); @@ -206,6 +207,15 @@ class FloatFilter : } inline void Swap(FloatFilter* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FloatFilter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -240,20 +250,17 @@ class FloatFilter : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.FloatFilter"; } + protected: + explicit FloatFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -320,6 +327,7 @@ class FloatFilter : public: // float value = 1; + bool has_value() const; private: bool _internal_has_value() const; public: @@ -332,6 +340,7 @@ class FloatFilter : public: // float start = 3; + bool has_start() const; private: bool _internal_has_start() const; public: @@ -354,14 +363,17 @@ class FloatFilter : inline bool has_data() const; inline void clear_has_data(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > set_; mutable std::atomic _set_cached_byte_size_; int rel_type_; float end_; int sort_direction_; union DataUnion { - DataUnion() {} + constexpr DataUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; float value_; float start_; } data_; @@ -372,11 +384,12 @@ class FloatFilter : }; // ------------------------------------------------------------------- -class DoubleFilter : +class DoubleFilter PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.DoubleFilter) */ { public: - DoubleFilter(); + inline DoubleFilter() : DoubleFilter(nullptr) {} virtual ~DoubleFilter(); + explicit constexpr DoubleFilter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DoubleFilter(const DoubleFilter& from); DoubleFilter(DoubleFilter&& from) noexcept @@ -389,7 +402,7 @@ class DoubleFilter : return *this; } inline DoubleFilter& operator=(DoubleFilter&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -406,15 +419,15 @@ class DoubleFilter : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const DoubleFilter& default_instance(); - + static const DoubleFilter& default_instance() { + return *internal_default_instance(); + } enum DataCase { kValue = 1, kStart = 3, DATA_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const DoubleFilter* internal_default_instance() { return reinterpret_cast( &_DoubleFilter_default_instance_); @@ -427,6 +440,15 @@ class DoubleFilter : } inline void Swap(DoubleFilter* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DoubleFilter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -461,20 +483,17 @@ class DoubleFilter : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.DoubleFilter"; } + protected: + explicit DoubleFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -541,6 +560,7 @@ class DoubleFilter : public: // double value = 1; + bool has_value() const; private: bool _internal_has_value() const; public: @@ -553,6 +573,7 @@ class DoubleFilter : public: // double start = 3; + bool has_start() const; private: bool _internal_has_start() const; public: @@ -575,14 +596,17 @@ class DoubleFilter : inline bool has_data() const; inline void clear_has_data(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > set_; mutable std::atomic _set_cached_byte_size_; int rel_type_; int sort_direction_; double end_; union DataUnion { - DataUnion() {} + constexpr DataUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; double value_; double start_; } data_; @@ -593,11 +617,12 @@ class DoubleFilter : }; // ------------------------------------------------------------------- -class TimestampFilter : +class TimestampFilter PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.TimestampFilter) */ { public: - TimestampFilter(); + inline TimestampFilter() : TimestampFilter(nullptr) {} virtual ~TimestampFilter(); + explicit constexpr TimestampFilter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); TimestampFilter(const TimestampFilter& from); TimestampFilter(TimestampFilter&& from) noexcept @@ -610,7 +635,7 @@ class TimestampFilter : return *this; } inline TimestampFilter& operator=(TimestampFilter&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -627,15 +652,15 @@ class TimestampFilter : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const TimestampFilter& default_instance(); - + static const TimestampFilter& default_instance() { + return *internal_default_instance(); + } enum DataCase { kValue = 1, kStart = 3, DATA_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const TimestampFilter* internal_default_instance() { return reinterpret_cast( &_TimestampFilter_default_instance_); @@ -648,6 +673,15 @@ class TimestampFilter : } inline void Swap(TimestampFilter* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TimestampFilter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -682,20 +716,17 @@ class TimestampFilter : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.TimestampFilter"; } + protected: + explicit TimestampFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -725,6 +756,9 @@ class TimestampFilter : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_end() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_end(); public: + void unsafe_arena_set_allocated_end( + PROTOBUF_NAMESPACE_ID::Timestamp* end); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_end(); // .epl.protobuf.v1.FilterRelationship rel_type = 2; void clear_rel_type(); @@ -758,6 +792,9 @@ class TimestampFilter : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_value() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_value(); public: + void unsafe_arena_set_allocated_value( + PROTOBUF_NAMESPACE_ID::Timestamp* value); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_value(); // .google.protobuf.Timestamp start = 3; bool has_start() const; @@ -773,6 +810,9 @@ class TimestampFilter : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_start() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_start(); public: + void unsafe_arena_set_allocated_start( + PROTOBUF_NAMESPACE_ID::Timestamp* start); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_start(); void clear_data(); DataCase data_case() const; @@ -785,12 +825,15 @@ class TimestampFilter : inline bool has_data() const; inline void clear_has_data(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; PROTOBUF_NAMESPACE_ID::Timestamp* end_; int rel_type_; int sort_direction_; union DataUnion { - DataUnion() {} + constexpr DataUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; PROTOBUF_NAMESPACE_ID::Timestamp* value_; PROTOBUF_NAMESPACE_ID::Timestamp* start_; } data_; @@ -801,11 +844,12 @@ class TimestampFilter : }; // ------------------------------------------------------------------- -class UInt32Filter : +class UInt32Filter PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.UInt32Filter) */ { public: - UInt32Filter(); + inline UInt32Filter() : UInt32Filter(nullptr) {} virtual ~UInt32Filter(); + explicit constexpr UInt32Filter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); UInt32Filter(const UInt32Filter& from); UInt32Filter(UInt32Filter&& from) noexcept @@ -818,7 +862,7 @@ class UInt32Filter : return *this; } inline UInt32Filter& operator=(UInt32Filter&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -835,15 +879,15 @@ class UInt32Filter : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const UInt32Filter& default_instance(); - + static const UInt32Filter& default_instance() { + return *internal_default_instance(); + } enum DataCase { kValue = 1, kStart = 3, DATA_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const UInt32Filter* internal_default_instance() { return reinterpret_cast( &_UInt32Filter_default_instance_); @@ -856,6 +900,15 @@ class UInt32Filter : } inline void Swap(UInt32Filter* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UInt32Filter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -890,20 +943,17 @@ class UInt32Filter : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.UInt32Filter"; } + protected: + explicit UInt32Filter(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -970,6 +1020,7 @@ class UInt32Filter : public: // uint32 value = 1; + bool has_value() const; private: bool _internal_has_value() const; public: @@ -982,6 +1033,7 @@ class UInt32Filter : public: // uint32 start = 3; + bool has_start() const; private: bool _internal_has_start() const; public: @@ -1004,14 +1056,17 @@ class UInt32Filter : inline bool has_data() const; inline void clear_has_data(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > set_; mutable std::atomic _set_cached_byte_size_; int rel_type_; ::PROTOBUF_NAMESPACE_ID::uint32 end_; int sort_direction_; union DataUnion { - DataUnion() {} + constexpr DataUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::PROTOBUF_NAMESPACE_ID::uint32 value_; ::PROTOBUF_NAMESPACE_ID::uint32 start_; } data_; @@ -1022,11 +1077,12 @@ class UInt32Filter : }; // ------------------------------------------------------------------- -class StringFilter : +class StringFilter PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.StringFilter) */ { public: - StringFilter(); + inline StringFilter() : StringFilter(nullptr) {} virtual ~StringFilter(); + explicit constexpr StringFilter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StringFilter(const StringFilter& from); StringFilter(StringFilter&& from) noexcept @@ -1039,7 +1095,7 @@ class StringFilter : return *this; } inline StringFilter& operator=(StringFilter&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -1056,9 +1112,9 @@ class StringFilter : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const StringFilter& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const StringFilter& default_instance() { + return *internal_default_instance(); + } static inline const StringFilter* internal_default_instance() { return reinterpret_cast( &_StringFilter_default_instance_); @@ -1071,6 +1127,15 @@ class StringFilter : } inline void Swap(StringFilter* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(StringFilter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -1105,20 +1170,17 @@ class StringFilter : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.StringFilter"; } + protected: + explicit StringFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fquery_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -1185,7 +1247,9 @@ class StringFilter : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField set_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; int rel_type_; @@ -1227,6 +1291,9 @@ inline void FloatFilter::set_rel_type(::epl::protobuf::v1::FilterRelationship va inline bool FloatFilter::_internal_has_value() const { return data_case() == kValue; } +inline bool FloatFilter::has_value() const { + return _internal_has_value(); +} inline void FloatFilter::set_has_value() { _oneof_case_[0] = kValue; } @@ -1262,6 +1329,9 @@ inline void FloatFilter::set_value(float value) { inline bool FloatFilter::_internal_has_start() const { return data_case() == kStart; } +inline bool FloatFilter::has_start() const { + return _internal_has_start(); +} inline void FloatFilter::set_has_start() { _oneof_case_[0] = kStart; } @@ -1417,6 +1487,9 @@ inline void DoubleFilter::set_rel_type(::epl::protobuf::v1::FilterRelationship v inline bool DoubleFilter::_internal_has_value() const { return data_case() == kValue; } +inline bool DoubleFilter::has_value() const { + return _internal_has_value(); +} inline void DoubleFilter::set_has_value() { _oneof_case_[0] = kValue; } @@ -1452,6 +1525,9 @@ inline void DoubleFilter::set_value(double value) { inline bool DoubleFilter::_internal_has_start() const { return data_case() == kStart; } +inline bool DoubleFilter::has_start() const { + return _internal_has_start(); +} inline void DoubleFilter::set_has_start() { _oneof_case_[0] = kStart; } @@ -1618,6 +1694,9 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::release_value() { if (_internal_has_value()) { clear_has_data(); PROTOBUF_NAMESPACE_ID::Timestamp* temp = data_.value_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } data_.value_ = nullptr; return temp; } else { @@ -1627,18 +1706,36 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::release_value() { inline const PROTOBUF_NAMESPACE_ID::Timestamp& TimestampFilter::_internal_value() const { return _internal_has_value() ? *data_.value_ - : *reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>(&PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + : reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp&>(PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& TimestampFilter::value() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.TimestampFilter.value) return _internal_value(); } +inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::unsafe_arena_release_value() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.TimestampFilter.value) + if (_internal_has_value()) { + clear_has_data(); + PROTOBUF_NAMESPACE_ID::Timestamp* temp = data_.value_; + data_.value_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void TimestampFilter::unsafe_arena_set_allocated_value(PROTOBUF_NAMESPACE_ID::Timestamp* value) { + clear_data(); + if (value) { + set_has_value(); + data_.value_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.TimestampFilter.value) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::_internal_mutable_value() { if (!_internal_has_value()) { clear_data(); set_has_value(); - data_.value_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >( - GetArenaNoVirtual()); + data_.value_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >(GetArena()); } return data_.value_; } @@ -1662,6 +1759,9 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::release_start() { if (_internal_has_start()) { clear_has_data(); PROTOBUF_NAMESPACE_ID::Timestamp* temp = data_.start_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } data_.start_ = nullptr; return temp; } else { @@ -1671,18 +1771,36 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::release_start() { inline const PROTOBUF_NAMESPACE_ID::Timestamp& TimestampFilter::_internal_start() const { return _internal_has_start() ? *data_.start_ - : *reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>(&PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + : reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp&>(PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& TimestampFilter::start() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.TimestampFilter.start) return _internal_start(); } +inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::unsafe_arena_release_start() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.TimestampFilter.start) + if (_internal_has_start()) { + clear_has_data(); + PROTOBUF_NAMESPACE_ID::Timestamp* temp = data_.start_; + data_.start_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void TimestampFilter::unsafe_arena_set_allocated_start(PROTOBUF_NAMESPACE_ID::Timestamp* start) { + clear_data(); + if (start) { + set_has_start(); + data_.start_ = start; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.TimestampFilter.start) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::_internal_mutable_start() { if (!_internal_has_start()) { clear_data(); set_has_start(); - data_.start_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >( - GetArenaNoVirtual()); + data_.start_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >(GetArena()); } return data_.start_; } @@ -1700,14 +1818,36 @@ inline bool TimestampFilter::has_end() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& TimestampFilter::_internal_end() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = end_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& TimestampFilter::end() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.TimestampFilter.end) return _internal_end(); } +inline void TimestampFilter::unsafe_arena_set_allocated_end( + PROTOBUF_NAMESPACE_ID::Timestamp* end) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_); + } + end_ = end; + if (end) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.TimestampFilter.end) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::release_end() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_; + end_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::unsafe_arena_release_end() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.TimestampFilter.end) PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_; @@ -1717,7 +1857,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::release_end() { inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::_internal_mutable_end() { if (end_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); end_ = p; } return end_; @@ -1727,7 +1867,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* TimestampFilter::mutable_end() { return _internal_mutable_end(); } inline void TimestampFilter::set_allocated_end(PROTOBUF_NAMESPACE_ID::Timestamp* end) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_); } @@ -1803,6 +1943,9 @@ inline void UInt32Filter::set_rel_type(::epl::protobuf::v1::FilterRelationship v inline bool UInt32Filter::_internal_has_value() const { return data_case() == kValue; } +inline bool UInt32Filter::has_value() const { + return _internal_has_value(); +} inline void UInt32Filter::set_has_value() { _oneof_case_[0] = kValue; } @@ -1838,6 +1981,9 @@ inline void UInt32Filter::set_value(::PROTOBUF_NAMESPACE_ID::uint32 value) { inline bool UInt32Filter::_internal_has_start() const { return data_case() == kStart; } +inline bool UInt32Filter::has_start() const { + return _internal_has_start(); +} inline void UInt32Filter::set_has_start() { _oneof_case_[0] = kStart; } @@ -1971,7 +2117,7 @@ inline UInt32Filter::DataCase UInt32Filter::data_case() const { // string value = 1; inline void StringFilter::clear_value() { - value_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + value_.ClearToEmpty(); } inline const std::string& StringFilter::value() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StringFilter.value) @@ -1986,38 +2132,38 @@ inline std::string* StringFilter::mutable_value() { return _internal_mutable_value(); } inline const std::string& StringFilter::_internal_value() const { - return value_.GetNoArena(); + return value_.Get(); } inline void StringFilter::_internal_set_value(const std::string& value) { - value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StringFilter::set_value(std::string&& value) { - value_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + value_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StringFilter.value) } inline void StringFilter::set_value(const char* value) { GOOGLE_DCHECK(value != nullptr); - value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StringFilter.value) } -inline void StringFilter::set_value(const char* value, size_t size) { +inline void StringFilter::set_value(const char* value, + size_t size) { - value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StringFilter.value) } inline std::string* StringFilter::_internal_mutable_value() { - return value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StringFilter::release_value() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StringFilter.value) - - return value_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return value_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StringFilter::set_allocated_value(std::string* value) { if (value != nullptr) { @@ -2025,7 +2171,8 @@ inline void StringFilter::set_allocated_value(std::string* value) { } else { } - value_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StringFilter.value) } diff --git a/cpp/protobuf-lib/epl/protobuf/v1/stac.pb.cc b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac.pb.cc similarity index 78% rename from cpp/protobuf-lib/epl/protobuf/v1/stac.pb.cc rename to cpp/epl-protobuf-v1/epl/protobuf/v1/stac.pb.cc index b8798fa..cf85424 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/stac.pb.cc +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac.pb.cc @@ -14,517 +14,418 @@ #include // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Asset_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Collection_SummariesEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_DatetimeRange_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Eo_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EoRequest_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_Extent_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fquery_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fgeometry_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<15> scc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Interval_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Landsat_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_LandsatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Mosaic_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_MosaicRequest_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Provider_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_StacItem_AssetsEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Stats_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fquery_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StringFilter_epl_2fprotobuf_2fv1_2fquery_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fquery_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_TimestampFilter_epl_2fprotobuf_2fv1_2fquery_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_View_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_epl_2fprotobuf_2fv1_2fstac_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ViewRequest_epl_2fprotobuf_2fv1_2fstac_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fany_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Any_google_2fprotobuf_2fany_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fwrappers_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_FloatValue_google_2fprotobuf_2fwrappers_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fwrappers_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_UInt32Value_google_2fprotobuf_2fwrappers_2eproto; + +PROTOBUF_PRAGMA_INIT_SEG namespace epl { namespace protobuf { namespace v1 { -class Collection_SummariesEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Collection_SummariesEntry_DoNotUse_default_instance_; -class CollectionDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Collection_default_instance_; -class CollectionRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - const ::epl::protobuf::v1::EnvelopeData* bbox_; - const ::epl::protobuf::v1::GeometryData* intersects_; -} _CollectionRequest_default_instance_; -class StatsDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Stats_default_instance_; -class ExtentDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Extent_default_instance_; -class IntervalDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Interval_default_instance_; -class ProviderDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Provider_default_instance_; -class StacItem_AssetsEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _StacItem_AssetsEntry_DoNotUse_default_instance_; -class StacItemDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - const PROTOBUF_NAMESPACE_ID::Timestamp* datetime_; - const PROTOBUF_NAMESPACE_ID::Timestamp* start_datetime_; - const PROTOBUF_NAMESPACE_ID::Timestamp* observed_; - const PROTOBUF_NAMESPACE_ID::Timestamp* start_observation_; -} _StacItem_default_instance_; -class StacRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - const ::epl::protobuf::v1::StringFilter* id_complex_; - const ::epl::protobuf::v1::GeometryData* intersects_; - const ::epl::protobuf::v1::EnvelopeData* bbox_; - const ::epl::protobuf::v1::GeometryRequest* geometry_request_; - const ::epl::protobuf::v1::TimestampFilter* datetime_; - const ::epl::protobuf::v1::TimestampFilter* observed_; -} _StacRequest_default_instance_; -class ViewDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _View_default_instance_; -class ViewRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ViewRequest_default_instance_; -class SatDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Sat_default_instance_; -class SatRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _SatRequest_default_instance_; -class EoDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Eo_default_instance_; -class EoRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _EoRequest_default_instance_; -class AssetDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Asset_default_instance_; -class DatetimeRangeDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _DatetimeRange_default_instance_; -class StacDbResponseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _StacDbResponse_default_instance_; -class SarDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Sar_default_instance_; -class LandsatDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Landsat_default_instance_; -class LandsatRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _LandsatRequest_default_instance_; -class MosaicDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _Mosaic_default_instance_; -class MosaicRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _MosaicRequest_default_instance_; +constexpr Collection_SummariesEntry_DoNotUse::Collection_SummariesEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} +struct Collection_SummariesEntry_DoNotUseDefaultTypeInternal { + constexpr Collection_SummariesEntry_DoNotUseDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~Collection_SummariesEntry_DoNotUseDefaultTypeInternal() {} + union { + Collection_SummariesEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Collection_SummariesEntry_DoNotUseDefaultTypeInternal _Collection_SummariesEntry_DoNotUse_default_instance_; +constexpr Collection::Collection( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : keywords_() + , providers_() + , summaries_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) + , stac_version_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , description_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , license_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , extent_(nullptr){} +struct CollectionDefaultTypeInternal { + constexpr CollectionDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~CollectionDefaultTypeInternal() {} + union { + Collection _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CollectionDefaultTypeInternal _Collection_default_instance_; +constexpr CollectionRequest::CollectionRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , _oneof_case_{}{} +struct CollectionRequestDefaultTypeInternal { + constexpr CollectionRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~CollectionRequestDefaultTypeInternal() {} + union { + CollectionRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CollectionRequestDefaultTypeInternal _CollectionRequest_default_instance_; +constexpr Stats::Stats( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} +struct StatsDefaultTypeInternal { + constexpr StatsDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StatsDefaultTypeInternal() {} + union { + Stats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatsDefaultTypeInternal _Stats_default_instance_; +constexpr Extent::Extent( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : spatial_() + , temporal_(){} +struct ExtentDefaultTypeInternal { + constexpr ExtentDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ExtentDefaultTypeInternal() {} + union { + Extent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ExtentDefaultTypeInternal _Extent_default_instance_; +constexpr Interval::Interval( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : start_(nullptr) + , end_(nullptr){} +struct IntervalDefaultTypeInternal { + constexpr IntervalDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~IntervalDefaultTypeInternal() {} + union { + Interval _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT IntervalDefaultTypeInternal _Interval_default_instance_; +constexpr Provider::Provider( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : roles_() + , name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , description_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct ProviderDefaultTypeInternal { + constexpr ProviderDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ProviderDefaultTypeInternal() {} + union { + Provider _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ProviderDefaultTypeInternal _Provider_default_instance_; +constexpr StacItem_AssetsEntry_DoNotUse::StacItem_AssetsEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} +struct StacItem_AssetsEntry_DoNotUseDefaultTypeInternal { + constexpr StacItem_AssetsEntry_DoNotUseDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StacItem_AssetsEntry_DoNotUseDefaultTypeInternal() {} + union { + StacItem_AssetsEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StacItem_AssetsEntry_DoNotUseDefaultTypeInternal _StacItem_AssetsEntry_DoNotUse_default_instance_; +constexpr StacItem::StacItem( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : assets_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) + , stac_extensions_() + , id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , collection_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , platform_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , instrument_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , constellation_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , mission_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , stac_version_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , stac_pb_version_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , properties_(nullptr) + , geometry_(nullptr) + , bbox_(nullptr) + , end_datetime_(nullptr) + , end_observation_(nullptr) + , created_(nullptr) + , updated_(nullptr) + , proj_(nullptr) + , gsd_(nullptr) + , eo_(nullptr) + , landsat_(nullptr) + , mosaic_(nullptr) + , view_(nullptr) + , platform_enum_(0) + + , instrument_enum_(0) + + , constellation_enum_(0) + + , mission_enum_(0) + + , _oneof_case_{}{} +struct StacItemDefaultTypeInternal { + constexpr StacItemDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StacItemDefaultTypeInternal() {} + union { + StacItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StacItemDefaultTypeInternal _StacItem_default_instance_; +constexpr StacRequest::StacRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : collection_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , properties_(nullptr) + , created_(nullptr) + , updated_(nullptr) + , proj_(nullptr) + , gsd_(nullptr) + , eo_(nullptr) + , view_(nullptr) + , landsat_(nullptr) + , mosaic_(nullptr) + , offset_(PROTOBUF_ULONGLONG(0)) + , limit_(0u) + , platform_enum_(0) + + , mission_enum_(0) + + , instrument_enum_(0) + + , constellation_enum_(0) + + , _oneof_case_{}{} +struct StacRequestDefaultTypeInternal { + constexpr StacRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StacRequestDefaultTypeInternal() {} + union { + StacRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StacRequestDefaultTypeInternal _StacRequest_default_instance_; +constexpr View::View( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : off_nadir_(nullptr) + , incidence_angle_(nullptr) + , azimuth_(nullptr) + , sun_azimuth_(nullptr) + , sun_elevation_(nullptr){} +struct ViewDefaultTypeInternal { + constexpr ViewDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ViewDefaultTypeInternal() {} + union { + View _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ViewDefaultTypeInternal _View_default_instance_; +constexpr ViewRequest::ViewRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : off_nadir_(nullptr) + , incidence_angle_(nullptr) + , azimuth_(nullptr) + , sun_azimuth_(nullptr) + , sun_elevation_(nullptr){} +struct ViewRequestDefaultTypeInternal { + constexpr ViewRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ViewRequestDefaultTypeInternal() {} + union { + ViewRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ViewRequestDefaultTypeInternal _ViewRequest_default_instance_; +constexpr Sat::Sat( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : relative_orbit_(nullptr) + , orbit_state_(0) +{} +struct SatDefaultTypeInternal { + constexpr SatDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~SatDefaultTypeInternal() {} + union { + Sat _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SatDefaultTypeInternal _Sat_default_instance_; +constexpr SatRequest::SatRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : orbit_state_(0) + + , relative_orbit_(0u){} +struct SatRequestDefaultTypeInternal { + constexpr SatRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~SatRequestDefaultTypeInternal() {} + union { + SatRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SatRequestDefaultTypeInternal _SatRequest_default_instance_; +constexpr Eo::Eo( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : cloud_cover_(nullptr) + , bands_(0) +{} +struct EoDefaultTypeInternal { + constexpr EoDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~EoDefaultTypeInternal() {} + union { + Eo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EoDefaultTypeInternal _Eo_default_instance_; +constexpr EoRequest::EoRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : cloud_cover_(nullptr) + , bands_(0) +{} +struct EoRequestDefaultTypeInternal { + constexpr EoRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~EoRequestDefaultTypeInternal() {} + union { + EoRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EoRequestDefaultTypeInternal _EoRequest_default_instance_; +constexpr Asset::Asset( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : href_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , type_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , bucket_manager_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , bucket_region_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , bucket_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , object_path_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , eo_bands_(0) + + , asset_type_(0) + + , cloud_platform_(0) + + , requester_pays_(false){} +struct AssetDefaultTypeInternal { + constexpr AssetDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AssetDefaultTypeInternal() {} + union { + Asset _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AssetDefaultTypeInternal _Asset_default_instance_; +constexpr DatetimeRange::DatetimeRange( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : start_(nullptr) + , end_(nullptr){} +struct DatetimeRangeDefaultTypeInternal { + constexpr DatetimeRangeDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DatetimeRangeDefaultTypeInternal() {} + union { + DatetimeRange _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DatetimeRangeDefaultTypeInternal _DatetimeRange_default_instance_; +constexpr StacDbResponse::StacDbResponse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : status_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , data_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , count_(PROTOBUF_ULONGLONG(0)) + , status_code_(0){} +struct StacDbResponseDefaultTypeInternal { + constexpr StacDbResponseDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StacDbResponseDefaultTypeInternal() {} + union { + StacDbResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StacDbResponseDefaultTypeInternal _StacDbResponse_default_instance_; +constexpr Sar::Sar( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : platform_(0) +{} +struct SarDefaultTypeInternal { + constexpr SarDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~SarDefaultTypeInternal() {} + union { + Sar _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SarDefaultTypeInternal _Sar_default_instance_; +constexpr Landsat::Landsat( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : scene_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , product_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , cloud_cover_land_(nullptr) + , processing_level_(0) + + , wrs_path_(0) + , wrs_row_(0) + , wrs_type_(0) +{} +struct LandsatDefaultTypeInternal { + constexpr LandsatDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~LandsatDefaultTypeInternal() {} + union { + Landsat _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LandsatDefaultTypeInternal _Landsat_default_instance_; +constexpr LandsatRequest::LandsatRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : scene_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , product_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , cloud_cover_land_(nullptr) + , processing_level_(0) + + , wrs_path_(0) + , wrs_row_(0){} +struct LandsatRequestDefaultTypeInternal { + constexpr LandsatRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~LandsatRequestDefaultTypeInternal() {} + union { + LandsatRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LandsatRequestDefaultTypeInternal _LandsatRequest_default_instance_; +constexpr Mosaic::Mosaic( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : zooms_() + , _zooms_cached_byte_size_() + , provenance_ids_() + , name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , quad_key_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , observation_range_(nullptr){} +struct MosaicDefaultTypeInternal { + constexpr MosaicDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~MosaicDefaultTypeInternal() {} + union { + Mosaic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MosaicDefaultTypeInternal _Mosaic_default_instance_; +constexpr MosaicRequest::MosaicRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , quad_key_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct MosaicRequestDefaultTypeInternal { + constexpr MosaicRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~MosaicRequestDefaultTypeInternal() {} + union { + MosaicRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MosaicRequestDefaultTypeInternal _MosaicRequest_default_instance_; } // namespace v1 } // namespace protobuf } // namespace epl -static void InitDefaultsscc_info_Asset_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Asset_default_instance_; - new (ptr) ::epl::protobuf::v1::Asset(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Asset::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Asset_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Asset_epl_2fprotobuf_2fv1_2fstac_2eproto}, {}}; - -static void InitDefaultsscc_info_Collection_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Collection_default_instance_; - new (ptr) ::epl::protobuf::v1::Collection(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Collection::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_Collection_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_Collection_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_Provider_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Extent_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Collection_SummariesEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto.base,}}; - -static void InitDefaultsscc_info_Collection_SummariesEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Collection_SummariesEntry_DoNotUse_default_instance_; - new (ptr) ::epl::protobuf::v1::Collection_SummariesEntry_DoNotUse(); - } - ::epl::protobuf::v1::Collection_SummariesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Collection_SummariesEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Collection_SummariesEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_Stats_epl_2fprotobuf_2fv1_2fstac_2eproto.base,}}; - -static void InitDefaultsscc_info_CollectionRequest_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_CollectionRequest_default_instance_; - new (ptr) ::epl::protobuf::v1::CollectionRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::CollectionRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_CollectionRequest_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_CollectionRequest_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base,}}; - -static void InitDefaultsscc_info_DatetimeRange_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_DatetimeRange_default_instance_; - new (ptr) ::epl::protobuf::v1::DatetimeRange(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::DatetimeRange::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_DatetimeRange_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_DatetimeRange_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsscc_info_Eo_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Eo_default_instance_; - new (ptr) ::epl::protobuf::v1::Eo(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Eo::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Eo_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Eo_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_FloatValue_google_2fprotobuf_2fwrappers_2eproto.base,}}; - -static void InitDefaultsscc_info_EoRequest_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_EoRequest_default_instance_; - new (ptr) ::epl::protobuf::v1::EoRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::EoRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EoRequest_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EoRequest_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base,}}; - -static void InitDefaultsscc_info_Extent_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Extent_default_instance_; - new (ptr) ::epl::protobuf::v1::Extent(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Extent::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_Extent_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_Extent_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Interval_epl_2fprotobuf_2fv1_2fstac_2eproto.base,}}; - -static void InitDefaultsscc_info_Interval_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Interval_default_instance_; - new (ptr) ::epl::protobuf::v1::Interval(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Interval::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Interval_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Interval_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsscc_info_Landsat_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Landsat_default_instance_; - new (ptr) ::epl::protobuf::v1::Landsat(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Landsat::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Landsat_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Landsat_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_FloatValue_google_2fprotobuf_2fwrappers_2eproto.base,}}; - -static void InitDefaultsscc_info_LandsatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_LandsatRequest_default_instance_; - new (ptr) ::epl::protobuf::v1::LandsatRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::LandsatRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_LandsatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_LandsatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base,}}; - -static void InitDefaultsscc_info_Mosaic_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Mosaic_default_instance_; - new (ptr) ::epl::protobuf::v1::Mosaic(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Mosaic::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Mosaic_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Mosaic_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_DatetimeRange_epl_2fprotobuf_2fv1_2fstac_2eproto.base,}}; - -static void InitDefaultsscc_info_MosaicRequest_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_MosaicRequest_default_instance_; - new (ptr) ::epl::protobuf::v1::MosaicRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::MosaicRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_MosaicRequest_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_MosaicRequest_epl_2fprotobuf_2fv1_2fstac_2eproto}, {}}; - -static void InitDefaultsscc_info_Provider_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Provider_default_instance_; - new (ptr) ::epl::protobuf::v1::Provider(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Provider::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Provider_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Provider_epl_2fprotobuf_2fv1_2fstac_2eproto}, {}}; - -static void InitDefaultsscc_info_Sar_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Sar_default_instance_; - new (ptr) ::epl::protobuf::v1::Sar(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Sar::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Sar_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Sar_epl_2fprotobuf_2fv1_2fstac_2eproto}, {}}; - -static void InitDefaultsscc_info_Sat_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Sat_default_instance_; - new (ptr) ::epl::protobuf::v1::Sat(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Sat::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Sat_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Sat_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_UInt32Value_google_2fprotobuf_2fwrappers_2eproto.base,}}; - -static void InitDefaultsscc_info_SatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_SatRequest_default_instance_; - new (ptr) ::epl::protobuf::v1::SatRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::SatRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_SatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto}, {}}; - -static void InitDefaultsscc_info_StacDbResponse_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_StacDbResponse_default_instance_; - new (ptr) ::epl::protobuf::v1::StacDbResponse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::StacDbResponse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StacDbResponse_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_StacDbResponse_epl_2fprotobuf_2fv1_2fstac_2eproto}, {}}; - -static void InitDefaultsscc_info_StacItem_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_StacItem_default_instance_; - new (ptr) ::epl::protobuf::v1::StacItem(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::StacItem::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<9> scc_info_StacItem_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 9, 0, InitDefaultsscc_info_StacItem_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_Any_google_2fprotobuf_2fany_2eproto.base, - &scc_info_StacItem_AssetsEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_FloatValue_google_2fprotobuf_2fwrappers_2eproto.base, - &scc_info_Eo_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_View_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Landsat_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Mosaic_epl_2fprotobuf_2fv1_2fstac_2eproto.base,}}; - -static void InitDefaultsscc_info_StacItem_AssetsEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_StacItem_AssetsEntry_DoNotUse_default_instance_; - new (ptr) ::epl::protobuf::v1::StacItem_AssetsEntry_DoNotUse(); - } - ::epl::protobuf::v1::StacItem_AssetsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_StacItem_AssetsEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_StacItem_AssetsEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_Asset_epl_2fprotobuf_2fv1_2fstac_2eproto.base,}}; - -static void InitDefaultsscc_info_StacRequest_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_StacRequest_default_instance_; - new (ptr) ::epl::protobuf::v1::StacRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::StacRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<10> scc_info_StacRequest_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 10, 0, InitDefaultsscc_info_StacRequest_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_StringFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base, - &scc_info_Any_google_2fprotobuf_2fany_2eproto.base, - &scc_info_EnvelopeData_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_GeometryRequest_epl_2fprotobuf_2fv1_2fgeometry_2eproto.base, - &scc_info_TimestampFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base, - &scc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base, - &scc_info_EoRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_ViewRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_LandsatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_MosaicRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base,}}; - -static void InitDefaultsscc_info_Stats_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_Stats_default_instance_; - new (ptr) ::epl::protobuf::v1::Stats(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::Stats::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Stats_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Stats_epl_2fprotobuf_2fv1_2fstac_2eproto}, {}}; - -static void InitDefaultsscc_info_View_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_View_default_instance_; - new (ptr) ::epl::protobuf::v1::View(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::View::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_View_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_View_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_FloatValue_google_2fprotobuf_2fwrappers_2eproto.base,}}; - -static void InitDefaultsscc_info_ViewRequest_epl_2fprotobuf_2fv1_2fstac_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::epl::protobuf::v1::_ViewRequest_default_instance_; - new (ptr) ::epl::protobuf::v1::ViewRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::epl::protobuf::v1::ViewRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ViewRequest_epl_2fprotobuf_2fv1_2fstac_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ViewRequest_epl_2fprotobuf_2fv1_2fstac_2eproto}, { - &scc_info_FloatFilter_epl_2fprotobuf_2fv1_2fquery_2eproto.base,}}; - static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_epl_2fprotobuf_2fv1_2fstac_2eproto[24]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fstac_2eproto[13]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_epl_2fprotobuf_2fv1_2fstac_2eproto = nullptr; @@ -559,8 +460,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fstac_2ep PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::CollectionRequest, _oneof_case_[0]), ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::CollectionRequest, id_), - offsetof(::epl::protobuf::v1::CollectionRequestDefaultTypeInternal, bbox_), - offsetof(::epl::protobuf::v1::CollectionRequestDefaultTypeInternal, intersects_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::CollectionRequest, spatial_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::Stats, _internal_metadata_), @@ -611,10 +512,10 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fstac_2ep PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacItem, assets_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacItem, geometry_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacItem, bbox_), - offsetof(::epl::protobuf::v1::StacItemDefaultTypeInternal, datetime_), - offsetof(::epl::protobuf::v1::StacItemDefaultTypeInternal, start_datetime_), - offsetof(::epl::protobuf::v1::StacItemDefaultTypeInternal, observed_), - offsetof(::epl::protobuf::v1::StacItemDefaultTypeInternal, start_observation_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacItem, end_datetime_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacItem, end_observation_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacItem, created_), @@ -645,15 +546,15 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_epl_2fprotobuf_2fv1_2fstac_2ep ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacRequest, limit_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacRequest, offset_), - offsetof(::epl::protobuf::v1::StacRequestDefaultTypeInternal, id_), - offsetof(::epl::protobuf::v1::StacRequestDefaultTypeInternal, id_complex_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacRequest, collection_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacRequest, properties_), - offsetof(::epl::protobuf::v1::StacRequestDefaultTypeInternal, intersects_), - offsetof(::epl::protobuf::v1::StacRequestDefaultTypeInternal, bbox_), - offsetof(::epl::protobuf::v1::StacRequestDefaultTypeInternal, geometry_request_), - offsetof(::epl::protobuf::v1::StacRequestDefaultTypeInternal, datetime_), - offsetof(::epl::protobuf::v1::StacRequestDefaultTypeInternal, observed_), + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacRequest, created_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacRequest, updated_), PROTOBUF_FIELD_OFFSET(::epl::protobuf::v1::StacRequest, proj_), @@ -1036,43 +937,21 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, &::descriptor_table_google_2fprotobuf_2fwrappers_2eproto, }; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_sccs[24] = { - &scc_info_Asset_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Collection_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Collection_SummariesEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_CollectionRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_DatetimeRange_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Eo_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_EoRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Extent_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Interval_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Landsat_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_LandsatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Mosaic_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_MosaicRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Provider_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Sar_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Sat_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_SatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_StacDbResponse_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_StacItem_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_StacItem_AssetsEntry_DoNotUse_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_StacRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_Stats_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_View_epl_2fprotobuf_2fv1_2fstac_2eproto.base, - &scc_info_ViewRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base, -}; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_once; -static bool descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto = { - &descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_initialized, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fstac_2eproto, "epl/protobuf/v1/stac.proto", 7095, - &descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_sccs, descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_deps, 24, 5, + false, false, 7095, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fstac_2eproto, "epl/protobuf/v1/stac.proto", + &descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_deps, 5, 24, schemas, file_default_instances, TableStruct_epl_2fprotobuf_2fv1_2fstac_2eproto::offsets, - file_level_metadata_epl_2fprotobuf_2fv1_2fstac_2eproto, 24, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fstac_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fstac_2eproto, + file_level_metadata_epl_2fprotobuf_2fv1_2fstac_2eproto, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fstac_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fstac_2eproto, }; +PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata +descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(int index) { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); + return descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[index]; +} // Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_epl_2fprotobuf_2fv1_2fstac_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto), true); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_epl_2fprotobuf_2fv1_2fstac_2eproto(&descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); namespace epl { namespace protobuf { namespace v1 { @@ -1414,10 +1293,6 @@ void Collection_SummariesEntry_DoNotUse::MergeFrom( // =================================================================== -void Collection::InitAsDefaultInstance() { - ::epl::protobuf::v1::_Collection_default_instance_._instance.get_mutable()->extent_ = const_cast< ::epl::protobuf::v1::Extent*>( - ::epl::protobuf::v1::Extent::internal_default_instance()); -} class Collection::_Internal { public: static const ::epl::protobuf::v1::Extent& extent(const Collection* msg); @@ -1427,37 +1302,45 @@ const ::epl::protobuf::v1::Extent& Collection::_Internal::extent(const Collection* msg) { return *msg->extent_; } -Collection::Collection() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Collection::Collection(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + keywords_(arena), + providers_(arena), + summaries_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Collection) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Collection) } Collection::Collection(const Collection& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), keywords_(from.keywords_), providers_(from.providers_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); summaries_.MergeFrom(from.summaries_); stac_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_stac_version().empty()) { - stac_version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.stac_version_); + stac_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stac_version(), + GetArena()); } id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_id().empty()) { - id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.id_); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_id(), + GetArena()); } title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_title().empty()) { - title_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.title_); + title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(), + GetArena()); } description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_description().empty()) { - description_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.description_); + description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_description(), + GetArena()); } license_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_license().empty()) { - license_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.license_); + license_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_license(), + GetArena()); } if (from._internal_has_extent()) { extent_ = new ::epl::protobuf::v1::Extent(*from.extent_); @@ -1468,21 +1351,22 @@ Collection::Collection(const Collection& from) } void Collection::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Collection_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - stac_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - license_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - extent_ = nullptr; +stac_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +license_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +extent_ = nullptr; } Collection::~Collection() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Collection) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Collection::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); stac_version_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -1491,14 +1375,15 @@ void Collection::SharedDtor() { if (this != internal_default_instance()) delete extent_; } +void Collection::ArenaDtor(void* object) { + Collection* _this = reinterpret_cast< Collection* >(object); + (void)_this; +} +void Collection::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Collection::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Collection& Collection::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Collection_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Collection::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Collection) @@ -1509,16 +1394,16 @@ void Collection::Clear() { keywords_.Clear(); providers_.Clear(); summaries_.Clear(); - stac_version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - title_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - description_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - license_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && extent_ != nullptr) { + stac_version_.ClearToEmpty(); + id_.ClearToEmpty(); + title_.ClearToEmpty(); + description_.ClearToEmpty(); + license_.ClearToEmpty(); + if (GetArena() == nullptr && extent_ != nullptr) { delete extent_; } extent_ = nullptr; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Collection::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -1624,7 +1509,9 @@ const char* Collection::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID: ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -1763,7 +1650,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Collection::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Collection) return target; @@ -1870,7 +1757,7 @@ void Collection::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Collection::MergeFrom(const Collection& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Collection) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1878,24 +1765,19 @@ void Collection::MergeFrom(const Collection& from) { providers_.MergeFrom(from.providers_); summaries_.MergeFrom(from.summaries_); if (from.stac_version().size() > 0) { - - stac_version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.stac_version_); + _internal_set_stac_version(from._internal_stac_version()); } if (from.id().size() > 0) { - - id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.id_); + _internal_set_id(from._internal_id()); } if (from.title().size() > 0) { - - title_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.title_); + _internal_set_title(from._internal_title()); } if (from.description().size() > 0) { - - description_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.description_); + _internal_set_description(from._internal_description()); } if (from.license().size() > 0) { - - license_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.license_); + _internal_set_license(from._internal_license()); } if (from.has_extent()) { _internal_mutable_extent()->::epl::protobuf::v1::Extent::MergeFrom(from._internal_extent()); @@ -1922,20 +1804,15 @@ bool Collection::IsInitialized() const { void Collection::InternalSwap(Collection* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); keywords_.InternalSwap(&other->keywords_); providers_.InternalSwap(&other->providers_); summaries_.Swap(&other->summaries_); - stac_version_.Swap(&other->stac_version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - id_.Swap(&other->id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - title_.Swap(&other->title_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - description_.Swap(&other->description_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - license_.Swap(&other->license_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); + stac_version_.Swap(&other->stac_version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + id_.Swap(&other->id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + title_.Swap(&other->title_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + description_.Swap(&other->description_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + license_.Swap(&other->license_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); swap(extent_, other->extent_); } @@ -1946,12 +1823,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Collection::GetMetadata() const { // =================================================================== -void CollectionRequest::InitAsDefaultInstance() { - ::epl::protobuf::v1::_CollectionRequest_default_instance_.bbox_ = const_cast< ::epl::protobuf::v1::EnvelopeData*>( - ::epl::protobuf::v1::EnvelopeData::internal_default_instance()); - ::epl::protobuf::v1::_CollectionRequest_default_instance_.intersects_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); -} class CollectionRequest::_Internal { public: static const ::epl::protobuf::v1::EnvelopeData& bbox(const CollectionRequest* msg); @@ -1967,10 +1838,11 @@ CollectionRequest::_Internal::intersects(const CollectionRequest* msg) { return *msg->spatial_.intersects_; } void CollectionRequest::set_allocated_bbox(::epl::protobuf::v1::EnvelopeData* bbox) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_spatial(); if (bbox) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bbox)->GetArena(); if (message_arena != submessage_arena) { bbox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, bbox, submessage_arena); @@ -1982,15 +1854,18 @@ void CollectionRequest::set_allocated_bbox(::epl::protobuf::v1::EnvelopeData* bb } void CollectionRequest::clear_bbox() { if (_internal_has_bbox()) { - delete spatial_.bbox_; + if (GetArena() == nullptr) { + delete spatial_.bbox_; + } clear_has_spatial(); } } void CollectionRequest::set_allocated_intersects(::epl::protobuf::v1::GeometryData* intersects) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_spatial(); if (intersects) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(intersects)->GetArena(); if (message_arena != submessage_arena) { intersects = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, intersects, submessage_arena); @@ -2002,22 +1877,25 @@ void CollectionRequest::set_allocated_intersects(::epl::protobuf::v1::GeometryDa } void CollectionRequest::clear_intersects() { if (_internal_has_intersects()) { - delete spatial_.intersects_; + if (GetArena() == nullptr) { + delete spatial_.intersects_; + } clear_has_spatial(); } } -CollectionRequest::CollectionRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +CollectionRequest::CollectionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.CollectionRequest) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.CollectionRequest) } CollectionRequest::CollectionRequest(const CollectionRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_id().empty()) { - id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.id_); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_id(), + GetArena()); } clear_has_spatial(); switch (from.spatial_case()) { @@ -2037,41 +1915,47 @@ CollectionRequest::CollectionRequest(const CollectionRequest& from) } void CollectionRequest::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_CollectionRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - clear_has_spatial(); +id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +clear_has_spatial(); } CollectionRequest::~CollectionRequest() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.CollectionRequest) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void CollectionRequest::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (has_spatial()) { clear_spatial(); } } +void CollectionRequest::ArenaDtor(void* object) { + CollectionRequest* _this = reinterpret_cast< CollectionRequest* >(object); + (void)_this; +} +void CollectionRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void CollectionRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const CollectionRequest& CollectionRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CollectionRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void CollectionRequest::clear_spatial() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.CollectionRequest) switch (spatial_case()) { case kBbox: { - delete spatial_.bbox_; + if (GetArena() == nullptr) { + delete spatial_.bbox_; + } break; } case kIntersects: { - delete spatial_.intersects_; + if (GetArena() == nullptr) { + delete spatial_.intersects_; + } break; } case SPATIAL_NOT_SET: { @@ -2088,9 +1972,9 @@ void CollectionRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + id_.ClearToEmpty(); clear_spatial(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* CollectionRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -2129,7 +2013,9 @@ const char* CollectionRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -2177,7 +2063,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* CollectionRequest::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.CollectionRequest) return target; @@ -2244,13 +2130,12 @@ void CollectionRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) void CollectionRequest::MergeFrom(const CollectionRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.CollectionRequest) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.id().size() > 0) { - - id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.id_); + _internal_set_id(from._internal_id()); } switch (from.spatial_case()) { case kBbox: { @@ -2287,9 +2172,8 @@ bool CollectionRequest::IsInitialized() const { void CollectionRequest::InternalSwap(CollectionRequest* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - id_.Swap(&other->id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + id_.Swap(&other->id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); swap(spatial_, other->spatial_); swap(_oneof_case_[0], other->_oneof_case_[0]); } @@ -2301,21 +2185,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata CollectionRequest::GetMetadata() const { // =================================================================== -void Stats::InitAsDefaultInstance() { -} class Stats::_Internal { public: }; -Stats::Stats() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Stats::Stats(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Stats) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Stats) } Stats::Stats(const Stats& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Stats) } @@ -2325,19 +2207,22 @@ void Stats::SharedCtor() { Stats::~Stats() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Stats) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Stats::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Stats::ArenaDtor(void* object) { + Stats* _this = reinterpret_cast< Stats* >(object); + (void)_this; +} +void Stats::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Stats::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Stats& Stats::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Stats_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Stats::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Stats) @@ -2345,7 +2230,7 @@ void Stats::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Stats::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -2358,7 +2243,9 @@ const char* Stats::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inte ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } // while @@ -2378,7 +2265,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Stats::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Stats) return target; @@ -2419,7 +2306,7 @@ void Stats::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Stats::MergeFrom(const Stats& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Stats) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -2445,7 +2332,7 @@ bool Stats::IsInitialized() const { void Stats::InternalSwap(Stats* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); } ::PROTOBUF_NAMESPACE_ID::Metadata Stats::GetMetadata() const { @@ -2455,8 +2342,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Stats::GetMetadata() const { // =================================================================== -void Extent::InitAsDefaultInstance() { -} class Extent::_Internal { public: }; @@ -2464,40 +2349,44 @@ class Extent::_Internal { void Extent::clear_spatial() { spatial_.Clear(); } -Extent::Extent() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Extent::Extent(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + spatial_(arena), + temporal_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Extent) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Extent) } Extent::Extent(const Extent& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), spatial_(from.spatial_), temporal_(from.temporal_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Extent) } void Extent::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Extent_epl_2fprotobuf_2fv1_2fstac_2eproto.base); } Extent::~Extent() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Extent) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Extent::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Extent::ArenaDtor(void* object) { + Extent* _this = reinterpret_cast< Extent* >(object); + (void)_this; +} +void Extent::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Extent::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Extent& Extent::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Extent_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Extent::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Extent) @@ -2507,7 +2396,7 @@ void Extent::Clear() { spatial_.Clear(); temporal_.Clear(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Extent::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -2547,7 +2436,9 @@ const char* Extent::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -2585,7 +2476,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Extent::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Extent) return target; @@ -2640,7 +2531,7 @@ void Extent::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Extent::MergeFrom(const Extent& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Extent) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -2668,7 +2559,7 @@ bool Extent::IsInitialized() const { void Extent::InternalSwap(Extent* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); spatial_.InternalSwap(&other->spatial_); temporal_.InternalSwap(&other->temporal_); } @@ -2680,12 +2571,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Extent::GetMetadata() const { // =================================================================== -void Interval::InitAsDefaultInstance() { - ::epl::protobuf::v1::_Interval_default_instance_._instance.get_mutable()->start_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_Interval_default_instance_._instance.get_mutable()->end_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); -} class Interval::_Internal { public: static const PROTOBUF_NAMESPACE_ID::Timestamp& start(const Interval* msg); @@ -2701,26 +2586,26 @@ Interval::_Internal::end(const Interval* msg) { return *msg->end_; } void Interval::clear_start() { - if (GetArenaNoVirtual() == nullptr && start_ != nullptr) { + if (GetArena() == nullptr && start_ != nullptr) { delete start_; } start_ = nullptr; } void Interval::clear_end() { - if (GetArenaNoVirtual() == nullptr && end_ != nullptr) { + if (GetArena() == nullptr && end_ != nullptr) { delete end_; } end_ = nullptr; } -Interval::Interval() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Interval::Interval(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Interval) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Interval) } Interval::Interval(const Interval& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_start()) { start_ = new PROTOBUF_NAMESPACE_ID::Timestamp(*from.start_); } else { @@ -2735,30 +2620,33 @@ Interval::Interval(const Interval& from) } void Interval::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Interval_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - ::memset(&start_, 0, static_cast( - reinterpret_cast(&end_) - - reinterpret_cast(&start_)) + sizeof(end_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&start_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&end_) - + reinterpret_cast(&start_)) + sizeof(end_)); } Interval::~Interval() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Interval) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Interval::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete start_; if (this != internal_default_instance()) delete end_; } +void Interval::ArenaDtor(void* object) { + Interval* _this = reinterpret_cast< Interval* >(object); + (void)_this; +} +void Interval::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Interval::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Interval& Interval::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Interval_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Interval::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Interval) @@ -2766,15 +2654,15 @@ void Interval::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && start_ != nullptr) { + if (GetArena() == nullptr && start_ != nullptr) { delete start_; } start_ = nullptr; - if (GetArenaNoVirtual() == nullptr && end_ != nullptr) { + if (GetArena() == nullptr && end_ != nullptr) { delete end_; } end_ = nullptr; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Interval::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -2804,7 +2692,9 @@ const char* Interval::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -2842,7 +2732,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Interval::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Interval) return target; @@ -2897,7 +2787,7 @@ void Interval::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Interval::MergeFrom(const Interval& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Interval) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -2929,9 +2819,13 @@ bool Interval::IsInitialized() const { void Interval::InternalSwap(Interval* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(start_, other->start_); - swap(end_, other->end_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Interval, end_) + + sizeof(Interval::end_) + - PROTOBUF_FIELD_OFFSET(Interval, start_)>( + reinterpret_cast(&start_), + reinterpret_cast(&other->start_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Interval::GetMetadata() const { @@ -2941,63 +2835,67 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Interval::GetMetadata() const { // =================================================================== -void Provider::InitAsDefaultInstance() { -} class Provider::_Internal { public: }; -Provider::Provider() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Provider::Provider(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + roles_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Provider) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Provider) } Provider::Provider(const Provider& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), roles_(from.roles_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_name().empty()) { - name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), + GetArena()); } description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_description().empty()) { - description_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.description_); + description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_description(), + GetArena()); } url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_url().empty()) { - url_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.url_); + url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(), + GetArena()); } // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Provider) } void Provider::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Provider_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } Provider::~Provider() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Provider) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Provider::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); description_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } +void Provider::ArenaDtor(void* object) { + Provider* _this = reinterpret_cast< Provider* >(object); + (void)_this; +} +void Provider::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Provider::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Provider& Provider::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Provider_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Provider::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Provider) @@ -3006,10 +2904,10 @@ void Provider::Clear() { (void) cached_has_bits; roles_.Clear(); - name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - description_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); + name_.ClearToEmpty(); + description_.ClearToEmpty(); + url_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Provider::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -3066,7 +2964,9 @@ const char* Provider::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -3128,7 +3028,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Provider::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Provider) return target; @@ -3198,22 +3098,19 @@ void Provider::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Provider::MergeFrom(const Provider& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Provider) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; roles_.MergeFrom(from.roles_); if (from.name().size() > 0) { - - name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); + _internal_set_name(from._internal_name()); } if (from.description().size() > 0) { - - description_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.description_); + _internal_set_description(from._internal_description()); } if (from.url().size() > 0) { - - url_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.url_); + _internal_set_url(from._internal_url()); } } @@ -3237,14 +3134,11 @@ bool Provider::IsInitialized() const { void Provider::InternalSwap(Provider* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); roles_.InternalSwap(&other->roles_); - name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - description_.Swap(&other->description_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - url_.Swap(&other->url_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); + name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + description_.Swap(&other->description_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + url_.Swap(&other->url_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } ::PROTOBUF_NAMESPACE_ID::Metadata Provider::GetMetadata() const { @@ -3271,42 +3165,6 @@ void StacItem_AssetsEntry_DoNotUse::MergeFrom( // =================================================================== -void StacItem::InitAsDefaultInstance() { - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->properties_ = const_cast< PROTOBUF_NAMESPACE_ID::Any*>( - PROTOBUF_NAMESPACE_ID::Any::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->geometry_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->bbox_ = const_cast< ::epl::protobuf::v1::EnvelopeData*>( - ::epl::protobuf::v1::EnvelopeData::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_.datetime_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_.start_datetime_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_.observed_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_.start_observation_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->end_datetime_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->end_observation_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->created_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->updated_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->proj_ = const_cast< ::epl::protobuf::v1::ProjectionData*>( - ::epl::protobuf::v1::ProjectionData::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->gsd_ = const_cast< PROTOBUF_NAMESPACE_ID::FloatValue*>( - PROTOBUF_NAMESPACE_ID::FloatValue::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->eo_ = const_cast< ::epl::protobuf::v1::Eo*>( - ::epl::protobuf::v1::Eo::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->view_ = const_cast< ::epl::protobuf::v1::View*>( - ::epl::protobuf::v1::View::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->landsat_ = const_cast< ::epl::protobuf::v1::Landsat*>( - ::epl::protobuf::v1::Landsat::internal_default_instance()); - ::epl::protobuf::v1::_StacItem_default_instance_._instance.get_mutable()->mosaic_ = const_cast< ::epl::protobuf::v1::Mosaic*>( - ::epl::protobuf::v1::Mosaic::internal_default_instance()); -} class StacItem::_Internal { public: static const PROTOBUF_NAMESPACE_ID::Any& properties(const StacItem* msg); @@ -3397,25 +3255,25 @@ StacItem::_Internal::mosaic(const StacItem* msg) { return *msg->mosaic_; } void StacItem::clear_properties() { - if (GetArenaNoVirtual() == nullptr && properties_ != nullptr) { + if (GetArena() == nullptr && properties_ != nullptr) { delete properties_; } properties_ = nullptr; } void StacItem::clear_geometry() { - if (GetArenaNoVirtual() == nullptr && geometry_ != nullptr) { + if (GetArena() == nullptr && geometry_ != nullptr) { delete geometry_; } geometry_ = nullptr; } void StacItem::clear_bbox() { - if (GetArenaNoVirtual() == nullptr && bbox_ != nullptr) { + if (GetArena() == nullptr && bbox_ != nullptr) { delete bbox_; } bbox_ = nullptr; } void StacItem::set_allocated_datetime(PROTOBUF_NAMESPACE_ID::Timestamp* datetime) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_temporal_deprecated(); if (datetime) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = @@ -3431,12 +3289,14 @@ void StacItem::set_allocated_datetime(PROTOBUF_NAMESPACE_ID::Timestamp* datetime } void StacItem::clear_datetime() { if (_internal_has_datetime()) { - delete temporal_deprecated_.datetime_; + if (GetArena() == nullptr) { + delete temporal_deprecated_.datetime_; + } clear_has_temporal_deprecated(); } } void StacItem::set_allocated_start_datetime(PROTOBUF_NAMESPACE_ID::Timestamp* start_datetime) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_temporal_deprecated(); if (start_datetime) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = @@ -3452,12 +3312,14 @@ void StacItem::set_allocated_start_datetime(PROTOBUF_NAMESPACE_ID::Timestamp* st } void StacItem::clear_start_datetime() { if (_internal_has_start_datetime()) { - delete temporal_deprecated_.start_datetime_; + if (GetArena() == nullptr) { + delete temporal_deprecated_.start_datetime_; + } clear_has_temporal_deprecated(); } } void StacItem::set_allocated_observed(PROTOBUF_NAMESPACE_ID::Timestamp* observed) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_temporal(); if (observed) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = @@ -3473,12 +3335,14 @@ void StacItem::set_allocated_observed(PROTOBUF_NAMESPACE_ID::Timestamp* observed } void StacItem::clear_observed() { if (_internal_has_observed()) { - delete temporal_.observed_; + if (GetArena() == nullptr) { + delete temporal_.observed_; + } clear_has_temporal(); } } void StacItem::set_allocated_start_observation(PROTOBUF_NAMESPACE_ID::Timestamp* start_observation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_temporal(); if (start_observation) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = @@ -3494,92 +3358,105 @@ void StacItem::set_allocated_start_observation(PROTOBUF_NAMESPACE_ID::Timestamp* } void StacItem::clear_start_observation() { if (_internal_has_start_observation()) { - delete temporal_.start_observation_; + if (GetArena() == nullptr) { + delete temporal_.start_observation_; + } clear_has_temporal(); } } void StacItem::clear_end_datetime() { - if (GetArenaNoVirtual() == nullptr && end_datetime_ != nullptr) { + if (GetArena() == nullptr && end_datetime_ != nullptr) { delete end_datetime_; } end_datetime_ = nullptr; } void StacItem::clear_end_observation() { - if (GetArenaNoVirtual() == nullptr && end_observation_ != nullptr) { + if (GetArena() == nullptr && end_observation_ != nullptr) { delete end_observation_; } end_observation_ = nullptr; } void StacItem::clear_created() { - if (GetArenaNoVirtual() == nullptr && created_ != nullptr) { + if (GetArena() == nullptr && created_ != nullptr) { delete created_; } created_ = nullptr; } void StacItem::clear_updated() { - if (GetArenaNoVirtual() == nullptr && updated_ != nullptr) { + if (GetArena() == nullptr && updated_ != nullptr) { delete updated_; } updated_ = nullptr; } void StacItem::clear_proj() { - if (GetArenaNoVirtual() == nullptr && proj_ != nullptr) { + if (GetArena() == nullptr && proj_ != nullptr) { delete proj_; } proj_ = nullptr; } void StacItem::clear_gsd() { - if (GetArenaNoVirtual() == nullptr && gsd_ != nullptr) { + if (GetArena() == nullptr && gsd_ != nullptr) { delete gsd_; } gsd_ = nullptr; } -StacItem::StacItem() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +StacItem::StacItem(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + assets_(arena), + stac_extensions_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.StacItem) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.StacItem) } StacItem::StacItem(const StacItem& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), stac_extensions_(from.stac_extensions_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); assets_.MergeFrom(from.assets_); id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_id().empty()) { - id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.id_); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_id(), + GetArena()); } title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_title().empty()) { - title_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.title_); + title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(), + GetArena()); } collection_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_collection().empty()) { - collection_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_); + collection_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_collection(), + GetArena()); } platform_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_platform().empty()) { - platform_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.platform_); + platform_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_platform(), + GetArena()); } instrument_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_instrument().empty()) { - instrument_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.instrument_); + instrument_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_instrument(), + GetArena()); } constellation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_constellation().empty()) { - constellation_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.constellation_); + constellation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_constellation(), + GetArena()); } mission_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_mission().empty()) { - mission_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mission_); + mission_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mission(), + GetArena()); } stac_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_stac_version().empty()) { - stac_version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.stac_version_); + stac_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stac_version(), + GetArena()); } stac_pb_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_stac_pb_version().empty()) { - stac_pb_version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.stac_pb_version_); + stac_pb_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stac_pb_version(), + GetArena()); } if (from._internal_has_properties()) { properties_ = new PROTOBUF_NAMESPACE_ID::Any(*from.properties_); @@ -3681,29 +3558,31 @@ StacItem::StacItem(const StacItem& from) } void StacItem::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_StacItem_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - collection_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - platform_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - instrument_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - constellation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - mission_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - stac_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - stac_pb_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&properties_, 0, static_cast( - reinterpret_cast(&mission_enum_) - - reinterpret_cast(&properties_)) + sizeof(mission_enum_)); - clear_has_temporal_deprecated(); - clear_has_temporal(); +id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +collection_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +platform_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +instrument_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +constellation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +mission_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +stac_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +stac_pb_version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&properties_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&mission_enum_) - + reinterpret_cast(&properties_)) + sizeof(mission_enum_)); +clear_has_temporal_deprecated(); +clear_has_temporal(); } StacItem::~StacItem() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.StacItem) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void StacItem::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); collection_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -3734,24 +3613,29 @@ void StacItem::SharedDtor() { } } +void StacItem::ArenaDtor(void* object) { + StacItem* _this = reinterpret_cast< StacItem* >(object); + (void)_this; +} +void StacItem::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void StacItem::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StacItem& StacItem::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StacItem_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void StacItem::clear_temporal_deprecated() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.StacItem) switch (temporal_deprecated_case()) { case kDatetime: { - delete temporal_deprecated_.datetime_; + if (GetArena() == nullptr) { + delete temporal_deprecated_.datetime_; + } break; } case kStartDatetime: { - delete temporal_deprecated_.start_datetime_; + if (GetArena() == nullptr) { + delete temporal_deprecated_.start_datetime_; + } break; } case TEMPORAL_DEPRECATED_NOT_SET: { @@ -3765,11 +3649,15 @@ void StacItem::clear_temporal() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.StacItem) switch (temporal_case()) { case kObserved: { - delete temporal_.observed_; + if (GetArena() == nullptr) { + delete temporal_.observed_; + } break; } case kStartObservation: { - delete temporal_.start_observation_; + if (GetArena() == nullptr) { + delete temporal_.start_observation_; + } break; } case TEMPORAL_NOT_SET: { @@ -3788,64 +3676,64 @@ void StacItem::Clear() { assets_.Clear(); stac_extensions_.Clear(); - id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - title_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - collection_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - platform_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - instrument_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - constellation_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - mission_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - stac_version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - stac_pb_version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && properties_ != nullptr) { + id_.ClearToEmpty(); + title_.ClearToEmpty(); + collection_.ClearToEmpty(); + platform_.ClearToEmpty(); + instrument_.ClearToEmpty(); + constellation_.ClearToEmpty(); + mission_.ClearToEmpty(); + stac_version_.ClearToEmpty(); + stac_pb_version_.ClearToEmpty(); + if (GetArena() == nullptr && properties_ != nullptr) { delete properties_; } properties_ = nullptr; - if (GetArenaNoVirtual() == nullptr && geometry_ != nullptr) { + if (GetArena() == nullptr && geometry_ != nullptr) { delete geometry_; } geometry_ = nullptr; - if (GetArenaNoVirtual() == nullptr && bbox_ != nullptr) { + if (GetArena() == nullptr && bbox_ != nullptr) { delete bbox_; } bbox_ = nullptr; - if (GetArenaNoVirtual() == nullptr && end_datetime_ != nullptr) { + if (GetArena() == nullptr && end_datetime_ != nullptr) { delete end_datetime_; } end_datetime_ = nullptr; - if (GetArenaNoVirtual() == nullptr && end_observation_ != nullptr) { + if (GetArena() == nullptr && end_observation_ != nullptr) { delete end_observation_; } end_observation_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_ != nullptr) { + if (GetArena() == nullptr && created_ != nullptr) { delete created_; } created_ = nullptr; - if (GetArenaNoVirtual() == nullptr && updated_ != nullptr) { + if (GetArena() == nullptr && updated_ != nullptr) { delete updated_; } updated_ = nullptr; - if (GetArenaNoVirtual() == nullptr && proj_ != nullptr) { + if (GetArena() == nullptr && proj_ != nullptr) { delete proj_; } proj_ = nullptr; - if (GetArenaNoVirtual() == nullptr && gsd_ != nullptr) { + if (GetArena() == nullptr && gsd_ != nullptr) { delete gsd_; } gsd_ = nullptr; - if (GetArenaNoVirtual() == nullptr && eo_ != nullptr) { + if (GetArena() == nullptr && eo_ != nullptr) { delete eo_; } eo_ = nullptr; - if (GetArenaNoVirtual() == nullptr && landsat_ != nullptr) { + if (GetArena() == nullptr && landsat_ != nullptr) { delete landsat_; } landsat_ = nullptr; - if (GetArenaNoVirtual() == nullptr && mosaic_ != nullptr) { + if (GetArena() == nullptr && mosaic_ != nullptr) { delete mosaic_; } mosaic_ = nullptr; - if (GetArenaNoVirtual() == nullptr && view_ != nullptr) { + if (GetArena() == nullptr && view_ != nullptr) { delete view_; } view_ = nullptr; @@ -3854,7 +3742,7 @@ void StacItem::Clear() { reinterpret_cast(&platform_enum_)) + sizeof(mission_enum_)); clear_temporal_deprecated(); clear_temporal(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* StacItem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -3990,7 +3878,7 @@ const char* StacItem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i // .epl.protobuf.v1.Platform platform_enum = 17; case 17: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_platform_enum(static_cast<::epl::protobuf::v1::Platform>(val)); } else goto handle_unusual; @@ -4007,7 +3895,7 @@ const char* StacItem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i // .epl.protobuf.v1.Instrument instrument_enum = 19; case 19: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 152)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_instrument_enum(static_cast<::epl::protobuf::v1::Instrument>(val)); } else goto handle_unusual; @@ -4024,7 +3912,7 @@ const char* StacItem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i // .epl.protobuf.v1.Constellation constellation_enum = 21; case 21: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_constellation_enum(static_cast<::epl::protobuf::v1::Constellation>(val)); } else goto handle_unusual; @@ -4041,7 +3929,7 @@ const char* StacItem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i // .epl.protobuf.v1.Mission mission_enum = 23; case 23: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_mission_enum(static_cast<::epl::protobuf::v1::Mission>(val)); } else goto handle_unusual; @@ -4128,7 +4016,9 @@ const char* StacItem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -4455,7 +4345,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* StacItem::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.StacItem) return target; @@ -4729,47 +4619,38 @@ void StacItem::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void StacItem::MergeFrom(const StacItem& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.StacItem) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; assets_.MergeFrom(from.assets_); stac_extensions_.MergeFrom(from.stac_extensions_); if (from.id().size() > 0) { - - id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.id_); + _internal_set_id(from._internal_id()); } if (from.title().size() > 0) { - - title_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.title_); + _internal_set_title(from._internal_title()); } if (from.collection().size() > 0) { - - collection_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_); + _internal_set_collection(from._internal_collection()); } if (from.platform().size() > 0) { - - platform_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.platform_); + _internal_set_platform(from._internal_platform()); } if (from.instrument().size() > 0) { - - instrument_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.instrument_); + _internal_set_instrument(from._internal_instrument()); } if (from.constellation().size() > 0) { - - constellation_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.constellation_); + _internal_set_constellation(from._internal_constellation()); } if (from.mission().size() > 0) { - - mission_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mission_); + _internal_set_mission(from._internal_mission()); } if (from.stac_version().size() > 0) { - - stac_version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.stac_version_); + _internal_set_stac_version(from._internal_stac_version()); } if (from.stac_pb_version().size() > 0) { - - stac_pb_version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.stac_pb_version_); + _internal_set_stac_pb_version(from._internal_stac_pb_version()); } if (from.has_properties()) { _internal_mutable_properties()->PROTOBUF_NAMESPACE_ID::Any::MergeFrom(from._internal_properties()); @@ -4870,44 +4751,24 @@ bool StacItem::IsInitialized() const { void StacItem::InternalSwap(StacItem* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); assets_.Swap(&other->assets_); stac_extensions_.InternalSwap(&other->stac_extensions_); - id_.Swap(&other->id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - title_.Swap(&other->title_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - collection_.Swap(&other->collection_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - platform_.Swap(&other->platform_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - instrument_.Swap(&other->instrument_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - constellation_.Swap(&other->constellation_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - mission_.Swap(&other->mission_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - stac_version_.Swap(&other->stac_version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - stac_pb_version_.Swap(&other->stac_pb_version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(properties_, other->properties_); - swap(geometry_, other->geometry_); - swap(bbox_, other->bbox_); - swap(end_datetime_, other->end_datetime_); - swap(end_observation_, other->end_observation_); - swap(created_, other->created_); - swap(updated_, other->updated_); - swap(proj_, other->proj_); - swap(gsd_, other->gsd_); - swap(eo_, other->eo_); - swap(landsat_, other->landsat_); - swap(mosaic_, other->mosaic_); - swap(view_, other->view_); - swap(platform_enum_, other->platform_enum_); - swap(instrument_enum_, other->instrument_enum_); - swap(constellation_enum_, other->constellation_enum_); - swap(mission_enum_, other->mission_enum_); + id_.Swap(&other->id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + title_.Swap(&other->title_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + collection_.Swap(&other->collection_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + platform_.Swap(&other->platform_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + instrument_.Swap(&other->instrument_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + constellation_.Swap(&other->constellation_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + mission_.Swap(&other->mission_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + stac_version_.Swap(&other->stac_version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + stac_pb_version_.Swap(&other->stac_pb_version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(StacItem, mission_enum_) + + sizeof(StacItem::mission_enum_) + - PROTOBUF_FIELD_OFFSET(StacItem, properties_)>( + reinterpret_cast(&properties_), + reinterpret_cast(&other->properties_)); swap(temporal_deprecated_, other->temporal_deprecated_); swap(temporal_, other->temporal_); swap(_oneof_case_[0], other->_oneof_case_[0]); @@ -4921,40 +4782,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata StacItem::GetMetadata() const { // =================================================================== -void StacRequest::InitAsDefaultInstance() { - ::epl::protobuf::v1::_StacRequest_default_instance_.id_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::epl::protobuf::v1::_StacRequest_default_instance_.id_complex_ = const_cast< ::epl::protobuf::v1::StringFilter*>( - ::epl::protobuf::v1::StringFilter::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->properties_ = const_cast< PROTOBUF_NAMESPACE_ID::Any*>( - PROTOBUF_NAMESPACE_ID::Any::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_.intersects_ = const_cast< ::epl::protobuf::v1::GeometryData*>( - ::epl::protobuf::v1::GeometryData::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_.bbox_ = const_cast< ::epl::protobuf::v1::EnvelopeData*>( - ::epl::protobuf::v1::EnvelopeData::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_.geometry_request_ = const_cast< ::epl::protobuf::v1::GeometryRequest*>( - ::epl::protobuf::v1::GeometryRequest::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_.datetime_ = const_cast< ::epl::protobuf::v1::TimestampFilter*>( - ::epl::protobuf::v1::TimestampFilter::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_.observed_ = const_cast< ::epl::protobuf::v1::TimestampFilter*>( - ::epl::protobuf::v1::TimestampFilter::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->created_ = const_cast< ::epl::protobuf::v1::TimestampFilter*>( - ::epl::protobuf::v1::TimestampFilter::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->updated_ = const_cast< ::epl::protobuf::v1::TimestampFilter*>( - ::epl::protobuf::v1::TimestampFilter::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->proj_ = const_cast< ::epl::protobuf::v1::ProjectionData*>( - ::epl::protobuf::v1::ProjectionData::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->gsd_ = const_cast< ::epl::protobuf::v1::FloatFilter*>( - ::epl::protobuf::v1::FloatFilter::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->eo_ = const_cast< ::epl::protobuf::v1::EoRequest*>( - ::epl::protobuf::v1::EoRequest::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->view_ = const_cast< ::epl::protobuf::v1::ViewRequest*>( - ::epl::protobuf::v1::ViewRequest::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->landsat_ = const_cast< ::epl::protobuf::v1::LandsatRequest*>( - ::epl::protobuf::v1::LandsatRequest::internal_default_instance()); - ::epl::protobuf::v1::_StacRequest_default_instance_._instance.get_mutable()->mosaic_ = const_cast< ::epl::protobuf::v1::MosaicRequest*>( - ::epl::protobuf::v1::MosaicRequest::internal_default_instance()); -} class StacRequest::_Internal { public: static const ::epl::protobuf::v1::StringFilter& id_complex(const StacRequest* msg); @@ -5035,10 +4862,11 @@ StacRequest::_Internal::mosaic(const StacRequest* msg) { return *msg->mosaic_; } void StacRequest::set_allocated_id_complex(::epl::protobuf::v1::StringFilter* id_complex) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_identity(); if (id_complex) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_complex)->GetArena(); if (message_arena != submessage_arena) { id_complex = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, id_complex, submessage_arena); @@ -5050,21 +4878,24 @@ void StacRequest::set_allocated_id_complex(::epl::protobuf::v1::StringFilter* id } void StacRequest::clear_id_complex() { if (_internal_has_id_complex()) { - delete identity_.id_complex_; + if (GetArena() == nullptr) { + delete identity_.id_complex_; + } clear_has_identity(); } } void StacRequest::clear_properties() { - if (GetArenaNoVirtual() == nullptr && properties_ != nullptr) { + if (GetArena() == nullptr && properties_ != nullptr) { delete properties_; } properties_ = nullptr; } void StacRequest::set_allocated_intersects(::epl::protobuf::v1::GeometryData* intersects) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_spatial(); if (intersects) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(intersects)->GetArena(); if (message_arena != submessage_arena) { intersects = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, intersects, submessage_arena); @@ -5076,15 +4907,18 @@ void StacRequest::set_allocated_intersects(::epl::protobuf::v1::GeometryData* in } void StacRequest::clear_intersects() { if (_internal_has_intersects()) { - delete spatial_.intersects_; + if (GetArena() == nullptr) { + delete spatial_.intersects_; + } clear_has_spatial(); } } void StacRequest::set_allocated_bbox(::epl::protobuf::v1::EnvelopeData* bbox) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_spatial(); if (bbox) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bbox)->GetArena(); if (message_arena != submessage_arena) { bbox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, bbox, submessage_arena); @@ -5096,15 +4930,18 @@ void StacRequest::set_allocated_bbox(::epl::protobuf::v1::EnvelopeData* bbox) { } void StacRequest::clear_bbox() { if (_internal_has_bbox()) { - delete spatial_.bbox_; + if (GetArena() == nullptr) { + delete spatial_.bbox_; + } clear_has_spatial(); } } void StacRequest::set_allocated_geometry_request(::epl::protobuf::v1::GeometryRequest* geometry_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_spatial(); if (geometry_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(geometry_request)->GetArena(); if (message_arena != submessage_arena) { geometry_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, geometry_request, submessage_arena); @@ -5116,15 +4953,18 @@ void StacRequest::set_allocated_geometry_request(::epl::protobuf::v1::GeometryRe } void StacRequest::clear_geometry_request() { if (_internal_has_geometry_request()) { - delete spatial_.geometry_request_; + if (GetArena() == nullptr) { + delete spatial_.geometry_request_; + } clear_has_spatial(); } } void StacRequest::set_allocated_datetime(::epl::protobuf::v1::TimestampFilter* datetime) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_temporal(); if (datetime) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(datetime)->GetArena(); if (message_arena != submessage_arena) { datetime = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, datetime, submessage_arena); @@ -5136,15 +4976,18 @@ void StacRequest::set_allocated_datetime(::epl::protobuf::v1::TimestampFilter* d } void StacRequest::clear_datetime() { if (_internal_has_datetime()) { - delete temporal_.datetime_; + if (GetArena() == nullptr) { + delete temporal_.datetime_; + } clear_has_temporal(); } } void StacRequest::set_allocated_observed(::epl::protobuf::v1::TimestampFilter* observed) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_temporal(); if (observed) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(observed)->GetArena(); if (message_arena != submessage_arena) { observed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, observed, submessage_arena); @@ -5156,46 +4999,49 @@ void StacRequest::set_allocated_observed(::epl::protobuf::v1::TimestampFilter* o } void StacRequest::clear_observed() { if (_internal_has_observed()) { - delete temporal_.observed_; + if (GetArena() == nullptr) { + delete temporal_.observed_; + } clear_has_temporal(); } } void StacRequest::clear_created() { - if (GetArenaNoVirtual() == nullptr && created_ != nullptr) { + if (GetArena() == nullptr && created_ != nullptr) { delete created_; } created_ = nullptr; } void StacRequest::clear_updated() { - if (GetArenaNoVirtual() == nullptr && updated_ != nullptr) { + if (GetArena() == nullptr && updated_ != nullptr) { delete updated_; } updated_ = nullptr; } void StacRequest::clear_proj() { - if (GetArenaNoVirtual() == nullptr && proj_ != nullptr) { + if (GetArena() == nullptr && proj_ != nullptr) { delete proj_; } proj_ = nullptr; } void StacRequest::clear_gsd() { - if (GetArenaNoVirtual() == nullptr && gsd_ != nullptr) { + if (GetArena() == nullptr && gsd_ != nullptr) { delete gsd_; } gsd_ = nullptr; } -StacRequest::StacRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +StacRequest::StacRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.StacRequest) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.StacRequest) } StacRequest::StacRequest(const StacRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); collection_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_collection().empty()) { - collection_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_); + collection_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_collection(), + GetArena()); } if (from._internal_has_properties()) { properties_ = new PROTOBUF_NAMESPACE_ID::Any(*from.properties_); @@ -5295,22 +5141,24 @@ StacRequest::StacRequest(const StacRequest& from) } void StacRequest::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_StacRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - collection_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&properties_, 0, static_cast( - reinterpret_cast(&constellation_enum_) - - reinterpret_cast(&properties_)) + sizeof(constellation_enum_)); - clear_has_identity(); - clear_has_spatial(); - clear_has_temporal(); +collection_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&properties_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&constellation_enum_) - + reinterpret_cast(&properties_)) + sizeof(constellation_enum_)); +clear_has_identity(); +clear_has_spatial(); +clear_has_temporal(); } StacRequest::~StacRequest() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.StacRequest) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void StacRequest::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); collection_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete properties_; if (this != internal_default_instance()) delete created_; @@ -5332,24 +5180,27 @@ void StacRequest::SharedDtor() { } } +void StacRequest::ArenaDtor(void* object) { + StacRequest* _this = reinterpret_cast< StacRequest* >(object); + (void)_this; +} +void StacRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void StacRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StacRequest& StacRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StacRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void StacRequest::clear_identity() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.StacRequest) switch (identity_case()) { case kId: { - identity_.id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + identity_.id_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kIdComplex: { - delete identity_.id_complex_; + if (GetArena() == nullptr) { + delete identity_.id_complex_; + } break; } case IDENTITY_NOT_SET: { @@ -5363,15 +5214,21 @@ void StacRequest::clear_spatial() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.StacRequest) switch (spatial_case()) { case kIntersects: { - delete spatial_.intersects_; + if (GetArena() == nullptr) { + delete spatial_.intersects_; + } break; } case kBbox: { - delete spatial_.bbox_; + if (GetArena() == nullptr) { + delete spatial_.bbox_; + } break; } case kGeometryRequest: { - delete spatial_.geometry_request_; + if (GetArena() == nullptr) { + delete spatial_.geometry_request_; + } break; } case SPATIAL_NOT_SET: { @@ -5385,11 +5242,15 @@ void StacRequest::clear_temporal() { // @@protoc_insertion_point(one_of_clear_start:epl.protobuf.v1.StacRequest) switch (temporal_case()) { case kDatetime: { - delete temporal_.datetime_; + if (GetArena() == nullptr) { + delete temporal_.datetime_; + } break; } case kObserved: { - delete temporal_.observed_; + if (GetArena() == nullptr) { + delete temporal_.observed_; + } break; } case TEMPORAL_NOT_SET: { @@ -5406,40 +5267,40 @@ void StacRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - collection_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && properties_ != nullptr) { + collection_.ClearToEmpty(); + if (GetArena() == nullptr && properties_ != nullptr) { delete properties_; } properties_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_ != nullptr) { + if (GetArena() == nullptr && created_ != nullptr) { delete created_; } created_ = nullptr; - if (GetArenaNoVirtual() == nullptr && updated_ != nullptr) { + if (GetArena() == nullptr && updated_ != nullptr) { delete updated_; } updated_ = nullptr; - if (GetArenaNoVirtual() == nullptr && proj_ != nullptr) { + if (GetArena() == nullptr && proj_ != nullptr) { delete proj_; } proj_ = nullptr; - if (GetArenaNoVirtual() == nullptr && gsd_ != nullptr) { + if (GetArena() == nullptr && gsd_ != nullptr) { delete gsd_; } gsd_ = nullptr; - if (GetArenaNoVirtual() == nullptr && eo_ != nullptr) { + if (GetArena() == nullptr && eo_ != nullptr) { delete eo_; } eo_ = nullptr; - if (GetArenaNoVirtual() == nullptr && view_ != nullptr) { + if (GetArena() == nullptr && view_ != nullptr) { delete view_; } view_ = nullptr; - if (GetArenaNoVirtual() == nullptr && landsat_ != nullptr) { + if (GetArena() == nullptr && landsat_ != nullptr) { delete landsat_; } landsat_ = nullptr; - if (GetArenaNoVirtual() == nullptr && mosaic_ != nullptr) { + if (GetArena() == nullptr && mosaic_ != nullptr) { delete mosaic_; } mosaic_ = nullptr; @@ -5449,7 +5310,7 @@ void StacRequest::Clear() { clear_identity(); clear_spatial(); clear_temporal(); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* StacRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -5462,14 +5323,14 @@ const char* StacRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID // uint32 limit = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint64 offset = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -5564,7 +5425,7 @@ const char* StacRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID // .epl.protobuf.v1.Platform platform_enum = 15; case 15: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_platform_enum(static_cast<::epl::protobuf::v1::Platform>(val)); } else goto handle_unusual; @@ -5572,7 +5433,7 @@ const char* StacRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID // .epl.protobuf.v1.Instrument instrument_enum = 17; case 17: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_instrument_enum(static_cast<::epl::protobuf::v1::Instrument>(val)); } else goto handle_unusual; @@ -5580,7 +5441,7 @@ const char* StacRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID // .epl.protobuf.v1.Constellation constellation_enum = 19; case 19: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 152)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_constellation_enum(static_cast<::epl::protobuf::v1::Constellation>(val)); } else goto handle_unusual; @@ -5588,7 +5449,7 @@ const char* StacRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID // .epl.protobuf.v1.Mission mission_enum = 21; case 21: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_mission_enum(static_cast<::epl::protobuf::v1::Mission>(val)); } else goto handle_unusual; @@ -5634,7 +5495,9 @@ const char* StacRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -5836,7 +5699,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* StacRequest::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.StacRequest) return target; @@ -6049,13 +5912,12 @@ void StacRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void StacRequest::MergeFrom(const StacRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.StacRequest) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.collection().size() > 0) { - - collection_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_); + _internal_set_collection(from._internal_collection()); } if (from.has_properties()) { _internal_mutable_properties()->PROTOBUF_NAMESPACE_ID::Any::MergeFrom(from._internal_properties()); @@ -6167,24 +6029,14 @@ bool StacRequest::IsInitialized() const { void StacRequest::InternalSwap(StacRequest* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - collection_.Swap(&other->collection_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(properties_, other->properties_); - swap(created_, other->created_); - swap(updated_, other->updated_); - swap(proj_, other->proj_); - swap(gsd_, other->gsd_); - swap(eo_, other->eo_); - swap(view_, other->view_); - swap(landsat_, other->landsat_); - swap(mosaic_, other->mosaic_); - swap(offset_, other->offset_); - swap(limit_, other->limit_); - swap(platform_enum_, other->platform_enum_); - swap(mission_enum_, other->mission_enum_); - swap(instrument_enum_, other->instrument_enum_); - swap(constellation_enum_, other->constellation_enum_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + collection_.Swap(&other->collection_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(StacRequest, constellation_enum_) + + sizeof(StacRequest::constellation_enum_) + - PROTOBUF_FIELD_OFFSET(StacRequest, properties_)>( + reinterpret_cast(&properties_), + reinterpret_cast(&other->properties_)); swap(identity_, other->identity_); swap(spatial_, other->spatial_); swap(temporal_, other->temporal_); @@ -6200,18 +6052,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata StacRequest::GetMetadata() const { // =================================================================== -void View::InitAsDefaultInstance() { - ::epl::protobuf::v1::_View_default_instance_._instance.get_mutable()->off_nadir_ = const_cast< PROTOBUF_NAMESPACE_ID::FloatValue*>( - PROTOBUF_NAMESPACE_ID::FloatValue::internal_default_instance()); - ::epl::protobuf::v1::_View_default_instance_._instance.get_mutable()->incidence_angle_ = const_cast< PROTOBUF_NAMESPACE_ID::FloatValue*>( - PROTOBUF_NAMESPACE_ID::FloatValue::internal_default_instance()); - ::epl::protobuf::v1::_View_default_instance_._instance.get_mutable()->azimuth_ = const_cast< PROTOBUF_NAMESPACE_ID::FloatValue*>( - PROTOBUF_NAMESPACE_ID::FloatValue::internal_default_instance()); - ::epl::protobuf::v1::_View_default_instance_._instance.get_mutable()->sun_azimuth_ = const_cast< PROTOBUF_NAMESPACE_ID::FloatValue*>( - PROTOBUF_NAMESPACE_ID::FloatValue::internal_default_instance()); - ::epl::protobuf::v1::_View_default_instance_._instance.get_mutable()->sun_elevation_ = const_cast< PROTOBUF_NAMESPACE_ID::FloatValue*>( - PROTOBUF_NAMESPACE_ID::FloatValue::internal_default_instance()); -} class View::_Internal { public: static const PROTOBUF_NAMESPACE_ID::FloatValue& off_nadir(const View* msg); @@ -6242,44 +6082,44 @@ View::_Internal::sun_elevation(const View* msg) { return *msg->sun_elevation_; } void View::clear_off_nadir() { - if (GetArenaNoVirtual() == nullptr && off_nadir_ != nullptr) { + if (GetArena() == nullptr && off_nadir_ != nullptr) { delete off_nadir_; } off_nadir_ = nullptr; } void View::clear_incidence_angle() { - if (GetArenaNoVirtual() == nullptr && incidence_angle_ != nullptr) { + if (GetArena() == nullptr && incidence_angle_ != nullptr) { delete incidence_angle_; } incidence_angle_ = nullptr; } void View::clear_azimuth() { - if (GetArenaNoVirtual() == nullptr && azimuth_ != nullptr) { + if (GetArena() == nullptr && azimuth_ != nullptr) { delete azimuth_; } azimuth_ = nullptr; } void View::clear_sun_azimuth() { - if (GetArenaNoVirtual() == nullptr && sun_azimuth_ != nullptr) { + if (GetArena() == nullptr && sun_azimuth_ != nullptr) { delete sun_azimuth_; } sun_azimuth_ = nullptr; } void View::clear_sun_elevation() { - if (GetArenaNoVirtual() == nullptr && sun_elevation_ != nullptr) { + if (GetArena() == nullptr && sun_elevation_ != nullptr) { delete sun_elevation_; } sun_elevation_ = nullptr; } -View::View() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +View::View(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.View) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.View) } View::View(const View& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_off_nadir()) { off_nadir_ = new PROTOBUF_NAMESPACE_ID::FloatValue(*from.off_nadir_); } else { @@ -6309,18 +6149,20 @@ View::View(const View& from) } void View::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_View_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - ::memset(&off_nadir_, 0, static_cast( - reinterpret_cast(&sun_elevation_) - - reinterpret_cast(&off_nadir_)) + sizeof(sun_elevation_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&off_nadir_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&sun_elevation_) - + reinterpret_cast(&off_nadir_)) + sizeof(sun_elevation_)); } View::~View() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.View) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void View::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete off_nadir_; if (this != internal_default_instance()) delete incidence_angle_; if (this != internal_default_instance()) delete azimuth_; @@ -6328,14 +6170,15 @@ void View::SharedDtor() { if (this != internal_default_instance()) delete sun_elevation_; } +void View::ArenaDtor(void* object) { + View* _this = reinterpret_cast< View* >(object); + (void)_this; +} +void View::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void View::SetCachedSize(int size) const { _cached_size_.Set(size); } -const View& View::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_View_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void View::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.View) @@ -6343,27 +6186,27 @@ void View::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && off_nadir_ != nullptr) { + if (GetArena() == nullptr && off_nadir_ != nullptr) { delete off_nadir_; } off_nadir_ = nullptr; - if (GetArenaNoVirtual() == nullptr && incidence_angle_ != nullptr) { + if (GetArena() == nullptr && incidence_angle_ != nullptr) { delete incidence_angle_; } incidence_angle_ = nullptr; - if (GetArenaNoVirtual() == nullptr && azimuth_ != nullptr) { + if (GetArena() == nullptr && azimuth_ != nullptr) { delete azimuth_; } azimuth_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sun_azimuth_ != nullptr) { + if (GetArena() == nullptr && sun_azimuth_ != nullptr) { delete sun_azimuth_; } sun_azimuth_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sun_elevation_ != nullptr) { + if (GetArena() == nullptr && sun_elevation_ != nullptr) { delete sun_elevation_; } sun_elevation_ = nullptr; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* View::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -6414,7 +6257,9 @@ const char* View::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inter ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -6476,7 +6321,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* View::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.View) return target; @@ -6552,7 +6397,7 @@ void View::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void View::MergeFrom(const View& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.View) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -6593,12 +6438,13 @@ bool View::IsInitialized() const { void View::InternalSwap(View* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(off_nadir_, other->off_nadir_); - swap(incidence_angle_, other->incidence_angle_); - swap(azimuth_, other->azimuth_); - swap(sun_azimuth_, other->sun_azimuth_); - swap(sun_elevation_, other->sun_elevation_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(View, sun_elevation_) + + sizeof(View::sun_elevation_) + - PROTOBUF_FIELD_OFFSET(View, off_nadir_)>( + reinterpret_cast(&off_nadir_), + reinterpret_cast(&other->off_nadir_)); } ::PROTOBUF_NAMESPACE_ID::Metadata View::GetMetadata() const { @@ -6608,18 +6454,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata View::GetMetadata() const { // =================================================================== -void ViewRequest::InitAsDefaultInstance() { - ::epl::protobuf::v1::_ViewRequest_default_instance_._instance.get_mutable()->off_nadir_ = const_cast< ::epl::protobuf::v1::FloatFilter*>( - ::epl::protobuf::v1::FloatFilter::internal_default_instance()); - ::epl::protobuf::v1::_ViewRequest_default_instance_._instance.get_mutable()->incidence_angle_ = const_cast< ::epl::protobuf::v1::FloatFilter*>( - ::epl::protobuf::v1::FloatFilter::internal_default_instance()); - ::epl::protobuf::v1::_ViewRequest_default_instance_._instance.get_mutable()->azimuth_ = const_cast< ::epl::protobuf::v1::FloatFilter*>( - ::epl::protobuf::v1::FloatFilter::internal_default_instance()); - ::epl::protobuf::v1::_ViewRequest_default_instance_._instance.get_mutable()->sun_azimuth_ = const_cast< ::epl::protobuf::v1::FloatFilter*>( - ::epl::protobuf::v1::FloatFilter::internal_default_instance()); - ::epl::protobuf::v1::_ViewRequest_default_instance_._instance.get_mutable()->sun_elevation_ = const_cast< ::epl::protobuf::v1::FloatFilter*>( - ::epl::protobuf::v1::FloatFilter::internal_default_instance()); -} class ViewRequest::_Internal { public: static const ::epl::protobuf::v1::FloatFilter& off_nadir(const ViewRequest* msg); @@ -6650,44 +6484,44 @@ ViewRequest::_Internal::sun_elevation(const ViewRequest* msg) { return *msg->sun_elevation_; } void ViewRequest::clear_off_nadir() { - if (GetArenaNoVirtual() == nullptr && off_nadir_ != nullptr) { + if (GetArena() == nullptr && off_nadir_ != nullptr) { delete off_nadir_; } off_nadir_ = nullptr; } void ViewRequest::clear_incidence_angle() { - if (GetArenaNoVirtual() == nullptr && incidence_angle_ != nullptr) { + if (GetArena() == nullptr && incidence_angle_ != nullptr) { delete incidence_angle_; } incidence_angle_ = nullptr; } void ViewRequest::clear_azimuth() { - if (GetArenaNoVirtual() == nullptr && azimuth_ != nullptr) { + if (GetArena() == nullptr && azimuth_ != nullptr) { delete azimuth_; } azimuth_ = nullptr; } void ViewRequest::clear_sun_azimuth() { - if (GetArenaNoVirtual() == nullptr && sun_azimuth_ != nullptr) { + if (GetArena() == nullptr && sun_azimuth_ != nullptr) { delete sun_azimuth_; } sun_azimuth_ = nullptr; } void ViewRequest::clear_sun_elevation() { - if (GetArenaNoVirtual() == nullptr && sun_elevation_ != nullptr) { + if (GetArena() == nullptr && sun_elevation_ != nullptr) { delete sun_elevation_; } sun_elevation_ = nullptr; } -ViewRequest::ViewRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +ViewRequest::ViewRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.ViewRequest) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.ViewRequest) } ViewRequest::ViewRequest(const ViewRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_off_nadir()) { off_nadir_ = new ::epl::protobuf::v1::FloatFilter(*from.off_nadir_); } else { @@ -6717,18 +6551,20 @@ ViewRequest::ViewRequest(const ViewRequest& from) } void ViewRequest::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ViewRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - ::memset(&off_nadir_, 0, static_cast( - reinterpret_cast(&sun_elevation_) - - reinterpret_cast(&off_nadir_)) + sizeof(sun_elevation_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&off_nadir_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&sun_elevation_) - + reinterpret_cast(&off_nadir_)) + sizeof(sun_elevation_)); } ViewRequest::~ViewRequest() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.ViewRequest) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void ViewRequest::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete off_nadir_; if (this != internal_default_instance()) delete incidence_angle_; if (this != internal_default_instance()) delete azimuth_; @@ -6736,14 +6572,15 @@ void ViewRequest::SharedDtor() { if (this != internal_default_instance()) delete sun_elevation_; } +void ViewRequest::ArenaDtor(void* object) { + ViewRequest* _this = reinterpret_cast< ViewRequest* >(object); + (void)_this; +} +void ViewRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void ViewRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ViewRequest& ViewRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ViewRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void ViewRequest::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.ViewRequest) @@ -6751,27 +6588,27 @@ void ViewRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && off_nadir_ != nullptr) { + if (GetArena() == nullptr && off_nadir_ != nullptr) { delete off_nadir_; } off_nadir_ = nullptr; - if (GetArenaNoVirtual() == nullptr && incidence_angle_ != nullptr) { + if (GetArena() == nullptr && incidence_angle_ != nullptr) { delete incidence_angle_; } incidence_angle_ = nullptr; - if (GetArenaNoVirtual() == nullptr && azimuth_ != nullptr) { + if (GetArena() == nullptr && azimuth_ != nullptr) { delete azimuth_; } azimuth_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sun_azimuth_ != nullptr) { + if (GetArena() == nullptr && sun_azimuth_ != nullptr) { delete sun_azimuth_; } sun_azimuth_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sun_elevation_ != nullptr) { + if (GetArena() == nullptr && sun_elevation_ != nullptr) { delete sun_elevation_; } sun_elevation_ = nullptr; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* ViewRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -6822,7 +6659,9 @@ const char* ViewRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -6884,7 +6723,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* ViewRequest::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.ViewRequest) return target; @@ -6960,7 +6799,7 @@ void ViewRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void ViewRequest::MergeFrom(const ViewRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.ViewRequest) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7001,12 +6840,13 @@ bool ViewRequest::IsInitialized() const { void ViewRequest::InternalSwap(ViewRequest* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(off_nadir_, other->off_nadir_); - swap(incidence_angle_, other->incidence_angle_); - swap(azimuth_, other->azimuth_); - swap(sun_azimuth_, other->sun_azimuth_); - swap(sun_elevation_, other->sun_elevation_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ViewRequest, sun_elevation_) + + sizeof(ViewRequest::sun_elevation_) + - PROTOBUF_FIELD_OFFSET(ViewRequest, off_nadir_)>( + reinterpret_cast(&off_nadir_), + reinterpret_cast(&other->off_nadir_)); } ::PROTOBUF_NAMESPACE_ID::Metadata ViewRequest::GetMetadata() const { @@ -7016,10 +6856,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata ViewRequest::GetMetadata() const { // =================================================================== -void Sat::InitAsDefaultInstance() { - ::epl::protobuf::v1::_Sat_default_instance_._instance.get_mutable()->relative_orbit_ = const_cast< PROTOBUF_NAMESPACE_ID::UInt32Value*>( - PROTOBUF_NAMESPACE_ID::UInt32Value::internal_default_instance()); -} class Sat::_Internal { public: static const PROTOBUF_NAMESPACE_ID::UInt32Value& relative_orbit(const Sat* msg); @@ -7030,20 +6866,20 @@ Sat::_Internal::relative_orbit(const Sat* msg) { return *msg->relative_orbit_; } void Sat::clear_relative_orbit() { - if (GetArenaNoVirtual() == nullptr && relative_orbit_ != nullptr) { + if (GetArena() == nullptr && relative_orbit_ != nullptr) { delete relative_orbit_; } relative_orbit_ = nullptr; } -Sat::Sat() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Sat::Sat(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Sat) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Sat) } Sat::Sat(const Sat& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_relative_orbit()) { relative_orbit_ = new PROTOBUF_NAMESPACE_ID::UInt32Value(*from.relative_orbit_); } else { @@ -7054,29 +6890,32 @@ Sat::Sat(const Sat& from) } void Sat::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Sat_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - ::memset(&relative_orbit_, 0, static_cast( - reinterpret_cast(&orbit_state_) - - reinterpret_cast(&relative_orbit_)) + sizeof(orbit_state_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&relative_orbit_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&orbit_state_) - + reinterpret_cast(&relative_orbit_)) + sizeof(orbit_state_)); } Sat::~Sat() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Sat) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Sat::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete relative_orbit_; } +void Sat::ArenaDtor(void* object) { + Sat* _this = reinterpret_cast< Sat* >(object); + (void)_this; +} +void Sat::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Sat::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Sat& Sat::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Sat_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Sat::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Sat) @@ -7084,12 +6923,12 @@ void Sat::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && relative_orbit_ != nullptr) { + if (GetArena() == nullptr && relative_orbit_ != nullptr) { delete relative_orbit_; } relative_orbit_ = nullptr; orbit_state_ = 0; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Sat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7102,7 +6941,7 @@ const char* Sat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern // .epl.protobuf.v1.Sat.OrbitState orbit_state = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_orbit_state(static_cast<::epl::protobuf::v1::Sat_OrbitState>(val)); } else goto handle_unusual; @@ -7120,7 +6959,9 @@ const char* Sat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7157,7 +6998,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Sat::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Sat) return target; @@ -7211,7 +7052,7 @@ void Sat::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Sat::MergeFrom(const Sat& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Sat) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7243,9 +7084,13 @@ bool Sat::IsInitialized() const { void Sat::InternalSwap(Sat* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(relative_orbit_, other->relative_orbit_); - swap(orbit_state_, other->orbit_state_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Sat, orbit_state_) + + sizeof(Sat::orbit_state_) + - PROTOBUF_FIELD_OFFSET(Sat, relative_orbit_)>( + reinterpret_cast(&relative_orbit_), + reinterpret_cast(&other->relative_orbit_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Sat::GetMetadata() const { @@ -7255,21 +7100,19 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Sat::GetMetadata() const { // =================================================================== -void SatRequest::InitAsDefaultInstance() { -} class SatRequest::_Internal { public: }; -SatRequest::SatRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +SatRequest::SatRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.SatRequest) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.SatRequest) } SatRequest::SatRequest(const SatRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&orbit_state_, &from.orbit_state_, static_cast(reinterpret_cast(&relative_orbit_) - reinterpret_cast(&orbit_state_)) + sizeof(relative_orbit_)); @@ -7277,27 +7120,31 @@ SatRequest::SatRequest(const SatRequest& from) } void SatRequest::SharedCtor() { - ::memset(&orbit_state_, 0, static_cast( - reinterpret_cast(&relative_orbit_) - - reinterpret_cast(&orbit_state_)) + sizeof(relative_orbit_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&orbit_state_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&relative_orbit_) - + reinterpret_cast(&orbit_state_)) + sizeof(relative_orbit_)); } SatRequest::~SatRequest() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.SatRequest) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void SatRequest::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void SatRequest::ArenaDtor(void* object) { + SatRequest* _this = reinterpret_cast< SatRequest* >(object); + (void)_this; +} +void SatRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void SatRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const SatRequest& SatRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_SatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void SatRequest::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.SatRequest) @@ -7308,7 +7155,7 @@ void SatRequest::Clear() { ::memset(&orbit_state_, 0, static_cast( reinterpret_cast(&relative_orbit_) - reinterpret_cast(&orbit_state_)) + sizeof(relative_orbit_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* SatRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7321,7 +7168,7 @@ const char* SatRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID: // .epl.protobuf.v1.Sat.OrbitState orbit_state = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_orbit_state(static_cast<::epl::protobuf::v1::Sat_OrbitState>(val)); } else goto handle_unusual; @@ -7329,7 +7176,7 @@ const char* SatRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID: // uint32 relative_orbit = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { - relative_orbit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + relative_orbit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -7339,7 +7186,9 @@ const char* SatRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID: ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7374,7 +7223,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* SatRequest::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.SatRequest) return target; @@ -7428,7 +7277,7 @@ void SatRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void SatRequest::MergeFrom(const SatRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.SatRequest) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7460,9 +7309,13 @@ bool SatRequest::IsInitialized() const { void SatRequest::InternalSwap(SatRequest* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(orbit_state_, other->orbit_state_); - swap(relative_orbit_, other->relative_orbit_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(SatRequest, relative_orbit_) + + sizeof(SatRequest::relative_orbit_) + - PROTOBUF_FIELD_OFFSET(SatRequest, orbit_state_)>( + reinterpret_cast(&orbit_state_), + reinterpret_cast(&other->orbit_state_)); } ::PROTOBUF_NAMESPACE_ID::Metadata SatRequest::GetMetadata() const { @@ -7472,10 +7325,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata SatRequest::GetMetadata() const { // =================================================================== -void Eo::InitAsDefaultInstance() { - ::epl::protobuf::v1::_Eo_default_instance_._instance.get_mutable()->cloud_cover_ = const_cast< PROTOBUF_NAMESPACE_ID::FloatValue*>( - PROTOBUF_NAMESPACE_ID::FloatValue::internal_default_instance()); -} class Eo::_Internal { public: static const PROTOBUF_NAMESPACE_ID::FloatValue& cloud_cover(const Eo* msg); @@ -7486,20 +7335,20 @@ Eo::_Internal::cloud_cover(const Eo* msg) { return *msg->cloud_cover_; } void Eo::clear_cloud_cover() { - if (GetArenaNoVirtual() == nullptr && cloud_cover_ != nullptr) { + if (GetArena() == nullptr && cloud_cover_ != nullptr) { delete cloud_cover_; } cloud_cover_ = nullptr; } -Eo::Eo() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Eo::Eo(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Eo) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Eo) } Eo::Eo(const Eo& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_cloud_cover()) { cloud_cover_ = new PROTOBUF_NAMESPACE_ID::FloatValue(*from.cloud_cover_); } else { @@ -7510,29 +7359,32 @@ Eo::Eo(const Eo& from) } void Eo::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Eo_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - ::memset(&cloud_cover_, 0, static_cast( - reinterpret_cast(&bands_) - - reinterpret_cast(&cloud_cover_)) + sizeof(bands_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&cloud_cover_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&bands_) - + reinterpret_cast(&cloud_cover_)) + sizeof(bands_)); } Eo::~Eo() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Eo) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Eo::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete cloud_cover_; } +void Eo::ArenaDtor(void* object) { + Eo* _this = reinterpret_cast< Eo* >(object); + (void)_this; +} +void Eo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Eo::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Eo& Eo::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Eo_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Eo::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Eo) @@ -7540,12 +7392,12 @@ void Eo::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && cloud_cover_ != nullptr) { + if (GetArena() == nullptr && cloud_cover_ != nullptr) { delete cloud_cover_; } cloud_cover_ = nullptr; bands_ = 0; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Eo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7565,7 +7417,7 @@ const char* Eo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::interna // .epl.protobuf.v1.Eo.Band bands = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_bands(static_cast<::epl::protobuf::v1::Eo_Band>(val)); } else goto handle_unusual; @@ -7576,7 +7428,9 @@ const char* Eo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::interna ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7613,7 +7467,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Eo::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Eo) return target; @@ -7667,7 +7521,7 @@ void Eo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Eo::MergeFrom(const Eo& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Eo) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7699,9 +7553,13 @@ bool Eo::IsInitialized() const { void Eo::InternalSwap(Eo* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(cloud_cover_, other->cloud_cover_); - swap(bands_, other->bands_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Eo, bands_) + + sizeof(Eo::bands_) + - PROTOBUF_FIELD_OFFSET(Eo, cloud_cover_)>( + reinterpret_cast(&cloud_cover_), + reinterpret_cast(&other->cloud_cover_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Eo::GetMetadata() const { @@ -7711,10 +7569,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Eo::GetMetadata() const { // =================================================================== -void EoRequest::InitAsDefaultInstance() { - ::epl::protobuf::v1::_EoRequest_default_instance_._instance.get_mutable()->cloud_cover_ = const_cast< ::epl::protobuf::v1::FloatFilter*>( - ::epl::protobuf::v1::FloatFilter::internal_default_instance()); -} class EoRequest::_Internal { public: static const ::epl::protobuf::v1::FloatFilter& cloud_cover(const EoRequest* msg); @@ -7725,20 +7579,20 @@ EoRequest::_Internal::cloud_cover(const EoRequest* msg) { return *msg->cloud_cover_; } void EoRequest::clear_cloud_cover() { - if (GetArenaNoVirtual() == nullptr && cloud_cover_ != nullptr) { + if (GetArena() == nullptr && cloud_cover_ != nullptr) { delete cloud_cover_; } cloud_cover_ = nullptr; } -EoRequest::EoRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +EoRequest::EoRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.EoRequest) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.EoRequest) } EoRequest::EoRequest(const EoRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_cloud_cover()) { cloud_cover_ = new ::epl::protobuf::v1::FloatFilter(*from.cloud_cover_); } else { @@ -7749,29 +7603,32 @@ EoRequest::EoRequest(const EoRequest& from) } void EoRequest::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EoRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - ::memset(&cloud_cover_, 0, static_cast( - reinterpret_cast(&bands_) - - reinterpret_cast(&cloud_cover_)) + sizeof(bands_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&cloud_cover_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&bands_) - + reinterpret_cast(&cloud_cover_)) + sizeof(bands_)); } EoRequest::~EoRequest() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.EoRequest) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void EoRequest::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete cloud_cover_; } +void EoRequest::ArenaDtor(void* object) { + EoRequest* _this = reinterpret_cast< EoRequest* >(object); + (void)_this; +} +void EoRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void EoRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const EoRequest& EoRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EoRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void EoRequest::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.EoRequest) @@ -7779,12 +7636,12 @@ void EoRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && cloud_cover_ != nullptr) { + if (GetArena() == nullptr && cloud_cover_ != nullptr) { delete cloud_cover_; } cloud_cover_ = nullptr; bands_ = 0; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* EoRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -7804,7 +7661,7 @@ const char* EoRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID:: // .epl.protobuf.v1.Eo.Band bands = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_bands(static_cast<::epl::protobuf::v1::Eo_Band>(val)); } else goto handle_unusual; @@ -7815,7 +7672,9 @@ const char* EoRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID:: ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -7852,7 +7711,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* EoRequest::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.EoRequest) return target; @@ -7906,7 +7765,7 @@ void EoRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void EoRequest::MergeFrom(const EoRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.EoRequest) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7938,9 +7797,13 @@ bool EoRequest::IsInitialized() const { void EoRequest::InternalSwap(EoRequest* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(cloud_cover_, other->cloud_cover_); - swap(bands_, other->bands_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(EoRequest, bands_) + + sizeof(EoRequest::bands_) + - PROTOBUF_FIELD_OFFSET(EoRequest, cloud_cover_)>( + reinterpret_cast(&cloud_cover_), + reinterpret_cast(&other->cloud_cover_)); } ::PROTOBUF_NAMESPACE_ID::Metadata EoRequest::GetMetadata() const { @@ -7950,44 +7813,48 @@ ::PROTOBUF_NAMESPACE_ID::Metadata EoRequest::GetMetadata() const { // =================================================================== -void Asset::InitAsDefaultInstance() { -} class Asset::_Internal { public: }; -Asset::Asset() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Asset::Asset(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Asset) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Asset) } Asset::Asset(const Asset& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); href_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_href().empty()) { - href_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.href_); + href_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_href(), + GetArena()); } type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_type().empty()) { - type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.type_); + type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_type(), + GetArena()); } bucket_manager_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_bucket_manager().empty()) { - bucket_manager_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bucket_manager_); + bucket_manager_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_bucket_manager(), + GetArena()); } bucket_region_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_bucket_region().empty()) { - bucket_region_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bucket_region_); + bucket_region_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_bucket_region(), + GetArena()); } bucket_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_bucket().empty()) { - bucket_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bucket_); + bucket_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_bucket(), + GetArena()); } object_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_object_path().empty()) { - object_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.object_path_); + object_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_object_path(), + GetArena()); } ::memcpy(&eo_bands_, &from.eo_bands_, static_cast(reinterpret_cast(&requester_pays_) - @@ -7996,24 +7863,26 @@ Asset::Asset(const Asset& from) } void Asset::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Asset_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - href_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - bucket_manager_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - bucket_region_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - bucket_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - object_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&eo_bands_, 0, static_cast( - reinterpret_cast(&requester_pays_) - - reinterpret_cast(&eo_bands_)) + sizeof(requester_pays_)); +href_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +bucket_manager_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +bucket_region_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +bucket_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +object_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&eo_bands_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&requester_pays_) - + reinterpret_cast(&eo_bands_)) + sizeof(requester_pays_)); } Asset::~Asset() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Asset) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Asset::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); href_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); bucket_manager_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -8022,14 +7891,15 @@ void Asset::SharedDtor() { object_path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } +void Asset::ArenaDtor(void* object) { + Asset* _this = reinterpret_cast< Asset* >(object); + (void)_this; +} +void Asset::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Asset::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Asset& Asset::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Asset_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Asset::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Asset) @@ -8037,16 +7907,16 @@ void Asset::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - href_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - bucket_manager_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - bucket_region_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - bucket_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - object_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + href_.ClearToEmpty(); + type_.ClearToEmpty(); + bucket_manager_.ClearToEmpty(); + bucket_region_.ClearToEmpty(); + bucket_.ClearToEmpty(); + object_path_.ClearToEmpty(); ::memset(&eo_bands_, 0, static_cast( reinterpret_cast(&requester_pays_) - reinterpret_cast(&eo_bands_)) + sizeof(requester_pays_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Asset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -8077,7 +7947,7 @@ const char* Asset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inte // .epl.protobuf.v1.Eo.Band eo_bands = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_eo_bands(static_cast<::epl::protobuf::v1::Eo_Band>(val)); } else goto handle_unusual; @@ -8085,7 +7955,7 @@ const char* Asset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inte // .epl.protobuf.v1.AssetType asset_type = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_asset_type(static_cast<::epl::protobuf::v1::AssetType>(val)); } else goto handle_unusual; @@ -8093,7 +7963,7 @@ const char* Asset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inte // .epl.protobuf.v1.CloudPlatform cloud_platform = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_cloud_platform(static_cast<::epl::protobuf::v1::CloudPlatform>(val)); } else goto handle_unusual; @@ -8137,7 +8007,7 @@ const char* Asset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inte // bool requester_pays = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { - requester_pays_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + requester_pays_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -8147,7 +8017,9 @@ const char* Asset::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inte ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -8256,7 +8128,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Asset::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Asset) return target; @@ -8362,33 +8234,27 @@ void Asset::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Asset::MergeFrom(const Asset& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Asset) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.href().size() > 0) { - - href_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.href_); + _internal_set_href(from._internal_href()); } if (from.type().size() > 0) { - - type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.type_); + _internal_set_type(from._internal_type()); } if (from.bucket_manager().size() > 0) { - - bucket_manager_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bucket_manager_); + _internal_set_bucket_manager(from._internal_bucket_manager()); } if (from.bucket_region().size() > 0) { - - bucket_region_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bucket_region_); + _internal_set_bucket_region(from._internal_bucket_region()); } if (from.bucket().size() > 0) { - - bucket_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bucket_); + _internal_set_bucket(from._internal_bucket()); } if (from.object_path().size() > 0) { - - object_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.object_path_); + _internal_set_object_path(from._internal_object_path()); } if (from.eo_bands() != 0) { _internal_set_eo_bands(from._internal_eo_bands()); @@ -8424,23 +8290,19 @@ bool Asset::IsInitialized() const { void Asset::InternalSwap(Asset* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - href_.Swap(&other->href_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - type_.Swap(&other->type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - bucket_manager_.Swap(&other->bucket_manager_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - bucket_region_.Swap(&other->bucket_region_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - bucket_.Swap(&other->bucket_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - object_path_.Swap(&other->object_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(eo_bands_, other->eo_bands_); - swap(asset_type_, other->asset_type_); - swap(cloud_platform_, other->cloud_platform_); - swap(requester_pays_, other->requester_pays_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + href_.Swap(&other->href_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + type_.Swap(&other->type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + bucket_manager_.Swap(&other->bucket_manager_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + bucket_region_.Swap(&other->bucket_region_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + bucket_.Swap(&other->bucket_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + object_path_.Swap(&other->object_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Asset, requester_pays_) + + sizeof(Asset::requester_pays_) + - PROTOBUF_FIELD_OFFSET(Asset, eo_bands_)>( + reinterpret_cast(&eo_bands_), + reinterpret_cast(&other->eo_bands_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Asset::GetMetadata() const { @@ -8450,12 +8312,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Asset::GetMetadata() const { // =================================================================== -void DatetimeRange::InitAsDefaultInstance() { - ::epl::protobuf::v1::_DatetimeRange_default_instance_._instance.get_mutable()->start_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); - ::epl::protobuf::v1::_DatetimeRange_default_instance_._instance.get_mutable()->end_ = const_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>( - PROTOBUF_NAMESPACE_ID::Timestamp::internal_default_instance()); -} class DatetimeRange::_Internal { public: static const PROTOBUF_NAMESPACE_ID::Timestamp& start(const DatetimeRange* msg); @@ -8471,26 +8327,26 @@ DatetimeRange::_Internal::end(const DatetimeRange* msg) { return *msg->end_; } void DatetimeRange::clear_start() { - if (GetArenaNoVirtual() == nullptr && start_ != nullptr) { + if (GetArena() == nullptr && start_ != nullptr) { delete start_; } start_ = nullptr; } void DatetimeRange::clear_end() { - if (GetArenaNoVirtual() == nullptr && end_ != nullptr) { + if (GetArena() == nullptr && end_ != nullptr) { delete end_; } end_ = nullptr; } -DatetimeRange::DatetimeRange() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +DatetimeRange::DatetimeRange(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.DatetimeRange) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.DatetimeRange) } DatetimeRange::DatetimeRange(const DatetimeRange& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_start()) { start_ = new PROTOBUF_NAMESPACE_ID::Timestamp(*from.start_); } else { @@ -8505,30 +8361,33 @@ DatetimeRange::DatetimeRange(const DatetimeRange& from) } void DatetimeRange::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DatetimeRange_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - ::memset(&start_, 0, static_cast( - reinterpret_cast(&end_) - - reinterpret_cast(&start_)) + sizeof(end_)); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&start_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&end_) - + reinterpret_cast(&start_)) + sizeof(end_)); } DatetimeRange::~DatetimeRange() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.DatetimeRange) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void DatetimeRange::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete start_; if (this != internal_default_instance()) delete end_; } +void DatetimeRange::ArenaDtor(void* object) { + DatetimeRange* _this = reinterpret_cast< DatetimeRange* >(object); + (void)_this; +} +void DatetimeRange::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void DatetimeRange::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DatetimeRange& DatetimeRange::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DatetimeRange_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void DatetimeRange::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.DatetimeRange) @@ -8536,15 +8395,15 @@ void DatetimeRange::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaNoVirtual() == nullptr && start_ != nullptr) { + if (GetArena() == nullptr && start_ != nullptr) { delete start_; } start_ = nullptr; - if (GetArenaNoVirtual() == nullptr && end_ != nullptr) { + if (GetArena() == nullptr && end_ != nullptr) { delete end_; } end_ = nullptr; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* DatetimeRange::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -8574,7 +8433,9 @@ const char* DatetimeRange::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -8612,7 +8473,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* DatetimeRange::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.DatetimeRange) return target; @@ -8667,7 +8528,7 @@ void DatetimeRange::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void DatetimeRange::MergeFrom(const DatetimeRange& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.DatetimeRange) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -8699,9 +8560,13 @@ bool DatetimeRange::IsInitialized() const { void DatetimeRange::InternalSwap(DatetimeRange* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(start_, other->start_); - swap(end_, other->end_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DatetimeRange, end_) + + sizeof(DatetimeRange::end_) + - PROTOBUF_FIELD_OFFSET(DatetimeRange, start_)>( + reinterpret_cast(&start_), + reinterpret_cast(&other->start_)); } ::PROTOBUF_NAMESPACE_ID::Metadata DatetimeRange::GetMetadata() const { @@ -8711,28 +8576,28 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DatetimeRange::GetMetadata() const { // =================================================================== -void StacDbResponse::InitAsDefaultInstance() { -} class StacDbResponse::_Internal { public: }; -StacDbResponse::StacDbResponse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +StacDbResponse::StacDbResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.StacDbResponse) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.StacDbResponse) } StacDbResponse::StacDbResponse(const StacDbResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_status().empty()) { - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); + status_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_status(), + GetArena()); } data_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_data_id().empty()) { - data_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.data_id_); + data_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_data_id(), + GetArena()); } ::memcpy(&count_, &from.count_, static_cast(reinterpret_cast(&status_code_) - @@ -8741,32 +8606,35 @@ StacDbResponse::StacDbResponse(const StacDbResponse& from) } void StacDbResponse::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_StacDbResponse_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - data_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&count_, 0, static_cast( - reinterpret_cast(&status_code_) - - reinterpret_cast(&count_)) + sizeof(status_code_)); +status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +data_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&count_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&status_code_) - + reinterpret_cast(&count_)) + sizeof(status_code_)); } StacDbResponse::~StacDbResponse() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.StacDbResponse) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void StacDbResponse::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); data_id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } +void StacDbResponse::ArenaDtor(void* object) { + StacDbResponse* _this = reinterpret_cast< StacDbResponse* >(object); + (void)_this; +} +void StacDbResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void StacDbResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StacDbResponse& StacDbResponse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StacDbResponse_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void StacDbResponse::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.StacDbResponse) @@ -8774,12 +8642,12 @@ void StacDbResponse::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - data_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + status_.ClearToEmpty(); + data_id_.ClearToEmpty(); ::memset(&count_, 0, static_cast( reinterpret_cast(&status_code_) - reinterpret_cast(&count_)) + sizeof(status_code_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* StacDbResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -8801,7 +8669,7 @@ const char* StacDbResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE // int32 status_code = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - status_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + status_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -8817,7 +8685,7 @@ const char* StacDbResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE // uint64 count = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -8827,7 +8695,9 @@ const char* StacDbResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -8881,7 +8751,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* StacDbResponse::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.StacDbResponse) return target; @@ -8950,17 +8820,15 @@ void StacDbResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void StacDbResponse::MergeFrom(const StacDbResponse& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.StacDbResponse) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.status().size() > 0) { - - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); + _internal_set_status(from._internal_status()); } if (from.data_id().size() > 0) { - - data_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.data_id_); + _internal_set_data_id(from._internal_data_id()); } if (from.count() != 0) { _internal_set_count(from._internal_count()); @@ -8990,13 +8858,15 @@ bool StacDbResponse::IsInitialized() const { void StacDbResponse::InternalSwap(StacDbResponse* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - data_id_.Swap(&other->data_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(count_, other->count_); - swap(status_code_, other->status_code_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + data_id_.Swap(&other->data_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(StacDbResponse, status_code_) + + sizeof(StacDbResponse::status_code_) + - PROTOBUF_FIELD_OFFSET(StacDbResponse, count_)>( + reinterpret_cast(&count_), + reinterpret_cast(&other->count_)); } ::PROTOBUF_NAMESPACE_ID::Metadata StacDbResponse::GetMetadata() const { @@ -9006,45 +8876,46 @@ ::PROTOBUF_NAMESPACE_ID::Metadata StacDbResponse::GetMetadata() const { // =================================================================== -void Sar::InitAsDefaultInstance() { -} class Sar::_Internal { public: }; -Sar::Sar() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Sar::Sar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Sar) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Sar) } Sar::Sar(const Sar& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); platform_ = from.platform_; // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.Sar) } void Sar::SharedCtor() { - platform_ = 0; +platform_ = 0; } Sar::~Sar() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Sar) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Sar::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); } +void Sar::ArenaDtor(void* object) { + Sar* _this = reinterpret_cast< Sar* >(object); + (void)_this; +} +void Sar::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Sar::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Sar& Sar::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Sar_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Sar::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Sar) @@ -9053,7 +8924,7 @@ void Sar::Clear() { (void) cached_has_bits; platform_ = 0; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Sar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -9066,7 +8937,7 @@ const char* Sar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern // .epl.protobuf.v1.Sar.Platform platform = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_platform(static_cast<::epl::protobuf::v1::Sar_Platform>(val)); } else goto handle_unusual; @@ -9077,7 +8948,9 @@ const char* Sar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -9106,7 +8979,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Sar::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Sar) return target; @@ -9153,7 +9026,7 @@ void Sar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Sar::MergeFrom(const Sar& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Sar) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -9182,7 +9055,7 @@ bool Sar::IsInitialized() const { void Sar::InternalSwap(Sar* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(platform_, other->platform_); } @@ -9193,10 +9066,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Sar::GetMetadata() const { // =================================================================== -void Landsat::InitAsDefaultInstance() { - ::epl::protobuf::v1::_Landsat_default_instance_._instance.get_mutable()->cloud_cover_land_ = const_cast< PROTOBUF_NAMESPACE_ID::FloatValue*>( - PROTOBUF_NAMESPACE_ID::FloatValue::internal_default_instance()); -} class Landsat::_Internal { public: static const PROTOBUF_NAMESPACE_ID::FloatValue& cloud_cover_land(const Landsat* msg); @@ -9207,27 +9076,29 @@ Landsat::_Internal::cloud_cover_land(const Landsat* msg) { return *msg->cloud_cover_land_; } void Landsat::clear_cloud_cover_land() { - if (GetArenaNoVirtual() == nullptr && cloud_cover_land_ != nullptr) { + if (GetArena() == nullptr && cloud_cover_land_ != nullptr) { delete cloud_cover_land_; } cloud_cover_land_ = nullptr; } -Landsat::Landsat() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Landsat::Landsat(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Landsat) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Landsat) } Landsat::Landsat(const Landsat& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); scene_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_scene_id().empty()) { - scene_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.scene_id_); + scene_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_scene_id(), + GetArena()); } product_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_product_id().empty()) { - product_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.product_id_); + product_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_product_id(), + GetArena()); } if (from._internal_has_cloud_cover_land()) { cloud_cover_land_ = new PROTOBUF_NAMESPACE_ID::FloatValue(*from.cloud_cover_land_); @@ -9241,33 +9112,36 @@ Landsat::Landsat(const Landsat& from) } void Landsat::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Landsat_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - scene_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - product_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&cloud_cover_land_, 0, static_cast( - reinterpret_cast(&wrs_type_) - - reinterpret_cast(&cloud_cover_land_)) + sizeof(wrs_type_)); +scene_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +product_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&cloud_cover_land_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&wrs_type_) - + reinterpret_cast(&cloud_cover_land_)) + sizeof(wrs_type_)); } Landsat::~Landsat() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Landsat) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Landsat::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); scene_id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); product_id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete cloud_cover_land_; } +void Landsat::ArenaDtor(void* object) { + Landsat* _this = reinterpret_cast< Landsat* >(object); + (void)_this; +} +void Landsat::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Landsat::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Landsat& Landsat::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Landsat_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Landsat::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Landsat) @@ -9275,16 +9149,16 @@ void Landsat::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - scene_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - product_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && cloud_cover_land_ != nullptr) { + scene_id_.ClearToEmpty(); + product_id_.ClearToEmpty(); + if (GetArena() == nullptr && cloud_cover_land_ != nullptr) { delete cloud_cover_land_; } cloud_cover_land_ = nullptr; ::memset(&processing_level_, 0, static_cast( reinterpret_cast(&wrs_type_) - reinterpret_cast(&processing_level_)) + sizeof(wrs_type_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Landsat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -9315,7 +9189,7 @@ const char* Landsat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in // .epl.protobuf.v1.Landsat.ProcessingLevel processing_level = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_processing_level(static_cast<::epl::protobuf::v1::Landsat_ProcessingLevel>(val)); } else goto handle_unusual; @@ -9323,14 +9197,14 @@ const char* Landsat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in // int32 wrs_path = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - wrs_path_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + wrs_path_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // int32 wrs_row = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - wrs_row_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + wrs_row_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -9344,7 +9218,7 @@ const char* Landsat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in // .epl.protobuf.v1.Landsat.WRSType wrs_type = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_wrs_type(static_cast<::epl::protobuf::v1::Landsat_WRSType>(val)); } else goto handle_unusual; @@ -9355,7 +9229,9 @@ const char* Landsat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -9431,7 +9307,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Landsat::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Landsat) return target; @@ -9519,17 +9395,15 @@ void Landsat::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Landsat::MergeFrom(const Landsat& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Landsat) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.scene_id().size() > 0) { - - scene_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.scene_id_); + _internal_set_scene_id(from._internal_scene_id()); } if (from.product_id().size() > 0) { - - product_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.product_id_); + _internal_set_product_id(from._internal_product_id()); } if (from.has_cloud_cover_land()) { _internal_mutable_cloud_cover_land()->PROTOBUF_NAMESPACE_ID::FloatValue::MergeFrom(from._internal_cloud_cover_land()); @@ -9568,16 +9442,15 @@ bool Landsat::IsInitialized() const { void Landsat::InternalSwap(Landsat* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - scene_id_.Swap(&other->scene_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - product_id_.Swap(&other->product_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(cloud_cover_land_, other->cloud_cover_land_); - swap(processing_level_, other->processing_level_); - swap(wrs_path_, other->wrs_path_); - swap(wrs_row_, other->wrs_row_); - swap(wrs_type_, other->wrs_type_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + scene_id_.Swap(&other->scene_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + product_id_.Swap(&other->product_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Landsat, wrs_type_) + + sizeof(Landsat::wrs_type_) + - PROTOBUF_FIELD_OFFSET(Landsat, cloud_cover_land_)>( + reinterpret_cast(&cloud_cover_land_), + reinterpret_cast(&other->cloud_cover_land_)); } ::PROTOBUF_NAMESPACE_ID::Metadata Landsat::GetMetadata() const { @@ -9587,10 +9460,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Landsat::GetMetadata() const { // =================================================================== -void LandsatRequest::InitAsDefaultInstance() { - ::epl::protobuf::v1::_LandsatRequest_default_instance_._instance.get_mutable()->cloud_cover_land_ = const_cast< ::epl::protobuf::v1::FloatFilter*>( - ::epl::protobuf::v1::FloatFilter::internal_default_instance()); -} class LandsatRequest::_Internal { public: static const ::epl::protobuf::v1::FloatFilter& cloud_cover_land(const LandsatRequest* msg); @@ -9601,27 +9470,29 @@ LandsatRequest::_Internal::cloud_cover_land(const LandsatRequest* msg) { return *msg->cloud_cover_land_; } void LandsatRequest::clear_cloud_cover_land() { - if (GetArenaNoVirtual() == nullptr && cloud_cover_land_ != nullptr) { + if (GetArena() == nullptr && cloud_cover_land_ != nullptr) { delete cloud_cover_land_; } cloud_cover_land_ = nullptr; } -LandsatRequest::LandsatRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +LandsatRequest::LandsatRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.LandsatRequest) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.LandsatRequest) } LandsatRequest::LandsatRequest(const LandsatRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); scene_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_scene_id().empty()) { - scene_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.scene_id_); + scene_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_scene_id(), + GetArena()); } product_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_product_id().empty()) { - product_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.product_id_); + product_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_product_id(), + GetArena()); } if (from._internal_has_cloud_cover_land()) { cloud_cover_land_ = new ::epl::protobuf::v1::FloatFilter(*from.cloud_cover_land_); @@ -9635,33 +9506,36 @@ LandsatRequest::LandsatRequest(const LandsatRequest& from) } void LandsatRequest::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_LandsatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - scene_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - product_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&cloud_cover_land_, 0, static_cast( - reinterpret_cast(&wrs_row_) - - reinterpret_cast(&cloud_cover_land_)) + sizeof(wrs_row_)); +scene_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +product_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&cloud_cover_land_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&wrs_row_) - + reinterpret_cast(&cloud_cover_land_)) + sizeof(wrs_row_)); } LandsatRequest::~LandsatRequest() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.LandsatRequest) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void LandsatRequest::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); scene_id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); product_id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete cloud_cover_land_; } +void LandsatRequest::ArenaDtor(void* object) { + LandsatRequest* _this = reinterpret_cast< LandsatRequest* >(object); + (void)_this; +} +void LandsatRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void LandsatRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const LandsatRequest& LandsatRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_LandsatRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void LandsatRequest::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.LandsatRequest) @@ -9669,16 +9543,16 @@ void LandsatRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - scene_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - product_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && cloud_cover_land_ != nullptr) { + scene_id_.ClearToEmpty(); + product_id_.ClearToEmpty(); + if (GetArena() == nullptr && cloud_cover_land_ != nullptr) { delete cloud_cover_land_; } cloud_cover_land_ = nullptr; ::memset(&processing_level_, 0, static_cast( reinterpret_cast(&wrs_row_) - reinterpret_cast(&processing_level_)) + sizeof(wrs_row_)); - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* LandsatRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -9709,7 +9583,7 @@ const char* LandsatRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE // .epl.protobuf.v1.Landsat.ProcessingLevel processing_level = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); _internal_set_processing_level(static_cast<::epl::protobuf::v1::Landsat_ProcessingLevel>(val)); } else goto handle_unusual; @@ -9717,14 +9591,14 @@ const char* LandsatRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE // int32 wrs_path = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - wrs_path_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + wrs_path_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // int32 wrs_row = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - wrs_row_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + wrs_row_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; @@ -9741,7 +9615,9 @@ const char* LandsatRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -9810,7 +9686,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* LandsatRequest::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.LandsatRequest) return target; @@ -9892,17 +9768,15 @@ void LandsatRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void LandsatRequest::MergeFrom(const LandsatRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.LandsatRequest) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.scene_id().size() > 0) { - - scene_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.scene_id_); + _internal_set_scene_id(from._internal_scene_id()); } if (from.product_id().size() > 0) { - - product_id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.product_id_); + _internal_set_product_id(from._internal_product_id()); } if (from.has_cloud_cover_land()) { _internal_mutable_cloud_cover_land()->::epl::protobuf::v1::FloatFilter::MergeFrom(from._internal_cloud_cover_land()); @@ -9938,15 +9812,15 @@ bool LandsatRequest::IsInitialized() const { void LandsatRequest::InternalSwap(LandsatRequest* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - scene_id_.Swap(&other->scene_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - product_id_.Swap(&other->product_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(cloud_cover_land_, other->cloud_cover_land_); - swap(processing_level_, other->processing_level_); - swap(wrs_path_, other->wrs_path_); - swap(wrs_row_, other->wrs_row_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + scene_id_.Swap(&other->scene_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + product_id_.Swap(&other->product_id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(LandsatRequest, wrs_row_) + + sizeof(LandsatRequest::wrs_row_) + - PROTOBUF_FIELD_OFFSET(LandsatRequest, cloud_cover_land_)>( + reinterpret_cast(&cloud_cover_land_), + reinterpret_cast(&other->cloud_cover_land_)); } ::PROTOBUF_NAMESPACE_ID::Metadata LandsatRequest::GetMetadata() const { @@ -9956,10 +9830,6 @@ ::PROTOBUF_NAMESPACE_ID::Metadata LandsatRequest::GetMetadata() const { // =================================================================== -void Mosaic::InitAsDefaultInstance() { - ::epl::protobuf::v1::_Mosaic_default_instance_._instance.get_mutable()->observation_range_ = const_cast< ::epl::protobuf::v1::DatetimeRange*>( - ::epl::protobuf::v1::DatetimeRange::internal_default_instance()); -} class Mosaic::_Internal { public: static const ::epl::protobuf::v1::DatetimeRange& observation_range(const Mosaic* msg); @@ -9969,24 +9839,28 @@ const ::epl::protobuf::v1::DatetimeRange& Mosaic::_Internal::observation_range(const Mosaic* msg) { return *msg->observation_range_; } -Mosaic::Mosaic() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +Mosaic::Mosaic(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + zooms_(arena), + provenance_ids_(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.Mosaic) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.Mosaic) } Mosaic::Mosaic(const Mosaic& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), zooms_(from.zooms_), provenance_ids_(from.provenance_ids_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_name().empty()) { - name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), + GetArena()); } quad_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_quad_key().empty()) { - quad_key_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.quad_key_); + quad_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_quad_key(), + GetArena()); } if (from._internal_has_observation_range()) { observation_range_ = new ::epl::protobuf::v1::DatetimeRange(*from.observation_range_); @@ -9997,31 +9871,33 @@ Mosaic::Mosaic(const Mosaic& from) } void Mosaic::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Mosaic_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - quad_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - observation_range_ = nullptr; +name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +quad_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +observation_range_ = nullptr; } Mosaic::~Mosaic() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.Mosaic) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Mosaic::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); quad_key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete observation_range_; } +void Mosaic::ArenaDtor(void* object) { + Mosaic* _this = reinterpret_cast< Mosaic* >(object); + (void)_this; +} +void Mosaic::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void Mosaic::SetCachedSize(int size) const { _cached_size_.Set(size); } -const Mosaic& Mosaic::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Mosaic_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void Mosaic::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.Mosaic) @@ -10031,13 +9907,13 @@ void Mosaic::Clear() { zooms_.Clear(); provenance_ids_.Clear(); - name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - quad_key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && observation_range_ != nullptr) { + name_.ClearToEmpty(); + quad_key_.ClearToEmpty(); + if (GetArena() == nullptr && observation_range_ != nullptr) { delete observation_range_; } observation_range_ = nullptr; - _internal_metadata_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* Mosaic::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -10071,7 +9947,7 @@ const char* Mosaic::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_zooms(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24) { - _internal_add_zooms(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + _internal_add_zooms(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; @@ -10102,7 +9978,9 @@ const char* Mosaic::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -10171,7 +10049,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* Mosaic::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.Mosaic) return target; @@ -10256,19 +10134,17 @@ void Mosaic::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Mosaic::MergeFrom(const Mosaic& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.Mosaic) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; zooms_.MergeFrom(from.zooms_); provenance_ids_.MergeFrom(from.provenance_ids_); if (from.name().size() > 0) { - - name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); + _internal_set_name(from._internal_name()); } if (from.quad_key().size() > 0) { - - quad_key_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.quad_key_); + _internal_set_quad_key(from._internal_quad_key()); } if (from.has_observation_range()) { _internal_mutable_observation_range()->::epl::protobuf::v1::DatetimeRange::MergeFrom(from._internal_observation_range()); @@ -10295,13 +10171,11 @@ bool Mosaic::IsInitialized() const { void Mosaic::InternalSwap(Mosaic* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); zooms_.InternalSwap(&other->zooms_); provenance_ids_.InternalSwap(&other->provenance_ids_); - name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - quad_key_.Swap(&other->quad_key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); + name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + quad_key_.Swap(&other->quad_key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); swap(observation_range_, other->observation_range_); } @@ -10312,56 +10186,58 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Mosaic::GetMetadata() const { // =================================================================== -void MosaicRequest::InitAsDefaultInstance() { -} class MosaicRequest::_Internal { public: }; -MosaicRequest::MosaicRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { +MosaicRequest::MosaicRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - // @@protoc_insertion_point(constructor:epl.protobuf.v1.MosaicRequest) + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:epl.protobuf.v1.MosaicRequest) } MosaicRequest::MosaicRequest(const MosaicRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_name().empty()) { - name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), + GetArena()); } quad_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_quad_key().empty()) { - quad_key_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.quad_key_); + quad_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_quad_key(), + GetArena()); } // @@protoc_insertion_point(copy_constructor:epl.protobuf.v1.MosaicRequest) } void MosaicRequest::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_MosaicRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - quad_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +quad_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } MosaicRequest::~MosaicRequest() { // @@protoc_insertion_point(destructor:epl.protobuf.v1.MosaicRequest) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void MosaicRequest::SharedDtor() { + GOOGLE_DCHECK(GetArena() == nullptr); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); quad_key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } +void MosaicRequest::ArenaDtor(void* object) { + MosaicRequest* _this = reinterpret_cast< MosaicRequest* >(object); + (void)_this; +} +void MosaicRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} void MosaicRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const MosaicRequest& MosaicRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_MosaicRequest_epl_2fprotobuf_2fv1_2fstac_2eproto.base); - return *internal_default_instance(); -} - void MosaicRequest::Clear() { // @@protoc_insertion_point(message_clear_start:epl.protobuf.v1.MosaicRequest) @@ -10369,9 +10245,9 @@ void MosaicRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - quad_key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); + name_.ClearToEmpty(); + quad_key_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* MosaicRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { @@ -10405,7 +10281,9 @@ const char* MosaicRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ ctx->SetLastTag(tag); goto success; } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); CHK_(ptr != nullptr); continue; } @@ -10447,7 +10325,7 @@ ::PROTOBUF_NAMESPACE_ID::uint8* MosaicRequest::_InternalSerialize( if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:epl.protobuf.v1.MosaicRequest) return target; @@ -10502,17 +10380,15 @@ void MosaicRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void MosaicRequest::MergeFrom(const MosaicRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:epl.protobuf.v1.MosaicRequest) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.name().size() > 0) { - - name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); + _internal_set_name(from._internal_name()); } if (from.quad_key().size() > 0) { - - quad_key_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.quad_key_); + _internal_set_quad_key(from._internal_quad_key()); } } @@ -10536,11 +10412,9 @@ bool MosaicRequest::IsInitialized() const { void MosaicRequest::InternalSwap(MosaicRequest* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - quad_key_.Swap(&other->quad_key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + quad_key_.Swap(&other->quad_key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } ::PROTOBUF_NAMESPACE_ID::Metadata MosaicRequest::GetMetadata() const { @@ -10554,76 +10428,76 @@ ::PROTOBUF_NAMESPACE_ID::Metadata MosaicRequest::GetMetadata() const { } // namespace epl PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Collection_SummariesEntry_DoNotUse* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Collection_SummariesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Collection_SummariesEntry_DoNotUse >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Collection_SummariesEntry_DoNotUse >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Collection* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Collection >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Collection >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Collection >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::CollectionRequest* Arena::CreateMaybeMessage< ::epl::protobuf::v1::CollectionRequest >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::CollectionRequest >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::CollectionRequest >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Stats* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Stats >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Stats >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Stats >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Extent* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Extent >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Extent >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Extent >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Interval* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Interval >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Interval >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Interval >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Provider* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Provider >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Provider >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Provider >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::StacItem_AssetsEntry_DoNotUse* Arena::CreateMaybeMessage< ::epl::protobuf::v1::StacItem_AssetsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::StacItem_AssetsEntry_DoNotUse >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::StacItem_AssetsEntry_DoNotUse >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::StacItem* Arena::CreateMaybeMessage< ::epl::protobuf::v1::StacItem >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::StacItem >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::StacItem >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::StacRequest* Arena::CreateMaybeMessage< ::epl::protobuf::v1::StacRequest >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::StacRequest >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::StacRequest >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::View* Arena::CreateMaybeMessage< ::epl::protobuf::v1::View >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::View >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::View >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::ViewRequest* Arena::CreateMaybeMessage< ::epl::protobuf::v1::ViewRequest >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::ViewRequest >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::ViewRequest >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Sat* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Sat >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Sat >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Sat >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::SatRequest* Arena::CreateMaybeMessage< ::epl::protobuf::v1::SatRequest >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::SatRequest >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::SatRequest >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Eo* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Eo >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Eo >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Eo >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::EoRequest* Arena::CreateMaybeMessage< ::epl::protobuf::v1::EoRequest >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::EoRequest >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::EoRequest >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Asset* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Asset >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Asset >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Asset >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::DatetimeRange* Arena::CreateMaybeMessage< ::epl::protobuf::v1::DatetimeRange >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::DatetimeRange >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::DatetimeRange >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::StacDbResponse* Arena::CreateMaybeMessage< ::epl::protobuf::v1::StacDbResponse >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::StacDbResponse >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::StacDbResponse >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Sar* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Sar >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Sar >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Sar >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Landsat* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Landsat >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Landsat >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Landsat >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::LandsatRequest* Arena::CreateMaybeMessage< ::epl::protobuf::v1::LandsatRequest >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::LandsatRequest >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::LandsatRequest >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::Mosaic* Arena::CreateMaybeMessage< ::epl::protobuf::v1::Mosaic >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::Mosaic >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::Mosaic >(arena); } template<> PROTOBUF_NOINLINE ::epl::protobuf::v1::MosaicRequest* Arena::CreateMaybeMessage< ::epl::protobuf::v1::MosaicRequest >(Arena* arena) { - return Arena::CreateInternal< ::epl::protobuf::v1::MosaicRequest >(arena); + return Arena::CreateMessageInternal< ::epl::protobuf::v1::MosaicRequest >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/cpp/protobuf-lib/epl/protobuf/v1/stac.pb.h b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac.pb.h similarity index 76% rename from cpp/protobuf-lib/epl/protobuf/v1/stac.pb.h rename to cpp/epl-protobuf-v1/epl/protobuf/v1/stac.pb.h index 7af380f..29bb1f8 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/stac.pb.h +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac.pb.h @@ -8,12 +8,12 @@ #include #include -#if PROTOBUF_VERSION < 3011000 +#if PROTOBUF_VERSION < 3015000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3011002 < PROTOBUF_MIN_PROTOC_VERSION +#if 3015002 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -25,8 +25,7 @@ #include #include #include -#include -#include +#include #include #include #include // IWYU pragma: export @@ -54,7 +53,7 @@ PROTOBUF_NAMESPACE_CLOSE struct TableStruct_epl_2fprotobuf_2fv1_2fstac_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] + static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[24] PROTOBUF_SECTION_VARIABLE(protodesc_cold); @@ -63,80 +62,81 @@ struct TableStruct_epl_2fprotobuf_2fv1_2fstac_2eproto { static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto; +::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(int index); namespace epl { namespace protobuf { namespace v1 { class Asset; -class AssetDefaultTypeInternal; +struct AssetDefaultTypeInternal; extern AssetDefaultTypeInternal _Asset_default_instance_; class Collection; -class CollectionDefaultTypeInternal; +struct CollectionDefaultTypeInternal; extern CollectionDefaultTypeInternal _Collection_default_instance_; class CollectionRequest; -class CollectionRequestDefaultTypeInternal; +struct CollectionRequestDefaultTypeInternal; extern CollectionRequestDefaultTypeInternal _CollectionRequest_default_instance_; class Collection_SummariesEntry_DoNotUse; -class Collection_SummariesEntry_DoNotUseDefaultTypeInternal; +struct Collection_SummariesEntry_DoNotUseDefaultTypeInternal; extern Collection_SummariesEntry_DoNotUseDefaultTypeInternal _Collection_SummariesEntry_DoNotUse_default_instance_; class DatetimeRange; -class DatetimeRangeDefaultTypeInternal; +struct DatetimeRangeDefaultTypeInternal; extern DatetimeRangeDefaultTypeInternal _DatetimeRange_default_instance_; class Eo; -class EoDefaultTypeInternal; +struct EoDefaultTypeInternal; extern EoDefaultTypeInternal _Eo_default_instance_; class EoRequest; -class EoRequestDefaultTypeInternal; +struct EoRequestDefaultTypeInternal; extern EoRequestDefaultTypeInternal _EoRequest_default_instance_; class Extent; -class ExtentDefaultTypeInternal; +struct ExtentDefaultTypeInternal; extern ExtentDefaultTypeInternal _Extent_default_instance_; class Interval; -class IntervalDefaultTypeInternal; +struct IntervalDefaultTypeInternal; extern IntervalDefaultTypeInternal _Interval_default_instance_; class Landsat; -class LandsatDefaultTypeInternal; +struct LandsatDefaultTypeInternal; extern LandsatDefaultTypeInternal _Landsat_default_instance_; class LandsatRequest; -class LandsatRequestDefaultTypeInternal; +struct LandsatRequestDefaultTypeInternal; extern LandsatRequestDefaultTypeInternal _LandsatRequest_default_instance_; class Mosaic; -class MosaicDefaultTypeInternal; +struct MosaicDefaultTypeInternal; extern MosaicDefaultTypeInternal _Mosaic_default_instance_; class MosaicRequest; -class MosaicRequestDefaultTypeInternal; +struct MosaicRequestDefaultTypeInternal; extern MosaicRequestDefaultTypeInternal _MosaicRequest_default_instance_; class Provider; -class ProviderDefaultTypeInternal; +struct ProviderDefaultTypeInternal; extern ProviderDefaultTypeInternal _Provider_default_instance_; class Sar; -class SarDefaultTypeInternal; +struct SarDefaultTypeInternal; extern SarDefaultTypeInternal _Sar_default_instance_; class Sat; -class SatDefaultTypeInternal; +struct SatDefaultTypeInternal; extern SatDefaultTypeInternal _Sat_default_instance_; class SatRequest; -class SatRequestDefaultTypeInternal; +struct SatRequestDefaultTypeInternal; extern SatRequestDefaultTypeInternal _SatRequest_default_instance_; class StacDbResponse; -class StacDbResponseDefaultTypeInternal; +struct StacDbResponseDefaultTypeInternal; extern StacDbResponseDefaultTypeInternal _StacDbResponse_default_instance_; class StacItem; -class StacItemDefaultTypeInternal; +struct StacItemDefaultTypeInternal; extern StacItemDefaultTypeInternal _StacItem_default_instance_; class StacItem_AssetsEntry_DoNotUse; -class StacItem_AssetsEntry_DoNotUseDefaultTypeInternal; +struct StacItem_AssetsEntry_DoNotUseDefaultTypeInternal; extern StacItem_AssetsEntry_DoNotUseDefaultTypeInternal _StacItem_AssetsEntry_DoNotUse_default_instance_; class StacRequest; -class StacRequestDefaultTypeInternal; +struct StacRequestDefaultTypeInternal; extern StacRequestDefaultTypeInternal _StacRequest_default_instance_; class Stats; -class StatsDefaultTypeInternal; +struct StatsDefaultTypeInternal; extern StatsDefaultTypeInternal _Stats_default_instance_; class View; -class ViewDefaultTypeInternal; +struct ViewDefaultTypeInternal; extern ViewDefaultTypeInternal _View_default_instance_; class ViewRequest; -class ViewRequestDefaultTypeInternal; +struct ViewRequestDefaultTypeInternal; extern ViewRequestDefaultTypeInternal _ViewRequest_default_instance_; } // namespace v1 } // namespace protobuf @@ -194,7 +194,7 @@ inline const std::string& Sat_OrbitState_Name(T enum_t_value) { Sat_OrbitState_descriptor(), enum_t_value); } inline bool Sat_OrbitState_Parse( - const std::string& name, Sat_OrbitState* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Sat_OrbitState* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Sat_OrbitState_descriptor(), name, value); } @@ -232,7 +232,7 @@ inline const std::string& Eo_Band_Name(T enum_t_value) { Eo_Band_descriptor(), enum_t_value); } inline bool Eo_Band_Parse( - const std::string& name, Eo_Band* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Eo_Band* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Eo_Band_descriptor(), name, value); } @@ -258,7 +258,7 @@ inline const std::string& Sar_Platform_Name(T enum_t_value) { Sar_Platform_descriptor(), enum_t_value); } inline bool Sar_Platform_Parse( - const std::string& name, Sar_Platform* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Sar_Platform* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Sar_Platform_descriptor(), name, value); } @@ -282,7 +282,7 @@ inline const std::string& Sar_Instrument_Name(T enum_t_value) { Sar_Instrument_descriptor(), enum_t_value); } inline bool Sar_Instrument_Parse( - const std::string& name, Sar_Instrument* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Sar_Instrument* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Sar_Instrument_descriptor(), name, value); } @@ -311,7 +311,7 @@ inline const std::string& Landsat_CollectionCategory_Name(T enum_t_value) { Landsat_CollectionCategory_descriptor(), enum_t_value); } inline bool Landsat_CollectionCategory_Parse( - const std::string& name, Landsat_CollectionCategory* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Landsat_CollectionCategory* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Landsat_CollectionCategory_descriptor(), name, value); } @@ -337,7 +337,7 @@ inline const std::string& Landsat_WRSType_Name(T enum_t_value) { Landsat_WRSType_descriptor(), enum_t_value); } inline bool Landsat_WRSType_Parse( - const std::string& name, Landsat_WRSType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Landsat_WRSType* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Landsat_WRSType_descriptor(), name, value); } @@ -366,7 +366,7 @@ inline const std::string& Landsat_ProcessingLevel_Name(T enum_t_value) { Landsat_ProcessingLevel_descriptor(), enum_t_value); } inline bool Landsat_ProcessingLevel_Parse( - const std::string& name, Landsat_ProcessingLevel* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Landsat_ProcessingLevel* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Landsat_ProcessingLevel_descriptor(), name, value); } @@ -408,7 +408,7 @@ inline const std::string& AssetType_Name(T enum_t_value) { AssetType_descriptor(), enum_t_value); } inline bool AssetType_Parse( - const std::string& name, AssetType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AssetType* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( AssetType_descriptor(), name, value); } @@ -436,7 +436,7 @@ inline const std::string& CloudPlatform_Name(T enum_t_value) { CloudPlatform_descriptor(), enum_t_value); } inline bool CloudPlatform_Parse( - const std::string& name, CloudPlatform* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CloudPlatform* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( CloudPlatform_descriptor(), name, value); } @@ -471,7 +471,7 @@ inline const std::string& Platform_Name(T enum_t_value) { Platform_descriptor(), enum_t_value); } inline bool Platform_Parse( - const std::string& name, Platform* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Platform* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Platform_descriptor(), name, value); } @@ -503,7 +503,7 @@ inline const std::string& Instrument_Name(T enum_t_value) { Instrument_descriptor(), enum_t_value); } inline bool Instrument_Parse( - const std::string& name, Instrument* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Instrument* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Instrument_descriptor(), name, value); } @@ -527,7 +527,7 @@ inline const std::string& Constellation_Name(T enum_t_value) { Constellation_descriptor(), enum_t_value); } inline bool Constellation_Parse( - const std::string& name, Constellation* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Constellation* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Constellation_descriptor(), name, value); } @@ -555,7 +555,7 @@ inline const std::string& Mission_Name(T enum_t_value) { Mission_descriptor(), enum_t_value); } inline bool Mission_Parse( - const std::string& name, Mission* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Mission* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Mission_descriptor(), name, value); } @@ -564,16 +564,16 @@ inline bool Mission_Parse( class Collection_SummariesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> { public: typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType; Collection_SummariesEntry_DoNotUse(); - Collection_SummariesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit constexpr Collection_SummariesEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit Collection_SummariesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); void MergeFrom(const Collection_SummariesEntry_DoNotUse& other); static const Collection_SummariesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Collection_SummariesEntry_DoNotUse_default_instance_); } static bool ValidateKey(std::string* s) { @@ -593,11 +593,12 @@ class Collection_SummariesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::inter // ------------------------------------------------------------------- -class Collection : +class Collection PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Collection) */ { public: - Collection(); + inline Collection() : Collection(nullptr) {} virtual ~Collection(); + explicit constexpr Collection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Collection(const Collection& from); Collection(Collection&& from) noexcept @@ -610,7 +611,7 @@ class Collection : return *this; } inline Collection& operator=(Collection&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -627,9 +628,9 @@ class Collection : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Collection& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Collection& default_instance() { + return *internal_default_instance(); + } static inline const Collection* internal_default_instance() { return reinterpret_cast( &_Collection_default_instance_); @@ -642,6 +643,15 @@ class Collection : } inline void Swap(Collection* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Collection* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -676,20 +686,17 @@ class Collection : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Collection"; } + protected: + explicit Collection(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -863,20 +870,24 @@ class Collection : const ::epl::protobuf::v1::Extent& _internal_extent() const; ::epl::protobuf::v1::Extent* _internal_mutable_extent(); public: + void unsafe_arena_set_allocated_extent( + ::epl::protobuf::v1::Extent* extent); + ::epl::protobuf::v1::Extent* unsafe_arena_release_extent(); // @@protoc_insertion_point(class_scope:epl.protobuf.v1.Collection) private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField keywords_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::epl::protobuf::v1::Provider > providers_; ::PROTOBUF_NAMESPACE_ID::internal::MapField< Collection_SummariesEntry_DoNotUse, std::string, ::epl::protobuf::v1::Stats, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > summaries_; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> summaries_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stac_version_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; @@ -888,11 +899,12 @@ class Collection : }; // ------------------------------------------------------------------- -class CollectionRequest : +class CollectionRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.CollectionRequest) */ { public: - CollectionRequest(); + inline CollectionRequest() : CollectionRequest(nullptr) {} virtual ~CollectionRequest(); + explicit constexpr CollectionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CollectionRequest(const CollectionRequest& from); CollectionRequest(CollectionRequest&& from) noexcept @@ -905,7 +917,7 @@ class CollectionRequest : return *this; } inline CollectionRequest& operator=(CollectionRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -922,15 +934,15 @@ class CollectionRequest : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const CollectionRequest& default_instance(); - + static const CollectionRequest& default_instance() { + return *internal_default_instance(); + } enum SpatialCase { kBbox = 2, kIntersects = 3, SPATIAL_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const CollectionRequest* internal_default_instance() { return reinterpret_cast( &_CollectionRequest_default_instance_); @@ -943,6 +955,15 @@ class CollectionRequest : } inline void Swap(CollectionRequest* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CollectionRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -977,20 +998,17 @@ class CollectionRequest : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.CollectionRequest"; } + protected: + explicit CollectionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -1034,6 +1052,9 @@ class CollectionRequest : const ::epl::protobuf::v1::EnvelopeData& _internal_bbox() const; ::epl::protobuf::v1::EnvelopeData* _internal_mutable_bbox(); public: + void unsafe_arena_set_allocated_bbox( + ::epl::protobuf::v1::EnvelopeData* bbox); + ::epl::protobuf::v1::EnvelopeData* unsafe_arena_release_bbox(); // .epl.protobuf.v1.GeometryData intersects = 3; bool has_intersects() const; @@ -1049,6 +1070,9 @@ class CollectionRequest : const ::epl::protobuf::v1::GeometryData& _internal_intersects() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_intersects(); public: + void unsafe_arena_set_allocated_intersects( + ::epl::protobuf::v1::GeometryData* intersects); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_intersects(); void clear_spatial(); SpatialCase spatial_case() const; @@ -1061,10 +1085,13 @@ class CollectionRequest : inline bool has_spatial() const; inline void clear_has_spatial(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; union SpatialUnion { - SpatialUnion() {} + constexpr SpatialUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::epl::protobuf::v1::EnvelopeData* bbox_; ::epl::protobuf::v1::GeometryData* intersects_; } spatial_; @@ -1075,11 +1102,12 @@ class CollectionRequest : }; // ------------------------------------------------------------------- -class Stats : +class Stats PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Stats) */ { public: - Stats(); + inline Stats() : Stats(nullptr) {} virtual ~Stats(); + explicit constexpr Stats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Stats(const Stats& from); Stats(Stats&& from) noexcept @@ -1092,7 +1120,7 @@ class Stats : return *this; } inline Stats& operator=(Stats&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -1109,9 +1137,9 @@ class Stats : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Stats& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Stats& default_instance() { + return *internal_default_instance(); + } static inline const Stats* internal_default_instance() { return reinterpret_cast( &_Stats_default_instance_); @@ -1124,6 +1152,15 @@ class Stats : } inline void Swap(Stats* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Stats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -1158,20 +1195,17 @@ class Stats : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Stats"; } + protected: + explicit Stats(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -1184,17 +1218,20 @@ class Stats : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fstac_2eproto; }; // ------------------------------------------------------------------- -class Extent : +class Extent PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Extent) */ { public: - Extent(); + inline Extent() : Extent(nullptr) {} virtual ~Extent(); + explicit constexpr Extent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Extent(const Extent& from); Extent(Extent&& from) noexcept @@ -1207,7 +1244,7 @@ class Extent : return *this; } inline Extent& operator=(Extent&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -1224,9 +1261,9 @@ class Extent : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Extent& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Extent& default_instance() { + return *internal_default_instance(); + } static inline const Extent* internal_default_instance() { return reinterpret_cast( &_Extent_default_instance_); @@ -1239,6 +1276,15 @@ class Extent : } inline void Swap(Extent* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Extent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -1273,20 +1319,17 @@ class Extent : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Extent"; } + protected: + explicit Extent(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -1339,7 +1382,9 @@ class Extent : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::epl::protobuf::v1::EnvelopeData > spatial_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::epl::protobuf::v1::Interval > temporal_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -1347,11 +1392,12 @@ class Extent : }; // ------------------------------------------------------------------- -class Interval : +class Interval PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Interval) */ { public: - Interval(); + inline Interval() : Interval(nullptr) {} virtual ~Interval(); + explicit constexpr Interval(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Interval(const Interval& from); Interval(Interval&& from) noexcept @@ -1364,7 +1410,7 @@ class Interval : return *this; } inline Interval& operator=(Interval&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -1381,9 +1427,9 @@ class Interval : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Interval& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Interval& default_instance() { + return *internal_default_instance(); + } static inline const Interval* internal_default_instance() { return reinterpret_cast( &_Interval_default_instance_); @@ -1396,6 +1442,15 @@ class Interval : } inline void Swap(Interval* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Interval* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -1430,20 +1485,17 @@ class Interval : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Interval"; } + protected: + explicit Interval(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -1470,6 +1522,9 @@ class Interval : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_start() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_start(); public: + void unsafe_arena_set_allocated_start( + PROTOBUF_NAMESPACE_ID::Timestamp* start); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_start(); // .google.protobuf.Timestamp end = 2; bool has_end() const; @@ -1485,12 +1540,17 @@ class Interval : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_end() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_end(); public: + void unsafe_arena_set_allocated_end( + PROTOBUF_NAMESPACE_ID::Timestamp* end); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_end(); // @@protoc_insertion_point(class_scope:epl.protobuf.v1.Interval) private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; PROTOBUF_NAMESPACE_ID::Timestamp* start_; PROTOBUF_NAMESPACE_ID::Timestamp* end_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -1498,11 +1558,12 @@ class Interval : }; // ------------------------------------------------------------------- -class Provider : +class Provider PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Provider) */ { public: - Provider(); + inline Provider() : Provider(nullptr) {} virtual ~Provider(); + explicit constexpr Provider(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Provider(const Provider& from); Provider(Provider&& from) noexcept @@ -1515,7 +1576,7 @@ class Provider : return *this; } inline Provider& operator=(Provider&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -1532,9 +1593,9 @@ class Provider : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Provider& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Provider& default_instance() { + return *internal_default_instance(); + } static inline const Provider* internal_default_instance() { return reinterpret_cast( &_Provider_default_instance_); @@ -1547,6 +1608,15 @@ class Provider : } inline void Swap(Provider* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Provider* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -1581,20 +1651,17 @@ class Provider : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Provider"; } + protected: + explicit Provider(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -1685,7 +1752,9 @@ class Provider : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField roles_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; @@ -1698,16 +1767,16 @@ class Provider : class StacItem_AssetsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> { public: typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType; StacItem_AssetsEntry_DoNotUse(); - StacItem_AssetsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit constexpr StacItem_AssetsEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit StacItem_AssetsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); void MergeFrom(const StacItem_AssetsEntry_DoNotUse& other); static const StacItem_AssetsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_StacItem_AssetsEntry_DoNotUse_default_instance_); } static bool ValidateKey(std::string* s) { @@ -1727,11 +1796,12 @@ class StacItem_AssetsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal:: // ------------------------------------------------------------------- -class StacItem : +class StacItem PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.StacItem) */ { public: - StacItem(); + inline StacItem() : StacItem(nullptr) {} virtual ~StacItem(); + explicit constexpr StacItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StacItem(const StacItem& from); StacItem(StacItem&& from) noexcept @@ -1744,7 +1814,7 @@ class StacItem : return *this; } inline StacItem& operator=(StacItem&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -1761,8 +1831,9 @@ class StacItem : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const StacItem& default_instance(); - + static const StacItem& default_instance() { + return *internal_default_instance(); + } enum TemporalDeprecatedCase { kDatetime = 8, kStartDatetime = 10, @@ -1775,7 +1846,6 @@ class StacItem : TEMPORAL_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const StacItem* internal_default_instance() { return reinterpret_cast( &_StacItem_default_instance_); @@ -1788,6 +1858,15 @@ class StacItem : } inline void Swap(StacItem* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(StacItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -1822,20 +1901,17 @@ class StacItem : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.StacItem"; } + protected: + explicit StacItem(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -2078,6 +2154,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Any& _internal_properties() const; PROTOBUF_NAMESPACE_ID::Any* _internal_mutable_properties(); public: + void unsafe_arena_set_allocated_properties( + PROTOBUF_NAMESPACE_ID::Any* properties); + PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_properties(); // .epl.protobuf.v1.GeometryData geometry = 6; bool has_geometry() const; @@ -2093,6 +2172,9 @@ class StacItem : const ::epl::protobuf::v1::GeometryData& _internal_geometry() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_geometry(); public: + void unsafe_arena_set_allocated_geometry( + ::epl::protobuf::v1::GeometryData* geometry); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_geometry(); // .epl.protobuf.v1.EnvelopeData bbox = 7; bool has_bbox() const; @@ -2108,6 +2190,9 @@ class StacItem : const ::epl::protobuf::v1::EnvelopeData& _internal_bbox() const; ::epl::protobuf::v1::EnvelopeData* _internal_mutable_bbox(); public: + void unsafe_arena_set_allocated_bbox( + ::epl::protobuf::v1::EnvelopeData* bbox); + ::epl::protobuf::v1::EnvelopeData* unsafe_arena_release_bbox(); // .google.protobuf.Timestamp end_datetime = 12; bool has_end_datetime() const; @@ -2123,6 +2208,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_end_datetime() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_end_datetime(); public: + void unsafe_arena_set_allocated_end_datetime( + PROTOBUF_NAMESPACE_ID::Timestamp* end_datetime); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_end_datetime(); // .google.protobuf.Timestamp end_observation = 13; bool has_end_observation() const; @@ -2138,6 +2226,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_end_observation() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_end_observation(); public: + void unsafe_arena_set_allocated_end_observation( + PROTOBUF_NAMESPACE_ID::Timestamp* end_observation); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_end_observation(); // .google.protobuf.Timestamp created = 14; bool has_created() const; @@ -2153,6 +2244,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_created() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_created(); public: + void unsafe_arena_set_allocated_created( + PROTOBUF_NAMESPACE_ID::Timestamp* created); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_created(); // .google.protobuf.Timestamp updated = 15; bool has_updated() const; @@ -2168,6 +2262,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_updated() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_updated(); public: + void unsafe_arena_set_allocated_updated( + PROTOBUF_NAMESPACE_ID::Timestamp* updated); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_updated(); // .epl.protobuf.v1.ProjectionData proj = 16; bool has_proj() const; @@ -2183,6 +2280,9 @@ class StacItem : const ::epl::protobuf::v1::ProjectionData& _internal_proj() const; ::epl::protobuf::v1::ProjectionData* _internal_mutable_proj(); public: + void unsafe_arena_set_allocated_proj( + ::epl::protobuf::v1::ProjectionData* proj); + ::epl::protobuf::v1::ProjectionData* unsafe_arena_release_proj(); // .google.protobuf.FloatValue gsd = 25; bool has_gsd() const; @@ -2198,6 +2298,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::FloatValue& _internal_gsd() const; PROTOBUF_NAMESPACE_ID::FloatValue* _internal_mutable_gsd(); public: + void unsafe_arena_set_allocated_gsd( + PROTOBUF_NAMESPACE_ID::FloatValue* gsd); + PROTOBUF_NAMESPACE_ID::FloatValue* unsafe_arena_release_gsd(); // .epl.protobuf.v1.Eo eo = 29; bool has_eo() const; @@ -2213,6 +2316,9 @@ class StacItem : const ::epl::protobuf::v1::Eo& _internal_eo() const; ::epl::protobuf::v1::Eo* _internal_mutable_eo(); public: + void unsafe_arena_set_allocated_eo( + ::epl::protobuf::v1::Eo* eo); + ::epl::protobuf::v1::Eo* unsafe_arena_release_eo(); // .epl.protobuf.v1.Landsat landsat = 31; bool has_landsat() const; @@ -2228,6 +2334,9 @@ class StacItem : const ::epl::protobuf::v1::Landsat& _internal_landsat() const; ::epl::protobuf::v1::Landsat* _internal_mutable_landsat(); public: + void unsafe_arena_set_allocated_landsat( + ::epl::protobuf::v1::Landsat* landsat); + ::epl::protobuf::v1::Landsat* unsafe_arena_release_landsat(); // .epl.protobuf.v1.Mosaic mosaic = 32; bool has_mosaic() const; @@ -2243,6 +2352,9 @@ class StacItem : const ::epl::protobuf::v1::Mosaic& _internal_mosaic() const; ::epl::protobuf::v1::Mosaic* _internal_mutable_mosaic(); public: + void unsafe_arena_set_allocated_mosaic( + ::epl::protobuf::v1::Mosaic* mosaic); + ::epl::protobuf::v1::Mosaic* unsafe_arena_release_mosaic(); // .epl.protobuf.v1.View view = 34; bool has_view() const; @@ -2258,6 +2370,9 @@ class StacItem : const ::epl::protobuf::v1::View& _internal_view() const; ::epl::protobuf::v1::View* _internal_mutable_view(); public: + void unsafe_arena_set_allocated_view( + ::epl::protobuf::v1::View* view); + ::epl::protobuf::v1::View* unsafe_arena_release_view(); // .epl.protobuf.v1.Platform platform_enum = 17; void clear_platform_enum(); @@ -2309,6 +2424,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_datetime() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_datetime(); public: + void unsafe_arena_set_allocated_datetime( + PROTOBUF_NAMESPACE_ID::Timestamp* datetime); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_datetime(); // .google.protobuf.Timestamp start_datetime = 10; bool has_start_datetime() const; @@ -2324,6 +2442,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_start_datetime() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_start_datetime(); public: + void unsafe_arena_set_allocated_start_datetime( + PROTOBUF_NAMESPACE_ID::Timestamp* start_datetime); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_start_datetime(); // .google.protobuf.Timestamp observed = 9; bool has_observed() const; @@ -2339,6 +2460,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_observed() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_observed(); public: + void unsafe_arena_set_allocated_observed( + PROTOBUF_NAMESPACE_ID::Timestamp* observed); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_observed(); // .google.protobuf.Timestamp start_observation = 11; bool has_start_observation() const; @@ -2354,6 +2478,9 @@ class StacItem : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_start_observation() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_start_observation(); public: + void unsafe_arena_set_allocated_start_observation( + PROTOBUF_NAMESPACE_ID::Timestamp* start_observation); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_start_observation(); void clear_temporal_deprecated(); TemporalDeprecatedCase temporal_deprecated_case() const; @@ -2373,13 +2500,14 @@ class StacItem : inline bool has_temporal() const; inline void clear_has_temporal(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::MapField< StacItem_AssetsEntry_DoNotUse, std::string, ::epl::protobuf::v1::Asset, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > assets_; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> assets_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField stac_extensions_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; @@ -2408,12 +2536,14 @@ class StacItem : int constellation_enum_; int mission_enum_; union TemporalDeprecatedUnion { - TemporalDeprecatedUnion() {} + constexpr TemporalDeprecatedUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; PROTOBUF_NAMESPACE_ID::Timestamp* datetime_; PROTOBUF_NAMESPACE_ID::Timestamp* start_datetime_; } temporal_deprecated_; union TemporalUnion { - TemporalUnion() {} + constexpr TemporalUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; PROTOBUF_NAMESPACE_ID::Timestamp* observed_; PROTOBUF_NAMESPACE_ID::Timestamp* start_observation_; } temporal_; @@ -2424,11 +2554,12 @@ class StacItem : }; // ------------------------------------------------------------------- -class StacRequest : +class StacRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.StacRequest) */ { public: - StacRequest(); + inline StacRequest() : StacRequest(nullptr) {} virtual ~StacRequest(); + explicit constexpr StacRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StacRequest(const StacRequest& from); StacRequest(StacRequest&& from) noexcept @@ -2441,7 +2572,7 @@ class StacRequest : return *this; } inline StacRequest& operator=(StacRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -2458,8 +2589,9 @@ class StacRequest : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const StacRequest& default_instance(); - + static const StacRequest& default_instance() { + return *internal_default_instance(); + } enum IdentityCase { kId = 3, kIdComplex = 4, @@ -2479,7 +2611,6 @@ class StacRequest : TEMPORAL_NOT_SET = 0, }; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const StacRequest* internal_default_instance() { return reinterpret_cast( &_StacRequest_default_instance_); @@ -2492,6 +2623,15 @@ class StacRequest : } inline void Swap(StacRequest* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(StacRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -2526,20 +2666,17 @@ class StacRequest : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.StacRequest"; } + protected: + explicit StacRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -2603,6 +2740,9 @@ class StacRequest : const PROTOBUF_NAMESPACE_ID::Any& _internal_properties() const; PROTOBUF_NAMESPACE_ID::Any* _internal_mutable_properties(); public: + void unsafe_arena_set_allocated_properties( + PROTOBUF_NAMESPACE_ID::Any* properties); + PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_properties(); // .epl.protobuf.v1.TimestampFilter created = 12; bool has_created() const; @@ -2618,6 +2758,9 @@ class StacRequest : const ::epl::protobuf::v1::TimestampFilter& _internal_created() const; ::epl::protobuf::v1::TimestampFilter* _internal_mutable_created(); public: + void unsafe_arena_set_allocated_created( + ::epl::protobuf::v1::TimestampFilter* created); + ::epl::protobuf::v1::TimestampFilter* unsafe_arena_release_created(); // .epl.protobuf.v1.TimestampFilter updated = 13; bool has_updated() const; @@ -2633,6 +2776,9 @@ class StacRequest : const ::epl::protobuf::v1::TimestampFilter& _internal_updated() const; ::epl::protobuf::v1::TimestampFilter* _internal_mutable_updated(); public: + void unsafe_arena_set_allocated_updated( + ::epl::protobuf::v1::TimestampFilter* updated); + ::epl::protobuf::v1::TimestampFilter* unsafe_arena_release_updated(); // .epl.protobuf.v1.ProjectionData proj = 14; bool has_proj() const; @@ -2648,6 +2794,9 @@ class StacRequest : const ::epl::protobuf::v1::ProjectionData& _internal_proj() const; ::epl::protobuf::v1::ProjectionData* _internal_mutable_proj(); public: + void unsafe_arena_set_allocated_proj( + ::epl::protobuf::v1::ProjectionData* proj); + ::epl::protobuf::v1::ProjectionData* unsafe_arena_release_proj(); // .epl.protobuf.v1.FloatFilter gsd = 23; bool has_gsd() const; @@ -2663,6 +2812,9 @@ class StacRequest : const ::epl::protobuf::v1::FloatFilter& _internal_gsd() const; ::epl::protobuf::v1::FloatFilter* _internal_mutable_gsd(); public: + void unsafe_arena_set_allocated_gsd( + ::epl::protobuf::v1::FloatFilter* gsd); + ::epl::protobuf::v1::FloatFilter* unsafe_arena_release_gsd(); // .epl.protobuf.v1.EoRequest eo = 24; bool has_eo() const; @@ -2678,6 +2830,9 @@ class StacRequest : const ::epl::protobuf::v1::EoRequest& _internal_eo() const; ::epl::protobuf::v1::EoRequest* _internal_mutable_eo(); public: + void unsafe_arena_set_allocated_eo( + ::epl::protobuf::v1::EoRequest* eo); + ::epl::protobuf::v1::EoRequest* unsafe_arena_release_eo(); // .epl.protobuf.v1.ViewRequest view = 25; bool has_view() const; @@ -2693,6 +2848,9 @@ class StacRequest : const ::epl::protobuf::v1::ViewRequest& _internal_view() const; ::epl::protobuf::v1::ViewRequest* _internal_mutable_view(); public: + void unsafe_arena_set_allocated_view( + ::epl::protobuf::v1::ViewRequest* view); + ::epl::protobuf::v1::ViewRequest* unsafe_arena_release_view(); // .epl.protobuf.v1.LandsatRequest landsat = 26; bool has_landsat() const; @@ -2708,6 +2866,9 @@ class StacRequest : const ::epl::protobuf::v1::LandsatRequest& _internal_landsat() const; ::epl::protobuf::v1::LandsatRequest* _internal_mutable_landsat(); public: + void unsafe_arena_set_allocated_landsat( + ::epl::protobuf::v1::LandsatRequest* landsat); + ::epl::protobuf::v1::LandsatRequest* unsafe_arena_release_landsat(); // .epl.protobuf.v1.MosaicRequest mosaic = 27; bool has_mosaic() const; @@ -2723,6 +2884,9 @@ class StacRequest : const ::epl::protobuf::v1::MosaicRequest& _internal_mosaic() const; ::epl::protobuf::v1::MosaicRequest* _internal_mutable_mosaic(); public: + void unsafe_arena_set_allocated_mosaic( + ::epl::protobuf::v1::MosaicRequest* mosaic); + ::epl::protobuf::v1::MosaicRequest* unsafe_arena_release_mosaic(); // uint64 offset = 2; void clear_offset(); @@ -2779,6 +2943,7 @@ class StacRequest : public: // string id = 3; + bool has_id() const; private: bool _internal_has_id() const; public: @@ -2811,6 +2976,9 @@ class StacRequest : const ::epl::protobuf::v1::StringFilter& _internal_id_complex() const; ::epl::protobuf::v1::StringFilter* _internal_mutable_id_complex(); public: + void unsafe_arena_set_allocated_id_complex( + ::epl::protobuf::v1::StringFilter* id_complex); + ::epl::protobuf::v1::StringFilter* unsafe_arena_release_id_complex(); // .epl.protobuf.v1.GeometryData intersects = 7; bool has_intersects() const; @@ -2826,6 +2994,9 @@ class StacRequest : const ::epl::protobuf::v1::GeometryData& _internal_intersects() const; ::epl::protobuf::v1::GeometryData* _internal_mutable_intersects(); public: + void unsafe_arena_set_allocated_intersects( + ::epl::protobuf::v1::GeometryData* intersects); + ::epl::protobuf::v1::GeometryData* unsafe_arena_release_intersects(); // .epl.protobuf.v1.EnvelopeData bbox = 8; bool has_bbox() const; @@ -2841,6 +3012,9 @@ class StacRequest : const ::epl::protobuf::v1::EnvelopeData& _internal_bbox() const; ::epl::protobuf::v1::EnvelopeData* _internal_mutable_bbox(); public: + void unsafe_arena_set_allocated_bbox( + ::epl::protobuf::v1::EnvelopeData* bbox); + ::epl::protobuf::v1::EnvelopeData* unsafe_arena_release_bbox(); // .epl.protobuf.v1.GeometryRequest geometry_request = 9; bool has_geometry_request() const; @@ -2856,6 +3030,9 @@ class StacRequest : const ::epl::protobuf::v1::GeometryRequest& _internal_geometry_request() const; ::epl::protobuf::v1::GeometryRequest* _internal_mutable_geometry_request(); public: + void unsafe_arena_set_allocated_geometry_request( + ::epl::protobuf::v1::GeometryRequest* geometry_request); + ::epl::protobuf::v1::GeometryRequest* unsafe_arena_release_geometry_request(); // .epl.protobuf.v1.TimestampFilter datetime = 10; bool has_datetime() const; @@ -2871,6 +3048,9 @@ class StacRequest : const ::epl::protobuf::v1::TimestampFilter& _internal_datetime() const; ::epl::protobuf::v1::TimestampFilter* _internal_mutable_datetime(); public: + void unsafe_arena_set_allocated_datetime( + ::epl::protobuf::v1::TimestampFilter* datetime); + ::epl::protobuf::v1::TimestampFilter* unsafe_arena_release_datetime(); // .epl.protobuf.v1.TimestampFilter observed = 11; bool has_observed() const; @@ -2886,6 +3066,9 @@ class StacRequest : const ::epl::protobuf::v1::TimestampFilter& _internal_observed() const; ::epl::protobuf::v1::TimestampFilter* _internal_mutable_observed(); public: + void unsafe_arena_set_allocated_observed( + ::epl::protobuf::v1::TimestampFilter* observed); + ::epl::protobuf::v1::TimestampFilter* unsafe_arena_release_observed(); void clear_identity(); IdentityCase identity_case() const; @@ -2913,7 +3096,9 @@ class StacRequest : inline bool has_temporal() const; inline void clear_has_temporal(); - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_; PROTOBUF_NAMESPACE_ID::Any* properties_; ::epl::protobuf::v1::TimestampFilter* created_; @@ -2931,18 +3116,21 @@ class StacRequest : int instrument_enum_; int constellation_enum_; union IdentityUnion { - IdentityUnion() {} + constexpr IdentityUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; ::epl::protobuf::v1::StringFilter* id_complex_; } identity_; union SpatialUnion { - SpatialUnion() {} + constexpr SpatialUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::epl::protobuf::v1::GeometryData* intersects_; ::epl::protobuf::v1::EnvelopeData* bbox_; ::epl::protobuf::v1::GeometryRequest* geometry_request_; } spatial_; union TemporalUnion { - TemporalUnion() {} + constexpr TemporalUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::epl::protobuf::v1::TimestampFilter* datetime_; ::epl::protobuf::v1::TimestampFilter* observed_; } temporal_; @@ -2953,11 +3141,12 @@ class StacRequest : }; // ------------------------------------------------------------------- -class View : +class View PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.View) */ { public: - View(); + inline View() : View(nullptr) {} virtual ~View(); + explicit constexpr View(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); View(const View& from); View(View&& from) noexcept @@ -2970,7 +3159,7 @@ class View : return *this; } inline View& operator=(View&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -2987,9 +3176,9 @@ class View : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const View& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const View& default_instance() { + return *internal_default_instance(); + } static inline const View* internal_default_instance() { return reinterpret_cast( &_View_default_instance_); @@ -3002,6 +3191,15 @@ class View : } inline void Swap(View* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(View* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3036,20 +3234,17 @@ class View : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.View"; } + protected: + explicit View(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3079,6 +3274,9 @@ class View : const PROTOBUF_NAMESPACE_ID::FloatValue& _internal_off_nadir() const; PROTOBUF_NAMESPACE_ID::FloatValue* _internal_mutable_off_nadir(); public: + void unsafe_arena_set_allocated_off_nadir( + PROTOBUF_NAMESPACE_ID::FloatValue* off_nadir); + PROTOBUF_NAMESPACE_ID::FloatValue* unsafe_arena_release_off_nadir(); // .google.protobuf.FloatValue incidence_angle = 2; bool has_incidence_angle() const; @@ -3094,6 +3292,9 @@ class View : const PROTOBUF_NAMESPACE_ID::FloatValue& _internal_incidence_angle() const; PROTOBUF_NAMESPACE_ID::FloatValue* _internal_mutable_incidence_angle(); public: + void unsafe_arena_set_allocated_incidence_angle( + PROTOBUF_NAMESPACE_ID::FloatValue* incidence_angle); + PROTOBUF_NAMESPACE_ID::FloatValue* unsafe_arena_release_incidence_angle(); // .google.protobuf.FloatValue azimuth = 3; bool has_azimuth() const; @@ -3109,6 +3310,9 @@ class View : const PROTOBUF_NAMESPACE_ID::FloatValue& _internal_azimuth() const; PROTOBUF_NAMESPACE_ID::FloatValue* _internal_mutable_azimuth(); public: + void unsafe_arena_set_allocated_azimuth( + PROTOBUF_NAMESPACE_ID::FloatValue* azimuth); + PROTOBUF_NAMESPACE_ID::FloatValue* unsafe_arena_release_azimuth(); // .google.protobuf.FloatValue sun_azimuth = 4; bool has_sun_azimuth() const; @@ -3124,6 +3328,9 @@ class View : const PROTOBUF_NAMESPACE_ID::FloatValue& _internal_sun_azimuth() const; PROTOBUF_NAMESPACE_ID::FloatValue* _internal_mutable_sun_azimuth(); public: + void unsafe_arena_set_allocated_sun_azimuth( + PROTOBUF_NAMESPACE_ID::FloatValue* sun_azimuth); + PROTOBUF_NAMESPACE_ID::FloatValue* unsafe_arena_release_sun_azimuth(); // .google.protobuf.FloatValue sun_elevation = 5; bool has_sun_elevation() const; @@ -3139,12 +3346,17 @@ class View : const PROTOBUF_NAMESPACE_ID::FloatValue& _internal_sun_elevation() const; PROTOBUF_NAMESPACE_ID::FloatValue* _internal_mutable_sun_elevation(); public: + void unsafe_arena_set_allocated_sun_elevation( + PROTOBUF_NAMESPACE_ID::FloatValue* sun_elevation); + PROTOBUF_NAMESPACE_ID::FloatValue* unsafe_arena_release_sun_elevation(); // @@protoc_insertion_point(class_scope:epl.protobuf.v1.View) private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; PROTOBUF_NAMESPACE_ID::FloatValue* off_nadir_; PROTOBUF_NAMESPACE_ID::FloatValue* incidence_angle_; PROTOBUF_NAMESPACE_ID::FloatValue* azimuth_; @@ -3155,11 +3367,12 @@ class View : }; // ------------------------------------------------------------------- -class ViewRequest : +class ViewRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.ViewRequest) */ { public: - ViewRequest(); + inline ViewRequest() : ViewRequest(nullptr) {} virtual ~ViewRequest(); + explicit constexpr ViewRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ViewRequest(const ViewRequest& from); ViewRequest(ViewRequest&& from) noexcept @@ -3172,7 +3385,7 @@ class ViewRequest : return *this; } inline ViewRequest& operator=(ViewRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3189,9 +3402,9 @@ class ViewRequest : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const ViewRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ViewRequest& default_instance() { + return *internal_default_instance(); + } static inline const ViewRequest* internal_default_instance() { return reinterpret_cast( &_ViewRequest_default_instance_); @@ -3204,6 +3417,15 @@ class ViewRequest : } inline void Swap(ViewRequest* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ViewRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3238,20 +3460,17 @@ class ViewRequest : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.ViewRequest"; } + protected: + explicit ViewRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3281,6 +3500,9 @@ class ViewRequest : const ::epl::protobuf::v1::FloatFilter& _internal_off_nadir() const; ::epl::protobuf::v1::FloatFilter* _internal_mutable_off_nadir(); public: + void unsafe_arena_set_allocated_off_nadir( + ::epl::protobuf::v1::FloatFilter* off_nadir); + ::epl::protobuf::v1::FloatFilter* unsafe_arena_release_off_nadir(); // .epl.protobuf.v1.FloatFilter incidence_angle = 2; bool has_incidence_angle() const; @@ -3296,6 +3518,9 @@ class ViewRequest : const ::epl::protobuf::v1::FloatFilter& _internal_incidence_angle() const; ::epl::protobuf::v1::FloatFilter* _internal_mutable_incidence_angle(); public: + void unsafe_arena_set_allocated_incidence_angle( + ::epl::protobuf::v1::FloatFilter* incidence_angle); + ::epl::protobuf::v1::FloatFilter* unsafe_arena_release_incidence_angle(); // .epl.protobuf.v1.FloatFilter azimuth = 3; bool has_azimuth() const; @@ -3311,6 +3536,9 @@ class ViewRequest : const ::epl::protobuf::v1::FloatFilter& _internal_azimuth() const; ::epl::protobuf::v1::FloatFilter* _internal_mutable_azimuth(); public: + void unsafe_arena_set_allocated_azimuth( + ::epl::protobuf::v1::FloatFilter* azimuth); + ::epl::protobuf::v1::FloatFilter* unsafe_arena_release_azimuth(); // .epl.protobuf.v1.FloatFilter sun_azimuth = 4; bool has_sun_azimuth() const; @@ -3326,6 +3554,9 @@ class ViewRequest : const ::epl::protobuf::v1::FloatFilter& _internal_sun_azimuth() const; ::epl::protobuf::v1::FloatFilter* _internal_mutable_sun_azimuth(); public: + void unsafe_arena_set_allocated_sun_azimuth( + ::epl::protobuf::v1::FloatFilter* sun_azimuth); + ::epl::protobuf::v1::FloatFilter* unsafe_arena_release_sun_azimuth(); // .epl.protobuf.v1.FloatFilter sun_elevation = 5; bool has_sun_elevation() const; @@ -3341,12 +3572,17 @@ class ViewRequest : const ::epl::protobuf::v1::FloatFilter& _internal_sun_elevation() const; ::epl::protobuf::v1::FloatFilter* _internal_mutable_sun_elevation(); public: + void unsafe_arena_set_allocated_sun_elevation( + ::epl::protobuf::v1::FloatFilter* sun_elevation); + ::epl::protobuf::v1::FloatFilter* unsafe_arena_release_sun_elevation(); // @@protoc_insertion_point(class_scope:epl.protobuf.v1.ViewRequest) private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::epl::protobuf::v1::FloatFilter* off_nadir_; ::epl::protobuf::v1::FloatFilter* incidence_angle_; ::epl::protobuf::v1::FloatFilter* azimuth_; @@ -3357,11 +3593,12 @@ class ViewRequest : }; // ------------------------------------------------------------------- -class Sat : +class Sat PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Sat) */ { public: - Sat(); + inline Sat() : Sat(nullptr) {} virtual ~Sat(); + explicit constexpr Sat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Sat(const Sat& from); Sat(Sat&& from) noexcept @@ -3374,7 +3611,7 @@ class Sat : return *this; } inline Sat& operator=(Sat&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3391,9 +3628,9 @@ class Sat : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Sat& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Sat& default_instance() { + return *internal_default_instance(); + } static inline const Sat* internal_default_instance() { return reinterpret_cast( &_Sat_default_instance_); @@ -3406,6 +3643,15 @@ class Sat : } inline void Swap(Sat* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Sat* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3440,20 +3686,17 @@ class Sat : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Sat"; } + protected: + explicit Sat(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3489,7 +3732,7 @@ class Sat : "Incorrect type passed to function OrbitState_Name."); return Sat_OrbitState_Name(enum_t_value); } - static inline bool OrbitState_Parse(const std::string& name, + static inline bool OrbitState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OrbitState* value) { return Sat_OrbitState_Parse(name, value); } @@ -3514,6 +3757,9 @@ class Sat : const PROTOBUF_NAMESPACE_ID::UInt32Value& _internal_relative_orbit() const; PROTOBUF_NAMESPACE_ID::UInt32Value* _internal_mutable_relative_orbit(); public: + void unsafe_arena_set_allocated_relative_orbit( + PROTOBUF_NAMESPACE_ID::UInt32Value* relative_orbit); + PROTOBUF_NAMESPACE_ID::UInt32Value* unsafe_arena_release_relative_orbit(); // .epl.protobuf.v1.Sat.OrbitState orbit_state = 1; void clear_orbit_state(); @@ -3528,7 +3774,9 @@ class Sat : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; PROTOBUF_NAMESPACE_ID::UInt32Value* relative_orbit_; int orbit_state_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -3536,11 +3784,12 @@ class Sat : }; // ------------------------------------------------------------------- -class SatRequest : +class SatRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.SatRequest) */ { public: - SatRequest(); + inline SatRequest() : SatRequest(nullptr) {} virtual ~SatRequest(); + explicit constexpr SatRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SatRequest(const SatRequest& from); SatRequest(SatRequest&& from) noexcept @@ -3553,7 +3802,7 @@ class SatRequest : return *this; } inline SatRequest& operator=(SatRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3570,9 +3819,9 @@ class SatRequest : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const SatRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const SatRequest& default_instance() { + return *internal_default_instance(); + } static inline const SatRequest* internal_default_instance() { return reinterpret_cast( &_SatRequest_default_instance_); @@ -3585,6 +3834,15 @@ class SatRequest : } inline void Swap(SatRequest* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SatRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3619,20 +3877,17 @@ class SatRequest : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.SatRequest"; } + protected: + explicit SatRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3667,7 +3922,9 @@ class SatRequest : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; int orbit_state_; ::PROTOBUF_NAMESPACE_ID::uint32 relative_orbit_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -3675,11 +3932,12 @@ class SatRequest : }; // ------------------------------------------------------------------- -class Eo : +class Eo PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Eo) */ { public: - Eo(); + inline Eo() : Eo(nullptr) {} virtual ~Eo(); + explicit constexpr Eo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Eo(const Eo& from); Eo(Eo&& from) noexcept @@ -3692,7 +3950,7 @@ class Eo : return *this; } inline Eo& operator=(Eo&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3709,9 +3967,9 @@ class Eo : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Eo& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Eo& default_instance() { + return *internal_default_instance(); + } static inline const Eo* internal_default_instance() { return reinterpret_cast( &_Eo_default_instance_); @@ -3724,6 +3982,15 @@ class Eo : } inline void Swap(Eo* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Eo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3758,20 +4025,17 @@ class Eo : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Eo"; } + protected: + explicit Eo(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3829,7 +4093,7 @@ class Eo : "Incorrect type passed to function Band_Name."); return Eo_Band_Name(enum_t_value); } - static inline bool Band_Parse(const std::string& name, + static inline bool Band_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Band* value) { return Eo_Band_Parse(name, value); } @@ -3854,6 +4118,9 @@ class Eo : const PROTOBUF_NAMESPACE_ID::FloatValue& _internal_cloud_cover() const; PROTOBUF_NAMESPACE_ID::FloatValue* _internal_mutable_cloud_cover(); public: + void unsafe_arena_set_allocated_cloud_cover( + PROTOBUF_NAMESPACE_ID::FloatValue* cloud_cover); + PROTOBUF_NAMESPACE_ID::FloatValue* unsafe_arena_release_cloud_cover(); // .epl.protobuf.v1.Eo.Band bands = 2; void clear_bands(); @@ -3868,7 +4135,9 @@ class Eo : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; PROTOBUF_NAMESPACE_ID::FloatValue* cloud_cover_; int bands_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -3876,11 +4145,12 @@ class Eo : }; // ------------------------------------------------------------------- -class EoRequest : +class EoRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.EoRequest) */ { public: - EoRequest(); + inline EoRequest() : EoRequest(nullptr) {} virtual ~EoRequest(); + explicit constexpr EoRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); EoRequest(const EoRequest& from); EoRequest(EoRequest&& from) noexcept @@ -3893,7 +4163,7 @@ class EoRequest : return *this; } inline EoRequest& operator=(EoRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -3910,9 +4180,9 @@ class EoRequest : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const EoRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const EoRequest& default_instance() { + return *internal_default_instance(); + } static inline const EoRequest* internal_default_instance() { return reinterpret_cast( &_EoRequest_default_instance_); @@ -3925,6 +4195,15 @@ class EoRequest : } inline void Swap(EoRequest* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(EoRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -3959,20 +4238,17 @@ class EoRequest : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.EoRequest"; } + protected: + explicit EoRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -3999,6 +4275,9 @@ class EoRequest : const ::epl::protobuf::v1::FloatFilter& _internal_cloud_cover() const; ::epl::protobuf::v1::FloatFilter* _internal_mutable_cloud_cover(); public: + void unsafe_arena_set_allocated_cloud_cover( + ::epl::protobuf::v1::FloatFilter* cloud_cover); + ::epl::protobuf::v1::FloatFilter* unsafe_arena_release_cloud_cover(); // .epl.protobuf.v1.Eo.Band bands = 2; void clear_bands(); @@ -4013,7 +4292,9 @@ class EoRequest : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::epl::protobuf::v1::FloatFilter* cloud_cover_; int bands_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -4021,11 +4302,12 @@ class EoRequest : }; // ------------------------------------------------------------------- -class Asset : +class Asset PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Asset) */ { public: - Asset(); + inline Asset() : Asset(nullptr) {} virtual ~Asset(); + explicit constexpr Asset(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Asset(const Asset& from); Asset(Asset&& from) noexcept @@ -4038,7 +4320,7 @@ class Asset : return *this; } inline Asset& operator=(Asset&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4055,9 +4337,9 @@ class Asset : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Asset& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Asset& default_instance() { + return *internal_default_instance(); + } static inline const Asset* internal_default_instance() { return reinterpret_cast( &_Asset_default_instance_); @@ -4070,6 +4352,15 @@ class Asset : } inline void Swap(Asset* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Asset* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4104,20 +4395,17 @@ class Asset : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Asset"; } + protected: + explicit Asset(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4274,7 +4562,9 @@ class Asset : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr href_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bucket_manager_; @@ -4290,11 +4580,12 @@ class Asset : }; // ------------------------------------------------------------------- -class DatetimeRange : +class DatetimeRange PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.DatetimeRange) */ { public: - DatetimeRange(); + inline DatetimeRange() : DatetimeRange(nullptr) {} virtual ~DatetimeRange(); + explicit constexpr DatetimeRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DatetimeRange(const DatetimeRange& from); DatetimeRange(DatetimeRange&& from) noexcept @@ -4307,7 +4598,7 @@ class DatetimeRange : return *this; } inline DatetimeRange& operator=(DatetimeRange&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4324,9 +4615,9 @@ class DatetimeRange : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const DatetimeRange& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const DatetimeRange& default_instance() { + return *internal_default_instance(); + } static inline const DatetimeRange* internal_default_instance() { return reinterpret_cast( &_DatetimeRange_default_instance_); @@ -4339,6 +4630,15 @@ class DatetimeRange : } inline void Swap(DatetimeRange* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DatetimeRange* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4373,20 +4673,17 @@ class DatetimeRange : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.DatetimeRange"; } + protected: + explicit DatetimeRange(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4413,6 +4710,9 @@ class DatetimeRange : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_start() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_start(); public: + void unsafe_arena_set_allocated_start( + PROTOBUF_NAMESPACE_ID::Timestamp* start); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_start(); // .google.protobuf.Timestamp end = 2; bool has_end() const; @@ -4428,12 +4728,17 @@ class DatetimeRange : const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_end() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_end(); public: + void unsafe_arena_set_allocated_end( + PROTOBUF_NAMESPACE_ID::Timestamp* end); + PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_end(); // @@protoc_insertion_point(class_scope:epl.protobuf.v1.DatetimeRange) private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; PROTOBUF_NAMESPACE_ID::Timestamp* start_; PROTOBUF_NAMESPACE_ID::Timestamp* end_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -4441,11 +4746,12 @@ class DatetimeRange : }; // ------------------------------------------------------------------- -class StacDbResponse : +class StacDbResponse PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.StacDbResponse) */ { public: - StacDbResponse(); + inline StacDbResponse() : StacDbResponse(nullptr) {} virtual ~StacDbResponse(); + explicit constexpr StacDbResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StacDbResponse(const StacDbResponse& from); StacDbResponse(StacDbResponse&& from) noexcept @@ -4458,7 +4764,7 @@ class StacDbResponse : return *this; } inline StacDbResponse& operator=(StacDbResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4475,9 +4781,9 @@ class StacDbResponse : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const StacDbResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const StacDbResponse& default_instance() { + return *internal_default_instance(); + } static inline const StacDbResponse* internal_default_instance() { return reinterpret_cast( &_StacDbResponse_default_instance_); @@ -4490,6 +4796,15 @@ class StacDbResponse : } inline void Swap(StacDbResponse* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(StacDbResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4524,20 +4839,17 @@ class StacDbResponse : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.StacDbResponse"; } + protected: + explicit StacDbResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4606,7 +4918,9 @@ class StacDbResponse : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_id_; ::PROTOBUF_NAMESPACE_ID::uint64 count_; @@ -4616,11 +4930,12 @@ class StacDbResponse : }; // ------------------------------------------------------------------- -class Sar : +class Sar PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Sar) */ { public: - Sar(); + inline Sar() : Sar(nullptr) {} virtual ~Sar(); + explicit constexpr Sar(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Sar(const Sar& from); Sar(Sar&& from) noexcept @@ -4633,7 +4948,7 @@ class Sar : return *this; } inline Sar& operator=(Sar&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4650,9 +4965,9 @@ class Sar : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Sar& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Sar& default_instance() { + return *internal_default_instance(); + } static inline const Sar* internal_default_instance() { return reinterpret_cast( &_Sar_default_instance_); @@ -4665,6 +4980,15 @@ class Sar : } inline void Swap(Sar* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Sar* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4699,20 +5023,17 @@ class Sar : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Sar"; } + protected: + explicit Sar(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4746,7 +5067,7 @@ class Sar : "Incorrect type passed to function Platform_Name."); return Sar_Platform_Name(enum_t_value); } - static inline bool Platform_Parse(const std::string& name, + static inline bool Platform_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Platform* value) { return Sar_Platform_Parse(name, value); } @@ -4774,7 +5095,7 @@ class Sar : "Incorrect type passed to function Instrument_Name."); return Sar_Instrument_Name(enum_t_value); } - static inline bool Instrument_Parse(const std::string& name, + static inline bool Instrument_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Instrument* value) { return Sar_Instrument_Parse(name, value); } @@ -4797,18 +5118,21 @@ class Sar : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; int platform_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_epl_2fprotobuf_2fv1_2fstac_2eproto; }; // ------------------------------------------------------------------- -class Landsat : +class Landsat PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Landsat) */ { public: - Landsat(); + inline Landsat() : Landsat(nullptr) {} virtual ~Landsat(); + explicit constexpr Landsat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Landsat(const Landsat& from); Landsat(Landsat&& from) noexcept @@ -4821,7 +5145,7 @@ class Landsat : return *this; } inline Landsat& operator=(Landsat&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -4838,9 +5162,9 @@ class Landsat : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Landsat& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Landsat& default_instance() { + return *internal_default_instance(); + } static inline const Landsat* internal_default_instance() { return reinterpret_cast( &_Landsat_default_instance_); @@ -4853,6 +5177,15 @@ class Landsat : } inline void Swap(Landsat* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Landsat* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -4887,20 +5220,17 @@ class Landsat : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Landsat"; } + protected: + explicit Landsat(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -4940,7 +5270,7 @@ class Landsat : "Incorrect type passed to function CollectionCategory_Name."); return Landsat_CollectionCategory_Name(enum_t_value); } - static inline bool CollectionCategory_Parse(const std::string& name, + static inline bool CollectionCategory_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CollectionCategory* value) { return Landsat_CollectionCategory_Parse(name, value); } @@ -4972,7 +5302,7 @@ class Landsat : "Incorrect type passed to function WRSType_Name."); return Landsat_WRSType_Name(enum_t_value); } - static inline bool WRSType_Parse(const std::string& name, + static inline bool WRSType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, WRSType* value) { return Landsat_WRSType_Parse(name, value); } @@ -5010,7 +5340,7 @@ class Landsat : "Incorrect type passed to function ProcessingLevel_Name."); return Landsat_ProcessingLevel_Name(enum_t_value); } - static inline bool ProcessingLevel_Parse(const std::string& name, + static inline bool ProcessingLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProcessingLevel* value) { return Landsat_ProcessingLevel_Parse(name, value); } @@ -5072,6 +5402,9 @@ class Landsat : const PROTOBUF_NAMESPACE_ID::FloatValue& _internal_cloud_cover_land() const; PROTOBUF_NAMESPACE_ID::FloatValue* _internal_mutable_cloud_cover_land(); public: + void unsafe_arena_set_allocated_cloud_cover_land( + PROTOBUF_NAMESPACE_ID::FloatValue* cloud_cover_land); + PROTOBUF_NAMESPACE_ID::FloatValue* unsafe_arena_release_cloud_cover_land(); // .epl.protobuf.v1.Landsat.ProcessingLevel processing_level = 3; void clear_processing_level(); @@ -5113,7 +5446,9 @@ class Landsat : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scene_id_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr product_id_; PROTOBUF_NAMESPACE_ID::FloatValue* cloud_cover_land_; @@ -5126,11 +5461,12 @@ class Landsat : }; // ------------------------------------------------------------------- -class LandsatRequest : +class LandsatRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.LandsatRequest) */ { public: - LandsatRequest(); + inline LandsatRequest() : LandsatRequest(nullptr) {} virtual ~LandsatRequest(); + explicit constexpr LandsatRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); LandsatRequest(const LandsatRequest& from); LandsatRequest(LandsatRequest&& from) noexcept @@ -5143,7 +5479,7 @@ class LandsatRequest : return *this; } inline LandsatRequest& operator=(LandsatRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -5160,9 +5496,9 @@ class LandsatRequest : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const LandsatRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const LandsatRequest& default_instance() { + return *internal_default_instance(); + } static inline const LandsatRequest* internal_default_instance() { return reinterpret_cast( &_LandsatRequest_default_instance_); @@ -5175,6 +5511,15 @@ class LandsatRequest : } inline void Swap(LandsatRequest* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LandsatRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -5209,20 +5554,17 @@ class LandsatRequest : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.LandsatRequest"; } + protected: + explicit LandsatRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -5285,6 +5627,9 @@ class LandsatRequest : const ::epl::protobuf::v1::FloatFilter& _internal_cloud_cover_land() const; ::epl::protobuf::v1::FloatFilter* _internal_mutable_cloud_cover_land(); public: + void unsafe_arena_set_allocated_cloud_cover_land( + ::epl::protobuf::v1::FloatFilter* cloud_cover_land); + ::epl::protobuf::v1::FloatFilter* unsafe_arena_release_cloud_cover_land(); // .epl.protobuf.v1.Landsat.ProcessingLevel processing_level = 3; void clear_processing_level(); @@ -5317,7 +5662,9 @@ class LandsatRequest : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scene_id_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr product_id_; ::epl::protobuf::v1::FloatFilter* cloud_cover_land_; @@ -5329,11 +5676,12 @@ class LandsatRequest : }; // ------------------------------------------------------------------- -class Mosaic : +class Mosaic PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.Mosaic) */ { public: - Mosaic(); + inline Mosaic() : Mosaic(nullptr) {} virtual ~Mosaic(); + explicit constexpr Mosaic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Mosaic(const Mosaic& from); Mosaic(Mosaic&& from) noexcept @@ -5346,7 +5694,7 @@ class Mosaic : return *this; } inline Mosaic& operator=(Mosaic&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -5363,9 +5711,9 @@ class Mosaic : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const Mosaic& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const Mosaic& default_instance() { + return *internal_default_instance(); + } static inline const Mosaic* internal_default_instance() { return reinterpret_cast( &_Mosaic_default_instance_); @@ -5378,6 +5726,15 @@ class Mosaic : } inline void Swap(Mosaic* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Mosaic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -5412,20 +5769,17 @@ class Mosaic : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.Mosaic"; } + protected: + explicit Mosaic(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -5533,12 +5887,17 @@ class Mosaic : const ::epl::protobuf::v1::DatetimeRange& _internal_observation_range() const; ::epl::protobuf::v1::DatetimeRange* _internal_mutable_observation_range(); public: + void unsafe_arena_set_allocated_observation_range( + ::epl::protobuf::v1::DatetimeRange* observation_range); + ::epl::protobuf::v1::DatetimeRange* unsafe_arena_release_observation_range(); // @@protoc_insertion_point(class_scope:epl.protobuf.v1.Mosaic) private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > zooms_; mutable std::atomic _zooms_cached_byte_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField provenance_ids_; @@ -5550,11 +5909,12 @@ class Mosaic : }; // ------------------------------------------------------------------- -class MosaicRequest : +class MosaicRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:epl.protobuf.v1.MosaicRequest) */ { public: - MosaicRequest(); + inline MosaicRequest() : MosaicRequest(nullptr) {} virtual ~MosaicRequest(); + explicit constexpr MosaicRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); MosaicRequest(const MosaicRequest& from); MosaicRequest(MosaicRequest&& from) noexcept @@ -5567,7 +5927,7 @@ class MosaicRequest : return *this; } inline MosaicRequest& operator=(MosaicRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); @@ -5584,9 +5944,9 @@ class MosaicRequest : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } - static const MosaicRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const MosaicRequest& default_instance() { + return *internal_default_instance(); + } static inline const MosaicRequest* internal_default_instance() { return reinterpret_cast( &_MosaicRequest_default_instance_); @@ -5599,6 +5959,15 @@ class MosaicRequest : } inline void Swap(MosaicRequest* other) { if (other == this) return; + if (GetArena() == other->GetArena()) { + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MosaicRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } @@ -5633,20 +6002,17 @@ class MosaicRequest : static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "epl.protobuf.v1.MosaicRequest"; } + protected: + explicit MosaicRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto); - return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto.file_level_metadata[kIndexInFileMessages]; + return ::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto_metadata_getter(kIndexInFileMessages); } public: @@ -5695,7 +6061,9 @@ class MosaicRequest : private: class _Internal; - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr quad_key_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -5716,7 +6084,7 @@ class MosaicRequest : // string stac_version = 1; inline void Collection::clear_stac_version() { - stac_version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + stac_version_.ClearToEmpty(); } inline const std::string& Collection::stac_version() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Collection.stac_version) @@ -5731,38 +6099,38 @@ inline std::string* Collection::mutable_stac_version() { return _internal_mutable_stac_version(); } inline const std::string& Collection::_internal_stac_version() const { - return stac_version_.GetNoArena(); + return stac_version_.Get(); } inline void Collection::_internal_set_stac_version(const std::string& value) { - stac_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + stac_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Collection::set_stac_version(std::string&& value) { - stac_version_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + stac_version_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Collection.stac_version) } inline void Collection::set_stac_version(const char* value) { GOOGLE_DCHECK(value != nullptr); - stac_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + stac_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Collection.stac_version) } -inline void Collection::set_stac_version(const char* value, size_t size) { +inline void Collection::set_stac_version(const char* value, + size_t size) { - stac_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + stac_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Collection.stac_version) } inline std::string* Collection::_internal_mutable_stac_version() { - return stac_version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return stac_version_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Collection::release_stac_version() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Collection.stac_version) - - return stac_version_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return stac_version_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Collection::set_allocated_stac_version(std::string* stac_version) { if (stac_version != nullptr) { @@ -5770,13 +6138,14 @@ inline void Collection::set_allocated_stac_version(std::string* stac_version) { } else { } - stac_version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stac_version); + stac_version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stac_version, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Collection.stac_version) } // string id = 3; inline void Collection::clear_id() { - id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + id_.ClearToEmpty(); } inline const std::string& Collection::id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Collection.id) @@ -5791,38 +6160,38 @@ inline std::string* Collection::mutable_id() { return _internal_mutable_id(); } inline const std::string& Collection::_internal_id() const { - return id_.GetNoArena(); + return id_.Get(); } inline void Collection::_internal_set_id(const std::string& value) { - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Collection::set_id(std::string&& value) { - id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Collection.id) } inline void Collection::set_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Collection.id) } -inline void Collection::set_id(const char* value, size_t size) { +inline void Collection::set_id(const char* value, + size_t size) { - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Collection.id) } inline std::string* Collection::_internal_mutable_id() { - return id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Collection::release_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Collection.id) - - return id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Collection::set_allocated_id(std::string* id) { if (id != nullptr) { @@ -5830,13 +6199,14 @@ inline void Collection::set_allocated_id(std::string* id) { } else { } - id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id); + id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Collection.id) } // string title = 4; inline void Collection::clear_title() { - title_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + title_.ClearToEmpty(); } inline const std::string& Collection::title() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Collection.title) @@ -5851,38 +6221,38 @@ inline std::string* Collection::mutable_title() { return _internal_mutable_title(); } inline const std::string& Collection::_internal_title() const { - return title_.GetNoArena(); + return title_.Get(); } inline void Collection::_internal_set_title(const std::string& value) { - title_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Collection::set_title(std::string&& value) { - title_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + title_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Collection.title) } inline void Collection::set_title(const char* value) { GOOGLE_DCHECK(value != nullptr); - title_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Collection.title) } -inline void Collection::set_title(const char* value, size_t size) { +inline void Collection::set_title(const char* value, + size_t size) { - title_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Collection.title) } inline std::string* Collection::_internal_mutable_title() { - return title_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Collection::release_title() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Collection.title) - - return title_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return title_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Collection::set_allocated_title(std::string* title) { if (title != nullptr) { @@ -5890,13 +6260,14 @@ inline void Collection::set_allocated_title(std::string* title) { } else { } - title_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title); + title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Collection.title) } // string description = 5; inline void Collection::clear_description() { - description_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + description_.ClearToEmpty(); } inline const std::string& Collection::description() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Collection.description) @@ -5911,38 +6282,38 @@ inline std::string* Collection::mutable_description() { return _internal_mutable_description(); } inline const std::string& Collection::_internal_description() const { - return description_.GetNoArena(); + return description_.Get(); } inline void Collection::_internal_set_description(const std::string& value) { - description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Collection::set_description(std::string&& value) { - description_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + description_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Collection.description) } inline void Collection::set_description(const char* value) { GOOGLE_DCHECK(value != nullptr); - description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Collection.description) } -inline void Collection::set_description(const char* value, size_t size) { +inline void Collection::set_description(const char* value, + size_t size) { - description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Collection.description) } inline std::string* Collection::_internal_mutable_description() { - return description_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Collection::release_description() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Collection.description) - - return description_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return description_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Collection::set_allocated_description(std::string* description) { if (description != nullptr) { @@ -5950,7 +6321,8 @@ inline void Collection::set_allocated_description(std::string* description) { } else { } - description_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description); + description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Collection.description) } @@ -6030,7 +6402,7 @@ Collection::mutable_keywords() { // string license = 7; inline void Collection::clear_license() { - license_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + license_.ClearToEmpty(); } inline const std::string& Collection::license() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Collection.license) @@ -6045,38 +6417,38 @@ inline std::string* Collection::mutable_license() { return _internal_mutable_license(); } inline const std::string& Collection::_internal_license() const { - return license_.GetNoArena(); + return license_.Get(); } inline void Collection::_internal_set_license(const std::string& value) { - license_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + license_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Collection::set_license(std::string&& value) { - license_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + license_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Collection.license) } inline void Collection::set_license(const char* value) { GOOGLE_DCHECK(value != nullptr); - license_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + license_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Collection.license) } -inline void Collection::set_license(const char* value, size_t size) { +inline void Collection::set_license(const char* value, + size_t size) { - license_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + license_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Collection.license) } inline std::string* Collection::_internal_mutable_license() { - return license_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return license_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Collection::release_license() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Collection.license) - - return license_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return license_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Collection::set_allocated_license(std::string* license) { if (license != nullptr) { @@ -6084,7 +6456,8 @@ inline void Collection::set_allocated_license(std::string* license) { } else { } - license_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), license); + license_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), license, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Collection.license) } @@ -6135,22 +6508,44 @@ inline bool Collection::has_extent() const { return _internal_has_extent(); } inline void Collection::clear_extent() { - if (GetArenaNoVirtual() == nullptr && extent_ != nullptr) { + if (GetArena() == nullptr && extent_ != nullptr) { delete extent_; } extent_ = nullptr; } inline const ::epl::protobuf::v1::Extent& Collection::_internal_extent() const { const ::epl::protobuf::v1::Extent* p = extent_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_Extent_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_Extent_default_instance_); } inline const ::epl::protobuf::v1::Extent& Collection::extent() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Collection.extent) return _internal_extent(); } +inline void Collection::unsafe_arena_set_allocated_extent( + ::epl::protobuf::v1::Extent* extent) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(extent_); + } + extent_ = extent; + if (extent) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.Collection.extent) +} inline ::epl::protobuf::v1::Extent* Collection::release_extent() { - // @@protoc_insertion_point(field_release:epl.protobuf.v1.Collection.extent) + + ::epl::protobuf::v1::Extent* temp = extent_; + extent_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::Extent* Collection::unsafe_arena_release_extent() { + // @@protoc_insertion_point(field_release:epl.protobuf.v1.Collection.extent) ::epl::protobuf::v1::Extent* temp = extent_; extent_ = nullptr; @@ -6159,7 +6554,7 @@ inline ::epl::protobuf::v1::Extent* Collection::release_extent() { inline ::epl::protobuf::v1::Extent* Collection::_internal_mutable_extent() { if (extent_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::Extent>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::Extent>(GetArena()); extent_ = p; } return extent_; @@ -6169,12 +6564,13 @@ inline ::epl::protobuf::v1::Extent* Collection::mutable_extent() { return _internal_mutable_extent(); } inline void Collection::set_allocated_extent(::epl::protobuf::v1::Extent* extent) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete extent_; } if (extent) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(extent); if (message_arena != submessage_arena) { extent = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, extent, submessage_arena); @@ -6222,7 +6618,7 @@ Collection::mutable_summaries() { // string id = 1; inline void CollectionRequest::clear_id() { - id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + id_.ClearToEmpty(); } inline const std::string& CollectionRequest::id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.CollectionRequest.id) @@ -6237,38 +6633,38 @@ inline std::string* CollectionRequest::mutable_id() { return _internal_mutable_id(); } inline const std::string& CollectionRequest::_internal_id() const { - return id_.GetNoArena(); + return id_.Get(); } inline void CollectionRequest::_internal_set_id(const std::string& value) { - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void CollectionRequest::set_id(std::string&& value) { - id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.CollectionRequest.id) } inline void CollectionRequest::set_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.CollectionRequest.id) } -inline void CollectionRequest::set_id(const char* value, size_t size) { +inline void CollectionRequest::set_id(const char* value, + size_t size) { - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.CollectionRequest.id) } inline std::string* CollectionRequest::_internal_mutable_id() { - return id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* CollectionRequest::release_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.CollectionRequest.id) - - return id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void CollectionRequest::set_allocated_id(std::string* id) { if (id != nullptr) { @@ -6276,7 +6672,8 @@ inline void CollectionRequest::set_allocated_id(std::string* id) { } else { } - id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id); + id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.CollectionRequest.id) } @@ -6295,6 +6692,9 @@ inline ::epl::protobuf::v1::EnvelopeData* CollectionRequest::release_bbox() { if (_internal_has_bbox()) { clear_has_spatial(); ::epl::protobuf::v1::EnvelopeData* temp = spatial_.bbox_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } spatial_.bbox_ = nullptr; return temp; } else { @@ -6304,18 +6704,36 @@ inline ::epl::protobuf::v1::EnvelopeData* CollectionRequest::release_bbox() { inline const ::epl::protobuf::v1::EnvelopeData& CollectionRequest::_internal_bbox() const { return _internal_has_bbox() ? *spatial_.bbox_ - : *reinterpret_cast< ::epl::protobuf::v1::EnvelopeData*>(&::epl::protobuf::v1::_EnvelopeData_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::EnvelopeData&>(::epl::protobuf::v1::_EnvelopeData_default_instance_); } inline const ::epl::protobuf::v1::EnvelopeData& CollectionRequest::bbox() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.CollectionRequest.bbox) return _internal_bbox(); } +inline ::epl::protobuf::v1::EnvelopeData* CollectionRequest::unsafe_arena_release_bbox() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.CollectionRequest.bbox) + if (_internal_has_bbox()) { + clear_has_spatial(); + ::epl::protobuf::v1::EnvelopeData* temp = spatial_.bbox_; + spatial_.bbox_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void CollectionRequest::unsafe_arena_set_allocated_bbox(::epl::protobuf::v1::EnvelopeData* bbox) { + clear_spatial(); + if (bbox) { + set_has_bbox(); + spatial_.bbox_ = bbox; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.CollectionRequest.bbox) +} inline ::epl::protobuf::v1::EnvelopeData* CollectionRequest::_internal_mutable_bbox() { if (!_internal_has_bbox()) { clear_spatial(); set_has_bbox(); - spatial_.bbox_ = CreateMaybeMessage< ::epl::protobuf::v1::EnvelopeData >( - GetArenaNoVirtual()); + spatial_.bbox_ = CreateMaybeMessage< ::epl::protobuf::v1::EnvelopeData >(GetArena()); } return spatial_.bbox_; } @@ -6339,6 +6757,9 @@ inline ::epl::protobuf::v1::GeometryData* CollectionRequest::release_intersects( if (_internal_has_intersects()) { clear_has_spatial(); ::epl::protobuf::v1::GeometryData* temp = spatial_.intersects_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } spatial_.intersects_ = nullptr; return temp; } else { @@ -6348,18 +6769,36 @@ inline ::epl::protobuf::v1::GeometryData* CollectionRequest::release_intersects( inline const ::epl::protobuf::v1::GeometryData& CollectionRequest::_internal_intersects() const { return _internal_has_intersects() ? *spatial_.intersects_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryData*>(&::epl::protobuf::v1::_GeometryData_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryData&>(::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& CollectionRequest::intersects() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.CollectionRequest.intersects) return _internal_intersects(); } +inline ::epl::protobuf::v1::GeometryData* CollectionRequest::unsafe_arena_release_intersects() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.CollectionRequest.intersects) + if (_internal_has_intersects()) { + clear_has_spatial(); + ::epl::protobuf::v1::GeometryData* temp = spatial_.intersects_; + spatial_.intersects_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void CollectionRequest::unsafe_arena_set_allocated_intersects(::epl::protobuf::v1::GeometryData* intersects) { + clear_spatial(); + if (intersects) { + set_has_intersects(); + spatial_.intersects_ = intersects; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.CollectionRequest.intersects) +} inline ::epl::protobuf::v1::GeometryData* CollectionRequest::_internal_mutable_intersects() { if (!_internal_has_intersects()) { clear_spatial(); set_has_intersects(); - spatial_.intersects_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >( - GetArenaNoVirtual()); + spatial_.intersects_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >(GetArena()); } return spatial_.intersects_; } @@ -6473,14 +6912,36 @@ inline bool Interval::has_start() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& Interval::_internal_start() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = start_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& Interval::start() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Interval.start) return _internal_start(); } +inline void Interval::unsafe_arena_set_allocated_start( + PROTOBUF_NAMESPACE_ID::Timestamp* start) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_); + } + start_ = start; + if (start) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.Interval.start) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::release_start() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = start_; + start_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::unsafe_arena_release_start() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Interval.start) PROTOBUF_NAMESPACE_ID::Timestamp* temp = start_; @@ -6490,7 +6951,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::release_start() { inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::_internal_mutable_start() { if (start_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); start_ = p; } return start_; @@ -6500,7 +6961,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::mutable_start() { return _internal_mutable_start(); } inline void Interval::set_allocated_start(PROTOBUF_NAMESPACE_ID::Timestamp* start) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_); } @@ -6528,14 +6989,36 @@ inline bool Interval::has_end() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& Interval::_internal_end() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = end_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& Interval::end() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Interval.end) return _internal_end(); } +inline void Interval::unsafe_arena_set_allocated_end( + PROTOBUF_NAMESPACE_ID::Timestamp* end) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_); + } + end_ = end; + if (end) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.Interval.end) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::release_end() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_; + end_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::unsafe_arena_release_end() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Interval.end) PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_; @@ -6545,7 +7028,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::release_end() { inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::_internal_mutable_end() { if (end_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); end_ = p; } return end_; @@ -6555,7 +7038,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* Interval::mutable_end() { return _internal_mutable_end(); } inline void Interval::set_allocated_end(PROTOBUF_NAMESPACE_ID::Timestamp* end) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_); } @@ -6580,7 +7063,7 @@ inline void Interval::set_allocated_end(PROTOBUF_NAMESPACE_ID::Timestamp* end) { // string name = 1; inline void Provider::clear_name() { - name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + name_.ClearToEmpty(); } inline const std::string& Provider::name() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Provider.name) @@ -6595,38 +7078,38 @@ inline std::string* Provider::mutable_name() { return _internal_mutable_name(); } inline const std::string& Provider::_internal_name() const { - return name_.GetNoArena(); + return name_.Get(); } inline void Provider::_internal_set_name(const std::string& value) { - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Provider::set_name(std::string&& value) { - name_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + name_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Provider.name) } inline void Provider::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Provider.name) } -inline void Provider::set_name(const char* value, size_t size) { +inline void Provider::set_name(const char* value, + size_t size) { - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Provider.name) } inline std::string* Provider::_internal_mutable_name() { - return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Provider::release_name() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Provider.name) - - return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Provider::set_allocated_name(std::string* name) { if (name != nullptr) { @@ -6634,13 +7117,14 @@ inline void Provider::set_allocated_name(std::string* name) { } else { } - name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); + name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Provider.name) } // string description = 2; inline void Provider::clear_description() { - description_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + description_.ClearToEmpty(); } inline const std::string& Provider::description() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Provider.description) @@ -6655,38 +7139,38 @@ inline std::string* Provider::mutable_description() { return _internal_mutable_description(); } inline const std::string& Provider::_internal_description() const { - return description_.GetNoArena(); + return description_.Get(); } inline void Provider::_internal_set_description(const std::string& value) { - description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Provider::set_description(std::string&& value) { - description_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + description_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Provider.description) } inline void Provider::set_description(const char* value) { GOOGLE_DCHECK(value != nullptr); - description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Provider.description) } -inline void Provider::set_description(const char* value, size_t size) { +inline void Provider::set_description(const char* value, + size_t size) { - description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Provider.description) } inline std::string* Provider::_internal_mutable_description() { - return description_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Provider::release_description() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Provider.description) - - return description_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return description_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Provider::set_allocated_description(std::string* description) { if (description != nullptr) { @@ -6694,7 +7178,8 @@ inline void Provider::set_allocated_description(std::string* description) { } else { } - description_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description); + description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Provider.description) } @@ -6774,7 +7259,7 @@ Provider::mutable_roles() { // string url = 4; inline void Provider::clear_url() { - url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + url_.ClearToEmpty(); } inline const std::string& Provider::url() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Provider.url) @@ -6789,38 +7274,38 @@ inline std::string* Provider::mutable_url() { return _internal_mutable_url(); } inline const std::string& Provider::_internal_url() const { - return url_.GetNoArena(); + return url_.Get(); } inline void Provider::_internal_set_url(const std::string& value) { - url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Provider::set_url(std::string&& value) { - url_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + url_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Provider.url) } inline void Provider::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); - url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Provider.url) } -inline void Provider::set_url(const char* value, size_t size) { +inline void Provider::set_url(const char* value, + size_t size) { - url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Provider.url) } inline std::string* Provider::_internal_mutable_url() { - return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Provider::release_url() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Provider.url) - - return url_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return url_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Provider::set_allocated_url(std::string* url) { if (url != nullptr) { @@ -6828,7 +7313,8 @@ inline void Provider::set_allocated_url(std::string* url) { } else { } - url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); + url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Provider.url) } @@ -6840,7 +7326,7 @@ inline void Provider::set_allocated_url(std::string* url) { // string id = 1; inline void StacItem::clear_id() { - id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + id_.ClearToEmpty(); } inline const std::string& StacItem::id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.id) @@ -6855,38 +7341,38 @@ inline std::string* StacItem::mutable_id() { return _internal_mutable_id(); } inline const std::string& StacItem::_internal_id() const { - return id_.GetNoArena(); + return id_.Get(); } inline void StacItem::_internal_set_id(const std::string& value) { - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_id(std::string&& value) { - id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.id) } inline void StacItem::set_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.id) } -inline void StacItem::set_id(const char* value, size_t size) { +inline void StacItem::set_id(const char* value, + size_t size) { - id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.id) } inline std::string* StacItem::_internal_mutable_id() { - return id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.id) - - return id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_id(std::string* id) { if (id != nullptr) { @@ -6894,13 +7380,14 @@ inline void StacItem::set_allocated_id(std::string* id) { } else { } - id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id); + id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.id) } // string title = 2; inline void StacItem::clear_title() { - title_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + title_.ClearToEmpty(); } inline const std::string& StacItem::title() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.title) @@ -6915,38 +7402,38 @@ inline std::string* StacItem::mutable_title() { return _internal_mutable_title(); } inline const std::string& StacItem::_internal_title() const { - return title_.GetNoArena(); + return title_.Get(); } inline void StacItem::_internal_set_title(const std::string& value) { - title_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_title(std::string&& value) { - title_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + title_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.title) } inline void StacItem::set_title(const char* value) { GOOGLE_DCHECK(value != nullptr); - title_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.title) } -inline void StacItem::set_title(const char* value, size_t size) { +inline void StacItem::set_title(const char* value, + size_t size) { - title_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.title) } inline std::string* StacItem::_internal_mutable_title() { - return title_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_title() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.title) - - return title_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return title_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_title(std::string* title) { if (title != nullptr) { @@ -6954,13 +7441,14 @@ inline void StacItem::set_allocated_title(std::string* title) { } else { } - title_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title); + title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.title) } // string collection = 3; inline void StacItem::clear_collection() { - collection_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + collection_.ClearToEmpty(); } inline const std::string& StacItem::collection() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.collection) @@ -6975,38 +7463,38 @@ inline std::string* StacItem::mutable_collection() { return _internal_mutable_collection(); } inline const std::string& StacItem::_internal_collection() const { - return collection_.GetNoArena(); + return collection_.Get(); } inline void StacItem::_internal_set_collection(const std::string& value) { - collection_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + collection_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_collection(std::string&& value) { - collection_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + collection_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.collection) } inline void StacItem::set_collection(const char* value) { GOOGLE_DCHECK(value != nullptr); - collection_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + collection_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.collection) } -inline void StacItem::set_collection(const char* value, size_t size) { +inline void StacItem::set_collection(const char* value, + size_t size) { - collection_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + collection_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.collection) } inline std::string* StacItem::_internal_mutable_collection() { - return collection_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return collection_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_collection() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.collection) - - return collection_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return collection_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_collection(std::string* collection) { if (collection != nullptr) { @@ -7014,7 +7502,8 @@ inline void StacItem::set_allocated_collection(std::string* collection) { } else { } - collection_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection); + collection_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.collection) } @@ -7027,14 +7516,36 @@ inline bool StacItem::has_properties() const { } inline const PROTOBUF_NAMESPACE_ID::Any& StacItem::_internal_properties() const { const PROTOBUF_NAMESPACE_ID::Any* p = properties_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Any_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Any_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Any& StacItem::properties() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.properties) return _internal_properties(); } +inline void StacItem::unsafe_arena_set_allocated_properties( + PROTOBUF_NAMESPACE_ID::Any* properties) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(properties_); + } + properties_ = properties; + if (properties) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.properties) +} inline PROTOBUF_NAMESPACE_ID::Any* StacItem::release_properties() { + + PROTOBUF_NAMESPACE_ID::Any* temp = properties_; + properties_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Any* StacItem::unsafe_arena_release_properties() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.properties) PROTOBUF_NAMESPACE_ID::Any* temp = properties_; @@ -7044,7 +7555,7 @@ inline PROTOBUF_NAMESPACE_ID::Any* StacItem::release_properties() { inline PROTOBUF_NAMESPACE_ID::Any* StacItem::_internal_mutable_properties() { if (properties_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); properties_ = p; } return properties_; @@ -7054,12 +7565,13 @@ inline PROTOBUF_NAMESPACE_ID::Any* StacItem::mutable_properties() { return _internal_mutable_properties(); } inline void StacItem::set_allocated_properties(PROTOBUF_NAMESPACE_ID::Any* properties) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(properties_); } if (properties) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(properties)->GetArena(); if (message_arena != submessage_arena) { properties = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, properties, submessage_arena); @@ -7110,14 +7622,36 @@ inline bool StacItem::has_geometry() const { } inline const ::epl::protobuf::v1::GeometryData& StacItem::_internal_geometry() const { const ::epl::protobuf::v1::GeometryData* p = geometry_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_GeometryData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& StacItem::geometry() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.geometry) return _internal_geometry(); } +inline void StacItem::unsafe_arena_set_allocated_geometry( + ::epl::protobuf::v1::GeometryData* geometry) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(geometry_); + } + geometry_ = geometry; + if (geometry) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.geometry) +} inline ::epl::protobuf::v1::GeometryData* StacItem::release_geometry() { + + ::epl::protobuf::v1::GeometryData* temp = geometry_; + geometry_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::GeometryData* StacItem::unsafe_arena_release_geometry() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.geometry) ::epl::protobuf::v1::GeometryData* temp = geometry_; @@ -7127,7 +7661,7 @@ inline ::epl::protobuf::v1::GeometryData* StacItem::release_geometry() { inline ::epl::protobuf::v1::GeometryData* StacItem::_internal_mutable_geometry() { if (geometry_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::GeometryData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::GeometryData>(GetArena()); geometry_ = p; } return geometry_; @@ -7137,12 +7671,13 @@ inline ::epl::protobuf::v1::GeometryData* StacItem::mutable_geometry() { return _internal_mutable_geometry(); } inline void StacItem::set_allocated_geometry(::epl::protobuf::v1::GeometryData* geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(geometry_); } if (geometry) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(geometry)->GetArena(); if (message_arena != submessage_arena) { geometry = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, geometry, submessage_arena); @@ -7164,14 +7699,36 @@ inline bool StacItem::has_bbox() const { } inline const ::epl::protobuf::v1::EnvelopeData& StacItem::_internal_bbox() const { const ::epl::protobuf::v1::EnvelopeData* p = bbox_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_EnvelopeData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_EnvelopeData_default_instance_); } inline const ::epl::protobuf::v1::EnvelopeData& StacItem::bbox() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.bbox) return _internal_bbox(); } +inline void StacItem::unsafe_arena_set_allocated_bbox( + ::epl::protobuf::v1::EnvelopeData* bbox) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bbox_); + } + bbox_ = bbox; + if (bbox) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.bbox) +} inline ::epl::protobuf::v1::EnvelopeData* StacItem::release_bbox() { + + ::epl::protobuf::v1::EnvelopeData* temp = bbox_; + bbox_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::EnvelopeData* StacItem::unsafe_arena_release_bbox() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.bbox) ::epl::protobuf::v1::EnvelopeData* temp = bbox_; @@ -7181,7 +7738,7 @@ inline ::epl::protobuf::v1::EnvelopeData* StacItem::release_bbox() { inline ::epl::protobuf::v1::EnvelopeData* StacItem::_internal_mutable_bbox() { if (bbox_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::EnvelopeData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::EnvelopeData>(GetArena()); bbox_ = p; } return bbox_; @@ -7191,12 +7748,13 @@ inline ::epl::protobuf::v1::EnvelopeData* StacItem::mutable_bbox() { return _internal_mutable_bbox(); } inline void StacItem::set_allocated_bbox(::epl::protobuf::v1::EnvelopeData* bbox) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(bbox_); } if (bbox) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bbox)->GetArena(); if (message_arena != submessage_arena) { bbox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, bbox, submessage_arena); @@ -7224,6 +7782,9 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_datetime() { if (_internal_has_datetime()) { clear_has_temporal_deprecated(); PROTOBUF_NAMESPACE_ID::Timestamp* temp = temporal_deprecated_.datetime_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } temporal_deprecated_.datetime_ = nullptr; return temp; } else { @@ -7233,18 +7794,36 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_datetime() { inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::_internal_datetime() const { return _internal_has_datetime() ? *temporal_deprecated_.datetime_ - : *reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>(&PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + : reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp&>(PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::datetime() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.datetime) return _internal_datetime(); } +inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::unsafe_arena_release_datetime() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacItem.datetime) + if (_internal_has_datetime()) { + clear_has_temporal_deprecated(); + PROTOBUF_NAMESPACE_ID::Timestamp* temp = temporal_deprecated_.datetime_; + temporal_deprecated_.datetime_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacItem::unsafe_arena_set_allocated_datetime(PROTOBUF_NAMESPACE_ID::Timestamp* datetime) { + clear_temporal_deprecated(); + if (datetime) { + set_has_datetime(); + temporal_deprecated_.datetime_ = datetime; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.datetime) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::_internal_mutable_datetime() { if (!_internal_has_datetime()) { clear_temporal_deprecated(); set_has_datetime(); - temporal_deprecated_.datetime_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >( - GetArenaNoVirtual()); + temporal_deprecated_.datetime_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >(GetArena()); } return temporal_deprecated_.datetime_; } @@ -7268,6 +7847,9 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_start_datetime() { if (_internal_has_start_datetime()) { clear_has_temporal_deprecated(); PROTOBUF_NAMESPACE_ID::Timestamp* temp = temporal_deprecated_.start_datetime_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } temporal_deprecated_.start_datetime_ = nullptr; return temp; } else { @@ -7277,18 +7859,36 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_start_datetime() { inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::_internal_start_datetime() const { return _internal_has_start_datetime() ? *temporal_deprecated_.start_datetime_ - : *reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>(&PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + : reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp&>(PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::start_datetime() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.start_datetime) return _internal_start_datetime(); } +inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::unsafe_arena_release_start_datetime() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacItem.start_datetime) + if (_internal_has_start_datetime()) { + clear_has_temporal_deprecated(); + PROTOBUF_NAMESPACE_ID::Timestamp* temp = temporal_deprecated_.start_datetime_; + temporal_deprecated_.start_datetime_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacItem::unsafe_arena_set_allocated_start_datetime(PROTOBUF_NAMESPACE_ID::Timestamp* start_datetime) { + clear_temporal_deprecated(); + if (start_datetime) { + set_has_start_datetime(); + temporal_deprecated_.start_datetime_ = start_datetime; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.start_datetime) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::_internal_mutable_start_datetime() { if (!_internal_has_start_datetime()) { clear_temporal_deprecated(); set_has_start_datetime(); - temporal_deprecated_.start_datetime_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >( - GetArenaNoVirtual()); + temporal_deprecated_.start_datetime_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >(GetArena()); } return temporal_deprecated_.start_datetime_; } @@ -7312,6 +7912,9 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_observed() { if (_internal_has_observed()) { clear_has_temporal(); PROTOBUF_NAMESPACE_ID::Timestamp* temp = temporal_.observed_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } temporal_.observed_ = nullptr; return temp; } else { @@ -7321,18 +7924,36 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_observed() { inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::_internal_observed() const { return _internal_has_observed() ? *temporal_.observed_ - : *reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>(&PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + : reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp&>(PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::observed() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.observed) return _internal_observed(); } +inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::unsafe_arena_release_observed() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacItem.observed) + if (_internal_has_observed()) { + clear_has_temporal(); + PROTOBUF_NAMESPACE_ID::Timestamp* temp = temporal_.observed_; + temporal_.observed_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacItem::unsafe_arena_set_allocated_observed(PROTOBUF_NAMESPACE_ID::Timestamp* observed) { + clear_temporal(); + if (observed) { + set_has_observed(); + temporal_.observed_ = observed; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.observed) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::_internal_mutable_observed() { if (!_internal_has_observed()) { clear_temporal(); set_has_observed(); - temporal_.observed_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >( - GetArenaNoVirtual()); + temporal_.observed_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >(GetArena()); } return temporal_.observed_; } @@ -7356,6 +7977,9 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_start_observation() { if (_internal_has_start_observation()) { clear_has_temporal(); PROTOBUF_NAMESPACE_ID::Timestamp* temp = temporal_.start_observation_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } temporal_.start_observation_ = nullptr; return temp; } else { @@ -7365,18 +7989,36 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_start_observation() { inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::_internal_start_observation() const { return _internal_has_start_observation() ? *temporal_.start_observation_ - : *reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>(&PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + : reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp&>(PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::start_observation() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.start_observation) return _internal_start_observation(); } +inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::unsafe_arena_release_start_observation() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacItem.start_observation) + if (_internal_has_start_observation()) { + clear_has_temporal(); + PROTOBUF_NAMESPACE_ID::Timestamp* temp = temporal_.start_observation_; + temporal_.start_observation_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacItem::unsafe_arena_set_allocated_start_observation(PROTOBUF_NAMESPACE_ID::Timestamp* start_observation) { + clear_temporal(); + if (start_observation) { + set_has_start_observation(); + temporal_.start_observation_ = start_observation; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.start_observation) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::_internal_mutable_start_observation() { if (!_internal_has_start_observation()) { clear_temporal(); set_has_start_observation(); - temporal_.start_observation_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >( - GetArenaNoVirtual()); + temporal_.start_observation_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >(GetArena()); } return temporal_.start_observation_; } @@ -7394,14 +8036,36 @@ inline bool StacItem::has_end_datetime() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::_internal_end_datetime() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = end_datetime_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::end_datetime() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.end_datetime) return _internal_end_datetime(); } +inline void StacItem::unsafe_arena_set_allocated_end_datetime( + PROTOBUF_NAMESPACE_ID::Timestamp* end_datetime) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_datetime_); + } + end_datetime_ = end_datetime; + if (end_datetime) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.end_datetime) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_end_datetime() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_datetime_; + end_datetime_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::unsafe_arena_release_end_datetime() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.end_datetime) PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_datetime_; @@ -7411,7 +8075,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_end_datetime() { inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::_internal_mutable_end_datetime() { if (end_datetime_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); end_datetime_ = p; } return end_datetime_; @@ -7421,7 +8085,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::mutable_end_datetime() { return _internal_mutable_end_datetime(); } inline void StacItem::set_allocated_end_datetime(PROTOBUF_NAMESPACE_ID::Timestamp* end_datetime) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_datetime_); } @@ -7449,14 +8113,36 @@ inline bool StacItem::has_end_observation() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::_internal_end_observation() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = end_observation_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::end_observation() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.end_observation) return _internal_end_observation(); } +inline void StacItem::unsafe_arena_set_allocated_end_observation( + PROTOBUF_NAMESPACE_ID::Timestamp* end_observation) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_observation_); + } + end_observation_ = end_observation; + if (end_observation) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.end_observation) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_end_observation() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_observation_; + end_observation_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::unsafe_arena_release_end_observation() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.end_observation) PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_observation_; @@ -7466,7 +8152,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_end_observation() { inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::_internal_mutable_end_observation() { if (end_observation_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); end_observation_ = p; } return end_observation_; @@ -7476,7 +8162,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::mutable_end_observation() { return _internal_mutable_end_observation(); } inline void StacItem::set_allocated_end_observation(PROTOBUF_NAMESPACE_ID::Timestamp* end_observation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_observation_); } @@ -7504,14 +8190,36 @@ inline bool StacItem::has_created() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::_internal_created() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = created_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::created() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.created) return _internal_created(); } +inline void StacItem::unsafe_arena_set_allocated_created( + PROTOBUF_NAMESPACE_ID::Timestamp* created) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(created_); + } + created_ = created; + if (created) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.created) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_created() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = created_; + created_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::unsafe_arena_release_created() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.created) PROTOBUF_NAMESPACE_ID::Timestamp* temp = created_; @@ -7521,7 +8229,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_created() { inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::_internal_mutable_created() { if (created_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); created_ = p; } return created_; @@ -7531,7 +8239,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::mutable_created() { return _internal_mutable_created(); } inline void StacItem::set_allocated_created(PROTOBUF_NAMESPACE_ID::Timestamp* created) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(created_); } @@ -7559,14 +8267,36 @@ inline bool StacItem::has_updated() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::_internal_updated() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = updated_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& StacItem::updated() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.updated) return _internal_updated(); } +inline void StacItem::unsafe_arena_set_allocated_updated( + PROTOBUF_NAMESPACE_ID::Timestamp* updated) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(updated_); + } + updated_ = updated; + if (updated) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.updated) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_updated() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = updated_; + updated_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::unsafe_arena_release_updated() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.updated) PROTOBUF_NAMESPACE_ID::Timestamp* temp = updated_; @@ -7576,7 +8306,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::release_updated() { inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::_internal_mutable_updated() { if (updated_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); updated_ = p; } return updated_; @@ -7586,7 +8316,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* StacItem::mutable_updated() { return _internal_mutable_updated(); } inline void StacItem::set_allocated_updated(PROTOBUF_NAMESPACE_ID::Timestamp* updated) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(updated_); } @@ -7614,14 +8344,36 @@ inline bool StacItem::has_proj() const { } inline const ::epl::protobuf::v1::ProjectionData& StacItem::_internal_proj() const { const ::epl::protobuf::v1::ProjectionData* p = proj_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ProjectionData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ProjectionData_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData& StacItem::proj() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.proj) return _internal_proj(); } +inline void StacItem::unsafe_arena_set_allocated_proj( + ::epl::protobuf::v1::ProjectionData* proj) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(proj_); + } + proj_ = proj; + if (proj) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.proj) +} inline ::epl::protobuf::v1::ProjectionData* StacItem::release_proj() { + + ::epl::protobuf::v1::ProjectionData* temp = proj_; + proj_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ProjectionData* StacItem::unsafe_arena_release_proj() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.proj) ::epl::protobuf::v1::ProjectionData* temp = proj_; @@ -7631,7 +8383,7 @@ inline ::epl::protobuf::v1::ProjectionData* StacItem::release_proj() { inline ::epl::protobuf::v1::ProjectionData* StacItem::_internal_mutable_proj() { if (proj_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArena()); proj_ = p; } return proj_; @@ -7641,12 +8393,13 @@ inline ::epl::protobuf::v1::ProjectionData* StacItem::mutable_proj() { return _internal_mutable_proj(); } inline void StacItem::set_allocated_proj(::epl::protobuf::v1::ProjectionData* proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(proj_); } if (proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(proj)->GetArena(); if (message_arena != submessage_arena) { proj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, proj, submessage_arena); @@ -7681,7 +8434,7 @@ inline void StacItem::set_platform_enum(::epl::protobuf::v1::Platform value) { // string platform = 18; inline void StacItem::clear_platform() { - platform_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + platform_.ClearToEmpty(); } inline const std::string& StacItem::platform() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.platform) @@ -7696,38 +8449,38 @@ inline std::string* StacItem::mutable_platform() { return _internal_mutable_platform(); } inline const std::string& StacItem::_internal_platform() const { - return platform_.GetNoArena(); + return platform_.Get(); } inline void StacItem::_internal_set_platform(const std::string& value) { - platform_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + platform_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_platform(std::string&& value) { - platform_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + platform_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.platform) } inline void StacItem::set_platform(const char* value) { GOOGLE_DCHECK(value != nullptr); - platform_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + platform_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.platform) } -inline void StacItem::set_platform(const char* value, size_t size) { +inline void StacItem::set_platform(const char* value, + size_t size) { - platform_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + platform_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.platform) } inline std::string* StacItem::_internal_mutable_platform() { - return platform_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return platform_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_platform() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.platform) - - return platform_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return platform_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_platform(std::string* platform) { if (platform != nullptr) { @@ -7735,7 +8488,8 @@ inline void StacItem::set_allocated_platform(std::string* platform) { } else { } - platform_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), platform); + platform_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), platform, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.platform) } @@ -7761,7 +8515,7 @@ inline void StacItem::set_instrument_enum(::epl::protobuf::v1::Instrument value) // string instrument = 20; inline void StacItem::clear_instrument() { - instrument_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + instrument_.ClearToEmpty(); } inline const std::string& StacItem::instrument() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.instrument) @@ -7776,38 +8530,38 @@ inline std::string* StacItem::mutable_instrument() { return _internal_mutable_instrument(); } inline const std::string& StacItem::_internal_instrument() const { - return instrument_.GetNoArena(); + return instrument_.Get(); } inline void StacItem::_internal_set_instrument(const std::string& value) { - instrument_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + instrument_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_instrument(std::string&& value) { - instrument_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + instrument_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.instrument) } inline void StacItem::set_instrument(const char* value) { GOOGLE_DCHECK(value != nullptr); - instrument_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + instrument_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.instrument) } -inline void StacItem::set_instrument(const char* value, size_t size) { +inline void StacItem::set_instrument(const char* value, + size_t size) { - instrument_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + instrument_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.instrument) } inline std::string* StacItem::_internal_mutable_instrument() { - return instrument_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return instrument_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_instrument() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.instrument) - - return instrument_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return instrument_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_instrument(std::string* instrument) { if (instrument != nullptr) { @@ -7815,7 +8569,8 @@ inline void StacItem::set_allocated_instrument(std::string* instrument) { } else { } - instrument_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), instrument); + instrument_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), instrument, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.instrument) } @@ -7841,7 +8596,7 @@ inline void StacItem::set_constellation_enum(::epl::protobuf::v1::Constellation // string constellation = 22; inline void StacItem::clear_constellation() { - constellation_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + constellation_.ClearToEmpty(); } inline const std::string& StacItem::constellation() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.constellation) @@ -7856,38 +8611,38 @@ inline std::string* StacItem::mutable_constellation() { return _internal_mutable_constellation(); } inline const std::string& StacItem::_internal_constellation() const { - return constellation_.GetNoArena(); + return constellation_.Get(); } inline void StacItem::_internal_set_constellation(const std::string& value) { - constellation_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + constellation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_constellation(std::string&& value) { - constellation_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + constellation_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.constellation) } inline void StacItem::set_constellation(const char* value) { GOOGLE_DCHECK(value != nullptr); - constellation_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + constellation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.constellation) } -inline void StacItem::set_constellation(const char* value, size_t size) { +inline void StacItem::set_constellation(const char* value, + size_t size) { - constellation_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + constellation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.constellation) } inline std::string* StacItem::_internal_mutable_constellation() { - return constellation_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return constellation_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_constellation() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.constellation) - - return constellation_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return constellation_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_constellation(std::string* constellation) { if (constellation != nullptr) { @@ -7895,7 +8650,8 @@ inline void StacItem::set_allocated_constellation(std::string* constellation) { } else { } - constellation_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), constellation); + constellation_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), constellation, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.constellation) } @@ -7921,7 +8677,7 @@ inline void StacItem::set_mission_enum(::epl::protobuf::v1::Mission value) { // string mission = 24; inline void StacItem::clear_mission() { - mission_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + mission_.ClearToEmpty(); } inline const std::string& StacItem::mission() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.mission) @@ -7936,38 +8692,38 @@ inline std::string* StacItem::mutable_mission() { return _internal_mutable_mission(); } inline const std::string& StacItem::_internal_mission() const { - return mission_.GetNoArena(); + return mission_.Get(); } inline void StacItem::_internal_set_mission(const std::string& value) { - mission_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + mission_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_mission(std::string&& value) { - mission_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + mission_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.mission) } inline void StacItem::set_mission(const char* value) { GOOGLE_DCHECK(value != nullptr); - mission_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + mission_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.mission) } -inline void StacItem::set_mission(const char* value, size_t size) { +inline void StacItem::set_mission(const char* value, + size_t size) { - mission_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + mission_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.mission) } inline std::string* StacItem::_internal_mutable_mission() { - return mission_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return mission_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_mission() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.mission) - - return mission_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return mission_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_mission(std::string* mission) { if (mission != nullptr) { @@ -7975,7 +8731,8 @@ inline void StacItem::set_allocated_mission(std::string* mission) { } else { } - mission_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mission); + mission_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mission, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.mission) } @@ -7988,14 +8745,36 @@ inline bool StacItem::has_gsd() const { } inline const PROTOBUF_NAMESPACE_ID::FloatValue& StacItem::_internal_gsd() const { const PROTOBUF_NAMESPACE_ID::FloatValue* p = gsd_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::FloatValue& StacItem::gsd() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.gsd) return _internal_gsd(); } +inline void StacItem::unsafe_arena_set_allocated_gsd( + PROTOBUF_NAMESPACE_ID::FloatValue* gsd) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gsd_); + } + gsd_ = gsd; + if (gsd) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.gsd) +} inline PROTOBUF_NAMESPACE_ID::FloatValue* StacItem::release_gsd() { + + PROTOBUF_NAMESPACE_ID::FloatValue* temp = gsd_; + gsd_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* StacItem::unsafe_arena_release_gsd() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.gsd) PROTOBUF_NAMESPACE_ID::FloatValue* temp = gsd_; @@ -8005,7 +8784,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* StacItem::release_gsd() { inline PROTOBUF_NAMESPACE_ID::FloatValue* StacItem::_internal_mutable_gsd() { if (gsd_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); gsd_ = p; } return gsd_; @@ -8015,7 +8794,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* StacItem::mutable_gsd() { return _internal_mutable_gsd(); } inline void StacItem::set_allocated_gsd(PROTOBUF_NAMESPACE_ID::FloatValue* gsd) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(gsd_); } @@ -8036,7 +8815,7 @@ inline void StacItem::set_allocated_gsd(PROTOBUF_NAMESPACE_ID::FloatValue* gsd) // string stac_version = 26; inline void StacItem::clear_stac_version() { - stac_version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + stac_version_.ClearToEmpty(); } inline const std::string& StacItem::stac_version() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.stac_version) @@ -8051,38 +8830,38 @@ inline std::string* StacItem::mutable_stac_version() { return _internal_mutable_stac_version(); } inline const std::string& StacItem::_internal_stac_version() const { - return stac_version_.GetNoArena(); + return stac_version_.Get(); } inline void StacItem::_internal_set_stac_version(const std::string& value) { - stac_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + stac_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_stac_version(std::string&& value) { - stac_version_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + stac_version_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.stac_version) } inline void StacItem::set_stac_version(const char* value) { GOOGLE_DCHECK(value != nullptr); - stac_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + stac_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.stac_version) } -inline void StacItem::set_stac_version(const char* value, size_t size) { +inline void StacItem::set_stac_version(const char* value, + size_t size) { - stac_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + stac_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.stac_version) } inline std::string* StacItem::_internal_mutable_stac_version() { - return stac_version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return stac_version_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_stac_version() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.stac_version) - - return stac_version_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return stac_version_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_stac_version(std::string* stac_version) { if (stac_version != nullptr) { @@ -8090,13 +8869,14 @@ inline void StacItem::set_allocated_stac_version(std::string* stac_version) { } else { } - stac_version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stac_version); + stac_version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stac_version, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.stac_version) } // string stac_pb_version = 27; inline void StacItem::clear_stac_pb_version() { - stac_pb_version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + stac_pb_version_.ClearToEmpty(); } inline const std::string& StacItem::stac_pb_version() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.stac_pb_version) @@ -8111,38 +8891,38 @@ inline std::string* StacItem::mutable_stac_pb_version() { return _internal_mutable_stac_pb_version(); } inline const std::string& StacItem::_internal_stac_pb_version() const { - return stac_pb_version_.GetNoArena(); + return stac_pb_version_.Get(); } inline void StacItem::_internal_set_stac_pb_version(const std::string& value) { - stac_pb_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + stac_pb_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacItem::set_stac_pb_version(std::string&& value) { - stac_pb_version_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + stac_pb_version_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacItem.stac_pb_version) } inline void StacItem::set_stac_pb_version(const char* value) { GOOGLE_DCHECK(value != nullptr); - stac_pb_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + stac_pb_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacItem.stac_pb_version) } -inline void StacItem::set_stac_pb_version(const char* value, size_t size) { +inline void StacItem::set_stac_pb_version(const char* value, + size_t size) { - stac_pb_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + stac_pb_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacItem.stac_pb_version) } inline std::string* StacItem::_internal_mutable_stac_pb_version() { - return stac_pb_version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return stac_pb_version_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacItem::release_stac_pb_version() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.stac_pb_version) - - return stac_pb_version_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return stac_pb_version_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacItem::set_allocated_stac_pb_version(std::string* stac_pb_version) { if (stac_pb_version != nullptr) { @@ -8150,7 +8930,8 @@ inline void StacItem::set_allocated_stac_pb_version(std::string* stac_pb_version } else { } - stac_pb_version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stac_pb_version); + stac_pb_version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stac_pb_version, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacItem.stac_pb_version) } @@ -8236,31 +9017,53 @@ inline bool StacItem::has_eo() const { return _internal_has_eo(); } inline void StacItem::clear_eo() { - if (GetArenaNoVirtual() == nullptr && eo_ != nullptr) { + if (GetArena() == nullptr && eo_ != nullptr) { delete eo_; } eo_ = nullptr; } inline const ::epl::protobuf::v1::Eo& StacItem::_internal_eo() const { const ::epl::protobuf::v1::Eo* p = eo_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_Eo_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_Eo_default_instance_); } inline const ::epl::protobuf::v1::Eo& StacItem::eo() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.eo) return _internal_eo(); } -inline ::epl::protobuf::v1::Eo* StacItem::release_eo() { - // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.eo) - - ::epl::protobuf::v1::Eo* temp = eo_; +inline void StacItem::unsafe_arena_set_allocated_eo( + ::epl::protobuf::v1::Eo* eo) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eo_); + } + eo_ = eo; + if (eo) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.eo) +} +inline ::epl::protobuf::v1::Eo* StacItem::release_eo() { + + ::epl::protobuf::v1::Eo* temp = eo_; + eo_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::Eo* StacItem::unsafe_arena_release_eo() { + // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.eo) + + ::epl::protobuf::v1::Eo* temp = eo_; eo_ = nullptr; return temp; } inline ::epl::protobuf::v1::Eo* StacItem::_internal_mutable_eo() { if (eo_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::Eo>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::Eo>(GetArena()); eo_ = p; } return eo_; @@ -8270,12 +9073,13 @@ inline ::epl::protobuf::v1::Eo* StacItem::mutable_eo() { return _internal_mutable_eo(); } inline void StacItem::set_allocated_eo(::epl::protobuf::v1::Eo* eo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete eo_; } if (eo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(eo); if (message_arena != submessage_arena) { eo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, eo, submessage_arena); @@ -8296,21 +9100,43 @@ inline bool StacItem::has_view() const { return _internal_has_view(); } inline void StacItem::clear_view() { - if (GetArenaNoVirtual() == nullptr && view_ != nullptr) { + if (GetArena() == nullptr && view_ != nullptr) { delete view_; } view_ = nullptr; } inline const ::epl::protobuf::v1::View& StacItem::_internal_view() const { const ::epl::protobuf::v1::View* p = view_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_View_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_View_default_instance_); } inline const ::epl::protobuf::v1::View& StacItem::view() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.view) return _internal_view(); } +inline void StacItem::unsafe_arena_set_allocated_view( + ::epl::protobuf::v1::View* view) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(view_); + } + view_ = view; + if (view) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.view) +} inline ::epl::protobuf::v1::View* StacItem::release_view() { + + ::epl::protobuf::v1::View* temp = view_; + view_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::View* StacItem::unsafe_arena_release_view() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.view) ::epl::protobuf::v1::View* temp = view_; @@ -8320,7 +9146,7 @@ inline ::epl::protobuf::v1::View* StacItem::release_view() { inline ::epl::protobuf::v1::View* StacItem::_internal_mutable_view() { if (view_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::View>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::View>(GetArena()); view_ = p; } return view_; @@ -8330,12 +9156,13 @@ inline ::epl::protobuf::v1::View* StacItem::mutable_view() { return _internal_mutable_view(); } inline void StacItem::set_allocated_view(::epl::protobuf::v1::View* view) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete view_; } if (view) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(view); if (message_arena != submessage_arena) { view = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, view, submessage_arena); @@ -8356,21 +9183,43 @@ inline bool StacItem::has_landsat() const { return _internal_has_landsat(); } inline void StacItem::clear_landsat() { - if (GetArenaNoVirtual() == nullptr && landsat_ != nullptr) { + if (GetArena() == nullptr && landsat_ != nullptr) { delete landsat_; } landsat_ = nullptr; } inline const ::epl::protobuf::v1::Landsat& StacItem::_internal_landsat() const { const ::epl::protobuf::v1::Landsat* p = landsat_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_Landsat_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_Landsat_default_instance_); } inline const ::epl::protobuf::v1::Landsat& StacItem::landsat() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.landsat) return _internal_landsat(); } +inline void StacItem::unsafe_arena_set_allocated_landsat( + ::epl::protobuf::v1::Landsat* landsat) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(landsat_); + } + landsat_ = landsat; + if (landsat) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.landsat) +} inline ::epl::protobuf::v1::Landsat* StacItem::release_landsat() { + + ::epl::protobuf::v1::Landsat* temp = landsat_; + landsat_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::Landsat* StacItem::unsafe_arena_release_landsat() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.landsat) ::epl::protobuf::v1::Landsat* temp = landsat_; @@ -8380,7 +9229,7 @@ inline ::epl::protobuf::v1::Landsat* StacItem::release_landsat() { inline ::epl::protobuf::v1::Landsat* StacItem::_internal_mutable_landsat() { if (landsat_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::Landsat>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::Landsat>(GetArena()); landsat_ = p; } return landsat_; @@ -8390,12 +9239,13 @@ inline ::epl::protobuf::v1::Landsat* StacItem::mutable_landsat() { return _internal_mutable_landsat(); } inline void StacItem::set_allocated_landsat(::epl::protobuf::v1::Landsat* landsat) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete landsat_; } if (landsat) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(landsat); if (message_arena != submessage_arena) { landsat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, landsat, submessage_arena); @@ -8416,21 +9266,43 @@ inline bool StacItem::has_mosaic() const { return _internal_has_mosaic(); } inline void StacItem::clear_mosaic() { - if (GetArenaNoVirtual() == nullptr && mosaic_ != nullptr) { + if (GetArena() == nullptr && mosaic_ != nullptr) { delete mosaic_; } mosaic_ = nullptr; } inline const ::epl::protobuf::v1::Mosaic& StacItem::_internal_mosaic() const { const ::epl::protobuf::v1::Mosaic* p = mosaic_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_Mosaic_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_Mosaic_default_instance_); } inline const ::epl::protobuf::v1::Mosaic& StacItem::mosaic() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacItem.mosaic) return _internal_mosaic(); } +inline void StacItem::unsafe_arena_set_allocated_mosaic( + ::epl::protobuf::v1::Mosaic* mosaic) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mosaic_); + } + mosaic_ = mosaic; + if (mosaic) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacItem.mosaic) +} inline ::epl::protobuf::v1::Mosaic* StacItem::release_mosaic() { + + ::epl::protobuf::v1::Mosaic* temp = mosaic_; + mosaic_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::Mosaic* StacItem::unsafe_arena_release_mosaic() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacItem.mosaic) ::epl::protobuf::v1::Mosaic* temp = mosaic_; @@ -8440,7 +9312,7 @@ inline ::epl::protobuf::v1::Mosaic* StacItem::release_mosaic() { inline ::epl::protobuf::v1::Mosaic* StacItem::_internal_mutable_mosaic() { if (mosaic_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::Mosaic>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::Mosaic>(GetArena()); mosaic_ = p; } return mosaic_; @@ -8450,12 +9322,13 @@ inline ::epl::protobuf::v1::Mosaic* StacItem::mutable_mosaic() { return _internal_mutable_mosaic(); } inline void StacItem::set_allocated_mosaic(::epl::protobuf::v1::Mosaic* mosaic) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete mosaic_; } if (mosaic) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(mosaic); if (message_arena != submessage_arena) { mosaic = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, mosaic, submessage_arena); @@ -8534,12 +9407,15 @@ inline void StacRequest::set_offset(::PROTOBUF_NAMESPACE_ID::uint64 value) { inline bool StacRequest::_internal_has_id() const { return identity_case() == kId; } +inline bool StacRequest::has_id() const { + return _internal_has_id(); +} inline void StacRequest::set_has_id() { _oneof_case_[0] = kId; } inline void StacRequest::clear_id() { if (_internal_has_id()) { - identity_.id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + identity_.id_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_identity(); } } @@ -8557,9 +9433,9 @@ inline std::string* StacRequest::mutable_id() { } inline const std::string& StacRequest::_internal_id() const { if (_internal_has_id()) { - return identity_.id_.GetNoArena(); + return identity_.id_.Get(); } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void StacRequest::_internal_set_id(const std::string& value) { if (!_internal_has_id()) { @@ -8567,7 +9443,7 @@ inline void StacRequest::_internal_set_id(const std::string& value) { set_has_id(); identity_.id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - identity_.id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + identity_.id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacRequest::set_id(std::string&& value) { // @@protoc_insertion_point(field_set:epl.protobuf.v1.StacRequest.id) @@ -8576,7 +9452,8 @@ inline void StacRequest::set_id(std::string&& value) { set_has_id(); identity_.id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - identity_.id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + identity_.id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacRequest.id) } inline void StacRequest::set_id(const char* value) { @@ -8586,18 +9463,21 @@ inline void StacRequest::set_id(const char* value) { set_has_id(); identity_.id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - identity_.id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); + identity_.id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacRequest.id) } -inline void StacRequest::set_id(const char* value, size_t size) { +inline void StacRequest::set_id(const char* value, + size_t size) { if (!_internal_has_id()) { clear_identity(); set_has_id(); identity_.id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - identity_.id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); + identity_.id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacRequest.id) } inline std::string* StacRequest::_internal_mutable_id() { @@ -8606,13 +9486,14 @@ inline std::string* StacRequest::_internal_mutable_id() { set_has_id(); identity_.id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } - return identity_.id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return identity_.id_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacRequest::release_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.id) if (_internal_has_id()) { clear_has_identity(); - return identity_.id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return identity_.id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } @@ -8624,6 +9505,10 @@ inline void StacRequest::set_allocated_id(std::string* id) { if (id != nullptr) { set_has_id(); identity_.id_.UnsafeSetDefault(id); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(id); + } } // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacRequest.id) } @@ -8643,6 +9528,9 @@ inline ::epl::protobuf::v1::StringFilter* StacRequest::release_id_complex() { if (_internal_has_id_complex()) { clear_has_identity(); ::epl::protobuf::v1::StringFilter* temp = identity_.id_complex_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } identity_.id_complex_ = nullptr; return temp; } else { @@ -8652,18 +9540,36 @@ inline ::epl::protobuf::v1::StringFilter* StacRequest::release_id_complex() { inline const ::epl::protobuf::v1::StringFilter& StacRequest::_internal_id_complex() const { return _internal_has_id_complex() ? *identity_.id_complex_ - : *reinterpret_cast< ::epl::protobuf::v1::StringFilter*>(&::epl::protobuf::v1::_StringFilter_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::StringFilter&>(::epl::protobuf::v1::_StringFilter_default_instance_); } inline const ::epl::protobuf::v1::StringFilter& StacRequest::id_complex() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.id_complex) return _internal_id_complex(); } +inline ::epl::protobuf::v1::StringFilter* StacRequest::unsafe_arena_release_id_complex() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacRequest.id_complex) + if (_internal_has_id_complex()) { + clear_has_identity(); + ::epl::protobuf::v1::StringFilter* temp = identity_.id_complex_; + identity_.id_complex_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacRequest::unsafe_arena_set_allocated_id_complex(::epl::protobuf::v1::StringFilter* id_complex) { + clear_identity(); + if (id_complex) { + set_has_id_complex(); + identity_.id_complex_ = id_complex; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.id_complex) +} inline ::epl::protobuf::v1::StringFilter* StacRequest::_internal_mutable_id_complex() { if (!_internal_has_id_complex()) { clear_identity(); set_has_id_complex(); - identity_.id_complex_ = CreateMaybeMessage< ::epl::protobuf::v1::StringFilter >( - GetArenaNoVirtual()); + identity_.id_complex_ = CreateMaybeMessage< ::epl::protobuf::v1::StringFilter >(GetArena()); } return identity_.id_complex_; } @@ -8674,7 +9580,7 @@ inline ::epl::protobuf::v1::StringFilter* StacRequest::mutable_id_complex() { // string collection = 5; inline void StacRequest::clear_collection() { - collection_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + collection_.ClearToEmpty(); } inline const std::string& StacRequest::collection() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.collection) @@ -8689,38 +9595,38 @@ inline std::string* StacRequest::mutable_collection() { return _internal_mutable_collection(); } inline const std::string& StacRequest::_internal_collection() const { - return collection_.GetNoArena(); + return collection_.Get(); } inline void StacRequest::_internal_set_collection(const std::string& value) { - collection_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + collection_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacRequest::set_collection(std::string&& value) { - collection_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + collection_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacRequest.collection) } inline void StacRequest::set_collection(const char* value) { GOOGLE_DCHECK(value != nullptr); - collection_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + collection_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacRequest.collection) } -inline void StacRequest::set_collection(const char* value, size_t size) { +inline void StacRequest::set_collection(const char* value, + size_t size) { - collection_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + collection_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacRequest.collection) } inline std::string* StacRequest::_internal_mutable_collection() { - return collection_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return collection_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacRequest::release_collection() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.collection) - - return collection_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return collection_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacRequest::set_allocated_collection(std::string* collection) { if (collection != nullptr) { @@ -8728,7 +9634,8 @@ inline void StacRequest::set_allocated_collection(std::string* collection) { } else { } - collection_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection); + collection_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacRequest.collection) } @@ -8741,14 +9648,36 @@ inline bool StacRequest::has_properties() const { } inline const PROTOBUF_NAMESPACE_ID::Any& StacRequest::_internal_properties() const { const PROTOBUF_NAMESPACE_ID::Any* p = properties_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Any_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Any_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Any& StacRequest::properties() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.properties) return _internal_properties(); } +inline void StacRequest::unsafe_arena_set_allocated_properties( + PROTOBUF_NAMESPACE_ID::Any* properties) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(properties_); + } + properties_ = properties; + if (properties) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.properties) +} inline PROTOBUF_NAMESPACE_ID::Any* StacRequest::release_properties() { + + PROTOBUF_NAMESPACE_ID::Any* temp = properties_; + properties_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Any* StacRequest::unsafe_arena_release_properties() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.properties) PROTOBUF_NAMESPACE_ID::Any* temp = properties_; @@ -8758,7 +9687,7 @@ inline PROTOBUF_NAMESPACE_ID::Any* StacRequest::release_properties() { inline PROTOBUF_NAMESPACE_ID::Any* StacRequest::_internal_mutable_properties() { if (properties_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); properties_ = p; } return properties_; @@ -8768,12 +9697,13 @@ inline PROTOBUF_NAMESPACE_ID::Any* StacRequest::mutable_properties() { return _internal_mutable_properties(); } inline void StacRequest::set_allocated_properties(PROTOBUF_NAMESPACE_ID::Any* properties) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(properties_); } if (properties) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(properties)->GetArena(); if (message_arena != submessage_arena) { properties = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, properties, submessage_arena); @@ -8801,6 +9731,9 @@ inline ::epl::protobuf::v1::GeometryData* StacRequest::release_intersects() { if (_internal_has_intersects()) { clear_has_spatial(); ::epl::protobuf::v1::GeometryData* temp = spatial_.intersects_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } spatial_.intersects_ = nullptr; return temp; } else { @@ -8810,18 +9743,36 @@ inline ::epl::protobuf::v1::GeometryData* StacRequest::release_intersects() { inline const ::epl::protobuf::v1::GeometryData& StacRequest::_internal_intersects() const { return _internal_has_intersects() ? *spatial_.intersects_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryData*>(&::epl::protobuf::v1::_GeometryData_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryData&>(::epl::protobuf::v1::_GeometryData_default_instance_); } inline const ::epl::protobuf::v1::GeometryData& StacRequest::intersects() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.intersects) return _internal_intersects(); } +inline ::epl::protobuf::v1::GeometryData* StacRequest::unsafe_arena_release_intersects() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacRequest.intersects) + if (_internal_has_intersects()) { + clear_has_spatial(); + ::epl::protobuf::v1::GeometryData* temp = spatial_.intersects_; + spatial_.intersects_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacRequest::unsafe_arena_set_allocated_intersects(::epl::protobuf::v1::GeometryData* intersects) { + clear_spatial(); + if (intersects) { + set_has_intersects(); + spatial_.intersects_ = intersects; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.intersects) +} inline ::epl::protobuf::v1::GeometryData* StacRequest::_internal_mutable_intersects() { if (!_internal_has_intersects()) { clear_spatial(); set_has_intersects(); - spatial_.intersects_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >( - GetArenaNoVirtual()); + spatial_.intersects_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryData >(GetArena()); } return spatial_.intersects_; } @@ -8845,6 +9796,9 @@ inline ::epl::protobuf::v1::EnvelopeData* StacRequest::release_bbox() { if (_internal_has_bbox()) { clear_has_spatial(); ::epl::protobuf::v1::EnvelopeData* temp = spatial_.bbox_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } spatial_.bbox_ = nullptr; return temp; } else { @@ -8854,18 +9808,36 @@ inline ::epl::protobuf::v1::EnvelopeData* StacRequest::release_bbox() { inline const ::epl::protobuf::v1::EnvelopeData& StacRequest::_internal_bbox() const { return _internal_has_bbox() ? *spatial_.bbox_ - : *reinterpret_cast< ::epl::protobuf::v1::EnvelopeData*>(&::epl::protobuf::v1::_EnvelopeData_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::EnvelopeData&>(::epl::protobuf::v1::_EnvelopeData_default_instance_); } inline const ::epl::protobuf::v1::EnvelopeData& StacRequest::bbox() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.bbox) return _internal_bbox(); } +inline ::epl::protobuf::v1::EnvelopeData* StacRequest::unsafe_arena_release_bbox() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacRequest.bbox) + if (_internal_has_bbox()) { + clear_has_spatial(); + ::epl::protobuf::v1::EnvelopeData* temp = spatial_.bbox_; + spatial_.bbox_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacRequest::unsafe_arena_set_allocated_bbox(::epl::protobuf::v1::EnvelopeData* bbox) { + clear_spatial(); + if (bbox) { + set_has_bbox(); + spatial_.bbox_ = bbox; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.bbox) +} inline ::epl::protobuf::v1::EnvelopeData* StacRequest::_internal_mutable_bbox() { if (!_internal_has_bbox()) { clear_spatial(); set_has_bbox(); - spatial_.bbox_ = CreateMaybeMessage< ::epl::protobuf::v1::EnvelopeData >( - GetArenaNoVirtual()); + spatial_.bbox_ = CreateMaybeMessage< ::epl::protobuf::v1::EnvelopeData >(GetArena()); } return spatial_.bbox_; } @@ -8889,6 +9861,9 @@ inline ::epl::protobuf::v1::GeometryRequest* StacRequest::release_geometry_reque if (_internal_has_geometry_request()) { clear_has_spatial(); ::epl::protobuf::v1::GeometryRequest* temp = spatial_.geometry_request_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } spatial_.geometry_request_ = nullptr; return temp; } else { @@ -8898,18 +9873,36 @@ inline ::epl::protobuf::v1::GeometryRequest* StacRequest::release_geometry_reque inline const ::epl::protobuf::v1::GeometryRequest& StacRequest::_internal_geometry_request() const { return _internal_has_geometry_request() ? *spatial_.geometry_request_ - : *reinterpret_cast< ::epl::protobuf::v1::GeometryRequest*>(&::epl::protobuf::v1::_GeometryRequest_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::GeometryRequest&>(::epl::protobuf::v1::_GeometryRequest_default_instance_); } inline const ::epl::protobuf::v1::GeometryRequest& StacRequest::geometry_request() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.geometry_request) return _internal_geometry_request(); } +inline ::epl::protobuf::v1::GeometryRequest* StacRequest::unsafe_arena_release_geometry_request() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacRequest.geometry_request) + if (_internal_has_geometry_request()) { + clear_has_spatial(); + ::epl::protobuf::v1::GeometryRequest* temp = spatial_.geometry_request_; + spatial_.geometry_request_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacRequest::unsafe_arena_set_allocated_geometry_request(::epl::protobuf::v1::GeometryRequest* geometry_request) { + clear_spatial(); + if (geometry_request) { + set_has_geometry_request(); + spatial_.geometry_request_ = geometry_request; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.geometry_request) +} inline ::epl::protobuf::v1::GeometryRequest* StacRequest::_internal_mutable_geometry_request() { if (!_internal_has_geometry_request()) { clear_spatial(); set_has_geometry_request(); - spatial_.geometry_request_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >( - GetArenaNoVirtual()); + spatial_.geometry_request_ = CreateMaybeMessage< ::epl::protobuf::v1::GeometryRequest >(GetArena()); } return spatial_.geometry_request_; } @@ -8933,6 +9926,9 @@ inline ::epl::protobuf::v1::TimestampFilter* StacRequest::release_datetime() { if (_internal_has_datetime()) { clear_has_temporal(); ::epl::protobuf::v1::TimestampFilter* temp = temporal_.datetime_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } temporal_.datetime_ = nullptr; return temp; } else { @@ -8942,18 +9938,36 @@ inline ::epl::protobuf::v1::TimestampFilter* StacRequest::release_datetime() { inline const ::epl::protobuf::v1::TimestampFilter& StacRequest::_internal_datetime() const { return _internal_has_datetime() ? *temporal_.datetime_ - : *reinterpret_cast< ::epl::protobuf::v1::TimestampFilter*>(&::epl::protobuf::v1::_TimestampFilter_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::TimestampFilter&>(::epl::protobuf::v1::_TimestampFilter_default_instance_); } inline const ::epl::protobuf::v1::TimestampFilter& StacRequest::datetime() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.datetime) return _internal_datetime(); } +inline ::epl::protobuf::v1::TimestampFilter* StacRequest::unsafe_arena_release_datetime() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacRequest.datetime) + if (_internal_has_datetime()) { + clear_has_temporal(); + ::epl::protobuf::v1::TimestampFilter* temp = temporal_.datetime_; + temporal_.datetime_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacRequest::unsafe_arena_set_allocated_datetime(::epl::protobuf::v1::TimestampFilter* datetime) { + clear_temporal(); + if (datetime) { + set_has_datetime(); + temporal_.datetime_ = datetime; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.datetime) +} inline ::epl::protobuf::v1::TimestampFilter* StacRequest::_internal_mutable_datetime() { if (!_internal_has_datetime()) { clear_temporal(); set_has_datetime(); - temporal_.datetime_ = CreateMaybeMessage< ::epl::protobuf::v1::TimestampFilter >( - GetArenaNoVirtual()); + temporal_.datetime_ = CreateMaybeMessage< ::epl::protobuf::v1::TimestampFilter >(GetArena()); } return temporal_.datetime_; } @@ -8977,6 +9991,9 @@ inline ::epl::protobuf::v1::TimestampFilter* StacRequest::release_observed() { if (_internal_has_observed()) { clear_has_temporal(); ::epl::protobuf::v1::TimestampFilter* temp = temporal_.observed_; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } temporal_.observed_ = nullptr; return temp; } else { @@ -8986,18 +10003,36 @@ inline ::epl::protobuf::v1::TimestampFilter* StacRequest::release_observed() { inline const ::epl::protobuf::v1::TimestampFilter& StacRequest::_internal_observed() const { return _internal_has_observed() ? *temporal_.observed_ - : *reinterpret_cast< ::epl::protobuf::v1::TimestampFilter*>(&::epl::protobuf::v1::_TimestampFilter_default_instance_); + : reinterpret_cast< ::epl::protobuf::v1::TimestampFilter&>(::epl::protobuf::v1::_TimestampFilter_default_instance_); } inline const ::epl::protobuf::v1::TimestampFilter& StacRequest::observed() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.observed) return _internal_observed(); } +inline ::epl::protobuf::v1::TimestampFilter* StacRequest::unsafe_arena_release_observed() { + // @@protoc_insertion_point(field_unsafe_arena_release:epl.protobuf.v1.StacRequest.observed) + if (_internal_has_observed()) { + clear_has_temporal(); + ::epl::protobuf::v1::TimestampFilter* temp = temporal_.observed_; + temporal_.observed_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void StacRequest::unsafe_arena_set_allocated_observed(::epl::protobuf::v1::TimestampFilter* observed) { + clear_temporal(); + if (observed) { + set_has_observed(); + temporal_.observed_ = observed; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.observed) +} inline ::epl::protobuf::v1::TimestampFilter* StacRequest::_internal_mutable_observed() { if (!_internal_has_observed()) { clear_temporal(); set_has_observed(); - temporal_.observed_ = CreateMaybeMessage< ::epl::protobuf::v1::TimestampFilter >( - GetArenaNoVirtual()); + temporal_.observed_ = CreateMaybeMessage< ::epl::protobuf::v1::TimestampFilter >(GetArena()); } return temporal_.observed_; } @@ -9015,14 +10050,36 @@ inline bool StacRequest::has_created() const { } inline const ::epl::protobuf::v1::TimestampFilter& StacRequest::_internal_created() const { const ::epl::protobuf::v1::TimestampFilter* p = created_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_TimestampFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_TimestampFilter_default_instance_); } inline const ::epl::protobuf::v1::TimestampFilter& StacRequest::created() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.created) return _internal_created(); } +inline void StacRequest::unsafe_arena_set_allocated_created( + ::epl::protobuf::v1::TimestampFilter* created) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(created_); + } + created_ = created; + if (created) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.created) +} inline ::epl::protobuf::v1::TimestampFilter* StacRequest::release_created() { + + ::epl::protobuf::v1::TimestampFilter* temp = created_; + created_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::TimestampFilter* StacRequest::unsafe_arena_release_created() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.created) ::epl::protobuf::v1::TimestampFilter* temp = created_; @@ -9032,7 +10089,7 @@ inline ::epl::protobuf::v1::TimestampFilter* StacRequest::release_created() { inline ::epl::protobuf::v1::TimestampFilter* StacRequest::_internal_mutable_created() { if (created_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::TimestampFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::TimestampFilter>(GetArena()); created_ = p; } return created_; @@ -9042,12 +10099,13 @@ inline ::epl::protobuf::v1::TimestampFilter* StacRequest::mutable_created() { return _internal_mutable_created(); } inline void StacRequest::set_allocated_created(::epl::protobuf::v1::TimestampFilter* created) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(created_); } if (created) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(created)->GetArena(); if (message_arena != submessage_arena) { created = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, created, submessage_arena); @@ -9069,14 +10127,36 @@ inline bool StacRequest::has_updated() const { } inline const ::epl::protobuf::v1::TimestampFilter& StacRequest::_internal_updated() const { const ::epl::protobuf::v1::TimestampFilter* p = updated_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_TimestampFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_TimestampFilter_default_instance_); } inline const ::epl::protobuf::v1::TimestampFilter& StacRequest::updated() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.updated) return _internal_updated(); } +inline void StacRequest::unsafe_arena_set_allocated_updated( + ::epl::protobuf::v1::TimestampFilter* updated) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(updated_); + } + updated_ = updated; + if (updated) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.updated) +} inline ::epl::protobuf::v1::TimestampFilter* StacRequest::release_updated() { + + ::epl::protobuf::v1::TimestampFilter* temp = updated_; + updated_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::TimestampFilter* StacRequest::unsafe_arena_release_updated() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.updated) ::epl::protobuf::v1::TimestampFilter* temp = updated_; @@ -9086,7 +10166,7 @@ inline ::epl::protobuf::v1::TimestampFilter* StacRequest::release_updated() { inline ::epl::protobuf::v1::TimestampFilter* StacRequest::_internal_mutable_updated() { if (updated_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::TimestampFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::TimestampFilter>(GetArena()); updated_ = p; } return updated_; @@ -9096,12 +10176,13 @@ inline ::epl::protobuf::v1::TimestampFilter* StacRequest::mutable_updated() { return _internal_mutable_updated(); } inline void StacRequest::set_allocated_updated(::epl::protobuf::v1::TimestampFilter* updated) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(updated_); } if (updated) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(updated)->GetArena(); if (message_arena != submessage_arena) { updated = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, updated, submessage_arena); @@ -9123,14 +10204,36 @@ inline bool StacRequest::has_proj() const { } inline const ::epl::protobuf::v1::ProjectionData& StacRequest::_internal_proj() const { const ::epl::protobuf::v1::ProjectionData* p = proj_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ProjectionData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ProjectionData_default_instance_); } inline const ::epl::protobuf::v1::ProjectionData& StacRequest::proj() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.proj) return _internal_proj(); } +inline void StacRequest::unsafe_arena_set_allocated_proj( + ::epl::protobuf::v1::ProjectionData* proj) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(proj_); + } + proj_ = proj; + if (proj) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.proj) +} inline ::epl::protobuf::v1::ProjectionData* StacRequest::release_proj() { + + ::epl::protobuf::v1::ProjectionData* temp = proj_; + proj_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ProjectionData* StacRequest::unsafe_arena_release_proj() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.proj) ::epl::protobuf::v1::ProjectionData* temp = proj_; @@ -9140,7 +10243,7 @@ inline ::epl::protobuf::v1::ProjectionData* StacRequest::release_proj() { inline ::epl::protobuf::v1::ProjectionData* StacRequest::_internal_mutable_proj() { if (proj_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ProjectionData>(GetArena()); proj_ = p; } return proj_; @@ -9150,12 +10253,13 @@ inline ::epl::protobuf::v1::ProjectionData* StacRequest::mutable_proj() { return _internal_mutable_proj(); } inline void StacRequest::set_allocated_proj(::epl::protobuf::v1::ProjectionData* proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(proj_); } if (proj) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(proj)->GetArena(); if (message_arena != submessage_arena) { proj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, proj, submessage_arena); @@ -9257,14 +10361,36 @@ inline bool StacRequest::has_gsd() const { } inline const ::epl::protobuf::v1::FloatFilter& StacRequest::_internal_gsd() const { const ::epl::protobuf::v1::FloatFilter* p = gsd_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_FloatFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_FloatFilter_default_instance_); } inline const ::epl::protobuf::v1::FloatFilter& StacRequest::gsd() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.gsd) return _internal_gsd(); } +inline void StacRequest::unsafe_arena_set_allocated_gsd( + ::epl::protobuf::v1::FloatFilter* gsd) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gsd_); + } + gsd_ = gsd; + if (gsd) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.gsd) +} inline ::epl::protobuf::v1::FloatFilter* StacRequest::release_gsd() { + + ::epl::protobuf::v1::FloatFilter* temp = gsd_; + gsd_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::FloatFilter* StacRequest::unsafe_arena_release_gsd() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.gsd) ::epl::protobuf::v1::FloatFilter* temp = gsd_; @@ -9274,7 +10400,7 @@ inline ::epl::protobuf::v1::FloatFilter* StacRequest::release_gsd() { inline ::epl::protobuf::v1::FloatFilter* StacRequest::_internal_mutable_gsd() { if (gsd_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArena()); gsd_ = p; } return gsd_; @@ -9284,12 +10410,13 @@ inline ::epl::protobuf::v1::FloatFilter* StacRequest::mutable_gsd() { return _internal_mutable_gsd(); } inline void StacRequest::set_allocated_gsd(::epl::protobuf::v1::FloatFilter* gsd) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(gsd_); } if (gsd) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gsd)->GetArena(); if (message_arena != submessage_arena) { gsd = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gsd, submessage_arena); @@ -9310,21 +10437,43 @@ inline bool StacRequest::has_eo() const { return _internal_has_eo(); } inline void StacRequest::clear_eo() { - if (GetArenaNoVirtual() == nullptr && eo_ != nullptr) { + if (GetArena() == nullptr && eo_ != nullptr) { delete eo_; } eo_ = nullptr; } inline const ::epl::protobuf::v1::EoRequest& StacRequest::_internal_eo() const { const ::epl::protobuf::v1::EoRequest* p = eo_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_EoRequest_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_EoRequest_default_instance_); } inline const ::epl::protobuf::v1::EoRequest& StacRequest::eo() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.eo) return _internal_eo(); } +inline void StacRequest::unsafe_arena_set_allocated_eo( + ::epl::protobuf::v1::EoRequest* eo) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eo_); + } + eo_ = eo; + if (eo) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.eo) +} inline ::epl::protobuf::v1::EoRequest* StacRequest::release_eo() { + + ::epl::protobuf::v1::EoRequest* temp = eo_; + eo_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::EoRequest* StacRequest::unsafe_arena_release_eo() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.eo) ::epl::protobuf::v1::EoRequest* temp = eo_; @@ -9334,7 +10483,7 @@ inline ::epl::protobuf::v1::EoRequest* StacRequest::release_eo() { inline ::epl::protobuf::v1::EoRequest* StacRequest::_internal_mutable_eo() { if (eo_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::EoRequest>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::EoRequest>(GetArena()); eo_ = p; } return eo_; @@ -9344,12 +10493,13 @@ inline ::epl::protobuf::v1::EoRequest* StacRequest::mutable_eo() { return _internal_mutable_eo(); } inline void StacRequest::set_allocated_eo(::epl::protobuf::v1::EoRequest* eo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete eo_; } if (eo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(eo); if (message_arena != submessage_arena) { eo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, eo, submessage_arena); @@ -9370,21 +10520,43 @@ inline bool StacRequest::has_view() const { return _internal_has_view(); } inline void StacRequest::clear_view() { - if (GetArenaNoVirtual() == nullptr && view_ != nullptr) { + if (GetArena() == nullptr && view_ != nullptr) { delete view_; } view_ = nullptr; } inline const ::epl::protobuf::v1::ViewRequest& StacRequest::_internal_view() const { const ::epl::protobuf::v1::ViewRequest* p = view_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_ViewRequest_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_ViewRequest_default_instance_); } inline const ::epl::protobuf::v1::ViewRequest& StacRequest::view() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.view) return _internal_view(); } +inline void StacRequest::unsafe_arena_set_allocated_view( + ::epl::protobuf::v1::ViewRequest* view) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(view_); + } + view_ = view; + if (view) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.view) +} inline ::epl::protobuf::v1::ViewRequest* StacRequest::release_view() { + + ::epl::protobuf::v1::ViewRequest* temp = view_; + view_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::ViewRequest* StacRequest::unsafe_arena_release_view() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.view) ::epl::protobuf::v1::ViewRequest* temp = view_; @@ -9394,7 +10566,7 @@ inline ::epl::protobuf::v1::ViewRequest* StacRequest::release_view() { inline ::epl::protobuf::v1::ViewRequest* StacRequest::_internal_mutable_view() { if (view_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::ViewRequest>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::ViewRequest>(GetArena()); view_ = p; } return view_; @@ -9404,12 +10576,13 @@ inline ::epl::protobuf::v1::ViewRequest* StacRequest::mutable_view() { return _internal_mutable_view(); } inline void StacRequest::set_allocated_view(::epl::protobuf::v1::ViewRequest* view) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete view_; } if (view) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(view); if (message_arena != submessage_arena) { view = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, view, submessage_arena); @@ -9430,21 +10603,43 @@ inline bool StacRequest::has_landsat() const { return _internal_has_landsat(); } inline void StacRequest::clear_landsat() { - if (GetArenaNoVirtual() == nullptr && landsat_ != nullptr) { + if (GetArena() == nullptr && landsat_ != nullptr) { delete landsat_; } landsat_ = nullptr; } inline const ::epl::protobuf::v1::LandsatRequest& StacRequest::_internal_landsat() const { const ::epl::protobuf::v1::LandsatRequest* p = landsat_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_LandsatRequest_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_LandsatRequest_default_instance_); } inline const ::epl::protobuf::v1::LandsatRequest& StacRequest::landsat() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.landsat) return _internal_landsat(); } +inline void StacRequest::unsafe_arena_set_allocated_landsat( + ::epl::protobuf::v1::LandsatRequest* landsat) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(landsat_); + } + landsat_ = landsat; + if (landsat) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.landsat) +} inline ::epl::protobuf::v1::LandsatRequest* StacRequest::release_landsat() { + + ::epl::protobuf::v1::LandsatRequest* temp = landsat_; + landsat_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::LandsatRequest* StacRequest::unsafe_arena_release_landsat() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.landsat) ::epl::protobuf::v1::LandsatRequest* temp = landsat_; @@ -9454,7 +10649,7 @@ inline ::epl::protobuf::v1::LandsatRequest* StacRequest::release_landsat() { inline ::epl::protobuf::v1::LandsatRequest* StacRequest::_internal_mutable_landsat() { if (landsat_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::LandsatRequest>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::LandsatRequest>(GetArena()); landsat_ = p; } return landsat_; @@ -9464,12 +10659,13 @@ inline ::epl::protobuf::v1::LandsatRequest* StacRequest::mutable_landsat() { return _internal_mutable_landsat(); } inline void StacRequest::set_allocated_landsat(::epl::protobuf::v1::LandsatRequest* landsat) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete landsat_; } if (landsat) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(landsat); if (message_arena != submessage_arena) { landsat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, landsat, submessage_arena); @@ -9490,21 +10686,43 @@ inline bool StacRequest::has_mosaic() const { return _internal_has_mosaic(); } inline void StacRequest::clear_mosaic() { - if (GetArenaNoVirtual() == nullptr && mosaic_ != nullptr) { + if (GetArena() == nullptr && mosaic_ != nullptr) { delete mosaic_; } mosaic_ = nullptr; } inline const ::epl::protobuf::v1::MosaicRequest& StacRequest::_internal_mosaic() const { const ::epl::protobuf::v1::MosaicRequest* p = mosaic_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_MosaicRequest_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_MosaicRequest_default_instance_); } inline const ::epl::protobuf::v1::MosaicRequest& StacRequest::mosaic() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacRequest.mosaic) return _internal_mosaic(); } +inline void StacRequest::unsafe_arena_set_allocated_mosaic( + ::epl::protobuf::v1::MosaicRequest* mosaic) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mosaic_); + } + mosaic_ = mosaic; + if (mosaic) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.StacRequest.mosaic) +} inline ::epl::protobuf::v1::MosaicRequest* StacRequest::release_mosaic() { + + ::epl::protobuf::v1::MosaicRequest* temp = mosaic_; + mosaic_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::MosaicRequest* StacRequest::unsafe_arena_release_mosaic() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacRequest.mosaic) ::epl::protobuf::v1::MosaicRequest* temp = mosaic_; @@ -9514,7 +10732,7 @@ inline ::epl::protobuf::v1::MosaicRequest* StacRequest::release_mosaic() { inline ::epl::protobuf::v1::MosaicRequest* StacRequest::_internal_mutable_mosaic() { if (mosaic_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::MosaicRequest>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::MosaicRequest>(GetArena()); mosaic_ = p; } return mosaic_; @@ -9524,12 +10742,13 @@ inline ::epl::protobuf::v1::MosaicRequest* StacRequest::mutable_mosaic() { return _internal_mutable_mosaic(); } inline void StacRequest::set_allocated_mosaic(::epl::protobuf::v1::MosaicRequest* mosaic) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete mosaic_; } if (mosaic) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(mosaic); if (message_arena != submessage_arena) { mosaic = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, mosaic, submessage_arena); @@ -9582,14 +10801,36 @@ inline bool View::has_off_nadir() const { } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::_internal_off_nadir() const { const PROTOBUF_NAMESPACE_ID::FloatValue* p = off_nadir_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::off_nadir() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.View.off_nadir) return _internal_off_nadir(); } +inline void View::unsafe_arena_set_allocated_off_nadir( + PROTOBUF_NAMESPACE_ID::FloatValue* off_nadir) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(off_nadir_); + } + off_nadir_ = off_nadir; + if (off_nadir) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.View.off_nadir) +} inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_off_nadir() { + + PROTOBUF_NAMESPACE_ID::FloatValue* temp = off_nadir_; + off_nadir_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* View::unsafe_arena_release_off_nadir() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.View.off_nadir) PROTOBUF_NAMESPACE_ID::FloatValue* temp = off_nadir_; @@ -9599,7 +10840,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_off_nadir() { inline PROTOBUF_NAMESPACE_ID::FloatValue* View::_internal_mutable_off_nadir() { if (off_nadir_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); off_nadir_ = p; } return off_nadir_; @@ -9609,7 +10850,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::mutable_off_nadir() { return _internal_mutable_off_nadir(); } inline void View::set_allocated_off_nadir(PROTOBUF_NAMESPACE_ID::FloatValue* off_nadir) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(off_nadir_); } @@ -9637,14 +10878,36 @@ inline bool View::has_incidence_angle() const { } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::_internal_incidence_angle() const { const PROTOBUF_NAMESPACE_ID::FloatValue* p = incidence_angle_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::incidence_angle() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.View.incidence_angle) return _internal_incidence_angle(); } -inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_incidence_angle() { +inline void View::unsafe_arena_set_allocated_incidence_angle( + PROTOBUF_NAMESPACE_ID::FloatValue* incidence_angle) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(incidence_angle_); + } + incidence_angle_ = incidence_angle; + if (incidence_angle) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.View.incidence_angle) +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_incidence_angle() { + + PROTOBUF_NAMESPACE_ID::FloatValue* temp = incidence_angle_; + incidence_angle_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* View::unsafe_arena_release_incidence_angle() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.View.incidence_angle) PROTOBUF_NAMESPACE_ID::FloatValue* temp = incidence_angle_; @@ -9654,7 +10917,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_incidence_angle() { inline PROTOBUF_NAMESPACE_ID::FloatValue* View::_internal_mutable_incidence_angle() { if (incidence_angle_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); incidence_angle_ = p; } return incidence_angle_; @@ -9664,7 +10927,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::mutable_incidence_angle() { return _internal_mutable_incidence_angle(); } inline void View::set_allocated_incidence_angle(PROTOBUF_NAMESPACE_ID::FloatValue* incidence_angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(incidence_angle_); } @@ -9692,14 +10955,36 @@ inline bool View::has_azimuth() const { } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::_internal_azimuth() const { const PROTOBUF_NAMESPACE_ID::FloatValue* p = azimuth_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::azimuth() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.View.azimuth) return _internal_azimuth(); } +inline void View::unsafe_arena_set_allocated_azimuth( + PROTOBUF_NAMESPACE_ID::FloatValue* azimuth) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(azimuth_); + } + azimuth_ = azimuth; + if (azimuth) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.View.azimuth) +} inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_azimuth() { + + PROTOBUF_NAMESPACE_ID::FloatValue* temp = azimuth_; + azimuth_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* View::unsafe_arena_release_azimuth() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.View.azimuth) PROTOBUF_NAMESPACE_ID::FloatValue* temp = azimuth_; @@ -9709,7 +10994,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_azimuth() { inline PROTOBUF_NAMESPACE_ID::FloatValue* View::_internal_mutable_azimuth() { if (azimuth_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); azimuth_ = p; } return azimuth_; @@ -9719,7 +11004,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::mutable_azimuth() { return _internal_mutable_azimuth(); } inline void View::set_allocated_azimuth(PROTOBUF_NAMESPACE_ID::FloatValue* azimuth) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(azimuth_); } @@ -9747,14 +11032,36 @@ inline bool View::has_sun_azimuth() const { } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::_internal_sun_azimuth() const { const PROTOBUF_NAMESPACE_ID::FloatValue* p = sun_azimuth_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::sun_azimuth() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.View.sun_azimuth) return _internal_sun_azimuth(); } +inline void View::unsafe_arena_set_allocated_sun_azimuth( + PROTOBUF_NAMESPACE_ID::FloatValue* sun_azimuth) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_azimuth_); + } + sun_azimuth_ = sun_azimuth; + if (sun_azimuth) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.View.sun_azimuth) +} inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_sun_azimuth() { + + PROTOBUF_NAMESPACE_ID::FloatValue* temp = sun_azimuth_; + sun_azimuth_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* View::unsafe_arena_release_sun_azimuth() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.View.sun_azimuth) PROTOBUF_NAMESPACE_ID::FloatValue* temp = sun_azimuth_; @@ -9764,7 +11071,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_sun_azimuth() { inline PROTOBUF_NAMESPACE_ID::FloatValue* View::_internal_mutable_sun_azimuth() { if (sun_azimuth_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); sun_azimuth_ = p; } return sun_azimuth_; @@ -9774,7 +11081,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::mutable_sun_azimuth() { return _internal_mutable_sun_azimuth(); } inline void View::set_allocated_sun_azimuth(PROTOBUF_NAMESPACE_ID::FloatValue* sun_azimuth) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_azimuth_); } @@ -9802,14 +11109,36 @@ inline bool View::has_sun_elevation() const { } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::_internal_sun_elevation() const { const PROTOBUF_NAMESPACE_ID::FloatValue* p = sun_elevation_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::FloatValue& View::sun_elevation() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.View.sun_elevation) return _internal_sun_elevation(); } +inline void View::unsafe_arena_set_allocated_sun_elevation( + PROTOBUF_NAMESPACE_ID::FloatValue* sun_elevation) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_elevation_); + } + sun_elevation_ = sun_elevation; + if (sun_elevation) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.View.sun_elevation) +} inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_sun_elevation() { + + PROTOBUF_NAMESPACE_ID::FloatValue* temp = sun_elevation_; + sun_elevation_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* View::unsafe_arena_release_sun_elevation() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.View.sun_elevation) PROTOBUF_NAMESPACE_ID::FloatValue* temp = sun_elevation_; @@ -9819,7 +11148,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::release_sun_elevation() { inline PROTOBUF_NAMESPACE_ID::FloatValue* View::_internal_mutable_sun_elevation() { if (sun_elevation_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); sun_elevation_ = p; } return sun_elevation_; @@ -9829,7 +11158,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* View::mutable_sun_elevation() { return _internal_mutable_sun_elevation(); } inline void View::set_allocated_sun_elevation(PROTOBUF_NAMESPACE_ID::FloatValue* sun_elevation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_elevation_); } @@ -9861,14 +11190,36 @@ inline bool ViewRequest::has_off_nadir() const { } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::_internal_off_nadir() const { const ::epl::protobuf::v1::FloatFilter* p = off_nadir_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_FloatFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_FloatFilter_default_instance_); } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::off_nadir() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ViewRequest.off_nadir) return _internal_off_nadir(); } +inline void ViewRequest::unsafe_arena_set_allocated_off_nadir( + ::epl::protobuf::v1::FloatFilter* off_nadir) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(off_nadir_); + } + off_nadir_ = off_nadir; + if (off_nadir) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ViewRequest.off_nadir) +} inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_off_nadir() { + + ::epl::protobuf::v1::FloatFilter* temp = off_nadir_; + off_nadir_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::FloatFilter* ViewRequest::unsafe_arena_release_off_nadir() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ViewRequest.off_nadir) ::epl::protobuf::v1::FloatFilter* temp = off_nadir_; @@ -9878,7 +11229,7 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_off_nadir() { inline ::epl::protobuf::v1::FloatFilter* ViewRequest::_internal_mutable_off_nadir() { if (off_nadir_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArena()); off_nadir_ = p; } return off_nadir_; @@ -9888,12 +11239,13 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::mutable_off_nadir() { return _internal_mutable_off_nadir(); } inline void ViewRequest::set_allocated_off_nadir(::epl::protobuf::v1::FloatFilter* off_nadir) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(off_nadir_); } if (off_nadir) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(off_nadir)->GetArena(); if (message_arena != submessage_arena) { off_nadir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, off_nadir, submessage_arena); @@ -9915,14 +11267,36 @@ inline bool ViewRequest::has_incidence_angle() const { } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::_internal_incidence_angle() const { const ::epl::protobuf::v1::FloatFilter* p = incidence_angle_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_FloatFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_FloatFilter_default_instance_); } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::incidence_angle() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ViewRequest.incidence_angle) return _internal_incidence_angle(); } +inline void ViewRequest::unsafe_arena_set_allocated_incidence_angle( + ::epl::protobuf::v1::FloatFilter* incidence_angle) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(incidence_angle_); + } + incidence_angle_ = incidence_angle; + if (incidence_angle) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ViewRequest.incidence_angle) +} inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_incidence_angle() { + + ::epl::protobuf::v1::FloatFilter* temp = incidence_angle_; + incidence_angle_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::FloatFilter* ViewRequest::unsafe_arena_release_incidence_angle() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ViewRequest.incidence_angle) ::epl::protobuf::v1::FloatFilter* temp = incidence_angle_; @@ -9932,7 +11306,7 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_incidence_angle() inline ::epl::protobuf::v1::FloatFilter* ViewRequest::_internal_mutable_incidence_angle() { if (incidence_angle_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArena()); incidence_angle_ = p; } return incidence_angle_; @@ -9942,12 +11316,13 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::mutable_incidence_angle() return _internal_mutable_incidence_angle(); } inline void ViewRequest::set_allocated_incidence_angle(::epl::protobuf::v1::FloatFilter* incidence_angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(incidence_angle_); } if (incidence_angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(incidence_angle)->GetArena(); if (message_arena != submessage_arena) { incidence_angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, incidence_angle, submessage_arena); @@ -9969,14 +11344,36 @@ inline bool ViewRequest::has_azimuth() const { } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::_internal_azimuth() const { const ::epl::protobuf::v1::FloatFilter* p = azimuth_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_FloatFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_FloatFilter_default_instance_); } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::azimuth() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ViewRequest.azimuth) return _internal_azimuth(); } +inline void ViewRequest::unsafe_arena_set_allocated_azimuth( + ::epl::protobuf::v1::FloatFilter* azimuth) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(azimuth_); + } + azimuth_ = azimuth; + if (azimuth) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ViewRequest.azimuth) +} inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_azimuth() { + + ::epl::protobuf::v1::FloatFilter* temp = azimuth_; + azimuth_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::FloatFilter* ViewRequest::unsafe_arena_release_azimuth() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ViewRequest.azimuth) ::epl::protobuf::v1::FloatFilter* temp = azimuth_; @@ -9986,7 +11383,7 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_azimuth() { inline ::epl::protobuf::v1::FloatFilter* ViewRequest::_internal_mutable_azimuth() { if (azimuth_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArena()); azimuth_ = p; } return azimuth_; @@ -9996,12 +11393,13 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::mutable_azimuth() { return _internal_mutable_azimuth(); } inline void ViewRequest::set_allocated_azimuth(::epl::protobuf::v1::FloatFilter* azimuth) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(azimuth_); } if (azimuth) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(azimuth)->GetArena(); if (message_arena != submessage_arena) { azimuth = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, azimuth, submessage_arena); @@ -10023,14 +11421,36 @@ inline bool ViewRequest::has_sun_azimuth() const { } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::_internal_sun_azimuth() const { const ::epl::protobuf::v1::FloatFilter* p = sun_azimuth_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_FloatFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_FloatFilter_default_instance_); } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::sun_azimuth() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ViewRequest.sun_azimuth) return _internal_sun_azimuth(); } +inline void ViewRequest::unsafe_arena_set_allocated_sun_azimuth( + ::epl::protobuf::v1::FloatFilter* sun_azimuth) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_azimuth_); + } + sun_azimuth_ = sun_azimuth; + if (sun_azimuth) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ViewRequest.sun_azimuth) +} inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_sun_azimuth() { + + ::epl::protobuf::v1::FloatFilter* temp = sun_azimuth_; + sun_azimuth_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::FloatFilter* ViewRequest::unsafe_arena_release_sun_azimuth() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ViewRequest.sun_azimuth) ::epl::protobuf::v1::FloatFilter* temp = sun_azimuth_; @@ -10040,7 +11460,7 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_sun_azimuth() { inline ::epl::protobuf::v1::FloatFilter* ViewRequest::_internal_mutable_sun_azimuth() { if (sun_azimuth_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArena()); sun_azimuth_ = p; } return sun_azimuth_; @@ -10050,12 +11470,13 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::mutable_sun_azimuth() { return _internal_mutable_sun_azimuth(); } inline void ViewRequest::set_allocated_sun_azimuth(::epl::protobuf::v1::FloatFilter* sun_azimuth) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_azimuth_); } if (sun_azimuth) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_azimuth)->GetArena(); if (message_arena != submessage_arena) { sun_azimuth = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, sun_azimuth, submessage_arena); @@ -10077,14 +11498,36 @@ inline bool ViewRequest::has_sun_elevation() const { } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::_internal_sun_elevation() const { const ::epl::protobuf::v1::FloatFilter* p = sun_elevation_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_FloatFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_FloatFilter_default_instance_); } inline const ::epl::protobuf::v1::FloatFilter& ViewRequest::sun_elevation() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.ViewRequest.sun_elevation) return _internal_sun_elevation(); } +inline void ViewRequest::unsafe_arena_set_allocated_sun_elevation( + ::epl::protobuf::v1::FloatFilter* sun_elevation) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_elevation_); + } + sun_elevation_ = sun_elevation; + if (sun_elevation) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.ViewRequest.sun_elevation) +} inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_sun_elevation() { + + ::epl::protobuf::v1::FloatFilter* temp = sun_elevation_; + sun_elevation_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::FloatFilter* ViewRequest::unsafe_arena_release_sun_elevation() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.ViewRequest.sun_elevation) ::epl::protobuf::v1::FloatFilter* temp = sun_elevation_; @@ -10094,7 +11537,7 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::release_sun_elevation() { inline ::epl::protobuf::v1::FloatFilter* ViewRequest::_internal_mutable_sun_elevation() { if (sun_elevation_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArena()); sun_elevation_ = p; } return sun_elevation_; @@ -10104,12 +11547,13 @@ inline ::epl::protobuf::v1::FloatFilter* ViewRequest::mutable_sun_elevation() { return _internal_mutable_sun_elevation(); } inline void ViewRequest::set_allocated_sun_elevation(::epl::protobuf::v1::FloatFilter* sun_elevation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_elevation_); } if (sun_elevation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sun_elevation)->GetArena(); if (message_arena != submessage_arena) { sun_elevation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, sun_elevation, submessage_arena); @@ -10135,14 +11579,36 @@ inline bool Sat::has_relative_orbit() const { } inline const PROTOBUF_NAMESPACE_ID::UInt32Value& Sat::_internal_relative_orbit() const { const PROTOBUF_NAMESPACE_ID::UInt32Value* p = relative_orbit_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_UInt32Value_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_UInt32Value_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::UInt32Value& Sat::relative_orbit() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Sat.relative_orbit) return _internal_relative_orbit(); } +inline void Sat::unsafe_arena_set_allocated_relative_orbit( + PROTOBUF_NAMESPACE_ID::UInt32Value* relative_orbit) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(relative_orbit_); + } + relative_orbit_ = relative_orbit; + if (relative_orbit) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.Sat.relative_orbit) +} inline PROTOBUF_NAMESPACE_ID::UInt32Value* Sat::release_relative_orbit() { + + PROTOBUF_NAMESPACE_ID::UInt32Value* temp = relative_orbit_; + relative_orbit_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::UInt32Value* Sat::unsafe_arena_release_relative_orbit() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Sat.relative_orbit) PROTOBUF_NAMESPACE_ID::UInt32Value* temp = relative_orbit_; @@ -10152,7 +11618,7 @@ inline PROTOBUF_NAMESPACE_ID::UInt32Value* Sat::release_relative_orbit() { inline PROTOBUF_NAMESPACE_ID::UInt32Value* Sat::_internal_mutable_relative_orbit() { if (relative_orbit_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); relative_orbit_ = p; } return relative_orbit_; @@ -10162,7 +11628,7 @@ inline PROTOBUF_NAMESPACE_ID::UInt32Value* Sat::mutable_relative_orbit() { return _internal_mutable_relative_orbit(); } inline void Sat::set_allocated_relative_orbit(PROTOBUF_NAMESPACE_ID::UInt32Value* relative_orbit) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(relative_orbit_); } @@ -10258,14 +11724,36 @@ inline bool Eo::has_cloud_cover() const { } inline const PROTOBUF_NAMESPACE_ID::FloatValue& Eo::_internal_cloud_cover() const { const PROTOBUF_NAMESPACE_ID::FloatValue* p = cloud_cover_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::FloatValue& Eo::cloud_cover() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Eo.cloud_cover) return _internal_cloud_cover(); } +inline void Eo::unsafe_arena_set_allocated_cloud_cover( + PROTOBUF_NAMESPACE_ID::FloatValue* cloud_cover) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_); + } + cloud_cover_ = cloud_cover; + if (cloud_cover) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.Eo.cloud_cover) +} inline PROTOBUF_NAMESPACE_ID::FloatValue* Eo::release_cloud_cover() { + + PROTOBUF_NAMESPACE_ID::FloatValue* temp = cloud_cover_; + cloud_cover_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* Eo::unsafe_arena_release_cloud_cover() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Eo.cloud_cover) PROTOBUF_NAMESPACE_ID::FloatValue* temp = cloud_cover_; @@ -10275,7 +11763,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* Eo::release_cloud_cover() { inline PROTOBUF_NAMESPACE_ID::FloatValue* Eo::_internal_mutable_cloud_cover() { if (cloud_cover_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); cloud_cover_ = p; } return cloud_cover_; @@ -10285,7 +11773,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* Eo::mutable_cloud_cover() { return _internal_mutable_cloud_cover(); } inline void Eo::set_allocated_cloud_cover(PROTOBUF_NAMESPACE_ID::FloatValue* cloud_cover) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_); } @@ -10337,14 +11825,36 @@ inline bool EoRequest::has_cloud_cover() const { } inline const ::epl::protobuf::v1::FloatFilter& EoRequest::_internal_cloud_cover() const { const ::epl::protobuf::v1::FloatFilter* p = cloud_cover_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_FloatFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_FloatFilter_default_instance_); } inline const ::epl::protobuf::v1::FloatFilter& EoRequest::cloud_cover() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.EoRequest.cloud_cover) return _internal_cloud_cover(); } +inline void EoRequest::unsafe_arena_set_allocated_cloud_cover( + ::epl::protobuf::v1::FloatFilter* cloud_cover) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_); + } + cloud_cover_ = cloud_cover; + if (cloud_cover) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.EoRequest.cloud_cover) +} inline ::epl::protobuf::v1::FloatFilter* EoRequest::release_cloud_cover() { + + ::epl::protobuf::v1::FloatFilter* temp = cloud_cover_; + cloud_cover_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::FloatFilter* EoRequest::unsafe_arena_release_cloud_cover() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.EoRequest.cloud_cover) ::epl::protobuf::v1::FloatFilter* temp = cloud_cover_; @@ -10354,7 +11864,7 @@ inline ::epl::protobuf::v1::FloatFilter* EoRequest::release_cloud_cover() { inline ::epl::protobuf::v1::FloatFilter* EoRequest::_internal_mutable_cloud_cover() { if (cloud_cover_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArena()); cloud_cover_ = p; } return cloud_cover_; @@ -10364,12 +11874,13 @@ inline ::epl::protobuf::v1::FloatFilter* EoRequest::mutable_cloud_cover() { return _internal_mutable_cloud_cover(); } inline void EoRequest::set_allocated_cloud_cover(::epl::protobuf::v1::FloatFilter* cloud_cover) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_); } if (cloud_cover) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover)->GetArena(); if (message_arena != submessage_arena) { cloud_cover = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, cloud_cover, submessage_arena); @@ -10408,7 +11919,7 @@ inline void EoRequest::set_bands(::epl::protobuf::v1::Eo_Band value) { // string href = 1; inline void Asset::clear_href() { - href_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + href_.ClearToEmpty(); } inline const std::string& Asset::href() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Asset.href) @@ -10423,38 +11934,38 @@ inline std::string* Asset::mutable_href() { return _internal_mutable_href(); } inline const std::string& Asset::_internal_href() const { - return href_.GetNoArena(); + return href_.Get(); } inline void Asset::_internal_set_href(const std::string& value) { - href_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + href_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Asset::set_href(std::string&& value) { - href_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + href_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Asset.href) } inline void Asset::set_href(const char* value) { GOOGLE_DCHECK(value != nullptr); - href_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + href_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Asset.href) } -inline void Asset::set_href(const char* value, size_t size) { +inline void Asset::set_href(const char* value, + size_t size) { - href_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + href_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Asset.href) } inline std::string* Asset::_internal_mutable_href() { - return href_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return href_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Asset::release_href() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Asset.href) - - return href_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return href_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Asset::set_allocated_href(std::string* href) { if (href != nullptr) { @@ -10462,13 +11973,14 @@ inline void Asset::set_allocated_href(std::string* href) { } else { } - href_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), href); + href_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), href, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Asset.href) } // string type = 2; inline void Asset::clear_type() { - type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + type_.ClearToEmpty(); } inline const std::string& Asset::type() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Asset.type) @@ -10483,38 +11995,38 @@ inline std::string* Asset::mutable_type() { return _internal_mutable_type(); } inline const std::string& Asset::_internal_type() const { - return type_.GetNoArena(); + return type_.Get(); } inline void Asset::_internal_set_type(const std::string& value) { - type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Asset::set_type(std::string&& value) { - type_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + type_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Asset.type) } inline void Asset::set_type(const char* value) { GOOGLE_DCHECK(value != nullptr); - type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Asset.type) } -inline void Asset::set_type(const char* value, size_t size) { +inline void Asset::set_type(const char* value, + size_t size) { - type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Asset.type) } inline std::string* Asset::_internal_mutable_type() { - return type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Asset::release_type() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Asset.type) - - return type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Asset::set_allocated_type(std::string* type) { if (type != nullptr) { @@ -10522,7 +12034,8 @@ inline void Asset::set_allocated_type(std::string* type) { } else { } - type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type); + type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Asset.type) } @@ -10588,7 +12101,7 @@ inline void Asset::set_cloud_platform(::epl::protobuf::v1::CloudPlatform value) // string bucket_manager = 6; inline void Asset::clear_bucket_manager() { - bucket_manager_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + bucket_manager_.ClearToEmpty(); } inline const std::string& Asset::bucket_manager() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Asset.bucket_manager) @@ -10603,38 +12116,38 @@ inline std::string* Asset::mutable_bucket_manager() { return _internal_mutable_bucket_manager(); } inline const std::string& Asset::_internal_bucket_manager() const { - return bucket_manager_.GetNoArena(); + return bucket_manager_.Get(); } inline void Asset::_internal_set_bucket_manager(const std::string& value) { - bucket_manager_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + bucket_manager_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Asset::set_bucket_manager(std::string&& value) { - bucket_manager_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + bucket_manager_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Asset.bucket_manager) } inline void Asset::set_bucket_manager(const char* value) { GOOGLE_DCHECK(value != nullptr); - bucket_manager_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + bucket_manager_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Asset.bucket_manager) } -inline void Asset::set_bucket_manager(const char* value, size_t size) { +inline void Asset::set_bucket_manager(const char* value, + size_t size) { - bucket_manager_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + bucket_manager_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Asset.bucket_manager) } inline std::string* Asset::_internal_mutable_bucket_manager() { - return bucket_manager_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return bucket_manager_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Asset::release_bucket_manager() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Asset.bucket_manager) - - return bucket_manager_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return bucket_manager_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Asset::set_allocated_bucket_manager(std::string* bucket_manager) { if (bucket_manager != nullptr) { @@ -10642,13 +12155,14 @@ inline void Asset::set_allocated_bucket_manager(std::string* bucket_manager) { } else { } - bucket_manager_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bucket_manager); + bucket_manager_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bucket_manager, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Asset.bucket_manager) } // string bucket_region = 7; inline void Asset::clear_bucket_region() { - bucket_region_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + bucket_region_.ClearToEmpty(); } inline const std::string& Asset::bucket_region() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Asset.bucket_region) @@ -10663,38 +12177,38 @@ inline std::string* Asset::mutable_bucket_region() { return _internal_mutable_bucket_region(); } inline const std::string& Asset::_internal_bucket_region() const { - return bucket_region_.GetNoArena(); + return bucket_region_.Get(); } inline void Asset::_internal_set_bucket_region(const std::string& value) { - bucket_region_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + bucket_region_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Asset::set_bucket_region(std::string&& value) { - bucket_region_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + bucket_region_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Asset.bucket_region) } inline void Asset::set_bucket_region(const char* value) { GOOGLE_DCHECK(value != nullptr); - bucket_region_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + bucket_region_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Asset.bucket_region) } -inline void Asset::set_bucket_region(const char* value, size_t size) { +inline void Asset::set_bucket_region(const char* value, + size_t size) { - bucket_region_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + bucket_region_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Asset.bucket_region) } inline std::string* Asset::_internal_mutable_bucket_region() { - return bucket_region_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return bucket_region_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Asset::release_bucket_region() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Asset.bucket_region) - - return bucket_region_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return bucket_region_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Asset::set_allocated_bucket_region(std::string* bucket_region) { if (bucket_region != nullptr) { @@ -10702,13 +12216,14 @@ inline void Asset::set_allocated_bucket_region(std::string* bucket_region) { } else { } - bucket_region_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bucket_region); + bucket_region_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bucket_region, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Asset.bucket_region) } // string bucket = 8; inline void Asset::clear_bucket() { - bucket_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + bucket_.ClearToEmpty(); } inline const std::string& Asset::bucket() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Asset.bucket) @@ -10723,38 +12238,38 @@ inline std::string* Asset::mutable_bucket() { return _internal_mutable_bucket(); } inline const std::string& Asset::_internal_bucket() const { - return bucket_.GetNoArena(); + return bucket_.Get(); } inline void Asset::_internal_set_bucket(const std::string& value) { - bucket_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + bucket_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Asset::set_bucket(std::string&& value) { - bucket_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + bucket_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Asset.bucket) } inline void Asset::set_bucket(const char* value) { GOOGLE_DCHECK(value != nullptr); - bucket_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + bucket_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Asset.bucket) } -inline void Asset::set_bucket(const char* value, size_t size) { +inline void Asset::set_bucket(const char* value, + size_t size) { - bucket_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + bucket_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Asset.bucket) } inline std::string* Asset::_internal_mutable_bucket() { - return bucket_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return bucket_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Asset::release_bucket() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Asset.bucket) - - return bucket_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return bucket_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Asset::set_allocated_bucket(std::string* bucket) { if (bucket != nullptr) { @@ -10762,13 +12277,14 @@ inline void Asset::set_allocated_bucket(std::string* bucket) { } else { } - bucket_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bucket); + bucket_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bucket, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Asset.bucket) } // string object_path = 9; inline void Asset::clear_object_path() { - object_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + object_path_.ClearToEmpty(); } inline const std::string& Asset::object_path() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Asset.object_path) @@ -10783,38 +12299,38 @@ inline std::string* Asset::mutable_object_path() { return _internal_mutable_object_path(); } inline const std::string& Asset::_internal_object_path() const { - return object_path_.GetNoArena(); + return object_path_.Get(); } inline void Asset::_internal_set_object_path(const std::string& value) { - object_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + object_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Asset::set_object_path(std::string&& value) { - object_path_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + object_path_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Asset.object_path) } inline void Asset::set_object_path(const char* value) { GOOGLE_DCHECK(value != nullptr); - object_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + object_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Asset.object_path) } -inline void Asset::set_object_path(const char* value, size_t size) { +inline void Asset::set_object_path(const char* value, + size_t size) { - object_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + object_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Asset.object_path) } inline std::string* Asset::_internal_mutable_object_path() { - return object_path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return object_path_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Asset::release_object_path() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Asset.object_path) - - return object_path_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return object_path_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Asset::set_allocated_object_path(std::string* object_path) { if (object_path != nullptr) { @@ -10822,7 +12338,8 @@ inline void Asset::set_allocated_object_path(std::string* object_path) { } else { } - object_path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), object_path); + object_path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), object_path, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Asset.object_path) } @@ -10859,14 +12376,36 @@ inline bool DatetimeRange::has_start() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& DatetimeRange::_internal_start() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = start_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& DatetimeRange::start() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.DatetimeRange.start) return _internal_start(); } +inline void DatetimeRange::unsafe_arena_set_allocated_start( + PROTOBUF_NAMESPACE_ID::Timestamp* start) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_); + } + start_ = start; + if (start) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.DatetimeRange.start) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::release_start() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = start_; + start_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::unsafe_arena_release_start() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.DatetimeRange.start) PROTOBUF_NAMESPACE_ID::Timestamp* temp = start_; @@ -10876,7 +12415,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::release_start() { inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::_internal_mutable_start() { if (start_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); start_ = p; } return start_; @@ -10886,7 +12425,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::mutable_start() { return _internal_mutable_start(); } inline void DatetimeRange::set_allocated_start(PROTOBUF_NAMESPACE_ID::Timestamp* start) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_); } @@ -10914,14 +12453,36 @@ inline bool DatetimeRange::has_end() const { } inline const PROTOBUF_NAMESPACE_ID::Timestamp& DatetimeRange::_internal_end() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = end_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& DatetimeRange::end() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.DatetimeRange.end) return _internal_end(); } +inline void DatetimeRange::unsafe_arena_set_allocated_end( + PROTOBUF_NAMESPACE_ID::Timestamp* end) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_); + } + end_ = end; + if (end) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.DatetimeRange.end) +} inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::release_end() { + + PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_; + end_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::unsafe_arena_release_end() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.DatetimeRange.end) PROTOBUF_NAMESPACE_ID::Timestamp* temp = end_; @@ -10931,7 +12492,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::release_end() { inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::_internal_mutable_end() { if (end_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); end_ = p; } return end_; @@ -10941,7 +12502,7 @@ inline PROTOBUF_NAMESPACE_ID::Timestamp* DatetimeRange::mutable_end() { return _internal_mutable_end(); } inline void DatetimeRange::set_allocated_end(PROTOBUF_NAMESPACE_ID::Timestamp* end) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_); } @@ -10966,7 +12527,7 @@ inline void DatetimeRange::set_allocated_end(PROTOBUF_NAMESPACE_ID::Timestamp* e // string status = 1; inline void StacDbResponse::clear_status() { - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + status_.ClearToEmpty(); } inline const std::string& StacDbResponse::status() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacDbResponse.status) @@ -10981,38 +12542,38 @@ inline std::string* StacDbResponse::mutable_status() { return _internal_mutable_status(); } inline const std::string& StacDbResponse::_internal_status() const { - return status_.GetNoArena(); + return status_.Get(); } inline void StacDbResponse::_internal_set_status(const std::string& value) { - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + status_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacDbResponse::set_status(std::string&& value) { - status_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + status_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacDbResponse.status) } inline void StacDbResponse::set_status(const char* value) { GOOGLE_DCHECK(value != nullptr); - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + status_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacDbResponse.status) } -inline void StacDbResponse::set_status(const char* value, size_t size) { +inline void StacDbResponse::set_status(const char* value, + size_t size) { - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + status_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacDbResponse.status) } inline std::string* StacDbResponse::_internal_mutable_status() { - return status_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return status_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacDbResponse::release_status() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacDbResponse.status) - - return status_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return status_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacDbResponse::set_allocated_status(std::string* status) { if (status != nullptr) { @@ -11020,7 +12581,8 @@ inline void StacDbResponse::set_allocated_status(std::string* status) { } else { } - status_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status); + status_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacDbResponse.status) } @@ -11046,7 +12608,7 @@ inline void StacDbResponse::set_status_code(::PROTOBUF_NAMESPACE_ID::int32 value // string data_id = 3; inline void StacDbResponse::clear_data_id() { - data_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + data_id_.ClearToEmpty(); } inline const std::string& StacDbResponse::data_id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.StacDbResponse.data_id) @@ -11061,38 +12623,38 @@ inline std::string* StacDbResponse::mutable_data_id() { return _internal_mutable_data_id(); } inline const std::string& StacDbResponse::_internal_data_id() const { - return data_id_.GetNoArena(); + return data_id_.Get(); } inline void StacDbResponse::_internal_set_data_id(const std::string& value) { - data_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + data_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void StacDbResponse::set_data_id(std::string&& value) { - data_id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + data_id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.StacDbResponse.data_id) } inline void StacDbResponse::set_data_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - data_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + data_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.StacDbResponse.data_id) } -inline void StacDbResponse::set_data_id(const char* value, size_t size) { +inline void StacDbResponse::set_data_id(const char* value, + size_t size) { - data_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + data_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.StacDbResponse.data_id) } inline std::string* StacDbResponse::_internal_mutable_data_id() { - return data_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* StacDbResponse::release_data_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.StacDbResponse.data_id) - - return data_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return data_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void StacDbResponse::set_allocated_data_id(std::string* data_id) { if (data_id != nullptr) { @@ -11100,7 +12662,8 @@ inline void StacDbResponse::set_allocated_data_id(std::string* data_id) { } else { } - data_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data_id); + data_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data_id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.StacDbResponse.data_id) } @@ -11154,7 +12717,7 @@ inline void Sar::set_platform(::epl::protobuf::v1::Sar_Platform value) { // string scene_id = 1; inline void Landsat::clear_scene_id() { - scene_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + scene_id_.ClearToEmpty(); } inline const std::string& Landsat::scene_id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Landsat.scene_id) @@ -11169,38 +12732,38 @@ inline std::string* Landsat::mutable_scene_id() { return _internal_mutable_scene_id(); } inline const std::string& Landsat::_internal_scene_id() const { - return scene_id_.GetNoArena(); + return scene_id_.Get(); } inline void Landsat::_internal_set_scene_id(const std::string& value) { - scene_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + scene_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Landsat::set_scene_id(std::string&& value) { - scene_id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + scene_id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Landsat.scene_id) } inline void Landsat::set_scene_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - scene_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + scene_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Landsat.scene_id) } -inline void Landsat::set_scene_id(const char* value, size_t size) { +inline void Landsat::set_scene_id(const char* value, + size_t size) { - scene_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + scene_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Landsat.scene_id) } inline std::string* Landsat::_internal_mutable_scene_id() { - return scene_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return scene_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Landsat::release_scene_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Landsat.scene_id) - - return scene_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return scene_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Landsat::set_allocated_scene_id(std::string* scene_id) { if (scene_id != nullptr) { @@ -11208,13 +12771,14 @@ inline void Landsat::set_allocated_scene_id(std::string* scene_id) { } else { } - scene_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), scene_id); + scene_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), scene_id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Landsat.scene_id) } // string product_id = 2; inline void Landsat::clear_product_id() { - product_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + product_id_.ClearToEmpty(); } inline const std::string& Landsat::product_id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Landsat.product_id) @@ -11229,38 +12793,38 @@ inline std::string* Landsat::mutable_product_id() { return _internal_mutable_product_id(); } inline const std::string& Landsat::_internal_product_id() const { - return product_id_.GetNoArena(); + return product_id_.Get(); } inline void Landsat::_internal_set_product_id(const std::string& value) { - product_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + product_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Landsat::set_product_id(std::string&& value) { - product_id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + product_id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Landsat.product_id) } inline void Landsat::set_product_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - product_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + product_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Landsat.product_id) } -inline void Landsat::set_product_id(const char* value, size_t size) { +inline void Landsat::set_product_id(const char* value, + size_t size) { - product_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + product_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Landsat.product_id) } inline std::string* Landsat::_internal_mutable_product_id() { - return product_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return product_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Landsat::release_product_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Landsat.product_id) - - return product_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return product_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Landsat::set_allocated_product_id(std::string* product_id) { if (product_id != nullptr) { @@ -11268,7 +12832,8 @@ inline void Landsat::set_allocated_product_id(std::string* product_id) { } else { } - product_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), product_id); + product_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), product_id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Landsat.product_id) } @@ -11341,14 +12906,36 @@ inline bool Landsat::has_cloud_cover_land() const { } inline const PROTOBUF_NAMESPACE_ID::FloatValue& Landsat::_internal_cloud_cover_land() const { const PROTOBUF_NAMESPACE_ID::FloatValue* p = cloud_cover_land_; - return p != nullptr ? *p : *reinterpret_cast( - &PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::FloatValue& Landsat::cloud_cover_land() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Landsat.cloud_cover_land) return _internal_cloud_cover_land(); } +inline void Landsat::unsafe_arena_set_allocated_cloud_cover_land( + PROTOBUF_NAMESPACE_ID::FloatValue* cloud_cover_land) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_land_); + } + cloud_cover_land_ = cloud_cover_land; + if (cloud_cover_land) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.Landsat.cloud_cover_land) +} inline PROTOBUF_NAMESPACE_ID::FloatValue* Landsat::release_cloud_cover_land() { + + PROTOBUF_NAMESPACE_ID::FloatValue* temp = cloud_cover_land_; + cloud_cover_land_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline PROTOBUF_NAMESPACE_ID::FloatValue* Landsat::unsafe_arena_release_cloud_cover_land() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Landsat.cloud_cover_land) PROTOBUF_NAMESPACE_ID::FloatValue* temp = cloud_cover_land_; @@ -11358,7 +12945,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* Landsat::release_cloud_cover_land() { inline PROTOBUF_NAMESPACE_ID::FloatValue* Landsat::_internal_mutable_cloud_cover_land() { if (cloud_cover_land_ == nullptr) { - auto* p = CreateMaybeMessage(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage(GetArena()); cloud_cover_land_ = p; } return cloud_cover_land_; @@ -11368,7 +12955,7 @@ inline PROTOBUF_NAMESPACE_ID::FloatValue* Landsat::mutable_cloud_cover_land() { return _internal_mutable_cloud_cover_land(); } inline void Landsat::set_allocated_cloud_cover_land(PROTOBUF_NAMESPACE_ID::FloatValue* cloud_cover_land) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_land_); } @@ -11413,7 +13000,7 @@ inline void Landsat::set_wrs_type(::epl::protobuf::v1::Landsat_WRSType value) { // string scene_id = 1; inline void LandsatRequest::clear_scene_id() { - scene_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + scene_id_.ClearToEmpty(); } inline const std::string& LandsatRequest::scene_id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.LandsatRequest.scene_id) @@ -11428,38 +13015,38 @@ inline std::string* LandsatRequest::mutable_scene_id() { return _internal_mutable_scene_id(); } inline const std::string& LandsatRequest::_internal_scene_id() const { - return scene_id_.GetNoArena(); + return scene_id_.Get(); } inline void LandsatRequest::_internal_set_scene_id(const std::string& value) { - scene_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + scene_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void LandsatRequest::set_scene_id(std::string&& value) { - scene_id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + scene_id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.LandsatRequest.scene_id) } inline void LandsatRequest::set_scene_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - scene_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + scene_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.LandsatRequest.scene_id) } -inline void LandsatRequest::set_scene_id(const char* value, size_t size) { +inline void LandsatRequest::set_scene_id(const char* value, + size_t size) { - scene_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + scene_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.LandsatRequest.scene_id) } inline std::string* LandsatRequest::_internal_mutable_scene_id() { - return scene_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return scene_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* LandsatRequest::release_scene_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.LandsatRequest.scene_id) - - return scene_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return scene_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void LandsatRequest::set_allocated_scene_id(std::string* scene_id) { if (scene_id != nullptr) { @@ -11467,13 +13054,14 @@ inline void LandsatRequest::set_allocated_scene_id(std::string* scene_id) { } else { } - scene_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), scene_id); + scene_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), scene_id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.LandsatRequest.scene_id) } // string product_id = 2; inline void LandsatRequest::clear_product_id() { - product_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + product_id_.ClearToEmpty(); } inline const std::string& LandsatRequest::product_id() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.LandsatRequest.product_id) @@ -11488,38 +13076,38 @@ inline std::string* LandsatRequest::mutable_product_id() { return _internal_mutable_product_id(); } inline const std::string& LandsatRequest::_internal_product_id() const { - return product_id_.GetNoArena(); + return product_id_.Get(); } inline void LandsatRequest::_internal_set_product_id(const std::string& value) { - product_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + product_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void LandsatRequest::set_product_id(std::string&& value) { - product_id_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + product_id_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.LandsatRequest.product_id) } inline void LandsatRequest::set_product_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - product_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + product_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.LandsatRequest.product_id) } -inline void LandsatRequest::set_product_id(const char* value, size_t size) { +inline void LandsatRequest::set_product_id(const char* value, + size_t size) { - product_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + product_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.LandsatRequest.product_id) } inline std::string* LandsatRequest::_internal_mutable_product_id() { - return product_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return product_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* LandsatRequest::release_product_id() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.LandsatRequest.product_id) - - return product_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return product_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void LandsatRequest::set_allocated_product_id(std::string* product_id) { if (product_id != nullptr) { @@ -11527,7 +13115,8 @@ inline void LandsatRequest::set_allocated_product_id(std::string* product_id) { } else { } - product_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), product_id); + product_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), product_id, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.LandsatRequest.product_id) } @@ -11600,14 +13189,36 @@ inline bool LandsatRequest::has_cloud_cover_land() const { } inline const ::epl::protobuf::v1::FloatFilter& LandsatRequest::_internal_cloud_cover_land() const { const ::epl::protobuf::v1::FloatFilter* p = cloud_cover_land_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_FloatFilter_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_FloatFilter_default_instance_); } inline const ::epl::protobuf::v1::FloatFilter& LandsatRequest::cloud_cover_land() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.LandsatRequest.cloud_cover_land) return _internal_cloud_cover_land(); } +inline void LandsatRequest::unsafe_arena_set_allocated_cloud_cover_land( + ::epl::protobuf::v1::FloatFilter* cloud_cover_land) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_land_); + } + cloud_cover_land_ = cloud_cover_land; + if (cloud_cover_land) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.LandsatRequest.cloud_cover_land) +} inline ::epl::protobuf::v1::FloatFilter* LandsatRequest::release_cloud_cover_land() { + + ::epl::protobuf::v1::FloatFilter* temp = cloud_cover_land_; + cloud_cover_land_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::FloatFilter* LandsatRequest::unsafe_arena_release_cloud_cover_land() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.LandsatRequest.cloud_cover_land) ::epl::protobuf::v1::FloatFilter* temp = cloud_cover_land_; @@ -11617,7 +13228,7 @@ inline ::epl::protobuf::v1::FloatFilter* LandsatRequest::release_cloud_cover_lan inline ::epl::protobuf::v1::FloatFilter* LandsatRequest::_internal_mutable_cloud_cover_land() { if (cloud_cover_land_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::FloatFilter>(GetArena()); cloud_cover_land_ = p; } return cloud_cover_land_; @@ -11627,12 +13238,13 @@ inline ::epl::protobuf::v1::FloatFilter* LandsatRequest::mutable_cloud_cover_lan return _internal_mutable_cloud_cover_land(); } inline void LandsatRequest::set_allocated_cloud_cover_land(::epl::protobuf::v1::FloatFilter* cloud_cover_land) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_land_); } if (cloud_cover_land) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_cover_land)->GetArena(); if (message_arena != submessage_arena) { cloud_cover_land = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, cloud_cover_land, submessage_arena); @@ -11651,7 +13263,7 @@ inline void LandsatRequest::set_allocated_cloud_cover_land(::epl::protobuf::v1:: // string name = 1; inline void Mosaic::clear_name() { - name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + name_.ClearToEmpty(); } inline const std::string& Mosaic::name() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Mosaic.name) @@ -11666,38 +13278,38 @@ inline std::string* Mosaic::mutable_name() { return _internal_mutable_name(); } inline const std::string& Mosaic::_internal_name() const { - return name_.GetNoArena(); + return name_.Get(); } inline void Mosaic::_internal_set_name(const std::string& value) { - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Mosaic::set_name(std::string&& value) { - name_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + name_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Mosaic.name) } inline void Mosaic::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Mosaic.name) } -inline void Mosaic::set_name(const char* value, size_t size) { +inline void Mosaic::set_name(const char* value, + size_t size) { - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Mosaic.name) } inline std::string* Mosaic::_internal_mutable_name() { - return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Mosaic::release_name() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Mosaic.name) - - return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Mosaic::set_allocated_name(std::string* name) { if (name != nullptr) { @@ -11705,13 +13317,14 @@ inline void Mosaic::set_allocated_name(std::string* name) { } else { } - name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); + name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Mosaic.name) } // string quad_key = 2; inline void Mosaic::clear_quad_key() { - quad_key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + quad_key_.ClearToEmpty(); } inline const std::string& Mosaic::quad_key() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Mosaic.quad_key) @@ -11726,38 +13339,38 @@ inline std::string* Mosaic::mutable_quad_key() { return _internal_mutable_quad_key(); } inline const std::string& Mosaic::_internal_quad_key() const { - return quad_key_.GetNoArena(); + return quad_key_.Get(); } inline void Mosaic::_internal_set_quad_key(const std::string& value) { - quad_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + quad_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void Mosaic::set_quad_key(std::string&& value) { - quad_key_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + quad_key_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.Mosaic.quad_key) } inline void Mosaic::set_quad_key(const char* value) { GOOGLE_DCHECK(value != nullptr); - quad_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + quad_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.Mosaic.quad_key) } -inline void Mosaic::set_quad_key(const char* value, size_t size) { +inline void Mosaic::set_quad_key(const char* value, + size_t size) { - quad_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + quad_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.Mosaic.quad_key) } inline std::string* Mosaic::_internal_mutable_quad_key() { - return quad_key_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return quad_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* Mosaic::release_quad_key() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Mosaic.quad_key) - - return quad_key_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return quad_key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Mosaic::set_allocated_quad_key(std::string* quad_key) { if (quad_key != nullptr) { @@ -11765,7 +13378,8 @@ inline void Mosaic::set_allocated_quad_key(std::string* quad_key) { } else { } - quad_key_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), quad_key); + quad_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), quad_key, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.Mosaic.quad_key) } @@ -11824,21 +13438,43 @@ inline bool Mosaic::has_observation_range() const { return _internal_has_observation_range(); } inline void Mosaic::clear_observation_range() { - if (GetArenaNoVirtual() == nullptr && observation_range_ != nullptr) { + if (GetArena() == nullptr && observation_range_ != nullptr) { delete observation_range_; } observation_range_ = nullptr; } inline const ::epl::protobuf::v1::DatetimeRange& Mosaic::_internal_observation_range() const { const ::epl::protobuf::v1::DatetimeRange* p = observation_range_; - return p != nullptr ? *p : *reinterpret_cast( - &::epl::protobuf::v1::_DatetimeRange_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::epl::protobuf::v1::_DatetimeRange_default_instance_); } inline const ::epl::protobuf::v1::DatetimeRange& Mosaic::observation_range() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.Mosaic.observation_range) return _internal_observation_range(); } +inline void Mosaic::unsafe_arena_set_allocated_observation_range( + ::epl::protobuf::v1::DatetimeRange* observation_range) { + if (GetArena() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(observation_range_); + } + observation_range_ = observation_range; + if (observation_range) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:epl.protobuf.v1.Mosaic.observation_range) +} inline ::epl::protobuf::v1::DatetimeRange* Mosaic::release_observation_range() { + + ::epl::protobuf::v1::DatetimeRange* temp = observation_range_; + observation_range_ = nullptr; + if (GetArena() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + return temp; +} +inline ::epl::protobuf::v1::DatetimeRange* Mosaic::unsafe_arena_release_observation_range() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.Mosaic.observation_range) ::epl::protobuf::v1::DatetimeRange* temp = observation_range_; @@ -11848,7 +13484,7 @@ inline ::epl::protobuf::v1::DatetimeRange* Mosaic::release_observation_range() { inline ::epl::protobuf::v1::DatetimeRange* Mosaic::_internal_mutable_observation_range() { if (observation_range_ == nullptr) { - auto* p = CreateMaybeMessage<::epl::protobuf::v1::DatetimeRange>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::epl::protobuf::v1::DatetimeRange>(GetArena()); observation_range_ = p; } return observation_range_; @@ -11858,12 +13494,13 @@ inline ::epl::protobuf::v1::DatetimeRange* Mosaic::mutable_observation_range() { return _internal_mutable_observation_range(); } inline void Mosaic::set_allocated_observation_range(::epl::protobuf::v1::DatetimeRange* observation_range) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete observation_range_; } if (observation_range) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(observation_range); if (message_arena != submessage_arena) { observation_range = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, observation_range, submessage_arena); @@ -11956,7 +13593,7 @@ Mosaic::mutable_provenance_ids() { // string name = 1; inline void MosaicRequest::clear_name() { - name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + name_.ClearToEmpty(); } inline const std::string& MosaicRequest::name() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.MosaicRequest.name) @@ -11971,38 +13608,38 @@ inline std::string* MosaicRequest::mutable_name() { return _internal_mutable_name(); } inline const std::string& MosaicRequest::_internal_name() const { - return name_.GetNoArena(); + return name_.Get(); } inline void MosaicRequest::_internal_set_name(const std::string& value) { - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void MosaicRequest::set_name(std::string&& value) { - name_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + name_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.MosaicRequest.name) } inline void MosaicRequest::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.MosaicRequest.name) } -inline void MosaicRequest::set_name(const char* value, size_t size) { +inline void MosaicRequest::set_name(const char* value, + size_t size) { - name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.MosaicRequest.name) } inline std::string* MosaicRequest::_internal_mutable_name() { - return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* MosaicRequest::release_name() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.MosaicRequest.name) - - return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void MosaicRequest::set_allocated_name(std::string* name) { if (name != nullptr) { @@ -12010,13 +13647,14 @@ inline void MosaicRequest::set_allocated_name(std::string* name) { } else { } - name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); + name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.MosaicRequest.name) } // string quad_key = 2; inline void MosaicRequest::clear_quad_key() { - quad_key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + quad_key_.ClearToEmpty(); } inline const std::string& MosaicRequest::quad_key() const { // @@protoc_insertion_point(field_get:epl.protobuf.v1.MosaicRequest.quad_key) @@ -12031,38 +13669,38 @@ inline std::string* MosaicRequest::mutable_quad_key() { return _internal_mutable_quad_key(); } inline const std::string& MosaicRequest::_internal_quad_key() const { - return quad_key_.GetNoArena(); + return quad_key_.Get(); } inline void MosaicRequest::_internal_set_quad_key(const std::string& value) { - quad_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + quad_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void MosaicRequest::set_quad_key(std::string&& value) { - quad_key_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + quad_key_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:epl.protobuf.v1.MosaicRequest.quad_key) } inline void MosaicRequest::set_quad_key(const char* value) { GOOGLE_DCHECK(value != nullptr); - quad_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + quad_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:epl.protobuf.v1.MosaicRequest.quad_key) } -inline void MosaicRequest::set_quad_key(const char* value, size_t size) { +inline void MosaicRequest::set_quad_key(const char* value, + size_t size) { - quad_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + quad_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:epl.protobuf.v1.MosaicRequest.quad_key) } inline std::string* MosaicRequest::_internal_mutable_quad_key() { - return quad_key_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return quad_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* MosaicRequest::release_quad_key() { // @@protoc_insertion_point(field_release:epl.protobuf.v1.MosaicRequest.quad_key) - - return quad_key_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + return quad_key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void MosaicRequest::set_allocated_quad_key(std::string* quad_key) { if (quad_key != nullptr) { @@ -12070,7 +13708,8 @@ inline void MosaicRequest::set_allocated_quad_key(std::string* quad_key) { } else { } - quad_key_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), quad_key); + quad_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), quad_key, + GetArena()); // @@protoc_insertion_point(field_set_allocated:epl.protobuf.v1.MosaicRequest.quad_key) } diff --git a/cpp/protobuf-lib/epl/protobuf/v1/stac_service.grpc.pb.cc b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.grpc.pb.cc similarity index 59% rename from cpp/protobuf-lib/epl/protobuf/v1/stac_service.grpc.pb.cc rename to cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.grpc.pb.cc index 9ef4be9..4c24d0e 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/stac_service.grpc.pb.cc +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.grpc.pb.cc @@ -56,235 +56,205 @@ StacService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channe {} ::grpc::ClientReader< ::epl::protobuf::v1::StacItem>* StacService::Stub::SearchItemsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request) { - return ::grpc_impl::internal::ClientReaderFactory< ::epl::protobuf::v1::StacItem>::Create(channel_.get(), rpcmethod_SearchItems_, context, request); + return ::grpc::internal::ClientReaderFactory< ::epl::protobuf::v1::StacItem>::Create(channel_.get(), rpcmethod_SearchItems_, context, request); } -void StacService::Stub::experimental_async::SearchItems(::grpc::ClientContext* context, ::epl::protobuf::v1::StacRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) { - ::grpc_impl::internal::ClientCallbackReaderFactory< ::epl::protobuf::v1::StacItem>::Create(stub_->channel_.get(), stub_->rpcmethod_SearchItems_, context, request, reactor); +void StacService::Stub::experimental_async::SearchItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) { + ::grpc::internal::ClientCallbackReaderFactory< ::epl::protobuf::v1::StacItem>::Create(stub_->channel_.get(), stub_->rpcmethod_SearchItems_, context, request, reactor); } ::grpc::ClientAsyncReader< ::epl::protobuf::v1::StacItem>* StacService::Stub::AsyncSearchItemsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::StacItem>::Create(channel_.get(), cq, rpcmethod_SearchItems_, context, request, true, tag); + return ::grpc::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::StacItem>::Create(channel_.get(), cq, rpcmethod_SearchItems_, context, request, true, tag); } ::grpc::ClientAsyncReader< ::epl::protobuf::v1::StacItem>* StacService::Stub::PrepareAsyncSearchItemsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::StacItem>::Create(channel_.get(), cq, rpcmethod_SearchItems_, context, request, false, nullptr); + return ::grpc::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::StacItem>::Create(channel_.get(), cq, rpcmethod_SearchItems_, context, request, false, nullptr); } ::grpc::ClientReader< ::epl::protobuf::v1::Collection>* StacService::Stub::SearchCollectionsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::CollectionRequest& request) { - return ::grpc_impl::internal::ClientReaderFactory< ::epl::protobuf::v1::Collection>::Create(channel_.get(), rpcmethod_SearchCollections_, context, request); + return ::grpc::internal::ClientReaderFactory< ::epl::protobuf::v1::Collection>::Create(channel_.get(), rpcmethod_SearchCollections_, context, request); } -void StacService::Stub::experimental_async::SearchCollections(::grpc::ClientContext* context, ::epl::protobuf::v1::CollectionRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) { - ::grpc_impl::internal::ClientCallbackReaderFactory< ::epl::protobuf::v1::Collection>::Create(stub_->channel_.get(), stub_->rpcmethod_SearchCollections_, context, request, reactor); +void StacService::Stub::experimental_async::SearchCollections(::grpc::ClientContext* context, const ::epl::protobuf::v1::CollectionRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) { + ::grpc::internal::ClientCallbackReaderFactory< ::epl::protobuf::v1::Collection>::Create(stub_->channel_.get(), stub_->rpcmethod_SearchCollections_, context, request, reactor); } ::grpc::ClientAsyncReader< ::epl::protobuf::v1::Collection>* StacService::Stub::AsyncSearchCollectionsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::CollectionRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::Collection>::Create(channel_.get(), cq, rpcmethod_SearchCollections_, context, request, true, tag); + return ::grpc::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::Collection>::Create(channel_.get(), cq, rpcmethod_SearchCollections_, context, request, true, tag); } ::grpc::ClientAsyncReader< ::epl::protobuf::v1::Collection>* StacService::Stub::PrepareAsyncSearchCollectionsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::CollectionRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::Collection>::Create(channel_.get(), cq, rpcmethod_SearchCollections_, context, request, false, nullptr); + return ::grpc::internal::ClientAsyncReaderFactory< ::epl::protobuf::v1::Collection>::Create(channel_.get(), cq, rpcmethod_SearchCollections_, context, request, false, nullptr); } ::grpc::ClientReaderWriter< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::InsertItemsRaw(::grpc::ClientContext* context) { - return ::grpc_impl::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), rpcmethod_InsertItems_, context); + return ::grpc::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), rpcmethod_InsertItems_, context); } void StacService::Stub::experimental_async::InsertItems(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::epl::protobuf::v1::StacItem,::epl::protobuf::v1::StacDbResponse>* reactor) { - ::grpc_impl::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::StacItem,::epl::protobuf::v1::StacDbResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_InsertItems_, context, reactor); + ::grpc::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::StacItem,::epl::protobuf::v1::StacDbResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_InsertItems_, context, reactor); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::AsyncInsertItemsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_InsertItems_, context, true, tag); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_InsertItems_, context, true, tag); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncInsertItemsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_InsertItems_, context, false, nullptr); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_InsertItems_, context, false, nullptr); } ::grpc::ClientReaderWriter< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::UpdateItemsRaw(::grpc::ClientContext* context) { - return ::grpc_impl::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), rpcmethod_UpdateItems_, context); + return ::grpc::internal::ClientReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), rpcmethod_UpdateItems_, context); } void StacService::Stub::experimental_async::UpdateItems(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::epl::protobuf::v1::StacItem,::epl::protobuf::v1::StacDbResponse>* reactor) { - ::grpc_impl::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::StacItem,::epl::protobuf::v1::StacDbResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateItems_, context, reactor); + ::grpc::internal::ClientCallbackReaderWriterFactory< ::epl::protobuf::v1::StacItem,::epl::protobuf::v1::StacDbResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateItems_, context, reactor); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::AsyncUpdateItemsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_UpdateItems_, context, true, tag); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_UpdateItems_, context, true, tag); } ::grpc::ClientAsyncReaderWriter< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncUpdateItemsRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_UpdateItems_, context, false, nullptr); + return ::grpc::internal::ClientAsyncReaderWriterFactory< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_UpdateItems_, context, false, nullptr); } ::grpc::Status StacService::Stub::CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::epl::protobuf::v1::StacDbResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CountItems_, context, request, response); + return ::grpc::internal::BlockingUnaryCall< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_CountItems_, context, request, response); } void StacService::Stub::experimental_async::CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CountItems_, context, request, response, std::move(f)); -} - -void StacService::Stub::experimental_async::CountItems(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CountItems_, context, request, response, std::move(f)); + ::grpc::internal::CallbackUnaryCall< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CountItems_, context, request, response, std::move(f)); } void StacService::Stub::experimental_async::CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CountItems_, context, request, response, reactor); + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CountItems_, context, request, response, reactor); } -void StacService::Stub::experimental_async::CountItems(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CountItems_, context, request, response, reactor); +::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncCountItemsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::epl::protobuf::v1::StacDbResponse, ::epl::protobuf::v1::StacRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_CountItems_, context, request); } ::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::AsyncCountItemsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_CountItems_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncCountItemsRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_CountItems_, context, request, false); + auto* result = + this->PrepareAsyncCountItemsRaw(context, request, cq); + result->StartCall(); + return result; } ::grpc::Status StacService::Stub::DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::epl::protobuf::v1::StacDbResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteOneItem_, context, request, response); + return ::grpc::internal::BlockingUnaryCall< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeleteOneItem_, context, request, response); } void StacService::Stub::experimental_async::DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteOneItem_, context, request, response, std::move(f)); -} - -void StacService::Stub::experimental_async::DeleteOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteOneItem_, context, request, response, std::move(f)); + ::grpc::internal::CallbackUnaryCall< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteOneItem_, context, request, response, std::move(f)); } void StacService::Stub::experimental_async::DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteOneItem_, context, request, response, reactor); + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteOneItem_, context, request, response, reactor); } -void StacService::Stub::experimental_async::DeleteOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteOneItem_, context, request, response, reactor); +::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncDeleteOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::epl::protobuf::v1::StacDbResponse, ::epl::protobuf::v1::StacItem, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeleteOneItem_, context, request); } ::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::AsyncDeleteOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_DeleteOneItem_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncDeleteOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_DeleteOneItem_, context, request, false); + auto* result = + this->PrepareAsyncDeleteOneItemRaw(context, request, cq); + result->StartCall(); + return result; } ::grpc::Status StacService::Stub::SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::epl::protobuf::v1::StacItem* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SearchOneItem_, context, request, response); + return ::grpc::internal::BlockingUnaryCall< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SearchOneItem_, context, request, response); } void StacService::Stub::experimental_async::SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacItem* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SearchOneItem_, context, request, response, std::move(f)); -} - -void StacService::Stub::experimental_async::SearchOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacItem* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SearchOneItem_, context, request, response, std::move(f)); + ::grpc::internal::CallbackUnaryCall< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SearchOneItem_, context, request, response, std::move(f)); } void StacService::Stub::experimental_async::SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacItem* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SearchOneItem_, context, request, response, reactor); + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SearchOneItem_, context, request, response, reactor); } -void StacService::Stub::experimental_async::SearchOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacItem* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SearchOneItem_, context, request, response, reactor); +::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacItem>* StacService::Stub::PrepareAsyncSearchOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SearchOneItem_, context, request); } ::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacItem>* StacService::Stub::AsyncSearchOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacItem>::Create(channel_.get(), cq, rpcmethod_SearchOneItem_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacItem>* StacService::Stub::PrepareAsyncSearchOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacItem>::Create(channel_.get(), cq, rpcmethod_SearchOneItem_, context, request, false); + auto* result = + this->PrepareAsyncSearchOneItemRaw(context, request, cq); + result->StartCall(); + return result; } ::grpc::Status StacService::Stub::InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::epl::protobuf::v1::StacDbResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_InsertOneItem_, context, request, response); + return ::grpc::internal::BlockingUnaryCall< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_InsertOneItem_, context, request, response); } void StacService::Stub::experimental_async::InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_InsertOneItem_, context, request, response, std::move(f)); -} - -void StacService::Stub::experimental_async::InsertOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_InsertOneItem_, context, request, response, std::move(f)); + ::grpc::internal::CallbackUnaryCall< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_InsertOneItem_, context, request, response, std::move(f)); } void StacService::Stub::experimental_async::InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_InsertOneItem_, context, request, response, reactor); + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_InsertOneItem_, context, request, response, reactor); } -void StacService::Stub::experimental_async::InsertOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_InsertOneItem_, context, request, response, reactor); +::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncInsertOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::epl::protobuf::v1::StacDbResponse, ::epl::protobuf::v1::StacItem, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_InsertOneItem_, context, request); } ::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::AsyncInsertOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_InsertOneItem_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncInsertOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_InsertOneItem_, context, request, false); + auto* result = + this->PrepareAsyncInsertOneItemRaw(context, request, cq); + result->StartCall(); + return result; } ::grpc::Status StacService::Stub::InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection& request, ::epl::protobuf::v1::StacDbResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_InsertOneCollection_, context, request, response); + return ::grpc::internal::BlockingUnaryCall< ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_InsertOneCollection_, context, request, response); } void StacService::Stub::experimental_async::InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_InsertOneCollection_, context, request, response, std::move(f)); -} - -void StacService::Stub::experimental_async::InsertOneCollection(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_InsertOneCollection_, context, request, response, std::move(f)); + ::grpc::internal::CallbackUnaryCall< ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_InsertOneCollection_, context, request, response, std::move(f)); } void StacService::Stub::experimental_async::InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_InsertOneCollection_, context, request, response, reactor); + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_InsertOneCollection_, context, request, response, reactor); } -void StacService::Stub::experimental_async::InsertOneCollection(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_InsertOneCollection_, context, request, response, reactor); +::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncInsertOneCollectionRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::epl::protobuf::v1::StacDbResponse, ::epl::protobuf::v1::Collection, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_InsertOneCollection_, context, request); } ::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::AsyncInsertOneCollectionRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_InsertOneCollection_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncInsertOneCollectionRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_InsertOneCollection_, context, request, false); + auto* result = + this->PrepareAsyncInsertOneCollectionRaw(context, request, cq); + result->StartCall(); + return result; } ::grpc::Status StacService::Stub::UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::epl::protobuf::v1::StacDbResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateOneItem_, context, request, response); + return ::grpc::internal::BlockingUnaryCall< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UpdateOneItem_, context, request, response); } void StacService::Stub::experimental_async::UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateOneItem_, context, request, response, std::move(f)); -} - -void StacService::Stub::experimental_async::UpdateOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateOneItem_, context, request, response, std::move(f)); + ::grpc::internal::CallbackUnaryCall< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateOneItem_, context, request, response, std::move(f)); } void StacService::Stub::experimental_async::UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateOneItem_, context, request, response, reactor); + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateOneItem_, context, request, response, reactor); } -void StacService::Stub::experimental_async::UpdateOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateOneItem_, context, request, response, reactor); +::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncUpdateOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::epl::protobuf::v1::StacDbResponse, ::epl::protobuf::v1::StacItem, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UpdateOneItem_, context, request); } ::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::AsyncUpdateOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_UpdateOneItem_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::epl::protobuf::v1::StacDbResponse>* StacService::Stub::PrepareAsyncUpdateOneItemRaw(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::epl::protobuf::v1::StacDbResponse>::Create(channel_.get(), cq, rpcmethod_UpdateOneItem_, context, request, false); + auto* result = + this->PrepareAsyncUpdateOneItemRaw(context, request, cq); + result->StartCall(); + return result; } StacService::Service::Service() { @@ -292,52 +262,102 @@ StacService::Service::Service() { StacService_method_names[0], ::grpc::internal::RpcMethod::SERVER_STREAMING, new ::grpc::internal::ServerStreamingHandler< StacService::Service, ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>( - std::mem_fn(&StacService::Service::SearchItems), this))); + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::StacRequest* req, + ::grpc::ServerWriter<::epl::protobuf::v1::StacItem>* writer) { + return service->SearchItems(ctx, req, writer); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[1], ::grpc::internal::RpcMethod::SERVER_STREAMING, new ::grpc::internal::ServerStreamingHandler< StacService::Service, ::epl::protobuf::v1::CollectionRequest, ::epl::protobuf::v1::Collection>( - std::mem_fn(&StacService::Service::SearchCollections), this))); + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::CollectionRequest* req, + ::grpc::ServerWriter<::epl::protobuf::v1::Collection>* writer) { + return service->SearchCollections(ctx, req, writer); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[2], ::grpc::internal::RpcMethod::BIDI_STREAMING, new ::grpc::internal::BidiStreamingHandler< StacService::Service, ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( - std::mem_fn(&StacService::Service::InsertItems), this))); + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + ::grpc::ServerReaderWriter<::epl::protobuf::v1::StacDbResponse, + ::epl::protobuf::v1::StacItem>* stream) { + return service->InsertItems(ctx, stream); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[3], ::grpc::internal::RpcMethod::BIDI_STREAMING, new ::grpc::internal::BidiStreamingHandler< StacService::Service, ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( - std::mem_fn(&StacService::Service::UpdateItems), this))); + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + ::grpc::ServerReaderWriter<::epl::protobuf::v1::StacDbResponse, + ::epl::protobuf::v1::StacItem>* stream) { + return service->UpdateItems(ctx, stream); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse>( - std::mem_fn(&StacService::Service::CountItems), this))); + new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::StacRequest* req, + ::epl::protobuf::v1::StacDbResponse* resp) { + return service->CountItems(ctx, req, resp); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( - std::mem_fn(&StacService::Service::DeleteOneItem), this))); + new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::StacItem* req, + ::epl::protobuf::v1::StacDbResponse* resp) { + return service->DeleteOneItem(ctx, req, resp); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>( - std::mem_fn(&StacService::Service::SearchOneItem), this))); + new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::StacRequest* req, + ::epl::protobuf::v1::StacItem* resp) { + return service->SearchOneItem(ctx, req, resp); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( - std::mem_fn(&StacService::Service::InsertOneItem), this))); + new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::StacItem* req, + ::epl::protobuf::v1::StacDbResponse* resp) { + return service->InsertOneItem(ctx, req, resp); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse>( - std::mem_fn(&StacService::Service::InsertOneCollection), this))); + new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::Collection* req, + ::epl::protobuf::v1::StacDbResponse* resp) { + return service->InsertOneCollection(ctx, req, resp); + }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( StacService_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( - std::mem_fn(&StacService::Service::UpdateOneItem), this))); + new ::grpc::internal::RpcMethodHandler< StacService::Service, ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](StacService::Service* service, + ::grpc::ServerContext* ctx, + const ::epl::protobuf::v1::StacItem* req, + ::epl::protobuf::v1::StacDbResponse* resp) { + return service->UpdateOneItem(ctx, req, resp); + }, this))); } StacService::Service::~Service() { diff --git a/cpp/protobuf-lib/epl/protobuf/v1/stac_service.grpc.pb.h b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.grpc.pb.h similarity index 89% rename from cpp/protobuf-lib/epl/protobuf/v1/stac_service.grpc.pb.h rename to cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.grpc.pb.h index d74bb8e..185032d 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/stac_service.grpc.pb.h +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.grpc.pb.h @@ -162,14 +162,14 @@ class StacService final { // // using a search request, stream all the results that match the search filter #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void SearchItems(::grpc::ClientContext* context, ::epl::protobuf::v1::StacRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) = 0; + virtual void SearchItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) = 0; #else - virtual void SearchItems(::grpc::ClientContext* context, ::epl::protobuf::v1::StacRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) = 0; + virtual void SearchItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) = 0; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void SearchCollections(::grpc::ClientContext* context, ::epl::protobuf::v1::CollectionRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) = 0; + virtual void SearchCollections(::grpc::ClientContext* context, const ::epl::protobuf::v1::CollectionRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) = 0; #else - virtual void SearchCollections(::grpc::ClientContext* context, ::epl::protobuf::v1::CollectionRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) = 0; + virtual void SearchCollections(::grpc::ClientContext* context, const ::epl::protobuf::v1::CollectionRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) = 0; #endif // // insert a stream of items into the STAC service @@ -188,87 +188,51 @@ class StacService final { // // count all the items in the Stac service according to the StacRequest filter virtual void CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; - virtual void CountItems(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual void CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else virtual void CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void CountItems(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void CountItems(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif // // delete an item from the STAC service virtual void DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; - virtual void DeleteOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual void DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else virtual void DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void DeleteOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void DeleteOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif // // using a search request get the first item that matches the request virtual void SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacItem* response, std::function) = 0; - virtual void SearchOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacItem* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual void SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacItem* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else virtual void SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacItem* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void SearchOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacItem* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void SearchOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacItem* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif // // Insert one item into the STAC service virtual void InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; - virtual void InsertOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual void InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else virtual void InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void InsertOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void InsertOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif // // Insert one item into the STAC service virtual void InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; - virtual void InsertOneCollection(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual void InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else virtual void InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void InsertOneCollection(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void InsertOneCollection(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif // // Update one item in the STAC service virtual void UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; - virtual void UpdateOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual void UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else virtual void UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void UpdateOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void UpdateOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif }; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL typedef class experimental_async_interface async_interface; @@ -388,14 +352,14 @@ class StacService final { public StubInterface::experimental_async_interface { public: #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void SearchItems(::grpc::ClientContext* context, ::epl::protobuf::v1::StacRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) override; + void SearchItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) override; #else - void SearchItems(::grpc::ClientContext* context, ::epl::protobuf::v1::StacRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) override; + void SearchItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::StacItem>* reactor) override; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void SearchCollections(::grpc::ClientContext* context, ::epl::protobuf::v1::CollectionRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) override; + void SearchCollections(::grpc::ClientContext* context, const ::epl::protobuf::v1::CollectionRequest* request, ::grpc::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) override; #else - void SearchCollections(::grpc::ClientContext* context, ::epl::protobuf::v1::CollectionRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) override; + void SearchCollections(::grpc::ClientContext* context, const ::epl::protobuf::v1::CollectionRequest* request, ::grpc::experimental::ClientReadReactor< ::epl::protobuf::v1::Collection>* reactor) override; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void InsertItems(::grpc::ClientContext* context, ::grpc::ClientBidiReactor< ::epl::protobuf::v1::StacItem,::epl::protobuf::v1::StacDbResponse>* reactor) override; @@ -408,77 +372,41 @@ class StacService final { void UpdateItems(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::epl::protobuf::v1::StacItem,::epl::protobuf::v1::StacDbResponse>* reactor) override; #endif void CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; - void CountItems(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else void CountItems(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void CountItems(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void CountItems(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif void DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; - void DeleteOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else void DeleteOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void DeleteOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void DeleteOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif void SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacItem* response, std::function) override; - void SearchOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacItem* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacItem* response, ::grpc::ClientUnaryReactor* reactor) override; #else void SearchOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacRequest* request, ::epl::protobuf::v1::StacItem* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void SearchOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacItem* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void SearchOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacItem* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif void InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; - void InsertOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else void InsertOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void InsertOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void InsertOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif void InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; - void InsertOneCollection(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else void InsertOneCollection(::grpc::ClientContext* context, const ::epl::protobuf::v1::Collection* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void InsertOneCollection(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void InsertOneCollection(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif void UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; - void UpdateOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL void UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else void UpdateOneItem(::grpc::ClientContext* context, const ::epl::protobuf::v1::StacItem* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void UpdateOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void UpdateOneItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::epl::protobuf::v1::StacDbResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif private: friend class Stub; explicit experimental_async(Stub* stub): stub_(stub) { } @@ -773,7 +701,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(0, - new ::grpc_impl::internal::CallbackServerStreamingHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>( + new ::grpc::internal::CallbackServerStreamingHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -811,7 +739,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(1, - new ::grpc_impl::internal::CallbackServerStreamingHandler< ::epl::protobuf::v1::CollectionRequest, ::epl::protobuf::v1::Collection>( + new ::grpc::internal::CallbackServerStreamingHandler< ::epl::protobuf::v1::CollectionRequest, ::epl::protobuf::v1::Collection>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -849,7 +777,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(2, - new ::grpc_impl::internal::CallbackBidiHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( + new ::grpc::internal::CallbackBidiHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -887,7 +815,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(3, - new ::grpc_impl::internal::CallbackBidiHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( + new ::grpc::internal::CallbackBidiHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -925,7 +853,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(4, - new ::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -940,7 +868,7 @@ class StacService final { #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(4); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_CountItems() override { @@ -972,7 +900,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(5, - new ::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -987,7 +915,7 @@ class StacService final { #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(5); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_DeleteOneItem() override { @@ -1019,7 +947,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(6, - new ::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>( + new ::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1034,7 +962,7 @@ class StacService final { #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(6); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_SearchOneItem() override { @@ -1066,7 +994,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(7, - new ::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1081,7 +1009,7 @@ class StacService final { #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(7); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_InsertOneItem() override { @@ -1113,7 +1041,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(8, - new ::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1128,7 +1056,7 @@ class StacService final { #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(8); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_InsertOneCollection() override { @@ -1160,7 +1088,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(9, - new ::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1175,7 +1103,7 @@ class StacService final { #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(9); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_UpdateOneItem() override { @@ -1582,7 +1510,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(0, - new ::grpc_impl::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1620,7 +1548,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(1, - new ::grpc_impl::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1658,7 +1586,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(2, - new ::grpc_impl::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1696,7 +1624,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(3, - new ::grpc_impl::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackBidiHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1734,7 +1662,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(4, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1772,7 +1700,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(5, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1810,7 +1738,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(6, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1848,7 +1776,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(7, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1886,7 +1814,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(8, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1924,7 +1852,7 @@ class StacService final { ::grpc::Service::experimental(). #endif MarkMethodRawCallback(9, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* @@ -1957,7 +1885,14 @@ class StacService final { public: WithStreamedUnaryMethod_CountItems() { ::grpc::Service::MarkMethodStreamed(4, - new ::grpc::internal::StreamedUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse>(std::bind(&WithStreamedUnaryMethod_CountItems::StreamedCountItems, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< + ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacDbResponse>* streamer) { + return this->StreamedCountItems(context, + streamer); + })); } ~WithStreamedUnaryMethod_CountItems() override { BaseClassMustBeDerivedFromService(this); @@ -1977,7 +1912,14 @@ class StacService final { public: WithStreamedUnaryMethod_DeleteOneItem() { ::grpc::Service::MarkMethodStreamed(5, - new ::grpc::internal::StreamedUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>(std::bind(&WithStreamedUnaryMethod_DeleteOneItem::StreamedDeleteOneItem, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< + ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* streamer) { + return this->StreamedDeleteOneItem(context, + streamer); + })); } ~WithStreamedUnaryMethod_DeleteOneItem() override { BaseClassMustBeDerivedFromService(this); @@ -1997,7 +1939,14 @@ class StacService final { public: WithStreamedUnaryMethod_SearchOneItem() { ::grpc::Service::MarkMethodStreamed(6, - new ::grpc::internal::StreamedUnaryHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>(std::bind(&WithStreamedUnaryMethod_SearchOneItem::StreamedSearchOneItem, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< + ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>* streamer) { + return this->StreamedSearchOneItem(context, + streamer); + })); } ~WithStreamedUnaryMethod_SearchOneItem() override { BaseClassMustBeDerivedFromService(this); @@ -2017,7 +1966,14 @@ class StacService final { public: WithStreamedUnaryMethod_InsertOneItem() { ::grpc::Service::MarkMethodStreamed(7, - new ::grpc::internal::StreamedUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>(std::bind(&WithStreamedUnaryMethod_InsertOneItem::StreamedInsertOneItem, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< + ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* streamer) { + return this->StreamedInsertOneItem(context, + streamer); + })); } ~WithStreamedUnaryMethod_InsertOneItem() override { BaseClassMustBeDerivedFromService(this); @@ -2037,7 +1993,14 @@ class StacService final { public: WithStreamedUnaryMethod_InsertOneCollection() { ::grpc::Service::MarkMethodStreamed(8, - new ::grpc::internal::StreamedUnaryHandler< ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse>(std::bind(&WithStreamedUnaryMethod_InsertOneCollection::StreamedInsertOneCollection, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< + ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::epl::protobuf::v1::Collection, ::epl::protobuf::v1::StacDbResponse>* streamer) { + return this->StreamedInsertOneCollection(context, + streamer); + })); } ~WithStreamedUnaryMethod_InsertOneCollection() override { BaseClassMustBeDerivedFromService(this); @@ -2057,7 +2020,14 @@ class StacService final { public: WithStreamedUnaryMethod_UpdateOneItem() { ::grpc::Service::MarkMethodStreamed(9, - new ::grpc::internal::StreamedUnaryHandler< ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>(std::bind(&WithStreamedUnaryMethod_UpdateOneItem::StreamedUpdateOneItem, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< + ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::epl::protobuf::v1::StacItem, ::epl::protobuf::v1::StacDbResponse>* streamer) { + return this->StreamedUpdateOneItem(context, + streamer); + })); } ~WithStreamedUnaryMethod_UpdateOneItem() override { BaseClassMustBeDerivedFromService(this); @@ -2078,7 +2048,14 @@ class StacService final { public: WithSplitStreamingMethod_SearchItems() { ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::SplitServerStreamingHandler< ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>(std::bind(&WithSplitStreamingMethod_SearchItems::StreamedSearchItems, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::SplitServerStreamingHandler< + ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>( + [this](::grpc::ServerContext* context, + ::grpc::ServerSplitStreamer< + ::epl::protobuf::v1::StacRequest, ::epl::protobuf::v1::StacItem>* streamer) { + return this->StreamedSearchItems(context, + streamer); + })); } ~WithSplitStreamingMethod_SearchItems() override { BaseClassMustBeDerivedFromService(this); @@ -2098,7 +2075,14 @@ class StacService final { public: WithSplitStreamingMethod_SearchCollections() { ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::SplitServerStreamingHandler< ::epl::protobuf::v1::CollectionRequest, ::epl::protobuf::v1::Collection>(std::bind(&WithSplitStreamingMethod_SearchCollections::StreamedSearchCollections, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::SplitServerStreamingHandler< + ::epl::protobuf::v1::CollectionRequest, ::epl::protobuf::v1::Collection>( + [this](::grpc::ServerContext* context, + ::grpc::ServerSplitStreamer< + ::epl::protobuf::v1::CollectionRequest, ::epl::protobuf::v1::Collection>* streamer) { + return this->StreamedSearchCollections(context, + streamer); + })); } ~WithSplitStreamingMethod_SearchCollections() override { BaseClassMustBeDerivedFromService(this); diff --git a/cpp/protobuf-lib/epl/protobuf/v1/stac_service.pb.cc b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.pb.cc similarity index 81% rename from cpp/protobuf-lib/epl/protobuf/v1/stac_service.pb.cc rename to cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.pb.cc index fea7240..629a877 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/stac_service.pb.cc +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.pb.cc @@ -14,6 +14,8 @@ #include // @@protoc_insertion_point(includes) #include + +PROTOBUF_PRAGMA_INIT_SEG namespace epl { namespace protobuf { namespace v1 { @@ -58,19 +60,21 @@ const char descriptor_table_protodef_epl_2fprotobuf_2fv1_2fstac_5fservice_2eprot static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_deps[1] = { &::descriptor_table_epl_2fprotobuf_2fv1_2fstac_2eproto, }; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_sccs[1] = { -}; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_once; -static bool descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto = { - &descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_initialized, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto, "epl/protobuf/v1/stac_service.proto", 1031, - &descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_sccs, descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_deps, 0, 1, + false, false, 1031, descriptor_table_protodef_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto, "epl/protobuf/v1/stac_service.proto", + &descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_once, descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_deps, 1, 0, schemas, file_default_instances, TableStruct_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto::offsets, - file_level_metadata_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto, 0, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto, + file_level_metadata_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto, file_level_enum_descriptors_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto, file_level_service_descriptors_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto, }; +PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata +descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_metadata_getter(int index) { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto); + return descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto.file_level_metadata[index]; +} // Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto), true); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto(&descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto); namespace epl { namespace protobuf { namespace v1 { diff --git a/cpp/protobuf-lib/epl/protobuf/v1/stac_service.pb.h b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.pb.h similarity index 91% rename from cpp/protobuf-lib/epl/protobuf/v1/stac_service.pb.h rename to cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.pb.h index e7bfbb8..b947bfc 100644 --- a/cpp/protobuf-lib/epl/protobuf/v1/stac_service.pb.h +++ b/cpp/epl-protobuf-v1/epl/protobuf/v1/stac_service.pb.h @@ -8,12 +8,12 @@ #include #include -#if PROTOBUF_VERSION < 3011000 +#if PROTOBUF_VERSION < 3015000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3011002 < PROTOBUF_MIN_PROTOC_VERSION +#if 3015002 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -25,8 +25,7 @@ #include #include #include -#include -#include +#include #include #include // IWYU pragma: export #include // IWYU pragma: export @@ -44,7 +43,7 @@ PROTOBUF_NAMESPACE_CLOSE struct TableStruct_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] + static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold); @@ -53,6 +52,7 @@ struct TableStruct_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto { static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto; +::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_epl_2fprotobuf_2fv1_2fstac_5fservice_2eproto_metadata_getter(int index); PROTOBUF_NAMESPACE_OPEN PROTOBUF_NAMESPACE_CLOSE namespace epl { diff --git a/cpp/protobuf-lib/CMakeLists.txt b/cpp/protobuf-lib/CMakeLists.txt deleted file mode 100644 index 641ac17..0000000 --- a/cpp/protobuf-lib/CMakeLists.txt +++ /dev/null @@ -1,44 +0,0 @@ -cmake_minimum_required(VERSION 3.13.4) -project(protobuf_lib) -set(CMAKE_VERBOSE_MAKEFILE ON) - -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../cmake") - -find_package(Protobuf REQUIRED) -find_package(GRPC REQUIRED) - -set(protobuf_MODULE_COMPATIBLE TRUE) - -message(STATUS "Using protobuf ${protobuf_VERSION}") - -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17") - -set(${PROJECT_NAME}_INCLUDE - /usr/local/include - ${PROTO_SRC_DIR} - /usr/local/include/grpc++ - ${CMAKE_SOURCE_DIR}/protobuf-lib - CACHE INTERNAL "${PROJECT_NAME}: Include Directories" FORCE) - -include_directories(${${PROJECT_NAME}_INCLUDE}) - -add_library(${PROJECT_NAME} - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/geometry.pb.cc - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/geometry.pb.h - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/geometry_service.grpc.pb.cc - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/geometry_service.grpc.pb.h - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/geometry_service.pb.cc - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/geometry_service.pb.h - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/query.pb.cc - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/query.pb.h - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/stac.pb.cc - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/stac.pb.h - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/stac_service.grpc.pb.cc - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/stac_service.grpc.pb.h - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/stac_service.pb.cc - ${CMAKE_SOURCE_DIR}/protobuf-lib/epl/protobuf/v1/stac_service.pb.h - ) - -target_link_libraries(${PROJECT_NAME} - gRPC::grpc++_reflection - protobuf::libprotobuf) \ No newline at end of file diff --git a/cpp/test/CMakeLists.txt b/cpp/test/CMakeLists.txt index 9792fbc..75e3b53 100644 --- a/cpp/test/CMakeLists.txt +++ b/cpp/test/CMakeLists.txt @@ -11,7 +11,17 @@ find_package(GRPC REQUIRED) FIND_PACKAGE(CURL) project(unitTest C CXX) -find_package(GTest REQUIRED) +#find_package(GTest REQUIRED) + +#target_link_libraries(GoogleTest /usr/local/lib/libgtest.a /usr/local/lib/libgtest_main.a) +include(FetchContent) +FetchContent_Declare( + googletest + URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip +) +# For Windows: Prevent overriding the parent project's compiler/linker settings +set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) +FetchContent_MakeAvailable(googletest) include_directories(${GTEST_INCLUDE_DIRS} ${protobuf_lib_INCLUDE} @@ -28,6 +38,6 @@ target_link_libraries(unitTest ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${JWT_LIBS} - protobuf_lib + epl_protobuf_v1 curl) diff --git a/dotnet/EplProtobuf/EplProtobuf.csproj b/dotnet/EplProtobufV1/EplProtobufV1.csproj similarity index 100% rename from dotnet/EplProtobuf/EplProtobuf.csproj rename to dotnet/EplProtobufV1/EplProtobufV1.csproj diff --git a/dotnet/EplProtobuf/Geometry.cs b/dotnet/EplProtobufV1/Geometry.cs similarity index 80% rename from dotnet/EplProtobuf/Geometry.cs rename to dotnet/EplProtobufV1/Geometry.cs index 9cec737..14f1bde 100644 --- a/dotnet/EplProtobuf/Geometry.cs +++ b/dotnet/EplProtobufV1/Geometry.cs @@ -325,7 +325,11 @@ public enum OperatorType { ///* /// Container for Geometry data, has id, encoded geometry coordinates and shape, spatial reference and envelope /// - public sealed partial class GeometryData : pb::IMessage { + public sealed partial class GeometryData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GeometryData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -597,6 +601,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (GeometryId != 0UL) { output.WriteRawTag(8); output.WriteUInt64(GeometryId); @@ -640,8 +647,58 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (GeometryId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(GeometryId); + } + if (FeatureId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FeatureId); + } + if (dataCase_ == DataOneofCase.Wkt) { + output.WriteRawTag(26); + output.WriteString(Wkt); + } + if (dataCase_ == DataOneofCase.Geojson) { + output.WriteRawTag(34); + output.WriteString(Geojson); + } + if (dataCase_ == DataOneofCase.Wkb) { + output.WriteRawTag(42); + output.WriteBytes(Wkb); + } + if (dataCase_ == DataOneofCase.EsriShape) { + output.WriteRawTag(50); + output.WriteBytes(EsriShape); + } + if (proj_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Proj); + } + if (envelope_ != null) { + output.WriteRawTag(106); + output.WriteMessage(Envelope); + } + if (Simple != global::com.epl.protobuf.v1.SimpleState.SimpleUnknown) { + output.WriteRawTag(112); + output.WriteEnum((int) Simple); + } + if (dataCase_ == DataOneofCase.Ewkb) { + output.WriteRawTag(122); + output.WriteBytes(Ewkb); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -730,6 +787,9 @@ public void MergeFrom(GeometryData other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -784,7 +844,68 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + GeometryId = input.ReadUInt64(); + break; + } + case 18: { + FeatureId = input.ReadString(); + break; + } + case 26: { + Wkt = input.ReadString(); + break; + } + case 34: { + Geojson = input.ReadString(); + break; + } + case 42: { + Wkb = input.ReadBytes(); + break; + } + case 50: { + EsriShape = input.ReadBytes(); + break; + } + case 58: { + if (proj_ == null) { + Proj = new global::com.epl.protobuf.v1.ProjectionData(); + } + input.ReadMessage(Proj); + break; + } + case 106: { + if (envelope_ == null) { + Envelope = new global::com.epl.protobuf.v1.EnvelopeData(); + } + input.ReadMessage(Envelope); + break; + } + case 112: { + Simple = (global::com.epl.protobuf.v1.SimpleState) input.ReadEnum(); + break; + } + case 122: { + Ewkb = input.ReadBytes(); + break; + } + } + } } + #endif } @@ -792,7 +913,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// Spatial Reference system. Used with a geometry to define the reference system of the geometry's coordinates /// - public sealed partial class ProjectionData : pb::IMessage { + public sealed partial class ProjectionData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProjectionData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1027,6 +1152,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (definitionCase_ == DefinitionOneofCase.Epsg) { output.WriteRawTag(8); output.WriteInt32(Epsg); @@ -1060,7 +1188,47 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (definitionCase_ == DefinitionOneofCase.Epsg) { + output.WriteRawTag(8); + output.WriteInt32(Epsg); + } + if (definitionCase_ == DefinitionOneofCase.Proj4) { + output.WriteRawTag(18); + output.WriteString(Proj4); + } + if (definitionCase_ == DefinitionOneofCase.Custom) { + output.WriteRawTag(26); + output.WriteMessage(Custom); + } + if (definitionCase_ == DefinitionOneofCase.Wkt) { + output.WriteRawTag(34); + output.WriteString(Wkt); + } + shape_.WriteTo(ref output, _repeated_shape_codec); + transform_.WriteTo(ref output, _repeated_transform_codec); + if (geometry_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Geometry); + } + if (bbox_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Bbox); + } + if (centroid_ != null) { + output.WriteRawTag(98); + output.WriteMessage(Centroid); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1142,6 +1310,9 @@ public void MergeFrom(ProjectionData other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1202,7 +1373,74 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Epsg = input.ReadInt32(); + break; + } + case 18: { + Proj4 = input.ReadString(); + break; + } + case 26: { + global::com.epl.protobuf.v1.ProjectionData.Types.Custom subBuilder = new global::com.epl.protobuf.v1.ProjectionData.Types.Custom(); + if (definitionCase_ == DefinitionOneofCase.Custom) { + subBuilder.MergeFrom(Custom); + } + input.ReadMessage(subBuilder); + Custom = subBuilder; + break; + } + case 34: { + Wkt = input.ReadString(); + break; + } + case 66: + case 64: { + shape_.AddEntriesFrom(ref input, _repeated_shape_codec); + break; + } + case 74: + case 73: { + transform_.AddEntriesFrom(ref input, _repeated_transform_codec); + break; + } + case 82: { + if (geometry_ == null) { + Geometry = new global::com.epl.protobuf.v1.GeometryData(); + } + input.ReadMessage(Geometry); + break; + } + case 90: { + if (bbox_ == null) { + Bbox = new global::com.epl.protobuf.v1.EnvelopeData(); + } + input.ReadMessage(Bbox); + break; + } + case 98: { + if (centroid_ == null) { + Centroid = new global::com.epl.protobuf.v1.GeometryData(); + } + input.ReadMessage(Centroid); + break; + } + } + } } + #endif #region Nested types /// Container for nested types declared in the ProjectionData message type. @@ -1221,7 +1459,11 @@ public enum CSType { /// /// Projected coordinate system that doesn't have a wkid / srid /// - public sealed partial class Custom : pb::IMessage { + public sealed partial class Custom : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Custom()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1337,6 +1579,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Lon0 != 0D) { output.WriteRawTag(9); output.WriteDouble(Lon0); @@ -1352,7 +1597,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Lon0 != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Lon0); + } + if (Lat0 != 0D) { + output.WriteRawTag(17); + output.WriteDouble(Lat0); + } + if (CsType != global::com.epl.protobuf.v1.ProjectionData.Types.CSType.LambertAzi) { + output.WriteRawTag(24); + output.WriteEnum((int) CsType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1391,6 +1658,9 @@ public void MergeFrom(Custom other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1411,7 +1681,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Lon0 = input.ReadDouble(); + break; + } + case 17: { + Lat0 = input.ReadDouble(); + break; + } + case 24: { + CsType = (global::com.epl.protobuf.v1.ProjectionData.Types.CSType) input.ReadEnum(); + break; + } + } + } } + #endif } @@ -1424,7 +1721,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// Container for Envelope data (bounding box), x and y min and max and an optional spatial reference /// - public sealed partial class EnvelopeData : pb::IMessage { + public sealed partial class EnvelopeData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EnvelopeData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1602,6 +1903,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Xmin != 0D) { output.WriteRawTag(9); output.WriteDouble(Xmin); @@ -1633,31 +1937,69 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Xmin != 0D) { - size += 1 + 8; + output.WriteRawTag(9); + output.WriteDouble(Xmin); } if (Ymin != 0D) { - size += 1 + 8; + output.WriteRawTag(17); + output.WriteDouble(Ymin); } if (Xmax != 0D) { - size += 1 + 8; + output.WriteRawTag(25); + output.WriteDouble(Xmax); } if (Ymax != 0D) { - size += 1 + 8; + output.WriteRawTag(33); + output.WriteDouble(Ymax); } if (proj_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Proj); + output.WriteRawTag(42); + output.WriteMessage(Proj); } if (Zmin != 0D) { - size += 1 + 8; + output.WriteRawTag(49); + output.WriteDouble(Zmin); } if (Zmax != 0D) { - size += 1 + 8; + output.WriteRawTag(57); + output.WriteDouble(Zmax); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (Xmin != 0D) { + size += 1 + 8; + } + if (Ymin != 0D) { + size += 1 + 8; + } + if (Xmax != 0D) { + size += 1 + 8; + } + if (Ymax != 0D) { + size += 1 + 8; + } + if (proj_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Proj); + } + if (Zmin != 0D) { + size += 1 + 8; + } + if (Zmax != 0D) { + size += 1 + 8; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -1699,6 +2041,9 @@ public void MergeFrom(EnvelopeData other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1738,7 +2083,53 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Xmin = input.ReadDouble(); + break; + } + case 17: { + Ymin = input.ReadDouble(); + break; + } + case 25: { + Xmax = input.ReadDouble(); + break; + } + case 33: { + Ymax = input.ReadDouble(); + break; + } + case 42: { + if (proj_ == null) { + Proj = new global::com.epl.protobuf.v1.ProjectionData(); + } + input.ReadMessage(Proj); + break; + } + case 49: { + Zmin = input.ReadDouble(); + break; + } + case 57: { + Zmax = input.ReadDouble(); + break; + } + } + } } + #endif } @@ -1746,7 +2137,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// response message for insertion and updates to stac db /// - public sealed partial class GeometryRequest : pb::IMessage { + public sealed partial class GeometryRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GeometryRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2303,6 +2698,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (leftCase_ == LeftOneofCase.Geometry) { output.WriteRawTag(10); output.WriteMessage(Geometry); @@ -2402,7 +2800,113 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (leftCase_ == LeftOneofCase.Geometry) { + output.WriteRawTag(10); + output.WriteMessage(Geometry); + } + if (leftCase_ == LeftOneofCase.LeftGeometry) { + output.WriteRawTag(18); + output.WriteMessage(LeftGeometry); + } + if (leftCase_ == LeftOneofCase.GeometryRequest_) { + output.WriteRawTag(26); + output.WriteMessage(GeometryRequest_); + } + if (leftCase_ == LeftOneofCase.LeftGeometryRequest) { + output.WriteRawTag(34); + output.WriteMessage(LeftGeometryRequest); + } + if (rightCase_ == RightOneofCase.RightGeometry) { + output.WriteRawTag(42); + output.WriteMessage(RightGeometry); + } + if (rightCase_ == RightOneofCase.RightGeometryRequest) { + output.WriteRawTag(50); + output.WriteMessage(RightGeometryRequest); + } + if (Operator != global::com.epl.protobuf.v1.OperatorType.UnknownOperator) { + output.WriteRawTag(56); + output.WriteEnum((int) Operator); + } + if (ResultEncoding != global::com.epl.protobuf.v1.Encoding.UnknownEncoding) { + output.WriteRawTag(64); + output.WriteEnum((int) ResultEncoding); + } + if (operationProj_ != null) { + output.WriteRawTag(74); + output.WriteMessage(OperationProj); + } + if (resultProj_ != null) { + output.WriteRawTag(82); + output.WriteMessage(ResultProj); + } + if (paramsCase_ == ParamsOneofCase.BufferParams) { + output.WriteRawTag(90); + output.WriteMessage(BufferParams); + } + if (paramsCase_ == ParamsOneofCase.ConvexParams) { + output.WriteRawTag(98); + output.WriteMessage(ConvexParams); + } + if (paramsCase_ == ParamsOneofCase.RelateParams) { + output.WriteRawTag(106); + output.WriteMessage(RelateParams); + } + if (paramsCase_ == ParamsOneofCase.RandomPointsParams) { + output.WriteRawTag(114); + output.WriteMessage(RandomPointsParams); + } + if (paramsCase_ == ParamsOneofCase.GeneralizeParams) { + output.WriteRawTag(122); + output.WriteMessage(GeneralizeParams); + } + if (paramsCase_ == ParamsOneofCase.IntersectionParams) { + output.WriteRawTag(130, 1); + output.WriteMessage(IntersectionParams); + } + if (paramsCase_ == ParamsOneofCase.OffsetParams) { + output.WriteRawTag(138, 1); + output.WriteMessage(OffsetParams); + } + if (paramsCase_ == ParamsOneofCase.CutParams) { + output.WriteRawTag(146, 1); + output.WriteMessage(CutParams); + } + if (paramsCase_ == ParamsOneofCase.ClipParams) { + output.WriteRawTag(154, 1); + output.WriteMessage(ClipParams); + } + if (paramsCase_ == ParamsOneofCase.DensifyParams) { + output.WriteRawTag(162, 1); + output.WriteMessage(DensifyParams); + } + if (paramsCase_ == ParamsOneofCase.SimplifyParams) { + output.WriteRawTag(170, 1); + output.WriteMessage(SimplifyParams); + } + if (paramsCase_ == ParamsOneofCase.GeneralizeByAreaParams) { + output.WriteRawTag(178, 1); + output.WriteMessage(GeneralizeByAreaParams); + } + if (paramsCase_ == ParamsOneofCase.AffineTransformParams) { + output.WriteRawTag(186, 1); + output.WriteMessage(AffineTransformParams); + } + if (paramsCase_ == ParamsOneofCase.GeodeticBufferParams) { + output.WriteRawTag(194, 1); + output.WriteMessage(GeodeticBufferParams); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -2642,6 +3146,9 @@ public void MergeFrom(GeometryRequest other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -2852,96 +3359,317 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } - - public sealed partial class GeodeticInverse : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GeodeticInverse()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::com.epl.protobuf.v1.GeometryReflection.Descriptor.MessageTypes[4]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GeodeticInverse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GeodeticInverse(GeodeticInverse other) : this() { - az12_ = other.az12_; - az21_ = other.az21_; - distance_ = other.distance_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GeodeticInverse Clone() { - return new GeodeticInverse(this); - } - - /// Field number for the "az12" field. - public const int Az12FieldNumber = 1; - private double az12_; - /// - /// Azimuth from the first to the second point - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Az12 { - get { return az12_; } - set { - az12_ = value; - } - } - - /// Field number for the "az21" field. - public const int Az21FieldNumber = 2; - private double az21_; - /// - /// Azimuth from the second to the first point - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Az21 { - get { return az21_; } - set { - az21_ = value; - } - } - - /// Field number for the "distance" field. - public const int DistanceFieldNumber = 3; - private double distance_; - /// - /// Geodesic distance - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Distance { - get { return distance_; } - set { - distance_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as GeodeticInverse); - } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GeodeticInverse other) { - if (ReferenceEquals(other, null)) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::com.epl.protobuf.v1.GeometryData subBuilder = new global::com.epl.protobuf.v1.GeometryData(); + if (leftCase_ == LeftOneofCase.Geometry) { + subBuilder.MergeFrom(Geometry); + } + input.ReadMessage(subBuilder); + Geometry = subBuilder; + break; + } + case 18: { + global::com.epl.protobuf.v1.GeometryData subBuilder = new global::com.epl.protobuf.v1.GeometryData(); + if (leftCase_ == LeftOneofCase.LeftGeometry) { + subBuilder.MergeFrom(LeftGeometry); + } + input.ReadMessage(subBuilder); + LeftGeometry = subBuilder; + break; + } + case 26: { + global::com.epl.protobuf.v1.GeometryRequest subBuilder = new global::com.epl.protobuf.v1.GeometryRequest(); + if (leftCase_ == LeftOneofCase.GeometryRequest_) { + subBuilder.MergeFrom(GeometryRequest_); + } + input.ReadMessage(subBuilder); + GeometryRequest_ = subBuilder; + break; + } + case 34: { + global::com.epl.protobuf.v1.GeometryRequest subBuilder = new global::com.epl.protobuf.v1.GeometryRequest(); + if (leftCase_ == LeftOneofCase.LeftGeometryRequest) { + subBuilder.MergeFrom(LeftGeometryRequest); + } + input.ReadMessage(subBuilder); + LeftGeometryRequest = subBuilder; + break; + } + case 42: { + global::com.epl.protobuf.v1.GeometryData subBuilder = new global::com.epl.protobuf.v1.GeometryData(); + if (rightCase_ == RightOneofCase.RightGeometry) { + subBuilder.MergeFrom(RightGeometry); + } + input.ReadMessage(subBuilder); + RightGeometry = subBuilder; + break; + } + case 50: { + global::com.epl.protobuf.v1.GeometryRequest subBuilder = new global::com.epl.protobuf.v1.GeometryRequest(); + if (rightCase_ == RightOneofCase.RightGeometryRequest) { + subBuilder.MergeFrom(RightGeometryRequest); + } + input.ReadMessage(subBuilder); + RightGeometryRequest = subBuilder; + break; + } + case 56: { + Operator = (global::com.epl.protobuf.v1.OperatorType) input.ReadEnum(); + break; + } + case 64: { + ResultEncoding = (global::com.epl.protobuf.v1.Encoding) input.ReadEnum(); + break; + } + case 74: { + if (operationProj_ == null) { + OperationProj = new global::com.epl.protobuf.v1.ProjectionData(); + } + input.ReadMessage(OperationProj); + break; + } + case 82: { + if (resultProj_ == null) { + ResultProj = new global::com.epl.protobuf.v1.ProjectionData(); + } + input.ReadMessage(ResultProj); + break; + } + case 90: { + global::com.epl.protobuf.v1.Params.Types.Buffer subBuilder = new global::com.epl.protobuf.v1.Params.Types.Buffer(); + if (paramsCase_ == ParamsOneofCase.BufferParams) { + subBuilder.MergeFrom(BufferParams); + } + input.ReadMessage(subBuilder); + BufferParams = subBuilder; + break; + } + case 98: { + global::com.epl.protobuf.v1.Params.Types.Convex subBuilder = new global::com.epl.protobuf.v1.Params.Types.Convex(); + if (paramsCase_ == ParamsOneofCase.ConvexParams) { + subBuilder.MergeFrom(ConvexParams); + } + input.ReadMessage(subBuilder); + ConvexParams = subBuilder; + break; + } + case 106: { + global::com.epl.protobuf.v1.Params.Types.Relate subBuilder = new global::com.epl.protobuf.v1.Params.Types.Relate(); + if (paramsCase_ == ParamsOneofCase.RelateParams) { + subBuilder.MergeFrom(RelateParams); + } + input.ReadMessage(subBuilder); + RelateParams = subBuilder; + break; + } + case 114: { + global::com.epl.protobuf.v1.Params.Types.RandomPoints subBuilder = new global::com.epl.protobuf.v1.Params.Types.RandomPoints(); + if (paramsCase_ == ParamsOneofCase.RandomPointsParams) { + subBuilder.MergeFrom(RandomPointsParams); + } + input.ReadMessage(subBuilder); + RandomPointsParams = subBuilder; + break; + } + case 122: { + global::com.epl.protobuf.v1.Params.Types.Generalize subBuilder = new global::com.epl.protobuf.v1.Params.Types.Generalize(); + if (paramsCase_ == ParamsOneofCase.GeneralizeParams) { + subBuilder.MergeFrom(GeneralizeParams); + } + input.ReadMessage(subBuilder); + GeneralizeParams = subBuilder; + break; + } + case 130: { + global::com.epl.protobuf.v1.Params.Types.Intersection subBuilder = new global::com.epl.protobuf.v1.Params.Types.Intersection(); + if (paramsCase_ == ParamsOneofCase.IntersectionParams) { + subBuilder.MergeFrom(IntersectionParams); + } + input.ReadMessage(subBuilder); + IntersectionParams = subBuilder; + break; + } + case 138: { + global::com.epl.protobuf.v1.Params.Types.Offset subBuilder = new global::com.epl.protobuf.v1.Params.Types.Offset(); + if (paramsCase_ == ParamsOneofCase.OffsetParams) { + subBuilder.MergeFrom(OffsetParams); + } + input.ReadMessage(subBuilder); + OffsetParams = subBuilder; + break; + } + case 146: { + global::com.epl.protobuf.v1.Params.Types.Cut subBuilder = new global::com.epl.protobuf.v1.Params.Types.Cut(); + if (paramsCase_ == ParamsOneofCase.CutParams) { + subBuilder.MergeFrom(CutParams); + } + input.ReadMessage(subBuilder); + CutParams = subBuilder; + break; + } + case 154: { + global::com.epl.protobuf.v1.Params.Types.Clip subBuilder = new global::com.epl.protobuf.v1.Params.Types.Clip(); + if (paramsCase_ == ParamsOneofCase.ClipParams) { + subBuilder.MergeFrom(ClipParams); + } + input.ReadMessage(subBuilder); + ClipParams = subBuilder; + break; + } + case 162: { + global::com.epl.protobuf.v1.Params.Types.Densify subBuilder = new global::com.epl.protobuf.v1.Params.Types.Densify(); + if (paramsCase_ == ParamsOneofCase.DensifyParams) { + subBuilder.MergeFrom(DensifyParams); + } + input.ReadMessage(subBuilder); + DensifyParams = subBuilder; + break; + } + case 170: { + global::com.epl.protobuf.v1.Params.Types.Simplify subBuilder = new global::com.epl.protobuf.v1.Params.Types.Simplify(); + if (paramsCase_ == ParamsOneofCase.SimplifyParams) { + subBuilder.MergeFrom(SimplifyParams); + } + input.ReadMessage(subBuilder); + SimplifyParams = subBuilder; + break; + } + case 178: { + global::com.epl.protobuf.v1.Params.Types.GeneralizeByArea subBuilder = new global::com.epl.protobuf.v1.Params.Types.GeneralizeByArea(); + if (paramsCase_ == ParamsOneofCase.GeneralizeByAreaParams) { + subBuilder.MergeFrom(GeneralizeByAreaParams); + } + input.ReadMessage(subBuilder); + GeneralizeByAreaParams = subBuilder; + break; + } + case 186: { + global::com.epl.protobuf.v1.Params.Types.AffineTransform subBuilder = new global::com.epl.protobuf.v1.Params.Types.AffineTransform(); + if (paramsCase_ == ParamsOneofCase.AffineTransformParams) { + subBuilder.MergeFrom(AffineTransformParams); + } + input.ReadMessage(subBuilder); + AffineTransformParams = subBuilder; + break; + } + case 194: { + global::com.epl.protobuf.v1.Params.Types.GeodeticBuffer subBuilder = new global::com.epl.protobuf.v1.Params.Types.GeodeticBuffer(); + if (paramsCase_ == ParamsOneofCase.GeodeticBufferParams) { + subBuilder.MergeFrom(GeodeticBufferParams); + } + input.ReadMessage(subBuilder); + GeodeticBufferParams = subBuilder; + break; + } + } + } + } + #endif + + } + + public sealed partial class GeodeticInverse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GeodeticInverse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::com.epl.protobuf.v1.GeometryReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public GeodeticInverse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public GeodeticInverse(GeodeticInverse other) : this() { + az12_ = other.az12_; + az21_ = other.az21_; + distance_ = other.distance_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public GeodeticInverse Clone() { + return new GeodeticInverse(this); + } + + /// Field number for the "az12" field. + public const int Az12FieldNumber = 1; + private double az12_; + /// + /// Azimuth from the first to the second point + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public double Az12 { + get { return az12_; } + set { + az12_ = value; + } + } + + /// Field number for the "az21" field. + public const int Az21FieldNumber = 2; + private double az21_; + /// + /// Azimuth from the second to the first point + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public double Az21 { + get { return az21_; } + set { + az21_ = value; + } + } + + /// Field number for the "distance" field. + public const int DistanceFieldNumber = 3; + private double distance_; + /// + /// Geodesic distance + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public double Distance { + get { return distance_; } + set { + distance_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as GeodeticInverse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(GeodeticInverse other) { + if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { @@ -2972,6 +3700,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Az12 != 0D) { output.WriteRawTag(9); output.WriteDouble(Az12); @@ -2987,8 +3718,30 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Az12 != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Az12); + } + if (Az21 != 0D) { + output.WriteRawTag(17); + output.WriteDouble(Az21); + } + if (Distance != 0D) { + output.WriteRawTag(25); + output.WriteDouble(Distance); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -3026,6 +3779,9 @@ public void MergeFrom(GeodeticInverse other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -3046,7 +3802,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Az12 = input.ReadDouble(); + break; + } + case 17: { + Az21 = input.ReadDouble(); + break; + } + case 25: { + Distance = input.ReadDouble(); + break; + } + } + } } + #endif } @@ -3054,7 +3837,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// response message geometry request /// - public sealed partial class GeometryResponse : pb::IMessage { + public sealed partial class GeometryResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GeometryResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3231,6 +4018,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (resultCase_ == ResultOneofCase.Geometry) { output.WriteRawTag(10); output.WriteMessage(Geometry); @@ -3251,7 +4041,34 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (resultCase_ == ResultOneofCase.Geometry) { + output.WriteRawTag(10); + output.WriteMessage(Geometry); + } + if (resultCase_ == ResultOneofCase.SpatialRelationship) { + output.WriteRawTag(16); + output.WriteBool(SpatialRelationship); + } + if (resultCase_ == ResultOneofCase.Measure) { + output.WriteRawTag(25); + output.WriteDouble(Measure); + } + if (resultCase_ == ResultOneofCase.GeodeticInverse) { + output.WriteRawTag(34); + output.WriteMessage(GeodeticInverse); + } + relateMap_.WriteTo(ref output, _map_relateMap_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -3307,6 +4124,9 @@ public void MergeFrom(GeometryResponse other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -3345,11 +4165,60 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::com.epl.protobuf.v1.GeometryData subBuilder = new global::com.epl.protobuf.v1.GeometryData(); + if (resultCase_ == ResultOneofCase.Geometry) { + subBuilder.MergeFrom(Geometry); + } + input.ReadMessage(subBuilder); + Geometry = subBuilder; + break; + } + case 16: { + SpatialRelationship = input.ReadBool(); + break; + } + case 25: { + Measure = input.ReadDouble(); + break; + } + case 34: { + global::com.epl.protobuf.v1.GeodeticInverse subBuilder = new global::com.epl.protobuf.v1.GeodeticInverse(); + if (resultCase_ == ResultOneofCase.GeodeticInverse) { + subBuilder.MergeFrom(GeodeticInverse); + } + input.ReadMessage(subBuilder); + GeodeticInverse = subBuilder; + break; + } + case 42: { + relateMap_.AddEntriesFrom(ref input, _map_relateMap_codec); + break; + } + } + } } + #endif } - public sealed partial class FileRequestChunk : pb::IMessage { + public sealed partial class FileRequestChunk : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FileRequestChunk()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3540,6 +4409,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (nestedRequest_ != null) { output.WriteRawTag(10); output.WriteMessage(NestedRequest); @@ -3579,8 +4451,54 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (nestedRequest_ != null) { + output.WriteRawTag(10); + output.WriteMessage(NestedRequest); + } + if (ResultEncodingType != global::com.epl.protobuf.v1.Encoding.UnknownEncoding) { + output.WriteRawTag(16); + output.WriteEnum((int) ResultEncodingType); + } + if (inputProj_ != null) { + output.WriteRawTag(26); + output.WriteMessage(InputProj); + } + if (resultProj_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ResultProj); + } + if (Data.Length != 0) { + output.WriteRawTag(50); + output.WriteBytes(Data); + } + if (Size != 0L) { + output.WriteRawTag(56); + output.WriteInt64(Size); + } + if (Offset != 0L) { + output.WriteRawTag(64); + output.WriteInt64(Offset); + } + if (FileName.Length != 0) { + output.WriteRawTag(74); + output.WriteString(FileName); + } + if (IsLastChunk != false) { + output.WriteRawTag(80); + output.WriteBool(IsLastChunk); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -3641,33 +4559,95 @@ public void MergeFrom(FileRequestChunk other) { if (resultProj_ == null) { ResultProj = new global::com.epl.protobuf.v1.ProjectionData(); } - ResultProj.MergeFrom(other.ResultProj); - } - if (other.Data.Length != 0) { - Data = other.Data; - } - if (other.Size != 0L) { - Size = other.Size; - } - if (other.Offset != 0L) { - Offset = other.Offset; - } - if (other.FileName.Length != 0) { - FileName = other.FileName; + ResultProj.MergeFrom(other.ResultProj); + } + if (other.Data.Length != 0) { + Data = other.Data; + } + if (other.Size != 0L) { + Size = other.Size; + } + if (other.Offset != 0L) { + Offset = other.Offset; + } + if (other.FileName.Length != 0) { + FileName = other.FileName; + } + if (other.IsLastChunk != false) { + IsLastChunk = other.IsLastChunk; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (nestedRequest_ == null) { + NestedRequest = new global::com.epl.protobuf.v1.GeometryRequest(); + } + input.ReadMessage(NestedRequest); + break; + } + case 16: { + ResultEncodingType = (global::com.epl.protobuf.v1.Encoding) input.ReadEnum(); + break; + } + case 26: { + if (inputProj_ == null) { + InputProj = new global::com.epl.protobuf.v1.ProjectionData(); + } + input.ReadMessage(InputProj); + break; + } + case 42: { + if (resultProj_ == null) { + ResultProj = new global::com.epl.protobuf.v1.ProjectionData(); + } + input.ReadMessage(ResultProj); + break; + } + case 50: { + Data = input.ReadBytes(); + break; + } + case 56: { + Size = input.ReadInt64(); + break; + } + case 64: { + Offset = input.ReadInt64(); + break; + } + case 74: { + FileName = input.ReadString(); + break; + } + case 80: { + IsLastChunk = input.ReadBool(); + break; + } + } } - if (other.IsLastChunk != false) { - IsLastChunk = other.IsLastChunk; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (nestedRequest_ == null) { @@ -3717,6 +4697,7 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif #region Nested types /// Container for nested types declared in the FileRequestChunk message type. @@ -3731,7 +4712,11 @@ public enum FileType { } - public sealed partial class Params : pb::IMessage { + public sealed partial class Params : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Params()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3796,10 +4781,23 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -3820,6 +4818,9 @@ public void MergeFrom(Params other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -3828,7 +4829,22 @@ public void MergeFrom(pb::CodedInputStream input) { break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif #region Nested types /// Container for nested types declared in the Params message type. @@ -3838,7 +4854,11 @@ public static partial class Types { /// oneof https://github.com/golang/protobuf/issues/283 /// oneof densifier { /// - public sealed partial class Buffer : pb::IMessage { + public sealed partial class Buffer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Buffer()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3963,6 +4983,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Distance != 0D) { output.WriteRawTag(9); output.WriteDouble(Distance); @@ -3982,7 +5005,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Distance != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Distance); + } + if (MaxDeviation != 0D) { + output.WriteRawTag(17); + output.WriteDouble(MaxDeviation); + } + if (UnionResult != false) { + output.WriteRawTag(24); + output.WriteBool(UnionResult); + } + if (MaxVerticesInFullCircle != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxVerticesInFullCircle); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4027,6 +5076,9 @@ public void MergeFrom(Buffer other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4051,7 +5103,38 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Distance = input.ReadDouble(); + break; + } + case 17: { + MaxDeviation = input.ReadDouble(); + break; + } + case 24: { + UnionResult = input.ReadBool(); + break; + } + case 32: { + MaxVerticesInFullCircle = input.ReadInt32(); + break; + } + } + } } + #endif } @@ -4059,7 +5142,11 @@ public void MergeFrom(pb::CodedInputStream input) { /// oneof https://github.com/golang/protobuf/issues/283 /// oneof densifier { /// - public sealed partial class GeodeticBuffer : pb::IMessage { + public sealed partial class GeodeticBuffer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GeodeticBuffer()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4184,6 +5271,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Distance != 0D) { output.WriteRawTag(9); output.WriteDouble(Distance); @@ -4203,7 +5293,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Distance != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Distance); + } + if (MaxDeviation != 0D) { + output.WriteRawTag(17); + output.WriteDouble(MaxDeviation); + } + if (UnionResult != false) { + output.WriteRawTag(24); + output.WriteBool(UnionResult); + } + if (MaxVerticesInFullCircle != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxVerticesInFullCircle); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4248,6 +5364,9 @@ public void MergeFrom(GeodeticBuffer other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4272,11 +5391,46 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Distance = input.ReadDouble(); + break; + } + case 17: { + MaxDeviation = input.ReadDouble(); + break; + } + case 24: { + UnionResult = input.ReadBool(); + break; + } + case 32: { + MaxVerticesInFullCircle = input.ReadInt32(); + break; + } + } + } } + #endif } - public sealed partial class Convex : pb::IMessage { + public sealed partial class Convex : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Convex()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4355,6 +5509,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Merge != false) { output.WriteRawTag(8); output.WriteBool(Merge); @@ -4362,7 +5519,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Merge != false) { + output.WriteRawTag(8); + output.WriteBool(Merge); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4389,6 +5560,9 @@ public void MergeFrom(Convex other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4401,11 +5575,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Merge = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class Relate : pb::IMessage { + public sealed partial class Relate : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Relate()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4484,6 +5681,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (De9Im.Length != 0) { output.WriteRawTag(10); output.WriteString(De9Im); @@ -4491,7 +5691,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (De9Im.Length != 0) { + output.WriteRawTag(10); + output.WriteString(De9Im); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4518,6 +5732,9 @@ public void MergeFrom(Relate other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4530,11 +5747,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + De9Im = input.ReadString(); + break; + } + } + } } + #endif } - public sealed partial class RandomPoints : pb::IMessage { + public sealed partial class RandomPoints : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RandomPoints()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4627,6 +5867,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (PointsPerSquareKm != 0D) { output.WriteRawTag(9); output.WriteDouble(PointsPerSquareKm); @@ -4638,7 +5881,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PointsPerSquareKm != 0D) { + output.WriteRawTag(9); + output.WriteDouble(PointsPerSquareKm); + } + if (Seed != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Seed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4671,6 +5932,9 @@ public void MergeFrom(RandomPoints other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4687,11 +5951,38 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + PointsPerSquareKm = input.ReadDouble(); + break; + } + case 16: { + Seed = input.ReadInt64(); + break; + } + } + } } + #endif } - public sealed partial class Generalize : pb::IMessage { + public sealed partial class Generalize : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Generalize()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4784,6 +6075,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (MaxDeviation != 0D) { output.WriteRawTag(9); output.WriteDouble(MaxDeviation); @@ -4795,7 +6089,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (MaxDeviation != 0D) { + output.WriteRawTag(9); + output.WriteDouble(MaxDeviation); + } + if (RemoveDegenerates != false) { + output.WriteRawTag(16); + output.WriteBool(RemoveDegenerates); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4823,16 +6135,41 @@ public void MergeFrom(Generalize other) { if (other.RemoveDegenerates != false) { RemoveDegenerates = other.RemoveDegenerates; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + MaxDeviation = input.ReadDouble(); + break; + } + case 16: { + RemoveDegenerates = input.ReadBool(); + break; + } + } + } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 9: { MaxDeviation = input.ReadDouble(); @@ -4845,10 +6182,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class GeneralizeByArea : pb::IMessage { + public sealed partial class GeneralizeByArea : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GeneralizeByArea()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4959,6 +6301,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (PercentReduction != 0D) { output.WriteRawTag(9); output.WriteDouble(PercentReduction); @@ -4974,7 +6319,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PercentReduction != 0D) { + output.WriteRawTag(9); + output.WriteDouble(PercentReduction); + } + if (MaxPointCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxPointCount); + } + if (RemoveDegenerates != false) { + output.WriteRawTag(24); + output.WriteBool(RemoveDegenerates); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5013,6 +6380,9 @@ public void MergeFrom(GeneralizeByArea other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5033,11 +6403,42 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + PercentReduction = input.ReadDouble(); + break; + } + case 16: { + MaxPointCount = input.ReadInt32(); + break; + } + case 24: { + RemoveDegenerates = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class Intersection : pb::IMessage { + public sealed partial class Intersection : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Intersection()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5116,6 +6517,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (DimensionMask != 0) { output.WriteRawTag(8); output.WriteInt32(DimensionMask); @@ -5123,7 +6527,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DimensionMask != 0) { + output.WriteRawTag(8); + output.WriteInt32(DimensionMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5150,6 +6568,9 @@ public void MergeFrom(Intersection other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5162,11 +6583,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + DimensionMask = input.ReadInt32(); + break; + } + } + } } + #endif } - public sealed partial class Offset : pb::IMessage { + public sealed partial class Offset : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Offset()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5287,6 +6731,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Distance != 0D) { output.WriteRawTag(9); output.WriteDouble(Distance); @@ -5306,7 +6753,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Distance != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Distance); + } + if (JoinType != global::com.epl.protobuf.v1.Params.Types.Offset.Types.OffsetJoinType.Round) { + output.WriteRawTag(16); + output.WriteEnum((int) JoinType); + } + if (BevelRatio != 0D) { + output.WriteRawTag(25); + output.WriteDouble(BevelRatio); + } + if (FlattenError != 0D) { + output.WriteRawTag(33); + output.WriteDouble(FlattenError); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5351,6 +6824,9 @@ public void MergeFrom(Offset other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5375,8 +6851,39 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Distance = input.ReadDouble(); + break; + } + case 16: { + JoinType = (global::com.epl.protobuf.v1.Params.Types.Offset.Types.OffsetJoinType) input.ReadEnum(); + break; + } + case 25: { + BevelRatio = input.ReadDouble(); + break; + } + case 33: { + FlattenError = input.ReadDouble(); + break; + } + } + } + } + #endif + #region Nested types /// Container for nested types declared in the Offset message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5393,7 +6900,11 @@ public enum OffsetJoinType { } - public sealed partial class Cut : pb::IMessage { + public sealed partial class Cut : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Cut()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5472,6 +6983,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (ConsiderTouch != false) { output.WriteRawTag(8); output.WriteBool(ConsiderTouch); @@ -5479,7 +6993,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ConsiderTouch != false) { + output.WriteRawTag(8); + output.WriteBool(ConsiderTouch); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5506,6 +7034,9 @@ public void MergeFrom(Cut other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5518,11 +7049,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ConsiderTouch = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class Clip : pb::IMessage { + public sealed partial class Clip : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Clip()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5601,6 +7155,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (envelope_ != null) { output.WriteRawTag(10); output.WriteMessage(Envelope); @@ -5608,7 +7165,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (envelope_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Envelope); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5638,6 +7209,9 @@ public void MergeFrom(Clip other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5653,11 +7227,37 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (envelope_ == null) { + Envelope = new global::com.epl.protobuf.v1.EnvelopeData(); + } + input.ReadMessage(Envelope); + break; + } + } + } } + #endif } - public sealed partial class Densify : pb::IMessage { + public sealed partial class Densify : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Densify()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5736,6 +7336,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (MaxLength != 0D) { output.WriteRawTag(9); output.WriteDouble(MaxLength); @@ -5743,7 +7346,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (MaxLength != 0D) { + output.WriteRawTag(9); + output.WriteDouble(MaxLength); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5770,6 +7387,9 @@ public void MergeFrom(Densify other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5782,11 +7402,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + MaxLength = input.ReadDouble(); + break; + } + } + } } + #endif } - public sealed partial class Simplify : pb::IMessage { + public sealed partial class Simplify : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Simplify()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5865,6 +7508,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Force != false) { output.WriteRawTag(8); output.WriteBool(Force); @@ -5872,7 +7518,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Force != false) { + output.WriteRawTag(8); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5899,6 +7559,9 @@ public void MergeFrom(Simplify other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5911,11 +7574,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Force = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class AffineTransform : pb::IMessage { + public sealed partial class AffineTransform : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AffineTransform()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6022,6 +7708,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Geodetic != false) { output.WriteRawTag(16); output.WriteBool(Geodetic); @@ -6037,7 +7726,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Geodetic != false) { + output.WriteRawTag(16); + output.WriteBool(Geodetic); + } + if (XOffset != 0D) { + output.WriteRawTag(25); + output.WriteDouble(XOffset); + } + if (YOffset != 0D) { + output.WriteRawTag(33); + output.WriteDouble(YOffset); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -6076,6 +7787,9 @@ public void MergeFrom(AffineTransform other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6096,7 +7810,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 16: { + Geodetic = input.ReadBool(); + break; + } + case 25: { + XOffset = input.ReadDouble(); + break; + } + case 33: { + YOffset = input.ReadDouble(); + break; + } + } + } } + #endif } diff --git a/dotnet/EplProtobuf/GeometryService.cs b/dotnet/EplProtobufV1/GeometryService.cs similarity index 100% rename from dotnet/EplProtobuf/GeometryService.cs rename to dotnet/EplProtobufV1/GeometryService.cs diff --git a/dotnet/EplProtobuf/GeometryServiceGrpc.cs b/dotnet/EplProtobufV1/GeometryServiceGrpc.cs similarity index 93% rename from dotnet/EplProtobuf/GeometryServiceGrpc.cs rename to dotnet/EplProtobufV1/GeometryServiceGrpc.cs index dcdf2dc..7f93690 100644 --- a/dotnet/EplProtobuf/GeometryServiceGrpc.cs +++ b/dotnet/EplProtobufV1/GeometryServiceGrpc.cs @@ -36,9 +36,39 @@ public static partial class GeometryService { static readonly string __ServiceName = "epl.protobuf.v1.GeometryService"; - static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_GeometryRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::com.epl.protobuf.v1.GeometryRequest.Parser.ParseFrom); - static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_GeometryResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::com.epl.protobuf.v1.GeometryResponse.Parser.ParseFrom); - static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_FileRequestChunk = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::com.epl.protobuf.v1.FileRequestChunk.Parser.ParseFrom); + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_GeometryRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::com.epl.protobuf.v1.GeometryRequest.Parser)); + static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_GeometryResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::com.epl.protobuf.v1.GeometryResponse.Parser)); + static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_FileRequestChunk = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::com.epl.protobuf.v1.FileRequestChunk.Parser)); static readonly grpc::Method __Method_Operate = new grpc::Method( grpc::MethodType.Unary, diff --git a/dotnet/EplProtobuf/Query.cs b/dotnet/EplProtobufV1/Query.cs similarity index 83% rename from dotnet/EplProtobuf/Query.cs rename to dotnet/EplProtobufV1/Query.cs index 7075b32..94b13fe 100644 --- a/dotnet/EplProtobuf/Query.cs +++ b/dotnet/EplProtobufV1/Query.cs @@ -141,7 +141,11 @@ public enum FilterRelationship { /// ///Query language for float fields. /// - public sealed partial class FloatFilter : pb::IMessage { + public sealed partial class FloatFilter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FloatFilter()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -350,6 +354,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (dataCase_ == DataOneofCase.Value) { output.WriteRawTag(13); output.WriteFloat(Value); @@ -374,8 +381,39 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (dataCase_ == DataOneofCase.Value) { + output.WriteRawTag(13); + output.WriteFloat(Value); + } + if (RelType != global::com.epl.protobuf.v1.FilterRelationship.Eq) { + output.WriteRawTag(16); + output.WriteEnum((int) RelType); + } + if (dataCase_ == DataOneofCase.Start) { + output.WriteRawTag(29); + output.WriteFloat(Start); + } + if (End != 0F) { + output.WriteRawTag(37); + output.WriteFloat(End); + } + if (SortDirection != global::com.epl.protobuf.v1.SortDirection.NotSorted) { + output.WriteRawTag(40); + output.WriteEnum((int) SortDirection); + } + set_.WriteTo(ref output, _repeated_set_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -430,6 +468,9 @@ public void MergeFrom(FloatFilter other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -463,11 +504,55 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Value = input.ReadFloat(); + break; + } + case 16: { + RelType = (global::com.epl.protobuf.v1.FilterRelationship) input.ReadEnum(); + break; + } + case 29: { + Start = input.ReadFloat(); + break; + } + case 37: { + End = input.ReadFloat(); + break; + } + case 40: { + SortDirection = (global::com.epl.protobuf.v1.SortDirection) input.ReadEnum(); + break; + } + case 50: + case 53: { + set_.AddEntriesFrom(ref input, _repeated_set_codec); + break; + } + } + } } + #endif } - public sealed partial class DoubleFilter : pb::IMessage { + public sealed partial class DoubleFilter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DoubleFilter()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -676,6 +761,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (dataCase_ == DataOneofCase.Value) { output.WriteRawTag(9); output.WriteDouble(Value); @@ -700,7 +788,38 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (dataCase_ == DataOneofCase.Value) { + output.WriteRawTag(9); + output.WriteDouble(Value); + } + if (RelType != global::com.epl.protobuf.v1.FilterRelationship.Eq) { + output.WriteRawTag(16); + output.WriteEnum((int) RelType); + } + if (dataCase_ == DataOneofCase.Start) { + output.WriteRawTag(25); + output.WriteDouble(Start); + } + if (End != 0D) { + output.WriteRawTag(33); + output.WriteDouble(End); + } + if (SortDirection != global::com.epl.protobuf.v1.SortDirection.NotSorted) { + output.WriteRawTag(40); + output.WriteEnum((int) SortDirection); + } + set_.WriteTo(ref output, _repeated_set_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -756,6 +875,9 @@ public void MergeFrom(DoubleFilter other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -789,11 +911,55 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Value = input.ReadDouble(); + break; + } + case 16: { + RelType = (global::com.epl.protobuf.v1.FilterRelationship) input.ReadEnum(); + break; + } + case 25: { + Start = input.ReadDouble(); + break; + } + case 33: { + End = input.ReadDouble(); + break; + } + case 40: { + SortDirection = (global::com.epl.protobuf.v1.SortDirection) input.ReadEnum(); + break; + } + case 50: + case 49: { + set_.AddEntriesFrom(ref input, _repeated_set_codec); + break; + } + } + } } + #endif } - public sealed partial class TimestampFilter : pb::IMessage { + public sealed partial class TimestampFilter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TimestampFilter()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -984,6 +1150,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (dataCase_ == DataOneofCase.Value) { output.WriteRawTag(10); output.WriteMessage(Value); @@ -1007,8 +1176,38 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (dataCase_ == DataOneofCase.Value) { + output.WriteRawTag(10); + output.WriteMessage(Value); + } + if (RelType != global::com.epl.protobuf.v1.FilterRelationship.Eq) { + output.WriteRawTag(16); + output.WriteEnum((int) RelType); + } + if (dataCase_ == DataOneofCase.Start) { + output.WriteRawTag(26); + output.WriteMessage(Start); + } + if (end_ != null) { + output.WriteRawTag(34); + output.WriteMessage(End); + } + if (SortDirection != global::com.epl.protobuf.v1.SortDirection.NotSorted) { + output.WriteRawTag(40); + output.WriteEnum((int) SortDirection); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -1070,6 +1269,9 @@ public void MergeFrom(TimestampFilter other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1111,11 +1313,63 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Protobuf.WellKnownTypes.Timestamp subBuilder = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + if (dataCase_ == DataOneofCase.Value) { + subBuilder.MergeFrom(Value); + } + input.ReadMessage(subBuilder); + Value = subBuilder; + break; + } + case 16: { + RelType = (global::com.epl.protobuf.v1.FilterRelationship) input.ReadEnum(); + break; + } + case 26: { + global::Google.Protobuf.WellKnownTypes.Timestamp subBuilder = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + if (dataCase_ == DataOneofCase.Start) { + subBuilder.MergeFrom(Start); + } + input.ReadMessage(subBuilder); + Start = subBuilder; + break; + } + case 34: { + if (end_ == null) { + End = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(End); + break; + } + case 40: { + SortDirection = (global::com.epl.protobuf.v1.SortDirection) input.ReadEnum(); + break; + } + } + } } + #endif } - public sealed partial class UInt32Filter : pb::IMessage { + public sealed partial class UInt32Filter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UInt32Filter()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1324,6 +1578,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (dataCase_ == DataOneofCase.Value) { output.WriteRawTag(8); output.WriteUInt32(Value); @@ -1348,8 +1605,39 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (dataCase_ == DataOneofCase.Value) { + output.WriteRawTag(8); + output.WriteUInt32(Value); + } + if (RelType != global::com.epl.protobuf.v1.FilterRelationship.Eq) { + output.WriteRawTag(16); + output.WriteEnum((int) RelType); + } + if (dataCase_ == DataOneofCase.Start) { + output.WriteRawTag(24); + output.WriteUInt32(Start); + } + if (End != 0) { + output.WriteRawTag(32); + output.WriteUInt32(End); + } + if (SortDirection != global::com.epl.protobuf.v1.SortDirection.NotSorted) { + output.WriteRawTag(40); + output.WriteEnum((int) SortDirection); + } + set_.WriteTo(ref output, _repeated_set_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -1404,6 +1692,9 @@ public void MergeFrom(UInt32Filter other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1437,11 +1728,55 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Value = input.ReadUInt32(); + break; + } + case 16: { + RelType = (global::com.epl.protobuf.v1.FilterRelationship) input.ReadEnum(); + break; + } + case 24: { + Start = input.ReadUInt32(); + break; + } + case 32: { + End = input.ReadUInt32(); + break; + } + case 40: { + SortDirection = (global::com.epl.protobuf.v1.SortDirection) input.ReadEnum(); + break; + } + case 50: + case 48: { + set_.AddEntriesFrom(ref input, _repeated_set_codec); + break; + } + } + } } + #endif } - public sealed partial class StringFilter : pb::IMessage { + public sealed partial class StringFilter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StringFilter()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1562,6 +1897,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Value.Length != 0) { output.WriteRawTag(10); output.WriteString(Value); @@ -1574,8 +1912,27 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Value); + } + if (RelType != global::com.epl.protobuf.v1.FilterRelationship.Eq) { + output.WriteRawTag(16); + output.WriteEnum((int) RelType); + } + set_.WriteTo(ref output, _repeated_set_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -1609,6 +1966,9 @@ public void MergeFrom(StringFilter other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1629,7 +1989,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Value = input.ReadString(); + break; + } + case 16: { + RelType = (global::com.epl.protobuf.v1.FilterRelationship) input.ReadEnum(); + break; + } + case 50: { + set_.AddEntriesFrom(ref input, _repeated_set_codec); + break; + } + } + } } + #endif } diff --git a/dotnet/EplProtobuf/Stac.cs b/dotnet/EplProtobufV1/Stac.cs similarity index 81% rename from dotnet/EplProtobuf/Stac.cs rename to dotnet/EplProtobufV1/Stac.cs index dfd76b9..e032988 100644 --- a/dotnet/EplProtobuf/Stac.cs +++ b/dotnet/EplProtobufV1/Stac.cs @@ -336,7 +336,11 @@ public enum Mission { #endregion #region Messages - public sealed partial class Collection : pb::IMessage { + public sealed partial class Collection : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Collection()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -552,6 +556,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (StacVersion.Length != 0) { output.WriteRawTag(10); output.WriteString(StacVersion); @@ -582,8 +589,45 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (StacVersion.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StacVersion); + } + if (Id.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Id); + } + if (Title.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title); + } + if (Description.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Description); + } + keywords_.WriteTo(ref output, _repeated_keywords_codec); + if (License.Length != 0) { + output.WriteRawTag(58); + output.WriteString(License); + } + providers_.WriteTo(ref output, _repeated_providers_codec); + if (extent_ != null) { + output.WriteRawTag(74); + output.WriteMessage(Extent); + } + summaries_.WriteTo(ref output, _map_summaries_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -648,6 +692,9 @@ public void MergeFrom(Collection other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -695,11 +742,69 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + StacVersion = input.ReadString(); + break; + } + case 26: { + Id = input.ReadString(); + break; + } + case 34: { + Title = input.ReadString(); + break; + } + case 42: { + Description = input.ReadString(); + break; + } + case 50: { + keywords_.AddEntriesFrom(ref input, _repeated_keywords_codec); + break; + } + case 58: { + License = input.ReadString(); + break; + } + case 66: { + providers_.AddEntriesFrom(ref input, _repeated_providers_codec); + break; + } + case 74: { + if (extent_ == null) { + Extent = new global::com.epl.protobuf.v1.Extent(); + } + input.ReadMessage(Extent); + break; + } + case 82: { + summaries_.AddEntriesFrom(ref input, _map_summaries_codec); + break; + } + } + } } + #endif } - public sealed partial class CollectionRequest : pb::IMessage { + public sealed partial class CollectionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CollectionRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -834,6 +939,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); @@ -849,7 +957,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (spatialCase_ == SpatialOneofCase.Bbox) { + output.WriteRawTag(18); + output.WriteMessage(Bbox); + } + if (spatialCase_ == SpatialOneofCase.Intersects) { + output.WriteRawTag(26); + output.WriteMessage(Intersects); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -897,6 +1027,9 @@ public void MergeFrom(CollectionRequest other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -927,11 +1060,52 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + global::com.epl.protobuf.v1.EnvelopeData subBuilder = new global::com.epl.protobuf.v1.EnvelopeData(); + if (spatialCase_ == SpatialOneofCase.Bbox) { + subBuilder.MergeFrom(Bbox); + } + input.ReadMessage(subBuilder); + Bbox = subBuilder; + break; + } + case 26: { + global::com.epl.protobuf.v1.GeometryData subBuilder = new global::com.epl.protobuf.v1.GeometryData(); + if (spatialCase_ == SpatialOneofCase.Intersects) { + subBuilder.MergeFrom(Intersects); + } + input.ReadMessage(subBuilder); + Intersects = subBuilder; + break; + } + } + } } + #endif } - public sealed partial class Stats : pb::IMessage { + public sealed partial class Stats : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Stats()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -996,10 +1170,23 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1020,6 +1207,9 @@ public void MergeFrom(Stats other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1028,14 +1218,33 @@ public void MergeFrom(pb::CodedInputStream input) { break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } /// /// The object describes the spatio-temporal extents of the Collection. Both spatial and temporal extents are required to be specified. /// - public sealed partial class Extent : pb::IMessage { + public sealed partial class Extent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Extent()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1132,12 +1341,27 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else spatial_.WriteTo(output, _repeated_spatial_codec); temporal_.WriteTo(output, _repeated_temporal_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + spatial_.WriteTo(ref output, _repeated_spatial_codec); + temporal_.WriteTo(ref output, _repeated_temporal_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1162,6 +1386,9 @@ public void MergeFrom(Extent other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1178,7 +1405,30 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + spatial_.AddEntriesFrom(ref input, _repeated_spatial_codec); + break; + } + case 18: { + temporal_.AddEntriesFrom(ref input, _repeated_temporal_codec); + break; + } + } + } } + #endif } @@ -1186,7 +1436,11 @@ public void MergeFrom(pb::CodedInputStream input) { /// https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#temporal-extent-object /// The object describes the temporal extents of the Collection. /// - public sealed partial class Interval : pb::IMessage { + public sealed partial class Interval : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Interval()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1279,6 +1533,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (start_ != null) { output.WriteRawTag(10); output.WriteMessage(Start); @@ -1290,8 +1547,26 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (start_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Start); + } + if (end_ != null) { + output.WriteRawTag(18); + output.WriteMessage(End); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -1329,6 +1604,9 @@ public void MergeFrom(Interval other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1351,14 +1629,47 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (start_ == null) { + Start = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(Start); + break; + } + case 18: { + if (end_ == null) { + End = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(End); + break; + } + } + } } + #endif } /// /// The object provides information about a provider. A provider is any of the organizations that captures or processes the content of the collection and therefore influences the data offered by this collection. May also include information about the final storage provider hosting the data. /// - public sealed partial class Provider : pb::IMessage { + public sealed partial class Provider : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Provider()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1490,6 +1801,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); @@ -1506,7 +1820,30 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Description.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Description); + } + roles_.WriteTo(ref output, _repeated_roles_codec); + if (Url.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Url); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1547,6 +1884,9 @@ public void MergeFrom(Provider other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1571,7 +1911,38 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + Description = input.ReadString(); + break; + } + case 26: { + roles_.AddEntriesFrom(ref input, _repeated_roles_codec); + break; + } + case 34: { + Url = input.ReadString(); + break; + } + } + } } + #endif } @@ -1581,7 +1952,11 @@ public void MergeFrom(pb::CodedInputStream input) { /// downloadable assets. It may have an extension with details beyond the spatial and temporal extents. It may have /// additional properties in the properties field /// - public sealed partial class StacItem : pb::IMessage { + public sealed partial class StacItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StacItem()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2243,6 +2618,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); @@ -2367,27 +2745,158 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + output.WriteRawTag(10); + output.WriteString(Id); } if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + output.WriteRawTag(18); + output.WriteString(Title); } if (Collection.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Collection); + output.WriteRawTag(26); + output.WriteString(Collection); } if (properties_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Properties); + output.WriteRawTag(34); + output.WriteMessage(Properties); } - size += assets_.CalculateSize(_map_assets_codec); + assets_.WriteTo(ref output, _map_assets_codec); if (geometry_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Geometry); - } + output.WriteRawTag(50); + output.WriteMessage(Geometry); + } + if (bbox_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Bbox); + } + if (temporalDeprecatedCase_ == TemporalDeprecatedOneofCase.Datetime) { + output.WriteRawTag(66); + output.WriteMessage(Datetime); + } + if (temporalCase_ == TemporalOneofCase.Observed) { + output.WriteRawTag(74); + output.WriteMessage(Observed); + } + if (temporalDeprecatedCase_ == TemporalDeprecatedOneofCase.StartDatetime) { + output.WriteRawTag(82); + output.WriteMessage(StartDatetime); + } + if (temporalCase_ == TemporalOneofCase.StartObservation) { + output.WriteRawTag(90); + output.WriteMessage(StartObservation); + } + if (endDatetime_ != null) { + output.WriteRawTag(98); + output.WriteMessage(EndDatetime); + } + if (endObservation_ != null) { + output.WriteRawTag(106); + output.WriteMessage(EndObservation); + } + if (created_ != null) { + output.WriteRawTag(114); + output.WriteMessage(Created); + } + if (updated_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Updated); + } + if (proj_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(Proj); + } + if (PlatformEnum != global::com.epl.protobuf.v1.Platform.UnknownPlatform) { + output.WriteRawTag(136, 1); + output.WriteEnum((int) PlatformEnum); + } + if (Platform.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Platform); + } + if (InstrumentEnum != global::com.epl.protobuf.v1.Instrument.UnknownInstrument) { + output.WriteRawTag(152, 1); + output.WriteEnum((int) InstrumentEnum); + } + if (Instrument.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Instrument); + } + if (ConstellationEnum != global::com.epl.protobuf.v1.Constellation.UnknownConstellation) { + output.WriteRawTag(168, 1); + output.WriteEnum((int) ConstellationEnum); + } + if (Constellation.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Constellation); + } + if (MissionEnum != global::com.epl.protobuf.v1.Mission.UnknownMission) { + output.WriteRawTag(184, 1); + output.WriteEnum((int) MissionEnum); + } + if (Mission.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Mission); + } + if (gsd_ != null) { + _single_gsd_codec.WriteTagAndValue(ref output, Gsd); + } + if (StacVersion.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(StacVersion); + } + if (StacPbVersion.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(StacPbVersion); + } + stacExtensions_.WriteTo(ref output, _repeated_stacExtensions_codec); + if (eo_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(Eo); + } + if (landsat_ != null) { + output.WriteRawTag(250, 1); + output.WriteMessage(Landsat); + } + if (mosaic_ != null) { + output.WriteRawTag(130, 2); + output.WriteMessage(Mosaic); + } + if (view_ != null) { + output.WriteRawTag(146, 2); + output.WriteMessage(View); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (Id.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Collection.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Collection); + } + if (properties_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Properties); + } + size += assets_.CalculateSize(_map_assets_codec); + if (geometry_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Geometry); + } if (bbox_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bbox); } @@ -2619,20 +3128,224 @@ public void MergeFrom(StacItem other) { if (StartObservation == null) { StartObservation = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } - StartObservation.MergeFrom(other.StartObservation); - break; + StartObservation.MergeFrom(other.StartObservation); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + Title = input.ReadString(); + break; + } + case 26: { + Collection = input.ReadString(); + break; + } + case 34: { + if (properties_ == null) { + Properties = new global::Google.Protobuf.WellKnownTypes.Any(); + } + input.ReadMessage(Properties); + break; + } + case 42: { + assets_.AddEntriesFrom(input, _map_assets_codec); + break; + } + case 50: { + if (geometry_ == null) { + Geometry = new global::com.epl.protobuf.v1.GeometryData(); + } + input.ReadMessage(Geometry); + break; + } + case 58: { + if (bbox_ == null) { + Bbox = new global::com.epl.protobuf.v1.EnvelopeData(); + } + input.ReadMessage(Bbox); + break; + } + case 66: { + global::Google.Protobuf.WellKnownTypes.Timestamp subBuilder = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + if (temporalDeprecatedCase_ == TemporalDeprecatedOneofCase.Datetime) { + subBuilder.MergeFrom(Datetime); + } + input.ReadMessage(subBuilder); + Datetime = subBuilder; + break; + } + case 74: { + global::Google.Protobuf.WellKnownTypes.Timestamp subBuilder = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + if (temporalCase_ == TemporalOneofCase.Observed) { + subBuilder.MergeFrom(Observed); + } + input.ReadMessage(subBuilder); + Observed = subBuilder; + break; + } + case 82: { + global::Google.Protobuf.WellKnownTypes.Timestamp subBuilder = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + if (temporalDeprecatedCase_ == TemporalDeprecatedOneofCase.StartDatetime) { + subBuilder.MergeFrom(StartDatetime); + } + input.ReadMessage(subBuilder); + StartDatetime = subBuilder; + break; + } + case 90: { + global::Google.Protobuf.WellKnownTypes.Timestamp subBuilder = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + if (temporalCase_ == TemporalOneofCase.StartObservation) { + subBuilder.MergeFrom(StartObservation); + } + input.ReadMessage(subBuilder); + StartObservation = subBuilder; + break; + } + case 98: { + if (endDatetime_ == null) { + EndDatetime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndDatetime); + break; + } + case 106: { + if (endObservation_ == null) { + EndObservation = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndObservation); + break; + } + case 114: { + if (created_ == null) { + Created = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(Created); + break; + } + case 122: { + if (updated_ == null) { + Updated = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(Updated); + break; + } + case 130: { + if (proj_ == null) { + Proj = new global::com.epl.protobuf.v1.ProjectionData(); + } + input.ReadMessage(Proj); + break; + } + case 136: { + PlatformEnum = (global::com.epl.protobuf.v1.Platform) input.ReadEnum(); + break; + } + case 146: { + Platform = input.ReadString(); + break; + } + case 152: { + InstrumentEnum = (global::com.epl.protobuf.v1.Instrument) input.ReadEnum(); + break; + } + case 162: { + Instrument = input.ReadString(); + break; + } + case 168: { + ConstellationEnum = (global::com.epl.protobuf.v1.Constellation) input.ReadEnum(); + break; + } + case 178: { + Constellation = input.ReadString(); + break; + } + case 184: { + MissionEnum = (global::com.epl.protobuf.v1.Mission) input.ReadEnum(); + break; + } + case 194: { + Mission = input.ReadString(); + break; + } + case 202: { + float? value = _single_gsd_codec.Read(input); + if (gsd_ == null || value != 0F) { + Gsd = value; + } + break; + } + case 210: { + StacVersion = input.ReadString(); + break; + } + case 218: { + StacPbVersion = input.ReadString(); + break; + } + case 226: { + stacExtensions_.AddEntriesFrom(input, _repeated_stacExtensions_codec); + break; + } + case 234: { + if (eo_ == null) { + Eo = new global::com.epl.protobuf.v1.Eo(); + } + input.ReadMessage(Eo); + break; + } + case 250: { + if (landsat_ == null) { + Landsat = new global::com.epl.protobuf.v1.Landsat(); + } + input.ReadMessage(Landsat); + break; + } + case 258: { + if (mosaic_ == null) { + Mosaic = new global::com.epl.protobuf.v1.Mosaic(); + } + input.ReadMessage(Mosaic); + break; + } + case 274: { + if (view_ == null) { + View = new global::com.epl.protobuf.v1.View(); + } + input.ReadMessage(View); + break; + } + } } - - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Id = input.ReadString(); @@ -2654,7 +3367,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 42: { - assets_.AddEntriesFrom(input, _map_assets_codec); + assets_.AddEntriesFrom(ref input, _map_assets_codec); break; } case 50: { @@ -2775,7 +3488,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 202: { - float? value = _single_gsd_codec.Read(input); + float? value = _single_gsd_codec.Read(ref input); if (gsd_ == null || value != 0F) { Gsd = value; } @@ -2790,7 +3503,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 226: { - stacExtensions_.AddEntriesFrom(input, _repeated_stacExtensions_codec); + stacExtensions_.AddEntriesFrom(ref input, _repeated_stacExtensions_codec); break; } case 234: { @@ -2824,6 +3537,7 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } @@ -2831,7 +3545,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// message for making a request for STAC items. /// - public sealed partial class StacRequest : pb::IMessage { + public sealed partial class StacRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StacRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3361,6 +4079,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Limit != 0) { output.WriteRawTag(8); output.WriteUInt32(Limit); @@ -3456,7 +4177,109 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Limit != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Limit); + } + if (Offset != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Offset); + } + if (identityCase_ == IdentityOneofCase.Id) { + output.WriteRawTag(26); + output.WriteString(Id); + } + if (identityCase_ == IdentityOneofCase.IdComplex) { + output.WriteRawTag(34); + output.WriteMessage(IdComplex); + } + if (Collection.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Collection); + } + if (properties_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Properties); + } + if (spatialCase_ == SpatialOneofCase.Intersects) { + output.WriteRawTag(58); + output.WriteMessage(Intersects); + } + if (spatialCase_ == SpatialOneofCase.Bbox) { + output.WriteRawTag(66); + output.WriteMessage(Bbox); + } + if (spatialCase_ == SpatialOneofCase.GeometryRequest) { + output.WriteRawTag(74); + output.WriteMessage(GeometryRequest); + } + if (temporalCase_ == TemporalOneofCase.Datetime) { + output.WriteRawTag(82); + output.WriteMessage(Datetime); + } + if (temporalCase_ == TemporalOneofCase.Observed) { + output.WriteRawTag(90); + output.WriteMessage(Observed); + } + if (created_ != null) { + output.WriteRawTag(98); + output.WriteMessage(Created); + } + if (updated_ != null) { + output.WriteRawTag(106); + output.WriteMessage(Updated); + } + if (proj_ != null) { + output.WriteRawTag(114); + output.WriteMessage(Proj); + } + if (PlatformEnum != global::com.epl.protobuf.v1.Platform.UnknownPlatform) { + output.WriteRawTag(120); + output.WriteEnum((int) PlatformEnum); + } + if (InstrumentEnum != global::com.epl.protobuf.v1.Instrument.UnknownInstrument) { + output.WriteRawTag(136, 1); + output.WriteEnum((int) InstrumentEnum); + } + if (ConstellationEnum != global::com.epl.protobuf.v1.Constellation.UnknownConstellation) { + output.WriteRawTag(152, 1); + output.WriteEnum((int) ConstellationEnum); + } + if (MissionEnum != global::com.epl.protobuf.v1.Mission.UnknownMission) { + output.WriteRawTag(168, 1); + output.WriteEnum((int) MissionEnum); + } + if (gsd_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(Gsd); + } + if (eo_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(Eo); + } + if (view_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(View); + } + if (landsat_ != null) { + output.WriteRawTag(210, 1); + output.WriteMessage(Landsat); + } + if (mosaic_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(Mosaic); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -3624,56 +4447,222 @@ public void MergeFrom(StacRequest other) { if (IdComplex == null) { IdComplex = new global::com.epl.protobuf.v1.StringFilter(); } - IdComplex.MergeFrom(other.IdComplex); - break; - } - - switch (other.SpatialCase) { - case SpatialOneofCase.Intersects: - if (Intersects == null) { - Intersects = new global::com.epl.protobuf.v1.GeometryData(); + IdComplex.MergeFrom(other.IdComplex); + break; + } + + switch (other.SpatialCase) { + case SpatialOneofCase.Intersects: + if (Intersects == null) { + Intersects = new global::com.epl.protobuf.v1.GeometryData(); + } + Intersects.MergeFrom(other.Intersects); + break; + case SpatialOneofCase.Bbox: + if (Bbox == null) { + Bbox = new global::com.epl.protobuf.v1.EnvelopeData(); + } + Bbox.MergeFrom(other.Bbox); + break; + case SpatialOneofCase.GeometryRequest: + if (GeometryRequest == null) { + GeometryRequest = new global::com.epl.protobuf.v1.GeometryRequest(); + } + GeometryRequest.MergeFrom(other.GeometryRequest); + break; + } + + switch (other.TemporalCase) { + case TemporalOneofCase.Datetime: + if (Datetime == null) { + Datetime = new global::com.epl.protobuf.v1.TimestampFilter(); + } + Datetime.MergeFrom(other.Datetime); + break; + case TemporalOneofCase.Observed: + if (Observed == null) { + Observed = new global::com.epl.protobuf.v1.TimestampFilter(); + } + Observed.MergeFrom(other.Observed); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Limit = input.ReadUInt32(); + break; + } + case 16: { + Offset = input.ReadUInt64(); + break; + } + case 26: { + Id = input.ReadString(); + break; + } + case 34: { + global::com.epl.protobuf.v1.StringFilter subBuilder = new global::com.epl.protobuf.v1.StringFilter(); + if (identityCase_ == IdentityOneofCase.IdComplex) { + subBuilder.MergeFrom(IdComplex); + } + input.ReadMessage(subBuilder); + IdComplex = subBuilder; + break; + } + case 42: { + Collection = input.ReadString(); + break; + } + case 50: { + if (properties_ == null) { + Properties = new global::Google.Protobuf.WellKnownTypes.Any(); + } + input.ReadMessage(Properties); + break; + } + case 58: { + global::com.epl.protobuf.v1.GeometryData subBuilder = new global::com.epl.protobuf.v1.GeometryData(); + if (spatialCase_ == SpatialOneofCase.Intersects) { + subBuilder.MergeFrom(Intersects); + } + input.ReadMessage(subBuilder); + Intersects = subBuilder; + break; + } + case 66: { + global::com.epl.protobuf.v1.EnvelopeData subBuilder = new global::com.epl.protobuf.v1.EnvelopeData(); + if (spatialCase_ == SpatialOneofCase.Bbox) { + subBuilder.MergeFrom(Bbox); + } + input.ReadMessage(subBuilder); + Bbox = subBuilder; + break; + } + case 74: { + global::com.epl.protobuf.v1.GeometryRequest subBuilder = new global::com.epl.protobuf.v1.GeometryRequest(); + if (spatialCase_ == SpatialOneofCase.GeometryRequest) { + subBuilder.MergeFrom(GeometryRequest); + } + input.ReadMessage(subBuilder); + GeometryRequest = subBuilder; + break; + } + case 82: { + global::com.epl.protobuf.v1.TimestampFilter subBuilder = new global::com.epl.protobuf.v1.TimestampFilter(); + if (temporalCase_ == TemporalOneofCase.Datetime) { + subBuilder.MergeFrom(Datetime); + } + input.ReadMessage(subBuilder); + Datetime = subBuilder; + break; + } + case 90: { + global::com.epl.protobuf.v1.TimestampFilter subBuilder = new global::com.epl.protobuf.v1.TimestampFilter(); + if (temporalCase_ == TemporalOneofCase.Observed) { + subBuilder.MergeFrom(Observed); + } + input.ReadMessage(subBuilder); + Observed = subBuilder; + break; + } + case 98: { + if (created_ == null) { + Created = new global::com.epl.protobuf.v1.TimestampFilter(); + } + input.ReadMessage(Created); + break; + } + case 106: { + if (updated_ == null) { + Updated = new global::com.epl.protobuf.v1.TimestampFilter(); + } + input.ReadMessage(Updated); + break; + } + case 114: { + if (proj_ == null) { + Proj = new global::com.epl.protobuf.v1.ProjectionData(); + } + input.ReadMessage(Proj); + break; + } + case 120: { + PlatformEnum = (global::com.epl.protobuf.v1.Platform) input.ReadEnum(); + break; } - Intersects.MergeFrom(other.Intersects); - break; - case SpatialOneofCase.Bbox: - if (Bbox == null) { - Bbox = new global::com.epl.protobuf.v1.EnvelopeData(); + case 136: { + InstrumentEnum = (global::com.epl.protobuf.v1.Instrument) input.ReadEnum(); + break; } - Bbox.MergeFrom(other.Bbox); - break; - case SpatialOneofCase.GeometryRequest: - if (GeometryRequest == null) { - GeometryRequest = new global::com.epl.protobuf.v1.GeometryRequest(); + case 152: { + ConstellationEnum = (global::com.epl.protobuf.v1.Constellation) input.ReadEnum(); + break; } - GeometryRequest.MergeFrom(other.GeometryRequest); - break; - } - - switch (other.TemporalCase) { - case TemporalOneofCase.Datetime: - if (Datetime == null) { - Datetime = new global::com.epl.protobuf.v1.TimestampFilter(); + case 168: { + MissionEnum = (global::com.epl.protobuf.v1.Mission) input.ReadEnum(); + break; } - Datetime.MergeFrom(other.Datetime); - break; - case TemporalOneofCase.Observed: - if (Observed == null) { - Observed = new global::com.epl.protobuf.v1.TimestampFilter(); + case 186: { + if (gsd_ == null) { + Gsd = new global::com.epl.protobuf.v1.FloatFilter(); + } + input.ReadMessage(Gsd); + break; } - Observed.MergeFrom(other.Observed); - break; + case 194: { + if (eo_ == null) { + Eo = new global::com.epl.protobuf.v1.EoRequest(); + } + input.ReadMessage(Eo); + break; + } + case 202: { + if (view_ == null) { + View = new global::com.epl.protobuf.v1.ViewRequest(); + } + input.ReadMessage(View); + break; + } + case 210: { + if (landsat_ == null) { + Landsat = new global::com.epl.protobuf.v1.LandsatRequest(); + } + input.ReadMessage(Landsat); + break; + } + case 218: { + if (mosaic_ == null) { + Mosaic = new global::com.epl.protobuf.v1.MosaicRequest(); + } + input.ReadMessage(Mosaic); + break; + } + } } - - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Limit = input.ReadUInt32(); @@ -3827,10 +4816,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class View : pb::IMessage { + public sealed partial class View : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new View()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3995,6 +4989,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (offNadir_ != null) { _single_offNadir_codec.WriteTagAndValue(output, OffNadir); } @@ -4013,7 +5010,32 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (offNadir_ != null) { + _single_offNadir_codec.WriteTagAndValue(ref output, OffNadir); + } + if (incidenceAngle_ != null) { + _single_incidenceAngle_codec.WriteTagAndValue(ref output, IncidenceAngle); + } + if (azimuth_ != null) { + _single_azimuth_codec.WriteTagAndValue(ref output, Azimuth); + } + if (sunAzimuth_ != null) { + _single_sunAzimuth_codec.WriteTagAndValue(ref output, SunAzimuth); + } + if (sunElevation_ != null) { + _single_sunElevation_codec.WriteTagAndValue(ref output, SunElevation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4074,6 +5096,9 @@ public void MergeFrom(View other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4117,11 +5142,65 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + float? value = _single_offNadir_codec.Read(ref input); + if (offNadir_ == null || value != 0F) { + OffNadir = value; + } + break; + } + case 18: { + float? value = _single_incidenceAngle_codec.Read(ref input); + if (incidenceAngle_ == null || value != 0F) { + IncidenceAngle = value; + } + break; + } + case 26: { + float? value = _single_azimuth_codec.Read(ref input); + if (azimuth_ == null || value != 0F) { + Azimuth = value; + } + break; + } + case 34: { + float? value = _single_sunAzimuth_codec.Read(ref input); + if (sunAzimuth_ == null || value != 0F) { + SunAzimuth = value; + } + break; + } + case 42: { + float? value = _single_sunElevation_codec.Read(ref input); + if (sunElevation_ == null || value != 0F) { + SunElevation = value; + } + break; + } + } + } } + #endif } - public sealed partial class ViewRequest : pb::IMessage { + public sealed partial class ViewRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ViewRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4271,6 +5350,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (offNadir_ != null) { output.WriteRawTag(10); output.WriteMessage(OffNadir); @@ -4294,7 +5376,37 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (offNadir_ != null) { + output.WriteRawTag(10); + output.WriteMessage(OffNadir); + } + if (incidenceAngle_ != null) { + output.WriteRawTag(18); + output.WriteMessage(IncidenceAngle); + } + if (azimuth_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Azimuth); + } + if (sunAzimuth_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SunAzimuth); + } + if (sunElevation_ != null) { + output.WriteRawTag(42); + output.WriteMessage(SunElevation); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4360,6 +5472,9 @@ public void MergeFrom(ViewRequest other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4403,11 +5518,65 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (offNadir_ == null) { + OffNadir = new global::com.epl.protobuf.v1.FloatFilter(); + } + input.ReadMessage(OffNadir); + break; + } + case 18: { + if (incidenceAngle_ == null) { + IncidenceAngle = new global::com.epl.protobuf.v1.FloatFilter(); + } + input.ReadMessage(IncidenceAngle); + break; + } + case 26: { + if (azimuth_ == null) { + Azimuth = new global::com.epl.protobuf.v1.FloatFilter(); + } + input.ReadMessage(Azimuth); + break; + } + case 34: { + if (sunAzimuth_ == null) { + SunAzimuth = new global::com.epl.protobuf.v1.FloatFilter(); + } + input.ReadMessage(SunAzimuth); + break; + } + case 42: { + if (sunElevation_ == null) { + SunElevation = new global::com.epl.protobuf.v1.FloatFilter(); + } + input.ReadMessage(SunElevation); + break; + } + } + } } + #endif } - public sealed partial class Sat : pb::IMessage { + public sealed partial class Sat : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Sat()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4509,6 +5678,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (OrbitState != global::com.epl.protobuf.v1.Sat.Types.OrbitState.UknownOrbitState) { output.WriteRawTag(8); output.WriteEnum((int) OrbitState); @@ -4519,7 +5691,24 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (OrbitState != global::com.epl.protobuf.v1.Sat.Types.OrbitState.UknownOrbitState) { + output.WriteRawTag(8); + output.WriteEnum((int) OrbitState); + } + if (relativeOrbit_ != null) { + _single_relativeOrbit_codec.WriteTagAndValue(ref output, RelativeOrbit); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4554,6 +5743,9 @@ public void MergeFrom(Sat other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4573,7 +5765,33 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + OrbitState = (global::com.epl.protobuf.v1.Sat.Types.OrbitState) input.ReadEnum(); + break; + } + case 50: { + uint? value = _single_relativeOrbit_codec.Read(ref input); + if (relativeOrbit_ == null || value != 0) { + RelativeOrbit = value; + } + break; + } + } + } } + #endif #region Nested types /// Container for nested types declared in the Sat message type. @@ -4591,7 +5809,11 @@ public enum OrbitState { } - public sealed partial class SatRequest : pb::IMessage { + public sealed partial class SatRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SatRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4690,7 +5912,27 @@ public override string ToString() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (OrbitState != global::com.epl.protobuf.v1.Sat.Types.OrbitState.UknownOrbitState) { + output.WriteRawTag(8); + output.WriteEnum((int) OrbitState); + } + if (RelativeOrbit != 0) { + output.WriteRawTag(48); + output.WriteUInt32(RelativeOrbit); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (OrbitState != global::com.epl.protobuf.v1.Sat.Types.OrbitState.UknownOrbitState) { output.WriteRawTag(8); output.WriteEnum((int) OrbitState); @@ -4700,9 +5942,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteUInt32(RelativeOrbit); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4735,6 +5978,9 @@ public void MergeFrom(SatRequest other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4751,7 +5997,30 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + OrbitState = (global::com.epl.protobuf.v1.Sat.Types.OrbitState) input.ReadEnum(); + break; + } + case 48: { + RelativeOrbit = input.ReadUInt32(); + break; + } + } + } } + #endif } @@ -4759,7 +6028,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// message for electro-optical details of STAC items. /// - public sealed partial class Eo : pb::IMessage { + public sealed partial class Eo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Eo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4860,6 +6133,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (cloudCover_ != null) { _single_cloudCover_codec.WriteTagAndValue(output, CloudCover); } @@ -4870,7 +6146,24 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (cloudCover_ != null) { + _single_cloudCover_codec.WriteTagAndValue(ref output, CloudCover); + } + if (Bands != global::com.epl.protobuf.v1.Eo.Types.Band.UnknownBand) { + output.WriteRawTag(16); + output.WriteEnum((int) Bands); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4905,6 +6198,9 @@ public void MergeFrom(Eo other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -4924,7 +6220,33 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + float? value = _single_cloudCover_codec.Read(ref input); + if (cloudCover_ == null || value != 0F) { + CloudCover = value; + } + break; + } + case 16: { + Bands = (global::com.epl.protobuf.v1.Eo.Types.Band) input.ReadEnum(); + break; + } + } + } } + #endif #region Nested types /// Container for nested types declared in the Eo message type. @@ -4963,7 +6285,11 @@ public enum Band { ///* /// sub message request for specifying electro-optical details in STAC request /// - public sealed partial class EoRequest : pb::IMessage { + public sealed partial class EoRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EoRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5062,6 +6388,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (cloudCover_ != null) { output.WriteRawTag(10); output.WriteMessage(CloudCover); @@ -5073,7 +6402,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (cloudCover_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CloudCover); + } + if (Bands != global::com.epl.protobuf.v1.Eo.Types.Band.UnknownBand) { + output.WriteRawTag(16); + output.WriteEnum((int) Bands); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5109,6 +6456,9 @@ public void MergeFrom(EoRequest other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5128,7 +6478,33 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (cloudCover_ == null) { + CloudCover = new global::com.epl.protobuf.v1.FloatFilter(); + } + input.ReadMessage(CloudCover); + break; + } + case 16: { + Bands = (global::com.epl.protobuf.v1.Eo.Types.Band) input.ReadEnum(); + break; + } + } + } } + #endif } @@ -5136,7 +6512,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// message for an asset of a STAC item. /// - public sealed partial class Asset : pb::IMessage { + public sealed partial class Asset : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Asset()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5373,6 +6753,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Href.Length != 0) { output.WriteRawTag(10); output.WriteString(Href); @@ -5416,7 +6799,57 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Href.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Href); + } + if (Type.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Type); + } + if (EoBands != global::com.epl.protobuf.v1.Eo.Types.Band.UnknownBand) { + output.WriteRawTag(24); + output.WriteEnum((int) EoBands); + } + if (AssetType != global::com.epl.protobuf.v1.AssetType.UnknownAsset) { + output.WriteRawTag(32); + output.WriteEnum((int) AssetType); + } + if (CloudPlatform != global::com.epl.protobuf.v1.CloudPlatform.UnknownCloudPlatform) { + output.WriteRawTag(40); + output.WriteEnum((int) CloudPlatform); + } + if (BucketManager.Length != 0) { + output.WriteRawTag(50); + output.WriteString(BucketManager); + } + if (BucketRegion.Length != 0) { + output.WriteRawTag(58); + output.WriteString(BucketRegion); + } + if (Bucket.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Bucket); + } + if (ObjectPath.Length != 0) { + output.WriteRawTag(74); + output.WriteString(ObjectPath); + } + if (RequesterPays != false) { + output.WriteRawTag(80); + output.WriteBool(RequesterPays); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5497,6 +6930,9 @@ public void MergeFrom(Asset other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5545,11 +6981,70 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Href = input.ReadString(); + break; + } + case 18: { + Type = input.ReadString(); + break; + } + case 24: { + EoBands = (global::com.epl.protobuf.v1.Eo.Types.Band) input.ReadEnum(); + break; + } + case 32: { + AssetType = (global::com.epl.protobuf.v1.AssetType) input.ReadEnum(); + break; + } + case 40: { + CloudPlatform = (global::com.epl.protobuf.v1.CloudPlatform) input.ReadEnum(); + break; + } + case 50: { + BucketManager = input.ReadString(); + break; + } + case 58: { + BucketRegion = input.ReadString(); + break; + } + case 66: { + Bucket = input.ReadString(); + break; + } + case 74: { + ObjectPath = input.ReadString(); + break; + } + case 80: { + RequesterPays = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class DatetimeRange : pb::IMessage { + public sealed partial class DatetimeRange : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DatetimeRange()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5642,6 +7137,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (start_ != null) { output.WriteRawTag(10); output.WriteMessage(Start); @@ -5653,7 +7151,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (start_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Start); + } + if (end_ != null) { + output.WriteRawTag(18); + output.WriteMessage(End); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5692,6 +7208,9 @@ public void MergeFrom(DatetimeRange other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5714,7 +7233,36 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (start_ == null) { + Start = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(Start); + break; + } + case 18: { + if (end_ == null) { + End = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(End); + break; + } + } + } } + #endif } @@ -5722,7 +7270,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// response message for insertion and updates to STAC db /// - public sealed partial class StacDbResponse : pb::IMessage { + public sealed partial class StacDbResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StacDbResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5843,6 +7395,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Status.Length != 0) { output.WriteRawTag(10); output.WriteString(Status); @@ -5862,7 +7417,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Status.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Status); + } + if (StatusCode != 0) { + output.WriteRawTag(16); + output.WriteInt32(StatusCode); + } + if (DataId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(DataId); + } + if (Count != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(Count); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5902,16 +7483,49 @@ public void MergeFrom(StacDbResponse other) { if (other.Count != 0UL) { Count = other.Count; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Status = input.ReadString(); + break; + } + case 16: { + StatusCode = input.ReadInt32(); + break; + } + case 26: { + DataId = input.ReadString(); + break; + } + case 32: { + Count = input.ReadUInt64(); + break; + } + } + } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Status = input.ReadString(); @@ -5932,6 +7546,7 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } @@ -5939,7 +7554,11 @@ public void MergeFrom(pb::CodedInputStream input) { ///* /// place holder for SAR /// - public sealed partial class Sar : pb::IMessage { + public sealed partial class Sar : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Sar()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6018,6 +7637,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Platform != global::com.epl.protobuf.v1.Sar.Types.Platform.UnknownPlatform) { output.WriteRawTag(8); output.WriteEnum((int) Platform); @@ -6025,8 +7647,22 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Platform != global::com.epl.protobuf.v1.Sar.Types.Platform.UnknownPlatform) { + output.WriteRawTag(8); + output.WriteEnum((int) Platform); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -6052,6 +7688,9 @@ public void MergeFrom(Sar other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6064,7 +7703,26 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Platform = (global::com.epl.protobuf.v1.Sar.Types.Platform) input.ReadEnum(); + break; + } + } + } } + #endif #region Nested types /// Container for nested types declared in the Sar message type. @@ -6088,7 +7746,11 @@ public enum Instrument { /// /// https://landsat.usgs.gov/stac/landsat-extension/schema.json /// - public sealed partial class Landsat : pb::IMessage { + public sealed partial class Landsat : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Landsat()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6256,6 +7918,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (SceneId.Length != 0) { output.WriteRawTag(10); output.WriteString(SceneId); @@ -6286,7 +7951,44 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SceneId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SceneId); + } + if (ProductId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ProductId); + } + if (ProcessingLevel != global::com.epl.protobuf.v1.Landsat.Types.ProcessingLevel.UnknownProcessingLevel) { + output.WriteRawTag(24); + output.WriteEnum((int) ProcessingLevel); + } + if (WrsPath != 0) { + output.WriteRawTag(32); + output.WriteInt32(WrsPath); + } + if (WrsRow != 0) { + output.WriteRawTag(40); + output.WriteInt32(WrsRow); + } + if (cloudCoverLand_ != null) { + _single_cloudCoverLand_codec.WriteTagAndValue(ref output, CloudCoverLand); + } + if (WrsType != global::com.epl.protobuf.v1.Landsat.Types.WRSType.UknownWrs) { + output.WriteRawTag(56); + output.WriteEnum((int) WrsType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -6351,6 +8053,9 @@ public void MergeFrom(Landsat other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6390,7 +8095,53 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SceneId = input.ReadString(); + break; + } + case 18: { + ProductId = input.ReadString(); + break; + } + case 24: { + ProcessingLevel = (global::com.epl.protobuf.v1.Landsat.Types.ProcessingLevel) input.ReadEnum(); + break; + } + case 32: { + WrsPath = input.ReadInt32(); + break; + } + case 40: { + WrsRow = input.ReadInt32(); + break; + } + case 50: { + float? value = _single_cloudCoverLand_codec.Read(ref input); + if (cloudCoverLand_ == null || value != 0F) { + CloudCoverLand = value; + } + break; + } + case 56: { + WrsType = (global::com.epl.protobuf.v1.Landsat.Types.WRSType) input.ReadEnum(); + break; + } + } + } } + #endif #region Nested types /// Container for nested types declared in the Landsat message type. @@ -6425,7 +8176,11 @@ public enum ProcessingLevel { } - public sealed partial class LandsatRequest : pb::IMessage { + public sealed partial class LandsatRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LandsatRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6574,6 +8329,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (SceneId.Length != 0) { output.WriteRawTag(10); output.WriteString(SceneId); @@ -6601,7 +8359,41 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SceneId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SceneId); + } + if (ProductId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ProductId); + } + if (ProcessingLevel != global::com.epl.protobuf.v1.Landsat.Types.ProcessingLevel.UnknownProcessingLevel) { + output.WriteRawTag(24); + output.WriteEnum((int) ProcessingLevel); + } + if (WrsPath != 0) { + output.WriteRawTag(32); + output.WriteInt32(WrsPath); + } + if (WrsRow != 0) { + output.WriteRawTag(40); + output.WriteInt32(WrsRow); + } + if (cloudCoverLand_ != null) { + output.WriteRawTag(50); + output.WriteMessage(CloudCoverLand); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -6661,6 +8453,9 @@ public void MergeFrom(LandsatRequest other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6696,14 +8491,60 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SceneId = input.ReadString(); + break; + } + case 18: { + ProductId = input.ReadString(); + break; + } + case 24: { + ProcessingLevel = (global::com.epl.protobuf.v1.Landsat.Types.ProcessingLevel) input.ReadEnum(); + break; + } + case 32: { + WrsPath = input.ReadInt32(); + break; + } + case 40: { + WrsRow = input.ReadInt32(); + break; + } + case 50: { + if (cloudCoverLand_ == null) { + CloudCoverLand = new global::com.epl.protobuf.v1.FloatFilter(); + } + input.ReadMessage(CloudCoverLand); + break; + } + } + } } + #endif } /// /// Experimental /// - public sealed partial class Mosaic : pb::IMessage { + public sealed partial class Mosaic : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Mosaic()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6851,6 +8692,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); @@ -6868,7 +8712,31 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (QuadKey.Length != 0) { + output.WriteRawTag(18); + output.WriteString(QuadKey); + } + zooms_.WriteTo(ref output, _repeated_zooms_codec); + if (observationRange_ != null) { + output.WriteRawTag(34); + output.WriteMessage(ObservationRange); + } + provenanceIds_.WriteTo(ref output, _repeated_provenanceIds_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -6914,6 +8782,9 @@ public void MergeFrom(Mosaic other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6946,14 +8817,57 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + QuadKey = input.ReadString(); + break; + } + case 26: + case 24: { + zooms_.AddEntriesFrom(ref input, _repeated_zooms_codec); + break; + } + case 34: { + if (observationRange_ == null) { + ObservationRange = new global::com.epl.protobuf.v1.DatetimeRange(); + } + input.ReadMessage(ObservationRange); + break; + } + case 42: { + provenanceIds_.AddEntriesFrom(ref input, _repeated_provenanceIds_codec); + break; + } + } + } } + #endif } /// /// Experimental /// - public sealed partial class MosaicRequest : pb::IMessage { + public sealed partial class MosaicRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MosaicRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7052,6 +8966,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); @@ -7063,7 +8980,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (QuadKey.Length != 0) { + output.WriteRawTag(18); + output.WriteString(QuadKey); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -7096,6 +9031,9 @@ public void MergeFrom(MosaicRequest other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -7112,7 +9050,30 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + QuadKey = input.ReadString(); + break; + } + } + } } + #endif } diff --git a/dotnet/EplProtobuf/StacService.cs b/dotnet/EplProtobufV1/StacService.cs similarity index 100% rename from dotnet/EplProtobuf/StacService.cs rename to dotnet/EplProtobufV1/StacService.cs diff --git a/dotnet/EplProtobuf/StacServiceGrpc.cs b/dotnet/EplProtobufV1/StacServiceGrpc.cs similarity index 95% rename from dotnet/EplProtobuf/StacServiceGrpc.cs rename to dotnet/EplProtobufV1/StacServiceGrpc.cs index e927b3b..4118db6 100644 --- a/dotnet/EplProtobuf/StacServiceGrpc.cs +++ b/dotnet/EplProtobufV1/StacServiceGrpc.cs @@ -36,11 +36,41 @@ public static partial class StacService { static readonly string __ServiceName = "epl.protobuf.v1.StacService"; - static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_StacRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::com.epl.protobuf.v1.StacRequest.Parser.ParseFrom); - static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_StacItem = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::com.epl.protobuf.v1.StacItem.Parser.ParseFrom); - static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_CollectionRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::com.epl.protobuf.v1.CollectionRequest.Parser.ParseFrom); - static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_Collection = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::com.epl.protobuf.v1.Collection.Parser.ParseFrom); - static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_StacDbResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::com.epl.protobuf.v1.StacDbResponse.Parser.ParseFrom); + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_StacRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::com.epl.protobuf.v1.StacRequest.Parser)); + static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_StacItem = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::com.epl.protobuf.v1.StacItem.Parser)); + static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_CollectionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::com.epl.protobuf.v1.CollectionRequest.Parser)); + static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_Collection = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::com.epl.protobuf.v1.Collection.Parser)); + static readonly grpc::Marshaller __Marshaller_epl_protobuf_v1_StacDbResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::com.epl.protobuf.v1.StacDbResponse.Parser)); static readonly grpc::Method __Method_SearchItems = new grpc::Method( grpc::MethodType.ServerStreaming, diff --git a/dotnet/GeoGrpc.sln b/dotnet/GeoGrpc.sln index b01463e..3055bc9 100644 --- a/dotnet/GeoGrpc.sln +++ b/dotnet/GeoGrpc.sln @@ -1,6 +1,6 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EplProtobuf", "EplProtobuf\EplProtobuf.csproj", "{263AE204-F811-4710-8EB9-B93D452E029A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EplProtobufV1", "EplProtobufV1\EplProtobufV1.csproj", "{263AE204-F811-4710-8EB9-B93D452E029A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/golang/epl/protobuf/v1/geometry.pb.go b/golang/epl/protobuf/v1/geometry.pb.go index 53e910a..9cfba24 100644 --- a/golang/epl/protobuf/v1/geometry.pb.go +++ b/golang/epl/protobuf/v1/geometry.pb.go @@ -1,24 +1,43 @@ +// +//Copyright 2017-2019 Echo Park Labs +// +//Licensed 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. +// +//For additional information, contact: +// +//email: info@echoparklabs.io + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0-devel +// protoc v3.15.2 // source: epl/protobuf/v1/geometry.proto package v1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) //* // the state of a geometry topological correctness @@ -47,38 +66,59 @@ const ( SimpleState_RING_ORIENTATION SimpleState = 9 ) -var SimpleState_name = map[int32]string{ - 0: "SIMPLE_UNKNOWN", - 1: "WEAK_SIMPLE", - 2: "STRONG_SIMPLE", - 3: "NON_SIMPLE", - 4: "STRUCTURE_FLAW", - 5: "DEGENERATE_SEGMENTS", - 6: "CLUSTERING", - 7: "CRACKING", - 8: "CROSS_OVER", - 9: "RING_ORIENTATION", -} - -var SimpleState_value = map[string]int32{ - "SIMPLE_UNKNOWN": 0, - "WEAK_SIMPLE": 1, - "STRONG_SIMPLE": 2, - "NON_SIMPLE": 3, - "STRUCTURE_FLAW": 4, - "DEGENERATE_SEGMENTS": 5, - "CLUSTERING": 6, - "CRACKING": 7, - "CROSS_OVER": 8, - "RING_ORIENTATION": 9, +// Enum value maps for SimpleState. +var ( + SimpleState_name = map[int32]string{ + 0: "SIMPLE_UNKNOWN", + 1: "WEAK_SIMPLE", + 2: "STRONG_SIMPLE", + 3: "NON_SIMPLE", + 4: "STRUCTURE_FLAW", + 5: "DEGENERATE_SEGMENTS", + 6: "CLUSTERING", + 7: "CRACKING", + 8: "CROSS_OVER", + 9: "RING_ORIENTATION", + } + SimpleState_value = map[string]int32{ + "SIMPLE_UNKNOWN": 0, + "WEAK_SIMPLE": 1, + "STRONG_SIMPLE": 2, + "NON_SIMPLE": 3, + "STRUCTURE_FLAW": 4, + "DEGENERATE_SEGMENTS": 5, + "CLUSTERING": 6, + "CRACKING": 7, + "CROSS_OVER": 8, + "RING_ORIENTATION": 9, + } +) + +func (x SimpleState) Enum() *SimpleState { + p := new(SimpleState) + *p = x + return p } func (x SimpleState) String() string { - return proto.EnumName(SimpleState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SimpleState) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_geometry_proto_enumTypes[0].Descriptor() +} + +func (SimpleState) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_geometry_proto_enumTypes[0] +} + +func (x SimpleState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use SimpleState.Descriptor instead. func (SimpleState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{0} + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{0} } // @@ -86,38 +126,59 @@ func (SimpleState) EnumDescriptor() ([]byte, []int) { type Encoding int32 const ( - Encoding_UNKNOWN_ENCODING Encoding = 0 - Encoding_WKB Encoding = 1 - Encoding_WKT Encoding = 2 - Encoding_GEOJSON Encoding = 3 - Encoding_ESRI_SHAPE Encoding = 4 - Encoding_EWKB Encoding = 5 + Encoding_UNKNOWN_ENCODING Encoding = 0 // unknown type. + Encoding_WKB Encoding = 1 // well-known binary + Encoding_WKT Encoding = 2 // well-known text + Encoding_GEOJSON Encoding = 3 // geojson + Encoding_ESRI_SHAPE Encoding = 4 // esri shape binary + Encoding_EWKB Encoding = 5 // extended well-known binary ) -var Encoding_name = map[int32]string{ - 0: "UNKNOWN_ENCODING", - 1: "WKB", - 2: "WKT", - 3: "GEOJSON", - 4: "ESRI_SHAPE", - 5: "EWKB", -} +// Enum value maps for Encoding. +var ( + Encoding_name = map[int32]string{ + 0: "UNKNOWN_ENCODING", + 1: "WKB", + 2: "WKT", + 3: "GEOJSON", + 4: "ESRI_SHAPE", + 5: "EWKB", + } + Encoding_value = map[string]int32{ + "UNKNOWN_ENCODING": 0, + "WKB": 1, + "WKT": 2, + "GEOJSON": 3, + "ESRI_SHAPE": 4, + "EWKB": 5, + } +) -var Encoding_value = map[string]int32{ - "UNKNOWN_ENCODING": 0, - "WKB": 1, - "WKT": 2, - "GEOJSON": 3, - "ESRI_SHAPE": 4, - "EWKB": 5, +func (x Encoding) Enum() *Encoding { + p := new(Encoding) + *p = x + return p } func (x Encoding) String() string { - return proto.EnumName(Encoding_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Encoding) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_geometry_proto_enumTypes[1].Descriptor() } +func (Encoding) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_geometry_proto_enumTypes[1] +} + +func (x Encoding) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Encoding.Descriptor instead. func (Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{1} + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{1} } // @@ -126,13 +187,13 @@ type OperatorType int32 const ( OperatorType_UNKNOWN_OPERATOR OperatorType = 0 - OperatorType_PROJECT OperatorType = 1 + OperatorType_PROJECT OperatorType = 1 // project geometry OperatorType_EXPORT_TO_JSON OperatorType = 2 OperatorType_IMPORT_FROM_JSON OperatorType = 3 OperatorType_EXPORT_TO_ESRI_SHAPE OperatorType = 4 OperatorType_IMPORT_FROM_ESRI_SHAPE OperatorType = 5 - OperatorType_UNION OperatorType = 6 - OperatorType_DIFFERENCE OperatorType = 7 + OperatorType_UNION OperatorType = 6 // union one or more geometries + OperatorType_DIFFERENCE OperatorType = 7 // difference two geometries OperatorType_PROXIMITY_2D OperatorType = 8 OperatorType_RELATE OperatorType = 9 OperatorType_EQUALS OperatorType = 10 @@ -175,114 +236,135 @@ const ( OperatorType_IMPORT_FROM_EWKB OperatorType = 51 ) -var OperatorType_name = map[int32]string{ - 0: "UNKNOWN_OPERATOR", - 1: "PROJECT", - 2: "EXPORT_TO_JSON", - 3: "IMPORT_FROM_JSON", - 4: "EXPORT_TO_ESRI_SHAPE", - 5: "IMPORT_FROM_ESRI_SHAPE", - 6: "UNION", - 7: "DIFFERENCE", - 8: "PROXIMITY_2D", - 9: "RELATE", - 10: "EQUALS", - 11: "DISJOINT", - 12: "INTERSECTS", - 13: "WITHIN", - 14: "CONTAINS", - 15: "CROSSES", - 16: "TOUCHES", - 17: "OVERLAPS", - 18: "BUFFER", - 19: "DISTANCE", - 20: "INTERSECTION", - 21: "CLIP", - 22: "CUT", - 23: "DENSIFY_BY_LENGTH", - 26: "GEODESIC_BUFFER", - 27: "GEODETIC_DENSIFY_BY_LENGTH", - 30: "GEODETIC_AREA", - 31: "SIMPLIFY", - 32: "SIMPLIFY_OGC", - 33: "OFFSET", - 34: "GENERALIZE", - 35: "GENERALIZE_BY_AREA", - 36: "EXPORT_TO_WKB", - 37: "IMPORT_FROM_WKB", - 38: "EXPORT_TO_WKT", - 39: "IMPORT_FROM_WKT", - 40: "IMPORT_FROM_GEOJSON", - 41: "EXPORT_TO_GEOJSON", - 42: "SYMMETRIC_DIFFERENCE", - 43: "CONVEX_HULL", - 44: "BOUNDARY", - 45: "RANDOM_POINTS", - 46: "ENCLOSING_CIRCLE", - 47: "AFFINE_TRANSFORM", - 48: "GEODETIC_LENGTH", - 49: "GEODETIC_INVERSE", - 50: "EXPORT_TO_EWKB", - 51: "IMPORT_FROM_EWKB", -} - -var OperatorType_value = map[string]int32{ - "UNKNOWN_OPERATOR": 0, - "PROJECT": 1, - "EXPORT_TO_JSON": 2, - "IMPORT_FROM_JSON": 3, - "EXPORT_TO_ESRI_SHAPE": 4, - "IMPORT_FROM_ESRI_SHAPE": 5, - "UNION": 6, - "DIFFERENCE": 7, - "PROXIMITY_2D": 8, - "RELATE": 9, - "EQUALS": 10, - "DISJOINT": 11, - "INTERSECTS": 12, - "WITHIN": 13, - "CONTAINS": 14, - "CROSSES": 15, - "TOUCHES": 16, - "OVERLAPS": 17, - "BUFFER": 18, - "DISTANCE": 19, - "INTERSECTION": 20, - "CLIP": 21, - "CUT": 22, - "DENSIFY_BY_LENGTH": 23, - "GEODESIC_BUFFER": 26, - "GEODETIC_DENSIFY_BY_LENGTH": 27, - "GEODETIC_AREA": 30, - "SIMPLIFY": 31, - "SIMPLIFY_OGC": 32, - "OFFSET": 33, - "GENERALIZE": 34, - "GENERALIZE_BY_AREA": 35, - "EXPORT_TO_WKB": 36, - "IMPORT_FROM_WKB": 37, - "EXPORT_TO_WKT": 38, - "IMPORT_FROM_WKT": 39, - "IMPORT_FROM_GEOJSON": 40, - "EXPORT_TO_GEOJSON": 41, - "SYMMETRIC_DIFFERENCE": 42, - "CONVEX_HULL": 43, - "BOUNDARY": 44, - "RANDOM_POINTS": 45, - "ENCLOSING_CIRCLE": 46, - "AFFINE_TRANSFORM": 47, - "GEODETIC_LENGTH": 48, - "GEODETIC_INVERSE": 49, - "EXPORT_TO_EWKB": 50, - "IMPORT_FROM_EWKB": 51, +// Enum value maps for OperatorType. +var ( + OperatorType_name = map[int32]string{ + 0: "UNKNOWN_OPERATOR", + 1: "PROJECT", + 2: "EXPORT_TO_JSON", + 3: "IMPORT_FROM_JSON", + 4: "EXPORT_TO_ESRI_SHAPE", + 5: "IMPORT_FROM_ESRI_SHAPE", + 6: "UNION", + 7: "DIFFERENCE", + 8: "PROXIMITY_2D", + 9: "RELATE", + 10: "EQUALS", + 11: "DISJOINT", + 12: "INTERSECTS", + 13: "WITHIN", + 14: "CONTAINS", + 15: "CROSSES", + 16: "TOUCHES", + 17: "OVERLAPS", + 18: "BUFFER", + 19: "DISTANCE", + 20: "INTERSECTION", + 21: "CLIP", + 22: "CUT", + 23: "DENSIFY_BY_LENGTH", + 26: "GEODESIC_BUFFER", + 27: "GEODETIC_DENSIFY_BY_LENGTH", + 30: "GEODETIC_AREA", + 31: "SIMPLIFY", + 32: "SIMPLIFY_OGC", + 33: "OFFSET", + 34: "GENERALIZE", + 35: "GENERALIZE_BY_AREA", + 36: "EXPORT_TO_WKB", + 37: "IMPORT_FROM_WKB", + 38: "EXPORT_TO_WKT", + 39: "IMPORT_FROM_WKT", + 40: "IMPORT_FROM_GEOJSON", + 41: "EXPORT_TO_GEOJSON", + 42: "SYMMETRIC_DIFFERENCE", + 43: "CONVEX_HULL", + 44: "BOUNDARY", + 45: "RANDOM_POINTS", + 46: "ENCLOSING_CIRCLE", + 47: "AFFINE_TRANSFORM", + 48: "GEODETIC_LENGTH", + 49: "GEODETIC_INVERSE", + 50: "EXPORT_TO_EWKB", + 51: "IMPORT_FROM_EWKB", + } + OperatorType_value = map[string]int32{ + "UNKNOWN_OPERATOR": 0, + "PROJECT": 1, + "EXPORT_TO_JSON": 2, + "IMPORT_FROM_JSON": 3, + "EXPORT_TO_ESRI_SHAPE": 4, + "IMPORT_FROM_ESRI_SHAPE": 5, + "UNION": 6, + "DIFFERENCE": 7, + "PROXIMITY_2D": 8, + "RELATE": 9, + "EQUALS": 10, + "DISJOINT": 11, + "INTERSECTS": 12, + "WITHIN": 13, + "CONTAINS": 14, + "CROSSES": 15, + "TOUCHES": 16, + "OVERLAPS": 17, + "BUFFER": 18, + "DISTANCE": 19, + "INTERSECTION": 20, + "CLIP": 21, + "CUT": 22, + "DENSIFY_BY_LENGTH": 23, + "GEODESIC_BUFFER": 26, + "GEODETIC_DENSIFY_BY_LENGTH": 27, + "GEODETIC_AREA": 30, + "SIMPLIFY": 31, + "SIMPLIFY_OGC": 32, + "OFFSET": 33, + "GENERALIZE": 34, + "GENERALIZE_BY_AREA": 35, + "EXPORT_TO_WKB": 36, + "IMPORT_FROM_WKB": 37, + "EXPORT_TO_WKT": 38, + "IMPORT_FROM_WKT": 39, + "IMPORT_FROM_GEOJSON": 40, + "EXPORT_TO_GEOJSON": 41, + "SYMMETRIC_DIFFERENCE": 42, + "CONVEX_HULL": 43, + "BOUNDARY": 44, + "RANDOM_POINTS": 45, + "ENCLOSING_CIRCLE": 46, + "AFFINE_TRANSFORM": 47, + "GEODETIC_LENGTH": 48, + "GEODETIC_INVERSE": 49, + "EXPORT_TO_EWKB": 50, + "IMPORT_FROM_EWKB": 51, + } +) + +func (x OperatorType) Enum() *OperatorType { + p := new(OperatorType) + *p = x + return p } func (x OperatorType) String() string { - return proto.EnumName(OperatorType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OperatorType) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_geometry_proto_enumTypes[2].Descriptor() +} + +func (OperatorType) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_geometry_proto_enumTypes[2] +} + +func (x OperatorType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use OperatorType.Descriptor instead. func (OperatorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{2} + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{2} } // Projection names @@ -293,20 +375,41 @@ const ( ProjectionData_LAMBERT_AZI ProjectionData_CSType = 0 ) -var ProjectionData_CSType_name = map[int32]string{ - 0: "LAMBERT_AZI", -} +// Enum value maps for ProjectionData_CSType. +var ( + ProjectionData_CSType_name = map[int32]string{ + 0: "LAMBERT_AZI", + } + ProjectionData_CSType_value = map[string]int32{ + "LAMBERT_AZI": 0, + } +) -var ProjectionData_CSType_value = map[string]int32{ - "LAMBERT_AZI": 0, +func (x ProjectionData_CSType) Enum() *ProjectionData_CSType { + p := new(ProjectionData_CSType) + *p = x + return p } func (x ProjectionData_CSType) String() string { - return proto.EnumName(ProjectionData_CSType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProjectionData_CSType) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_geometry_proto_enumTypes[3].Descriptor() +} + +func (ProjectionData_CSType) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_geometry_proto_enumTypes[3] +} + +func (x ProjectionData_CSType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ProjectionData_CSType.Descriptor instead. func (ProjectionData_CSType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{1, 0} + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{1, 0} } type FileRequestChunk_FileType int32 @@ -315,20 +418,41 @@ const ( FileRequestChunk_SHAPEFILE FileRequestChunk_FileType = 0 ) -var FileRequestChunk_FileType_name = map[int32]string{ - 0: "SHAPEFILE", -} +// Enum value maps for FileRequestChunk_FileType. +var ( + FileRequestChunk_FileType_name = map[int32]string{ + 0: "SHAPEFILE", + } + FileRequestChunk_FileType_value = map[string]int32{ + "SHAPEFILE": 0, + } +) -var FileRequestChunk_FileType_value = map[string]int32{ - "SHAPEFILE": 0, +func (x FileRequestChunk_FileType) Enum() *FileRequestChunk_FileType { + p := new(FileRequestChunk_FileType) + *p = x + return p } func (x FileRequestChunk_FileType) String() string { - return proto.EnumName(FileRequestChunk_FileType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FileRequestChunk_FileType) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_geometry_proto_enumTypes[4].Descriptor() +} + +func (FileRequestChunk_FileType) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_geometry_proto_enumTypes[4] +} + +func (x FileRequestChunk_FileType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use FileRequestChunk_FileType.Descriptor instead. func (FileRequestChunk_FileType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{6, 0} + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{6, 0} } type Params_Offset_OffsetJoinType int32 @@ -340,36 +464,61 @@ const ( Params_Offset_SQUARE Params_Offset_OffsetJoinType = 3 ) -var Params_Offset_OffsetJoinType_name = map[int32]string{ - 0: "ROUND", - 1: "BEVEL", - 2: "MITER", - 3: "SQUARE", -} +// Enum value maps for Params_Offset_OffsetJoinType. +var ( + Params_Offset_OffsetJoinType_name = map[int32]string{ + 0: "ROUND", + 1: "BEVEL", + 2: "MITER", + 3: "SQUARE", + } + Params_Offset_OffsetJoinType_value = map[string]int32{ + "ROUND": 0, + "BEVEL": 1, + "MITER": 2, + "SQUARE": 3, + } +) -var Params_Offset_OffsetJoinType_value = map[string]int32{ - "ROUND": 0, - "BEVEL": 1, - "MITER": 2, - "SQUARE": 3, +func (x Params_Offset_OffsetJoinType) Enum() *Params_Offset_OffsetJoinType { + p := new(Params_Offset_OffsetJoinType) + *p = x + return p } func (x Params_Offset_OffsetJoinType) String() string { - return proto.EnumName(Params_Offset_OffsetJoinType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Params_Offset_OffsetJoinType) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_geometry_proto_enumTypes[5].Descriptor() +} + +func (Params_Offset_OffsetJoinType) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_geometry_proto_enumTypes[5] +} + +func (x Params_Offset_OffsetJoinType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Params_Offset_OffsetJoinType.Descriptor instead. func (Params_Offset_OffsetJoinType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 8, 0} + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 8, 0} } //* // Container for Geometry data, has id, encoded geometry coordinates and shape, spatial reference and envelope type GeometryData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // geometry id as an integer GeometryId uint64 `protobuf:"varint,1,opt,name=geometry_id,json=geometryId,proto3" json:"geometry_id,omitempty"` // feature id as a string (for guids and other ids that aren't numeric) FeatureId string `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` - // Types that are valid to be assigned to Data: + // Types that are assignable to Data: // *GeometryData_Wkt // *GeometryData_Geojson // *GeometryData_Wkb @@ -381,85 +530,55 @@ type GeometryData struct { // envelope or bounding box of geometry Envelope *EnvelopeData `protobuf:"bytes,13,opt,name=envelope,proto3" json:"envelope,omitempty"` // state of the geometry topological correctness. at geometry creation, it is unknown if it is simple - Simple SimpleState `protobuf:"varint,14,opt,name=simple,proto3,enum=epl.protobuf.v1.SimpleState" json:"simple,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeometryData) Reset() { *m = GeometryData{} } -func (m *GeometryData) String() string { return proto.CompactTextString(m) } -func (*GeometryData) ProtoMessage() {} -func (*GeometryData) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{0} -} - -func (m *GeometryData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeometryData.Unmarshal(m, b) -} -func (m *GeometryData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeometryData.Marshal(b, m, deterministic) -} -func (m *GeometryData) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeometryData.Merge(m, src) -} -func (m *GeometryData) XXX_Size() int { - return xxx_messageInfo_GeometryData.Size(m) -} -func (m *GeometryData) XXX_DiscardUnknown() { - xxx_messageInfo_GeometryData.DiscardUnknown(m) -} - -var xxx_messageInfo_GeometryData proto.InternalMessageInfo - -func (m *GeometryData) GetGeometryId() uint64 { - if m != nil { - return m.GeometryId - } - return 0 + Simple SimpleState `protobuf:"varint,14,opt,name=simple,proto3,enum=epl.protobuf.v1.SimpleState" json:"simple,omitempty"` } -func (m *GeometryData) GetFeatureId() string { - if m != nil { - return m.FeatureId +func (x *GeometryData) Reset() { + *x = GeometryData{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -type isGeometryData_Data interface { - isGeometryData_Data() +func (x *GeometryData) String() string { + return protoimpl.X.MessageStringOf(x) } -type GeometryData_Wkt struct { - Wkt string `protobuf:"bytes,3,opt,name=wkt,proto3,oneof"` -} +func (*GeometryData) ProtoMessage() {} -type GeometryData_Geojson struct { - Geojson string `protobuf:"bytes,4,opt,name=geojson,proto3,oneof"` +func (x *GeometryData) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type GeometryData_Wkb struct { - Wkb []byte `protobuf:"bytes,5,opt,name=wkb,proto3,oneof"` +// Deprecated: Use GeometryData.ProtoReflect.Descriptor instead. +func (*GeometryData) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{0} } -type GeometryData_EsriShape struct { - EsriShape []byte `protobuf:"bytes,6,opt,name=esri_shape,json=esriShape,proto3,oneof"` +func (x *GeometryData) GetGeometryId() uint64 { + if x != nil { + return x.GeometryId + } + return 0 } -type GeometryData_Ewkb struct { - Ewkb []byte `protobuf:"bytes,15,opt,name=ewkb,proto3,oneof"` +func (x *GeometryData) GetFeatureId() string { + if x != nil { + return x.FeatureId + } + return "" } -func (*GeometryData_Wkt) isGeometryData_Data() {} - -func (*GeometryData_Geojson) isGeometryData_Data() {} - -func (*GeometryData_Wkb) isGeometryData_Data() {} - -func (*GeometryData_EsriShape) isGeometryData_Data() {} - -func (*GeometryData_Ewkb) isGeometryData_Data() {} - func (m *GeometryData) GetData() isGeometryData_Data { if m != nil { return m.Data @@ -467,144 +586,152 @@ func (m *GeometryData) GetData() isGeometryData_Data { return nil } -func (m *GeometryData) GetWkt() string { - if x, ok := m.GetData().(*GeometryData_Wkt); ok { +func (x *GeometryData) GetWkt() string { + if x, ok := x.GetData().(*GeometryData_Wkt); ok { return x.Wkt } return "" } -func (m *GeometryData) GetGeojson() string { - if x, ok := m.GetData().(*GeometryData_Geojson); ok { +func (x *GeometryData) GetGeojson() string { + if x, ok := x.GetData().(*GeometryData_Geojson); ok { return x.Geojson } return "" } -func (m *GeometryData) GetWkb() []byte { - if x, ok := m.GetData().(*GeometryData_Wkb); ok { +func (x *GeometryData) GetWkb() []byte { + if x, ok := x.GetData().(*GeometryData_Wkb); ok { return x.Wkb } return nil } -func (m *GeometryData) GetEsriShape() []byte { - if x, ok := m.GetData().(*GeometryData_EsriShape); ok { +func (x *GeometryData) GetEsriShape() []byte { + if x, ok := x.GetData().(*GeometryData_EsriShape); ok { return x.EsriShape } return nil } -func (m *GeometryData) GetEwkb() []byte { - if x, ok := m.GetData().(*GeometryData_Ewkb); ok { +func (x *GeometryData) GetEwkb() []byte { + if x, ok := x.GetData().(*GeometryData_Ewkb); ok { return x.Ewkb } return nil } -func (m *GeometryData) GetProj() *ProjectionData { - if m != nil { - return m.Proj +func (x *GeometryData) GetProj() *ProjectionData { + if x != nil { + return x.Proj } return nil } -func (m *GeometryData) GetEnvelope() *EnvelopeData { - if m != nil { - return m.Envelope +func (x *GeometryData) GetEnvelope() *EnvelopeData { + if x != nil { + return x.Envelope } return nil } -func (m *GeometryData) GetSimple() SimpleState { - if m != nil { - return m.Simple +func (x *GeometryData) GetSimple() SimpleState { + if x != nil { + return x.Simple } return SimpleState_SIMPLE_UNKNOWN } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GeometryData) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GeometryData_Wkt)(nil), - (*GeometryData_Geojson)(nil), - (*GeometryData_Wkb)(nil), - (*GeometryData_EsriShape)(nil), - (*GeometryData_Ewkb)(nil), - } +type isGeometryData_Data interface { + isGeometryData_Data() } -//* -// Spatial Reference system. Used with a geometry to define the reference system of the geometry's coordinates -type ProjectionData struct { - // Types that are valid to be assigned to Definition: - // *ProjectionData_Epsg - // *ProjectionData_Proj4 - // *ProjectionData_Custom_ - // *ProjectionData_Wkt - Definition isProjectionData_Definition `protobuf_oneof:"definition"` - Geometry *GeometryData `protobuf:"bytes,10,opt,name=geometry,proto3" json:"geometry,omitempty"` - Bbox *EnvelopeData `protobuf:"bytes,11,opt,name=bbox,proto3" json:"bbox,omitempty"` - Centroid *GeometryData `protobuf:"bytes,12,opt,name=centroid,proto3" json:"centroid,omitempty"` - Shape []uint32 `protobuf:"varint,8,rep,packed,name=shape,proto3" json:"shape,omitempty"` - Transform []float64 `protobuf:"fixed64,9,rep,packed,name=transform,proto3" json:"transform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProjectionData) Reset() { *m = ProjectionData{} } -func (m *ProjectionData) String() string { return proto.CompactTextString(m) } -func (*ProjectionData) ProtoMessage() {} -func (*ProjectionData) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{1} +type GeometryData_Wkt struct { + // well known text format for geometry encoding, https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry + Wkt string `protobuf:"bytes,3,opt,name=wkt,proto3,oneof"` } -func (m *ProjectionData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectionData.Unmarshal(m, b) -} -func (m *ProjectionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectionData.Marshal(b, m, deterministic) +type GeometryData_Geojson struct { + // geojson format for geometry encoding, https://en.wikipedia.org/wiki/GeoJSON + Geojson string `protobuf:"bytes,4,opt,name=geojson,proto3,oneof"` } -func (m *ProjectionData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectionData.Merge(m, src) + +type GeometryData_Wkb struct { + // well known binary format for geometry encoding, https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry#Well-known_binary + Wkb []byte `protobuf:"bytes,5,opt,name=wkb,proto3,oneof"` } -func (m *ProjectionData) XXX_Size() int { - return xxx_messageInfo_ProjectionData.Size(m) + +type GeometryData_EsriShape struct { + // ESRI shape binary format for geometry encoding (fastest decoding and encoding for geometry service) https://www.esri.com/library/whitepapers/pdfs/shapefile.pdf + EsriShape []byte `protobuf:"bytes,6,opt,name=esri_shape,json=esriShape,proto3,oneof"` } -func (m *ProjectionData) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectionData.DiscardUnknown(m) + +type GeometryData_Ewkb struct { + // extended well known binary format + Ewkb []byte `protobuf:"bytes,15,opt,name=ewkb,proto3,oneof"` } -var xxx_messageInfo_ProjectionData proto.InternalMessageInfo +func (*GeometryData_Wkt) isGeometryData_Data() {} -type isProjectionData_Definition interface { - isProjectionData_Definition() -} +func (*GeometryData_Geojson) isGeometryData_Data() {} -type ProjectionData_Epsg struct { - Epsg int32 `protobuf:"varint,1,opt,name=epsg,proto3,oneof"` -} +func (*GeometryData_Wkb) isGeometryData_Data() {} -type ProjectionData_Proj4 struct { - Proj4 string `protobuf:"bytes,2,opt,name=proj4,proto3,oneof"` -} +func (*GeometryData_EsriShape) isGeometryData_Data() {} -type ProjectionData_Custom_ struct { - Custom *ProjectionData_Custom `protobuf:"bytes,3,opt,name=custom,proto3,oneof"` +func (*GeometryData_Ewkb) isGeometryData_Data() {} + +//* +// Spatial Reference system. Used with a geometry to define the reference system of the geometry's coordinates +type ProjectionData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Definition: + // *ProjectionData_Epsg + // *ProjectionData_Proj4 + // *ProjectionData_Custom_ + // *ProjectionData_Wkt + Definition isProjectionData_Definition `protobuf_oneof:"definition"` + Geometry *GeometryData `protobuf:"bytes,10,opt,name=geometry,proto3" json:"geometry,omitempty"` + Bbox *EnvelopeData `protobuf:"bytes,11,opt,name=bbox,proto3" json:"bbox,omitempty"` + Centroid *GeometryData `protobuf:"bytes,12,opt,name=centroid,proto3" json:"centroid,omitempty"` + Shape []uint32 `protobuf:"varint,8,rep,packed,name=shape,proto3" json:"shape,omitempty"` + Transform []float64 `protobuf:"fixed64,9,rep,packed,name=transform,proto3" json:"transform,omitempty"` } -type ProjectionData_Wkt struct { - Wkt string `protobuf:"bytes,4,opt,name=wkt,proto3,oneof"` +func (x *ProjectionData) Reset() { + *x = ProjectionData{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (*ProjectionData_Epsg) isProjectionData_Definition() {} +func (x *ProjectionData) String() string { + return protoimpl.X.MessageStringOf(x) +} -func (*ProjectionData_Proj4) isProjectionData_Definition() {} +func (*ProjectionData) ProtoMessage() {} -func (*ProjectionData_Custom_) isProjectionData_Definition() {} +func (x *ProjectionData) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} -func (*ProjectionData_Wkt) isProjectionData_Definition() {} +// Deprecated: Use ProjectionData.ProtoReflect.Descriptor instead. +func (*ProjectionData) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{1} +} func (m *ProjectionData) GetDefinition() isProjectionData_Definition { if m != nil { @@ -613,141 +740,108 @@ func (m *ProjectionData) GetDefinition() isProjectionData_Definition { return nil } -func (m *ProjectionData) GetEpsg() int32 { - if x, ok := m.GetDefinition().(*ProjectionData_Epsg); ok { +func (x *ProjectionData) GetEpsg() int32 { + if x, ok := x.GetDefinition().(*ProjectionData_Epsg); ok { return x.Epsg } return 0 } -func (m *ProjectionData) GetProj4() string { - if x, ok := m.GetDefinition().(*ProjectionData_Proj4); ok { +func (x *ProjectionData) GetProj4() string { + if x, ok := x.GetDefinition().(*ProjectionData_Proj4); ok { return x.Proj4 } return "" } -func (m *ProjectionData) GetCustom() *ProjectionData_Custom { - if x, ok := m.GetDefinition().(*ProjectionData_Custom_); ok { +func (x *ProjectionData) GetCustom() *ProjectionData_Custom { + if x, ok := x.GetDefinition().(*ProjectionData_Custom_); ok { return x.Custom } return nil } -func (m *ProjectionData) GetWkt() string { - if x, ok := m.GetDefinition().(*ProjectionData_Wkt); ok { +func (x *ProjectionData) GetWkt() string { + if x, ok := x.GetDefinition().(*ProjectionData_Wkt); ok { return x.Wkt } return "" } -func (m *ProjectionData) GetGeometry() *GeometryData { - if m != nil { - return m.Geometry +func (x *ProjectionData) GetGeometry() *GeometryData { + if x != nil { + return x.Geometry } return nil } -func (m *ProjectionData) GetBbox() *EnvelopeData { - if m != nil { - return m.Bbox +func (x *ProjectionData) GetBbox() *EnvelopeData { + if x != nil { + return x.Bbox } return nil } -func (m *ProjectionData) GetCentroid() *GeometryData { - if m != nil { - return m.Centroid +func (x *ProjectionData) GetCentroid() *GeometryData { + if x != nil { + return x.Centroid } return nil } -func (m *ProjectionData) GetShape() []uint32 { - if m != nil { - return m.Shape +func (x *ProjectionData) GetShape() []uint32 { + if x != nil { + return x.Shape } return nil } -func (m *ProjectionData) GetTransform() []float64 { - if m != nil { - return m.Transform +func (x *ProjectionData) GetTransform() []float64 { + if x != nil { + return x.Transform } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ProjectionData) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ProjectionData_Epsg)(nil), - (*ProjectionData_Proj4)(nil), - (*ProjectionData_Custom_)(nil), - (*ProjectionData_Wkt)(nil), - } +type isProjectionData_Definition interface { + isProjectionData_Definition() } -// Projected coordinate system that doesn't have a wkid / srid -type ProjectionData_Custom struct { - // longitude of center of projection (central meridian) - Lon_0 float64 `protobuf:"fixed64,1,opt,name=lon_0,json=lon0,proto3" json:"lon_0,omitempty"` - // latitude of center of projection (latitude of origin) - Lat_0 float64 `protobuf:"fixed64,2,opt,name=lat_0,json=lat0,proto3" json:"lat_0,omitempty"` - // enum defining the type of projection - CsType ProjectionData_CSType `protobuf:"varint,3,opt,name=cs_type,json=csType,proto3,enum=epl.protobuf.v1.ProjectionData_CSType" json:"cs_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type ProjectionData_Epsg struct { + // epsg wkid (well know id), or srid (spatial reference id) of the projected or geographic coordinate system + Epsg int32 `protobuf:"varint,1,opt,name=epsg,proto3,oneof"` } -func (m *ProjectionData_Custom) Reset() { *m = ProjectionData_Custom{} } -func (m *ProjectionData_Custom) String() string { return proto.CompactTextString(m) } -func (*ProjectionData_Custom) ProtoMessage() {} -func (*ProjectionData_Custom) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{1, 0} +type ProjectionData_Proj4 struct { + // proj string describing a projection or geographic coordinate system https://proj4.org/usage/projections.html + Proj4 string `protobuf:"bytes,2,opt,name=proj4,proto3,oneof"` } -func (m *ProjectionData_Custom) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectionData_Custom.Unmarshal(m, b) -} -func (m *ProjectionData_Custom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectionData_Custom.Marshal(b, m, deterministic) -} -func (m *ProjectionData_Custom) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectionData_Custom.Merge(m, src) -} -func (m *ProjectionData_Custom) XXX_Size() int { - return xxx_messageInfo_ProjectionData_Custom.Size(m) +type ProjectionData_Custom_ struct { + // custom projection + Custom *ProjectionData_Custom `protobuf:"bytes,3,opt,name=custom,proto3,oneof"` } -func (m *ProjectionData_Custom) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectionData_Custom.DiscardUnknown(m) + +type ProjectionData_Wkt struct { + // well-known text string of spatial reference + Wkt string `protobuf:"bytes,4,opt,name=wkt,proto3,oneof"` // esri wkid (if not yet approved by epsg) } -var xxx_messageInfo_ProjectionData_Custom proto.InternalMessageInfo +func (*ProjectionData_Epsg) isProjectionData_Definition() {} -func (m *ProjectionData_Custom) GetLon_0() float64 { - if m != nil { - return m.Lon_0 - } - return 0 -} +func (*ProjectionData_Proj4) isProjectionData_Definition() {} -func (m *ProjectionData_Custom) GetLat_0() float64 { - if m != nil { - return m.Lat_0 - } - return 0 -} +func (*ProjectionData_Custom_) isProjectionData_Definition() {} -func (m *ProjectionData_Custom) GetCsType() ProjectionData_CSType { - if m != nil { - return m.CsType - } - return ProjectionData_LAMBERT_AZI -} +func (*ProjectionData_Wkt) isProjectionData_Definition() {} //* // Container for Envelope data (bounding box), x and y min and max and an optional spatial reference type EnvelopeData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // min x value Xmin float64 `protobuf:"fixed64,1,opt,name=xmin,proto3" json:"xmin,omitempty"` // min y value @@ -757,84 +851,88 @@ type EnvelopeData struct { // max y value Ymax float64 `protobuf:"fixed64,4,opt,name=ymax,proto3" json:"ymax,omitempty"` // spatial reference of envelope - Proj *ProjectionData `protobuf:"bytes,5,opt,name=proj,proto3" json:"proj,omitempty"` - Zmin float64 `protobuf:"fixed64,6,opt,name=zmin,proto3" json:"zmin,omitempty"` - Zmax float64 `protobuf:"fixed64,7,opt,name=zmax,proto3" json:"zmax,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Proj *ProjectionData `protobuf:"bytes,5,opt,name=proj,proto3" json:"proj,omitempty"` + Zmin float64 `protobuf:"fixed64,6,opt,name=zmin,proto3" json:"zmin,omitempty"` + Zmax float64 `protobuf:"fixed64,7,opt,name=zmax,proto3" json:"zmax,omitempty"` } -func (m *EnvelopeData) Reset() { *m = EnvelopeData{} } -func (m *EnvelopeData) String() string { return proto.CompactTextString(m) } -func (*EnvelopeData) ProtoMessage() {} -func (*EnvelopeData) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{2} +func (x *EnvelopeData) Reset() { + *x = EnvelopeData{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EnvelopeData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnvelopeData.Unmarshal(m, b) -} -func (m *EnvelopeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnvelopeData.Marshal(b, m, deterministic) -} -func (m *EnvelopeData) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnvelopeData.Merge(m, src) +func (x *EnvelopeData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EnvelopeData) XXX_Size() int { - return xxx_messageInfo_EnvelopeData.Size(m) -} -func (m *EnvelopeData) XXX_DiscardUnknown() { - xxx_messageInfo_EnvelopeData.DiscardUnknown(m) + +func (*EnvelopeData) ProtoMessage() {} + +func (x *EnvelopeData) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EnvelopeData proto.InternalMessageInfo +// Deprecated: Use EnvelopeData.ProtoReflect.Descriptor instead. +func (*EnvelopeData) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{2} +} -func (m *EnvelopeData) GetXmin() float64 { - if m != nil { - return m.Xmin +func (x *EnvelopeData) GetXmin() float64 { + if x != nil { + return x.Xmin } return 0 } -func (m *EnvelopeData) GetYmin() float64 { - if m != nil { - return m.Ymin +func (x *EnvelopeData) GetYmin() float64 { + if x != nil { + return x.Ymin } return 0 } -func (m *EnvelopeData) GetXmax() float64 { - if m != nil { - return m.Xmax +func (x *EnvelopeData) GetXmax() float64 { + if x != nil { + return x.Xmax } return 0 } -func (m *EnvelopeData) GetYmax() float64 { - if m != nil { - return m.Ymax +func (x *EnvelopeData) GetYmax() float64 { + if x != nil { + return x.Ymax } return 0 } -func (m *EnvelopeData) GetProj() *ProjectionData { - if m != nil { - return m.Proj +func (x *EnvelopeData) GetProj() *ProjectionData { + if x != nil { + return x.Proj } return nil } -func (m *EnvelopeData) GetZmin() float64 { - if m != nil { - return m.Zmin +func (x *EnvelopeData) GetZmin() float64 { + if x != nil { + return x.Zmin } return 0 } -func (m *EnvelopeData) GetZmax() float64 { - if m != nil { - return m.Zmax +func (x *EnvelopeData) GetZmax() float64 { + if x != nil { + return x.Zmax } return 0 } @@ -842,13 +940,17 @@ func (m *EnvelopeData) GetZmax() float64 { //* // response message for insertion and updates to stac db type GeometryRequest struct { - // Types that are valid to be assigned to Left: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Left: // *GeometryRequest_Geometry // *GeometryRequest_LeftGeometry // *GeometryRequest_GeometryRequest // *GeometryRequest_LeftGeometryRequest Left isGeometryRequest_Left `protobuf_oneof:"left"` - // Types that are valid to be assigned to Right: + // Types that are assignable to Right: // *GeometryRequest_RightGeometry // *GeometryRequest_RightGeometryRequest Right isGeometryRequest_Right `protobuf_oneof:"right"` @@ -860,7 +962,7 @@ type GeometryRequest struct { OperationProj *ProjectionData `protobuf:"bytes,9,opt,name=operation_proj,json=operationProj,proto3" json:"operation_proj,omitempty"` // (optional) after the operation has been completed, project the results to a new spatial reference. ResultProj *ProjectionData `protobuf:"bytes,10,opt,name=result_proj,json=resultProj,proto3" json:"result_proj,omitempty"` - // Types that are valid to be assigned to Params: + // Types that are assignable to Params: // *GeometryRequest_BufferParams // *GeometryRequest_ConvexParams // *GeometryRequest_RelateParams @@ -875,165 +977,280 @@ type GeometryRequest struct { // *GeometryRequest_GeneralizeByAreaParams // *GeometryRequest_AffineTransformParams // *GeometryRequest_GeodeticBufferParams - Params isGeometryRequest_Params `protobuf_oneof:"params"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Params isGeometryRequest_Params `protobuf_oneof:"params"` } -func (m *GeometryRequest) Reset() { *m = GeometryRequest{} } -func (m *GeometryRequest) String() string { return proto.CompactTextString(m) } -func (*GeometryRequest) ProtoMessage() {} -func (*GeometryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{3} +func (x *GeometryRequest) Reset() { + *x = GeometryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GeometryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeometryRequest.Unmarshal(m, b) -} -func (m *GeometryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeometryRequest.Marshal(b, m, deterministic) -} -func (m *GeometryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeometryRequest.Merge(m, src) -} -func (m *GeometryRequest) XXX_Size() int { - return xxx_messageInfo_GeometryRequest.Size(m) -} -func (m *GeometryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GeometryRequest.DiscardUnknown(m) +func (x *GeometryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GeometryRequest proto.InternalMessageInfo +func (*GeometryRequest) ProtoMessage() {} -type isGeometryRequest_Left interface { - isGeometryRequest_Left() +func (x *GeometryRequest) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type GeometryRequest_Geometry struct { - Geometry *GeometryData `protobuf:"bytes,1,opt,name=geometry,proto3,oneof"` +// Deprecated: Use GeometryRequest.ProtoReflect.Descriptor instead. +func (*GeometryRequest) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{3} } -type GeometryRequest_LeftGeometry struct { - LeftGeometry *GeometryData `protobuf:"bytes,2,opt,name=left_geometry,json=leftGeometry,proto3,oneof"` +func (m *GeometryRequest) GetLeft() isGeometryRequest_Left { + if m != nil { + return m.Left + } + return nil } -type GeometryRequest_GeometryRequest struct { - GeometryRequest *GeometryRequest `protobuf:"bytes,3,opt,name=geometry_request,json=geometryRequest,proto3,oneof"` +func (x *GeometryRequest) GetGeometry() *GeometryData { + if x, ok := x.GetLeft().(*GeometryRequest_Geometry); ok { + return x.Geometry + } + return nil } -type GeometryRequest_LeftGeometryRequest struct { - LeftGeometryRequest *GeometryRequest `protobuf:"bytes,4,opt,name=left_geometry_request,json=leftGeometryRequest,proto3,oneof"` +func (x *GeometryRequest) GetLeftGeometry() *GeometryData { + if x, ok := x.GetLeft().(*GeometryRequest_LeftGeometry); ok { + return x.LeftGeometry + } + return nil } -func (*GeometryRequest_Geometry) isGeometryRequest_Left() {} +func (x *GeometryRequest) GetGeometryRequest() *GeometryRequest { + if x, ok := x.GetLeft().(*GeometryRequest_GeometryRequest); ok { + return x.GeometryRequest + } + return nil +} -func (*GeometryRequest_LeftGeometry) isGeometryRequest_Left() {} +func (x *GeometryRequest) GetLeftGeometryRequest() *GeometryRequest { + if x, ok := x.GetLeft().(*GeometryRequest_LeftGeometryRequest); ok { + return x.LeftGeometryRequest + } + return nil +} -func (*GeometryRequest_GeometryRequest) isGeometryRequest_Left() {} +func (m *GeometryRequest) GetRight() isGeometryRequest_Right { + if m != nil { + return m.Right + } + return nil +} -func (*GeometryRequest_LeftGeometryRequest) isGeometryRequest_Left() {} +func (x *GeometryRequest) GetRightGeometry() *GeometryData { + if x, ok := x.GetRight().(*GeometryRequest_RightGeometry); ok { + return x.RightGeometry + } + return nil +} -func (m *GeometryRequest) GetLeft() isGeometryRequest_Left { - if m != nil { - return m.Left +func (x *GeometryRequest) GetRightGeometryRequest() *GeometryRequest { + if x, ok := x.GetRight().(*GeometryRequest_RightGeometryRequest); ok { + return x.RightGeometryRequest } return nil } -func (m *GeometryRequest) GetGeometry() *GeometryData { - if x, ok := m.GetLeft().(*GeometryRequest_Geometry); ok { - return x.Geometry +func (x *GeometryRequest) GetOperator() OperatorType { + if x != nil { + return x.Operator + } + return OperatorType_UNKNOWN_OPERATOR +} + +func (x *GeometryRequest) GetResultEncoding() Encoding { + if x != nil { + return x.ResultEncoding + } + return Encoding_UNKNOWN_ENCODING +} + +func (x *GeometryRequest) GetOperationProj() *ProjectionData { + if x != nil { + return x.OperationProj } return nil } -func (m *GeometryRequest) GetLeftGeometry() *GeometryData { - if x, ok := m.GetLeft().(*GeometryRequest_LeftGeometry); ok { - return x.LeftGeometry +func (x *GeometryRequest) GetResultProj() *ProjectionData { + if x != nil { + return x.ResultProj } return nil } -func (m *GeometryRequest) GetGeometryRequest() *GeometryRequest { - if x, ok := m.GetLeft().(*GeometryRequest_GeometryRequest); ok { - return x.GeometryRequest +func (m *GeometryRequest) GetParams() isGeometryRequest_Params { + if m != nil { + return m.Params } return nil } -func (m *GeometryRequest) GetLeftGeometryRequest() *GeometryRequest { - if x, ok := m.GetLeft().(*GeometryRequest_LeftGeometryRequest); ok { - return x.LeftGeometryRequest +func (x *GeometryRequest) GetBufferParams() *Params_Buffer { + if x, ok := x.GetParams().(*GeometryRequest_BufferParams); ok { + return x.BufferParams } return nil } -type isGeometryRequest_Right interface { - isGeometryRequest_Right() +func (x *GeometryRequest) GetConvexParams() *Params_Convex { + if x, ok := x.GetParams().(*GeometryRequest_ConvexParams); ok { + return x.ConvexParams + } + return nil } -type GeometryRequest_RightGeometry struct { - RightGeometry *GeometryData `protobuf:"bytes,5,opt,name=right_geometry,json=rightGeometry,proto3,oneof"` +func (x *GeometryRequest) GetRelateParams() *Params_Relate { + if x, ok := x.GetParams().(*GeometryRequest_RelateParams); ok { + return x.RelateParams + } + return nil } -type GeometryRequest_RightGeometryRequest struct { - RightGeometryRequest *GeometryRequest `protobuf:"bytes,6,opt,name=right_geometry_request,json=rightGeometryRequest,proto3,oneof"` +func (x *GeometryRequest) GetRandomPointsParams() *Params_RandomPoints { + if x, ok := x.GetParams().(*GeometryRequest_RandomPointsParams); ok { + return x.RandomPointsParams + } + return nil } -func (*GeometryRequest_RightGeometry) isGeometryRequest_Right() {} +func (x *GeometryRequest) GetGeneralizeParams() *Params_Generalize { + if x, ok := x.GetParams().(*GeometryRequest_GeneralizeParams); ok { + return x.GeneralizeParams + } + return nil +} -func (*GeometryRequest_RightGeometryRequest) isGeometryRequest_Right() {} +func (x *GeometryRequest) GetIntersectionParams() *Params_Intersection { + if x, ok := x.GetParams().(*GeometryRequest_IntersectionParams); ok { + return x.IntersectionParams + } + return nil +} -func (m *GeometryRequest) GetRight() isGeometryRequest_Right { - if m != nil { - return m.Right +func (x *GeometryRequest) GetOffsetParams() *Params_Offset { + if x, ok := x.GetParams().(*GeometryRequest_OffsetParams); ok { + return x.OffsetParams } return nil } -func (m *GeometryRequest) GetRightGeometry() *GeometryData { - if x, ok := m.GetRight().(*GeometryRequest_RightGeometry); ok { - return x.RightGeometry +func (x *GeometryRequest) GetCutParams() *Params_Cut { + if x, ok := x.GetParams().(*GeometryRequest_CutParams); ok { + return x.CutParams } return nil } -func (m *GeometryRequest) GetRightGeometryRequest() *GeometryRequest { - if x, ok := m.GetRight().(*GeometryRequest_RightGeometryRequest); ok { - return x.RightGeometryRequest +func (x *GeometryRequest) GetClipParams() *Params_Clip { + if x, ok := x.GetParams().(*GeometryRequest_ClipParams); ok { + return x.ClipParams } return nil } -func (m *GeometryRequest) GetOperator() OperatorType { - if m != nil { - return m.Operator +func (x *GeometryRequest) GetDensifyParams() *Params_Densify { + if x, ok := x.GetParams().(*GeometryRequest_DensifyParams); ok { + return x.DensifyParams } - return OperatorType_UNKNOWN_OPERATOR + return nil } -func (m *GeometryRequest) GetResultEncoding() Encoding { - if m != nil { - return m.ResultEncoding +func (x *GeometryRequest) GetSimplifyParams() *Params_Simplify { + if x, ok := x.GetParams().(*GeometryRequest_SimplifyParams); ok { + return x.SimplifyParams } - return Encoding_UNKNOWN_ENCODING + return nil } -func (m *GeometryRequest) GetOperationProj() *ProjectionData { - if m != nil { - return m.OperationProj +func (x *GeometryRequest) GetGeneralizeByAreaParams() *Params_GeneralizeByArea { + if x, ok := x.GetParams().(*GeometryRequest_GeneralizeByAreaParams); ok { + return x.GeneralizeByAreaParams } return nil } -func (m *GeometryRequest) GetResultProj() *ProjectionData { - if m != nil { - return m.ResultProj +func (x *GeometryRequest) GetAffineTransformParams() *Params_AffineTransform { + if x, ok := x.GetParams().(*GeometryRequest_AffineTransformParams); ok { + return x.AffineTransformParams } return nil } +func (x *GeometryRequest) GetGeodeticBufferParams() *Params_GeodeticBuffer { + if x, ok := x.GetParams().(*GeometryRequest_GeodeticBufferParams); ok { + return x.GeodeticBufferParams + } + return nil +} + +type isGeometryRequest_Left interface { + isGeometryRequest_Left() +} + +type GeometryRequest_Geometry struct { + // geometry to be operated on + Geometry *GeometryData `protobuf:"bytes,1,opt,name=geometry,proto3,oneof"` +} + +type GeometryRequest_LeftGeometry struct { + // if there are two geometries to operate on, then this is the first geometry + LeftGeometry *GeometryData `protobuf:"bytes,2,opt,name=left_geometry,json=leftGeometry,proto3,oneof"` +} + +type GeometryRequest_GeometryRequest struct { + // the result of the geometry request is to be operated on by this request + GeometryRequest *GeometryRequest `protobuf:"bytes,3,opt,name=geometry_request,json=geometryRequest,proto3,oneof"` +} + +type GeometryRequest_LeftGeometryRequest struct { + // if there are two geometries, the left geometry request is to be operated on by this request + LeftGeometryRequest *GeometryRequest `protobuf:"bytes,4,opt,name=left_geometry_request,json=leftGeometryRequest,proto3,oneof"` +} + +func (*GeometryRequest_Geometry) isGeometryRequest_Left() {} + +func (*GeometryRequest_LeftGeometry) isGeometryRequest_Left() {} + +func (*GeometryRequest_GeometryRequest) isGeometryRequest_Left() {} + +func (*GeometryRequest_LeftGeometryRequest) isGeometryRequest_Left() {} + +type isGeometryRequest_Right interface { + isGeometryRequest_Right() +} + +type GeometryRequest_RightGeometry struct { + // if there are two geometries to operate on, then this is the second geometry + RightGeometry *GeometryData `protobuf:"bytes,5,opt,name=right_geometry,json=rightGeometry,proto3,oneof"` +} + +type GeometryRequest_RightGeometryRequest struct { + // if there are two geometries, the right geometry request is to be operated on by this request + RightGeometryRequest *GeometryRequest `protobuf:"bytes,6,opt,name=right_geometry_request,json=rightGeometryRequest,proto3,oneof"` +} + +func (*GeometryRequest_RightGeometry) isGeometryRequest_Right() {} + +func (*GeometryRequest_RightGeometryRequest) isGeometryRequest_Right() {} + type isGeometryRequest_Params interface { isGeometryRequest_Params() } @@ -1122,248 +1339,178 @@ func (*GeometryRequest_AffineTransformParams) isGeometryRequest_Params() {} func (*GeometryRequest_GeodeticBufferParams) isGeometryRequest_Params() {} -func (m *GeometryRequest) GetParams() isGeometryRequest_Params { - if m != nil { - return m.Params - } - return nil +type GeodeticInverse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Azimuth from the first to the second point + Az12 float64 `protobuf:"fixed64,1,opt,name=az12,proto3" json:"az12,omitempty"` + // Azimuth from the second to the first point + Az21 float64 `protobuf:"fixed64,2,opt,name=az21,proto3" json:"az21,omitempty"` + // Geodesic distance + Distance float64 `protobuf:"fixed64,3,opt,name=distance,proto3" json:"distance,omitempty"` } -func (m *GeometryRequest) GetBufferParams() *Params_Buffer { - if x, ok := m.GetParams().(*GeometryRequest_BufferParams); ok { - return x.BufferParams +func (x *GeodeticInverse) Reset() { + *x = GeodeticInverse{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *GeometryRequest) GetConvexParams() *Params_Convex { - if x, ok := m.GetParams().(*GeometryRequest_ConvexParams); ok { - return x.ConvexParams - } - return nil +func (x *GeodeticInverse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GeometryRequest) GetRelateParams() *Params_Relate { - if x, ok := m.GetParams().(*GeometryRequest_RelateParams); ok { - return x.RelateParams +func (*GeodeticInverse) ProtoMessage() {} + +func (x *GeodeticInverse) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *GeometryRequest) GetRandomPointsParams() *Params_RandomPoints { - if x, ok := m.GetParams().(*GeometryRequest_RandomPointsParams); ok { - return x.RandomPointsParams - } - return nil +// Deprecated: Use GeodeticInverse.ProtoReflect.Descriptor instead. +func (*GeodeticInverse) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{4} } -func (m *GeometryRequest) GetGeneralizeParams() *Params_Generalize { - if x, ok := m.GetParams().(*GeometryRequest_GeneralizeParams); ok { - return x.GeneralizeParams +func (x *GeodeticInverse) GetAz12() float64 { + if x != nil { + return x.Az12 } - return nil + return 0 } -func (m *GeometryRequest) GetIntersectionParams() *Params_Intersection { - if x, ok := m.GetParams().(*GeometryRequest_IntersectionParams); ok { - return x.IntersectionParams +func (x *GeodeticInverse) GetAz21() float64 { + if x != nil { + return x.Az21 } - return nil + return 0 } -func (m *GeometryRequest) GetOffsetParams() *Params_Offset { - if x, ok := m.GetParams().(*GeometryRequest_OffsetParams); ok { - return x.OffsetParams +func (x *GeodeticInverse) GetDistance() float64 { + if x != nil { + return x.Distance } - return nil + return 0 } -func (m *GeometryRequest) GetCutParams() *Params_Cut { - if x, ok := m.GetParams().(*GeometryRequest_CutParams); ok { - return x.CutParams - } - return nil +//* +// response message geometry request +type GeometryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Result: + // *GeometryResponse_Geometry + // *GeometryResponse_SpatialRelationship + // *GeometryResponse_Measure + // *GeometryResponse_GeodeticInverse + Result isGeometryResponse_Result `protobuf_oneof:"result"` + RelateMap map[int64]bool `protobuf:"bytes,5,rep,name=relate_map,json=relateMap,proto3" json:"relate_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (m *GeometryRequest) GetClipParams() *Params_Clip { - if x, ok := m.GetParams().(*GeometryRequest_ClipParams); ok { - return x.ClipParams +func (x *GeometryResponse) Reset() { + *x = GeometryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *GeometryRequest) GetDensifyParams() *Params_Densify { - if x, ok := m.GetParams().(*GeometryRequest_DensifyParams); ok { - return x.DensifyParams - } - return nil +func (x *GeometryResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GeometryRequest) GetSimplifyParams() *Params_Simplify { - if x, ok := m.GetParams().(*GeometryRequest_SimplifyParams); ok { - return x.SimplifyParams +func (*GeometryResponse) ProtoMessage() {} + +func (x *GeometryResponse) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *GeometryRequest) GetGeneralizeByAreaParams() *Params_GeneralizeByArea { - if x, ok := m.GetParams().(*GeometryRequest_GeneralizeByAreaParams); ok { - return x.GeneralizeByAreaParams - } - return nil +// Deprecated: Use GeometryResponse.ProtoReflect.Descriptor instead. +func (*GeometryResponse) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{5} } -func (m *GeometryRequest) GetAffineTransformParams() *Params_AffineTransform { - if x, ok := m.GetParams().(*GeometryRequest_AffineTransformParams); ok { - return x.AffineTransformParams +func (m *GeometryResponse) GetResult() isGeometryResponse_Result { + if m != nil { + return m.Result } return nil } -func (m *GeometryRequest) GetGeodeticBufferParams() *Params_GeodeticBuffer { - if x, ok := m.GetParams().(*GeometryRequest_GeodeticBufferParams); ok { - return x.GeodeticBufferParams +func (x *GeometryResponse) GetGeometry() *GeometryData { + if x, ok := x.GetResult().(*GeometryResponse_Geometry); ok { + return x.Geometry } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GeometryRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GeometryRequest_Geometry)(nil), - (*GeometryRequest_LeftGeometry)(nil), - (*GeometryRequest_GeometryRequest)(nil), - (*GeometryRequest_LeftGeometryRequest)(nil), - (*GeometryRequest_RightGeometry)(nil), - (*GeometryRequest_RightGeometryRequest)(nil), - (*GeometryRequest_BufferParams)(nil), - (*GeometryRequest_ConvexParams)(nil), - (*GeometryRequest_RelateParams)(nil), - (*GeometryRequest_RandomPointsParams)(nil), - (*GeometryRequest_GeneralizeParams)(nil), - (*GeometryRequest_IntersectionParams)(nil), - (*GeometryRequest_OffsetParams)(nil), - (*GeometryRequest_CutParams)(nil), - (*GeometryRequest_ClipParams)(nil), - (*GeometryRequest_DensifyParams)(nil), - (*GeometryRequest_SimplifyParams)(nil), - (*GeometryRequest_GeneralizeByAreaParams)(nil), - (*GeometryRequest_AffineTransformParams)(nil), - (*GeometryRequest_GeodeticBufferParams)(nil), +func (x *GeometryResponse) GetSpatialRelationship() bool { + if x, ok := x.GetResult().(*GeometryResponse_SpatialRelationship); ok { + return x.SpatialRelationship } + return false } -type GeodeticInverse struct { - // Azimuth from the first to the second point - Az12 float64 `protobuf:"fixed64,1,opt,name=az12,proto3" json:"az12,omitempty"` - // Azimuth from the second to the first point - Az21 float64 `protobuf:"fixed64,2,opt,name=az21,proto3" json:"az21,omitempty"` - // Geodesic distance - Distance float64 `protobuf:"fixed64,3,opt,name=distance,proto3" json:"distance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeodeticInverse) Reset() { *m = GeodeticInverse{} } -func (m *GeodeticInverse) String() string { return proto.CompactTextString(m) } -func (*GeodeticInverse) ProtoMessage() {} -func (*GeodeticInverse) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{4} -} - -func (m *GeodeticInverse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeodeticInverse.Unmarshal(m, b) -} -func (m *GeodeticInverse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeodeticInverse.Marshal(b, m, deterministic) -} -func (m *GeodeticInverse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeodeticInverse.Merge(m, src) -} -func (m *GeodeticInverse) XXX_Size() int { - return xxx_messageInfo_GeodeticInverse.Size(m) -} -func (m *GeodeticInverse) XXX_DiscardUnknown() { - xxx_messageInfo_GeodeticInverse.DiscardUnknown(m) -} - -var xxx_messageInfo_GeodeticInverse proto.InternalMessageInfo - -func (m *GeodeticInverse) GetAz12() float64 { - if m != nil { - return m.Az12 +func (x *GeometryResponse) GetMeasure() float64 { + if x, ok := x.GetResult().(*GeometryResponse_Measure); ok { + return x.Measure } return 0 } -func (m *GeodeticInverse) GetAz21() float64 { - if m != nil { - return m.Az21 +func (x *GeometryResponse) GetGeodeticInverse() *GeodeticInverse { + if x, ok := x.GetResult().(*GeometryResponse_GeodeticInverse); ok { + return x.GeodeticInverse } - return 0 + return nil } -func (m *GeodeticInverse) GetDistance() float64 { - if m != nil { - return m.Distance +func (x *GeometryResponse) GetRelateMap() map[int64]bool { + if x != nil { + return x.RelateMap } - return 0 -} - -//* -// response message geometry request -type GeometryResponse struct { - // Types that are valid to be assigned to Result: - // *GeometryResponse_Geometry - // *GeometryResponse_SpatialRelationship - // *GeometryResponse_Measure - // *GeometryResponse_GeodeticInverse - Result isGeometryResponse_Result `protobuf_oneof:"result"` - RelateMap map[int64]bool `protobuf:"bytes,5,rep,name=relate_map,json=relateMap,proto3" json:"relate_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeometryResponse) Reset() { *m = GeometryResponse{} } -func (m *GeometryResponse) String() string { return proto.CompactTextString(m) } -func (*GeometryResponse) ProtoMessage() {} -func (*GeometryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{5} -} - -func (m *GeometryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeometryResponse.Unmarshal(m, b) -} -func (m *GeometryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeometryResponse.Marshal(b, m, deterministic) -} -func (m *GeometryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeometryResponse.Merge(m, src) -} -func (m *GeometryResponse) XXX_Size() int { - return xxx_messageInfo_GeometryResponse.Size(m) -} -func (m *GeometryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GeometryResponse.DiscardUnknown(m) + return nil } -var xxx_messageInfo_GeometryResponse proto.InternalMessageInfo - type isGeometryResponse_Result interface { isGeometryResponse_Result() } type GeometryResponse_Geometry struct { + // if geometry result, then this field holds the geometry data Geometry *GeometryData `protobuf:"bytes,1,opt,name=geometry,proto3,oneof"` } type GeometryResponse_SpatialRelationship struct { + // if a topo spatial relationship request, then this field holds the true or false result SpatialRelationship bool `protobuf:"varint,2,opt,name=spatial_relationship,json=spatialRelationship,proto3,oneof"` } type GeometryResponse_Measure struct { + // a measure result will be a float for area and length requests Measure float64 `protobuf:"fixed64,3,opt,name=measure,proto3,oneof"` } @@ -1379,1074 +1526,1866 @@ func (*GeometryResponse_Measure) isGeometryResponse_Result() {} func (*GeometryResponse_GeodeticInverse) isGeometryResponse_Result() {} -func (m *GeometryResponse) GetResult() isGeometryResponse_Result { - if m != nil { - return m.Result +type FileRequestChunk struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NestedRequest *GeometryRequest `protobuf:"bytes,1,opt,name=nested_request,json=nestedRequest,proto3" json:"nested_request,omitempty"` + ResultEncodingType Encoding `protobuf:"varint,2,opt,name=result_encoding_type,json=resultEncodingType,proto3,enum=epl.protobuf.v1.Encoding" json:"result_encoding_type,omitempty"` + InputProj *ProjectionData `protobuf:"bytes,3,opt,name=input_proj,json=inputProj,proto3" json:"input_proj,omitempty"` + ResultProj *ProjectionData `protobuf:"bytes,5,opt,name=result_proj,json=resultProj,proto3" json:"result_proj,omitempty"` + Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` + Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` + Offset int64 `protobuf:"varint,8,opt,name=offset,proto3" json:"offset,omitempty"` + FileName string `protobuf:"bytes,9,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` + IsLastChunk bool `protobuf:"varint,10,opt,name=is_last_chunk,json=isLastChunk,proto3" json:"is_last_chunk,omitempty"` +} + +func (x *FileRequestChunk) Reset() { + *x = FileRequestChunk{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *GeometryResponse) GetGeometry() *GeometryData { - if x, ok := m.GetResult().(*GeometryResponse_Geometry); ok { - return x.Geometry +func (x *FileRequestChunk) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FileRequestChunk) ProtoMessage() {} + +func (x *FileRequestChunk) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FileRequestChunk.ProtoReflect.Descriptor instead. +func (*FileRequestChunk) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{6} +} + +func (x *FileRequestChunk) GetNestedRequest() *GeometryRequest { + if x != nil { + return x.NestedRequest } return nil } -func (m *GeometryResponse) GetSpatialRelationship() bool { - if x, ok := m.GetResult().(*GeometryResponse_SpatialRelationship); ok { - return x.SpatialRelationship +func (x *FileRequestChunk) GetResultEncodingType() Encoding { + if x != nil { + return x.ResultEncodingType } - return false + return Encoding_UNKNOWN_ENCODING } -func (m *GeometryResponse) GetMeasure() float64 { - if x, ok := m.GetResult().(*GeometryResponse_Measure); ok { - return x.Measure +func (x *FileRequestChunk) GetInputProj() *ProjectionData { + if x != nil { + return x.InputProj } - return 0 + return nil } -func (m *GeometryResponse) GetGeodeticInverse() *GeodeticInverse { - if x, ok := m.GetResult().(*GeometryResponse_GeodeticInverse); ok { - return x.GeodeticInverse +func (x *FileRequestChunk) GetResultProj() *ProjectionData { + if x != nil { + return x.ResultProj } return nil } -func (m *GeometryResponse) GetRelateMap() map[int64]bool { - if m != nil { - return m.RelateMap +func (x *FileRequestChunk) GetData() []byte { + if x != nil { + return x.Data } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GeometryResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GeometryResponse_Geometry)(nil), - (*GeometryResponse_SpatialRelationship)(nil), - (*GeometryResponse_Measure)(nil), - (*GeometryResponse_GeodeticInverse)(nil), +func (x *FileRequestChunk) GetSize() int64 { + if x != nil { + return x.Size } + return 0 } -type FileRequestChunk struct { - NestedRequest *GeometryRequest `protobuf:"bytes,1,opt,name=nested_request,json=nestedRequest,proto3" json:"nested_request,omitempty"` - ResultEncodingType Encoding `protobuf:"varint,2,opt,name=result_encoding_type,json=resultEncodingType,proto3,enum=epl.protobuf.v1.Encoding" json:"result_encoding_type,omitempty"` - InputProj *ProjectionData `protobuf:"bytes,3,opt,name=input_proj,json=inputProj,proto3" json:"input_proj,omitempty"` - ResultProj *ProjectionData `protobuf:"bytes,5,opt,name=result_proj,json=resultProj,proto3" json:"result_proj,omitempty"` - Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` - Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` - Offset int64 `protobuf:"varint,8,opt,name=offset,proto3" json:"offset,omitempty"` - FileName string `protobuf:"bytes,9,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` - IsLastChunk bool `protobuf:"varint,10,opt,name=is_last_chunk,json=isLastChunk,proto3" json:"is_last_chunk,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FileRequestChunk) Reset() { *m = FileRequestChunk{} } -func (m *FileRequestChunk) String() string { return proto.CompactTextString(m) } -func (*FileRequestChunk) ProtoMessage() {} -func (*FileRequestChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{6} +func (x *FileRequestChunk) GetOffset() int64 { + if x != nil { + return x.Offset + } + return 0 } -func (m *FileRequestChunk) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileRequestChunk.Unmarshal(m, b) +func (x *FileRequestChunk) GetFileName() string { + if x != nil { + return x.FileName + } + return "" } -func (m *FileRequestChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileRequestChunk.Marshal(b, m, deterministic) + +func (x *FileRequestChunk) GetIsLastChunk() bool { + if x != nil { + return x.IsLastChunk + } + return false } -func (m *FileRequestChunk) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileRequestChunk.Merge(m, src) + +type Params struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FileRequestChunk) XXX_Size() int { - return xxx_messageInfo_FileRequestChunk.Size(m) + +func (x *Params) Reset() { + *x = Params{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FileRequestChunk) XXX_DiscardUnknown() { - xxx_messageInfo_FileRequestChunk.DiscardUnknown(m) + +func (x *Params) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_FileRequestChunk proto.InternalMessageInfo +func (*Params) ProtoMessage() {} -func (m *FileRequestChunk) GetNestedRequest() *GeometryRequest { - if m != nil { - return m.NestedRequest +func (x *Params) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *FileRequestChunk) GetResultEncodingType() Encoding { - if m != nil { - return m.ResultEncodingType - } - return Encoding_UNKNOWN_ENCODING +// Deprecated: Use Params.ProtoReflect.Descriptor instead. +func (*Params) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7} +} + +// Projected coordinate system that doesn't have a wkid / srid +type ProjectionData_Custom struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // longitude of center of projection (central meridian) + Lon_0 float64 `protobuf:"fixed64,1,opt,name=lon_0,json=lon0,proto3" json:"lon_0,omitempty"` + // latitude of center of projection (latitude of origin) + Lat_0 float64 `protobuf:"fixed64,2,opt,name=lat_0,json=lat0,proto3" json:"lat_0,omitempty"` + // enum defining the type of projection + CsType ProjectionData_CSType `protobuf:"varint,3,opt,name=cs_type,json=csType,proto3,enum=epl.protobuf.v1.ProjectionData_CSType" json:"cs_type,omitempty"` } -func (m *FileRequestChunk) GetInputProj() *ProjectionData { - if m != nil { - return m.InputProj +func (x *ProjectionData_Custom) Reset() { + *x = ProjectionData_Custom{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *FileRequestChunk) GetResultProj() *ProjectionData { - if m != nil { - return m.ResultProj - } - return nil +func (x *ProjectionData_Custom) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FileRequestChunk) GetData() []byte { - if m != nil { - return m.Data +func (*ProjectionData_Custom) ProtoMessage() {} + +func (x *ProjectionData_Custom) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *FileRequestChunk) GetSize() int64 { - if m != nil { - return m.Size - } - return 0 +// Deprecated: Use ProjectionData_Custom.ProtoReflect.Descriptor instead. +func (*ProjectionData_Custom) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{1, 0} } -func (m *FileRequestChunk) GetOffset() int64 { - if m != nil { - return m.Offset +func (x *ProjectionData_Custom) GetLon_0() float64 { + if x != nil { + return x.Lon_0 } return 0 } -func (m *FileRequestChunk) GetFileName() string { - if m != nil { - return m.FileName +func (x *ProjectionData_Custom) GetLat_0() float64 { + if x != nil { + return x.Lat_0 } - return "" + return 0 } -func (m *FileRequestChunk) GetIsLastChunk() bool { - if m != nil { - return m.IsLastChunk +func (x *ProjectionData_Custom) GetCsType() ProjectionData_CSType { + if x != nil { + return x.CsType } - return false -} - -type Params struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Params) Reset() { *m = Params{} } -func (m *Params) String() string { return proto.CompactTextString(m) } -func (*Params) ProtoMessage() {} -func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7} -} - -func (m *Params) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params.Unmarshal(m, b) -} -func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params.Marshal(b, m, deterministic) -} -func (m *Params) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params.Merge(m, src) -} -func (m *Params) XXX_Size() int { - return xxx_messageInfo_Params.Size(m) -} -func (m *Params) XXX_DiscardUnknown() { - xxx_messageInfo_Params.DiscardUnknown(m) + return ProjectionData_LAMBERT_AZI } -var xxx_messageInfo_Params proto.InternalMessageInfo - type Params_Buffer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Distance float64 `protobuf:"fixed64,1,opt,name=distance,proto3" json:"distance,omitempty"` MaxDeviation float64 `protobuf:"fixed64,2,opt,name=max_deviation,json=maxDeviation,proto3" json:"max_deviation,omitempty"` // oneof https://github.com/golang/protobuf/issues/283 // } - UnionResult bool `protobuf:"varint,3,opt,name=union_result,json=unionResult,proto3" json:"union_result,omitempty"` - MaxVerticesInFullCircle int32 `protobuf:"varint,4,opt,name=max_vertices_in_full_circle,json=maxVerticesInFullCircle,proto3" json:"max_vertices_in_full_circle,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UnionResult bool `protobuf:"varint,3,opt,name=union_result,json=unionResult,proto3" json:"union_result,omitempty"` + MaxVerticesInFullCircle int32 `protobuf:"varint,4,opt,name=max_vertices_in_full_circle,json=maxVerticesInFullCircle,proto3" json:"max_vertices_in_full_circle,omitempty"` } -func (m *Params_Buffer) Reset() { *m = Params_Buffer{} } -func (m *Params_Buffer) String() string { return proto.CompactTextString(m) } -func (*Params_Buffer) ProtoMessage() {} -func (*Params_Buffer) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 0} +func (x *Params_Buffer) Reset() { + *x = Params_Buffer{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Buffer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Buffer.Unmarshal(m, b) -} -func (m *Params_Buffer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Buffer.Marshal(b, m, deterministic) -} -func (m *Params_Buffer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Buffer.Merge(m, src) -} -func (m *Params_Buffer) XXX_Size() int { - return xxx_messageInfo_Params_Buffer.Size(m) +func (x *Params_Buffer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Buffer) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Buffer.DiscardUnknown(m) + +func (*Params_Buffer) ProtoMessage() {} + +func (x *Params_Buffer) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Buffer proto.InternalMessageInfo +// Deprecated: Use Params_Buffer.ProtoReflect.Descriptor instead. +func (*Params_Buffer) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 0} +} -func (m *Params_Buffer) GetDistance() float64 { - if m != nil { - return m.Distance +func (x *Params_Buffer) GetDistance() float64 { + if x != nil { + return x.Distance } return 0 } -func (m *Params_Buffer) GetMaxDeviation() float64 { - if m != nil { - return m.MaxDeviation +func (x *Params_Buffer) GetMaxDeviation() float64 { + if x != nil { + return x.MaxDeviation } return 0 } -func (m *Params_Buffer) GetUnionResult() bool { - if m != nil { - return m.UnionResult +func (x *Params_Buffer) GetUnionResult() bool { + if x != nil { + return x.UnionResult } return false } -func (m *Params_Buffer) GetMaxVerticesInFullCircle() int32 { - if m != nil { - return m.MaxVerticesInFullCircle +func (x *Params_Buffer) GetMaxVerticesInFullCircle() int32 { + if x != nil { + return x.MaxVerticesInFullCircle } return 0 } type Params_GeodeticBuffer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Distance float64 `protobuf:"fixed64,1,opt,name=distance,proto3" json:"distance,omitempty"` MaxDeviation float64 `protobuf:"fixed64,2,opt,name=max_deviation,json=maxDeviation,proto3" json:"max_deviation,omitempty"` // oneof https://github.com/golang/protobuf/issues/283 // } - UnionResult bool `protobuf:"varint,3,opt,name=union_result,json=unionResult,proto3" json:"union_result,omitempty"` - MaxVerticesInFullCircle int32 `protobuf:"varint,4,opt,name=max_vertices_in_full_circle,json=maxVerticesInFullCircle,proto3" json:"max_vertices_in_full_circle,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UnionResult bool `protobuf:"varint,3,opt,name=union_result,json=unionResult,proto3" json:"union_result,omitempty"` + MaxVerticesInFullCircle int32 `protobuf:"varint,4,opt,name=max_vertices_in_full_circle,json=maxVerticesInFullCircle,proto3" json:"max_vertices_in_full_circle,omitempty"` } -func (m *Params_GeodeticBuffer) Reset() { *m = Params_GeodeticBuffer{} } -func (m *Params_GeodeticBuffer) String() string { return proto.CompactTextString(m) } -func (*Params_GeodeticBuffer) ProtoMessage() {} -func (*Params_GeodeticBuffer) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 1} +func (x *Params_GeodeticBuffer) Reset() { + *x = Params_GeodeticBuffer{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_GeodeticBuffer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_GeodeticBuffer.Unmarshal(m, b) +func (x *Params_GeodeticBuffer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_GeodeticBuffer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_GeodeticBuffer.Marshal(b, m, deterministic) -} -func (m *Params_GeodeticBuffer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_GeodeticBuffer.Merge(m, src) -} -func (m *Params_GeodeticBuffer) XXX_Size() int { - return xxx_messageInfo_Params_GeodeticBuffer.Size(m) -} -func (m *Params_GeodeticBuffer) XXX_DiscardUnknown() { - xxx_messageInfo_Params_GeodeticBuffer.DiscardUnknown(m) + +func (*Params_GeodeticBuffer) ProtoMessage() {} + +func (x *Params_GeodeticBuffer) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_GeodeticBuffer proto.InternalMessageInfo +// Deprecated: Use Params_GeodeticBuffer.ProtoReflect.Descriptor instead. +func (*Params_GeodeticBuffer) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 1} +} -func (m *Params_GeodeticBuffer) GetDistance() float64 { - if m != nil { - return m.Distance +func (x *Params_GeodeticBuffer) GetDistance() float64 { + if x != nil { + return x.Distance } return 0 } -func (m *Params_GeodeticBuffer) GetMaxDeviation() float64 { - if m != nil { - return m.MaxDeviation +func (x *Params_GeodeticBuffer) GetMaxDeviation() float64 { + if x != nil { + return x.MaxDeviation } return 0 } -func (m *Params_GeodeticBuffer) GetUnionResult() bool { - if m != nil { - return m.UnionResult +func (x *Params_GeodeticBuffer) GetUnionResult() bool { + if x != nil { + return x.UnionResult } return false } -func (m *Params_GeodeticBuffer) GetMaxVerticesInFullCircle() int32 { - if m != nil { - return m.MaxVerticesInFullCircle +func (x *Params_GeodeticBuffer) GetMaxVerticesInFullCircle() int32 { + if x != nil { + return x.MaxVerticesInFullCircle } return 0 } type Params_Convex struct { - Merge bool `protobuf:"varint,1,opt,name=merge,proto3" json:"merge,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Convex) Reset() { *m = Params_Convex{} } -func (m *Params_Convex) String() string { return proto.CompactTextString(m) } -func (*Params_Convex) ProtoMessage() {} -func (*Params_Convex) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 2} + Merge bool `protobuf:"varint,1,opt,name=merge,proto3" json:"merge,omitempty"` } -func (m *Params_Convex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Convex.Unmarshal(m, b) -} -func (m *Params_Convex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Convex.Marshal(b, m, deterministic) -} -func (m *Params_Convex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Convex.Merge(m, src) +func (x *Params_Convex) Reset() { + *x = Params_Convex{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Convex) XXX_Size() int { - return xxx_messageInfo_Params_Convex.Size(m) + +func (x *Params_Convex) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Convex) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Convex.DiscardUnknown(m) + +func (*Params_Convex) ProtoMessage() {} + +func (x *Params_Convex) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Convex proto.InternalMessageInfo +// Deprecated: Use Params_Convex.ProtoReflect.Descriptor instead. +func (*Params_Convex) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 2} +} -func (m *Params_Convex) GetMerge() bool { - if m != nil { - return m.Merge +func (x *Params_Convex) GetMerge() bool { + if x != nil { + return x.Merge } return false } type Params_Relate struct { - De_9Im string `protobuf:"bytes,1,opt,name=de_9im,json=de9im,proto3" json:"de_9im,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Relate) Reset() { *m = Params_Relate{} } -func (m *Params_Relate) String() string { return proto.CompactTextString(m) } -func (*Params_Relate) ProtoMessage() {} -func (*Params_Relate) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 3} + De_9Im string `protobuf:"bytes,1,opt,name=de_9im,json=de9im,proto3" json:"de_9im,omitempty"` } -func (m *Params_Relate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Relate.Unmarshal(m, b) -} -func (m *Params_Relate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Relate.Marshal(b, m, deterministic) -} -func (m *Params_Relate) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Relate.Merge(m, src) +func (x *Params_Relate) Reset() { + *x = Params_Relate{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Relate) XXX_Size() int { - return xxx_messageInfo_Params_Relate.Size(m) + +func (x *Params_Relate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Relate) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Relate.DiscardUnknown(m) + +func (*Params_Relate) ProtoMessage() {} + +func (x *Params_Relate) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Relate proto.InternalMessageInfo +// Deprecated: Use Params_Relate.ProtoReflect.Descriptor instead. +func (*Params_Relate) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 3} +} -func (m *Params_Relate) GetDe_9Im() string { - if m != nil { - return m.De_9Im +func (x *Params_Relate) GetDe_9Im() string { + if x != nil { + return x.De_9Im } return "" } type Params_RandomPoints struct { - PointsPerSquareKm float64 `protobuf:"fixed64,1,opt,name=points_per_square_km,json=pointsPerSquareKm,proto3" json:"points_per_square_km,omitempty"` - Seed int64 `protobuf:"varint,2,opt,name=seed,proto3" json:"seed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_RandomPoints) Reset() { *m = Params_RandomPoints{} } -func (m *Params_RandomPoints) String() string { return proto.CompactTextString(m) } -func (*Params_RandomPoints) ProtoMessage() {} -func (*Params_RandomPoints) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 4} + PointsPerSquareKm float64 `protobuf:"fixed64,1,opt,name=points_per_square_km,json=pointsPerSquareKm,proto3" json:"points_per_square_km,omitempty"` + Seed int64 `protobuf:"varint,2,opt,name=seed,proto3" json:"seed,omitempty"` } -func (m *Params_RandomPoints) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_RandomPoints.Unmarshal(m, b) -} -func (m *Params_RandomPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_RandomPoints.Marshal(b, m, deterministic) -} -func (m *Params_RandomPoints) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_RandomPoints.Merge(m, src) +func (x *Params_RandomPoints) Reset() { + *x = Params_RandomPoints{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_RandomPoints) XXX_Size() int { - return xxx_messageInfo_Params_RandomPoints.Size(m) + +func (x *Params_RandomPoints) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_RandomPoints) XXX_DiscardUnknown() { - xxx_messageInfo_Params_RandomPoints.DiscardUnknown(m) + +func (*Params_RandomPoints) ProtoMessage() {} + +func (x *Params_RandomPoints) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_RandomPoints proto.InternalMessageInfo +// Deprecated: Use Params_RandomPoints.ProtoReflect.Descriptor instead. +func (*Params_RandomPoints) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 4} +} -func (m *Params_RandomPoints) GetPointsPerSquareKm() float64 { - if m != nil { - return m.PointsPerSquareKm +func (x *Params_RandomPoints) GetPointsPerSquareKm() float64 { + if x != nil { + return x.PointsPerSquareKm } return 0 } -func (m *Params_RandomPoints) GetSeed() int64 { - if m != nil { - return m.Seed +func (x *Params_RandomPoints) GetSeed() int64 { + if x != nil { + return x.Seed } return 0 } type Params_Generalize struct { - MaxDeviation float64 `protobuf:"fixed64,1,opt,name=max_deviation,json=maxDeviation,proto3" json:"max_deviation,omitempty"` - RemoveDegenerates bool `protobuf:"varint,2,opt,name=remove_degenerates,json=removeDegenerates,proto3" json:"remove_degenerates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Generalize) Reset() { *m = Params_Generalize{} } -func (m *Params_Generalize) String() string { return proto.CompactTextString(m) } -func (*Params_Generalize) ProtoMessage() {} -func (*Params_Generalize) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 5} + MaxDeviation float64 `protobuf:"fixed64,1,opt,name=max_deviation,json=maxDeviation,proto3" json:"max_deviation,omitempty"` + RemoveDegenerates bool `protobuf:"varint,2,opt,name=remove_degenerates,json=removeDegenerates,proto3" json:"remove_degenerates,omitempty"` } -func (m *Params_Generalize) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Generalize.Unmarshal(m, b) -} -func (m *Params_Generalize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Generalize.Marshal(b, m, deterministic) -} -func (m *Params_Generalize) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Generalize.Merge(m, src) +func (x *Params_Generalize) Reset() { + *x = Params_Generalize{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Generalize) XXX_Size() int { - return xxx_messageInfo_Params_Generalize.Size(m) + +func (x *Params_Generalize) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Generalize) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Generalize.DiscardUnknown(m) + +func (*Params_Generalize) ProtoMessage() {} + +func (x *Params_Generalize) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Generalize proto.InternalMessageInfo +// Deprecated: Use Params_Generalize.ProtoReflect.Descriptor instead. +func (*Params_Generalize) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 5} +} -func (m *Params_Generalize) GetMaxDeviation() float64 { - if m != nil { - return m.MaxDeviation +func (x *Params_Generalize) GetMaxDeviation() float64 { + if x != nil { + return x.MaxDeviation } return 0 } -func (m *Params_Generalize) GetRemoveDegenerates() bool { - if m != nil { - return m.RemoveDegenerates +func (x *Params_Generalize) GetRemoveDegenerates() bool { + if x != nil { + return x.RemoveDegenerates } return false } type Params_GeneralizeByArea struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // oneof https://github.com/golang/protobuf/issues/283 // oneof method { - PercentReduction float64 `protobuf:"fixed64,1,opt,name=percent_reduction,json=percentReduction,proto3" json:"percent_reduction,omitempty"` - MaxPointCount int32 `protobuf:"varint,2,opt,name=max_point_count,json=maxPointCount,proto3" json:"max_point_count,omitempty"` - RemoveDegenerates bool `protobuf:"varint,3,opt,name=remove_degenerates,json=removeDegenerates,proto3" json:"remove_degenerates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PercentReduction float64 `protobuf:"fixed64,1,opt,name=percent_reduction,json=percentReduction,proto3" json:"percent_reduction,omitempty"` + MaxPointCount int32 `protobuf:"varint,2,opt,name=max_point_count,json=maxPointCount,proto3" json:"max_point_count,omitempty"` + RemoveDegenerates bool `protobuf:"varint,3,opt,name=remove_degenerates,json=removeDegenerates,proto3" json:"remove_degenerates,omitempty"` } -func (m *Params_GeneralizeByArea) Reset() { *m = Params_GeneralizeByArea{} } -func (m *Params_GeneralizeByArea) String() string { return proto.CompactTextString(m) } -func (*Params_GeneralizeByArea) ProtoMessage() {} -func (*Params_GeneralizeByArea) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 6} +func (x *Params_GeneralizeByArea) Reset() { + *x = Params_GeneralizeByArea{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_GeneralizeByArea) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_GeneralizeByArea.Unmarshal(m, b) -} -func (m *Params_GeneralizeByArea) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_GeneralizeByArea.Marshal(b, m, deterministic) -} -func (m *Params_GeneralizeByArea) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_GeneralizeByArea.Merge(m, src) -} -func (m *Params_GeneralizeByArea) XXX_Size() int { - return xxx_messageInfo_Params_GeneralizeByArea.Size(m) +func (x *Params_GeneralizeByArea) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_GeneralizeByArea) XXX_DiscardUnknown() { - xxx_messageInfo_Params_GeneralizeByArea.DiscardUnknown(m) + +func (*Params_GeneralizeByArea) ProtoMessage() {} + +func (x *Params_GeneralizeByArea) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_GeneralizeByArea proto.InternalMessageInfo +// Deprecated: Use Params_GeneralizeByArea.ProtoReflect.Descriptor instead. +func (*Params_GeneralizeByArea) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 6} +} -func (m *Params_GeneralizeByArea) GetPercentReduction() float64 { - if m != nil { - return m.PercentReduction +func (x *Params_GeneralizeByArea) GetPercentReduction() float64 { + if x != nil { + return x.PercentReduction } return 0 } -func (m *Params_GeneralizeByArea) GetMaxPointCount() int32 { - if m != nil { - return m.MaxPointCount +func (x *Params_GeneralizeByArea) GetMaxPointCount() int32 { + if x != nil { + return x.MaxPointCount } return 0 } -func (m *Params_GeneralizeByArea) GetRemoveDegenerates() bool { - if m != nil { - return m.RemoveDegenerates +func (x *Params_GeneralizeByArea) GetRemoveDegenerates() bool { + if x != nil { + return x.RemoveDegenerates } return false } type Params_Intersection struct { - DimensionMask int32 `protobuf:"varint,1,opt,name=dimension_mask,json=dimensionMask,proto3" json:"dimension_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Intersection) Reset() { *m = Params_Intersection{} } -func (m *Params_Intersection) String() string { return proto.CompactTextString(m) } -func (*Params_Intersection) ProtoMessage() {} -func (*Params_Intersection) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 7} + DimensionMask int32 `protobuf:"varint,1,opt,name=dimension_mask,json=dimensionMask,proto3" json:"dimension_mask,omitempty"` } -func (m *Params_Intersection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Intersection.Unmarshal(m, b) -} -func (m *Params_Intersection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Intersection.Marshal(b, m, deterministic) -} -func (m *Params_Intersection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Intersection.Merge(m, src) +func (x *Params_Intersection) Reset() { + *x = Params_Intersection{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Intersection) XXX_Size() int { - return xxx_messageInfo_Params_Intersection.Size(m) + +func (x *Params_Intersection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Intersection) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Intersection.DiscardUnknown(m) + +func (*Params_Intersection) ProtoMessage() {} + +func (x *Params_Intersection) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Intersection proto.InternalMessageInfo +// Deprecated: Use Params_Intersection.ProtoReflect.Descriptor instead. +func (*Params_Intersection) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 7} +} -func (m *Params_Intersection) GetDimensionMask() int32 { - if m != nil { - return m.DimensionMask +func (x *Params_Intersection) GetDimensionMask() int32 { + if x != nil { + return x.DimensionMask } return 0 } type Params_Offset struct { - Distance float64 `protobuf:"fixed64,1,opt,name=distance,proto3" json:"distance,omitempty"` - JoinType Params_Offset_OffsetJoinType `protobuf:"varint,2,opt,name=join_type,json=joinType,proto3,enum=epl.protobuf.v1.Params_Offset_OffsetJoinType" json:"join_type,omitempty"` - BevelRatio float64 `protobuf:"fixed64,3,opt,name=bevel_ratio,json=bevelRatio,proto3" json:"bevel_ratio,omitempty"` - FlattenError float64 `protobuf:"fixed64,4,opt,name=flatten_error,json=flattenError,proto3" json:"flatten_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Params_Offset) Reset() { *m = Params_Offset{} } -func (m *Params_Offset) String() string { return proto.CompactTextString(m) } -func (*Params_Offset) ProtoMessage() {} -func (*Params_Offset) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 8} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Offset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Offset.Unmarshal(m, b) + Distance float64 `protobuf:"fixed64,1,opt,name=distance,proto3" json:"distance,omitempty"` + JoinType Params_Offset_OffsetJoinType `protobuf:"varint,2,opt,name=join_type,json=joinType,proto3,enum=epl.protobuf.v1.Params_Offset_OffsetJoinType" json:"join_type,omitempty"` + BevelRatio float64 `protobuf:"fixed64,3,opt,name=bevel_ratio,json=bevelRatio,proto3" json:"bevel_ratio,omitempty"` + FlattenError float64 `protobuf:"fixed64,4,opt,name=flatten_error,json=flattenError,proto3" json:"flatten_error,omitempty"` } -func (m *Params_Offset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Offset.Marshal(b, m, deterministic) -} -func (m *Params_Offset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Offset.Merge(m, src) + +func (x *Params_Offset) Reset() { + *x = Params_Offset{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Offset) XXX_Size() int { - return xxx_messageInfo_Params_Offset.Size(m) + +func (x *Params_Offset) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Offset) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Offset.DiscardUnknown(m) + +func (*Params_Offset) ProtoMessage() {} + +func (x *Params_Offset) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Offset proto.InternalMessageInfo +// Deprecated: Use Params_Offset.ProtoReflect.Descriptor instead. +func (*Params_Offset) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 8} +} -func (m *Params_Offset) GetDistance() float64 { - if m != nil { - return m.Distance +func (x *Params_Offset) GetDistance() float64 { + if x != nil { + return x.Distance } return 0 } -func (m *Params_Offset) GetJoinType() Params_Offset_OffsetJoinType { - if m != nil { - return m.JoinType +func (x *Params_Offset) GetJoinType() Params_Offset_OffsetJoinType { + if x != nil { + return x.JoinType } return Params_Offset_ROUND } -func (m *Params_Offset) GetBevelRatio() float64 { - if m != nil { - return m.BevelRatio +func (x *Params_Offset) GetBevelRatio() float64 { + if x != nil { + return x.BevelRatio } return 0 } -func (m *Params_Offset) GetFlattenError() float64 { - if m != nil { - return m.FlattenError +func (x *Params_Offset) GetFlattenError() float64 { + if x != nil { + return x.FlattenError } return 0 } type Params_Cut struct { - ConsiderTouch bool `protobuf:"varint,1,opt,name=consider_touch,json=considerTouch,proto3" json:"consider_touch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Cut) Reset() { *m = Params_Cut{} } -func (m *Params_Cut) String() string { return proto.CompactTextString(m) } -func (*Params_Cut) ProtoMessage() {} -func (*Params_Cut) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 9} + ConsiderTouch bool `protobuf:"varint,1,opt,name=consider_touch,json=considerTouch,proto3" json:"consider_touch,omitempty"` } -func (m *Params_Cut) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Cut.Unmarshal(m, b) -} -func (m *Params_Cut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Cut.Marshal(b, m, deterministic) -} -func (m *Params_Cut) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Cut.Merge(m, src) +func (x *Params_Cut) Reset() { + *x = Params_Cut{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Cut) XXX_Size() int { - return xxx_messageInfo_Params_Cut.Size(m) + +func (x *Params_Cut) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Cut) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Cut.DiscardUnknown(m) + +func (*Params_Cut) ProtoMessage() {} + +func (x *Params_Cut) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Cut proto.InternalMessageInfo +// Deprecated: Use Params_Cut.ProtoReflect.Descriptor instead. +func (*Params_Cut) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 9} +} -func (m *Params_Cut) GetConsiderTouch() bool { - if m != nil { - return m.ConsiderTouch +func (x *Params_Cut) GetConsiderTouch() bool { + if x != nil { + return x.ConsiderTouch } return false } type Params_Clip struct { - Envelope *EnvelopeData `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Clip) Reset() { *m = Params_Clip{} } -func (m *Params_Clip) String() string { return proto.CompactTextString(m) } -func (*Params_Clip) ProtoMessage() {} -func (*Params_Clip) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 10} + Envelope *EnvelopeData `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"` } -func (m *Params_Clip) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Clip.Unmarshal(m, b) -} -func (m *Params_Clip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Clip.Marshal(b, m, deterministic) -} -func (m *Params_Clip) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Clip.Merge(m, src) +func (x *Params_Clip) Reset() { + *x = Params_Clip{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Clip) XXX_Size() int { - return xxx_messageInfo_Params_Clip.Size(m) + +func (x *Params_Clip) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Clip) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Clip.DiscardUnknown(m) + +func (*Params_Clip) ProtoMessage() {} + +func (x *Params_Clip) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Clip proto.InternalMessageInfo +// Deprecated: Use Params_Clip.ProtoReflect.Descriptor instead. +func (*Params_Clip) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 10} +} -func (m *Params_Clip) GetEnvelope() *EnvelopeData { - if m != nil { - return m.Envelope +func (x *Params_Clip) GetEnvelope() *EnvelopeData { + if x != nil { + return x.Envelope } return nil } type Params_Densify struct { - MaxLength float64 `protobuf:"fixed64,1,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Densify) Reset() { *m = Params_Densify{} } -func (m *Params_Densify) String() string { return proto.CompactTextString(m) } -func (*Params_Densify) ProtoMessage() {} -func (*Params_Densify) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 11} + MaxLength float64 `protobuf:"fixed64,1,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` } -func (m *Params_Densify) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Densify.Unmarshal(m, b) -} -func (m *Params_Densify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Densify.Marshal(b, m, deterministic) -} -func (m *Params_Densify) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Densify.Merge(m, src) +func (x *Params_Densify) Reset() { + *x = Params_Densify{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Densify) XXX_Size() int { - return xxx_messageInfo_Params_Densify.Size(m) + +func (x *Params_Densify) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Densify) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Densify.DiscardUnknown(m) + +func (*Params_Densify) ProtoMessage() {} + +func (x *Params_Densify) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Densify proto.InternalMessageInfo +// Deprecated: Use Params_Densify.ProtoReflect.Descriptor instead. +func (*Params_Densify) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 11} +} -func (m *Params_Densify) GetMaxLength() float64 { - if m != nil { - return m.MaxLength +func (x *Params_Densify) GetMaxLength() float64 { + if x != nil { + return x.MaxLength } return 0 } type Params_Simplify struct { - Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_Simplify) Reset() { *m = Params_Simplify{} } -func (m *Params_Simplify) String() string { return proto.CompactTextString(m) } -func (*Params_Simplify) ProtoMessage() {} -func (*Params_Simplify) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 12} + Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"` } -func (m *Params_Simplify) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_Simplify.Unmarshal(m, b) -} -func (m *Params_Simplify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_Simplify.Marshal(b, m, deterministic) -} -func (m *Params_Simplify) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_Simplify.Merge(m, src) +func (x *Params_Simplify) Reset() { + *x = Params_Simplify{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_Simplify) XXX_Size() int { - return xxx_messageInfo_Params_Simplify.Size(m) + +func (x *Params_Simplify) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_Simplify) XXX_DiscardUnknown() { - xxx_messageInfo_Params_Simplify.DiscardUnknown(m) + +func (*Params_Simplify) ProtoMessage() {} + +func (x *Params_Simplify) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_Simplify proto.InternalMessageInfo +// Deprecated: Use Params_Simplify.ProtoReflect.Descriptor instead. +func (*Params_Simplify) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 12} +} -func (m *Params_Simplify) GetForce() bool { - if m != nil { - return m.Force +func (x *Params_Simplify) GetForce() bool { + if x != nil { + return x.Force } return false } type Params_AffineTransform struct { - Geodetic bool `protobuf:"varint,2,opt,name=geodetic,proto3" json:"geodetic,omitempty"` - XOffset float64 `protobuf:"fixed64,3,opt,name=x_offset,json=xOffset,proto3" json:"x_offset,omitempty"` - YOffset float64 `protobuf:"fixed64,4,opt,name=y_offset,json=yOffset,proto3" json:"y_offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Params_AffineTransform) Reset() { *m = Params_AffineTransform{} } -func (m *Params_AffineTransform) String() string { return proto.CompactTextString(m) } -func (*Params_AffineTransform) ProtoMessage() {} -func (*Params_AffineTransform) Descriptor() ([]byte, []int) { - return fileDescriptor_633d9a05b579beec, []int{7, 13} + Geodetic bool `protobuf:"varint,2,opt,name=geodetic,proto3" json:"geodetic,omitempty"` + XOffset float64 `protobuf:"fixed64,3,opt,name=x_offset,json=xOffset,proto3" json:"x_offset,omitempty"` + YOffset float64 `protobuf:"fixed64,4,opt,name=y_offset,json=yOffset,proto3" json:"y_offset,omitempty"` } -func (m *Params_AffineTransform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Params_AffineTransform.Unmarshal(m, b) -} -func (m *Params_AffineTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Params_AffineTransform.Marshal(b, m, deterministic) -} -func (m *Params_AffineTransform) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params_AffineTransform.Merge(m, src) +func (x *Params_AffineTransform) Reset() { + *x = Params_AffineTransform{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Params_AffineTransform) XXX_Size() int { - return xxx_messageInfo_Params_AffineTransform.Size(m) + +func (x *Params_AffineTransform) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Params_AffineTransform) XXX_DiscardUnknown() { - xxx_messageInfo_Params_AffineTransform.DiscardUnknown(m) + +func (*Params_AffineTransform) ProtoMessage() {} + +func (x *Params_AffineTransform) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_geometry_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Params_AffineTransform proto.InternalMessageInfo +// Deprecated: Use Params_AffineTransform.ProtoReflect.Descriptor instead. +func (*Params_AffineTransform) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_geometry_proto_rawDescGZIP(), []int{7, 13} +} -func (m *Params_AffineTransform) GetGeodetic() bool { - if m != nil { - return m.Geodetic +func (x *Params_AffineTransform) GetGeodetic() bool { + if x != nil { + return x.Geodetic } return false } -func (m *Params_AffineTransform) GetXOffset() float64 { - if m != nil { - return m.XOffset +func (x *Params_AffineTransform) GetXOffset() float64 { + if x != nil { + return x.XOffset } return 0 } -func (m *Params_AffineTransform) GetYOffset() float64 { - if m != nil { - return m.YOffset +func (x *Params_AffineTransform) GetYOffset() float64 { + if x != nil { + return x.YOffset } return 0 } -func init() { - proto.RegisterEnum("epl.protobuf.v1.SimpleState", SimpleState_name, SimpleState_value) - proto.RegisterEnum("epl.protobuf.v1.Encoding", Encoding_name, Encoding_value) - proto.RegisterEnum("epl.protobuf.v1.OperatorType", OperatorType_name, OperatorType_value) - proto.RegisterEnum("epl.protobuf.v1.ProjectionData_CSType", ProjectionData_CSType_name, ProjectionData_CSType_value) - proto.RegisterEnum("epl.protobuf.v1.FileRequestChunk_FileType", FileRequestChunk_FileType_name, FileRequestChunk_FileType_value) - proto.RegisterEnum("epl.protobuf.v1.Params_Offset_OffsetJoinType", Params_Offset_OffsetJoinType_name, Params_Offset_OffsetJoinType_value) - proto.RegisterType((*GeometryData)(nil), "epl.protobuf.v1.GeometryData") - proto.RegisterType((*ProjectionData)(nil), "epl.protobuf.v1.ProjectionData") - proto.RegisterType((*ProjectionData_Custom)(nil), "epl.protobuf.v1.ProjectionData.Custom") - proto.RegisterType((*EnvelopeData)(nil), "epl.protobuf.v1.EnvelopeData") - proto.RegisterType((*GeometryRequest)(nil), "epl.protobuf.v1.GeometryRequest") - proto.RegisterType((*GeodeticInverse)(nil), "epl.protobuf.v1.GeodeticInverse") - proto.RegisterType((*GeometryResponse)(nil), "epl.protobuf.v1.GeometryResponse") - proto.RegisterMapType((map[int64]bool)(nil), "epl.protobuf.v1.GeometryResponse.RelateMapEntry") - proto.RegisterType((*FileRequestChunk)(nil), "epl.protobuf.v1.FileRequestChunk") - proto.RegisterType((*Params)(nil), "epl.protobuf.v1.Params") - proto.RegisterType((*Params_Buffer)(nil), "epl.protobuf.v1.Params.Buffer") - proto.RegisterType((*Params_GeodeticBuffer)(nil), "epl.protobuf.v1.Params.GeodeticBuffer") - proto.RegisterType((*Params_Convex)(nil), "epl.protobuf.v1.Params.Convex") - proto.RegisterType((*Params_Relate)(nil), "epl.protobuf.v1.Params.Relate") - proto.RegisterType((*Params_RandomPoints)(nil), "epl.protobuf.v1.Params.RandomPoints") - proto.RegisterType((*Params_Generalize)(nil), "epl.protobuf.v1.Params.Generalize") - proto.RegisterType((*Params_GeneralizeByArea)(nil), "epl.protobuf.v1.Params.GeneralizeByArea") - proto.RegisterType((*Params_Intersection)(nil), "epl.protobuf.v1.Params.Intersection") - proto.RegisterType((*Params_Offset)(nil), "epl.protobuf.v1.Params.Offset") - proto.RegisterType((*Params_Cut)(nil), "epl.protobuf.v1.Params.Cut") - proto.RegisterType((*Params_Clip)(nil), "epl.protobuf.v1.Params.Clip") - proto.RegisterType((*Params_Densify)(nil), "epl.protobuf.v1.Params.Densify") - proto.RegisterType((*Params_Simplify)(nil), "epl.protobuf.v1.Params.Simplify") - proto.RegisterType((*Params_AffineTransform)(nil), "epl.protobuf.v1.Params.AffineTransform") -} - -func init() { - proto.RegisterFile("epl/protobuf/v1/geometry.proto", fileDescriptor_633d9a05b579beec) -} - -var fileDescriptor_633d9a05b579beec = []byte{ - // 2766 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xdd, 0x76, 0xdb, 0x46, - 0x92, 0x16, 0x7f, 0x45, 0x16, 0x7f, 0xd4, 0x6a, 0xc9, 0x32, 0x4d, 0x27, 0xb6, 0xa2, 0xfc, 0x69, - 0x9d, 0x58, 0xb2, 0xe5, 0xec, 0x39, 0xeb, 0xdd, 0xec, 0x26, 0x24, 0x05, 0x8a, 0x90, 0x49, 0x80, - 0x69, 0x40, 0xfe, 0xc9, 0xc5, 0x62, 0x21, 0xb2, 0x49, 0xc3, 0x26, 0x01, 0x06, 0x00, 0xb5, 0x94, - 0x9f, 0x60, 0x9f, 0x60, 0xef, 0x67, 0x2e, 0x73, 0x39, 0xb7, 0x73, 0x9f, 0x07, 0x98, 0x57, 0x98, - 0x67, 0xc8, 0xe5, 0x9c, 0x33, 0xa7, 0x1a, 0x0d, 0x8a, 0x94, 0x2d, 0x45, 0x39, 0x73, 0x35, 0x57, - 0xea, 0xfe, 0xba, 0xea, 0xeb, 0xea, 0xaa, 0xea, 0xae, 0x02, 0x05, 0xf7, 0xf8, 0x64, 0xb4, 0x3f, - 0xf1, 0xbd, 0xd0, 0x3b, 0x9d, 0x0e, 0xf6, 0xcf, 0x1e, 0xef, 0x0f, 0xb9, 0x37, 0xe6, 0xa1, 0x7f, - 0xbe, 0x27, 0x40, 0xba, 0xc6, 0x27, 0xa3, 0xbd, 0x78, 0x7d, 0xef, 0xec, 0xf1, 0xce, 0xdf, 0x92, - 0x50, 0x3c, 0x92, 0x32, 0x87, 0x76, 0x68, 0xd3, 0xfb, 0x50, 0x88, 0x75, 0x2c, 0xa7, 0x5f, 0x49, - 0x6c, 0x27, 0x76, 0xd3, 0x0c, 0x62, 0x48, 0xed, 0xd3, 0x8f, 0x01, 0x06, 0xdc, 0x0e, 0xa7, 0x3e, - 0xc7, 0xf5, 0xe4, 0x76, 0x62, 0x37, 0xcf, 0xf2, 0x12, 0x51, 0xfb, 0x94, 0x42, 0xea, 0x7f, 0xdf, - 0x86, 0x95, 0x14, 0xe2, 0xad, 0x15, 0x86, 0x13, 0x5a, 0x85, 0xd5, 0x21, 0xf7, 0xde, 0x04, 0x9e, - 0x5b, 0x49, 0x4b, 0x3c, 0x06, 0x22, 0xf9, 0xd3, 0x4a, 0x66, 0x3b, 0xb1, 0x5b, 0x8c, 0xe4, 0x4f, - 0xe9, 0x7d, 0x00, 0x1e, 0xf8, 0x8e, 0x15, 0xbc, 0xb6, 0x27, 0xbc, 0x92, 0x95, 0x4b, 0x79, 0xc4, - 0x0c, 0x84, 0xe8, 0x26, 0xa4, 0x39, 0x6a, 0xad, 0xc9, 0x25, 0x31, 0xa3, 0x4f, 0x20, 0x3d, 0xf1, - 0xbd, 0x37, 0x95, 0xd5, 0xed, 0xc4, 0x6e, 0xe1, 0xe0, 0xfe, 0xde, 0xa5, 0xb3, 0xee, 0x75, 0x7d, - 0xef, 0x0d, 0xef, 0x85, 0x8e, 0xe7, 0xe2, 0x49, 0x99, 0x10, 0xa6, 0x4f, 0x21, 0xc7, 0xdd, 0x33, - 0x3e, 0xf2, 0x26, 0xbc, 0x52, 0x12, 0x8a, 0x1f, 0xbf, 0xa7, 0xa8, 0x48, 0x01, 0xa1, 0x36, 0x17, - 0xa7, 0xdf, 0x40, 0x36, 0x70, 0xc6, 0x93, 0x11, 0xaf, 0x94, 0xb7, 0x13, 0xbb, 0xe5, 0x83, 0x8f, - 0xde, 0x53, 0x34, 0xc4, 0xb2, 0x11, 0xda, 0x21, 0x67, 0x52, 0xb6, 0x9e, 0x85, 0x74, 0xdf, 0x0e, - 0xed, 0xe3, 0x74, 0x2e, 0x47, 0x4a, 0x3b, 0x7f, 0x48, 0x43, 0x79, 0xd9, 0x2e, 0x71, 0xb8, 0x49, - 0x30, 0x14, 0xae, 0xcf, 0x88, 0xc3, 0x4d, 0x82, 0x21, 0xdd, 0x82, 0x0c, 0xda, 0xfb, 0x4d, 0xe4, - 0xf1, 0xd6, 0x0a, 0x8b, 0xa6, 0xf4, 0x7b, 0xc8, 0xf6, 0xa6, 0x41, 0xe8, 0x8d, 0x85, 0xcb, 0x0b, - 0x07, 0x5f, 0xfc, 0xc6, 0xb1, 0xf7, 0x1a, 0x42, 0xba, 0xb5, 0xc2, 0xa4, 0x5e, 0x1c, 0xb1, 0xf4, - 0x62, 0xc4, 0x9e, 0x42, 0x2e, 0x0e, 0x79, 0x05, 0xae, 0xf0, 0xca, 0x62, 0xda, 0xb0, 0xb9, 0x38, - 0x7d, 0x0c, 0xe9, 0xd3, 0x53, 0x6f, 0x56, 0x29, 0xdc, 0xc4, 0x99, 0x42, 0x14, 0x77, 0xeb, 0x71, - 0x37, 0xf4, 0x3d, 0xa7, 0x5f, 0x29, 0xde, 0x68, 0xb7, 0x58, 0x9c, 0x6e, 0x42, 0x26, 0xca, 0x92, - 0xdc, 0x76, 0x6a, 0xb7, 0xc4, 0xa2, 0x09, 0xfd, 0x08, 0xf2, 0xa1, 0x6f, 0xbb, 0xc1, 0xc0, 0xf3, - 0xc7, 0x95, 0xfc, 0x76, 0x6a, 0x37, 0xc1, 0x2e, 0x80, 0x6a, 0x00, 0xd9, 0xc8, 0x09, 0x74, 0x03, - 0x32, 0x23, 0xcf, 0xb5, 0x1e, 0x09, 0x5f, 0x27, 0x58, 0x7a, 0xe4, 0xb9, 0x8f, 0x04, 0x68, 0x87, - 0xd6, 0x23, 0xe1, 0x69, 0x04, 0xed, 0xf0, 0x11, 0xfd, 0x0e, 0x56, 0x7b, 0x81, 0x15, 0x9e, 0x4f, - 0xb8, 0xf0, 0x73, 0xf9, 0x06, 0x7e, 0x36, 0xcc, 0xf3, 0x09, 0x67, 0xd9, 0x5e, 0x80, 0x7f, 0x77, - 0xee, 0x40, 0x36, 0x42, 0xe8, 0x1a, 0x14, 0xda, 0xb5, 0x4e, 0x5d, 0x61, 0xa6, 0x55, 0xfb, 0x51, - 0x25, 0x2b, 0xf5, 0x22, 0x40, 0x9f, 0x0f, 0x1c, 0xd7, 0x41, 0xdd, 0xe3, 0x74, 0x2e, 0x43, 0xb2, - 0xc7, 0xe9, 0x5c, 0x96, 0xac, 0x1e, 0xa7, 0x73, 0xab, 0x24, 0xb7, 0xf3, 0xe7, 0x04, 0x14, 0x17, - 0xbd, 0x46, 0x29, 0xa4, 0x67, 0x63, 0xc7, 0x8d, 0xad, 0xc6, 0x31, 0x62, 0xe7, 0x88, 0x49, 0xa3, - 0xcf, 0x25, 0x36, 0x1b, 0xdb, 0x33, 0x61, 0xb1, 0x90, 0xb3, 0x67, 0x91, 0x9c, 0x3d, 0x13, 0xe1, - 0x16, 0x72, 0xf6, 0x6c, 0x7e, 0x71, 0x32, 0xbf, 0xe7, 0xe2, 0x50, 0x48, 0xbf, 0xc3, 0x0d, 0xb3, - 0x11, 0xd1, 0x3b, 0xb9, 0xe1, 0x3b, 0x24, 0x5f, 0x8d, 0x31, 0x7b, 0xb6, 0xf3, 0xd7, 0x32, 0xac, - 0xc5, 0xc1, 0x63, 0xfc, 0xa7, 0x29, 0x0f, 0x42, 0xfa, 0x1f, 0x0b, 0xe9, 0x95, 0xb8, 0x41, 0xc0, - 0x5b, 0x2b, 0x0b, 0x09, 0x76, 0x08, 0xa5, 0x11, 0x1f, 0x84, 0xd6, 0x9c, 0x21, 0x79, 0x33, 0x86, - 0x22, 0x6a, 0xc5, 0x18, 0xed, 0x00, 0x99, 0xbf, 0x73, 0x7e, 0x64, 0x96, 0xbc, 0x41, 0xdb, 0x57, - 0x12, 0x49, 0xf3, 0x5b, 0x2b, 0x6c, 0x6d, 0x78, 0xe9, 0x44, 0xcf, 0xe1, 0xd6, 0x92, 0x51, 0x73, - 0xce, 0xf4, 0x8d, 0x39, 0x37, 0x16, 0xed, 0x8b, 0x79, 0x9b, 0x50, 0xf6, 0x9d, 0xe1, 0xeb, 0x85, - 0xd3, 0x66, 0x6e, 0x72, 0xda, 0x04, 0x2b, 0x09, 0xb5, 0xf9, 0x71, 0x5f, 0xc2, 0xd6, 0x32, 0xcf, - 0xdc, 0xc0, 0xec, 0x0d, 0x0d, 0x4c, 0xb0, 0xcd, 0x25, 0xca, 0xd8, 0xc2, 0xa7, 0x90, 0xf3, 0x26, - 0xdc, 0xb7, 0x43, 0xcf, 0x17, 0x71, 0x2f, 0x7f, 0xc0, 0x36, 0x5d, 0x0a, 0x88, 0x1b, 0x31, 0x17, - 0xa7, 0x75, 0x58, 0xf3, 0x79, 0x30, 0x1d, 0x85, 0x16, 0x77, 0x7b, 0x5e, 0xdf, 0x71, 0x87, 0x95, - 0x9c, 0x60, 0xb8, 0xf3, 0x81, 0x57, 0x23, 0x12, 0x60, 0xe5, 0x48, 0x23, 0x9e, 0xa3, 0x83, 0x22, - 0x3e, 0xc7, 0x73, 0x2d, 0x91, 0xc5, 0xf9, 0x9b, 0x65, 0x71, 0x69, 0xae, 0x86, 0x0b, 0xf4, 0x7b, - 0x28, 0x48, 0x5b, 0x04, 0x09, 0xdc, 0x8c, 0x04, 0x22, 0x1d, 0xc1, 0xa0, 0x40, 0xe9, 0x74, 0x3a, - 0x18, 0x70, 0xdf, 0x9a, 0xd8, 0xbe, 0x3d, 0x0e, 0xe4, 0x0b, 0x78, 0xef, 0x7d, 0x0e, 0xb1, 0xbc, - 0x57, 0x17, 0xc2, 0xad, 0x24, 0x2b, 0x46, 0x6a, 0x11, 0x8c, 0x34, 0x3d, 0xcf, 0x3d, 0xe3, 0xb3, - 0x98, 0xa6, 0x78, 0x3d, 0x4d, 0x43, 0x08, 0x23, 0x4d, 0xa4, 0x76, 0x41, 0xe3, 0xf3, 0x91, 0x1d, - 0xf2, 0x98, 0xa6, 0x74, 0x3d, 0x0d, 0x13, 0xc2, 0x48, 0x13, 0xa9, 0x49, 0x9a, 0x97, 0xb0, 0xe9, - 0xdb, 0x6e, 0xdf, 0x1b, 0x5b, 0x13, 0xcf, 0x71, 0xc3, 0x20, 0x66, 0x2b, 0x0b, 0xb6, 0xcf, 0xae, - 0x64, 0x13, 0x3a, 0x5d, 0xa1, 0xd2, 0x4a, 0x32, 0xea, 0x2f, 0xcc, 0x25, 0xf3, 0x0f, 0xb0, 0x3e, - 0xe4, 0x2e, 0xf7, 0xed, 0x91, 0xf3, 0x6e, 0x6e, 0xe4, 0x9a, 0xa0, 0xdd, 0xb9, 0x8a, 0xf6, 0x68, - 0xae, 0xd0, 0x4a, 0x32, 0x72, 0xa1, 0x2e, 0x29, 0x5f, 0xc0, 0x86, 0xe3, 0x86, 0xdc, 0x0f, 0xa2, - 0x08, 0xc5, 0xa4, 0xe4, 0x7a, 0x5b, 0xd5, 0x05, 0x15, 0xb4, 0x75, 0x91, 0xe2, 0xc2, 0x99, 0xde, - 0x60, 0x10, 0xf0, 0x30, 0xa6, 0x5c, 0xbf, 0xde, 0x99, 0xba, 0x10, 0x46, 0x67, 0x46, 0x6a, 0x92, - 0xe6, 0x5b, 0x80, 0xde, 0x74, 0xce, 0x41, 0x05, 0xc7, 0xdd, 0x2b, 0xe3, 0x3a, 0x45, 0x82, 0x7c, - 0x6f, 0x1a, 0x6b, 0x7f, 0x07, 0x85, 0xde, 0xc8, 0x99, 0xc4, 0xea, 0x1b, 0x42, 0xfd, 0xa3, 0x2b, - 0xd5, 0x47, 0xce, 0xa4, 0x95, 0x64, 0x80, 0x2a, 0x92, 0xa0, 0x05, 0xe5, 0x3e, 0x77, 0x03, 0x67, - 0x70, 0x1e, 0x73, 0x6c, 0x5e, 0x95, 0xe5, 0x11, 0xc7, 0x61, 0x24, 0xdd, 0x4a, 0xb2, 0x92, 0x54, - 0x94, 0x4c, 0xcf, 0x60, 0x4d, 0x74, 0x33, 0x0b, 0x54, 0xb7, 0xae, 0x78, 0x46, 0x24, 0x95, 0x21, - 0xc5, 0x5b, 0x49, 0x56, 0x8e, 0x55, 0x25, 0x19, 0x87, 0x3b, 0x0b, 0x89, 0x70, 0x7a, 0x6e, 0xd9, - 0x3e, 0xb7, 0x63, 0xda, 0x2d, 0x41, 0xbb, 0xfb, 0xdb, 0x09, 0x51, 0x3f, 0xaf, 0xf9, 0xdc, 0x6e, - 0x25, 0xd9, 0xd6, 0xf0, 0x12, 0x26, 0xb7, 0xb1, 0xe1, 0xb6, 0x3d, 0x18, 0x38, 0x2e, 0xb7, 0xe6, - 0x9d, 0x40, 0xbc, 0xc9, 0x6d, 0xb1, 0xc9, 0x97, 0x57, 0x6d, 0x52, 0x13, 0x6a, 0x66, 0xac, 0xd5, - 0x4a, 0xb2, 0x5b, 0xf6, 0x32, 0x24, 0xb7, 0xf8, 0x6f, 0xd8, 0x1a, 0x72, 0xaf, 0xcf, 0x43, 0xa7, - 0x67, 0x2d, 0x3f, 0x05, 0x95, 0xab, 0x7a, 0xb3, 0xf8, 0x18, 0x91, 0xd6, 0xfc, 0x49, 0xd8, 0x1c, - 0x2e, 0x21, 0x91, 0x18, 0xb6, 0x8e, 0x58, 0x23, 0xea, 0xab, 0x90, 0x11, 0x4f, 0x71, 0x3d, 0x07, - 0xd9, 0x68, 0x83, 0x9d, 0x13, 0x51, 0x64, 0x85, 0x8a, 0xea, 0x9e, 0x61, 0xfe, 0x62, 0x31, 0xb6, - 0xdf, 0x3d, 0x3e, 0x88, 0xbb, 0x04, 0x1c, 0x47, 0xd8, 0xc1, 0xe3, 0xb8, 0x4b, 0xc0, 0x31, 0xad, - 0x42, 0xae, 0xef, 0x04, 0xa1, 0xed, 0xf6, 0xb8, 0xec, 0x14, 0xe6, 0xf3, 0x9d, 0xff, 0x4b, 0x01, - 0xb9, 0x78, 0xf0, 0x83, 0x89, 0xe7, 0x06, 0xfc, 0x1f, 0xab, 0xde, 0x4f, 0x60, 0x33, 0x98, 0xd8, - 0xa1, 0x63, 0x8f, 0x2c, 0xf1, 0xd0, 0x38, 0x9e, 0x1b, 0xbc, 0x76, 0x26, 0xc2, 0xa2, 0x1c, 0x56, - 0x41, 0xb9, 0xca, 0x16, 0x16, 0xf1, 0x03, 0x62, 0xcc, 0xed, 0x60, 0xea, 0x4b, 0x0b, 0xf1, 0x03, - 0x42, 0x02, 0xb2, 0x90, 0x47, 0x4e, 0x77, 0xa2, 0xa3, 0x5f, 0x57, 0x74, 0x17, 0x5d, 0x24, 0x0b, - 0xf9, 0x92, 0xd7, 0x74, 0x00, 0xf9, 0x6e, 0x8e, 0xed, 0x49, 0x25, 0xb3, 0x9d, 0xda, 0x2d, 0x1c, - 0x3c, 0xba, 0xa6, 0x38, 0x46, 0x3e, 0x91, 0xcf, 0x67, 0xc7, 0x9e, 0x28, 0x2e, 0xc2, 0x79, 0x3f, - 0x9e, 0x57, 0xbf, 0x85, 0xf2, 0xf2, 0x22, 0x25, 0x90, 0x7a, 0xcb, 0x23, 0xd7, 0xa5, 0x18, 0x0e, - 0xb1, 0x8b, 0x3d, 0xb3, 0x47, 0x53, 0x1e, 0x79, 0x81, 0x45, 0x93, 0x7f, 0x4f, 0xfe, 0x5b, 0x02, - 0x23, 0x1c, 0x95, 0x98, 0x9d, 0x5f, 0x52, 0x40, 0x9a, 0xce, 0x88, 0xcb, 0xba, 0xdb, 0x78, 0x3d, - 0x75, 0xdf, 0xd2, 0x23, 0x28, 0xbb, 0x3c, 0x08, 0x79, 0x7f, 0x5e, 0xce, 0x13, 0x37, 0x2b, 0xe7, - 0xac, 0x14, 0xe9, 0xc5, 0x55, 0xfc, 0x19, 0x6c, 0x5e, 0x2a, 0xc5, 0x51, 0xb3, 0x9b, 0xfc, 0xad, - 0x7a, 0x4c, 0x97, 0xeb, 0xb1, 0xe8, 0x70, 0xff, 0x0b, 0xc0, 0x71, 0x27, 0x53, 0x59, 0x4a, 0x53, - 0x37, 0x2b, 0xa5, 0x79, 0xa1, 0xf2, 0xa1, 0x5a, 0x9c, 0xf9, 0xfd, 0xb5, 0x98, 0x46, 0x1f, 0x59, - 0xd1, 0xb7, 0x23, 0x13, 0x63, 0xc4, 0x02, 0xe7, 0x1d, 0x17, 0x4d, 0x4a, 0x8a, 0x89, 0x31, 0xdd, - 0x82, 0x6c, 0xf4, 0x42, 0x8b, 0xc6, 0x23, 0xc5, 0xe4, 0x8c, 0xde, 0x85, 0xfc, 0xc0, 0x19, 0x71, - 0xcb, 0xb5, 0xc7, 0x5c, 0x34, 0x14, 0x79, 0x96, 0x43, 0x40, 0xb3, 0xc7, 0x9c, 0xee, 0x40, 0xc9, - 0x09, 0xac, 0x91, 0x1d, 0x84, 0x56, 0x0f, 0xa3, 0x20, 0x9a, 0x85, 0x1c, 0x2b, 0x38, 0x41, 0xdb, - 0x96, 0x81, 0xd9, 0xb9, 0x03, 0x39, 0x0c, 0x96, 0x70, 0x47, 0x09, 0xf2, 0x46, 0xab, 0xd6, 0x55, - 0x9a, 0x6a, 0x5b, 0x21, 0x2b, 0x3b, 0x7f, 0x01, 0xc8, 0x46, 0x17, 0xba, 0xfa, 0x73, 0x02, 0xb2, - 0xd1, 0x0d, 0x5f, 0xba, 0x85, 0x89, 0xe5, 0x5b, 0x48, 0x3f, 0x85, 0xd2, 0xd8, 0x9e, 0x59, 0x7d, - 0x7e, 0xe6, 0x88, 0x3b, 0x21, 0xaf, 0x6f, 0x71, 0x6c, 0xcf, 0x0e, 0x63, 0x8c, 0x7e, 0x02, 0xc5, - 0xa9, 0x8b, 0x55, 0x2f, 0x72, 0x83, 0x70, 0x7b, 0x8e, 0x15, 0x04, 0xc6, 0x04, 0x44, 0xbf, 0x85, - 0xbb, 0xc8, 0x73, 0xc6, 0xfd, 0xd0, 0xe9, 0xf1, 0xc0, 0x72, 0x5c, 0x6b, 0x30, 0x1d, 0x8d, 0xac, - 0x9e, 0xe3, 0xf7, 0x46, 0xd1, 0xad, 0xc9, 0xb0, 0xdb, 0x63, 0x7b, 0xf6, 0x5c, 0x4a, 0xa8, 0x6e, - 0x73, 0x3a, 0x1a, 0x35, 0xc4, 0x72, 0xf5, 0x4f, 0x09, 0x28, 0x2f, 0x3f, 0x54, 0xff, 0x04, 0x46, - 0xdf, 0x83, 0x6c, 0xd4, 0x20, 0xe1, 0x1d, 0x1b, 0x73, 0x7f, 0x18, 0x19, 0x9a, 0x63, 0xd1, 0xa4, - 0x7a, 0x1f, 0xb2, 0xd1, 0xed, 0xa4, 0xb7, 0x20, 0xdb, 0xe7, 0xd6, 0x53, 0x67, 0x2c, 0x04, 0xf2, - 0x2c, 0xd3, 0xe7, 0x4f, 0x9d, 0x71, 0xd5, 0x80, 0xe2, 0x62, 0x33, 0x43, 0xf7, 0x61, 0x33, 0xee, - 0x84, 0xb8, 0x6f, 0x05, 0x3f, 0x4d, 0x6d, 0x9f, 0x5b, 0x6f, 0xc7, 0xf2, 0xf8, 0xeb, 0xd1, 0x5a, - 0x97, 0xfb, 0x86, 0x58, 0x79, 0x36, 0x16, 0x69, 0xc7, 0x79, 0xf4, 0x4b, 0x09, 0xa6, 0x1d, 0xe7, - 0xfd, 0xea, 0xff, 0x00, 0x5c, 0x54, 0xae, 0xf7, 0x3d, 0x95, 0xf8, 0x80, 0xa7, 0x1e, 0x02, 0xf5, - 0xf9, 0xd8, 0x3b, 0xe3, 0x56, 0x9f, 0x47, 0x15, 0x2e, 0xe4, 0x81, 0x7c, 0x2f, 0xd6, 0xa3, 0x95, - 0xc3, 0x8b, 0x85, 0xea, 0xff, 0x27, 0xf0, 0xe1, 0x5e, 0x2e, 0x84, 0xf4, 0x2b, 0x58, 0x9f, 0x70, - 0x1f, 0xbf, 0x9d, 0x2d, 0x9f, 0xf7, 0xa7, 0xbd, 0x85, 0xcd, 0x88, 0x5c, 0x60, 0x31, 0x4e, 0xbf, - 0x80, 0x35, 0xb4, 0x4a, 0x1c, 0xc8, 0xea, 0x79, 0x53, 0x37, 0x14, 0xbb, 0x65, 0x18, 0x1a, 0x2b, - 0x9c, 0xd1, 0x40, 0xf0, 0x0a, 0xc3, 0x52, 0x57, 0x19, 0xf6, 0xaf, 0x50, 0x5c, 0x6c, 0xb8, 0xe8, - 0xe7, 0x50, 0xee, 0x3b, 0x63, 0xec, 0x2e, 0x3c, 0xd7, 0x1a, 0xdb, 0xc1, 0xdb, 0xe8, 0x77, 0x0f, - 0x56, 0x9a, 0xa3, 0x1d, 0x3b, 0x78, 0x5b, 0xfd, 0x35, 0x01, 0xd9, 0xa8, 0xab, 0xba, 0x36, 0xe9, - 0x8e, 0x21, 0xff, 0xc6, 0x73, 0xdc, 0xc5, 0xb7, 0xeb, 0xe1, 0xf5, 0x4d, 0x9a, 0xfc, 0x73, 0xec, - 0x39, 0x6e, 0xf4, 0x75, 0xf2, 0x46, 0x8e, 0xe8, 0x7d, 0x28, 0x9c, 0xf2, 0x33, 0x3e, 0xb2, 0xc4, - 0x57, 0x82, 0x2c, 0x8d, 0x20, 0x20, 0x86, 0x08, 0xc6, 0x6d, 0x30, 0xb2, 0xc3, 0x90, 0xbb, 0x16, - 0xf7, 0x7d, 0xcf, 0x97, 0xdf, 0xd4, 0x45, 0x09, 0x2a, 0x88, 0xed, 0xfc, 0x27, 0x94, 0x97, 0x77, - 0xa0, 0x79, 0xc8, 0x30, 0xfd, 0x44, 0x3b, 0x24, 0x2b, 0x38, 0xac, 0x2b, 0xcf, 0x95, 0x36, 0x49, - 0xe0, 0xb0, 0xa3, 0x9a, 0x0a, 0x23, 0x49, 0x0a, 0x90, 0x35, 0x7e, 0x38, 0xa9, 0x31, 0x85, 0xa4, - 0xaa, 0x5f, 0x43, 0xaa, 0x31, 0x0d, 0xd1, 0x4b, 0x3d, 0xcf, 0x0d, 0x9c, 0x3e, 0xf7, 0xad, 0xd0, - 0x9b, 0xf6, 0x5e, 0xcb, 0x2c, 0x2e, 0xc5, 0xa8, 0x89, 0x60, 0xb5, 0x06, 0x69, 0xec, 0xfb, 0x96, - 0x7e, 0xd4, 0x4a, 0xfc, 0xae, 0x1f, 0xb5, 0xaa, 0xbb, 0xb0, 0x2a, 0xdb, 0x3e, 0xfa, 0x31, 0x00, - 0x66, 0xc0, 0x88, 0xbb, 0xc3, 0xf0, 0xb5, 0x74, 0x75, 0x7e, 0x6c, 0xcf, 0xda, 0x02, 0xa8, 0x6e, - 0x43, 0x2e, 0xee, 0xea, 0xf0, 0x72, 0x0d, 0x3c, 0xbf, 0x37, 0xbf, 0x5c, 0x62, 0x52, 0x75, 0x60, - 0xed, 0x52, 0xef, 0x84, 0xc1, 0x8b, 0x2b, 0xae, 0x4c, 0xde, 0xf9, 0x9c, 0xde, 0x81, 0xdc, 0xcc, - 0x92, 0xcf, 0x71, 0xe4, 0xed, 0xd5, 0x99, 0x8c, 0xf9, 0x1d, 0xc8, 0x9d, 0xc7, 0x4b, 0x91, 0x97, - 0x57, 0xcf, 0xa5, 0x5b, 0xd3, 0xb9, 0x04, 0x49, 0x3e, 0xf8, 0x25, 0x01, 0x85, 0x85, 0x5f, 0xdb, - 0x28, 0x85, 0xb2, 0xa1, 0x76, 0xba, 0x6d, 0xc5, 0x3a, 0xd1, 0x9e, 0x69, 0xfa, 0x0b, 0x8d, 0xac, - 0xd0, 0x35, 0x28, 0xbc, 0x50, 0x6a, 0xcf, 0xac, 0x68, 0x81, 0x24, 0xe8, 0x3a, 0x94, 0x0c, 0x93, - 0xe9, 0xda, 0x51, 0x0c, 0x25, 0x69, 0x19, 0x40, 0xd3, 0xb5, 0x78, 0x9e, 0x12, 0x3c, 0x26, 0x3b, - 0x69, 0x98, 0x27, 0x4c, 0xb1, 0x9a, 0xed, 0xda, 0x0b, 0x92, 0xa6, 0xb7, 0x61, 0xe3, 0x50, 0x39, - 0x52, 0x34, 0x85, 0xd5, 0x4c, 0xc5, 0x32, 0x94, 0xa3, 0x8e, 0xa2, 0x99, 0x06, 0xc9, 0xa0, 0x72, - 0xa3, 0x7d, 0x62, 0x98, 0x0a, 0x53, 0xb5, 0x23, 0x92, 0xa5, 0x45, 0xc8, 0x35, 0x58, 0xad, 0xf1, - 0x0c, 0x67, 0xab, 0x62, 0x95, 0xe9, 0x86, 0x61, 0xe9, 0xcf, 0x15, 0x46, 0x72, 0x74, 0x13, 0x08, - 0xca, 0x59, 0x3a, 0x53, 0x15, 0xcd, 0xac, 0x99, 0xaa, 0xae, 0x91, 0xfc, 0x83, 0x57, 0x90, 0x9b, - 0x7f, 0xdb, 0x6e, 0x02, 0x91, 0xd6, 0x5b, 0x8a, 0xd6, 0xd0, 0x0f, 0x91, 0x67, 0x85, 0xae, 0x42, - 0xea, 0xc5, 0xb3, 0x3a, 0x49, 0x44, 0x03, 0x93, 0x24, 0x69, 0x01, 0x56, 0x8f, 0x14, 0xfd, 0xd8, - 0xd0, 0x35, 0x92, 0xc2, 0x6d, 0x14, 0x83, 0xa9, 0x96, 0x28, 0x39, 0x24, 0x4d, 0x73, 0x90, 0x56, - 0x50, 0x3e, 0xf3, 0xe0, 0xd7, 0x2c, 0x14, 0x17, 0xbf, 0xc4, 0x17, 0xf9, 0xf5, 0x2e, 0x9e, 0x46, - 0x67, 0x64, 0x05, 0xd9, 0xba, 0x4c, 0x3f, 0x56, 0x1a, 0x26, 0x49, 0xe0, 0xf9, 0x95, 0x97, 0x5d, - 0x9d, 0x99, 0x96, 0xa9, 0x5b, 0x62, 0x87, 0x24, 0xaa, 0xa9, 0x1d, 0x81, 0x35, 0x99, 0xde, 0xb1, - 0xe4, 0xbe, 0x15, 0xd8, 0xbc, 0x90, 0x5c, 0xb2, 0xa0, 0x0a, 0x5b, 0x8b, 0xf2, 0x0b, 0x6b, 0x19, - 0x4c, 0xfb, 0x13, 0x0d, 0x4f, 0x9e, 0x45, 0xc3, 0x0f, 0xd5, 0x66, 0x53, 0x61, 0x8a, 0xd6, 0x50, - 0xc8, 0x2a, 0x25, 0x50, 0xec, 0x32, 0xfd, 0xa5, 0xda, 0x51, 0xcd, 0x57, 0xd6, 0xc1, 0x21, 0xc9, - 0xe1, 0xc5, 0x60, 0x4a, 0xbb, 0x66, 0x2a, 0x24, 0x8f, 0x63, 0xe5, 0x87, 0x93, 0x5a, 0xdb, 0x20, - 0x80, 0x7e, 0x3e, 0x54, 0x8d, 0x63, 0x5d, 0xd5, 0x4c, 0x52, 0x40, 0x1e, 0x55, 0x33, 0x15, 0x66, - 0x28, 0x0d, 0xd3, 0x20, 0x45, 0x94, 0x7c, 0xa1, 0x9a, 0x2d, 0x55, 0x23, 0x25, 0x11, 0x11, 0x5d, - 0x33, 0x6b, 0xaa, 0x66, 0x90, 0x32, 0x9e, 0x54, 0x44, 0x44, 0x31, 0xc8, 0x1a, 0x4e, 0x4c, 0xfd, - 0xa4, 0xd1, 0x52, 0x0c, 0x42, 0x50, 0x0e, 0xa3, 0xd4, 0xae, 0x75, 0x0d, 0xb2, 0x8e, 0x0c, 0xf5, - 0x13, 0xb4, 0x8c, 0x50, 0xb9, 0x97, 0x59, 0x43, 0x1b, 0x37, 0xd0, 0xc6, 0xf9, 0x5e, 0x78, 0x8a, - 0x4d, 0x74, 0x77, 0xa3, 0xad, 0x76, 0xc9, 0x2d, 0x0c, 0x4f, 0xe3, 0xc4, 0x24, 0x5b, 0xf4, 0x16, - 0xac, 0x1f, 0x2a, 0x9a, 0xa1, 0x36, 0x5f, 0x59, 0xf5, 0x57, 0x56, 0x5b, 0xd1, 0x8e, 0xcc, 0x16, - 0xb9, 0x4d, 0x37, 0x60, 0xed, 0x48, 0xd1, 0x0f, 0x15, 0x43, 0x6d, 0x58, 0x92, 0xbe, 0x4a, 0xef, - 0x41, 0x55, 0x80, 0xa6, 0xda, 0xb0, 0xde, 0x57, 0xba, 0x8b, 0x29, 0x3b, 0x5f, 0xaf, 0x31, 0xa5, - 0x46, 0xee, 0xa1, 0x45, 0x22, 0x5d, 0xd5, 0xe6, 0x2b, 0x72, 0x1f, 0x2d, 0x8a, 0x67, 0x96, 0x7e, - 0xd4, 0x20, 0xdb, 0x68, 0xbd, 0xde, 0x6c, 0x1a, 0x8a, 0x49, 0x3e, 0x41, 0xdf, 0x44, 0x89, 0xdb, - 0x56, 0x7f, 0x54, 0xc8, 0x0e, 0xdd, 0x02, 0x7a, 0x31, 0xc7, 0x8d, 0x04, 0xe7, 0xa7, 0xb8, 0xcd, - 0x45, 0x30, 0x31, 0x7b, 0x3e, 0x43, 0x73, 0x17, 0xa3, 0x88, 0xe0, 0xe7, 0x97, 0xe5, 0x4c, 0xf2, - 0xc5, 0xfb, 0x72, 0x26, 0xf9, 0x12, 0xaf, 0xcc, 0x22, 0x18, 0x67, 0xeb, 0x2e, 0xfa, 0xe6, 0x82, - 0x20, 0x86, 0xff, 0x05, 0x93, 0xc9, 0x78, 0xd5, 0xe9, 0x28, 0x26, 0x43, 0x3f, 0x5c, 0x64, 0xc5, - 0x03, 0xbc, 0xc4, 0x0d, 0x5d, 0x7b, 0xae, 0xbc, 0xb4, 0x5a, 0x27, 0xed, 0x36, 0xf9, 0x0a, 0x8f, - 0x5f, 0xc7, 0xe7, 0xb4, 0xc6, 0x5e, 0x91, 0xaf, 0xd1, 0x20, 0x56, 0xd3, 0x0e, 0xf5, 0x8e, 0xd5, - 0xc5, 0x74, 0x30, 0xc8, 0x43, 0x4c, 0x57, 0x45, 0x6b, 0xb4, 0x75, 0x03, 0x2f, 0x5b, 0x43, 0x65, - 0x8d, 0xb6, 0x42, 0xf6, 0x10, 0xad, 0x35, 0x9b, 0xaa, 0xa6, 0x58, 0x26, 0xab, 0x69, 0x46, 0x53, - 0x67, 0x1d, 0xb2, 0x3f, 0x8f, 0x09, 0xba, 0x57, 0xfa, 0xfc, 0x11, 0x8a, 0xce, 0x41, 0x55, 0x7b, - 0x8e, 0xd1, 0x26, 0x8f, 0x97, 0x6f, 0x86, 0xb8, 0x61, 0x07, 0x97, 0x6f, 0x86, 0x40, 0x9f, 0xd4, - 0x03, 0xd8, 0xe8, 0x79, 0xe3, 0xcb, 0x0f, 0x70, 0xbd, 0x14, 0xb7, 0xe4, 0x5d, 0x04, 0xbb, 0x89, - 0x1f, 0xf7, 0x86, 0x4e, 0xf8, 0x7a, 0x7a, 0xba, 0xd7, 0xf3, 0xc6, 0xfb, 0x43, 0xee, 0x3d, 0x1c, - 0xfa, 0x93, 0xde, 0xbe, 0x3d, 0x71, 0xf6, 0x87, 0xde, 0xc8, 0x76, 0x87, 0xfb, 0x97, 0xfe, 0xb7, - 0xf3, 0xc7, 0x64, 0xfa, 0xa8, 0xd3, 0xad, 0xff, 0x9c, 0xfc, 0x10, 0xfb, 0x69, 0x56, 0x4c, 0x9e, - 0xfc, 0x3d, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x38, 0xec, 0xf7, 0x12, 0x1a, 0x00, 0x00, +var File_epl_protobuf_v1_geometry_proto protoreflect.FileDescriptor + +var file_epl_protobuf_v1_geometry_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x65, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, + 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0f, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, + 0x31, 0x22, 0xfd, 0x02, 0x0a, 0x0c, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x49, 0x64, 0x12, 0x12, 0x0a, 0x03, 0x77, 0x6b, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x03, 0x77, 0x6b, 0x74, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6f, 0x6a, 0x73, 0x6f, + 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6f, 0x6a, 0x73, + 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x03, 0x77, 0x6b, 0x62, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x48, + 0x00, 0x52, 0x03, 0x77, 0x6b, 0x62, 0x12, 0x1f, 0x0a, 0x0a, 0x65, 0x73, 0x72, 0x69, 0x5f, 0x73, + 0x68, 0x61, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x65, 0x73, + 0x72, 0x69, 0x53, 0x68, 0x61, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x65, 0x77, 0x6b, 0x62, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x65, 0x77, 0x6b, 0x62, 0x12, 0x33, 0x0a, + 0x04, 0x70, 0x72, 0x6f, 0x6a, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x70, 0x72, + 0x6f, 0x6a, 0x12, 0x39, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x12, 0x34, 0x0a, + 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x69, 0x6d, + 0x70, 0x6c, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x04, 0x08, 0x08, 0x10, + 0x0d, 0x22, 0xa1, 0x04, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x04, 0x65, 0x70, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x48, 0x00, 0x52, 0x04, 0x65, 0x70, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x05, 0x70, 0x72, + 0x6f, 0x6a, 0x34, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x70, 0x72, 0x6f, + 0x6a, 0x34, 0x12, 0x40, 0x0a, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x00, 0x52, 0x06, 0x63, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x03, 0x77, 0x6b, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x03, 0x77, 0x6b, 0x74, 0x12, 0x39, 0x0a, 0x08, 0x67, 0x65, 0x6f, 0x6d, + 0x65, 0x74, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, + 0x6d, 0x65, 0x74, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x67, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x04, 0x62, 0x62, 0x6f, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x04, 0x62, 0x62, 0x6f, 0x78, 0x12, 0x39, 0x0a, 0x08, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x6f, + 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x69, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x09, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x1a, 0x73, 0x0a, 0x06, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, + 0x13, 0x0a, 0x05, 0x6c, 0x6f, 0x6e, 0x5f, 0x30, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, + 0x6c, 0x6f, 0x6e, 0x30, 0x12, 0x13, 0x0a, 0x05, 0x6c, 0x61, 0x74, 0x5f, 0x30, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x04, 0x6c, 0x61, 0x74, 0x30, 0x12, 0x3f, 0x0a, 0x07, 0x63, 0x73, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x53, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x06, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x19, 0x0a, 0x06, 0x43, 0x53, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x41, 0x4d, 0x42, 0x45, 0x52, 0x54, 0x5f, + 0x41, 0x5a, 0x49, 0x10, 0x00, 0x42, 0x0c, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, + 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0xbb, 0x01, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, + 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x78, 0x6d, 0x69, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x78, 0x6d, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x6d, + 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x79, 0x6d, 0x69, 0x6e, 0x12, 0x12, + 0x0a, 0x04, 0x78, 0x6d, 0x61, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x78, 0x6d, + 0x61, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x04, 0x79, 0x6d, 0x61, 0x78, 0x12, 0x33, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x6a, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x6a, 0x12, 0x12, 0x0a, 0x04, 0x7a, + 0x6d, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x7a, 0x6d, 0x69, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x7a, 0x6d, 0x61, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x7a, + 0x6d, 0x61, 0x78, 0x22, 0xe3, 0x0e, 0x0a, 0x0f, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x67, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, + 0x65, 0x74, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x67, 0x65, 0x6f, 0x6d, + 0x65, 0x74, 0x72, 0x79, 0x12, 0x44, 0x0a, 0x0d, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x67, 0x65, 0x6f, + 0x6d, 0x65, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0c, 0x6c, 0x65, + 0x66, 0x74, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x12, 0x4d, 0x0a, 0x10, 0x67, 0x65, + 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x15, 0x6c, 0x65, 0x66, + 0x74, 0x5f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x13, 0x6c, 0x65, + 0x66, 0x74, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x46, 0x0a, 0x0e, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x67, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, + 0x65, 0x74, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x48, 0x01, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, + 0x74, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x12, 0x58, 0x0a, 0x16, 0x72, 0x69, 0x67, + 0x68, 0x74, 0x5f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, + 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x01, 0x52, 0x14, 0x72, + 0x69, 0x67, 0x68, 0x74, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x42, + 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, + 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, + 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, + 0x6e, 0x67, 0x12, 0x46, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x70, 0x72, 0x6f, 0x6a, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6a, 0x12, 0x40, 0x0a, 0x0b, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x0a, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x12, 0x45, 0x0a, 0x0d, + 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x42, 0x75, 0x66, + 0x66, 0x65, 0x72, 0x48, 0x02, 0x52, 0x0c, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x78, 0x5f, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x78, 0x48, 0x02, 0x52, 0x0c, 0x63, 0x6f, + 0x6e, 0x76, 0x65, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, + 0x65, 0x48, 0x02, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x12, 0x58, 0x0a, 0x14, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x48, 0x02, 0x52, 0x12, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x51, 0x0a, 0x11, 0x67, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x48, 0x02, 0x52, 0x10, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x57, + 0x0a, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x48, 0x02, 0x52, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x6f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x48, 0x02, + 0x52, 0x0c, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x3c, + 0x0a, 0x0a, 0x63, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x43, 0x75, 0x74, 0x48, + 0x02, 0x52, 0x09, 0x63, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x3f, 0x0a, 0x0b, + 0x63, 0x6c, 0x69, 0x70, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x43, 0x6c, 0x69, 0x70, 0x48, + 0x02, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x48, 0x0a, + 0x0e, 0x64, 0x65, 0x6e, 0x73, 0x69, 0x66, 0x79, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, + 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x44, + 0x65, 0x6e, 0x73, 0x69, 0x66, 0x79, 0x48, 0x02, 0x52, 0x0d, 0x64, 0x65, 0x6e, 0x73, 0x69, 0x66, + 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x73, 0x69, 0x6d, 0x70, 0x6c, + 0x69, 0x66, 0x79, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, + 0x66, 0x79, 0x48, 0x02, 0x52, 0x0e, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x12, 0x65, 0x0a, 0x19, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x69, + 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x41, 0x72, 0x65, + 0x61, 0x48, 0x02, 0x52, 0x16, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, + 0x79, 0x41, 0x72, 0x65, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x61, 0x0a, 0x17, 0x61, + 0x66, 0x66, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, + 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x65, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x48, 0x02, 0x52, 0x15, 0x61, 0x66, 0x66, 0x69, 0x6e, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x5e, + 0x0a, 0x16, 0x67, 0x65, 0x6f, 0x64, 0x65, 0x74, 0x69, 0x63, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, + 0x72, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x65, 0x6f, 0x64, 0x65, 0x74, 0x69, 0x63, + 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x48, 0x02, 0x52, 0x14, 0x67, 0x65, 0x6f, 0x64, 0x65, 0x74, + 0x69, 0x63, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x06, + 0x0a, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x42, + 0x08, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x55, 0x0a, 0x0f, 0x47, 0x65, 0x6f, + 0x64, 0x65, 0x74, 0x69, 0x63, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x61, 0x7a, 0x31, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x61, 0x7a, 0x31, 0x32, + 0x12, 0x12, 0x0a, 0x04, 0x61, 0x7a, 0x32, 0x31, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, + 0x61, 0x7a, 0x32, 0x31, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x22, 0x88, 0x03, 0x0a, 0x10, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, + 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, + 0x72, 0x79, 0x12, 0x33, 0x0a, 0x14, 0x73, 0x70, 0x61, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x48, 0x00, 0x52, 0x13, 0x73, 0x70, 0x61, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x07, 0x6d, 0x65, 0x61, 0x73, 0x75, + 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x61, 0x73, + 0x75, 0x72, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x67, 0x65, 0x6f, 0x64, 0x65, 0x74, 0x69, 0x63, 0x5f, + 0x69, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x6f, 0x64, 0x65, 0x74, 0x69, 0x63, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x48, + 0x00, 0x52, 0x0f, 0x67, 0x65, 0x6f, 0x64, 0x65, 0x74, 0x69, 0x63, 0x49, 0x6e, 0x76, 0x65, 0x72, + 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, + 0x4d, 0x61, 0x70, 0x1a, 0x3c, 0x0a, 0x0e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xc6, 0x03, 0x0a, 0x10, + 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, + 0x12, 0x47, 0x0a, 0x0e, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0d, 0x6e, 0x65, 0x73, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x14, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, + 0x6e, 0x67, 0x52, 0x12, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, + 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, + 0x70, 0x72, 0x6f, 0x6a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x69, 0x6e, 0x70, + 0x75, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x12, 0x40, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6c, 0x61, 0x73, 0x74, + 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, + 0x4c, 0x61, 0x73, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x22, 0x19, 0x0a, 0x08, 0x46, 0x69, 0x6c, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x48, 0x41, 0x50, 0x45, 0x46, 0x49, + 0x4c, 0x45, 0x10, 0x00, 0x22, 0xd2, 0x0a, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, + 0xaa, 0x01, 0x0a, 0x06, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x65, + 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x6d, + 0x61, 0x78, 0x44, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x75, + 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3c, + 0x0a, 0x1b, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x65, 0x73, 0x5f, 0x69, + 0x6e, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x17, 0x6d, 0x61, 0x78, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x65, 0x73, + 0x49, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x1a, 0xb2, 0x01, 0x0a, + 0x0e, 0x47, 0x65, 0x6f, 0x64, 0x65, 0x74, 0x69, 0x63, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, + 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, + 0x61, 0x78, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x44, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x65, 0x72, 0x74, 0x69, + 0x63, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x63, 0x69, 0x72, 0x63, + 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x6d, 0x61, 0x78, 0x56, 0x65, 0x72, + 0x74, 0x69, 0x63, 0x65, 0x73, 0x49, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x43, 0x69, 0x72, 0x63, 0x6c, + 0x65, 0x1a, 0x1e, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x6d, + 0x65, 0x72, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6d, 0x65, 0x72, 0x67, + 0x65, 0x1a, 0x1f, 0x0a, 0x06, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x64, + 0x65, 0x5f, 0x39, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x39, + 0x69, 0x6d, 0x1a, 0x53, 0x0a, 0x0c, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, + 0x5f, 0x73, 0x71, 0x75, 0x61, 0x72, 0x65, 0x5f, 0x6b, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x11, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x50, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x72, + 0x65, 0x4b, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x1a, 0x60, 0x0a, 0x0a, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x65, 0x76, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x61, + 0x78, 0x44, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x96, 0x01, 0x0a, 0x10, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x41, 0x72, 0x65, 0x61, 0x12, 0x2b, + 0x0a, 0x11, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x70, 0x65, 0x72, 0x63, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6d, + 0x61, 0x78, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x64, 0x65, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x73, 0x1a, 0x35, 0x0a, 0x0c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x64, 0x69, 0x6d, 0x65, + 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x73, 0x6b, 0x1a, 0xf5, 0x01, 0x0a, 0x06, 0x4f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x4a, 0x0a, 0x09, 0x6a, 0x6f, 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x4f, 0x66, 0x66, + 0x73, 0x65, 0x74, 0x2e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x08, 0x6a, 0x6f, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x62, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0a, 0x62, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x23, 0x0a, + 0x0d, 0x66, 0x6c, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x66, 0x6c, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x22, 0x3d, 0x0a, 0x0e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x4a, 0x6f, 0x69, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x00, 0x12, + 0x09, 0x0a, 0x05, 0x42, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x49, + 0x54, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x51, 0x55, 0x41, 0x52, 0x45, 0x10, + 0x03, 0x1a, 0x2c, 0x0a, 0x03, 0x43, 0x75, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73, + 0x69, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x75, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x64, 0x65, 0x72, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x1a, + 0x41, 0x0a, 0x04, 0x43, 0x6c, 0x69, 0x70, 0x12, 0x39, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, + 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x65, + 0x6c, 0x6f, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, + 0x70, 0x65, 0x1a, 0x28, 0x0a, 0x07, 0x44, 0x65, 0x6e, 0x73, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, + 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x1a, 0x20, 0x0a, 0x08, + 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x1a, 0x69, + 0x0a, 0x0f, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x65, 0x6f, 0x64, 0x65, 0x74, 0x69, 0x63, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x67, 0x65, 0x6f, 0x64, 0x65, 0x74, 0x69, 0x63, 0x12, 0x19, 0x0a, + 0x08, 0x78, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x07, 0x78, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x79, 0x5f, 0x6f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x79, 0x4f, 0x66, 0x66, + 0x73, 0x65, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x2a, 0xc6, 0x01, 0x0a, 0x0b, 0x53, 0x69, + 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x49, 0x4d, + 0x50, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, + 0x0b, 0x57, 0x45, 0x41, 0x4b, 0x5f, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x11, + 0x0a, 0x0d, 0x53, 0x54, 0x52, 0x4f, 0x4e, 0x47, 0x5f, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x10, + 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x4e, 0x5f, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x10, + 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x46, + 0x4c, 0x41, 0x57, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x45, 0x47, 0x45, 0x4e, 0x45, 0x52, + 0x41, 0x54, 0x45, 0x5f, 0x53, 0x45, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x05, 0x12, 0x0e, + 0x0a, 0x0a, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x0c, + 0x0a, 0x08, 0x43, 0x52, 0x41, 0x43, 0x4b, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, + 0x43, 0x52, 0x4f, 0x53, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, + 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x52, 0x49, 0x45, 0x4e, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x10, 0x09, 0x2a, 0x59, 0x0a, 0x08, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x14, + 0x0a, 0x10, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, + 0x4e, 0x47, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x57, 0x4b, 0x42, 0x10, 0x01, 0x12, 0x07, 0x0a, + 0x03, 0x57, 0x4b, 0x54, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x47, 0x45, 0x4f, 0x4a, 0x53, 0x4f, + 0x4e, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x53, 0x52, 0x49, 0x5f, 0x53, 0x48, 0x41, 0x50, + 0x45, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x45, 0x57, 0x4b, 0x42, 0x10, 0x05, 0x2a, 0xf5, 0x06, + 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, + 0x0a, 0x10, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, + 0x4f, 0x52, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, + 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, + 0x53, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, + 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x45, + 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x45, 0x53, 0x52, 0x49, 0x5f, 0x53, 0x48, + 0x41, 0x50, 0x45, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, + 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x53, 0x52, 0x49, 0x5f, 0x53, 0x48, 0x41, 0x50, 0x45, 0x10, + 0x05, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, + 0x44, 0x49, 0x46, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, + 0x50, 0x52, 0x4f, 0x58, 0x49, 0x4d, 0x49, 0x54, 0x59, 0x5f, 0x32, 0x44, 0x10, 0x08, 0x12, 0x0a, + 0x0a, 0x06, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x09, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x51, + 0x55, 0x41, 0x4c, 0x53, 0x10, 0x0a, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x4a, 0x4f, 0x49, + 0x4e, 0x54, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x45, 0x43, + 0x54, 0x53, 0x10, 0x0c, 0x12, 0x0a, 0x0a, 0x06, 0x57, 0x49, 0x54, 0x48, 0x49, 0x4e, 0x10, 0x0d, + 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x53, 0x10, 0x0e, 0x12, 0x0b, + 0x0a, 0x07, 0x43, 0x52, 0x4f, 0x53, 0x53, 0x45, 0x53, 0x10, 0x0f, 0x12, 0x0b, 0x0a, 0x07, 0x54, + 0x4f, 0x55, 0x43, 0x48, 0x45, 0x53, 0x10, 0x10, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x56, 0x45, 0x52, + 0x4c, 0x41, 0x50, 0x53, 0x10, 0x11, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x55, 0x46, 0x46, 0x45, 0x52, + 0x10, 0x12, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x13, + 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x10, 0x14, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4c, 0x49, 0x50, 0x10, 0x15, 0x12, 0x07, 0x0a, 0x03, + 0x43, 0x55, 0x54, 0x10, 0x16, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x45, 0x4e, 0x53, 0x49, 0x46, 0x59, + 0x5f, 0x42, 0x59, 0x5f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x10, 0x17, 0x12, 0x13, 0x0a, 0x0f, + 0x47, 0x45, 0x4f, 0x44, 0x45, 0x53, 0x49, 0x43, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x45, 0x52, 0x10, + 0x1a, 0x12, 0x1e, 0x0a, 0x1a, 0x47, 0x45, 0x4f, 0x44, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x44, 0x45, + 0x4e, 0x53, 0x49, 0x46, 0x59, 0x5f, 0x42, 0x59, 0x5f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x10, + 0x1b, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x45, 0x4f, 0x44, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x41, 0x52, + 0x45, 0x41, 0x10, 0x1e, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x46, 0x59, + 0x10, 0x1f, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x46, 0x59, 0x5f, 0x4f, + 0x47, 0x43, 0x10, 0x20, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x46, 0x46, 0x53, 0x45, 0x54, 0x10, 0x21, + 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x4c, 0x49, 0x5a, 0x45, 0x10, 0x22, + 0x12, 0x16, 0x0a, 0x12, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x4c, 0x49, 0x5a, 0x45, 0x5f, 0x42, + 0x59, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x10, 0x23, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x58, 0x50, 0x4f, + 0x52, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x57, 0x4b, 0x42, 0x10, 0x24, 0x12, 0x13, 0x0a, 0x0f, 0x49, + 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x57, 0x4b, 0x42, 0x10, 0x25, + 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x57, 0x4b, + 0x54, 0x10, 0x26, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x52, + 0x4f, 0x4d, 0x5f, 0x57, 0x4b, 0x54, 0x10, 0x27, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4d, 0x50, 0x4f, + 0x52, 0x54, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x47, 0x45, 0x4f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, + 0x28, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x47, + 0x45, 0x4f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x29, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x59, 0x4d, 0x4d, + 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x44, 0x49, 0x46, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, + 0x10, 0x2a, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4e, 0x56, 0x45, 0x58, 0x5f, 0x48, 0x55, 0x4c, + 0x4c, 0x10, 0x2b, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x52, 0x59, 0x10, + 0x2c, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x5f, 0x50, 0x4f, 0x49, 0x4e, + 0x54, 0x53, 0x10, 0x2d, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x4e, 0x43, 0x4c, 0x4f, 0x53, 0x49, 0x4e, + 0x47, 0x5f, 0x43, 0x49, 0x52, 0x43, 0x4c, 0x45, 0x10, 0x2e, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x46, + 0x46, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x2f, + 0x12, 0x13, 0x0a, 0x0f, 0x47, 0x45, 0x4f, 0x44, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x4c, 0x45, 0x4e, + 0x47, 0x54, 0x48, 0x10, 0x30, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x45, 0x4f, 0x44, 0x45, 0x54, 0x49, + 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x45, 0x52, 0x53, 0x45, 0x10, 0x31, 0x12, 0x12, 0x0a, 0x0e, 0x45, + 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x45, 0x57, 0x4b, 0x42, 0x10, 0x32, 0x12, + 0x14, 0x0a, 0x10, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x45, + 0x57, 0x4b, 0x42, 0x10, 0x33, 0x42, 0x73, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x47, 0x65, + 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x65, 0x6f, 0x2d, 0x67, 0x72, + 0x70, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x65, 0x70, + 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x04, + 0x47, 0x4d, 0x50, 0x42, 0xaa, 0x02, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_epl_protobuf_v1_geometry_proto_rawDescOnce sync.Once + file_epl_protobuf_v1_geometry_proto_rawDescData = file_epl_protobuf_v1_geometry_proto_rawDesc +) + +func file_epl_protobuf_v1_geometry_proto_rawDescGZIP() []byte { + file_epl_protobuf_v1_geometry_proto_rawDescOnce.Do(func() { + file_epl_protobuf_v1_geometry_proto_rawDescData = protoimpl.X.CompressGZIP(file_epl_protobuf_v1_geometry_proto_rawDescData) + }) + return file_epl_protobuf_v1_geometry_proto_rawDescData +} + +var file_epl_protobuf_v1_geometry_proto_enumTypes = make([]protoimpl.EnumInfo, 6) +var file_epl_protobuf_v1_geometry_proto_msgTypes = make([]protoimpl.MessageInfo, 24) +var file_epl_protobuf_v1_geometry_proto_goTypes = []interface{}{ + (SimpleState)(0), // 0: epl.protobuf.v1.SimpleState + (Encoding)(0), // 1: epl.protobuf.v1.Encoding + (OperatorType)(0), // 2: epl.protobuf.v1.OperatorType + (ProjectionData_CSType)(0), // 3: epl.protobuf.v1.ProjectionData.CSType + (FileRequestChunk_FileType)(0), // 4: epl.protobuf.v1.FileRequestChunk.FileType + (Params_Offset_OffsetJoinType)(0), // 5: epl.protobuf.v1.Params.Offset.OffsetJoinType + (*GeometryData)(nil), // 6: epl.protobuf.v1.GeometryData + (*ProjectionData)(nil), // 7: epl.protobuf.v1.ProjectionData + (*EnvelopeData)(nil), // 8: epl.protobuf.v1.EnvelopeData + (*GeometryRequest)(nil), // 9: epl.protobuf.v1.GeometryRequest + (*GeodeticInverse)(nil), // 10: epl.protobuf.v1.GeodeticInverse + (*GeometryResponse)(nil), // 11: epl.protobuf.v1.GeometryResponse + (*FileRequestChunk)(nil), // 12: epl.protobuf.v1.FileRequestChunk + (*Params)(nil), // 13: epl.protobuf.v1.Params + (*ProjectionData_Custom)(nil), // 14: epl.protobuf.v1.ProjectionData.Custom + nil, // 15: epl.protobuf.v1.GeometryResponse.RelateMapEntry + (*Params_Buffer)(nil), // 16: epl.protobuf.v1.Params.Buffer + (*Params_GeodeticBuffer)(nil), // 17: epl.protobuf.v1.Params.GeodeticBuffer + (*Params_Convex)(nil), // 18: epl.protobuf.v1.Params.Convex + (*Params_Relate)(nil), // 19: epl.protobuf.v1.Params.Relate + (*Params_RandomPoints)(nil), // 20: epl.protobuf.v1.Params.RandomPoints + (*Params_Generalize)(nil), // 21: epl.protobuf.v1.Params.Generalize + (*Params_GeneralizeByArea)(nil), // 22: epl.protobuf.v1.Params.GeneralizeByArea + (*Params_Intersection)(nil), // 23: epl.protobuf.v1.Params.Intersection + (*Params_Offset)(nil), // 24: epl.protobuf.v1.Params.Offset + (*Params_Cut)(nil), // 25: epl.protobuf.v1.Params.Cut + (*Params_Clip)(nil), // 26: epl.protobuf.v1.Params.Clip + (*Params_Densify)(nil), // 27: epl.protobuf.v1.Params.Densify + (*Params_Simplify)(nil), // 28: epl.protobuf.v1.Params.Simplify + (*Params_AffineTransform)(nil), // 29: epl.protobuf.v1.Params.AffineTransform +} +var file_epl_protobuf_v1_geometry_proto_depIdxs = []int32{ + 7, // 0: epl.protobuf.v1.GeometryData.proj:type_name -> epl.protobuf.v1.ProjectionData + 8, // 1: epl.protobuf.v1.GeometryData.envelope:type_name -> epl.protobuf.v1.EnvelopeData + 0, // 2: epl.protobuf.v1.GeometryData.simple:type_name -> epl.protobuf.v1.SimpleState + 14, // 3: epl.protobuf.v1.ProjectionData.custom:type_name -> epl.protobuf.v1.ProjectionData.Custom + 6, // 4: epl.protobuf.v1.ProjectionData.geometry:type_name -> epl.protobuf.v1.GeometryData + 8, // 5: epl.protobuf.v1.ProjectionData.bbox:type_name -> epl.protobuf.v1.EnvelopeData + 6, // 6: epl.protobuf.v1.ProjectionData.centroid:type_name -> epl.protobuf.v1.GeometryData + 7, // 7: epl.protobuf.v1.EnvelopeData.proj:type_name -> epl.protobuf.v1.ProjectionData + 6, // 8: epl.protobuf.v1.GeometryRequest.geometry:type_name -> epl.protobuf.v1.GeometryData + 6, // 9: epl.protobuf.v1.GeometryRequest.left_geometry:type_name -> epl.protobuf.v1.GeometryData + 9, // 10: epl.protobuf.v1.GeometryRequest.geometry_request:type_name -> epl.protobuf.v1.GeometryRequest + 9, // 11: epl.protobuf.v1.GeometryRequest.left_geometry_request:type_name -> epl.protobuf.v1.GeometryRequest + 6, // 12: epl.protobuf.v1.GeometryRequest.right_geometry:type_name -> epl.protobuf.v1.GeometryData + 9, // 13: epl.protobuf.v1.GeometryRequest.right_geometry_request:type_name -> epl.protobuf.v1.GeometryRequest + 2, // 14: epl.protobuf.v1.GeometryRequest.operator:type_name -> epl.protobuf.v1.OperatorType + 1, // 15: epl.protobuf.v1.GeometryRequest.result_encoding:type_name -> epl.protobuf.v1.Encoding + 7, // 16: epl.protobuf.v1.GeometryRequest.operation_proj:type_name -> epl.protobuf.v1.ProjectionData + 7, // 17: epl.protobuf.v1.GeometryRequest.result_proj:type_name -> epl.protobuf.v1.ProjectionData + 16, // 18: epl.protobuf.v1.GeometryRequest.buffer_params:type_name -> epl.protobuf.v1.Params.Buffer + 18, // 19: epl.protobuf.v1.GeometryRequest.convex_params:type_name -> epl.protobuf.v1.Params.Convex + 19, // 20: epl.protobuf.v1.GeometryRequest.relate_params:type_name -> epl.protobuf.v1.Params.Relate + 20, // 21: epl.protobuf.v1.GeometryRequest.random_points_params:type_name -> epl.protobuf.v1.Params.RandomPoints + 21, // 22: epl.protobuf.v1.GeometryRequest.generalize_params:type_name -> epl.protobuf.v1.Params.Generalize + 23, // 23: epl.protobuf.v1.GeometryRequest.intersection_params:type_name -> epl.protobuf.v1.Params.Intersection + 24, // 24: epl.protobuf.v1.GeometryRequest.offset_params:type_name -> epl.protobuf.v1.Params.Offset + 25, // 25: epl.protobuf.v1.GeometryRequest.cut_params:type_name -> epl.protobuf.v1.Params.Cut + 26, // 26: epl.protobuf.v1.GeometryRequest.clip_params:type_name -> epl.protobuf.v1.Params.Clip + 27, // 27: epl.protobuf.v1.GeometryRequest.densify_params:type_name -> epl.protobuf.v1.Params.Densify + 28, // 28: epl.protobuf.v1.GeometryRequest.simplify_params:type_name -> epl.protobuf.v1.Params.Simplify + 22, // 29: epl.protobuf.v1.GeometryRequest.generalize_by_area_params:type_name -> epl.protobuf.v1.Params.GeneralizeByArea + 29, // 30: epl.protobuf.v1.GeometryRequest.affine_transform_params:type_name -> epl.protobuf.v1.Params.AffineTransform + 17, // 31: epl.protobuf.v1.GeometryRequest.geodetic_buffer_params:type_name -> epl.protobuf.v1.Params.GeodeticBuffer + 6, // 32: epl.protobuf.v1.GeometryResponse.geometry:type_name -> epl.protobuf.v1.GeometryData + 10, // 33: epl.protobuf.v1.GeometryResponse.geodetic_inverse:type_name -> epl.protobuf.v1.GeodeticInverse + 15, // 34: epl.protobuf.v1.GeometryResponse.relate_map:type_name -> epl.protobuf.v1.GeometryResponse.RelateMapEntry + 9, // 35: epl.protobuf.v1.FileRequestChunk.nested_request:type_name -> epl.protobuf.v1.GeometryRequest + 1, // 36: epl.protobuf.v1.FileRequestChunk.result_encoding_type:type_name -> epl.protobuf.v1.Encoding + 7, // 37: epl.protobuf.v1.FileRequestChunk.input_proj:type_name -> epl.protobuf.v1.ProjectionData + 7, // 38: epl.protobuf.v1.FileRequestChunk.result_proj:type_name -> epl.protobuf.v1.ProjectionData + 3, // 39: epl.protobuf.v1.ProjectionData.Custom.cs_type:type_name -> epl.protobuf.v1.ProjectionData.CSType + 5, // 40: epl.protobuf.v1.Params.Offset.join_type:type_name -> epl.protobuf.v1.Params.Offset.OffsetJoinType + 8, // 41: epl.protobuf.v1.Params.Clip.envelope:type_name -> epl.protobuf.v1.EnvelopeData + 42, // [42:42] is the sub-list for method output_type + 42, // [42:42] is the sub-list for method input_type + 42, // [42:42] is the sub-list for extension type_name + 42, // [42:42] is the sub-list for extension extendee + 0, // [0:42] is the sub-list for field type_name +} + +func init() { file_epl_protobuf_v1_geometry_proto_init() } +func file_epl_protobuf_v1_geometry_proto_init() { + if File_epl_protobuf_v1_geometry_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_epl_protobuf_v1_geometry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeometryData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectionData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvelopeData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeometryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeodeticInverse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeometryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileRequestChunk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectionData_Custom); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Buffer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_GeodeticBuffer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Convex); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Relate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_RandomPoints); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Generalize); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_GeneralizeByArea); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Intersection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Offset); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Cut); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Clip); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Densify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_Simplify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params_AffineTransform); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_epl_protobuf_v1_geometry_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*GeometryData_Wkt)(nil), + (*GeometryData_Geojson)(nil), + (*GeometryData_Wkb)(nil), + (*GeometryData_EsriShape)(nil), + (*GeometryData_Ewkb)(nil), + } + file_epl_protobuf_v1_geometry_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*ProjectionData_Epsg)(nil), + (*ProjectionData_Proj4)(nil), + (*ProjectionData_Custom_)(nil), + (*ProjectionData_Wkt)(nil), + } + file_epl_protobuf_v1_geometry_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*GeometryRequest_Geometry)(nil), + (*GeometryRequest_LeftGeometry)(nil), + (*GeometryRequest_GeometryRequest)(nil), + (*GeometryRequest_LeftGeometryRequest)(nil), + (*GeometryRequest_RightGeometry)(nil), + (*GeometryRequest_RightGeometryRequest)(nil), + (*GeometryRequest_BufferParams)(nil), + (*GeometryRequest_ConvexParams)(nil), + (*GeometryRequest_RelateParams)(nil), + (*GeometryRequest_RandomPointsParams)(nil), + (*GeometryRequest_GeneralizeParams)(nil), + (*GeometryRequest_IntersectionParams)(nil), + (*GeometryRequest_OffsetParams)(nil), + (*GeometryRequest_CutParams)(nil), + (*GeometryRequest_ClipParams)(nil), + (*GeometryRequest_DensifyParams)(nil), + (*GeometryRequest_SimplifyParams)(nil), + (*GeometryRequest_GeneralizeByAreaParams)(nil), + (*GeometryRequest_AffineTransformParams)(nil), + (*GeometryRequest_GeodeticBufferParams)(nil), + } + file_epl_protobuf_v1_geometry_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*GeometryResponse_Geometry)(nil), + (*GeometryResponse_SpatialRelationship)(nil), + (*GeometryResponse_Measure)(nil), + (*GeometryResponse_GeodeticInverse)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_epl_protobuf_v1_geometry_proto_rawDesc, + NumEnums: 6, + NumMessages: 24, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_epl_protobuf_v1_geometry_proto_goTypes, + DependencyIndexes: file_epl_protobuf_v1_geometry_proto_depIdxs, + EnumInfos: file_epl_protobuf_v1_geometry_proto_enumTypes, + MessageInfos: file_epl_protobuf_v1_geometry_proto_msgTypes, + }.Build() + File_epl_protobuf_v1_geometry_proto = out.File + file_epl_protobuf_v1_geometry_proto_rawDesc = nil + file_epl_protobuf_v1_geometry_proto_goTypes = nil + file_epl_protobuf_v1_geometry_proto_depIdxs = nil } diff --git a/golang/epl/protobuf/v1/geometry_service.pb.go b/golang/epl/protobuf/v1/geometry_service.pb.go index b02281e..44a85f2 100644 --- a/golang/epl/protobuf/v1/geometry_service.pb.go +++ b/golang/epl/protobuf/v1/geometry_service.pb.go @@ -1,53 +1,151 @@ +// +//Copyright 2017-2019 Echo Park Labs +// +//Licensed 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. +// +//For additional information, contact: +// +//email: info@echoparklabs.io + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0-devel +// protoc v3.15.2 // source: epl/protobuf/v1/geometry_service.proto package v1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("epl/protobuf/v1/geometry_service.proto", fileDescriptor_494a01c76b97a366) -} - -var fileDescriptor_494a01c76b97a366 = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0x2d, 0xc8, 0xd1, - 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0xcf, - 0x4d, 0x2d, 0x29, 0xaa, 0x8c, 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x03, 0x4b, 0x0a, - 0xf1, 0xa7, 0x16, 0xe4, 0xe8, 0xc1, 0xd4, 0xe9, 0x95, 0x19, 0x4a, 0xc9, 0xe1, 0xd2, 0x08, 0x51, - 0x65, 0x74, 0x8a, 0x85, 0x8b, 0xdf, 0x1d, 0x2a, 0x14, 0x0c, 0x31, 0x4a, 0x28, 0x80, 0x8b, 0xdd, - 0xbf, 0x20, 0xb5, 0x28, 0xb1, 0x24, 0x55, 0x48, 0x41, 0x0f, 0xcd, 0x40, 0x3d, 0x98, 0xe2, 0xa0, - 0xd4, 0xc2, 0xd2, 0xd4, 0xe2, 0x12, 0x29, 0x45, 0x3c, 0x2a, 0x8a, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, - 0x95, 0x18, 0x84, 0x62, 0xb8, 0xf8, 0xa1, 0x26, 0x3a, 0x65, 0x06, 0x97, 0x14, 0xa5, 0x26, 0xe6, - 0x52, 0xc9, 0x64, 0x0d, 0x46, 0x03, 0x46, 0xa1, 0x04, 0x2e, 0x61, 0x34, 0xd3, 0xdd, 0x72, 0xf2, - 0xcb, 0xa9, 0x69, 0x43, 0x1c, 0xdc, 0x06, 0x50, 0x18, 0xa5, 0x16, 0x51, 0xd5, 0x0f, 0x28, 0xe6, - 0x3b, 0xe7, 0x64, 0xa6, 0xe6, 0x95, 0x50, 0x39, 0x8c, 0x84, 0x52, 0xb9, 0xc4, 0xdd, 0x32, 0x73, - 0x52, 0xb1, 0x85, 0x12, 0xa6, 0x09, 0x20, 0x95, 0x50, 0xf3, 0x9d, 0x33, 0x4a, 0xf3, 0xb2, 0x89, - 0x0e, 0x26, 0xa7, 0x4a, 0x2e, 0xe1, 0xe4, 0xfc, 0x5c, 0x74, 0xd5, 0x4e, 0x22, 0x68, 0x09, 0x2c, - 0x00, 0x24, 0x17, 0xc0, 0x18, 0xa5, 0x97, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, - 0x0b, 0x4a, 0x96, 0xba, 0xe9, 0x45, 0x05, 0xc9, 0xfa, 0x89, 0x05, 0x99, 0xfa, 0xe9, 0xf9, 0x39, - 0x89, 0x79, 0xe9, 0xfa, 0x68, 0x49, 0x77, 0x11, 0x13, 0xb3, 0xbb, 0x6f, 0xf0, 0x2a, 0x26, 0x6c, - 0x76, 0x24, 0xb1, 0x81, 0x39, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x6b, 0x09, 0x12, - 0x29, 0x03, 0x00, 0x00, +var File_epl_protobuf_v1_geometry_service_proto protoreflect.FileDescriptor + +var file_epl_protobuf_v1_geometry_service_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x65, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, + 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x65, 0x70, 0x6c, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xca, 0x04, 0x0a, 0x0f, 0x47, 0x65, + 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, + 0x07, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, + 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x5c, 0x0a, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x42, 0x69, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x12, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x60, 0x0a, + 0x13, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x42, 0x69, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, + 0x5e, 0x0a, 0x13, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, + 0x5e, 0x0a, 0x13, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x12, + 0x65, 0x0a, 0x17, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x42, 0x69, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x21, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x1a, 0x21, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x79, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x47, + 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x67, 0x65, 0x6f, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, + 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x65, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x47, 0x4d, 0x53, 0xaa, 0x02, 0x13, 0x63, 0x6f, + 0x6d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_epl_protobuf_v1_geometry_service_proto_goTypes = []interface{}{ + (*GeometryRequest)(nil), // 0: epl.protobuf.v1.GeometryRequest + (*FileRequestChunk)(nil), // 1: epl.protobuf.v1.FileRequestChunk + (*GeometryResponse)(nil), // 2: epl.protobuf.v1.GeometryResponse +} +var file_epl_protobuf_v1_geometry_service_proto_depIdxs = []int32{ + 0, // 0: epl.protobuf.v1.GeometryService.Operate:input_type -> epl.protobuf.v1.GeometryRequest + 0, // 1: epl.protobuf.v1.GeometryService.OperateBiStream:input_type -> epl.protobuf.v1.GeometryRequest + 0, // 2: epl.protobuf.v1.GeometryService.OperateBiStreamFlow:input_type -> epl.protobuf.v1.GeometryRequest + 0, // 3: epl.protobuf.v1.GeometryService.OperateServerStream:input_type -> epl.protobuf.v1.GeometryRequest + 0, // 4: epl.protobuf.v1.GeometryService.OperateClientStream:input_type -> epl.protobuf.v1.GeometryRequest + 1, // 5: epl.protobuf.v1.GeometryService.FileOperateBiStreamFlow:input_type -> epl.protobuf.v1.FileRequestChunk + 2, // 6: epl.protobuf.v1.GeometryService.Operate:output_type -> epl.protobuf.v1.GeometryResponse + 2, // 7: epl.protobuf.v1.GeometryService.OperateBiStream:output_type -> epl.protobuf.v1.GeometryResponse + 2, // 8: epl.protobuf.v1.GeometryService.OperateBiStreamFlow:output_type -> epl.protobuf.v1.GeometryResponse + 2, // 9: epl.protobuf.v1.GeometryService.OperateServerStream:output_type -> epl.protobuf.v1.GeometryResponse + 2, // 10: epl.protobuf.v1.GeometryService.OperateClientStream:output_type -> epl.protobuf.v1.GeometryResponse + 2, // 11: epl.protobuf.v1.GeometryService.FileOperateBiStreamFlow:output_type -> epl.protobuf.v1.GeometryResponse + 6, // [6:12] is the sub-list for method output_type + 0, // [0:6] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_epl_protobuf_v1_geometry_service_proto_init() } +func file_epl_protobuf_v1_geometry_service_proto_init() { + if File_epl_protobuf_v1_geometry_service_proto != nil { + return + } + file_epl_protobuf_v1_geometry_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_epl_protobuf_v1_geometry_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_epl_protobuf_v1_geometry_service_proto_goTypes, + DependencyIndexes: file_epl_protobuf_v1_geometry_service_proto_depIdxs, + }.Build() + File_epl_protobuf_v1_geometry_service_proto = out.File + file_epl_protobuf_v1_geometry_service_proto_rawDesc = nil + file_epl_protobuf_v1_geometry_service_proto_goTypes = nil + file_epl_protobuf_v1_geometry_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -274,22 +372,22 @@ type GeometryServiceServer interface { type UnimplementedGeometryServiceServer struct { } -func (*UnimplementedGeometryServiceServer) Operate(ctx context.Context, req *GeometryRequest) (*GeometryResponse, error) { +func (*UnimplementedGeometryServiceServer) Operate(context.Context, *GeometryRequest) (*GeometryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Operate not implemented") } -func (*UnimplementedGeometryServiceServer) OperateBiStream(srv GeometryService_OperateBiStreamServer) error { +func (*UnimplementedGeometryServiceServer) OperateBiStream(GeometryService_OperateBiStreamServer) error { return status.Errorf(codes.Unimplemented, "method OperateBiStream not implemented") } -func (*UnimplementedGeometryServiceServer) OperateBiStreamFlow(srv GeometryService_OperateBiStreamFlowServer) error { +func (*UnimplementedGeometryServiceServer) OperateBiStreamFlow(GeometryService_OperateBiStreamFlowServer) error { return status.Errorf(codes.Unimplemented, "method OperateBiStreamFlow not implemented") } -func (*UnimplementedGeometryServiceServer) OperateServerStream(req *GeometryRequest, srv GeometryService_OperateServerStreamServer) error { +func (*UnimplementedGeometryServiceServer) OperateServerStream(*GeometryRequest, GeometryService_OperateServerStreamServer) error { return status.Errorf(codes.Unimplemented, "method OperateServerStream not implemented") } -func (*UnimplementedGeometryServiceServer) OperateClientStream(srv GeometryService_OperateClientStreamServer) error { +func (*UnimplementedGeometryServiceServer) OperateClientStream(GeometryService_OperateClientStreamServer) error { return status.Errorf(codes.Unimplemented, "method OperateClientStream not implemented") } -func (*UnimplementedGeometryServiceServer) FileOperateBiStreamFlow(srv GeometryService_FileOperateBiStreamFlowServer) error { +func (*UnimplementedGeometryServiceServer) FileOperateBiStreamFlow(GeometryService_FileOperateBiStreamFlowServer) error { return status.Errorf(codes.Unimplemented, "method FileOperateBiStreamFlow not implemented") } diff --git a/golang/epl/protobuf/v1/query.pb.go b/golang/epl/protobuf/v1/query.pb.go index e6f25e0..1e9af4a 100644 --- a/golang/epl/protobuf/v1/query.pb.go +++ b/golang/epl/protobuf/v1/query.pb.go @@ -1,25 +1,44 @@ +// +//Copyright 2017-2019 Echo Park Labs +// +//Licensed 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. +// +//For additional information, contact: +// +//email: info@echoparklabs.io + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0-devel +// protoc v3.15.2 // source: epl/protobuf/v1/query.proto package v1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // //Not currently in use @@ -31,24 +50,45 @@ const ( SortDirection_ASC SortDirection = 2 ) -var SortDirection_name = map[int32]string{ - 0: "NOT_SORTED", - 1: "DESC", - 2: "ASC", -} +// Enum value maps for SortDirection. +var ( + SortDirection_name = map[int32]string{ + 0: "NOT_SORTED", + 1: "DESC", + 2: "ASC", + } + SortDirection_value = map[string]int32{ + "NOT_SORTED": 0, + "DESC": 1, + "ASC": 2, + } +) -var SortDirection_value = map[string]int32{ - "NOT_SORTED": 0, - "DESC": 1, - "ASC": 2, +func (x SortDirection) Enum() *SortDirection { + p := new(SortDirection) + *p = x + return p } func (x SortDirection) String() string { - return proto.EnumName(SortDirection_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SortDirection) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_query_proto_enumTypes[0].Descriptor() +} + +func (SortDirection) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_query_proto_enumTypes[0] +} + +func (x SortDirection) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use SortDirection.Descriptor instead. func (SortDirection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b5cf09cdc39999d6, []int{0} + return file_epl_protobuf_v1_query_proto_rawDescGZIP(), []int{0} } // @@ -56,68 +96,93 @@ func (SortDirection) EnumDescriptor() ([]byte, []int) { type FilterRelationship int32 const ( - FilterRelationship_EQ FilterRelationship = 0 - FilterRelationship_LTE FilterRelationship = 2 - FilterRelationship_GTE FilterRelationship = 4 - FilterRelationship_LT FilterRelationship = 8 - FilterRelationship_GT FilterRelationship = 16 - FilterRelationship_BETWEEN FilterRelationship = 32 - FilterRelationship_NOT_BETWEEN FilterRelationship = 64 - FilterRelationship_NEQ FilterRelationship = 128 - FilterRelationship_IN FilterRelationship = 256 - FilterRelationship_NOT_IN FilterRelationship = 512 - FilterRelationship_LIKE FilterRelationship = 1024 - FilterRelationship_NOT_LIKE FilterRelationship = 2048 + FilterRelationship_EQ FilterRelationship = 0 // for use with `value` field. return anything equaling the `value` + FilterRelationship_LTE FilterRelationship = 2 // for use with `value` field. return anything less than or equal to the `value` + FilterRelationship_GTE FilterRelationship = 4 // for use with `value` field. return anything greater than or equal to the `value` + FilterRelationship_LT FilterRelationship = 8 // for use with `value` field. return anything less than the `value` + FilterRelationship_GT FilterRelationship = 16 // for use with `value` field. return anything greater than the `value` + FilterRelationship_BETWEEN FilterRelationship = 32 // for use with `start` and `end`. return anything between `start` and `end` + FilterRelationship_NOT_BETWEEN FilterRelationship = 64 // for use with `start` and `end`. return anything not between `start` and `end` + FilterRelationship_NEQ FilterRelationship = 128 // for use with `value` field. return everything not equal to the `value1 + FilterRelationship_IN FilterRelationship = 256 // for use with with `set` field + FilterRelationship_NOT_IN FilterRelationship = 512 // for use with `set` field + FilterRelationship_LIKE FilterRelationship = 1024 // for use with `value` and StringField + FilterRelationship_NOT_LIKE FilterRelationship = 2048 // for use with `value` and StringField +) + +// Enum value maps for FilterRelationship. +var ( + FilterRelationship_name = map[int32]string{ + 0: "EQ", + 2: "LTE", + 4: "GTE", + 8: "LT", + 16: "GT", + 32: "BETWEEN", + 64: "NOT_BETWEEN", + 128: "NEQ", + 256: "IN", + 512: "NOT_IN", + 1024: "LIKE", + 2048: "NOT_LIKE", + } + FilterRelationship_value = map[string]int32{ + "EQ": 0, + "LTE": 2, + "GTE": 4, + "LT": 8, + "GT": 16, + "BETWEEN": 32, + "NOT_BETWEEN": 64, + "NEQ": 128, + "IN": 256, + "NOT_IN": 512, + "LIKE": 1024, + "NOT_LIKE": 2048, + } ) -var FilterRelationship_name = map[int32]string{ - 0: "EQ", - 2: "LTE", - 4: "GTE", - 8: "LT", - 16: "GT", - 32: "BETWEEN", - 64: "NOT_BETWEEN", - 128: "NEQ", - 256: "IN", - 512: "NOT_IN", - 1024: "LIKE", - 2048: "NOT_LIKE", -} - -var FilterRelationship_value = map[string]int32{ - "EQ": 0, - "LTE": 2, - "GTE": 4, - "LT": 8, - "GT": 16, - "BETWEEN": 32, - "NOT_BETWEEN": 64, - "NEQ": 128, - "IN": 256, - "NOT_IN": 512, - "LIKE": 1024, - "NOT_LIKE": 2048, +func (x FilterRelationship) Enum() *FilterRelationship { + p := new(FilterRelationship) + *p = x + return p } func (x FilterRelationship) String() string { - return proto.EnumName(FilterRelationship_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (FilterRelationship) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_query_proto_enumTypes[1].Descriptor() +} + +func (FilterRelationship) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_query_proto_enumTypes[1] +} + +func (x FilterRelationship) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FilterRelationship.Descriptor instead. func (FilterRelationship) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b5cf09cdc39999d6, []int{1} + return file_epl_protobuf_v1_query_proto_rawDescGZIP(), []int{1} } // //Query language for float fields. type FloatFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //relationship type of the query. //EQ, LTE, GTE, LT, GT, NEQ for `value` //BETWEEN or NOT_BETWEEN for `start` with `end` //IN or NOT_IN for use with `set` RelType FilterRelationship `protobuf:"varint,2,opt,name=rel_type,json=relType,proto3,enum=epl.protobuf.v1.FilterRelationship" json:"rel_type,omitempty"` - // Types that are valid to be assigned to Data: + // Types that are assignable to Data: // *FloatFilter_Value // *FloatFilter_Start Data isFloatFilter_Data `protobuf_oneof:"data"` @@ -131,60 +196,48 @@ type FloatFilter struct { SortDirection SortDirection `protobuf:"varint,5,opt,name=sort_direction,json=sortDirection,proto3,enum=epl.protobuf.v1.SortDirection" json:"sort_direction,omitempty"` // //'IN' or 'NOT IN' sql operations - Set []float32 `protobuf:"fixed32,6,rep,packed,name=set,proto3" json:"set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Set []float32 `protobuf:"fixed32,6,rep,packed,name=set,proto3" json:"set,omitempty"` } -func (m *FloatFilter) Reset() { *m = FloatFilter{} } -func (m *FloatFilter) String() string { return proto.CompactTextString(m) } -func (*FloatFilter) ProtoMessage() {} -func (*FloatFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_b5cf09cdc39999d6, []int{0} +func (x *FloatFilter) Reset() { + *x = FloatFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FloatFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FloatFilter.Unmarshal(m, b) -} -func (m *FloatFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FloatFilter.Marshal(b, m, deterministic) -} -func (m *FloatFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_FloatFilter.Merge(m, src) -} -func (m *FloatFilter) XXX_Size() int { - return xxx_messageInfo_FloatFilter.Size(m) -} -func (m *FloatFilter) XXX_DiscardUnknown() { - xxx_messageInfo_FloatFilter.DiscardUnknown(m) +func (x *FloatFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_FloatFilter proto.InternalMessageInfo +func (*FloatFilter) ProtoMessage() {} -func (m *FloatFilter) GetRelType() FilterRelationship { - if m != nil { - return m.RelType +func (x *FloatFilter) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return FilterRelationship_EQ + return mi.MessageOf(x) } -type isFloatFilter_Data interface { - isFloatFilter_Data() -} - -type FloatFilter_Value struct { - Value float32 `protobuf:"fixed32,1,opt,name=value,proto3,oneof"` +// Deprecated: Use FloatFilter.ProtoReflect.Descriptor instead. +func (*FloatFilter) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_query_proto_rawDescGZIP(), []int{0} } -type FloatFilter_Start struct { - Start float32 `protobuf:"fixed32,3,opt,name=start,proto3,oneof"` +func (x *FloatFilter) GetRelType() FilterRelationship { + if x != nil { + return x.RelType + } + return FilterRelationship_EQ } -func (*FloatFilter_Value) isFloatFilter_Data() {} - -func (*FloatFilter_Start) isFloatFilter_Data() {} - func (m *FloatFilter) GetData() isFloatFilter_Data { if m != nil { return m.Data @@ -192,57 +245,77 @@ func (m *FloatFilter) GetData() isFloatFilter_Data { return nil } -func (m *FloatFilter) GetValue() float32 { - if x, ok := m.GetData().(*FloatFilter_Value); ok { +func (x *FloatFilter) GetValue() float32 { + if x, ok := x.GetData().(*FloatFilter_Value); ok { return x.Value } return 0 } -func (m *FloatFilter) GetStart() float32 { - if x, ok := m.GetData().(*FloatFilter_Start); ok { +func (x *FloatFilter) GetStart() float32 { + if x, ok := x.GetData().(*FloatFilter_Start); ok { return x.Start } return 0 } -func (m *FloatFilter) GetEnd() float32 { - if m != nil { - return m.End +func (x *FloatFilter) GetEnd() float32 { + if x != nil { + return x.End } return 0 } -func (m *FloatFilter) GetSortDirection() SortDirection { - if m != nil { - return m.SortDirection +func (x *FloatFilter) GetSortDirection() SortDirection { + if x != nil { + return x.SortDirection } return SortDirection_NOT_SORTED } -func (m *FloatFilter) GetSet() []float32 { - if m != nil { - return m.Set +func (x *FloatFilter) GetSet() []float32 { + if x != nil { + return x.Set } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FloatFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FloatFilter_Value)(nil), - (*FloatFilter_Start)(nil), - } +type isFloatFilter_Data interface { + isFloatFilter_Data() +} + +type FloatFilter_Value struct { + // + //Singular float value that, combined with rel_type, allows you to search for floats that relate to this `value`. + //`value` field cannot be combined with BETWEEN or the NOT_BETWEEN FilterRelationship `rel_type`. That means + //you can use the EQ, LTE, GTE, LT, GT, NEQ FilterRelationship `rel_type` + Value float32 `protobuf:"fixed32,1,opt,name=value,proto3,oneof"` } +type FloatFilter_Start struct { + // + //For searching by a range. `start` with BETWEEN searches for everything in the range from `start` to `end` + //`start` with NOT_BETWEEN searches for everything not in the range from `start` and `end`. must be accompanied + //by a `end` value + Start float32 `protobuf:"fixed32,3,opt,name=start,proto3,oneof"` +} + +func (*FloatFilter_Value) isFloatFilter_Data() {} + +func (*FloatFilter_Start) isFloatFilter_Data() {} + type DoubleFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //relationship type of the query. //EQ, LTE, GTE, LT, GT, NEQ for `value` //BETWEEN or NOT_BETWEEN for `start` with `end` //IN or NOT_IN for use with `set` RelType FilterRelationship `protobuf:"varint,2,opt,name=rel_type,json=relType,proto3,enum=epl.protobuf.v1.FilterRelationship" json:"rel_type,omitempty"` - // Types that are valid to be assigned to Data: + // Types that are assignable to Data: // *DoubleFilter_Value // *DoubleFilter_Start Data isDoubleFilter_Data `protobuf_oneof:"data"` @@ -256,60 +329,48 @@ type DoubleFilter struct { SortDirection SortDirection `protobuf:"varint,5,opt,name=sort_direction,json=sortDirection,proto3,enum=epl.protobuf.v1.SortDirection" json:"sort_direction,omitempty"` // //'IN' or 'NOT IN' sql operations - Set []float64 `protobuf:"fixed64,6,rep,packed,name=set,proto3" json:"set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Set []float64 `protobuf:"fixed64,6,rep,packed,name=set,proto3" json:"set,omitempty"` } -func (m *DoubleFilter) Reset() { *m = DoubleFilter{} } -func (m *DoubleFilter) String() string { return proto.CompactTextString(m) } -func (*DoubleFilter) ProtoMessage() {} -func (*DoubleFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_b5cf09cdc39999d6, []int{1} +func (x *DoubleFilter) Reset() { + *x = DoubleFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DoubleFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DoubleFilter.Unmarshal(m, b) -} -func (m *DoubleFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DoubleFilter.Marshal(b, m, deterministic) -} -func (m *DoubleFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_DoubleFilter.Merge(m, src) -} -func (m *DoubleFilter) XXX_Size() int { - return xxx_messageInfo_DoubleFilter.Size(m) -} -func (m *DoubleFilter) XXX_DiscardUnknown() { - xxx_messageInfo_DoubleFilter.DiscardUnknown(m) +func (x *DoubleFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DoubleFilter proto.InternalMessageInfo +func (*DoubleFilter) ProtoMessage() {} -func (m *DoubleFilter) GetRelType() FilterRelationship { - if m != nil { - return m.RelType +func (x *DoubleFilter) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return FilterRelationship_EQ + return mi.MessageOf(x) } -type isDoubleFilter_Data interface { - isDoubleFilter_Data() -} - -type DoubleFilter_Value struct { - Value float64 `protobuf:"fixed64,1,opt,name=value,proto3,oneof"` +// Deprecated: Use DoubleFilter.ProtoReflect.Descriptor instead. +func (*DoubleFilter) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_query_proto_rawDescGZIP(), []int{1} } -type DoubleFilter_Start struct { - Start float64 `protobuf:"fixed64,3,opt,name=start,proto3,oneof"` +func (x *DoubleFilter) GetRelType() FilterRelationship { + if x != nil { + return x.RelType + } + return FilterRelationship_EQ } -func (*DoubleFilter_Value) isDoubleFilter_Data() {} - -func (*DoubleFilter_Start) isDoubleFilter_Data() {} - func (m *DoubleFilter) GetData() isDoubleFilter_Data { if m != nil { return m.Data @@ -317,56 +378,76 @@ func (m *DoubleFilter) GetData() isDoubleFilter_Data { return nil } -func (m *DoubleFilter) GetValue() float64 { - if x, ok := m.GetData().(*DoubleFilter_Value); ok { +func (x *DoubleFilter) GetValue() float64 { + if x, ok := x.GetData().(*DoubleFilter_Value); ok { return x.Value } return 0 } -func (m *DoubleFilter) GetStart() float64 { - if x, ok := m.GetData().(*DoubleFilter_Start); ok { +func (x *DoubleFilter) GetStart() float64 { + if x, ok := x.GetData().(*DoubleFilter_Start); ok { return x.Start } return 0 } -func (m *DoubleFilter) GetEnd() float64 { - if m != nil { - return m.End +func (x *DoubleFilter) GetEnd() float64 { + if x != nil { + return x.End } return 0 } -func (m *DoubleFilter) GetSortDirection() SortDirection { - if m != nil { - return m.SortDirection +func (x *DoubleFilter) GetSortDirection() SortDirection { + if x != nil { + return x.SortDirection } return SortDirection_NOT_SORTED } -func (m *DoubleFilter) GetSet() []float64 { - if m != nil { - return m.Set +func (x *DoubleFilter) GetSet() []float64 { + if x != nil { + return x.Set } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DoubleFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DoubleFilter_Value)(nil), - (*DoubleFilter_Start)(nil), - } +type isDoubleFilter_Data interface { + isDoubleFilter_Data() +} + +type DoubleFilter_Value struct { + // + //Singular double value that, combined with rel_type, allows you to search for floats that relate to this `value`. + //`value` field cannot be combined with BETWEEN or the NOT_BETWEEN FilterRelationship `rel_type`. That means + //you can use the EQ, LTE, GTE, LT, GT, NEQ FilterRelationship `rel_type` + Value float64 `protobuf:"fixed64,1,opt,name=value,proto3,oneof"` } +type DoubleFilter_Start struct { + // + //For searching by a range. `start` with BETWEEN searches for everything in the range from `start` to `end` + //`start` with NOT_BETWEEN searches for everything not in the range from `start` and `end`. must be accompanied + //by a `end` value + Start float64 `protobuf:"fixed64,3,opt,name=start,proto3,oneof"` +} + +func (*DoubleFilter_Value) isDoubleFilter_Data() {} + +func (*DoubleFilter_Start) isDoubleFilter_Data() {} + type TimestampFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //relationship type of the query. //EQ, LTE, GTE, LT, GT, NEQ for `value` //BETWEEN or NOT_BETWEEN for `start` with `end` RelType FilterRelationship `protobuf:"varint,2,opt,name=rel_type,json=relType,proto3,enum=epl.protobuf.v1.FilterRelationship" json:"rel_type,omitempty"` - // Types that are valid to be assigned to Data: + // Types that are assignable to Data: // *TimestampFilter_Value // *TimestampFilter_Start Data isTimestampFilter_Data `protobuf_oneof:"data"` @@ -374,63 +455,51 @@ type TimestampFilter struct { //For searching by a range. `end` with BETWEEN searches for everything in the range from `start` to `end` //`end` with NOT_BETWEEN searches for everything not in the range from `start` and `end`. must be accompanied //by a `start` value - End *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` // //sort direction for the return values - SortDirection SortDirection `protobuf:"varint,5,opt,name=sort_direction,json=sortDirection,proto3,enum=epl.protobuf.v1.SortDirection" json:"sort_direction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SortDirection SortDirection `protobuf:"varint,5,opt,name=sort_direction,json=sortDirection,proto3,enum=epl.protobuf.v1.SortDirection" json:"sort_direction,omitempty"` } -func (m *TimestampFilter) Reset() { *m = TimestampFilter{} } -func (m *TimestampFilter) String() string { return proto.CompactTextString(m) } -func (*TimestampFilter) ProtoMessage() {} -func (*TimestampFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_b5cf09cdc39999d6, []int{2} +func (x *TimestampFilter) Reset() { + *x = TimestampFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TimestampFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampFilter.Unmarshal(m, b) -} -func (m *TimestampFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampFilter.Marshal(b, m, deterministic) -} -func (m *TimestampFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampFilter.Merge(m, src) -} -func (m *TimestampFilter) XXX_Size() int { - return xxx_messageInfo_TimestampFilter.Size(m) -} -func (m *TimestampFilter) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampFilter.DiscardUnknown(m) +func (x *TimestampFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_TimestampFilter proto.InternalMessageInfo +func (*TimestampFilter) ProtoMessage() {} -func (m *TimestampFilter) GetRelType() FilterRelationship { - if m != nil { - return m.RelType +func (x *TimestampFilter) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return FilterRelationship_EQ -} - -type isTimestampFilter_Data interface { - isTimestampFilter_Data() + return mi.MessageOf(x) } -type TimestampFilter_Value struct { - Value *timestamp.Timestamp `protobuf:"bytes,1,opt,name=value,proto3,oneof"` +// Deprecated: Use TimestampFilter.ProtoReflect.Descriptor instead. +func (*TimestampFilter) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_query_proto_rawDescGZIP(), []int{2} } -type TimestampFilter_Start struct { - Start *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start,proto3,oneof"` +func (x *TimestampFilter) GetRelType() FilterRelationship { + if x != nil { + return x.RelType + } + return FilterRelationship_EQ } -func (*TimestampFilter_Value) isTimestampFilter_Data() {} - -func (*TimestampFilter_Start) isTimestampFilter_Data() {} - func (m *TimestampFilter) GetData() isTimestampFilter_Data { if m != nil { return m.Data @@ -438,50 +507,70 @@ func (m *TimestampFilter) GetData() isTimestampFilter_Data { return nil } -func (m *TimestampFilter) GetValue() *timestamp.Timestamp { - if x, ok := m.GetData().(*TimestampFilter_Value); ok { +func (x *TimestampFilter) GetValue() *timestamppb.Timestamp { + if x, ok := x.GetData().(*TimestampFilter_Value); ok { return x.Value } return nil } -func (m *TimestampFilter) GetStart() *timestamp.Timestamp { - if x, ok := m.GetData().(*TimestampFilter_Start); ok { +func (x *TimestampFilter) GetStart() *timestamppb.Timestamp { + if x, ok := x.GetData().(*TimestampFilter_Start); ok { return x.Start } return nil } -func (m *TimestampFilter) GetEnd() *timestamp.Timestamp { - if m != nil { - return m.End +func (x *TimestampFilter) GetEnd() *timestamppb.Timestamp { + if x != nil { + return x.End } return nil } -func (m *TimestampFilter) GetSortDirection() SortDirection { - if m != nil { - return m.SortDirection +func (x *TimestampFilter) GetSortDirection() SortDirection { + if x != nil { + return x.SortDirection } return SortDirection_NOT_SORTED } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TimestampFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TimestampFilter_Value)(nil), - (*TimestampFilter_Start)(nil), - } +type isTimestampFilter_Data interface { + isTimestampFilter_Data() +} + +type TimestampFilter_Value struct { + // + //Singular Timestamp value that, combined with rel_type, allows you to search for floats that relate to this `value`. + //`value` field cannot be combined with BETWEEN or the NOT_BETWEEN FilterRelationship `rel_type`. That means + //you can use the EQ, LTE, GTE, LT, GT, NEQ FilterRelationship `rel_type` + Value *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=value,proto3,oneof"` } +type TimestampFilter_Start struct { + // + //For searching by a range. `start` with BETWEEN searches for everything in the range from `start` to `end` + //`start` with NOT_BETWEEN searches for everything not in the range from `start` and `end`. must be accompanied + //by a `end` value + Start *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3,oneof"` +} + +func (*TimestampFilter_Value) isTimestampFilter_Data() {} + +func (*TimestampFilter_Start) isTimestampFilter_Data() {} + type UInt32Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //relationship type of the query. //EQ, LTE, GTE, LT, GT, NEQ for `value` //BETWEEN or NOT_BETWEEN for `start` with `end` //IN or NOT_IN for use with `set` RelType FilterRelationship `protobuf:"varint,2,opt,name=rel_type,json=relType,proto3,enum=epl.protobuf.v1.FilterRelationship" json:"rel_type,omitempty"` - // Types that are valid to be assigned to Data: + // Types that are assignable to Data: // *UInt32Filter_Value // *UInt32Filter_Start Data isUInt32Filter_Data `protobuf_oneof:"data"` @@ -495,60 +584,48 @@ type UInt32Filter struct { SortDirection SortDirection `protobuf:"varint,5,opt,name=sort_direction,json=sortDirection,proto3,enum=epl.protobuf.v1.SortDirection" json:"sort_direction,omitempty"` // //'IN' or 'NOT IN' sql operations - Set []uint32 `protobuf:"varint,6,rep,packed,name=set,proto3" json:"set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Set []uint32 `protobuf:"varint,6,rep,packed,name=set,proto3" json:"set,omitempty"` } -func (m *UInt32Filter) Reset() { *m = UInt32Filter{} } -func (m *UInt32Filter) String() string { return proto.CompactTextString(m) } -func (*UInt32Filter) ProtoMessage() {} -func (*UInt32Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_b5cf09cdc39999d6, []int{3} +func (x *UInt32Filter) Reset() { + *x = UInt32Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UInt32Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UInt32Filter.Unmarshal(m, b) -} -func (m *UInt32Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UInt32Filter.Marshal(b, m, deterministic) -} -func (m *UInt32Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_UInt32Filter.Merge(m, src) -} -func (m *UInt32Filter) XXX_Size() int { - return xxx_messageInfo_UInt32Filter.Size(m) -} -func (m *UInt32Filter) XXX_DiscardUnknown() { - xxx_messageInfo_UInt32Filter.DiscardUnknown(m) +func (x *UInt32Filter) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UInt32Filter proto.InternalMessageInfo +func (*UInt32Filter) ProtoMessage() {} -func (m *UInt32Filter) GetRelType() FilterRelationship { - if m != nil { - return m.RelType +func (x *UInt32Filter) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return FilterRelationship_EQ + return mi.MessageOf(x) } -type isUInt32Filter_Data interface { - isUInt32Filter_Data() -} - -type UInt32Filter_Value struct { - Value uint32 `protobuf:"varint,1,opt,name=value,proto3,oneof"` +// Deprecated: Use UInt32Filter.ProtoReflect.Descriptor instead. +func (*UInt32Filter) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_query_proto_rawDescGZIP(), []int{3} } -type UInt32Filter_Start struct { - Start uint32 `protobuf:"varint,3,opt,name=start,proto3,oneof"` +func (x *UInt32Filter) GetRelType() FilterRelationship { + if x != nil { + return x.RelType + } + return FilterRelationship_EQ } -func (*UInt32Filter_Value) isUInt32Filter_Data() {} - -func (*UInt32Filter_Start) isUInt32Filter_Data() {} - func (m *UInt32Filter) GetData() isUInt32Filter_Data { if m != nil { return m.Data @@ -556,50 +633,70 @@ func (m *UInt32Filter) GetData() isUInt32Filter_Data { return nil } -func (m *UInt32Filter) GetValue() uint32 { - if x, ok := m.GetData().(*UInt32Filter_Value); ok { +func (x *UInt32Filter) GetValue() uint32 { + if x, ok := x.GetData().(*UInt32Filter_Value); ok { return x.Value } return 0 } -func (m *UInt32Filter) GetStart() uint32 { - if x, ok := m.GetData().(*UInt32Filter_Start); ok { +func (x *UInt32Filter) GetStart() uint32 { + if x, ok := x.GetData().(*UInt32Filter_Start); ok { return x.Start } return 0 } -func (m *UInt32Filter) GetEnd() uint32 { - if m != nil { - return m.End +func (x *UInt32Filter) GetEnd() uint32 { + if x != nil { + return x.End } return 0 } -func (m *UInt32Filter) GetSortDirection() SortDirection { - if m != nil { - return m.SortDirection +func (x *UInt32Filter) GetSortDirection() SortDirection { + if x != nil { + return x.SortDirection } return SortDirection_NOT_SORTED } -func (m *UInt32Filter) GetSet() []uint32 { - if m != nil { - return m.Set +func (x *UInt32Filter) GetSet() []uint32 { + if x != nil { + return x.Set } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UInt32Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UInt32Filter_Value)(nil), - (*UInt32Filter_Start)(nil), - } +type isUInt32Filter_Data interface { + isUInt32Filter_Data() +} + +type UInt32Filter_Value struct { + // + //Singular unint32 value that, combined with rel_type, allows you to search for floats that relate to this `value`. + //`value` field cannot be combined with BETWEEN or the NOT_BETWEEN FilterRelationship `rel_type`. That means + //you can use the EQ, LTE, GTE, LT, GT, NEQ FilterRelationship `rel_type` + Value uint32 `protobuf:"varint,1,opt,name=value,proto3,oneof"` } +type UInt32Filter_Start struct { + // + //For searching by a range. `start` with BETWEEN searches for everything in the range from `start` to `end` + //`start` with NOT_BETWEEN searches for everything not in the range from `start` and `end`. must be accompanied + //by a `end` value + Start uint32 `protobuf:"varint,3,opt,name=start,proto3,oneof"` +} + +func (*UInt32Filter_Value) isUInt32Filter_Data() {} + +func (*UInt32Filter_Start) isUInt32Filter_Data() {} + type StringFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //for use with EQ, NEQ, LIKE and NOT_LIKE Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` @@ -611,108 +708,310 @@ type StringFilter struct { RelType FilterRelationship `protobuf:"varint,2,opt,name=rel_type,json=relType,proto3,enum=epl.protobuf.v1.FilterRelationship" json:"rel_type,omitempty"` // //For use with 'IN' or 'NOT IN' sql operations - Set []string `protobuf:"bytes,6,rep,name=set,proto3" json:"set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Set []string `protobuf:"bytes,6,rep,name=set,proto3" json:"set,omitempty"` } -func (m *StringFilter) Reset() { *m = StringFilter{} } -func (m *StringFilter) String() string { return proto.CompactTextString(m) } -func (*StringFilter) ProtoMessage() {} -func (*StringFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_b5cf09cdc39999d6, []int{4} +func (x *StringFilter) Reset() { + *x = StringFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StringFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StringFilter.Unmarshal(m, b) -} -func (m *StringFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StringFilter.Marshal(b, m, deterministic) +func (x *StringFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StringFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringFilter.Merge(m, src) -} -func (m *StringFilter) XXX_Size() int { - return xxx_messageInfo_StringFilter.Size(m) -} -func (m *StringFilter) XXX_DiscardUnknown() { - xxx_messageInfo_StringFilter.DiscardUnknown(m) + +func (*StringFilter) ProtoMessage() {} + +func (x *StringFilter) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_query_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StringFilter proto.InternalMessageInfo +// Deprecated: Use StringFilter.ProtoReflect.Descriptor instead. +func (*StringFilter) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_query_proto_rawDescGZIP(), []int{4} +} -func (m *StringFilter) GetValue() string { - if m != nil { - return m.Value +func (x *StringFilter) GetValue() string { + if x != nil { + return x.Value } return "" } -func (m *StringFilter) GetRelType() FilterRelationship { - if m != nil { - return m.RelType +func (x *StringFilter) GetRelType() FilterRelationship { + if x != nil { + return x.RelType } return FilterRelationship_EQ } -func (m *StringFilter) GetSet() []string { - if m != nil { - return m.Set +func (x *StringFilter) GetSet() []string { + if x != nil { + return x.Set } return nil } -func init() { - proto.RegisterEnum("epl.protobuf.v1.SortDirection", SortDirection_name, SortDirection_value) - proto.RegisterEnum("epl.protobuf.v1.FilterRelationship", FilterRelationship_name, FilterRelationship_value) - proto.RegisterType((*FloatFilter)(nil), "epl.protobuf.v1.FloatFilter") - proto.RegisterType((*DoubleFilter)(nil), "epl.protobuf.v1.DoubleFilter") - proto.RegisterType((*TimestampFilter)(nil), "epl.protobuf.v1.TimestampFilter") - proto.RegisterType((*UInt32Filter)(nil), "epl.protobuf.v1.UInt32Filter") - proto.RegisterType((*StringFilter)(nil), "epl.protobuf.v1.StringFilter") -} - -func init() { - proto.RegisterFile("epl/protobuf/v1/query.proto", fileDescriptor_b5cf09cdc39999d6) -} - -var fileDescriptor_b5cf09cdc39999d6 = []byte{ - // 561 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcf, 0x6e, 0xd3, 0x4e, - 0x10, 0xee, 0xda, 0x6e, 0xe2, 0x4c, 0xea, 0x64, 0xb5, 0xbf, 0x9f, 0x90, 0x55, 0x24, 0x88, 0xca, - 0xa5, 0xaa, 0xc0, 0x56, 0xdd, 0x3b, 0x82, 0x34, 0x6e, 0x89, 0x88, 0xd2, 0xc4, 0x31, 0x42, 0xe2, - 0x12, 0x39, 0xc9, 0xe2, 0x5a, 0x72, 0xb2, 0x66, 0xbd, 0x89, 0x94, 0x5b, 0x9e, 0x82, 0x07, 0xe0, - 0xc8, 0x03, 0xf0, 0x5c, 0xf0, 0x06, 0x68, 0x63, 0x4c, 0xfe, 0x34, 0x85, 0x03, 0xcd, 0xc9, 0x3b, - 0xb3, 0x33, 0xf3, 0xcd, 0xf7, 0xf9, 0xd3, 0xc2, 0x63, 0x9a, 0xc4, 0x76, 0xc2, 0x99, 0x60, 0x83, - 0xe9, 0x47, 0x7b, 0x76, 0x6e, 0x7f, 0x9a, 0x52, 0x3e, 0xb7, 0x96, 0x19, 0x52, 0xa5, 0x49, 0x6c, - 0xe5, 0x97, 0xd6, 0xec, 0xfc, 0xf8, 0x69, 0xc8, 0x58, 0x18, 0xd3, 0x55, 0x83, 0x88, 0xc6, 0x34, - 0x15, 0xc1, 0x38, 0xc9, 0xca, 0x4e, 0xbe, 0x23, 0x28, 0x5f, 0xc5, 0x2c, 0x10, 0x57, 0x51, 0x2c, - 0x28, 0x27, 0x2f, 0x41, 0xe7, 0x34, 0xee, 0x8b, 0x79, 0x42, 0x4d, 0xa5, 0x86, 0x4e, 0x2b, 0xce, - 0x33, 0x6b, 0x6b, 0xa8, 0x95, 0x95, 0x7a, 0x34, 0x0e, 0x44, 0xc4, 0x26, 0xe9, 0x6d, 0x94, 0x78, - 0x45, 0x4e, 0x63, 0x7f, 0x9e, 0x50, 0xf2, 0x08, 0x0e, 0x67, 0x41, 0x3c, 0xa5, 0x26, 0xaa, 0xa1, - 0x53, 0xe5, 0xcd, 0x81, 0x97, 0x85, 0x32, 0x9f, 0x8a, 0x80, 0x0b, 0x53, 0xcd, 0xf3, 0xcb, 0x90, - 0x60, 0x50, 0xe9, 0x64, 0x64, 0x6a, 0x32, 0xeb, 0xc9, 0x23, 0x71, 0xa1, 0x92, 0x32, 0x2e, 0xfa, - 0xa3, 0x88, 0xd3, 0xa1, 0x04, 0x30, 0x0f, 0x97, 0x7b, 0x3c, 0xb9, 0xb3, 0x47, 0x8f, 0x71, 0xd1, - 0xc8, 0xab, 0x3c, 0x23, 0x5d, 0x0f, 0xe5, 0xe0, 0x94, 0x0a, 0xb3, 0x50, 0x53, 0xe5, 0xe0, 0x94, - 0x8a, 0x7a, 0x01, 0xb4, 0x51, 0x20, 0x82, 0x93, 0x1f, 0x08, 0x8e, 0x1a, 0x6c, 0x3a, 0x88, 0xe9, - 0x3e, 0x38, 0xa3, 0x7b, 0x38, 0xa3, 0x9d, 0x9c, 0xd1, 0xbe, 0x38, 0xa3, 0x4d, 0xce, 0xdf, 0x14, - 0xa8, 0xfa, 0xf9, 0xaf, 0x7f, 0x20, 0xda, 0xce, 0x3a, 0xed, 0xb2, 0x73, 0x6c, 0x65, 0x5e, 0x5b, - 0xf5, 0xff, 0x06, 0x5c, 0x49, 0xe2, 0xac, 0x4b, 0xf2, 0xd7, 0x9e, 0x4c, 0xae, 0xe7, 0x2b, 0xb9, - 0xfe, 0xd8, 0xf1, 0x90, 0x52, 0x6e, 0x98, 0xe5, 0x5d, 0x73, 0x22, 0x2e, 0x9c, 0x7d, 0x98, 0xc5, - 0xb8, 0xc7, 0x2c, 0xc6, 0x4e, 0xb3, 0x18, 0xfb, 0x32, 0x8b, 0xb1, 0x69, 0x96, 0x19, 0x1c, 0xf5, - 0x04, 0x8f, 0x26, 0xe1, 0x2f, 0xca, 0xff, 0xaf, 0xaf, 0x5c, 0xca, 0x17, 0xfe, 0x57, 0x21, 0xd6, - 0xf0, 0x4b, 0x4b, 0xfc, 0x33, 0x07, 0x8c, 0x8d, 0x8d, 0x49, 0x05, 0xa0, 0x7d, 0xe3, 0xf7, 0x7b, - 0x37, 0x9e, 0xef, 0x36, 0xf0, 0x01, 0xd1, 0x41, 0x6b, 0xb8, 0xbd, 0x4b, 0x8c, 0x48, 0x11, 0xd4, - 0xd7, 0xbd, 0x4b, 0xac, 0x9c, 0x7d, 0x46, 0x40, 0xee, 0xa2, 0x90, 0x02, 0x28, 0x6e, 0x17, 0x1f, - 0xc8, 0xba, 0x96, 0xef, 0x62, 0x45, 0x1e, 0xae, 0x7d, 0x17, 0x6b, 0xf2, 0xa6, 0xe5, 0x63, 0x5d, - 0x7e, 0xaf, 0x7d, 0x8c, 0x49, 0x19, 0x8a, 0x75, 0xd7, 0x7f, 0xef, 0xba, 0x6d, 0x5c, 0x23, 0x55, - 0x28, 0x4b, 0xc0, 0x3c, 0xf1, 0x8a, 0xe8, 0xa0, 0xb6, 0xdd, 0x2e, 0x5e, 0x48, 0x44, 0xa5, 0xd9, - 0xc6, 0x0b, 0x85, 0x94, 0xa1, 0x20, 0x6b, 0x64, 0xa0, 0x91, 0x12, 0x68, 0xad, 0xe6, 0x5b, 0x17, - 0x2f, 0x74, 0x62, 0x80, 0x2e, 0xf3, 0x59, 0x88, 0xeb, 0x0c, 0xfe, 0x1b, 0xb2, 0xf1, 0xb6, 0x22, - 0x75, 0xe8, 0xca, 0xe7, 0xba, 0x23, 0x33, 0x1d, 0xf4, 0xc1, 0x0a, 0x23, 0x71, 0x3b, 0x1d, 0x58, - 0x43, 0x36, 0xb6, 0x43, 0xca, 0x5e, 0x84, 0x3c, 0x19, 0xda, 0x41, 0x12, 0xd9, 0x21, 0x8b, 0x83, - 0x49, 0x68, 0x6f, 0xbd, 0xf5, 0x5f, 0x14, 0xb5, 0xdb, 0xa9, 0x7f, 0x55, 0x76, 0x4d, 0x1e, 0x14, - 0x96, 0xc1, 0xc5, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd, 0xc2, 0xbf, 0x99, 0x21, 0x06, 0x00, - 0x00, +var File_epl_protobuf_v1_query_proto protoreflect.FileDescriptor + +var file_epl_protobuf_v1_query_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x65, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, + 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, + 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xf0, 0x01, 0x0a, 0x0b, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, + 0x3e, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x23, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x16, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, + 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x65, 0x6e, + 0x64, 0x12, 0x45, 0x0a, 0x0e, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x72, 0x74, + 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x6f, 0x72, 0x74, 0x44, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x74, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x03, 0x73, 0x65, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x22, 0xf1, 0x01, 0x0a, 0x0c, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x01, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x45, 0x0a, 0x0e, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x69, + 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, + 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, + 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x01, 0x52, 0x03, 0x73, 0x65, 0x74, 0x42, 0x06, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb6, 0x02, 0x0a, 0x0f, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x08, 0x72, 0x65, + 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x65, + 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, + 0x70, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x32, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x6e, 0x64, + 0x12, 0x45, 0x0a, 0x0e, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x44, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x6f, 0x72, 0x74, 0x44, 0x69, + 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, + 0xf1, 0x01, 0x0a, 0x0c, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x12, 0x3e, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x16, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x48, + 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x65, + 0x6e, 0x64, 0x12, 0x45, 0x0a, 0x0e, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x72, + 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x6f, 0x72, 0x74, + 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x74, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x22, 0x76, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x72, 0x65, 0x6c, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, + 0x52, 0x07, 0x72, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x74, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x74, 0x2a, 0x32, 0x0a, 0x0d, 0x53, + 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x0a, + 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, + 0x44, 0x45, 0x53, 0x43, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x53, 0x43, 0x10, 0x02, 0x2a, + 0x96, 0x01, 0x0a, 0x12, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x06, 0x0a, 0x02, 0x45, 0x51, 0x10, 0x00, 0x12, 0x07, + 0x0a, 0x03, 0x4c, 0x54, 0x45, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x54, 0x45, 0x10, 0x04, + 0x12, 0x06, 0x0a, 0x02, 0x4c, 0x54, 0x10, 0x08, 0x12, 0x06, 0x0a, 0x02, 0x47, 0x54, 0x10, 0x10, + 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x45, 0x54, 0x57, 0x45, 0x45, 0x4e, 0x10, 0x20, 0x12, 0x0f, 0x0a, + 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x42, 0x45, 0x54, 0x57, 0x45, 0x45, 0x4e, 0x10, 0x40, 0x12, 0x08, + 0x0a, 0x03, 0x4e, 0x45, 0x51, 0x10, 0x80, 0x01, 0x12, 0x07, 0x0a, 0x02, 0x49, 0x4e, 0x10, 0x80, + 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x10, 0x80, 0x04, 0x12, 0x09, + 0x0a, 0x04, 0x4c, 0x49, 0x4b, 0x45, 0x10, 0x80, 0x08, 0x12, 0x0d, 0x0a, 0x08, 0x4e, 0x4f, 0x54, + 0x5f, 0x4c, 0x49, 0x4b, 0x45, 0x10, 0x80, 0x10, 0x42, 0x6f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x42, + 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x65, 0x6f, 0x2d, 0x67, 0x72, + 0x70, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x65, 0x70, + 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x03, + 0x51, 0x50, 0x42, 0xaa, 0x02, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_epl_protobuf_v1_query_proto_rawDescOnce sync.Once + file_epl_protobuf_v1_query_proto_rawDescData = file_epl_protobuf_v1_query_proto_rawDesc +) + +func file_epl_protobuf_v1_query_proto_rawDescGZIP() []byte { + file_epl_protobuf_v1_query_proto_rawDescOnce.Do(func() { + file_epl_protobuf_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_epl_protobuf_v1_query_proto_rawDescData) + }) + return file_epl_protobuf_v1_query_proto_rawDescData +} + +var file_epl_protobuf_v1_query_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_epl_protobuf_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_epl_protobuf_v1_query_proto_goTypes = []interface{}{ + (SortDirection)(0), // 0: epl.protobuf.v1.SortDirection + (FilterRelationship)(0), // 1: epl.protobuf.v1.FilterRelationship + (*FloatFilter)(nil), // 2: epl.protobuf.v1.FloatFilter + (*DoubleFilter)(nil), // 3: epl.protobuf.v1.DoubleFilter + (*TimestampFilter)(nil), // 4: epl.protobuf.v1.TimestampFilter + (*UInt32Filter)(nil), // 5: epl.protobuf.v1.UInt32Filter + (*StringFilter)(nil), // 6: epl.protobuf.v1.StringFilter + (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp +} +var file_epl_protobuf_v1_query_proto_depIdxs = []int32{ + 1, // 0: epl.protobuf.v1.FloatFilter.rel_type:type_name -> epl.protobuf.v1.FilterRelationship + 0, // 1: epl.protobuf.v1.FloatFilter.sort_direction:type_name -> epl.protobuf.v1.SortDirection + 1, // 2: epl.protobuf.v1.DoubleFilter.rel_type:type_name -> epl.protobuf.v1.FilterRelationship + 0, // 3: epl.protobuf.v1.DoubleFilter.sort_direction:type_name -> epl.protobuf.v1.SortDirection + 1, // 4: epl.protobuf.v1.TimestampFilter.rel_type:type_name -> epl.protobuf.v1.FilterRelationship + 7, // 5: epl.protobuf.v1.TimestampFilter.value:type_name -> google.protobuf.Timestamp + 7, // 6: epl.protobuf.v1.TimestampFilter.start:type_name -> google.protobuf.Timestamp + 7, // 7: epl.protobuf.v1.TimestampFilter.end:type_name -> google.protobuf.Timestamp + 0, // 8: epl.protobuf.v1.TimestampFilter.sort_direction:type_name -> epl.protobuf.v1.SortDirection + 1, // 9: epl.protobuf.v1.UInt32Filter.rel_type:type_name -> epl.protobuf.v1.FilterRelationship + 0, // 10: epl.protobuf.v1.UInt32Filter.sort_direction:type_name -> epl.protobuf.v1.SortDirection + 1, // 11: epl.protobuf.v1.StringFilter.rel_type:type_name -> epl.protobuf.v1.FilterRelationship + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_epl_protobuf_v1_query_proto_init() } +func file_epl_protobuf_v1_query_proto_init() { + if File_epl_protobuf_v1_query_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_epl_protobuf_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FloatFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DoubleFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimestampFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UInt32Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StringFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_epl_protobuf_v1_query_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*FloatFilter_Value)(nil), + (*FloatFilter_Start)(nil), + } + file_epl_protobuf_v1_query_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*DoubleFilter_Value)(nil), + (*DoubleFilter_Start)(nil), + } + file_epl_protobuf_v1_query_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*TimestampFilter_Value)(nil), + (*TimestampFilter_Start)(nil), + } + file_epl_protobuf_v1_query_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*UInt32Filter_Value)(nil), + (*UInt32Filter_Start)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_epl_protobuf_v1_query_proto_rawDesc, + NumEnums: 2, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_epl_protobuf_v1_query_proto_goTypes, + DependencyIndexes: file_epl_protobuf_v1_query_proto_depIdxs, + EnumInfos: file_epl_protobuf_v1_query_proto_enumTypes, + MessageInfos: file_epl_protobuf_v1_query_proto_msgTypes, + }.Build() + File_epl_protobuf_v1_query_proto = out.File + file_epl_protobuf_v1_query_proto_rawDesc = nil + file_epl_protobuf_v1_query_proto_goTypes = nil + file_epl_protobuf_v1_query_proto_depIdxs = nil } diff --git a/golang/epl/protobuf/v1/stac.pb.go b/golang/epl/protobuf/v1/stac.pb.go index d48a2c5..7cf7f8c 100644 --- a/golang/epl/protobuf/v1/stac.pb.go +++ b/golang/epl/protobuf/v1/stac.pb.go @@ -1,136 +1,197 @@ +// +//Copyright 2017-2019 Echo Park Labs +// +//Licensed 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. +// +//For additional information, contact: +// +//email: info@echoparklabs.io + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0-devel +// protoc v3.15.2 // source: epl/protobuf/v1/stac.proto package v1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type AssetType int32 const ( AssetType_UNKNOWN_ASSET AssetType = 0 AssetType_JPEG AssetType = 1 - AssetType_GEOTIFF AssetType = 2 - AssetType_LERC AssetType = 3 - AssetType_MRF AssetType = 4 - AssetType_MRF_IDX AssetType = 5 + AssetType_GEOTIFF AssetType = 2 // geotiff https://www.gdal.org/frmt_gtiff.html + AssetType_LERC AssetType = 3 // Limited Error Raster Compression + AssetType_MRF AssetType = 4 // metadata raster file https://github.com/nasa-gibs/mrf/blob/master/spec/mrf_spec.md#mrf-metadata-file-mrf + AssetType_MRF_IDX AssetType = 5 // metadata raster file index https://github.com/nasa-gibs/mrf/blob/master/spec/mrf_spec.md#mrf-index-file-idx AssetType_MRF_XML AssetType = 6 - AssetType_CO_GEOTIFF AssetType = 7 - AssetType_RAW AssetType = 8 - AssetType_THUMBNAIL AssetType = 9 + AssetType_CO_GEOTIFF AssetType = 7 // cloud optimized geotiff https://www.cogeo.org/ + AssetType_RAW AssetType = 8 // Generic raw data + AssetType_THUMBNAIL AssetType = 9 // thumbnail. could be jpg or png AssetType_TIFF AssetType = 10 AssetType_JPEG_2000 AssetType = 11 AssetType_XML AssetType = 12 AssetType_TXT AssetType = 13 AssetType_PNG AssetType = 14 - AssetType_OVERVIEW AssetType = 15 + AssetType_OVERVIEW AssetType = 15 // GDAL overview file https://gdal.org/programs/gdaladdo.html AssetType_JSON AssetType = 16 AssetType_HTML AssetType = 17 AssetType_WEBP AssetType = 18 ) -var AssetType_name = map[int32]string{ - 0: "UNKNOWN_ASSET", - 1: "JPEG", - 2: "GEOTIFF", - 3: "LERC", - 4: "MRF", - 5: "MRF_IDX", - 6: "MRF_XML", - 7: "CO_GEOTIFF", - 8: "RAW", - 9: "THUMBNAIL", - 10: "TIFF", - 11: "JPEG_2000", - 12: "XML", - 13: "TXT", - 14: "PNG", - 15: "OVERVIEW", - 16: "JSON", - 17: "HTML", - 18: "WEBP", -} - -var AssetType_value = map[string]int32{ - "UNKNOWN_ASSET": 0, - "JPEG": 1, - "GEOTIFF": 2, - "LERC": 3, - "MRF": 4, - "MRF_IDX": 5, - "MRF_XML": 6, - "CO_GEOTIFF": 7, - "RAW": 8, - "THUMBNAIL": 9, - "TIFF": 10, - "JPEG_2000": 11, - "XML": 12, - "TXT": 13, - "PNG": 14, - "OVERVIEW": 15, - "JSON": 16, - "HTML": 17, - "WEBP": 18, +// Enum value maps for AssetType. +var ( + AssetType_name = map[int32]string{ + 0: "UNKNOWN_ASSET", + 1: "JPEG", + 2: "GEOTIFF", + 3: "LERC", + 4: "MRF", + 5: "MRF_IDX", + 6: "MRF_XML", + 7: "CO_GEOTIFF", + 8: "RAW", + 9: "THUMBNAIL", + 10: "TIFF", + 11: "JPEG_2000", + 12: "XML", + 13: "TXT", + 14: "PNG", + 15: "OVERVIEW", + 16: "JSON", + 17: "HTML", + 18: "WEBP", + } + AssetType_value = map[string]int32{ + "UNKNOWN_ASSET": 0, + "JPEG": 1, + "GEOTIFF": 2, + "LERC": 3, + "MRF": 4, + "MRF_IDX": 5, + "MRF_XML": 6, + "CO_GEOTIFF": 7, + "RAW": 8, + "THUMBNAIL": 9, + "TIFF": 10, + "JPEG_2000": 11, + "XML": 12, + "TXT": 13, + "PNG": 14, + "OVERVIEW": 15, + "JSON": 16, + "HTML": 17, + "WEBP": 18, + } +) + +func (x AssetType) Enum() *AssetType { + p := new(AssetType) + *p = x + return p } func (x AssetType) String() string { - return proto.EnumName(AssetType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AssetType) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[0].Descriptor() +} + +func (AssetType) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[0] +} + +func (x AssetType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use AssetType.Descriptor instead. func (AssetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{0} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{0} } type CloudPlatform int32 const ( CloudPlatform_UNKNOWN_CLOUD_PLATFORM CloudPlatform = 0 - CloudPlatform_AWS CloudPlatform = 1 - CloudPlatform_GCP CloudPlatform = 2 - CloudPlatform_AZURE CloudPlatform = 3 - CloudPlatform_IBM CloudPlatform = 4 + CloudPlatform_AWS CloudPlatform = 1 // Amazon Web Services + CloudPlatform_GCP CloudPlatform = 2 // Google Cloud Platform + CloudPlatform_AZURE CloudPlatform = 3 // Microsoft's Azure + CloudPlatform_IBM CloudPlatform = 4 // IBM ) -var CloudPlatform_name = map[int32]string{ - 0: "UNKNOWN_CLOUD_PLATFORM", - 1: "AWS", - 2: "GCP", - 3: "AZURE", - 4: "IBM", -} +// Enum value maps for CloudPlatform. +var ( + CloudPlatform_name = map[int32]string{ + 0: "UNKNOWN_CLOUD_PLATFORM", + 1: "AWS", + 2: "GCP", + 3: "AZURE", + 4: "IBM", + } + CloudPlatform_value = map[string]int32{ + "UNKNOWN_CLOUD_PLATFORM": 0, + "AWS": 1, + "GCP": 2, + "AZURE": 3, + "IBM": 4, + } +) -var CloudPlatform_value = map[string]int32{ - "UNKNOWN_CLOUD_PLATFORM": 0, - "AWS": 1, - "GCP": 2, - "AZURE": 3, - "IBM": 4, +func (x CloudPlatform) Enum() *CloudPlatform { + p := new(CloudPlatform) + *p = x + return p } func (x CloudPlatform) String() string { - return proto.EnumName(CloudPlatform_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (CloudPlatform) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[1].Descriptor() +} + +func (CloudPlatform) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[1] +} + +func (x CloudPlatform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CloudPlatform.Descriptor instead. func (CloudPlatform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{1} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{1} } type Platform int32 @@ -151,42 +212,63 @@ const ( Platform_SWIFT_3 Platform = 512 ) -var Platform_name = map[int32]string{ - 0: "UNKNOWN_PLATFORM", - 2: "LANDSAT_1", - 4: "LANDSAT_2", - 8: "LANDSAT_3", - 14: "LANDSAT_123", - 16: "LANDSAT_4", - 32: "LANDSAT_5", - 48: "LANDSAT_45", - 64: "LANDSAT_7", - 128: "LANDSAT_8", - 256: "SWIFT_2", - 512: "SWIFT_3", -} - -var Platform_value = map[string]int32{ - "UNKNOWN_PLATFORM": 0, - "LANDSAT_1": 2, - "LANDSAT_2": 4, - "LANDSAT_3": 8, - "LANDSAT_123": 14, - "LANDSAT_4": 16, - "LANDSAT_5": 32, - "LANDSAT_45": 48, - "LANDSAT_7": 64, - "LANDSAT_8": 128, - "SWIFT_2": 256, - "SWIFT_3": 512, +// Enum value maps for Platform. +var ( + Platform_name = map[int32]string{ + 0: "UNKNOWN_PLATFORM", + 2: "LANDSAT_1", + 4: "LANDSAT_2", + 8: "LANDSAT_3", + 14: "LANDSAT_123", + 16: "LANDSAT_4", + 32: "LANDSAT_5", + 48: "LANDSAT_45", + 64: "LANDSAT_7", + 128: "LANDSAT_8", + 256: "SWIFT_2", + 512: "SWIFT_3", + } + Platform_value = map[string]int32{ + "UNKNOWN_PLATFORM": 0, + "LANDSAT_1": 2, + "LANDSAT_2": 4, + "LANDSAT_3": 8, + "LANDSAT_123": 14, + "LANDSAT_4": 16, + "LANDSAT_5": 32, + "LANDSAT_45": 48, + "LANDSAT_7": 64, + "LANDSAT_8": 128, + "SWIFT_2": 256, + "SWIFT_3": 512, + } +) + +func (x Platform) Enum() *Platform { + p := new(Platform) + *p = x + return p } func (x Platform) String() string { - return proto.EnumName(Platform_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Platform) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[2].Descriptor() +} + +func (Platform) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[2] +} + +func (x Platform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Platform.Descriptor instead. func (Platform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{2} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{2} } type Instrument int32 @@ -205,36 +287,57 @@ const ( Instrument_POM_2 Instrument = 128 ) -var Instrument_name = map[int32]string{ - 0: "UNKNOWN_INSTRUMENT", - 2: "OLI", - 4: "TIRS", - 6: "OLI_TIRS", - 8: "POM_1", - 16: "TM", - 32: "ETM", - 64: "MSS", - 128: "POM_2", -} - -var Instrument_value = map[string]int32{ - "UNKNOWN_INSTRUMENT": 0, - "OLI": 2, - "TIRS": 4, - "OLI_TIRS": 6, - "POM_1": 8, - "TM": 16, - "ETM": 32, - "MSS": 64, - "POM_2": 128, +// Enum value maps for Instrument. +var ( + Instrument_name = map[int32]string{ + 0: "UNKNOWN_INSTRUMENT", + 2: "OLI", + 4: "TIRS", + 6: "OLI_TIRS", + 8: "POM_1", + 16: "TM", + 32: "ETM", + 64: "MSS", + 128: "POM_2", + } + Instrument_value = map[string]int32{ + "UNKNOWN_INSTRUMENT": 0, + "OLI": 2, + "TIRS": 4, + "OLI_TIRS": 6, + "POM_1": 8, + "TM": 16, + "ETM": 32, + "MSS": 64, + "POM_2": 128, + } +) + +func (x Instrument) Enum() *Instrument { + p := new(Instrument) + *p = x + return p } func (x Instrument) String() string { - return proto.EnumName(Instrument_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Instrument) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[3].Descriptor() +} + +func (Instrument) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[3] +} + +func (x Instrument) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Instrument.Descriptor instead. func (Instrument) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{3} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{3} } type Constellation int32 @@ -243,20 +346,41 @@ const ( Constellation_UNKNOWN_CONSTELLATION Constellation = 0 ) -var Constellation_name = map[int32]string{ - 0: "UNKNOWN_CONSTELLATION", -} +// Enum value maps for Constellation. +var ( + Constellation_name = map[int32]string{ + 0: "UNKNOWN_CONSTELLATION", + } + Constellation_value = map[string]int32{ + "UNKNOWN_CONSTELLATION": 0, + } +) -var Constellation_value = map[string]int32{ - "UNKNOWN_CONSTELLATION": 0, +func (x Constellation) Enum() *Constellation { + p := new(Constellation) + *p = x + return p } func (x Constellation) String() string { - return proto.EnumName(Constellation_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Constellation) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[4].Descriptor() +} + +func (Constellation) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[4] } +func (x Constellation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Constellation.Descriptor instead. func (Constellation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{4} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{4} } type Mission int32 @@ -271,28 +395,49 @@ const ( Mission_SWIFT Mission = 16 ) -var Mission_name = map[int32]string{ - 0: "UNKNOWN_MISSION", - 2: "LANDSAT", - 4: "NAIP", - 8: "PNOA", - 16: "SWIFT", -} +// Enum value maps for Mission. +var ( + Mission_name = map[int32]string{ + 0: "UNKNOWN_MISSION", + 2: "LANDSAT", + 4: "NAIP", + 8: "PNOA", + 16: "SWIFT", + } + Mission_value = map[string]int32{ + "UNKNOWN_MISSION": 0, + "LANDSAT": 2, + "NAIP": 4, + "PNOA": 8, + "SWIFT": 16, + } +) -var Mission_value = map[string]int32{ - "UNKNOWN_MISSION": 0, - "LANDSAT": 2, - "NAIP": 4, - "PNOA": 8, - "SWIFT": 16, +func (x Mission) Enum() *Mission { + p := new(Mission) + *p = x + return p } func (x Mission) String() string { - return proto.EnumName(Mission_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Mission) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[5].Descriptor() +} + +func (Mission) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[5] +} + +func (x Mission) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Mission.Descriptor instead. func (Mission) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{5} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{5} } type Sat_OrbitState int32 @@ -304,26 +449,47 @@ const ( Sat_GEOSTATIONARY_ORBIT Sat_OrbitState = 3 ) -var Sat_OrbitState_name = map[int32]string{ - 0: "UKNOWN_ORBIT_STATE", - 1: "ASCENDING_ORBIT", - 2: "DESCENDING_ORBIT", - 3: "GEOSTATIONARY_ORBIT", -} +// Enum value maps for Sat_OrbitState. +var ( + Sat_OrbitState_name = map[int32]string{ + 0: "UKNOWN_ORBIT_STATE", + 1: "ASCENDING_ORBIT", + 2: "DESCENDING_ORBIT", + 3: "GEOSTATIONARY_ORBIT", + } + Sat_OrbitState_value = map[string]int32{ + "UKNOWN_ORBIT_STATE": 0, + "ASCENDING_ORBIT": 1, + "DESCENDING_ORBIT": 2, + "GEOSTATIONARY_ORBIT": 3, + } +) -var Sat_OrbitState_value = map[string]int32{ - "UKNOWN_ORBIT_STATE": 0, - "ASCENDING_ORBIT": 1, - "DESCENDING_ORBIT": 2, - "GEOSTATIONARY_ORBIT": 3, +func (x Sat_OrbitState) Enum() *Sat_OrbitState { + p := new(Sat_OrbitState) + *p = x + return p } func (x Sat_OrbitState) String() string { - return proto.EnumName(Sat_OrbitState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Sat_OrbitState) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[6].Descriptor() +} + +func (Sat_OrbitState) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[6] +} + +func (x Sat_OrbitState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Sat_OrbitState.Descriptor instead. func (Sat_OrbitState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{10, 0} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{10, 0} } type Eo_Band int32 @@ -348,48 +514,69 @@ const ( Eo_LWIR_2 Eo_Band = 2048 ) -var Eo_Band_name = map[int32]string{ - 0: "UNKNOWN_BAND", - 2: "COASTAL", - 4: "BLUE", - 8: "GREEN", - 16: "RED", - 28: "RGB", - 32: "NIR", - 33: "NIR_2", - 60: "RGBIR", - 64: "SWIR_1", - 128: "SWIR_2", - 256: "PAN", - 512: "CIRRUS", - 1024: "LWIR_1", - 2048: "LWIR_2", -} - -var Eo_Band_value = map[string]int32{ - "UNKNOWN_BAND": 0, - "COASTAL": 2, - "BLUE": 4, - "GREEN": 8, - "RED": 16, - "RGB": 28, - "NIR": 32, - "NIR_2": 33, - "RGBIR": 60, - "SWIR_1": 64, - "SWIR_2": 128, - "PAN": 256, - "CIRRUS": 512, - "LWIR_1": 1024, - "LWIR_2": 2048, +// Enum value maps for Eo_Band. +var ( + Eo_Band_name = map[int32]string{ + 0: "UNKNOWN_BAND", + 2: "COASTAL", + 4: "BLUE", + 8: "GREEN", + 16: "RED", + 28: "RGB", + 32: "NIR", + 33: "NIR_2", + 60: "RGBIR", + 64: "SWIR_1", + 128: "SWIR_2", + 256: "PAN", + 512: "CIRRUS", + 1024: "LWIR_1", + 2048: "LWIR_2", + } + Eo_Band_value = map[string]int32{ + "UNKNOWN_BAND": 0, + "COASTAL": 2, + "BLUE": 4, + "GREEN": 8, + "RED": 16, + "RGB": 28, + "NIR": 32, + "NIR_2": 33, + "RGBIR": 60, + "SWIR_1": 64, + "SWIR_2": 128, + "PAN": 256, + "CIRRUS": 512, + "LWIR_1": 1024, + "LWIR_2": 2048, + } +) + +func (x Eo_Band) Enum() *Eo_Band { + p := new(Eo_Band) + *p = x + return p } func (x Eo_Band) String() string { - return proto.EnumName(Eo_Band_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Eo_Band) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[7].Descriptor() +} + +func (Eo_Band) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[7] +} + +func (x Eo_Band) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Eo_Band.Descriptor instead. func (Eo_Band) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{12, 0} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{12, 0} } type Sar_Platform int32 @@ -400,24 +587,45 @@ const ( Sar_SENTINEL_1A Sar_Platform = 2 ) -var Sar_Platform_name = map[int32]string{ - 0: "UNKNOWN_PLATFORM", - 1: "ENVISAT", - 2: "SENTINEL_1A", -} +// Enum value maps for Sar_Platform. +var ( + Sar_Platform_name = map[int32]string{ + 0: "UNKNOWN_PLATFORM", + 1: "ENVISAT", + 2: "SENTINEL_1A", + } + Sar_Platform_value = map[string]int32{ + "UNKNOWN_PLATFORM": 0, + "ENVISAT": 1, + "SENTINEL_1A": 2, + } +) -var Sar_Platform_value = map[string]int32{ - "UNKNOWN_PLATFORM": 0, - "ENVISAT": 1, - "SENTINEL_1A": 2, +func (x Sar_Platform) Enum() *Sar_Platform { + p := new(Sar_Platform) + *p = x + return p } func (x Sar_Platform) String() string { - return proto.EnumName(Sar_Platform_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Sar_Platform) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[8].Descriptor() +} + +func (Sar_Platform) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[8] +} + +func (x Sar_Platform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Sar_Platform.Descriptor instead. func (Sar_Platform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{17, 0} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{17, 0} } type Sar_Instrument int32 @@ -426,20 +634,41 @@ const ( Sar_UNKNOWN_INSTRUMENT Sar_Instrument = 0 ) -var Sar_Instrument_name = map[int32]string{ - 0: "UNKNOWN_INSTRUMENT", -} +// Enum value maps for Sar_Instrument. +var ( + Sar_Instrument_name = map[int32]string{ + 0: "UNKNOWN_INSTRUMENT", + } + Sar_Instrument_value = map[string]int32{ + "UNKNOWN_INSTRUMENT": 0, + } +) -var Sar_Instrument_value = map[string]int32{ - "UNKNOWN_INSTRUMENT": 0, +func (x Sar_Instrument) Enum() *Sar_Instrument { + p := new(Sar_Instrument) + *p = x + return p } func (x Sar_Instrument) String() string { - return proto.EnumName(Sar_Instrument_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Sar_Instrument) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[9].Descriptor() +} + +func (Sar_Instrument) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[9] } +func (x Sar_Instrument) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Sar_Instrument.Descriptor instead. func (Sar_Instrument) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{17, 1} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{17, 1} } type Landsat_CollectionCategory int32 @@ -453,30 +682,51 @@ const ( Landsat_RT Landsat_CollectionCategory = 5 ) -var Landsat_CollectionCategory_name = map[int32]string{ - 0: "UNKNOWN_COLLECTION_CATEGORY", - 1: "A1", - 2: "A2", - 3: "T1", - 4: "T2", - 5: "RT", -} +// Enum value maps for Landsat_CollectionCategory. +var ( + Landsat_CollectionCategory_name = map[int32]string{ + 0: "UNKNOWN_COLLECTION_CATEGORY", + 1: "A1", + 2: "A2", + 3: "T1", + 4: "T2", + 5: "RT", + } + Landsat_CollectionCategory_value = map[string]int32{ + "UNKNOWN_COLLECTION_CATEGORY": 0, + "A1": 1, + "A2": 2, + "T1": 3, + "T2": 4, + "RT": 5, + } +) -var Landsat_CollectionCategory_value = map[string]int32{ - "UNKNOWN_COLLECTION_CATEGORY": 0, - "A1": 1, - "A2": 2, - "T1": 3, - "T2": 4, - "RT": 5, +func (x Landsat_CollectionCategory) Enum() *Landsat_CollectionCategory { + p := new(Landsat_CollectionCategory) + *p = x + return p } func (x Landsat_CollectionCategory) String() string { - return proto.EnumName(Landsat_CollectionCategory_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Landsat_CollectionCategory) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[10].Descriptor() +} + +func (Landsat_CollectionCategory) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[10] +} + +func (x Landsat_CollectionCategory) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Landsat_CollectionCategory.Descriptor instead. func (Landsat_CollectionCategory) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{18, 0} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{18, 0} } type Landsat_WRSType int32 @@ -487,24 +737,45 @@ const ( Landsat_WRS2 Landsat_WRSType = 2 ) -var Landsat_WRSType_name = map[int32]string{ - 0: "UKNOWN_WRS", - 1: "WRS1", - 2: "WRS2", -} +// Enum value maps for Landsat_WRSType. +var ( + Landsat_WRSType_name = map[int32]string{ + 0: "UKNOWN_WRS", + 1: "WRS1", + 2: "WRS2", + } + Landsat_WRSType_value = map[string]int32{ + "UKNOWN_WRS": 0, + "WRS1": 1, + "WRS2": 2, + } +) -var Landsat_WRSType_value = map[string]int32{ - "UKNOWN_WRS": 0, - "WRS1": 1, - "WRS2": 2, +func (x Landsat_WRSType) Enum() *Landsat_WRSType { + p := new(Landsat_WRSType) + *p = x + return p } func (x Landsat_WRSType) String() string { - return proto.EnumName(Landsat_WRSType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Landsat_WRSType) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[11].Descriptor() +} + +func (Landsat_WRSType) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[11] +} + +func (x Landsat_WRSType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Landsat_WRSType.Descriptor instead. func (Landsat_WRSType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{18, 1} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{18, 1} } type Landsat_ProcessingLevel int32 @@ -518,33 +789,58 @@ const ( Landsat_L1GS Landsat_ProcessingLevel = 5 ) -var Landsat_ProcessingLevel_name = map[int32]string{ - 0: "UNKNOWN_PROCESSING_LEVEL", - 1: "L1G", - 2: "L1TP", - 3: "L1T", - 4: "L1GT", - 5: "L1GS", -} +// Enum value maps for Landsat_ProcessingLevel. +var ( + Landsat_ProcessingLevel_name = map[int32]string{ + 0: "UNKNOWN_PROCESSING_LEVEL", + 1: "L1G", + 2: "L1TP", + 3: "L1T", + 4: "L1GT", + 5: "L1GS", + } + Landsat_ProcessingLevel_value = map[string]int32{ + "UNKNOWN_PROCESSING_LEVEL": 0, + "L1G": 1, + "L1TP": 2, + "L1T": 3, + "L1GT": 4, + "L1GS": 5, + } +) -var Landsat_ProcessingLevel_value = map[string]int32{ - "UNKNOWN_PROCESSING_LEVEL": 0, - "L1G": 1, - "L1TP": 2, - "L1T": 3, - "L1GT": 4, - "L1GS": 5, +func (x Landsat_ProcessingLevel) Enum() *Landsat_ProcessingLevel { + p := new(Landsat_ProcessingLevel) + *p = x + return p } func (x Landsat_ProcessingLevel) String() string { - return proto.EnumName(Landsat_ProcessingLevel_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Landsat_ProcessingLevel) Descriptor() protoreflect.EnumDescriptor { + return file_epl_protobuf_v1_stac_proto_enumTypes[12].Descriptor() +} + +func (Landsat_ProcessingLevel) Type() protoreflect.EnumType { + return &file_epl_protobuf_v1_stac_proto_enumTypes[12] +} + +func (x Landsat_ProcessingLevel) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Landsat_ProcessingLevel.Descriptor instead. func (Landsat_ProcessingLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{18, 2} + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{18, 2} } type Collection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. The STAC version the Collection implements. STAC versions // can be mixed, but please keep the recommended best practices in mind. StacVersion string `protobuf:"bytes,1,opt,name=stac_version,json=stacVersion,proto3" json:"stac_version,omitempty"` @@ -563,159 +859,155 @@ type Collection struct { // REQUIRED. Spatial and temporal extents. Extent *Extent `protobuf:"bytes,9,opt,name=extent,proto3" json:"extent,omitempty"` // A map of property summaries, either a set of values or statistics such as a range. - Summaries map[string]*Stats `protobuf:"bytes,10,rep,name=summaries,proto3" json:"summaries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Summaries map[string]*Stats `protobuf:"bytes,10,rep,name=summaries,proto3" json:"summaries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Collection) Reset() { *m = Collection{} } -func (m *Collection) String() string { return proto.CompactTextString(m) } -func (*Collection) ProtoMessage() {} -func (*Collection) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{0} +func (x *Collection) Reset() { + *x = Collection{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Collection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Collection.Unmarshal(m, b) -} -func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Collection.Marshal(b, m, deterministic) -} -func (m *Collection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Collection.Merge(m, src) -} -func (m *Collection) XXX_Size() int { - return xxx_messageInfo_Collection.Size(m) +func (x *Collection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Collection) XXX_DiscardUnknown() { - xxx_messageInfo_Collection.DiscardUnknown(m) + +func (*Collection) ProtoMessage() {} + +func (x *Collection) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Collection proto.InternalMessageInfo +// Deprecated: Use Collection.ProtoReflect.Descriptor instead. +func (*Collection) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{0} +} -func (m *Collection) GetStacVersion() string { - if m != nil { - return m.StacVersion +func (x *Collection) GetStacVersion() string { + if x != nil { + return x.StacVersion } return "" } -func (m *Collection) GetId() string { - if m != nil { - return m.Id +func (x *Collection) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Collection) GetTitle() string { - if m != nil { - return m.Title +func (x *Collection) GetTitle() string { + if x != nil { + return x.Title } return "" } -func (m *Collection) GetDescription() string { - if m != nil { - return m.Description +func (x *Collection) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *Collection) GetKeywords() []string { - if m != nil { - return m.Keywords +func (x *Collection) GetKeywords() []string { + if x != nil { + return x.Keywords } return nil } -func (m *Collection) GetLicense() string { - if m != nil { - return m.License +func (x *Collection) GetLicense() string { + if x != nil { + return x.License } return "" } -func (m *Collection) GetProviders() []*Provider { - if m != nil { - return m.Providers +func (x *Collection) GetProviders() []*Provider { + if x != nil { + return x.Providers } return nil } -func (m *Collection) GetExtent() *Extent { - if m != nil { - return m.Extent +func (x *Collection) GetExtent() *Extent { + if x != nil { + return x.Extent } return nil } -func (m *Collection) GetSummaries() map[string]*Stats { - if m != nil { - return m.Summaries +func (x *Collection) GetSummaries() map[string]*Stats { + if x != nil { + return x.Summaries } return nil } type CollectionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Types that are valid to be assigned to Spatial: + // Types that are assignable to Spatial: // *CollectionRequest_Bbox // *CollectionRequest_Intersects - Spatial isCollectionRequest_Spatial `protobuf_oneof:"spatial"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spatial isCollectionRequest_Spatial `protobuf_oneof:"spatial"` } -func (m *CollectionRequest) Reset() { *m = CollectionRequest{} } -func (m *CollectionRequest) String() string { return proto.CompactTextString(m) } -func (*CollectionRequest) ProtoMessage() {} -func (*CollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{1} +func (x *CollectionRequest) Reset() { + *x = CollectionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CollectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CollectionRequest.Unmarshal(m, b) -} -func (m *CollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CollectionRequest.Marshal(b, m, deterministic) -} -func (m *CollectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectionRequest.Merge(m, src) -} -func (m *CollectionRequest) XXX_Size() int { - return xxx_messageInfo_CollectionRequest.Size(m) -} -func (m *CollectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CollectionRequest.DiscardUnknown(m) +func (x *CollectionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CollectionRequest proto.InternalMessageInfo +func (*CollectionRequest) ProtoMessage() {} -func (m *CollectionRequest) GetId() string { - if m != nil { - return m.Id +func (x *CollectionRequest) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" -} - -type isCollectionRequest_Spatial interface { - isCollectionRequest_Spatial() + return mi.MessageOf(x) } -type CollectionRequest_Bbox struct { - Bbox *EnvelopeData `protobuf:"bytes,2,opt,name=bbox,proto3,oneof"` +// Deprecated: Use CollectionRequest.ProtoReflect.Descriptor instead. +func (*CollectionRequest) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{1} } -type CollectionRequest_Intersects struct { - Intersects *GeometryData `protobuf:"bytes,3,opt,name=intersects,proto3,oneof"` +func (x *CollectionRequest) GetId() string { + if x != nil { + return x.Id + } + return "" } -func (*CollectionRequest_Bbox) isCollectionRequest_Spatial() {} - -func (*CollectionRequest_Intersects) isCollectionRequest_Spatial() {} - func (m *CollectionRequest) GetSpatial() isCollectionRequest_Spatial { if m != nil { return m.Spatial @@ -723,105 +1015,128 @@ func (m *CollectionRequest) GetSpatial() isCollectionRequest_Spatial { return nil } -func (m *CollectionRequest) GetBbox() *EnvelopeData { - if x, ok := m.GetSpatial().(*CollectionRequest_Bbox); ok { +func (x *CollectionRequest) GetBbox() *EnvelopeData { + if x, ok := x.GetSpatial().(*CollectionRequest_Bbox); ok { return x.Bbox } return nil } -func (m *CollectionRequest) GetIntersects() *GeometryData { - if x, ok := m.GetSpatial().(*CollectionRequest_Intersects); ok { +func (x *CollectionRequest) GetIntersects() *GeometryData { + if x, ok := x.GetSpatial().(*CollectionRequest_Intersects); ok { return x.Intersects } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CollectionRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CollectionRequest_Bbox)(nil), - (*CollectionRequest_Intersects)(nil), - } +type isCollectionRequest_Spatial interface { + isCollectionRequest_Spatial() } -type Stats struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type CollectionRequest_Bbox struct { + Bbox *EnvelopeData `protobuf:"bytes,2,opt,name=bbox,proto3,oneof"` } -func (m *Stats) Reset() { *m = Stats{} } -func (m *Stats) String() string { return proto.CompactTextString(m) } -func (*Stats) ProtoMessage() {} -func (*Stats) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{2} +type CollectionRequest_Intersects struct { + Intersects *GeometryData `protobuf:"bytes,3,opt,name=intersects,proto3,oneof"` } -func (m *Stats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Stats.Unmarshal(m, b) -} -func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Stats.Marshal(b, m, deterministic) +func (*CollectionRequest_Bbox) isCollectionRequest_Spatial() {} + +func (*CollectionRequest_Intersects) isCollectionRequest_Spatial() {} + +type Stats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Stats) XXX_Merge(src proto.Message) { - xxx_messageInfo_Stats.Merge(m, src) + +func (x *Stats) Reset() { + *x = Stats{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Stats) XXX_Size() int { - return xxx_messageInfo_Stats.Size(m) + +func (x *Stats) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Stats) XXX_DiscardUnknown() { - xxx_messageInfo_Stats.DiscardUnknown(m) + +func (*Stats) ProtoMessage() {} + +func (x *Stats) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Stats proto.InternalMessageInfo +// Deprecated: Use Stats.ProtoReflect.Descriptor instead. +func (*Stats) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{2} +} // The object describes the spatio-temporal extents of the Collection. Both spatial and temporal extents are required to be specified. type Extent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. Potential spatial extent covered by the collection. Spatial []*EnvelopeData `protobuf:"bytes,1,rep,name=spatial,proto3" json:"spatial,omitempty"` // REQUIRED. Potential temporal extent covered by the collection. - Temporal []*Interval `protobuf:"bytes,2,rep,name=temporal,proto3" json:"temporal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Temporal []*Interval `protobuf:"bytes,2,rep,name=temporal,proto3" json:"temporal,omitempty"` } -func (m *Extent) Reset() { *m = Extent{} } -func (m *Extent) String() string { return proto.CompactTextString(m) } -func (*Extent) ProtoMessage() {} -func (*Extent) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{3} +func (x *Extent) Reset() { + *x = Extent{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Extent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Extent.Unmarshal(m, b) +func (x *Extent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Extent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Extent.Marshal(b, m, deterministic) -} -func (m *Extent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Extent.Merge(m, src) -} -func (m *Extent) XXX_Size() int { - return xxx_messageInfo_Extent.Size(m) -} -func (m *Extent) XXX_DiscardUnknown() { - xxx_messageInfo_Extent.DiscardUnknown(m) + +func (*Extent) ProtoMessage() {} + +func (x *Extent) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Extent proto.InternalMessageInfo +// Deprecated: Use Extent.ProtoReflect.Descriptor instead. +func (*Extent) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{3} +} -func (m *Extent) GetSpatial() []*EnvelopeData { - if m != nil { - return m.Spatial +func (x *Extent) GetSpatial() []*EnvelopeData { + if x != nil { + return x.Spatial } return nil } -func (m *Extent) GetTemporal() []*Interval { - if m != nil { - return m.Temporal +func (x *Extent) GetTemporal() []*Interval { + if x != nil { + return x.Temporal } return nil } @@ -829,54 +1144,66 @@ func (m *Extent) GetTemporal() []*Interval { // https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#temporal-extent-object // The object describes the temporal extents of the Collection. type Interval struct { - Start *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Interval) Reset() { *m = Interval{} } -func (m *Interval) String() string { return proto.CompactTextString(m) } -func (*Interval) ProtoMessage() {} -func (*Interval) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{4} + Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` } -func (m *Interval) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Interval.Unmarshal(m, b) -} -func (m *Interval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Interval.Marshal(b, m, deterministic) -} -func (m *Interval) XXX_Merge(src proto.Message) { - xxx_messageInfo_Interval.Merge(m, src) +func (x *Interval) Reset() { + *x = Interval{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Interval) XXX_Size() int { - return xxx_messageInfo_Interval.Size(m) + +func (x *Interval) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Interval) XXX_DiscardUnknown() { - xxx_messageInfo_Interval.DiscardUnknown(m) + +func (*Interval) ProtoMessage() {} + +func (x *Interval) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Interval proto.InternalMessageInfo +// Deprecated: Use Interval.ProtoReflect.Descriptor instead. +func (*Interval) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{4} +} -func (m *Interval) GetStart() *timestamp.Timestamp { - if m != nil { - return m.Start +func (x *Interval) GetStart() *timestamppb.Timestamp { + if x != nil { + return x.Start } return nil } -func (m *Interval) GetEnd() *timestamp.Timestamp { - if m != nil { - return m.End +func (x *Interval) GetEnd() *timestamppb.Timestamp { + if x != nil { + return x.End } return nil } // The object provides information about a provider. A provider is any of the organizations that captures or processes the content of the collection and therefore influences the data offered by this collection. May also include information about the final storage provider hosting the data. type Provider struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. The name of the organization or the individual. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Multi-line description to add further provider information such as processing details for processors and producers, hosting details for hosts or basic contact information. CommonMark 0.29 syntax MAY be used for rich text representation. @@ -884,61 +1211,65 @@ type Provider struct { // Roles of the provider. Any of licensor, producer, processor or host. Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` // Homepage on which the provider describes the dataset and publishes contact information. - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` } -func (m *Provider) Reset() { *m = Provider{} } -func (m *Provider) String() string { return proto.CompactTextString(m) } -func (*Provider) ProtoMessage() {} -func (*Provider) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{5} +func (x *Provider) Reset() { + *x = Provider{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Provider) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Provider.Unmarshal(m, b) +func (x *Provider) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Provider.Marshal(b, m, deterministic) -} -func (m *Provider) XXX_Merge(src proto.Message) { - xxx_messageInfo_Provider.Merge(m, src) -} -func (m *Provider) XXX_Size() int { - return xxx_messageInfo_Provider.Size(m) -} -func (m *Provider) XXX_DiscardUnknown() { - xxx_messageInfo_Provider.DiscardUnknown(m) + +func (*Provider) ProtoMessage() {} + +func (x *Provider) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Provider proto.InternalMessageInfo +// Deprecated: Use Provider.ProtoReflect.Descriptor instead. +func (*Provider) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{5} +} -func (m *Provider) GetName() string { - if m != nil { - return m.Name +func (x *Provider) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Provider) GetDescription() string { - if m != nil { - return m.Description +func (x *Provider) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *Provider) GetRoles() []string { - if m != nil { - return m.Roles +func (x *Provider) GetRoles() []string { + if x != nil { + return x.Roles } return nil } -func (m *Provider) GetUrl() string { - if m != nil { - return m.Url +func (x *Provider) GetUrl() string { + if x != nil { + return x.Url } return "" } @@ -948,6 +1279,10 @@ func (m *Provider) GetUrl() string { // downloadable assets. It may have an extension with details beyond the spatial and temporal extents. It may have // additional properties in the properties field type StacItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Provider identifier. As most geospatial assets are already defined by some identification scheme by the data // provider it is recommended to simply use that ID. Data providers are advised to include sufficient information // to make their IDs globally unique, including things like unique satellite IDs. @@ -960,7 +1295,7 @@ type StacItem struct { Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"` // the properties of an item that are not defined within the STAC specification. Requires marshalling and // un-marshalling https://developers.google.com/protocol-buffers/docs/proto3#any - Properties *any.Any `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` + Properties *anypb.Any `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` // Dictionary of asset objects that can be downloaded, each with a unique key. Some pre-defined keys are listed // in the chapter 'Asset types'. Assets map[string]*Asset `protobuf:"bytes,5,rep,name=assets,proto3" json:"assets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -968,24 +1303,24 @@ type StacItem struct { Geometry *GeometryData `protobuf:"bytes,6,opt,name=geometry,proto3" json:"geometry,omitempty"` // the bounding box of the spatial shape of the item. must have a spatial reference defined. Bbox *EnvelopeData `protobuf:"bytes,7,opt,name=bbox,proto3" json:"bbox,omitempty"` - // Types that are valid to be assigned to TemporalDeprecated: + // Types that are assignable to TemporalDeprecated: // *StacItem_Datetime // *StacItem_StartDatetime TemporalDeprecated isStacItem_TemporalDeprecated `protobuf_oneof:"temporal_deprecated"` - // Types that are valid to be assigned to Temporal: + // Types that are assignable to Temporal: // *StacItem_Observed // *StacItem_StartObservation Temporal isStacItem_Temporal `protobuf_oneof:"temporal"` // deprecated - EndDatetime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=end_datetime,json=endDatetime,proto3" json:"end_datetime,omitempty"` + EndDatetime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=end_datetime,json=endDatetime,proto3" json:"end_datetime,omitempty"` // end timestamp for a period of observation - EndObservation *timestamp.Timestamp `protobuf:"bytes,13,opt,name=end_observation,json=endObservation,proto3" json:"end_observation,omitempty"` + EndObservation *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=end_observation,json=endObservation,proto3" json:"end_observation,omitempty"` // timestamp when it was created (according to STAC spec this applies to metadata only, // but in our case we haven't implemented the asset level created date yet, so we don't have a // differentiation yet between metadata creation and asset creation. used to be `processed`) - Created *timestamp.Timestamp `protobuf:"bytes,14,opt,name=created,proto3" json:"created,omitempty"` + Created *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created,proto3" json:"created,omitempty"` // last timestamp when STAC metadata itself was updated - Updated *timestamp.Timestamp `protobuf:"bytes,15,opt,name=updated,proto3" json:"updated,omitempty"` + Updated *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated,proto3" json:"updated,omitempty"` // spatial reference of the assets (if assets have different projections, those can be assigned on // the assets and any not defined default to this projection) Proj *ProjectionData `protobuf:"bytes,16,opt,name=proj,proto3" json:"proj,omitempty"` @@ -1003,7 +1338,7 @@ type StacItem struct { MissionEnum Mission `protobuf:"varint,23,opt,name=mission_enum,json=missionEnum,proto3,enum=epl.protobuf.v1.Mission" json:"mission_enum,omitempty"` Mission string `protobuf:"bytes,24,opt,name=mission,proto3" json:"mission,omitempty"` // ground sampling distance - Gsd *wrappers.FloatValue `protobuf:"bytes,25,opt,name=gsd,proto3" json:"gsd,omitempty"` + Gsd *wrapperspb.FloatValue `protobuf:"bytes,25,opt,name=gsd,proto3" json:"gsd,omitempty"` // version of JSON STAC that this protobuf attempts to match StacVersion string `protobuf:"bytes,26,opt,name=stac_version,json=stacVersion,proto3" json:"stac_version,omitempty"` // version of protobuf STAC @@ -1015,103 +1350,91 @@ type StacItem struct { // view of the asset, includes all relevant angular information View *View `protobuf:"bytes,34,opt,name=view,proto3" json:"view,omitempty"` // Landsat Message - Landsat *Landsat `protobuf:"bytes,31,opt,name=landsat,proto3" json:"landsat,omitempty"` - Mosaic *Mosaic `protobuf:"bytes,32,opt,name=mosaic,proto3" json:"mosaic,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Landsat *Landsat `protobuf:"bytes,31,opt,name=landsat,proto3" json:"landsat,omitempty"` + Mosaic *Mosaic `protobuf:"bytes,32,opt,name=mosaic,proto3" json:"mosaic,omitempty"` } -func (m *StacItem) Reset() { *m = StacItem{} } -func (m *StacItem) String() string { return proto.CompactTextString(m) } -func (*StacItem) ProtoMessage() {} -func (*StacItem) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{6} +func (x *StacItem) Reset() { + *x = StacItem{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StacItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StacItem.Unmarshal(m, b) -} -func (m *StacItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StacItem.Marshal(b, m, deterministic) +func (x *StacItem) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StacItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_StacItem.Merge(m, src) -} -func (m *StacItem) XXX_Size() int { - return xxx_messageInfo_StacItem.Size(m) -} -func (m *StacItem) XXX_DiscardUnknown() { - xxx_messageInfo_StacItem.DiscardUnknown(m) + +func (*StacItem) ProtoMessage() {} + +func (x *StacItem) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StacItem proto.InternalMessageInfo +// Deprecated: Use StacItem.ProtoReflect.Descriptor instead. +func (*StacItem) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{6} +} -func (m *StacItem) GetId() string { - if m != nil { - return m.Id +func (x *StacItem) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *StacItem) GetTitle() string { - if m != nil { - return m.Title +func (x *StacItem) GetTitle() string { + if x != nil { + return x.Title } return "" } -func (m *StacItem) GetCollection() string { - if m != nil { - return m.Collection +func (x *StacItem) GetCollection() string { + if x != nil { + return x.Collection } return "" } -func (m *StacItem) GetProperties() *any.Any { - if m != nil { - return m.Properties +func (x *StacItem) GetProperties() *anypb.Any { + if x != nil { + return x.Properties } return nil } -func (m *StacItem) GetAssets() map[string]*Asset { - if m != nil { - return m.Assets +func (x *StacItem) GetAssets() map[string]*Asset { + if x != nil { + return x.Assets } return nil } -func (m *StacItem) GetGeometry() *GeometryData { - if m != nil { - return m.Geometry +func (x *StacItem) GetGeometry() *GeometryData { + if x != nil { + return x.Geometry } return nil } -func (m *StacItem) GetBbox() *EnvelopeData { - if m != nil { - return m.Bbox +func (x *StacItem) GetBbox() *EnvelopeData { + if x != nil { + return x.Bbox } return nil } -type isStacItem_TemporalDeprecated interface { - isStacItem_TemporalDeprecated() -} - -type StacItem_Datetime struct { - Datetime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=datetime,proto3,oneof"` -} - -type StacItem_StartDatetime struct { - StartDatetime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=start_datetime,json=startDatetime,proto3,oneof"` -} - -func (*StacItem_Datetime) isStacItem_TemporalDeprecated() {} - -func (*StacItem_StartDatetime) isStacItem_TemporalDeprecated() {} - func (m *StacItem) GetTemporalDeprecated() isStacItem_TemporalDeprecated { if m != nil { return m.TemporalDeprecated @@ -1119,36 +1442,20 @@ func (m *StacItem) GetTemporalDeprecated() isStacItem_TemporalDeprecated { return nil } -func (m *StacItem) GetDatetime() *timestamp.Timestamp { - if x, ok := m.GetTemporalDeprecated().(*StacItem_Datetime); ok { +func (x *StacItem) GetDatetime() *timestamppb.Timestamp { + if x, ok := x.GetTemporalDeprecated().(*StacItem_Datetime); ok { return x.Datetime } return nil } -func (m *StacItem) GetStartDatetime() *timestamp.Timestamp { - if x, ok := m.GetTemporalDeprecated().(*StacItem_StartDatetime); ok { +func (x *StacItem) GetStartDatetime() *timestamppb.Timestamp { + if x, ok := x.GetTemporalDeprecated().(*StacItem_StartDatetime); ok { return x.StartDatetime } return nil } -type isStacItem_Temporal interface { - isStacItem_Temporal() -} - -type StacItem_Observed struct { - Observed *timestamp.Timestamp `protobuf:"bytes,9,opt,name=observed,proto3,oneof"` -} - -type StacItem_StartObservation struct { - StartObservation *timestamp.Timestamp `protobuf:"bytes,11,opt,name=start_observation,json=startObservation,proto3,oneof"` -} - -func (*StacItem_Observed) isStacItem_Temporal() {} - -func (*StacItem_StartObservation) isStacItem_Temporal() {} - func (m *StacItem) GetTemporal() isStacItem_Temporal { if m != nil { return m.Temporal @@ -1156,197 +1463,227 @@ func (m *StacItem) GetTemporal() isStacItem_Temporal { return nil } -func (m *StacItem) GetObserved() *timestamp.Timestamp { - if x, ok := m.GetTemporal().(*StacItem_Observed); ok { +func (x *StacItem) GetObserved() *timestamppb.Timestamp { + if x, ok := x.GetTemporal().(*StacItem_Observed); ok { return x.Observed } return nil } -func (m *StacItem) GetStartObservation() *timestamp.Timestamp { - if x, ok := m.GetTemporal().(*StacItem_StartObservation); ok { +func (x *StacItem) GetStartObservation() *timestamppb.Timestamp { + if x, ok := x.GetTemporal().(*StacItem_StartObservation); ok { return x.StartObservation } return nil } -func (m *StacItem) GetEndDatetime() *timestamp.Timestamp { - if m != nil { - return m.EndDatetime +func (x *StacItem) GetEndDatetime() *timestamppb.Timestamp { + if x != nil { + return x.EndDatetime } return nil } -func (m *StacItem) GetEndObservation() *timestamp.Timestamp { - if m != nil { - return m.EndObservation +func (x *StacItem) GetEndObservation() *timestamppb.Timestamp { + if x != nil { + return x.EndObservation } return nil } -func (m *StacItem) GetCreated() *timestamp.Timestamp { - if m != nil { - return m.Created +func (x *StacItem) GetCreated() *timestamppb.Timestamp { + if x != nil { + return x.Created } return nil } -func (m *StacItem) GetUpdated() *timestamp.Timestamp { - if m != nil { - return m.Updated +func (x *StacItem) GetUpdated() *timestamppb.Timestamp { + if x != nil { + return x.Updated } return nil } -func (m *StacItem) GetProj() *ProjectionData { - if m != nil { - return m.Proj +func (x *StacItem) GetProj() *ProjectionData { + if x != nil { + return x.Proj } return nil } -func (m *StacItem) GetPlatformEnum() Platform { - if m != nil { - return m.PlatformEnum +func (x *StacItem) GetPlatformEnum() Platform { + if x != nil { + return x.PlatformEnum } return Platform_UNKNOWN_PLATFORM } -func (m *StacItem) GetPlatform() string { - if m != nil { - return m.Platform +func (x *StacItem) GetPlatform() string { + if x != nil { + return x.Platform } return "" } -func (m *StacItem) GetInstrumentEnum() Instrument { - if m != nil { - return m.InstrumentEnum +func (x *StacItem) GetInstrumentEnum() Instrument { + if x != nil { + return x.InstrumentEnum } return Instrument_UNKNOWN_INSTRUMENT } -func (m *StacItem) GetInstrument() string { - if m != nil { - return m.Instrument +func (x *StacItem) GetInstrument() string { + if x != nil { + return x.Instrument } return "" } -func (m *StacItem) GetConstellationEnum() Constellation { - if m != nil { - return m.ConstellationEnum +func (x *StacItem) GetConstellationEnum() Constellation { + if x != nil { + return x.ConstellationEnum } return Constellation_UNKNOWN_CONSTELLATION } -func (m *StacItem) GetConstellation() string { - if m != nil { - return m.Constellation +func (x *StacItem) GetConstellation() string { + if x != nil { + return x.Constellation } return "" } -func (m *StacItem) GetMissionEnum() Mission { - if m != nil { - return m.MissionEnum +func (x *StacItem) GetMissionEnum() Mission { + if x != nil { + return x.MissionEnum } return Mission_UNKNOWN_MISSION } -func (m *StacItem) GetMission() string { - if m != nil { - return m.Mission +func (x *StacItem) GetMission() string { + if x != nil { + return x.Mission } return "" } -func (m *StacItem) GetGsd() *wrappers.FloatValue { - if m != nil { - return m.Gsd +func (x *StacItem) GetGsd() *wrapperspb.FloatValue { + if x != nil { + return x.Gsd } return nil } -func (m *StacItem) GetStacVersion() string { - if m != nil { - return m.StacVersion +func (x *StacItem) GetStacVersion() string { + if x != nil { + return x.StacVersion } return "" } -func (m *StacItem) GetStacPbVersion() string { - if m != nil { - return m.StacPbVersion +func (x *StacItem) GetStacPbVersion() string { + if x != nil { + return x.StacPbVersion } return "" } -func (m *StacItem) GetStacExtensions() []string { - if m != nil { - return m.StacExtensions +func (x *StacItem) GetStacExtensions() []string { + if x != nil { + return x.StacExtensions } return nil } -func (m *StacItem) GetEo() *Eo { - if m != nil { - return m.Eo +func (x *StacItem) GetEo() *Eo { + if x != nil { + return x.Eo } return nil } -func (m *StacItem) GetView() *View { - if m != nil { - return m.View +func (x *StacItem) GetView() *View { + if x != nil { + return x.View } return nil } -func (m *StacItem) GetLandsat() *Landsat { - if m != nil { - return m.Landsat +func (x *StacItem) GetLandsat() *Landsat { + if x != nil { + return x.Landsat } return nil } -func (m *StacItem) GetMosaic() *Mosaic { - if m != nil { - return m.Mosaic +func (x *StacItem) GetMosaic() *Mosaic { + if x != nil { + return x.Mosaic } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StacItem) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StacItem_Datetime)(nil), - (*StacItem_StartDatetime)(nil), - (*StacItem_Observed)(nil), - (*StacItem_StartObservation)(nil), - } +type isStacItem_TemporalDeprecated interface { + isStacItem_TemporalDeprecated() +} + +type StacItem_Datetime struct { + // deprecated + Datetime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=datetime,proto3,oneof"` } +type StacItem_StartDatetime struct { + // deprecated + StartDatetime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=start_datetime,json=startDatetime,proto3,oneof"` +} + +func (*StacItem_Datetime) isStacItem_TemporalDeprecated() {} + +func (*StacItem_StartDatetime) isStacItem_TemporalDeprecated() {} + +type isStacItem_Temporal interface { + isStacItem_Temporal() +} + +type StacItem_Observed struct { + // timestamp at which data was observed (optional if datetime set) + Observed *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=observed,proto3,oneof"` +} + +type StacItem_StartObservation struct { + // start timestamp for a period of observation + StartObservation *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=start_observation,json=startObservation,proto3,oneof"` +} + +func (*StacItem_Observed) isStacItem_Temporal() {} + +func (*StacItem_StartObservation) isStacItem_Temporal() {} + //* // message for making a request for STAC items. type StacRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // limit the number of results returned Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // the offset from which the query should start Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - // Types that are valid to be assigned to Identity: + // Types that are assignable to Identity: // *StacRequest_Id // *StacRequest_IdComplex Identity isStacRequest_Identity `protobuf_oneof:"identity"` Collection string `protobuf:"bytes,5,opt,name=collection,proto3" json:"collection,omitempty"` // search by properties specified by user using a request object known by user and the Any marshalling pattern - Properties *any.Any `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"` - // Types that are valid to be assigned to Spatial: + Properties *anypb.Any `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"` + // Types that are assignable to Spatial: // *StacRequest_Intersects // *StacRequest_Bbox // *StacRequest_GeometryRequest Spatial isStacRequest_Spatial `protobuf_oneof:"spatial"` - // Types that are valid to be assigned to Temporal: + // Types that are assignable to Temporal: // *StacRequest_Datetime // *StacRequest_Observed Temporal isStacRequest_Temporal `protobuf_oneof:"temporal"` @@ -1367,70 +1704,58 @@ type StacRequest struct { // data with a gsd equal to or in the range specified in gsd Gsd *FloatFilter `protobuf:"bytes,23,opt,name=gsd,proto3" json:"gsd,omitempty"` // use certain electro-optical search parameters in your query - Eo *EoRequest `protobuf:"bytes,24,opt,name=eo,proto3" json:"eo,omitempty"` - View *ViewRequest `protobuf:"bytes,25,opt,name=view,proto3" json:"view,omitempty"` - Landsat *LandsatRequest `protobuf:"bytes,26,opt,name=landsat,proto3" json:"landsat,omitempty"` - Mosaic *MosaicRequest `protobuf:"bytes,27,opt,name=mosaic,proto3" json:"mosaic,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StacRequest) Reset() { *m = StacRequest{} } -func (m *StacRequest) String() string { return proto.CompactTextString(m) } -func (*StacRequest) ProtoMessage() {} -func (*StacRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{7} + Eo *EoRequest `protobuf:"bytes,24,opt,name=eo,proto3" json:"eo,omitempty"` + View *ViewRequest `protobuf:"bytes,25,opt,name=view,proto3" json:"view,omitempty"` + Landsat *LandsatRequest `protobuf:"bytes,26,opt,name=landsat,proto3" json:"landsat,omitempty"` + Mosaic *MosaicRequest `protobuf:"bytes,27,opt,name=mosaic,proto3" json:"mosaic,omitempty"` } -func (m *StacRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StacRequest.Unmarshal(m, b) -} -func (m *StacRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StacRequest.Marshal(b, m, deterministic) -} -func (m *StacRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StacRequest.Merge(m, src) -} -func (m *StacRequest) XXX_Size() int { - return xxx_messageInfo_StacRequest.Size(m) -} -func (m *StacRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StacRequest.DiscardUnknown(m) +func (x *StacRequest) Reset() { + *x = StacRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_StacRequest proto.InternalMessageInfo - -func (m *StacRequest) GetLimit() uint32 { - if m != nil { - return m.Limit - } - return 0 +func (x *StacRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StacRequest) GetOffset() uint64 { - if m != nil { - return m.Offset +func (*StacRequest) ProtoMessage() {} + +func (x *StacRequest) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -type isStacRequest_Identity interface { - isStacRequest_Identity() +// Deprecated: Use StacRequest.ProtoReflect.Descriptor instead. +func (*StacRequest) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{7} } -type StacRequest_Id struct { - Id string `protobuf:"bytes,3,opt,name=id,proto3,oneof"` +func (x *StacRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 } -type StacRequest_IdComplex struct { - IdComplex *StringFilter `protobuf:"bytes,4,opt,name=id_complex,json=idComplex,proto3,oneof"` +func (x *StacRequest) GetOffset() uint64 { + if x != nil { + return x.Offset + } + return 0 } -func (*StacRequest_Id) isStacRequest_Identity() {} - -func (*StacRequest_IdComplex) isStacRequest_Identity() {} - func (m *StacRequest) GetIdentity() isStacRequest_Identity { if m != nil { return m.Identity @@ -1438,56 +1763,34 @@ func (m *StacRequest) GetIdentity() isStacRequest_Identity { return nil } -func (m *StacRequest) GetId() string { - if x, ok := m.GetIdentity().(*StacRequest_Id); ok { +func (x *StacRequest) GetId() string { + if x, ok := x.GetIdentity().(*StacRequest_Id); ok { return x.Id } return "" } -func (m *StacRequest) GetIdComplex() *StringFilter { - if x, ok := m.GetIdentity().(*StacRequest_IdComplex); ok { +func (x *StacRequest) GetIdComplex() *StringFilter { + if x, ok := x.GetIdentity().(*StacRequest_IdComplex); ok { return x.IdComplex } return nil } -func (m *StacRequest) GetCollection() string { - if m != nil { - return m.Collection +func (x *StacRequest) GetCollection() string { + if x != nil { + return x.Collection } return "" } -func (m *StacRequest) GetProperties() *any.Any { - if m != nil { - return m.Properties +func (x *StacRequest) GetProperties() *anypb.Any { + if x != nil { + return x.Properties } return nil } -type isStacRequest_Spatial interface { - isStacRequest_Spatial() -} - -type StacRequest_Intersects struct { - Intersects *GeometryData `protobuf:"bytes,7,opt,name=intersects,proto3,oneof"` -} - -type StacRequest_Bbox struct { - Bbox *EnvelopeData `protobuf:"bytes,8,opt,name=bbox,proto3,oneof"` -} - -type StacRequest_GeometryRequest struct { - GeometryRequest *GeometryRequest `protobuf:"bytes,9,opt,name=geometry_request,json=geometryRequest,proto3,oneof"` -} - -func (*StacRequest_Intersects) isStacRequest_Spatial() {} - -func (*StacRequest_Bbox) isStacRequest_Spatial() {} - -func (*StacRequest_GeometryRequest) isStacRequest_Spatial() {} - func (m *StacRequest) GetSpatial() isStacRequest_Spatial { if m != nil { return m.Spatial @@ -1495,43 +1798,27 @@ func (m *StacRequest) GetSpatial() isStacRequest_Spatial { return nil } -func (m *StacRequest) GetIntersects() *GeometryData { - if x, ok := m.GetSpatial().(*StacRequest_Intersects); ok { +func (x *StacRequest) GetIntersects() *GeometryData { + if x, ok := x.GetSpatial().(*StacRequest_Intersects); ok { return x.Intersects } return nil } -func (m *StacRequest) GetBbox() *EnvelopeData { - if x, ok := m.GetSpatial().(*StacRequest_Bbox); ok { +func (x *StacRequest) GetBbox() *EnvelopeData { + if x, ok := x.GetSpatial().(*StacRequest_Bbox); ok { return x.Bbox } return nil } -func (m *StacRequest) GetGeometryRequest() *GeometryRequest { - if x, ok := m.GetSpatial().(*StacRequest_GeometryRequest); ok { +func (x *StacRequest) GetGeometryRequest() *GeometryRequest { + if x, ok := x.GetSpatial().(*StacRequest_GeometryRequest); ok { return x.GeometryRequest } return nil } -type isStacRequest_Temporal interface { - isStacRequest_Temporal() -} - -type StacRequest_Datetime struct { - Datetime *TimestampFilter `protobuf:"bytes,10,opt,name=datetime,proto3,oneof"` -} - -type StacRequest_Observed struct { - Observed *TimestampFilter `protobuf:"bytes,11,opt,name=observed,proto3,oneof"` -} - -func (*StacRequest_Datetime) isStacRequest_Temporal() {} - -func (*StacRequest_Observed) isStacRequest_Temporal() {} - func (m *StacRequest) GetTemporal() isStacRequest_Temporal { if m != nil { return m.Temporal @@ -1539,199 +1826,260 @@ func (m *StacRequest) GetTemporal() isStacRequest_Temporal { return nil } -func (m *StacRequest) GetDatetime() *TimestampFilter { - if x, ok := m.GetTemporal().(*StacRequest_Datetime); ok { +func (x *StacRequest) GetDatetime() *TimestampFilter { + if x, ok := x.GetTemporal().(*StacRequest_Datetime); ok { return x.Datetime } return nil } -func (m *StacRequest) GetObserved() *TimestampFilter { - if x, ok := m.GetTemporal().(*StacRequest_Observed); ok { +func (x *StacRequest) GetObserved() *TimestampFilter { + if x, ok := x.GetTemporal().(*StacRequest_Observed); ok { return x.Observed } return nil } -func (m *StacRequest) GetCreated() *TimestampFilter { - if m != nil { - return m.Created +func (x *StacRequest) GetCreated() *TimestampFilter { + if x != nil { + return x.Created } return nil } -func (m *StacRequest) GetUpdated() *TimestampFilter { - if m != nil { - return m.Updated +func (x *StacRequest) GetUpdated() *TimestampFilter { + if x != nil { + return x.Updated } return nil } -func (m *StacRequest) GetProj() *ProjectionData { - if m != nil { - return m.Proj +func (x *StacRequest) GetProj() *ProjectionData { + if x != nil { + return x.Proj } return nil } -func (m *StacRequest) GetPlatformEnum() Platform { - if m != nil { - return m.PlatformEnum +func (x *StacRequest) GetPlatformEnum() Platform { + if x != nil { + return x.PlatformEnum } return Platform_UNKNOWN_PLATFORM } -func (m *StacRequest) GetInstrumentEnum() Instrument { - if m != nil { - return m.InstrumentEnum +func (x *StacRequest) GetInstrumentEnum() Instrument { + if x != nil { + return x.InstrumentEnum } return Instrument_UNKNOWN_INSTRUMENT } -func (m *StacRequest) GetConstellationEnum() Constellation { - if m != nil { - return m.ConstellationEnum +func (x *StacRequest) GetConstellationEnum() Constellation { + if x != nil { + return x.ConstellationEnum } return Constellation_UNKNOWN_CONSTELLATION } -func (m *StacRequest) GetMissionEnum() Mission { - if m != nil { - return m.MissionEnum +func (x *StacRequest) GetMissionEnum() Mission { + if x != nil { + return x.MissionEnum } return Mission_UNKNOWN_MISSION } -func (m *StacRequest) GetGsd() *FloatFilter { - if m != nil { - return m.Gsd +func (x *StacRequest) GetGsd() *FloatFilter { + if x != nil { + return x.Gsd } return nil } -func (m *StacRequest) GetEo() *EoRequest { - if m != nil { - return m.Eo +func (x *StacRequest) GetEo() *EoRequest { + if x != nil { + return x.Eo } return nil } -func (m *StacRequest) GetView() *ViewRequest { - if m != nil { - return m.View +func (x *StacRequest) GetView() *ViewRequest { + if x != nil { + return x.View } return nil } -func (m *StacRequest) GetLandsat() *LandsatRequest { - if m != nil { - return m.Landsat +func (x *StacRequest) GetLandsat() *LandsatRequest { + if x != nil { + return x.Landsat } return nil } -func (m *StacRequest) GetMosaic() *MosaicRequest { - if m != nil { - return m.Mosaic +func (x *StacRequest) GetMosaic() *MosaicRequest { + if x != nil { + return x.Mosaic } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StacRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StacRequest_Id)(nil), - (*StacRequest_IdComplex)(nil), - (*StacRequest_Intersects)(nil), - (*StacRequest_Bbox)(nil), - (*StacRequest_GeometryRequest)(nil), - (*StacRequest_Datetime)(nil), - (*StacRequest_Observed)(nil), - } +type isStacRequest_Identity interface { + isStacRequest_Identity() } +type StacRequest_Id struct { + // if id matches, return the one matching STAC item + Id string `protobuf:"bytes,3,opt,name=id,proto3,oneof"` +} + +type StacRequest_IdComplex struct { + // more complex id search. allows for searching by pattern or by IN or NOT_IN sets + IdComplex *StringFilter `protobuf:"bytes,4,opt,name=id_complex,json=idComplex,proto3,oneof"` +} + +func (*StacRequest_Id) isStacRequest_Identity() {} + +func (*StacRequest_IdComplex) isStacRequest_Identity() {} + +type isStacRequest_Spatial interface { + isStacRequest_Spatial() +} + +type StacRequest_Intersects struct { + // search by the spatial extent as defined by geometry + Intersects *GeometryData `protobuf:"bytes,7,opt,name=intersects,proto3,oneof"` +} + +type StacRequest_Bbox struct { + // search by the spatial extent as defined by the envelope bounds + Bbox *EnvelopeData `protobuf:"bytes,8,opt,name=bbox,proto3,oneof"` +} + +type StacRequest_GeometryRequest struct { + // search by a geometry request. this sends a geometry operator to a geometry service, and the returned geometry + // is in turn used as the spatial extent + GeometryRequest *GeometryRequest `protobuf:"bytes,9,opt,name=geometry_request,json=geometryRequest,proto3,oneof"` +} + +func (*StacRequest_Intersects) isStacRequest_Spatial() {} + +func (*StacRequest_Bbox) isStacRequest_Spatial() {} + +func (*StacRequest_GeometryRequest) isStacRequest_Spatial() {} + +type isStacRequest_Temporal interface { + isStacRequest_Temporal() +} + +type StacRequest_Datetime struct { + // search for the datetime that matched by bounds defined by the exact timestamp or a range of timestamp + Datetime *TimestampFilter `protobuf:"bytes,10,opt,name=datetime,proto3,oneof"` +} + +type StacRequest_Observed struct { + // search for the moment the data was observed by bounds defined by the exact timestamp or a range of timestamp + Observed *TimestampFilter `protobuf:"bytes,11,opt,name=observed,proto3,oneof"` +} + +func (*StacRequest_Datetime) isStacRequest_Temporal() {} + +func (*StacRequest_Observed) isStacRequest_Temporal() {} + type View struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Viewing angle. The angle from the sensor between nadir (straight down) and the scene center. Measured in // degrees (0-90). - OffNadir *wrappers.FloatValue `protobuf:"bytes,1,opt,name=off_nadir,json=offNadir,proto3" json:"off_nadir,omitempty"` + OffNadir *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=off_nadir,json=offNadir,proto3" json:"off_nadir,omitempty"` // The incidence angle is the angle between the vertical (normal) to the intercepting surface and the line of sight // back to the satellite at the scene center. Measured in degrees (0-90). - IncidenceAngle *wrappers.FloatValue `protobuf:"bytes,2,opt,name=incidence_angle,json=incidenceAngle,proto3" json:"incidence_angle,omitempty"` + IncidenceAngle *wrapperspb.FloatValue `protobuf:"bytes,2,opt,name=incidence_angle,json=incidenceAngle,proto3" json:"incidence_angle,omitempty"` // The angle measured from the sub-sensor point (point on the ground below the platform) between the scene center // and true north. Measured clockwise from north in degrees (0-360). - Azimuth *wrappers.FloatValue `protobuf:"bytes,3,opt,name=azimuth,proto3" json:"azimuth,omitempty"` + Azimuth *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=azimuth,proto3" json:"azimuth,omitempty"` // Sun azimuth angle. From the scene center point on the ground, this is the angle between truth north and the sun. // Measured clockwise in degrees (0-360). - SunAzimuth *wrappers.FloatValue `protobuf:"bytes,4,opt,name=sun_azimuth,json=sunAzimuth,proto3" json:"sun_azimuth,omitempty"` + SunAzimuth *wrapperspb.FloatValue `protobuf:"bytes,4,opt,name=sun_azimuth,json=sunAzimuth,proto3" json:"sun_azimuth,omitempty"` // Sun elevation angle. The angle from the tangent of the scene center point to the sun. Measured from the horizon // in degrees (0-90). - SunElevation *wrappers.FloatValue `protobuf:"bytes,5,opt,name=sun_elevation,json=sunElevation,proto3" json:"sun_elevation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SunElevation *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=sun_elevation,json=sunElevation,proto3" json:"sun_elevation,omitempty"` } -func (m *View) Reset() { *m = View{} } -func (m *View) String() string { return proto.CompactTextString(m) } -func (*View) ProtoMessage() {} -func (*View) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{8} +func (x *View) Reset() { + *x = View{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *View) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_View.Unmarshal(m, b) -} -func (m *View) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_View.Marshal(b, m, deterministic) -} -func (m *View) XXX_Merge(src proto.Message) { - xxx_messageInfo_View.Merge(m, src) +func (x *View) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *View) XXX_Size() int { - return xxx_messageInfo_View.Size(m) -} -func (m *View) XXX_DiscardUnknown() { - xxx_messageInfo_View.DiscardUnknown(m) + +func (*View) ProtoMessage() {} + +func (x *View) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_View proto.InternalMessageInfo +// Deprecated: Use View.ProtoReflect.Descriptor instead. +func (*View) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{8} +} -func (m *View) GetOffNadir() *wrappers.FloatValue { - if m != nil { - return m.OffNadir +func (x *View) GetOffNadir() *wrapperspb.FloatValue { + if x != nil { + return x.OffNadir } return nil } -func (m *View) GetIncidenceAngle() *wrappers.FloatValue { - if m != nil { - return m.IncidenceAngle +func (x *View) GetIncidenceAngle() *wrapperspb.FloatValue { + if x != nil { + return x.IncidenceAngle } return nil } -func (m *View) GetAzimuth() *wrappers.FloatValue { - if m != nil { - return m.Azimuth +func (x *View) GetAzimuth() *wrapperspb.FloatValue { + if x != nil { + return x.Azimuth } return nil } -func (m *View) GetSunAzimuth() *wrappers.FloatValue { - if m != nil { - return m.SunAzimuth +func (x *View) GetSunAzimuth() *wrapperspb.FloatValue { + if x != nil { + return x.SunAzimuth } return nil } -func (m *View) GetSunElevation() *wrappers.FloatValue { - if m != nil { - return m.SunElevation +func (x *View) GetSunElevation() *wrapperspb.FloatValue { + if x != nil { + return x.SunElevation } return nil } type ViewRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // data with a off_nadir equal to or in the range specified in off_nadir OffNadir *FloatFilter `protobuf:"bytes,1,opt,name=off_nadir,json=offNadir,proto3" json:"off_nadir,omitempty"` // data with a incidence equal to or in the range specified in incidence @@ -1741,168 +2089,188 @@ type ViewRequest struct { // data with a sun_azimuth equal to or in the range specified in sun_azimuth SunAzimuth *FloatFilter `protobuf:"bytes,4,opt,name=sun_azimuth,json=sunAzimuth,proto3" json:"sun_azimuth,omitempty"` // data with a sun_elevation equal to or in the range specified in sun_elevation - SunElevation *FloatFilter `protobuf:"bytes,5,opt,name=sun_elevation,json=sunElevation,proto3" json:"sun_elevation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SunElevation *FloatFilter `protobuf:"bytes,5,opt,name=sun_elevation,json=sunElevation,proto3" json:"sun_elevation,omitempty"` } -func (m *ViewRequest) Reset() { *m = ViewRequest{} } -func (m *ViewRequest) String() string { return proto.CompactTextString(m) } -func (*ViewRequest) ProtoMessage() {} -func (*ViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{9} +func (x *ViewRequest) Reset() { + *x = ViewRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ViewRequest.Unmarshal(m, b) -} -func (m *ViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ViewRequest.Marshal(b, m, deterministic) +func (x *ViewRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ViewRequest.Merge(m, src) -} -func (m *ViewRequest) XXX_Size() int { - return xxx_messageInfo_ViewRequest.Size(m) -} -func (m *ViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ViewRequest.DiscardUnknown(m) + +func (*ViewRequest) ProtoMessage() {} + +func (x *ViewRequest) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ViewRequest proto.InternalMessageInfo +// Deprecated: Use ViewRequest.ProtoReflect.Descriptor instead. +func (*ViewRequest) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{9} +} -func (m *ViewRequest) GetOffNadir() *FloatFilter { - if m != nil { - return m.OffNadir +func (x *ViewRequest) GetOffNadir() *FloatFilter { + if x != nil { + return x.OffNadir } return nil } -func (m *ViewRequest) GetIncidenceAngle() *FloatFilter { - if m != nil { - return m.IncidenceAngle +func (x *ViewRequest) GetIncidenceAngle() *FloatFilter { + if x != nil { + return x.IncidenceAngle } return nil } -func (m *ViewRequest) GetAzimuth() *FloatFilter { - if m != nil { - return m.Azimuth +func (x *ViewRequest) GetAzimuth() *FloatFilter { + if x != nil { + return x.Azimuth } return nil } -func (m *ViewRequest) GetSunAzimuth() *FloatFilter { - if m != nil { - return m.SunAzimuth +func (x *ViewRequest) GetSunAzimuth() *FloatFilter { + if x != nil { + return x.SunAzimuth } return nil } -func (m *ViewRequest) GetSunElevation() *FloatFilter { - if m != nil { - return m.SunElevation +func (x *ViewRequest) GetSunElevation() *FloatFilter { + if x != nil { + return x.SunElevation } return nil } type Sat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The relative orbit number at the time of acquisition. - RelativeOrbit *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=relative_orbit,json=relativeOrbit,proto3" json:"relative_orbit,omitempty"` + RelativeOrbit *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=relative_orbit,json=relativeOrbit,proto3" json:"relative_orbit,omitempty"` // The state of the orbit. Either ascending or descending for polar orbiting satellites, or geostationary for // geosynchronous satellites - OrbitState Sat_OrbitState `protobuf:"varint,1,opt,name=orbit_state,json=orbitState,proto3,enum=epl.protobuf.v1.Sat_OrbitState" json:"orbit_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OrbitState Sat_OrbitState `protobuf:"varint,1,opt,name=orbit_state,json=orbitState,proto3,enum=epl.protobuf.v1.Sat_OrbitState" json:"orbit_state,omitempty"` } -func (m *Sat) Reset() { *m = Sat{} } -func (m *Sat) String() string { return proto.CompactTextString(m) } -func (*Sat) ProtoMessage() {} -func (*Sat) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{10} +func (x *Sat) Reset() { + *x = Sat{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Sat) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sat.Unmarshal(m, b) -} -func (m *Sat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sat.Marshal(b, m, deterministic) -} -func (m *Sat) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sat.Merge(m, src) +func (x *Sat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Sat) XXX_Size() int { - return xxx_messageInfo_Sat.Size(m) -} -func (m *Sat) XXX_DiscardUnknown() { - xxx_messageInfo_Sat.DiscardUnknown(m) + +func (*Sat) ProtoMessage() {} + +func (x *Sat) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Sat proto.InternalMessageInfo +// Deprecated: Use Sat.ProtoReflect.Descriptor instead. +func (*Sat) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{10} +} -func (m *Sat) GetRelativeOrbit() *wrappers.UInt32Value { - if m != nil { - return m.RelativeOrbit +func (x *Sat) GetRelativeOrbit() *wrapperspb.UInt32Value { + if x != nil { + return x.RelativeOrbit } return nil } -func (m *Sat) GetOrbitState() Sat_OrbitState { - if m != nil { - return m.OrbitState +func (x *Sat) GetOrbitState() Sat_OrbitState { + if x != nil { + return x.OrbitState } return Sat_UKNOWN_ORBIT_STATE } type SatRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The relative orbit number at the time of acquisition. RelativeOrbit uint32 `protobuf:"varint,6,opt,name=relative_orbit,json=relativeOrbit,proto3" json:"relative_orbit,omitempty"` // The state of the orbit. Either ascending or descending for polar orbiting satellites, or geostationary for // geosynchronous satellites - OrbitState Sat_OrbitState `protobuf:"varint,1,opt,name=orbit_state,json=orbitState,proto3,enum=epl.protobuf.v1.Sat_OrbitState" json:"orbit_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OrbitState Sat_OrbitState `protobuf:"varint,1,opt,name=orbit_state,json=orbitState,proto3,enum=epl.protobuf.v1.Sat_OrbitState" json:"orbit_state,omitempty"` } -func (m *SatRequest) Reset() { *m = SatRequest{} } -func (m *SatRequest) String() string { return proto.CompactTextString(m) } -func (*SatRequest) ProtoMessage() {} -func (*SatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{11} +func (x *SatRequest) Reset() { + *x = SatRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SatRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SatRequest.Unmarshal(m, b) -} -func (m *SatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SatRequest.Marshal(b, m, deterministic) -} -func (m *SatRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SatRequest.Merge(m, src) -} -func (m *SatRequest) XXX_Size() int { - return xxx_messageInfo_SatRequest.Size(m) +func (x *SatRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SatRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SatRequest.DiscardUnknown(m) + +func (*SatRequest) ProtoMessage() {} + +func (x *SatRequest) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SatRequest proto.InternalMessageInfo +// Deprecated: Use SatRequest.ProtoReflect.Descriptor instead. +func (*SatRequest) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{11} +} -func (m *SatRequest) GetRelativeOrbit() uint32 { - if m != nil { - return m.RelativeOrbit +func (x *SatRequest) GetRelativeOrbit() uint32 { + if x != nil { + return x.RelativeOrbit } return 0 } -func (m *SatRequest) GetOrbitState() Sat_OrbitState { - if m != nil { - return m.OrbitState +func (x *SatRequest) GetOrbitState() Sat_OrbitState { + if x != nil { + return x.OrbitState } return Sat_UKNOWN_ORBIT_STATE } @@ -1910,50 +2278,58 @@ func (m *SatRequest) GetOrbitState() Sat_OrbitState { //* // message for electro-optical details of STAC items. type Eo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // percent cloud cover. 0 no clouds, 100 completely covered - CloudCover *wrappers.FloatValue `protobuf:"bytes,1,opt,name=cloud_cover,json=cloudCover,proto3" json:"cloud_cover,omitempty"` + CloudCover *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=cloud_cover,json=cloudCover,proto3" json:"cloud_cover,omitempty"` // band or bands represented in data. If multiple bands, then use a bitwise operator - Bands Eo_Band `protobuf:"varint,2,opt,name=bands,proto3,enum=epl.protobuf.v1.Eo_Band" json:"bands,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Bands Eo_Band `protobuf:"varint,2,opt,name=bands,proto3,enum=epl.protobuf.v1.Eo_Band" json:"bands,omitempty"` } -func (m *Eo) Reset() { *m = Eo{} } -func (m *Eo) String() string { return proto.CompactTextString(m) } -func (*Eo) ProtoMessage() {} -func (*Eo) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{12} +func (x *Eo) Reset() { + *x = Eo{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Eo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Eo.Unmarshal(m, b) -} -func (m *Eo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Eo.Marshal(b, m, deterministic) +func (x *Eo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Eo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Eo.Merge(m, src) -} -func (m *Eo) XXX_Size() int { - return xxx_messageInfo_Eo.Size(m) -} -func (m *Eo) XXX_DiscardUnknown() { - xxx_messageInfo_Eo.DiscardUnknown(m) + +func (*Eo) ProtoMessage() {} + +func (x *Eo) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Eo proto.InternalMessageInfo +// Deprecated: Use Eo.ProtoReflect.Descriptor instead. +func (*Eo) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{12} +} -func (m *Eo) GetCloudCover() *wrappers.FloatValue { - if m != nil { - return m.CloudCover +func (x *Eo) GetCloudCover() *wrapperspb.FloatValue { + if x != nil { + return x.CloudCover } return nil } -func (m *Eo) GetBands() Eo_Band { - if m != nil { - return m.Bands +func (x *Eo) GetBands() Eo_Band { + if x != nil { + return x.Bands } return Eo_UNKNOWN_BAND } @@ -1961,50 +2337,58 @@ func (m *Eo) GetBands() Eo_Band { //* // sub message request for specifying electro-optical details in STAC request type EoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // data with a cloud_cover equal to or in the range specified in cloud_cover CloudCover *FloatFilter `protobuf:"bytes,1,opt,name=cloud_cover,json=cloudCover,proto3" json:"cloud_cover,omitempty"` // data that possesses the bands specified in bands - Bands Eo_Band `protobuf:"varint,2,opt,name=bands,proto3,enum=epl.protobuf.v1.Eo_Band" json:"bands,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Bands Eo_Band `protobuf:"varint,2,opt,name=bands,proto3,enum=epl.protobuf.v1.Eo_Band" json:"bands,omitempty"` } -func (m *EoRequest) Reset() { *m = EoRequest{} } -func (m *EoRequest) String() string { return proto.CompactTextString(m) } -func (*EoRequest) ProtoMessage() {} -func (*EoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{13} +func (x *EoRequest) Reset() { + *x = EoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EoRequest.Unmarshal(m, b) -} -func (m *EoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EoRequest.Marshal(b, m, deterministic) -} -func (m *EoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EoRequest.Merge(m, src) -} -func (m *EoRequest) XXX_Size() int { - return xxx_messageInfo_EoRequest.Size(m) +func (x *EoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EoRequest.DiscardUnknown(m) + +func (*EoRequest) ProtoMessage() {} + +func (x *EoRequest) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EoRequest proto.InternalMessageInfo +// Deprecated: Use EoRequest.ProtoReflect.Descriptor instead. +func (*EoRequest) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{13} +} -func (m *EoRequest) GetCloudCover() *FloatFilter { - if m != nil { - return m.CloudCover +func (x *EoRequest) GetCloudCover() *FloatFilter { + if x != nil { + return x.CloudCover } return nil } -func (m *EoRequest) GetBands() Eo_Band { - if m != nil { - return m.Bands +func (x *EoRequest) GetBands() Eo_Band { + if x != nil { + return x.Bands } return Eo_UNKNOWN_BAND } @@ -2012,6 +2396,10 @@ func (m *EoRequest) GetBands() Eo_Band { //* // message for an asset of a STAC item. type Asset struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // href for downloading item Href string `protobuf:"bytes,1,opt,name=href,proto3" json:"href,omitempty"` // asset type @@ -2033,150 +2421,162 @@ type Asset struct { ObjectPath string `protobuf:"bytes,9,opt,name=object_path,json=objectPath,proto3" json:"object_path,omitempty"` // requester_pays pertains to egress cost. Some buckets are hosted with the egress costs assigned to the requester. // some hosts pay the regress costs for the requester. - RequesterPays bool `protobuf:"varint,10,opt,name=requester_pays,json=requesterPays,proto3" json:"requester_pays,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RequesterPays bool `protobuf:"varint,10,opt,name=requester_pays,json=requesterPays,proto3" json:"requester_pays,omitempty"` } -func (m *Asset) Reset() { *m = Asset{} } -func (m *Asset) String() string { return proto.CompactTextString(m) } -func (*Asset) ProtoMessage() {} -func (*Asset) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{14} +func (x *Asset) Reset() { + *x = Asset{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Asset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Asset.Unmarshal(m, b) +func (x *Asset) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Asset.Marshal(b, m, deterministic) -} -func (m *Asset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset.Merge(m, src) -} -func (m *Asset) XXX_Size() int { - return xxx_messageInfo_Asset.Size(m) -} -func (m *Asset) XXX_DiscardUnknown() { - xxx_messageInfo_Asset.DiscardUnknown(m) + +func (*Asset) ProtoMessage() {} + +func (x *Asset) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Asset proto.InternalMessageInfo +// Deprecated: Use Asset.ProtoReflect.Descriptor instead. +func (*Asset) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{14} +} -func (m *Asset) GetHref() string { - if m != nil { - return m.Href +func (x *Asset) GetHref() string { + if x != nil { + return x.Href } return "" } -func (m *Asset) GetType() string { - if m != nil { - return m.Type +func (x *Asset) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *Asset) GetEoBands() Eo_Band { - if m != nil { - return m.EoBands +func (x *Asset) GetEoBands() Eo_Band { + if x != nil { + return x.EoBands } return Eo_UNKNOWN_BAND } -func (m *Asset) GetAssetType() AssetType { - if m != nil { - return m.AssetType +func (x *Asset) GetAssetType() AssetType { + if x != nil { + return x.AssetType } return AssetType_UNKNOWN_ASSET } -func (m *Asset) GetCloudPlatform() CloudPlatform { - if m != nil { - return m.CloudPlatform +func (x *Asset) GetCloudPlatform() CloudPlatform { + if x != nil { + return x.CloudPlatform } return CloudPlatform_UNKNOWN_CLOUD_PLATFORM } -func (m *Asset) GetBucketManager() string { - if m != nil { - return m.BucketManager +func (x *Asset) GetBucketManager() string { + if x != nil { + return x.BucketManager } return "" } -func (m *Asset) GetBucketRegion() string { - if m != nil { - return m.BucketRegion +func (x *Asset) GetBucketRegion() string { + if x != nil { + return x.BucketRegion } return "" } -func (m *Asset) GetBucket() string { - if m != nil { - return m.Bucket +func (x *Asset) GetBucket() string { + if x != nil { + return x.Bucket } return "" } -func (m *Asset) GetObjectPath() string { - if m != nil { - return m.ObjectPath +func (x *Asset) GetObjectPath() string { + if x != nil { + return x.ObjectPath } return "" } -func (m *Asset) GetRequesterPays() bool { - if m != nil { - return m.RequesterPays +func (x *Asset) GetRequesterPays() bool { + if x != nil { + return x.RequesterPays } return false } type DatetimeRange struct { - Start *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DatetimeRange) Reset() { *m = DatetimeRange{} } -func (m *DatetimeRange) String() string { return proto.CompactTextString(m) } -func (*DatetimeRange) ProtoMessage() {} -func (*DatetimeRange) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{15} + Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` } -func (m *DatetimeRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatetimeRange.Unmarshal(m, b) -} -func (m *DatetimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatetimeRange.Marshal(b, m, deterministic) -} -func (m *DatetimeRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatetimeRange.Merge(m, src) +func (x *DatetimeRange) Reset() { + *x = DatetimeRange{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DatetimeRange) XXX_Size() int { - return xxx_messageInfo_DatetimeRange.Size(m) + +func (x *DatetimeRange) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DatetimeRange) XXX_DiscardUnknown() { - xxx_messageInfo_DatetimeRange.DiscardUnknown(m) + +func (*DatetimeRange) ProtoMessage() {} + +func (x *DatetimeRange) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DatetimeRange proto.InternalMessageInfo +// Deprecated: Use DatetimeRange.ProtoReflect.Descriptor instead. +func (*DatetimeRange) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{15} +} -func (m *DatetimeRange) GetStart() *timestamp.Timestamp { - if m != nil { - return m.Start +func (x *DatetimeRange) GetStart() *timestamppb.Timestamp { + if x != nil { + return x.Start } return nil } -func (m *DatetimeRange) GetEnd() *timestamp.Timestamp { - if m != nil { - return m.End +func (x *DatetimeRange) GetEnd() *timestamppb.Timestamp { + if x != nil { + return x.End } return nil } @@ -2184,64 +2584,72 @@ func (m *DatetimeRange) GetEnd() *timestamp.Timestamp { //* // response message for insertion and updates to STAC db type StacDbResponse struct { - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - StatusCode int32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` - DataId string `protobuf:"bytes,3,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"` - Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StacDbResponse) Reset() { *m = StacDbResponse{} } -func (m *StacDbResponse) String() string { return proto.CompactTextString(m) } -func (*StacDbResponse) ProtoMessage() {} -func (*StacDbResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{16} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *StacDbResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StacDbResponse.Unmarshal(m, b) -} -func (m *StacDbResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StacDbResponse.Marshal(b, m, deterministic) + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + StatusCode int32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` + DataId string `protobuf:"bytes,3,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"` + Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` } -func (m *StacDbResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StacDbResponse.Merge(m, src) + +func (x *StacDbResponse) Reset() { + *x = StacDbResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StacDbResponse) XXX_Size() int { - return xxx_messageInfo_StacDbResponse.Size(m) + +func (x *StacDbResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StacDbResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StacDbResponse.DiscardUnknown(m) + +func (*StacDbResponse) ProtoMessage() {} + +func (x *StacDbResponse) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StacDbResponse proto.InternalMessageInfo +// Deprecated: Use StacDbResponse.ProtoReflect.Descriptor instead. +func (*StacDbResponse) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{16} +} -func (m *StacDbResponse) GetStatus() string { - if m != nil { - return m.Status +func (x *StacDbResponse) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *StacDbResponse) GetStatusCode() int32 { - if m != nil { - return m.StatusCode +func (x *StacDbResponse) GetStatusCode() int32 { + if x != nil { + return x.StatusCode } return 0 } -func (m *StacDbResponse) GetDataId() string { - if m != nil { - return m.DataId +func (x *StacDbResponse) GetDataId() string { + if x != nil { + return x.DataId } return "" } -func (m *StacDbResponse) GetCount() uint64 { - if m != nil { - return m.Count +func (x *StacDbResponse) GetCount() uint64 { + if x != nil { + return x.Count } return 0 } @@ -2249,214 +2657,242 @@ func (m *StacDbResponse) GetCount() uint64 { //* // place holder for SAR type Sar struct { - Platform Sar_Platform `protobuf:"varint,1,opt,name=platform,proto3,enum=epl.protobuf.v1.Sar_Platform" json:"platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Sar) Reset() { *m = Sar{} } -func (m *Sar) String() string { return proto.CompactTextString(m) } -func (*Sar) ProtoMessage() {} -func (*Sar) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{17} + Platform Sar_Platform `protobuf:"varint,1,opt,name=platform,proto3,enum=epl.protobuf.v1.Sar_Platform" json:"platform,omitempty"` } -func (m *Sar) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sar.Unmarshal(m, b) -} -func (m *Sar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sar.Marshal(b, m, deterministic) -} -func (m *Sar) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sar.Merge(m, src) +func (x *Sar) Reset() { + *x = Sar{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Sar) XXX_Size() int { - return xxx_messageInfo_Sar.Size(m) + +func (x *Sar) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Sar) XXX_DiscardUnknown() { - xxx_messageInfo_Sar.DiscardUnknown(m) + +func (*Sar) ProtoMessage() {} + +func (x *Sar) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Sar proto.InternalMessageInfo +// Deprecated: Use Sar.ProtoReflect.Descriptor instead. +func (*Sar) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{17} +} -func (m *Sar) GetPlatform() Sar_Platform { - if m != nil { - return m.Platform +func (x *Sar) GetPlatform() Sar_Platform { + if x != nil { + return x.Platform } return Sar_UNKNOWN_PLATFORM } // https://landsat.usgs.gov/stac/landsat-extension/schema.json type Landsat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id of scene should be id of STAC item, but there may be a use case where someone does not want that - SceneId string `protobuf:"bytes,1,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` - ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` - ProcessingLevel Landsat_ProcessingLevel `protobuf:"varint,3,opt,name=processing_level,json=processingLevel,proto3,enum=epl.protobuf.v1.Landsat_ProcessingLevel" json:"processing_level,omitempty"` - WrsPath int32 `protobuf:"varint,4,opt,name=wrs_path,json=wrsPath,proto3" json:"wrs_path,omitempty"` - WrsRow int32 `protobuf:"varint,5,opt,name=wrs_row,json=wrsRow,proto3" json:"wrs_row,omitempty"` - CloudCoverLand *wrappers.FloatValue `protobuf:"bytes,6,opt,name=cloud_cover_land,json=cloudCoverLand,proto3" json:"cloud_cover_land,omitempty"` - WrsType Landsat_WRSType `protobuf:"varint,7,opt,name=wrs_type,json=wrsType,proto3,enum=epl.protobuf.v1.Landsat_WRSType" json:"wrs_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Landsat) Reset() { *m = Landsat{} } -func (m *Landsat) String() string { return proto.CompactTextString(m) } -func (*Landsat) ProtoMessage() {} -func (*Landsat) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{18} + SceneId string `protobuf:"bytes,1,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + ProcessingLevel Landsat_ProcessingLevel `protobuf:"varint,3,opt,name=processing_level,json=processingLevel,proto3,enum=epl.protobuf.v1.Landsat_ProcessingLevel" json:"processing_level,omitempty"` + WrsPath int32 `protobuf:"varint,4,opt,name=wrs_path,json=wrsPath,proto3" json:"wrs_path,omitempty"` + WrsRow int32 `protobuf:"varint,5,opt,name=wrs_row,json=wrsRow,proto3" json:"wrs_row,omitempty"` + CloudCoverLand *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=cloud_cover_land,json=cloudCoverLand,proto3" json:"cloud_cover_land,omitempty"` + WrsType Landsat_WRSType `protobuf:"varint,7,opt,name=wrs_type,json=wrsType,proto3,enum=epl.protobuf.v1.Landsat_WRSType" json:"wrs_type,omitempty"` } -func (m *Landsat) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Landsat.Unmarshal(m, b) -} -func (m *Landsat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Landsat.Marshal(b, m, deterministic) -} -func (m *Landsat) XXX_Merge(src proto.Message) { - xxx_messageInfo_Landsat.Merge(m, src) +func (x *Landsat) Reset() { + *x = Landsat{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Landsat) XXX_Size() int { - return xxx_messageInfo_Landsat.Size(m) + +func (x *Landsat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Landsat) XXX_DiscardUnknown() { - xxx_messageInfo_Landsat.DiscardUnknown(m) + +func (*Landsat) ProtoMessage() {} + +func (x *Landsat) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Landsat proto.InternalMessageInfo +// Deprecated: Use Landsat.ProtoReflect.Descriptor instead. +func (*Landsat) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{18} +} -func (m *Landsat) GetSceneId() string { - if m != nil { - return m.SceneId +func (x *Landsat) GetSceneId() string { + if x != nil { + return x.SceneId } return "" } -func (m *Landsat) GetProductId() string { - if m != nil { - return m.ProductId +func (x *Landsat) GetProductId() string { + if x != nil { + return x.ProductId } return "" } -func (m *Landsat) GetProcessingLevel() Landsat_ProcessingLevel { - if m != nil { - return m.ProcessingLevel +func (x *Landsat) GetProcessingLevel() Landsat_ProcessingLevel { + if x != nil { + return x.ProcessingLevel } return Landsat_UNKNOWN_PROCESSING_LEVEL } -func (m *Landsat) GetWrsPath() int32 { - if m != nil { - return m.WrsPath +func (x *Landsat) GetWrsPath() int32 { + if x != nil { + return x.WrsPath } return 0 } -func (m *Landsat) GetWrsRow() int32 { - if m != nil { - return m.WrsRow +func (x *Landsat) GetWrsRow() int32 { + if x != nil { + return x.WrsRow } return 0 } -func (m *Landsat) GetCloudCoverLand() *wrappers.FloatValue { - if m != nil { - return m.CloudCoverLand +func (x *Landsat) GetCloudCoverLand() *wrapperspb.FloatValue { + if x != nil { + return x.CloudCoverLand } return nil } -func (m *Landsat) GetWrsType() Landsat_WRSType { - if m != nil { - return m.WrsType +func (x *Landsat) GetWrsType() Landsat_WRSType { + if x != nil { + return x.WrsType } return Landsat_UKNOWN_WRS } type LandsatRequest struct { - SceneId string `protobuf:"bytes,1,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` - ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` - ProcessingLevel Landsat_ProcessingLevel `protobuf:"varint,3,opt,name=processing_level,json=processingLevel,proto3,enum=epl.protobuf.v1.Landsat_ProcessingLevel" json:"processing_level,omitempty"` - WrsPath int32 `protobuf:"varint,4,opt,name=wrs_path,json=wrsPath,proto3" json:"wrs_path,omitempty"` - WrsRow int32 `protobuf:"varint,5,opt,name=wrs_row,json=wrsRow,proto3" json:"wrs_row,omitempty"` - CloudCoverLand *FloatFilter `protobuf:"bytes,6,opt,name=cloud_cover_land,json=cloudCoverLand,proto3" json:"cloud_cover_land,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LandsatRequest) Reset() { *m = LandsatRequest{} } -func (m *LandsatRequest) String() string { return proto.CompactTextString(m) } -func (*LandsatRequest) ProtoMessage() {} -func (*LandsatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{19} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *LandsatRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LandsatRequest.Unmarshal(m, b) + SceneId string `protobuf:"bytes,1,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + ProcessingLevel Landsat_ProcessingLevel `protobuf:"varint,3,opt,name=processing_level,json=processingLevel,proto3,enum=epl.protobuf.v1.Landsat_ProcessingLevel" json:"processing_level,omitempty"` + WrsPath int32 `protobuf:"varint,4,opt,name=wrs_path,json=wrsPath,proto3" json:"wrs_path,omitempty"` + WrsRow int32 `protobuf:"varint,5,opt,name=wrs_row,json=wrsRow,proto3" json:"wrs_row,omitempty"` + CloudCoverLand *FloatFilter `protobuf:"bytes,6,opt,name=cloud_cover_land,json=cloudCoverLand,proto3" json:"cloud_cover_land,omitempty"` } -func (m *LandsatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LandsatRequest.Marshal(b, m, deterministic) -} -func (m *LandsatRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LandsatRequest.Merge(m, src) + +func (x *LandsatRequest) Reset() { + *x = LandsatRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LandsatRequest) XXX_Size() int { - return xxx_messageInfo_LandsatRequest.Size(m) + +func (x *LandsatRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LandsatRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LandsatRequest.DiscardUnknown(m) + +func (*LandsatRequest) ProtoMessage() {} + +func (x *LandsatRequest) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LandsatRequest proto.InternalMessageInfo +// Deprecated: Use LandsatRequest.ProtoReflect.Descriptor instead. +func (*LandsatRequest) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{19} +} -func (m *LandsatRequest) GetSceneId() string { - if m != nil { - return m.SceneId +func (x *LandsatRequest) GetSceneId() string { + if x != nil { + return x.SceneId } return "" } -func (m *LandsatRequest) GetProductId() string { - if m != nil { - return m.ProductId +func (x *LandsatRequest) GetProductId() string { + if x != nil { + return x.ProductId } return "" } -func (m *LandsatRequest) GetProcessingLevel() Landsat_ProcessingLevel { - if m != nil { - return m.ProcessingLevel +func (x *LandsatRequest) GetProcessingLevel() Landsat_ProcessingLevel { + if x != nil { + return x.ProcessingLevel } return Landsat_UNKNOWN_PROCESSING_LEVEL } -func (m *LandsatRequest) GetWrsPath() int32 { - if m != nil { - return m.WrsPath +func (x *LandsatRequest) GetWrsPath() int32 { + if x != nil { + return x.WrsPath } return 0 } -func (m *LandsatRequest) GetWrsRow() int32 { - if m != nil { - return m.WrsRow +func (x *LandsatRequest) GetWrsRow() int32 { + if x != nil { + return x.WrsRow } return 0 } -func (m *LandsatRequest) GetCloudCoverLand() *FloatFilter { - if m != nil { - return m.CloudCoverLand +func (x *LandsatRequest) GetCloudCoverLand() *FloatFilter { + if x != nil { + return x.CloudCoverLand } return nil } // Experimental type Mosaic struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // experimental name of the mosaic this item is a member of Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // experimental the quad_key of this specific item @@ -2466,359 +2902,1131 @@ type Mosaic struct { // deprecated ObservationRange *DatetimeRange `protobuf:"bytes,4,opt,name=observation_range,json=observationRange,proto3" json:"observation_range,omitempty"` // experimental scene provenance. ordered list of STAC item ids that contribute to the mosaic. The 0th STAC item in provenance_ids is the front-most contributor to the mosaic, the last STAC item in bottom contributor and is likely to be partially covered by other contributing scenes - ProvenanceIds []string `protobuf:"bytes,5,rep,name=provenance_ids,json=provenanceIds,proto3" json:"provenance_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ProvenanceIds []string `protobuf:"bytes,5,rep,name=provenance_ids,json=provenanceIds,proto3" json:"provenance_ids,omitempty"` } -func (m *Mosaic) Reset() { *m = Mosaic{} } -func (m *Mosaic) String() string { return proto.CompactTextString(m) } -func (*Mosaic) ProtoMessage() {} -func (*Mosaic) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{20} +func (x *Mosaic) Reset() { + *x = Mosaic{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Mosaic) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mosaic.Unmarshal(m, b) -} -func (m *Mosaic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mosaic.Marshal(b, m, deterministic) -} -func (m *Mosaic) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mosaic.Merge(m, src) -} -func (m *Mosaic) XXX_Size() int { - return xxx_messageInfo_Mosaic.Size(m) +func (x *Mosaic) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Mosaic) XXX_DiscardUnknown() { - xxx_messageInfo_Mosaic.DiscardUnknown(m) + +func (*Mosaic) ProtoMessage() {} + +func (x *Mosaic) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Mosaic proto.InternalMessageInfo +// Deprecated: Use Mosaic.ProtoReflect.Descriptor instead. +func (*Mosaic) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{20} +} -func (m *Mosaic) GetName() string { - if m != nil { - return m.Name +func (x *Mosaic) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Mosaic) GetQuadKey() string { - if m != nil { - return m.QuadKey +func (x *Mosaic) GetQuadKey() string { + if x != nil { + return x.QuadKey } return "" } -func (m *Mosaic) GetZooms() []int32 { - if m != nil { - return m.Zooms +func (x *Mosaic) GetZooms() []int32 { + if x != nil { + return x.Zooms } return nil } -func (m *Mosaic) GetObservationRange() *DatetimeRange { - if m != nil { - return m.ObservationRange +func (x *Mosaic) GetObservationRange() *DatetimeRange { + if x != nil { + return x.ObservationRange } return nil } -func (m *Mosaic) GetProvenanceIds() []string { - if m != nil { - return m.ProvenanceIds +func (x *Mosaic) GetProvenanceIds() []string { + if x != nil { + return x.ProvenanceIds } return nil } // Experimental type MosaicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // experimental mosaic to search for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // experimental quad_key to search by - QuadKey string `protobuf:"bytes,2,opt,name=quad_key,json=quadKey,proto3" json:"quad_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QuadKey string `protobuf:"bytes,2,opt,name=quad_key,json=quadKey,proto3" json:"quad_key,omitempty"` } -func (m *MosaicRequest) Reset() { *m = MosaicRequest{} } -func (m *MosaicRequest) String() string { return proto.CompactTextString(m) } -func (*MosaicRequest) ProtoMessage() {} -func (*MosaicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4f29a77f2d54ba66, []int{21} +func (x *MosaicRequest) Reset() { + *x = MosaicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MosaicRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MosaicRequest.Unmarshal(m, b) +func (x *MosaicRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MosaicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MosaicRequest.Marshal(b, m, deterministic) -} -func (m *MosaicRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MosaicRequest.Merge(m, src) -} -func (m *MosaicRequest) XXX_Size() int { - return xxx_messageInfo_MosaicRequest.Size(m) -} -func (m *MosaicRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MosaicRequest.DiscardUnknown(m) + +func (*MosaicRequest) ProtoMessage() {} + +func (x *MosaicRequest) ProtoReflect() protoreflect.Message { + mi := &file_epl_protobuf_v1_stac_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MosaicRequest proto.InternalMessageInfo +// Deprecated: Use MosaicRequest.ProtoReflect.Descriptor instead. +func (*MosaicRequest) Descriptor() ([]byte, []int) { + return file_epl_protobuf_v1_stac_proto_rawDescGZIP(), []int{21} +} -func (m *MosaicRequest) GetName() string { - if m != nil { - return m.Name +func (x *MosaicRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *MosaicRequest) GetQuadKey() string { - if m != nil { - return m.QuadKey +func (x *MosaicRequest) GetQuadKey() string { + if x != nil { + return x.QuadKey } return "" } -func init() { - proto.RegisterEnum("epl.protobuf.v1.AssetType", AssetType_name, AssetType_value) - proto.RegisterEnum("epl.protobuf.v1.CloudPlatform", CloudPlatform_name, CloudPlatform_value) - proto.RegisterEnum("epl.protobuf.v1.Platform", Platform_name, Platform_value) - proto.RegisterEnum("epl.protobuf.v1.Instrument", Instrument_name, Instrument_value) - proto.RegisterEnum("epl.protobuf.v1.Constellation", Constellation_name, Constellation_value) - proto.RegisterEnum("epl.protobuf.v1.Mission", Mission_name, Mission_value) - proto.RegisterEnum("epl.protobuf.v1.Sat_OrbitState", Sat_OrbitState_name, Sat_OrbitState_value) - proto.RegisterEnum("epl.protobuf.v1.Eo_Band", Eo_Band_name, Eo_Band_value) - proto.RegisterEnum("epl.protobuf.v1.Sar_Platform", Sar_Platform_name, Sar_Platform_value) - proto.RegisterEnum("epl.protobuf.v1.Sar_Instrument", Sar_Instrument_name, Sar_Instrument_value) - proto.RegisterEnum("epl.protobuf.v1.Landsat_CollectionCategory", Landsat_CollectionCategory_name, Landsat_CollectionCategory_value) - proto.RegisterEnum("epl.protobuf.v1.Landsat_WRSType", Landsat_WRSType_name, Landsat_WRSType_value) - proto.RegisterEnum("epl.protobuf.v1.Landsat_ProcessingLevel", Landsat_ProcessingLevel_name, Landsat_ProcessingLevel_value) - proto.RegisterType((*Collection)(nil), "epl.protobuf.v1.Collection") - proto.RegisterMapType((map[string]*Stats)(nil), "epl.protobuf.v1.Collection.SummariesEntry") - proto.RegisterType((*CollectionRequest)(nil), "epl.protobuf.v1.CollectionRequest") - proto.RegisterType((*Stats)(nil), "epl.protobuf.v1.Stats") - proto.RegisterType((*Extent)(nil), "epl.protobuf.v1.Extent") - proto.RegisterType((*Interval)(nil), "epl.protobuf.v1.Interval") - proto.RegisterType((*Provider)(nil), "epl.protobuf.v1.Provider") - proto.RegisterType((*StacItem)(nil), "epl.protobuf.v1.StacItem") - proto.RegisterMapType((map[string]*Asset)(nil), "epl.protobuf.v1.StacItem.AssetsEntry") - proto.RegisterType((*StacRequest)(nil), "epl.protobuf.v1.StacRequest") - proto.RegisterType((*View)(nil), "epl.protobuf.v1.View") - proto.RegisterType((*ViewRequest)(nil), "epl.protobuf.v1.ViewRequest") - proto.RegisterType((*Sat)(nil), "epl.protobuf.v1.Sat") - proto.RegisterType((*SatRequest)(nil), "epl.protobuf.v1.SatRequest") - proto.RegisterType((*Eo)(nil), "epl.protobuf.v1.Eo") - proto.RegisterType((*EoRequest)(nil), "epl.protobuf.v1.EoRequest") - proto.RegisterType((*Asset)(nil), "epl.protobuf.v1.Asset") - proto.RegisterType((*DatetimeRange)(nil), "epl.protobuf.v1.DatetimeRange") - proto.RegisterType((*StacDbResponse)(nil), "epl.protobuf.v1.StacDbResponse") - proto.RegisterType((*Sar)(nil), "epl.protobuf.v1.Sar") - proto.RegisterType((*Landsat)(nil), "epl.protobuf.v1.Landsat") - proto.RegisterType((*LandsatRequest)(nil), "epl.protobuf.v1.LandsatRequest") - proto.RegisterType((*Mosaic)(nil), "epl.protobuf.v1.Mosaic") - proto.RegisterType((*MosaicRequest)(nil), "epl.protobuf.v1.MosaicRequest") -} - -func init() { - proto.RegisterFile("epl/protobuf/v1/stac.proto", fileDescriptor_4f29a77f2d54ba66) -} - -var fileDescriptor_4f29a77f2d54ba66 = []byte{ - // 3083 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcb, 0x73, 0xdb, 0x46, - 0x9a, 0x17, 0xdf, 0xe0, 0x47, 0x91, 0x6a, 0xb5, 0x64, 0x1b, 0x96, 0x5f, 0x0a, 0x93, 0xec, 0x7a, - 0x55, 0x89, 0x64, 0xc9, 0x71, 0x62, 0xe7, 0xe1, 0x35, 0x45, 0x41, 0x12, 0x14, 0xbe, 0xd2, 0xa0, - 0xac, 0x24, 0x55, 0x5b, 0x28, 0x88, 0x68, 0xd1, 0x88, 0x49, 0x80, 0x01, 0x40, 0xc9, 0xca, 0xc9, - 0x7f, 0xc3, 0x5e, 0xf7, 0xb6, 0xbb, 0x35, 0x87, 0xdc, 0xa7, 0x6a, 0x2e, 0x53, 0x53, 0x53, 0x73, - 0x98, 0x9a, 0x7f, 0x65, 0xfe, 0x80, 0x39, 0x4f, 0xf5, 0x03, 0x20, 0x25, 0x52, 0x0f, 0x27, 0x33, - 0x97, 0x39, 0xb1, 0xbf, 0xaf, 0x7f, 0xbf, 0x6e, 0xf4, 0xd7, 0xdf, 0x0b, 0x90, 0x60, 0x89, 0x0e, - 0x7a, 0x6b, 0x03, 0xdf, 0x0b, 0xbd, 0xc3, 0xe1, 0xd1, 0xda, 0xf1, 0xfa, 0x5a, 0x10, 0x5a, 0x9d, - 0x55, 0xae, 0xc0, 0x73, 0x74, 0xd0, 0x5b, 0x8d, 0xe6, 0x56, 0x8f, 0xd7, 0x97, 0x1e, 0x74, 0x3d, - 0xaf, 0xdb, 0xa3, 0x23, 0x7c, 0xe8, 0xf4, 0x69, 0x10, 0x5a, 0xfd, 0x81, 0x80, 0x2d, 0xdd, 0x3f, - 0x0f, 0x38, 0xf1, 0xad, 0xc1, 0x80, 0xfa, 0x81, 0x9c, 0xbf, 0x7d, 0x7e, 0xde, 0x72, 0x4f, 0x23, - 0xea, 0xf9, 0x07, 0xe9, 0x52, 0xaf, 0x4f, 0x43, 0x3f, 0x9a, 0xbf, 0x73, 0x7e, 0xfe, 0xc7, 0x21, - 0x8d, 0x26, 0xcb, 0x7f, 0x4a, 0x01, 0x54, 0xbd, 0x5e, 0x8f, 0x76, 0x42, 0xc7, 0x73, 0xf1, 0x7b, - 0x30, 0xcb, 0x8e, 0x61, 0x1e, 0x53, 0x3f, 0x70, 0x3c, 0x57, 0x4d, 0x2c, 0x27, 0x1e, 0xe6, 0x49, - 0x81, 0xe9, 0x5e, 0x0a, 0x15, 0x2e, 0x41, 0xd2, 0xb1, 0xd5, 0x14, 0x9f, 0x48, 0x3a, 0x36, 0x5e, - 0x84, 0x4c, 0xe8, 0x84, 0x3d, 0xaa, 0xa6, 0xb9, 0x4a, 0x08, 0x78, 0x19, 0x0a, 0x36, 0x0d, 0x3a, - 0xbe, 0x33, 0x60, 0xeb, 0xaa, 0x19, 0xb1, 0xce, 0x98, 0x0a, 0x2f, 0x81, 0xf2, 0x9a, 0x9e, 0x9e, - 0x78, 0xbe, 0x1d, 0xa8, 0xd9, 0xe5, 0xd4, 0xc3, 0x3c, 0x89, 0x65, 0xac, 0x42, 0xae, 0xe7, 0x74, - 0xa8, 0x1b, 0x50, 0x35, 0xc7, 0x99, 0x91, 0x88, 0x3f, 0x83, 0xfc, 0xc0, 0xf7, 0x8e, 0x1d, 0x9b, - 0xfa, 0x81, 0xaa, 0x2c, 0xa7, 0x1e, 0x16, 0x36, 0x6e, 0xaf, 0x9e, 0xb3, 0xf6, 0x6a, 0x4b, 0x22, - 0xc8, 0x08, 0x8b, 0xd7, 0x20, 0x4b, 0xdf, 0x84, 0xd4, 0x0d, 0xd5, 0xfc, 0x72, 0xe2, 0x61, 0x61, - 0xe3, 0xd6, 0x04, 0x4b, 0xe3, 0xd3, 0x44, 0xc2, 0xf0, 0x2e, 0xe4, 0x83, 0x61, 0xbf, 0x6f, 0xf9, - 0x0e, 0x0d, 0x54, 0xe0, 0x3b, 0xad, 0x4c, 0x70, 0x46, 0xa6, 0x5b, 0x35, 0x22, 0xb0, 0xe6, 0x86, - 0xfe, 0x29, 0x19, 0x91, 0x97, 0xda, 0x50, 0x3a, 0x3b, 0x89, 0x11, 0xa4, 0x5e, 0xd3, 0x53, 0x69, - 0x5d, 0x36, 0xc4, 0x1f, 0x41, 0xe6, 0xd8, 0xea, 0x0d, 0xa9, 0x9a, 0xe4, 0x4f, 0x77, 0x73, 0x62, - 0x27, 0x23, 0xb4, 0xc2, 0x80, 0x08, 0xd0, 0xe7, 0xc9, 0xa7, 0x89, 0xbd, 0xb4, 0x92, 0x44, 0xa9, - 0xbd, 0xb4, 0x52, 0x40, 0xb3, 0xe5, 0xff, 0x4f, 0xc0, 0xfc, 0xe8, 0x51, 0x08, 0xfd, 0x71, 0x48, - 0x83, 0x50, 0xde, 0x54, 0x22, 0xbe, 0xa9, 0xc7, 0x90, 0x3e, 0x3c, 0xf4, 0xde, 0xc8, 0x2d, 0xee, - 0x4d, 0x1a, 0xc0, 0x3d, 0xa6, 0x3d, 0x6f, 0x40, 0xb7, 0xac, 0xd0, 0xda, 0x9d, 0x21, 0x1c, 0x8c, - 0xff, 0x13, 0xc0, 0x71, 0x43, 0xea, 0x07, 0xb4, 0x13, 0x06, 0xfc, 0xda, 0xa7, 0x51, 0x77, 0xa4, - 0xcb, 0x49, 0xea, 0x18, 0x65, 0x33, 0x0f, 0xb9, 0x60, 0x60, 0x85, 0x8e, 0xd5, 0x2b, 0xe7, 0x20, - 0xc3, 0x8f, 0x51, 0x7e, 0x03, 0x59, 0x61, 0x6d, 0xfc, 0x59, 0x3c, 0xab, 0x26, 0xb8, 0x8d, 0x2f, - 0x7f, 0x2c, 0x12, 0xa1, 0xf1, 0x13, 0x50, 0x42, 0xda, 0x1f, 0x78, 0xbe, 0xd5, 0x53, 0x93, 0x17, - 0xf8, 0x81, 0xce, 0x9e, 0xe2, 0xd8, 0xea, 0x91, 0x18, 0x5a, 0xfe, 0x01, 0x94, 0x48, 0x8b, 0x1f, - 0x41, 0x26, 0x08, 0x2d, 0x3f, 0xe4, 0x26, 0x2a, 0x6c, 0x2c, 0xad, 0x8a, 0x18, 0x1b, 0x2d, 0xd1, - 0x8e, 0x82, 0x94, 0x08, 0x20, 0xfe, 0x08, 0x52, 0xd4, 0xb5, 0xa5, 0x01, 0x2f, 0xc3, 0x33, 0x58, - 0xf9, 0x15, 0x28, 0x91, 0x27, 0x62, 0x0c, 0x69, 0xd7, 0xea, 0x53, 0x79, 0x1b, 0x7c, 0x7c, 0x3e, - 0x46, 0x92, 0x93, 0x31, 0xb2, 0x08, 0x19, 0xdf, 0xeb, 0x51, 0x66, 0x77, 0x16, 0x20, 0x42, 0x60, - 0xde, 0x33, 0xf4, 0x7b, 0x32, 0xde, 0xd8, 0xb0, 0xfc, 0xbb, 0x22, 0x28, 0x46, 0x68, 0x75, 0xf4, - 0x90, 0xf6, 0x27, 0xae, 0x3d, 0x0e, 0xd0, 0xe4, 0x78, 0x80, 0xde, 0x07, 0xe8, 0xc4, 0x1e, 0x23, - 0xc3, 0x79, 0x4c, 0x83, 0x3f, 0x01, 0x18, 0xf8, 0xde, 0x80, 0xfa, 0x21, 0xf3, 0xff, 0x34, 0x3f, - 0xf1, 0xe2, 0xc4, 0x89, 0x2b, 0xee, 0x29, 0x19, 0xc3, 0xe1, 0xaf, 0x20, 0x6b, 0x05, 0x01, 0x0d, - 0x03, 0x35, 0xc3, 0xef, 0xe4, 0xc3, 0x69, 0x7e, 0xcc, 0x1f, 0x73, 0xb5, 0xc2, 0x71, 0x22, 0x58, - 0x24, 0x09, 0x3f, 0x03, 0x25, 0x4a, 0x5e, 0x6a, 0xf6, 0x1a, 0xae, 0x46, 0x62, 0x38, 0x5e, 0x97, - 0xce, 0x9d, 0xbb, 0x86, 0x73, 0x4b, 0xd7, 0x7e, 0x0a, 0x8a, 0x6d, 0x85, 0x94, 0xa5, 0x62, 0x55, - 0xb9, 0xea, 0x4a, 0x77, 0x67, 0x48, 0x8c, 0xc6, 0x55, 0x28, 0x71, 0x87, 0x30, 0x63, 0x3e, 0x5c, - 0x83, 0x5f, 0xe4, 0x9c, 0xad, 0x68, 0x91, 0xa7, 0xa0, 0x78, 0x87, 0x01, 0xf5, 0x8f, 0xa9, 0x2d, - 0x73, 0xd2, 0x65, 0xf4, 0x04, 0x89, 0xd1, 0x58, 0x87, 0x79, 0xb1, 0xbd, 0xd0, 0x58, 0xfc, 0x0a, - 0x0b, 0xd7, 0x58, 0x02, 0x71, 0x5a, 0x73, 0xc4, 0xc2, 0x5f, 0xc1, 0x2c, 0x75, 0xed, 0xd1, 0x39, - 0x66, 0xaf, 0x74, 0xed, 0x02, 0x75, 0xed, 0xad, 0x91, 0x21, 0xe6, 0x18, 0x7d, 0xfc, 0x39, 0x8a, - 0x57, 0xae, 0x50, 0xa2, 0xae, 0x3d, 0xfe, 0x0c, 0x9f, 0x40, 0xae, 0xe3, 0x53, 0x2b, 0xa4, 0xb6, - 0x5a, 0xba, 0x92, 0x1c, 0x41, 0x19, 0x6b, 0x38, 0xb0, 0x39, 0x6b, 0xee, 0x6a, 0x96, 0x84, 0xb2, - 0x1c, 0x38, 0xf0, 0xbd, 0x1f, 0x54, 0xc4, 0x29, 0x0f, 0xa6, 0x95, 0x8e, 0x1f, 0x44, 0x04, 0x08, - 0x47, 0x61, 0x60, 0xfc, 0x1c, 0x8a, 0x83, 0x9e, 0x15, 0x1e, 0x79, 0x7e, 0xdf, 0xa4, 0xee, 0xb0, - 0xaf, 0xce, 0x2f, 0x27, 0x1e, 0x96, 0xa6, 0x15, 0x1e, 0x89, 0x22, 0xb3, 0x11, 0x5e, 0x73, 0x87, - 0x7d, 0x56, 0xea, 0x22, 0x59, 0xc5, 0x3c, 0xd2, 0x62, 0x19, 0x6f, 0xc1, 0x9c, 0xe3, 0x06, 0xa1, - 0x3f, 0xec, 0x53, 0x37, 0x14, 0xab, 0x2f, 0xf0, 0xd5, 0xef, 0x4c, 0x49, 0x67, 0x11, 0x8e, 0x94, - 0x46, 0x1c, 0xbe, 0xc3, 0x7d, 0x96, 0xa5, 0x23, 0x8d, 0xba, 0x28, 0xa2, 0x79, 0xa4, 0xc1, 0x75, - 0xc0, 0x1d, 0xcf, 0x0d, 0x42, 0xda, 0xeb, 0x71, 0x9b, 0x8b, 0x8d, 0x6e, 0xf0, 0x8d, 0xee, 0x4f, - 0xa9, 0x6a, 0x63, 0x50, 0x32, 0x7f, 0x86, 0xc9, 0xb7, 0xfb, 0x00, 0x8a, 0x67, 0x94, 0xea, 0x4d, - 0xbe, 0xe3, 0x59, 0x25, 0xfe, 0x02, 0x66, 0xfb, 0x4e, 0x10, 0xc4, 0xdb, 0xdd, 0xe2, 0xdb, 0xa9, - 0x13, 0xdb, 0xd5, 0x05, 0x88, 0x14, 0x24, 0x9a, 0x6f, 0xa1, 0x42, 0x4e, 0x8a, 0xaa, 0x2a, 0x5a, - 0x00, 0x29, 0xe2, 0x8f, 0x21, 0xd5, 0x0d, 0x6c, 0xf5, 0x36, 0xbf, 0xc1, 0x3b, 0x13, 0x97, 0xbe, - 0xdd, 0xf3, 0xac, 0xf0, 0x25, 0x2b, 0x93, 0x84, 0xe1, 0x26, 0x5a, 0x9a, 0xa5, 0xc9, 0x96, 0xe6, - 0xdf, 0x60, 0x8e, 0x43, 0x06, 0x87, 0x31, 0xea, 0x8e, 0x38, 0x10, 0x53, 0xb7, 0x0e, 0x23, 0xdc, - 0xbf, 0x4b, 0x1c, 0xef, 0x10, 0x98, 0x26, 0x50, 0xef, 0xf2, 0xc4, 0xcc, 0xb2, 0x41, 0x47, 0x8b, - 0xb5, 0xf8, 0x7d, 0x48, 0x52, 0x4f, 0xbd, 0xc7, 0x9f, 0x70, 0x61, 0x32, 0x15, 0x79, 0x24, 0x49, - 0x3d, 0xfc, 0x1f, 0x90, 0x3e, 0x76, 0xe8, 0x89, 0x5a, 0xe6, 0xb0, 0x1b, 0x13, 0xb0, 0x97, 0x0e, - 0x3d, 0x21, 0x1c, 0x82, 0x37, 0x20, 0xd7, 0xb3, 0x5c, 0x3b, 0xb0, 0x42, 0xf5, 0x01, 0x47, 0x4f, - 0x1a, 0xb1, 0x26, 0xe6, 0x49, 0x04, 0x64, 0x0d, 0x4f, 0xdf, 0x0b, 0x2c, 0xa7, 0xa3, 0x2e, 0x5f, - 0xd0, 0xf0, 0xd4, 0xf9, 0x34, 0x91, 0xb0, 0xa5, 0x6f, 0xa0, 0x30, 0x96, 0x93, 0x7f, 0x49, 0x8f, - 0xc2, 0xe9, 0x63, 0x3d, 0xca, 0xe6, 0x0d, 0x58, 0x88, 0x2a, 0xaf, 0x69, 0xd3, 0x81, 0x4f, 0x3b, - 0x2c, 0x08, 0x37, 0x61, 0x54, 0xbb, 0xcb, 0xff, 0x07, 0x50, 0x60, 0x35, 0x21, 0x6a, 0x5a, 0x16, - 0x21, 0xd3, 0x73, 0xfa, 0x8e, 0x28, 0xca, 0x45, 0x22, 0x04, 0x7c, 0x13, 0xb2, 0xde, 0xd1, 0x51, - 0x40, 0x43, 0xbe, 0x77, 0x9a, 0x48, 0x09, 0xa3, 0x51, 0x33, 0xba, 0x3b, 0xc3, 0xab, 0xdd, 0x73, - 0x00, 0xc7, 0x36, 0x3b, 0x5e, 0x7f, 0xd0, 0xa3, 0x6f, 0x64, 0xdd, 0xba, 0x37, 0xa5, 0x0a, 0xf9, - 0x8e, 0xdb, 0xdd, 0x76, 0x7a, 0x21, 0xf5, 0x77, 0x67, 0x48, 0xde, 0xb1, 0xab, 0x82, 0x71, 0xae, - 0x2e, 0x66, 0xae, 0xa8, 0x8b, 0xd9, 0x6b, 0xd6, 0xc5, 0xb3, 0x5d, 0x54, 0xee, 0x3a, 0x5d, 0x54, - 0x62, 0xbc, 0x8b, 0x8a, 0x7b, 0x37, 0xe5, 0x3a, 0xbd, 0x5b, 0x42, 0x16, 0xb8, 0x3a, 0xa0, 0xa8, - 0x3e, 0x9a, 0xbe, 0xb0, 0xaf, 0xac, 0x34, 0xcb, 0x17, 0xee, 0x2d, 0xef, 0x61, 0x37, 0x41, 0xe6, - 0xba, 0x67, 0x55, 0xf8, 0xf9, 0x58, 0xbd, 0x84, 0x0b, 0x96, 0x89, 0x53, 0xae, 0xb4, 0x6d, 0x72, - 0xac, 0x6a, 0x3e, 0x1f, 0x2b, 0x78, 0x85, 0xeb, 0xf3, 0xe3, 0xb2, 0xf7, 0xf9, 0xa8, 0x4e, 0xcc, - 0x5e, 0x8f, 0x3e, 0xaa, 0x16, 0x9f, 0x8f, 0xaa, 0x45, 0xf1, 0xba, 0xdc, 0xf3, 0x35, 0xa3, 0xf4, - 0xab, 0x6a, 0xc6, 0xdc, 0xbb, 0xd5, 0x8c, 0x29, 0x75, 0x61, 0xfe, 0xdd, 0xeb, 0xc2, 0xf4, 0xbc, - 0xbf, 0xf0, 0x4b, 0xf3, 0xfe, 0xf9, 0x8c, 0x7e, 0xe3, 0x5d, 0x32, 0xfa, 0xaa, 0xc8, 0xdb, 0xb7, - 0xb8, 0x15, 0xef, 0x4e, 0x70, 0x78, 0xde, 0x96, 0xa6, 0xe7, 0x89, 0x7b, 0x85, 0x27, 0x51, 0x55, - 0xd6, 0xf6, 0x29, 0x49, 0x54, 0xb8, 0x25, 0xcf, 0xa5, 0x8f, 0x64, 0x2e, 0xbd, 0x7d, 0xc1, 0xe2, - 0x3c, 0x97, 0x4a, 0xbc, 0x48, 0xa9, 0xcf, 0x46, 0x29, 0x75, 0xe9, 0x82, 0x7b, 0x8d, 0x52, 0xaa, - 0xe4, 0xc5, 0x99, 0xf5, 0xd3, 0x38, 0xb3, 0xde, 0xe1, 0xcc, 0xfb, 0x17, 0x65, 0x56, 0x49, 0x94, - 0x68, 0x96, 0xf6, 0x1c, 0x9b, 0xba, 0xa1, 0x13, 0x9e, 0x8e, 0xbd, 0x15, 0x8d, 0x67, 0xc3, 0xbd, - 0xb4, 0x82, 0xd0, 0xfc, 0x5e, 0x5a, 0xc1, 0x68, 0x61, 0x2f, 0xad, 0x2c, 0xa2, 0x1b, 0x7b, 0x69, - 0xe5, 0x26, 0xba, 0x55, 0xfe, 0x7d, 0x12, 0xd2, 0xec, 0x0c, 0xf8, 0x29, 0xe4, 0xbd, 0xa3, 0x23, - 0xd3, 0xb5, 0x6c, 0xc7, 0x97, 0xef, 0x2d, 0x97, 0x96, 0x40, 0xc5, 0x3b, 0x3a, 0x6a, 0x30, 0xb0, - 0x70, 0xa8, 0x0e, 0x7b, 0x80, 0x0e, 0x35, 0x2d, 0xb7, 0xdb, 0x8b, 0xf2, 0xf8, 0xa5, 0xfc, 0x52, - 0xcc, 0xa9, 0x30, 0x0a, 0x7e, 0x02, 0x39, 0xeb, 0x27, 0xa7, 0x3f, 0x0c, 0x5f, 0xc9, 0x77, 0xc1, - 0x4b, 0xd9, 0x11, 0x16, 0x7f, 0x09, 0x85, 0x60, 0xe8, 0x9a, 0x11, 0x35, 0x7d, 0x35, 0x15, 0x82, - 0xa1, 0x5b, 0x91, 0xec, 0x17, 0x50, 0x64, 0x6c, 0xda, 0xa3, 0xb2, 0xc7, 0xcc, 0x5c, 0xcd, 0x9f, - 0x0d, 0x86, 0xae, 0x16, 0x11, 0xca, 0x7f, 0x49, 0x42, 0x61, 0xcc, 0x07, 0xf0, 0xb3, 0x49, 0x33, - 0x5e, 0xee, 0x91, 0x23, 0x3b, 0x6a, 0x17, 0xd9, 0xf1, 0xf2, 0x05, 0xce, 0x1b, 0xf2, 0xd3, 0xf3, - 0x86, 0xbc, 0x9c, 0x1e, 0x5b, 0xf2, 0xab, 0x69, 0x96, 0xbc, 0x9c, 0x3b, 0x6e, 0xca, 0xca, 0x74, - 0x53, 0x5e, 0xbe, 0xc0, 0x59, 0x5b, 0xfe, 0x2d, 0x01, 0x29, 0xc3, 0x0a, 0xd9, 0x4b, 0x90, 0x4f, - 0x59, 0x72, 0x38, 0xa6, 0xa6, 0xe7, 0x1f, 0x3a, 0xa1, 0xac, 0x86, 0x77, 0x27, 0xae, 0x65, 0x5f, - 0x77, 0xc3, 0xc7, 0x1b, 0xe2, 0x5e, 0x8a, 0x11, 0xa7, 0xc9, 0x28, 0xf8, 0x05, 0x14, 0x38, 0xd7, - 0x0c, 0x42, 0x2b, 0x14, 0xaf, 0xc7, 0xa5, 0x29, 0xa1, 0x68, 0x58, 0xe1, 0x2a, 0x27, 0x18, 0x0c, - 0x46, 0xc0, 0x8b, 0xc7, 0xe5, 0x57, 0x00, 0xa3, 0x19, 0x7c, 0x13, 0xf0, 0xfe, 0xd7, 0x8d, 0xe6, - 0x41, 0xc3, 0x6c, 0x92, 0x4d, 0xbd, 0x6d, 0x1a, 0xed, 0x4a, 0x5b, 0x43, 0x33, 0x78, 0x01, 0xe6, - 0x2a, 0x46, 0x55, 0x6b, 0x6c, 0xe9, 0x8d, 0x1d, 0x31, 0x85, 0x12, 0x78, 0x11, 0xd0, 0x96, 0x76, - 0x4e, 0x9b, 0xc4, 0xb7, 0x60, 0x61, 0x47, 0x6b, 0x32, 0xa2, 0xde, 0x6c, 0x54, 0xc8, 0x77, 0x72, - 0x22, 0x55, 0x1e, 0x02, 0x18, 0x71, 0x3a, 0xc0, 0x1f, 0x4e, 0x3d, 0x7e, 0xf1, 0x1f, 0x7f, 0xc0, - 0x9f, 0x93, 0x90, 0xd4, 0x3c, 0x16, 0x42, 0x9d, 0x9e, 0x37, 0x64, 0xbd, 0xcd, 0x31, 0xbd, 0x56, - 0xec, 0x03, 0xc7, 0x57, 0x19, 0x1c, 0xaf, 0x42, 0xe6, 0x90, 0xa5, 0x2f, 0xee, 0xab, 0xd3, 0x52, - 0xb6, 0xe6, 0xad, 0x6e, 0x5a, 0xae, 0x4d, 0x04, 0xac, 0xfc, 0xdb, 0x04, 0xa4, 0x99, 0x8c, 0x11, - 0xcc, 0xee, 0x37, 0x84, 0x45, 0x37, 0x2b, 0x8d, 0x2d, 0x34, 0x83, 0x0b, 0x90, 0xab, 0x36, 0x2b, - 0x46, 0xbb, 0x52, 0x43, 0x49, 0xac, 0x40, 0x7a, 0xb3, 0xb6, 0xaf, 0xa1, 0x34, 0xce, 0x43, 0x66, - 0x87, 0x68, 0x5a, 0x03, 0x29, 0x38, 0x07, 0x29, 0xa2, 0x6d, 0x21, 0xc4, 0x07, 0x3b, 0x9b, 0xe8, - 0x2e, 0x1b, 0x34, 0x74, 0x82, 0x96, 0x19, 0xaa, 0xa1, 0x13, 0x73, 0x03, 0xbd, 0xc7, 0x86, 0x64, - 0x67, 0x53, 0x27, 0xe8, 0x4b, 0x0c, 0x90, 0x35, 0x0e, 0x74, 0x62, 0xae, 0xa3, 0x17, 0xb8, 0x20, - 0xc7, 0x1b, 0xe8, 0x6d, 0x02, 0x2b, 0x90, 0x6a, 0x55, 0x1a, 0xe8, 0x6d, 0x92, 0xa9, 0xab, 0x3a, - 0x21, 0xfb, 0x06, 0x7a, 0x9b, 0x66, 0x42, 0x4d, 0xe0, 0xdf, 0x2a, 0xb1, 0xb0, 0x81, 0xde, 0xa2, - 0xf2, 0x4f, 0x90, 0x8f, 0x2b, 0x03, 0x8b, 0x95, 0x49, 0x93, 0x5d, 0x11, 0x2b, 0xbf, 0xc2, 0x66, - 0xff, 0x9d, 0x82, 0x0c, 0x6f, 0x81, 0x31, 0x86, 0xf4, 0x2b, 0x9f, 0x1e, 0x45, 0x5f, 0x7b, 0xd8, - 0x98, 0xe9, 0xc2, 0xd3, 0x41, 0xf4, 0x15, 0x86, 0x8f, 0xf1, 0x63, 0x50, 0xa8, 0x67, 0x8a, 0x4d, - 0x52, 0x57, 0x6c, 0x92, 0xa3, 0x1e, 0xfb, 0x0d, 0xf0, 0x33, 0x00, 0xfe, 0xb9, 0xc4, 0xe4, 0xcb, - 0xa5, 0x39, 0x6d, 0x69, 0x7a, 0x2f, 0xde, 0x3e, 0x1d, 0x50, 0x92, 0xb7, 0xa2, 0x21, 0xd6, 0xa0, - 0x24, 0x0c, 0x12, 0xbf, 0x8e, 0x66, 0x2e, 0x6a, 0x05, 0x18, 0x2c, 0x6e, 0x4d, 0x8a, 0x9d, 0x71, - 0x91, 0xb9, 0xfe, 0xe1, 0xb0, 0xf3, 0x9a, 0x86, 0x66, 0xdf, 0x72, 0xad, 0x2e, 0xf5, 0xb9, 0xeb, - 0xe7, 0x49, 0x51, 0x68, 0xeb, 0x42, 0x89, 0xdf, 0x07, 0xa9, 0x30, 0x7d, 0xda, 0x65, 0xb9, 0x46, - 0x7c, 0xcb, 0x9d, 0x15, 0x4a, 0xc2, 0x75, 0xac, 0xb3, 0x17, 0x32, 0x6f, 0x6d, 0xf3, 0x44, 0x4a, - 0xf8, 0x01, 0x14, 0xbc, 0x43, 0xd6, 0x56, 0x99, 0x03, 0x2b, 0x7c, 0xc5, 0xdb, 0xd6, 0x3c, 0x01, - 0xa1, 0x6a, 0x59, 0xe1, 0x2b, 0x11, 0x7f, 0xfc, 0x9e, 0xa9, 0x6f, 0x0e, 0xac, 0xd3, 0x80, 0xf7, - 0xa4, 0x0a, 0x8b, 0x3f, 0xa9, 0x6d, 0x59, 0xa7, 0x41, 0xd9, 0x83, 0x62, 0xf4, 0xb5, 0x82, 0x58, - 0x6e, 0x97, 0xfe, 0xd3, 0xbf, 0xfa, 0xbd, 0x81, 0x12, 0x7b, 0x9f, 0xd9, 0x3a, 0x24, 0x34, 0x18, - 0x78, 0x6e, 0xc0, 0x72, 0x52, 0x96, 0x05, 0xff, 0x30, 0x90, 0xfe, 0x20, 0x25, 0x76, 0x44, 0x31, - 0x32, 0x3b, 0x9e, 0x2d, 0x1c, 0x23, 0x43, 0x40, 0xa8, 0xaa, 0x9e, 0x4d, 0xf1, 0x2d, 0xc8, 0xd9, - 0x56, 0x68, 0x99, 0xf1, 0xf7, 0xf6, 0x2c, 0x13, 0x75, 0xfe, 0x49, 0xaf, 0xe3, 0x0d, 0xdd, 0x90, - 0xdf, 0x7e, 0x9a, 0x08, 0xa1, 0xfc, 0x1b, 0x9e, 0x98, 0x7d, 0xfc, 0x6c, 0xec, 0x73, 0x83, 0xc8, - 0x37, 0x53, 0x5e, 0x80, 0x2c, 0x7f, 0xd4, 0x79, 0xc6, 0xf0, 0xf2, 0x73, 0x50, 0xe2, 0x5b, 0x5e, - 0x04, 0x14, 0x45, 0x7e, 0xab, 0x56, 0x69, 0x6f, 0x37, 0x49, 0x5d, 0x44, 0xbf, 0xd6, 0x78, 0xa9, - 0x1b, 0x15, 0x96, 0x40, 0xe7, 0xa0, 0x60, 0x68, 0x8d, 0xb6, 0xde, 0xd0, 0x6a, 0xe6, 0x7a, 0x05, - 0x25, 0xcb, 0x1f, 0x00, 0x8c, 0xba, 0x51, 0x9e, 0x8c, 0xe5, 0x0a, 0x7a, 0xc3, 0x68, 0x93, 0xfd, - 0xba, 0xd6, 0x68, 0xa3, 0x99, 0xf2, 0x1f, 0xd2, 0x90, 0x93, 0xcd, 0x15, 0xbe, 0x0d, 0x4a, 0xd0, - 0xa1, 0x2e, 0x35, 0xe3, 0x6f, 0x96, 0x39, 0x2e, 0xeb, 0x36, 0xbe, 0xc7, 0x5f, 0xb5, 0xec, 0x61, - 0x27, 0x64, 0x93, 0x22, 0x6e, 0xf2, 0x52, 0xa3, 0xdb, 0xd8, 0x00, 0x34, 0xf0, 0xbd, 0x0e, 0x0d, - 0x02, 0xc7, 0xed, 0x9a, 0x3d, 0x7a, 0x4c, 0x7b, 0x32, 0x88, 0x1e, 0x5e, 0xd4, 0xca, 0xb1, 0x56, - 0x5d, 0x12, 0x6a, 0x0c, 0x4f, 0xe6, 0x06, 0x67, 0x15, 0xec, 0x71, 0x4e, 0xfc, 0x40, 0xf8, 0x5c, - 0x9a, 0x5f, 0x48, 0xee, 0xc4, 0x0f, 0xb8, 0xc3, 0xdd, 0x02, 0x36, 0x34, 0x7d, 0xef, 0x84, 0x47, - 0x4d, 0x86, 0x64, 0x4f, 0xfc, 0x80, 0x78, 0x27, 0x58, 0x03, 0x34, 0x96, 0x66, 0x4c, 0xd6, 0x26, - 0xca, 0x52, 0x78, 0x79, 0x6b, 0x35, 0x4a, 0x35, 0xec, 0xf1, 0xf0, 0x17, 0x62, 0x6b, 0x1e, 0xd5, - 0x39, 0x7e, 0x8e, 0xe5, 0x0b, 0xcf, 0x71, 0x40, 0x0c, 0x1e, 0xdb, 0xec, 0x89, 0xd8, 0xa0, 0xfc, - 0x5f, 0x80, 0x47, 0x7f, 0x00, 0xa8, 0x5a, 0x21, 0xed, 0x7a, 0xfe, 0x29, 0x7e, 0x00, 0x77, 0xa2, - 0x0b, 0xa8, 0x36, 0x6b, 0x35, 0xad, 0xca, 0x4a, 0x9a, 0x59, 0xad, 0xb4, 0xb5, 0x9d, 0x26, 0xf9, - 0x0e, 0xcd, 0xe0, 0x2c, 0x24, 0x2b, 0xeb, 0x28, 0xc1, 0x7f, 0x37, 0x50, 0x92, 0xfd, 0xb6, 0xd7, - 0x51, 0x8a, 0xff, 0x6e, 0xa0, 0x34, 0xfb, 0x25, 0x6d, 0x94, 0x29, 0x7f, 0x0c, 0x39, 0xb9, 0x25, - 0x2e, 0x01, 0xc8, 0x0a, 0x7b, 0x40, 0x0c, 0x34, 0xc3, 0x2a, 0xc0, 0x01, 0x31, 0xd8, 0x22, 0x62, - 0xb4, 0x81, 0x92, 0x65, 0x13, 0xe6, 0xce, 0x59, 0x1a, 0xdf, 0x05, 0x35, 0xf6, 0x26, 0xd2, 0xac, - 0x6a, 0x86, 0xc1, 0x6a, 0x6e, 0x4d, 0x7b, 0xa9, 0xd5, 0xd0, 0x0c, 0xab, 0x0f, 0xb5, 0xf5, 0x1d, - 0xb1, 0x46, 0x6d, 0xbd, 0xdd, 0x42, 0x49, 0xa1, 0x6a, 0xa3, 0x94, 0x50, 0xed, 0xb4, 0x51, 0x5a, - 0x8e, 0x0c, 0x94, 0x29, 0xff, 0x4f, 0x12, 0x4a, 0x67, 0xdb, 0xf3, 0x7f, 0x05, 0x47, 0xda, 0xbe, - 0xd0, 0x91, 0xae, 0xe8, 0x2d, 0xcf, 0x7a, 0x52, 0xf9, 0x8f, 0x09, 0xc8, 0x8a, 0x57, 0x90, 0xa9, - 0x7f, 0x77, 0xb8, 0x0d, 0xca, 0x8f, 0x43, 0xcb, 0x36, 0x5f, 0xd3, 0x53, 0x69, 0x8c, 0x1c, 0x93, - 0xbf, 0xa6, 0xa7, 0x2c, 0xb1, 0xfc, 0xe4, 0x79, 0x7d, 0xf1, 0x07, 0x87, 0x0c, 0x11, 0x02, 0xfe, - 0x1a, 0xe6, 0xc7, 0xbe, 0xf0, 0x9a, 0x3e, 0xcb, 0xa3, 0xb2, 0xf3, 0x9c, 0xac, 0x1c, 0x67, 0xb2, - 0x2d, 0x41, 0x63, 0x44, 0x91, 0x7f, 0x3f, 0x84, 0xd2, 0xc0, 0xf7, 0x8e, 0xa9, 0x6b, 0xb1, 0x06, - 0xda, 0xb1, 0xc5, 0x9f, 0x0a, 0xf2, 0xa4, 0x38, 0xd2, 0xea, 0x76, 0x50, 0x7e, 0x0e, 0xc5, 0x33, - 0x6f, 0x51, 0xef, 0x78, 0x92, 0x95, 0xbf, 0x26, 0x20, 0x1f, 0xd7, 0x40, 0x3c, 0x0f, 0xc5, 0xc8, - 0xfb, 0x2a, 0x86, 0xa1, 0xb5, 0x85, 0xdf, 0xee, 0xb5, 0x34, 0xe6, 0x73, 0x05, 0xc8, 0xed, 0x68, - 0xcd, 0xb6, 0xbe, 0xbd, 0x2d, 0x1a, 0x9a, 0x9a, 0x46, 0xaa, 0x28, 0xc5, 0x1c, 0xb0, 0x4e, 0xb6, - 0x11, 0xeb, 0x36, 0x72, 0x75, 0xb2, 0x6d, 0xea, 0x5b, 0xdf, 0xa2, 0x4c, 0x24, 0x7c, 0x5b, 0xaf, - 0xa1, 0x2c, 0x8b, 0x85, 0x6a, 0xd3, 0x8c, 0xc8, 0x39, 0xde, 0xef, 0x54, 0x0e, 0x90, 0x82, 0x8b, - 0x90, 0x6f, 0xef, 0xee, 0xd7, 0x37, 0x1b, 0x15, 0xbd, 0x86, 0xf2, 0x6c, 0x51, 0x8e, 0x00, 0x36, - 0xc1, 0x76, 0x35, 0x37, 0x1e, 0x3d, 0x7a, 0x84, 0x0a, 0x8c, 0xc0, 0x56, 0x9a, 0x65, 0x83, 0xf6, - 0xb7, 0x6d, 0x54, 0x64, 0x83, 0x56, 0x63, 0x07, 0x95, 0xf0, 0x2c, 0x28, 0xcd, 0x97, 0x1a, 0x79, - 0xa9, 0x6b, 0x07, 0x68, 0x8e, 0x3f, 0xad, 0xd1, 0x6c, 0x20, 0xc4, 0x46, 0xbb, 0xed, 0x7a, 0x0d, - 0xcd, 0xf3, 0x78, 0xd3, 0x36, 0x5b, 0x08, 0xaf, 0x7c, 0x03, 0xc5, 0x33, 0x05, 0x1b, 0x2f, 0xc1, - 0xcd, 0x38, 0xf0, 0x6b, 0xcd, 0xfd, 0xad, 0xf1, 0x0c, 0x9e, 0x83, 0x54, 0xe5, 0xc0, 0x40, 0x09, - 0x36, 0xd8, 0xa9, 0xb2, 0x50, 0xcb, 0x43, 0xa6, 0xf2, 0xfd, 0x3e, 0xd1, 0xc4, 0xa1, 0xf5, 0xcd, - 0x3a, 0x4a, 0xaf, 0xfc, 0x39, 0x71, 0x65, 0x29, 0x28, 0x42, 0xbe, 0x56, 0x69, 0x6c, 0x19, 0x95, - 0xb6, 0xb9, 0x8e, 0x92, 0xe3, 0x22, 0x4b, 0x1d, 0x63, 0xe2, 0x63, 0xa4, 0xb0, 0x52, 0x11, 0x83, - 0x37, 0x1e, 0xa3, 0xd2, 0xf8, 0xfc, 0x27, 0x08, 0x8d, 0x8b, 0x4f, 0xd0, 0x32, 0xb3, 0x6c, 0x3c, - 0xfb, 0x04, 0x3d, 0x1a, 0x9f, 0xfe, 0x0c, 0xbd, 0xc0, 0xa5, 0x91, 0xf8, 0x94, 0xf5, 0x89, 0xb3, - 0x90, 0x33, 0x0e, 0xf4, 0x6d, 0xb6, 0xf3, 0xdb, 0xe4, 0x48, 0x7a, 0x8c, 0xde, 0xa6, 0x57, 0x8e, - 0xaf, 0x53, 0x93, 0xd8, 0xc1, 0x9b, 0x35, 0x5d, 0x38, 0x40, 0x5b, 0x27, 0x06, 0x4a, 0xf3, 0x1b, - 0xa8, 0xe9, 0x26, 0x97, 0xb2, 0xcc, 0x48, 0xad, 0x66, 0xdd, 0x5c, 0x47, 0x0a, 0xcf, 0x8e, 0x75, - 0xd1, 0xde, 0x6a, 0xed, 0x3a, 0x5a, 0xe6, 0xae, 0x62, 0x18, 0xe8, 0x05, 0x06, 0x01, 0x62, 0xbd, - 0xeb, 0xca, 0x0a, 0x14, 0xcf, 0x7c, 0x50, 0xc1, 0xb7, 0xe1, 0xc6, 0x28, 0x1b, 0x37, 0x8c, 0xb6, - 0x56, 0xab, 0xf1, 0x77, 0x0c, 0x34, 0xb3, 0xb2, 0x07, 0x39, 0xf9, 0xcd, 0x84, 0xbd, 0xa9, 0x44, - 0xa8, 0xba, 0x6e, 0x18, 0x7c, 0x9e, 0x79, 0x9d, 0x3c, 0xaf, 0x78, 0xc2, 0x46, 0x45, 0x6f, 0x89, - 0x84, 0xd8, 0x6a, 0x34, 0x2b, 0x48, 0x61, 0x4f, 0xc7, 0x8f, 0x8c, 0xd0, 0xa6, 0x07, 0x0b, 0x1d, - 0xaf, 0x7f, 0x3e, 0x2e, 0x37, 0xf3, 0xac, 0x2b, 0x69, 0x31, 0x45, 0x2b, 0xf1, 0xfd, 0x6a, 0xd7, - 0x09, 0x5f, 0x0d, 0x0f, 0x57, 0x3b, 0x5e, 0x7f, 0xad, 0x4b, 0xbd, 0x8f, 0xbb, 0xfe, 0xa0, 0xb3, - 0x66, 0x0d, 0x9c, 0xb5, 0xae, 0xd7, 0xb3, 0xdc, 0xee, 0xda, 0xb9, 0x7f, 0x19, 0xf8, 0xdf, 0x64, - 0xda, 0x68, 0xb7, 0x36, 0x7f, 0x4e, 0x4e, 0x5b, 0xf9, 0x30, 0xcb, 0x85, 0xc7, 0x7f, 0x0f, 0x00, - 0x00, 0xff, 0xff, 0x39, 0xcb, 0x8c, 0x7e, 0x12, 0x21, 0x00, 0x00, +var File_epl_protobuf_v1_stac_proto protoreflect.FileDescriptor + +var file_epl_protobuf_v1_stac_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x65, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x74, 0x61, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x65, 0x70, 0x6c, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, + 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x70, 0x6c, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x03, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x63, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x61, + 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, + 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, + 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, + 0x2f, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x12, 0x48, 0x0a, 0x09, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x0a, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x09, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x54, 0x0a, 0x0e, 0x53, 0x75, + 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x22, 0xa4, 0x01, 0x0a, + 0x11, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x33, 0x0a, 0x04, 0x62, 0x62, 0x6f, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x48, + 0x00, 0x52, 0x04, 0x62, 0x62, 0x6f, 0x78, 0x12, 0x3f, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x73, 0x65, 0x63, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x74, + 0x69, 0x61, 0x6c, 0x22, 0x07, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0x78, 0x0a, 0x06, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x74, 0x69, 0x61, + 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, + 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x70, 0x61, 0x74, 0x69, 0x61, 0x6c, 0x12, + 0x35, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x08, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x22, 0x6a, 0x0a, 0x08, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, + 0x61, 0x6c, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, + 0x6e, 0x64, 0x22, 0x68, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0xb8, 0x0d, 0x0a, + 0x08, 0x53, 0x74, 0x61, 0x63, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, + 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, + 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x34, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x49, 0x74, 0x65, 0x6d, + 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x08, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x12, + 0x31, 0x0a, 0x04, 0x62, 0x62, 0x6f, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x62, 0x62, + 0x6f, 0x78, 0x12, 0x38, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x48, 0x00, 0x52, 0x08, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0e, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x48, 0x00, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, + 0x01, 0x52, 0x08, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x11, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x48, 0x01, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x62, 0x73, 0x65, 0x72, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x61, + 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, + 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x62, 0x73, + 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x6e, 0x64, 0x4f, + 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x33, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x6a, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x6a, 0x12, 0x3e, 0x0a, 0x0d, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x11, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x0c, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x44, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x72, + 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1b, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x69, + 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, + 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, + 0x12, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, + 0x6e, 0x75, 0x6d, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0d, + 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x16, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0c, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, + 0x75, 0x6d, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, + 0x18, 0x0a, 0x07, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x03, 0x67, 0x73, 0x64, + 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x03, 0x67, 0x73, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x63, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x73, 0x74, 0x61, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x73, + 0x74, 0x61, 0x63, 0x5f, 0x70, 0x62, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1b, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x63, 0x50, 0x62, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x63, 0x5f, 0x65, 0x78, 0x74, 0x65, + 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, + 0x61, 0x63, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x02, + 0x65, 0x6f, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6f, 0x52, 0x02, 0x65, + 0x6f, 0x12, 0x29, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, + 0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x32, 0x0a, 0x07, + 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x52, 0x07, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, + 0x12, 0x2f, 0x0a, 0x06, 0x6d, 0x6f, 0x73, 0x61, 0x69, 0x63, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x73, 0x61, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x6f, 0x73, 0x61, 0x69, + 0x63, 0x1a, 0x51, 0x0a, 0x0b, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x22, 0xa3, 0x0a, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x63, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, + 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3e, 0x0a, 0x0a, 0x69, 0x64, 0x5f, 0x63, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x69, 0x64, + 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, + 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3f, 0x0a, + 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, + 0x48, 0x01, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x73, 0x12, 0x33, + 0x0a, 0x04, 0x62, 0x62, 0x6f, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, + 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x48, 0x01, 0x52, 0x04, 0x62, + 0x62, 0x6f, 0x78, 0x12, 0x4d, 0x0a, 0x10, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x5f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, + 0x01, 0x52, 0x0f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x02, 0x52, 0x08, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, + 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x02, 0x52, 0x08, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x3a, + 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, + 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x33, 0x0a, 0x04, 0x70, 0x72, + 0x6f, 0x6a, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x6a, 0x12, + 0x3e, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x65, 0x6e, 0x75, 0x6d, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x45, 0x6e, 0x75, 0x6d, 0x12, + 0x44, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, + 0x75, 0x6d, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x72, + 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, + 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x4d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x13, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3b, 0x0a, 0x0c, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x75, + 0x6d, 0x12, 0x2e, 0x0a, 0x03, 0x67, 0x73, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, + 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x03, 0x67, 0x73, + 0x64, 0x12, 0x2a, 0x0a, 0x02, 0x65, 0x6f, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x02, 0x65, 0x6f, 0x12, 0x30, 0x0a, + 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, + 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, + 0x39, 0x0a, 0x07, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x07, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x6d, 0x6f, + 0x73, 0x61, 0x69, 0x63, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x73, + 0x61, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x06, 0x6d, 0x6f, 0x73, 0x61, + 0x69, 0x63, 0x42, 0x0a, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x09, + 0x0a, 0x07, 0x73, 0x70, 0x61, 0x74, 0x69, 0x61, 0x6c, 0x42, 0x0a, 0x0a, 0x08, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x4a, 0x04, 0x08, 0x10, 0x10, 0x11, 0x4a, 0x04, 0x08, 0x12, 0x10, + 0x13, 0x4a, 0x04, 0x08, 0x14, 0x10, 0x15, 0x4a, 0x04, 0x08, 0x16, 0x10, 0x17, 0x22, 0xbd, 0x02, + 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x66, 0x66, 0x5f, 0x6e, 0x61, + 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x66, 0x66, 0x4e, 0x61, 0x64, 0x69, 0x72, + 0x12, 0x44, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x6e, + 0x67, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x63, + 0x65, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x61, 0x7a, 0x69, 0x6d, 0x75, 0x74, + 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x61, 0x7a, 0x69, 0x6d, 0x75, 0x74, 0x68, 0x12, 0x3c, 0x0a, + 0x0b, 0x73, 0x75, 0x6e, 0x5f, 0x61, 0x7a, 0x69, 0x6d, 0x75, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x0a, 0x73, 0x75, 0x6e, 0x41, 0x7a, 0x69, 0x6d, 0x75, 0x74, 0x68, 0x12, 0x40, 0x0a, 0x0d, 0x73, + 0x75, 0x6e, 0x5f, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x0c, 0x73, 0x75, 0x6e, 0x45, 0x6c, 0x65, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc9, 0x02, + 0x0a, 0x0b, 0x56, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, + 0x09, 0x6f, 0x66, 0x66, 0x5f, 0x6e, 0x61, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x08, + 0x6f, 0x66, 0x66, 0x4e, 0x61, 0x64, 0x69, 0x72, 0x12, 0x45, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x69, + 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, + 0x0e, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x12, + 0x36, 0x0a, 0x07, 0x61, 0x7a, 0x69, 0x6d, 0x75, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, + 0x61, 0x7a, 0x69, 0x6d, 0x75, 0x74, 0x68, 0x12, 0x3d, 0x0a, 0x0b, 0x73, 0x75, 0x6e, 0x5f, 0x61, + 0x7a, 0x69, 0x6d, 0x75, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, + 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x46, + 0x6c, 0x6f, 0x61, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x73, 0x75, 0x6e, 0x41, + 0x7a, 0x69, 0x6d, 0x75, 0x74, 0x68, 0x12, 0x41, 0x0a, 0x0d, 0x73, 0x75, 0x6e, 0x5f, 0x65, 0x6c, + 0x65, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0c, 0x73, 0x75, 0x6e, + 0x45, 0x6c, 0x65, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf6, 0x01, 0x0a, 0x03, 0x53, 0x61, + 0x74, 0x12, 0x43, 0x0a, 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, + 0x62, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, + 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, + 0x65, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x6f, 0x72, 0x62, 0x69, 0x74, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, + 0x74, 0x2e, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x6f, 0x72, + 0x62, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x68, 0x0a, 0x0a, 0x4f, 0x72, 0x62, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, + 0x5f, 0x4f, 0x52, 0x42, 0x49, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x13, + 0x0a, 0x0f, 0x41, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x52, 0x42, 0x49, + 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, + 0x47, 0x5f, 0x4f, 0x52, 0x42, 0x49, 0x54, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x47, 0x45, 0x4f, + 0x53, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x4f, 0x52, 0x42, 0x49, 0x54, + 0x10, 0x03, 0x22, 0x75, 0x0a, 0x0a, 0x53, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x62, + 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x6f, 0x72, 0x62, 0x69, 0x74, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x65, + 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x61, 0x74, 0x2e, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x6f, + 0x72, 0x62, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xaa, 0x02, 0x0a, 0x02, 0x45, 0x6f, + 0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x0a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x2e, + 0x0a, 0x05, 0x62, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x6f, 0x2e, 0x42, 0x61, 0x6e, 0x64, 0x52, 0x05, 0x62, 0x61, 0x6e, 0x64, 0x73, 0x22, 0xb5, + 0x01, 0x0a, 0x04, 0x42, 0x61, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, + 0x57, 0x4e, 0x5f, 0x42, 0x41, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x41, + 0x53, 0x54, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4c, 0x55, 0x45, 0x10, 0x04, + 0x12, 0x09, 0x0a, 0x05, 0x47, 0x52, 0x45, 0x45, 0x4e, 0x10, 0x08, 0x12, 0x07, 0x0a, 0x03, 0x52, + 0x45, 0x44, 0x10, 0x10, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x47, 0x42, 0x10, 0x1c, 0x12, 0x07, 0x0a, + 0x03, 0x4e, 0x49, 0x52, 0x10, 0x20, 0x12, 0x09, 0x0a, 0x05, 0x4e, 0x49, 0x52, 0x5f, 0x32, 0x10, + 0x21, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x47, 0x42, 0x49, 0x52, 0x10, 0x3c, 0x12, 0x0a, 0x0a, 0x06, + 0x53, 0x57, 0x49, 0x52, 0x5f, 0x31, 0x10, 0x40, 0x12, 0x0b, 0x0a, 0x06, 0x53, 0x57, 0x49, 0x52, + 0x5f, 0x32, 0x10, 0x80, 0x01, 0x12, 0x08, 0x0a, 0x03, 0x50, 0x41, 0x4e, 0x10, 0x80, 0x02, 0x12, + 0x0b, 0x0a, 0x06, 0x43, 0x49, 0x52, 0x52, 0x55, 0x53, 0x10, 0x80, 0x04, 0x12, 0x0b, 0x0a, 0x06, + 0x4c, 0x57, 0x49, 0x52, 0x5f, 0x31, 0x10, 0x80, 0x08, 0x12, 0x0b, 0x0a, 0x06, 0x4c, 0x57, 0x49, + 0x52, 0x5f, 0x32, 0x10, 0x80, 0x10, 0x22, 0x7a, 0x0a, 0x09, 0x45, 0x6f, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x63, 0x6f, 0x76, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x43, 0x6f, 0x76, + 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x05, 0x62, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x18, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6f, 0x2e, 0x42, 0x61, 0x6e, 0x64, 0x52, 0x05, 0x62, 0x61, 0x6e, + 0x64, 0x73, 0x22, 0x92, 0x03, 0x0a, 0x05, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x68, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x72, 0x65, 0x66, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x08, 0x65, 0x6f, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6f, 0x2e, 0x42, 0x61, 0x6e, 0x64, + 0x52, 0x07, 0x65, 0x6f, 0x42, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x65, + 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x0d, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x25, 0x0a, 0x0e, 0x62, + 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x63, 0x6b, 0x65, + 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, + 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, + 0x1f, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x61, + 0x79, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x73, 0x22, 0x6f, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x65, 0x74, + 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x78, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x63, + 0x44, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, + 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x03, 0x53, 0x61, 0x72, 0x12, 0x39, 0x0a, 0x08, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x65, + 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x61, 0x72, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x3e, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x4c, 0x41, + 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x56, 0x49, 0x53, + 0x41, 0x54, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, 0x4e, 0x54, 0x49, 0x4e, 0x45, 0x4c, + 0x5f, 0x31, 0x41, 0x10, 0x02, 0x22, 0x24, 0x0a, 0x0a, 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, + 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x49, + 0x4e, 0x53, 0x54, 0x52, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x22, 0xbf, 0x04, 0x0a, 0x07, + 0x4c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, + 0x64, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x65, 0x70, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, + 0x6e, 0x64, 0x73, 0x61, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, + 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x72, 0x73, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x72, 0x73, 0x50, 0x61, 0x74, + 0x68, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x06, 0x77, 0x72, 0x73, 0x52, 0x6f, 0x77, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x6e, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x4c, 0x61, 0x6e, + 0x64, 0x12, 0x3b, 0x0a, 0x08, 0x77, 0x72, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x2e, 0x57, 0x52, + 0x53, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x77, 0x72, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x5d, + 0x0a, 0x12, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x1b, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, + 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, + 0x4f, 0x52, 0x59, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x41, 0x31, 0x10, 0x01, 0x12, 0x06, 0x0a, + 0x02, 0x41, 0x32, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x54, 0x31, 0x10, 0x03, 0x12, 0x06, 0x0a, + 0x02, 0x54, 0x32, 0x10, 0x04, 0x12, 0x06, 0x0a, 0x02, 0x52, 0x54, 0x10, 0x05, 0x22, 0x2d, 0x0a, + 0x07, 0x57, 0x52, 0x53, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4b, 0x4e, 0x4f, + 0x57, 0x4e, 0x5f, 0x57, 0x52, 0x53, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x52, 0x53, 0x31, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x52, 0x53, 0x32, 0x10, 0x02, 0x22, 0x5f, 0x0a, 0x0f, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x1c, 0x0a, 0x18, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, + 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x00, 0x12, 0x07, 0x0a, + 0x03, 0x4c, 0x31, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x31, 0x54, 0x50, 0x10, 0x02, + 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x31, 0x54, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x31, 0x47, + 0x54, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x31, 0x47, 0x53, 0x10, 0x05, 0x22, 0x9b, 0x02, + 0x0a, 0x0e, 0x4c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x64, 0x73, 0x61, 0x74, 0x2e, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0f, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x19, 0x0a, 0x08, 0x77, 0x72, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x77, 0x72, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x72, + 0x73, 0x5f, 0x72, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x72, 0x73, + 0x52, 0x6f, 0x77, 0x12, 0x46, 0x0a, 0x10, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x63, 0x6f, 0x76, + 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, + 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x4c, 0x61, 0x6e, 0x64, 0x22, 0xc1, 0x01, 0x0a, 0x06, + 0x4d, 0x6f, 0x73, 0x61, 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, + 0x61, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75, + 0x61, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x7a, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x7a, 0x6f, 0x6f, 0x6d, 0x73, 0x12, 0x4b, 0x0a, 0x11, 0x6f, + 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, + 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x76, + 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x22, + 0x3e, 0x0a, 0x0d, 0x4d, 0x6f, 0x73, 0x61, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x64, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75, 0x61, 0x64, 0x4b, 0x65, 0x79, 0x2a, + 0xea, 0x01, 0x0a, 0x09, 0x41, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, + 0x0d, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x54, 0x10, 0x00, + 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x50, 0x45, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x47, 0x45, + 0x4f, 0x54, 0x49, 0x46, 0x46, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x45, 0x52, 0x43, 0x10, + 0x03, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x52, 0x46, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x52, + 0x46, 0x5f, 0x49, 0x44, 0x58, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x52, 0x46, 0x5f, 0x58, + 0x4d, 0x4c, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x5f, 0x47, 0x45, 0x4f, 0x54, 0x49, + 0x46, 0x46, 0x10, 0x07, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x41, 0x57, 0x10, 0x08, 0x12, 0x0d, 0x0a, + 0x09, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x4e, 0x41, 0x49, 0x4c, 0x10, 0x09, 0x12, 0x08, 0x0a, 0x04, + 0x54, 0x49, 0x46, 0x46, 0x10, 0x0a, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x50, 0x45, 0x47, 0x5f, 0x32, + 0x30, 0x30, 0x30, 0x10, 0x0b, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x4d, 0x4c, 0x10, 0x0c, 0x12, 0x07, + 0x0a, 0x03, 0x54, 0x58, 0x54, 0x10, 0x0d, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4e, 0x47, 0x10, 0x0e, + 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x56, 0x45, 0x52, 0x56, 0x49, 0x45, 0x57, 0x10, 0x0f, 0x12, 0x08, + 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x10, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x4d, 0x4c, + 0x10, 0x11, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x45, 0x42, 0x50, 0x10, 0x12, 0x2a, 0x51, 0x0a, 0x0d, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1a, 0x0a, + 0x16, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x50, + 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x57, 0x53, + 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x43, 0x50, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x41, + 0x5a, 0x55, 0x52, 0x45, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x49, 0x42, 0x4d, 0x10, 0x04, 0x2a, + 0xc7, 0x01, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x14, 0x0a, 0x10, + 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, + 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x31, 0x10, + 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x32, 0x10, 0x04, + 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x33, 0x10, 0x08, 0x12, + 0x0f, 0x0a, 0x0b, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x31, 0x32, 0x33, 0x10, 0x0e, + 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x34, 0x10, 0x10, 0x12, + 0x0d, 0x0a, 0x09, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x35, 0x10, 0x20, 0x12, 0x0e, + 0x0a, 0x0a, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x34, 0x35, 0x10, 0x30, 0x12, 0x0d, + 0x0a, 0x09, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x37, 0x10, 0x40, 0x12, 0x0e, 0x0a, + 0x09, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x5f, 0x38, 0x10, 0x80, 0x01, 0x12, 0x0c, 0x0a, + 0x07, 0x53, 0x57, 0x49, 0x46, 0x54, 0x5f, 0x32, 0x10, 0x80, 0x02, 0x12, 0x0c, 0x0a, 0x07, 0x53, + 0x57, 0x49, 0x46, 0x54, 0x5f, 0x33, 0x10, 0x80, 0x04, 0x2a, 0x76, 0x0a, 0x0a, 0x49, 0x6e, 0x73, + 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, + 0x57, 0x4e, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x52, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x12, + 0x07, 0x0a, 0x03, 0x4f, 0x4c, 0x49, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x52, 0x53, + 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x4c, 0x49, 0x5f, 0x54, 0x49, 0x52, 0x53, 0x10, 0x06, + 0x12, 0x09, 0x0a, 0x05, 0x50, 0x4f, 0x4d, 0x5f, 0x31, 0x10, 0x08, 0x12, 0x06, 0x0a, 0x02, 0x54, + 0x4d, 0x10, 0x10, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x54, 0x4d, 0x10, 0x20, 0x12, 0x07, 0x0a, 0x03, + 0x4d, 0x53, 0x53, 0x10, 0x40, 0x12, 0x0a, 0x0a, 0x05, 0x50, 0x4f, 0x4d, 0x5f, 0x32, 0x10, 0x80, + 0x01, 0x2a, 0x2a, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x4f, + 0x4e, 0x53, 0x54, 0x45, 0x4c, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x2a, 0x4a, 0x0a, + 0x07, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, + 0x07, 0x4c, 0x41, 0x4e, 0x44, 0x53, 0x41, 0x54, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x41, + 0x49, 0x50, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4e, 0x4f, 0x41, 0x10, 0x08, 0x12, 0x09, + 0x0a, 0x05, 0x53, 0x57, 0x49, 0x46, 0x54, 0x10, 0x10, 0x42, 0x6f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, + 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, + 0x42, 0x09, 0x53, 0x74, 0x61, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x65, 0x6f, 0x2d, 0x67, 0x72, + 0x70, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x65, 0x70, + 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x04, + 0x53, 0x54, 0x50, 0x42, 0xaa, 0x02, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_epl_protobuf_v1_stac_proto_rawDescOnce sync.Once + file_epl_protobuf_v1_stac_proto_rawDescData = file_epl_protobuf_v1_stac_proto_rawDesc +) + +func file_epl_protobuf_v1_stac_proto_rawDescGZIP() []byte { + file_epl_protobuf_v1_stac_proto_rawDescOnce.Do(func() { + file_epl_protobuf_v1_stac_proto_rawDescData = protoimpl.X.CompressGZIP(file_epl_protobuf_v1_stac_proto_rawDescData) + }) + return file_epl_protobuf_v1_stac_proto_rawDescData +} + +var file_epl_protobuf_v1_stac_proto_enumTypes = make([]protoimpl.EnumInfo, 13) +var file_epl_protobuf_v1_stac_proto_msgTypes = make([]protoimpl.MessageInfo, 24) +var file_epl_protobuf_v1_stac_proto_goTypes = []interface{}{ + (AssetType)(0), // 0: epl.protobuf.v1.AssetType + (CloudPlatform)(0), // 1: epl.protobuf.v1.CloudPlatform + (Platform)(0), // 2: epl.protobuf.v1.Platform + (Instrument)(0), // 3: epl.protobuf.v1.Instrument + (Constellation)(0), // 4: epl.protobuf.v1.Constellation + (Mission)(0), // 5: epl.protobuf.v1.Mission + (Sat_OrbitState)(0), // 6: epl.protobuf.v1.Sat.OrbitState + (Eo_Band)(0), // 7: epl.protobuf.v1.Eo.Band + (Sar_Platform)(0), // 8: epl.protobuf.v1.Sar.Platform + (Sar_Instrument)(0), // 9: epl.protobuf.v1.Sar.Instrument + (Landsat_CollectionCategory)(0), // 10: epl.protobuf.v1.Landsat.CollectionCategory + (Landsat_WRSType)(0), // 11: epl.protobuf.v1.Landsat.WRSType + (Landsat_ProcessingLevel)(0), // 12: epl.protobuf.v1.Landsat.ProcessingLevel + (*Collection)(nil), // 13: epl.protobuf.v1.Collection + (*CollectionRequest)(nil), // 14: epl.protobuf.v1.CollectionRequest + (*Stats)(nil), // 15: epl.protobuf.v1.Stats + (*Extent)(nil), // 16: epl.protobuf.v1.Extent + (*Interval)(nil), // 17: epl.protobuf.v1.Interval + (*Provider)(nil), // 18: epl.protobuf.v1.Provider + (*StacItem)(nil), // 19: epl.protobuf.v1.StacItem + (*StacRequest)(nil), // 20: epl.protobuf.v1.StacRequest + (*View)(nil), // 21: epl.protobuf.v1.View + (*ViewRequest)(nil), // 22: epl.protobuf.v1.ViewRequest + (*Sat)(nil), // 23: epl.protobuf.v1.Sat + (*SatRequest)(nil), // 24: epl.protobuf.v1.SatRequest + (*Eo)(nil), // 25: epl.protobuf.v1.Eo + (*EoRequest)(nil), // 26: epl.protobuf.v1.EoRequest + (*Asset)(nil), // 27: epl.protobuf.v1.Asset + (*DatetimeRange)(nil), // 28: epl.protobuf.v1.DatetimeRange + (*StacDbResponse)(nil), // 29: epl.protobuf.v1.StacDbResponse + (*Sar)(nil), // 30: epl.protobuf.v1.Sar + (*Landsat)(nil), // 31: epl.protobuf.v1.Landsat + (*LandsatRequest)(nil), // 32: epl.protobuf.v1.LandsatRequest + (*Mosaic)(nil), // 33: epl.protobuf.v1.Mosaic + (*MosaicRequest)(nil), // 34: epl.protobuf.v1.MosaicRequest + nil, // 35: epl.protobuf.v1.Collection.SummariesEntry + nil, // 36: epl.protobuf.v1.StacItem.AssetsEntry + (*EnvelopeData)(nil), // 37: epl.protobuf.v1.EnvelopeData + (*GeometryData)(nil), // 38: epl.protobuf.v1.GeometryData + (*timestamppb.Timestamp)(nil), // 39: google.protobuf.Timestamp + (*anypb.Any)(nil), // 40: google.protobuf.Any + (*ProjectionData)(nil), // 41: epl.protobuf.v1.ProjectionData + (*wrapperspb.FloatValue)(nil), // 42: google.protobuf.FloatValue + (*StringFilter)(nil), // 43: epl.protobuf.v1.StringFilter + (*GeometryRequest)(nil), // 44: epl.protobuf.v1.GeometryRequest + (*TimestampFilter)(nil), // 45: epl.protobuf.v1.TimestampFilter + (*FloatFilter)(nil), // 46: epl.protobuf.v1.FloatFilter + (*wrapperspb.UInt32Value)(nil), // 47: google.protobuf.UInt32Value +} +var file_epl_protobuf_v1_stac_proto_depIdxs = []int32{ + 18, // 0: epl.protobuf.v1.Collection.providers:type_name -> epl.protobuf.v1.Provider + 16, // 1: epl.protobuf.v1.Collection.extent:type_name -> epl.protobuf.v1.Extent + 35, // 2: epl.protobuf.v1.Collection.summaries:type_name -> epl.protobuf.v1.Collection.SummariesEntry + 37, // 3: epl.protobuf.v1.CollectionRequest.bbox:type_name -> epl.protobuf.v1.EnvelopeData + 38, // 4: epl.protobuf.v1.CollectionRequest.intersects:type_name -> epl.protobuf.v1.GeometryData + 37, // 5: epl.protobuf.v1.Extent.spatial:type_name -> epl.protobuf.v1.EnvelopeData + 17, // 6: epl.protobuf.v1.Extent.temporal:type_name -> epl.protobuf.v1.Interval + 39, // 7: epl.protobuf.v1.Interval.start:type_name -> google.protobuf.Timestamp + 39, // 8: epl.protobuf.v1.Interval.end:type_name -> google.protobuf.Timestamp + 40, // 9: epl.protobuf.v1.StacItem.properties:type_name -> google.protobuf.Any + 36, // 10: epl.protobuf.v1.StacItem.assets:type_name -> epl.protobuf.v1.StacItem.AssetsEntry + 38, // 11: epl.protobuf.v1.StacItem.geometry:type_name -> epl.protobuf.v1.GeometryData + 37, // 12: epl.protobuf.v1.StacItem.bbox:type_name -> epl.protobuf.v1.EnvelopeData + 39, // 13: epl.protobuf.v1.StacItem.datetime:type_name -> google.protobuf.Timestamp + 39, // 14: epl.protobuf.v1.StacItem.start_datetime:type_name -> google.protobuf.Timestamp + 39, // 15: epl.protobuf.v1.StacItem.observed:type_name -> google.protobuf.Timestamp + 39, // 16: epl.protobuf.v1.StacItem.start_observation:type_name -> google.protobuf.Timestamp + 39, // 17: epl.protobuf.v1.StacItem.end_datetime:type_name -> google.protobuf.Timestamp + 39, // 18: epl.protobuf.v1.StacItem.end_observation:type_name -> google.protobuf.Timestamp + 39, // 19: epl.protobuf.v1.StacItem.created:type_name -> google.protobuf.Timestamp + 39, // 20: epl.protobuf.v1.StacItem.updated:type_name -> google.protobuf.Timestamp + 41, // 21: epl.protobuf.v1.StacItem.proj:type_name -> epl.protobuf.v1.ProjectionData + 2, // 22: epl.protobuf.v1.StacItem.platform_enum:type_name -> epl.protobuf.v1.Platform + 3, // 23: epl.protobuf.v1.StacItem.instrument_enum:type_name -> epl.protobuf.v1.Instrument + 4, // 24: epl.protobuf.v1.StacItem.constellation_enum:type_name -> epl.protobuf.v1.Constellation + 5, // 25: epl.protobuf.v1.StacItem.mission_enum:type_name -> epl.protobuf.v1.Mission + 42, // 26: epl.protobuf.v1.StacItem.gsd:type_name -> google.protobuf.FloatValue + 25, // 27: epl.protobuf.v1.StacItem.eo:type_name -> epl.protobuf.v1.Eo + 21, // 28: epl.protobuf.v1.StacItem.view:type_name -> epl.protobuf.v1.View + 31, // 29: epl.protobuf.v1.StacItem.landsat:type_name -> epl.protobuf.v1.Landsat + 33, // 30: epl.protobuf.v1.StacItem.mosaic:type_name -> epl.protobuf.v1.Mosaic + 43, // 31: epl.protobuf.v1.StacRequest.id_complex:type_name -> epl.protobuf.v1.StringFilter + 40, // 32: epl.protobuf.v1.StacRequest.properties:type_name -> google.protobuf.Any + 38, // 33: epl.protobuf.v1.StacRequest.intersects:type_name -> epl.protobuf.v1.GeometryData + 37, // 34: epl.protobuf.v1.StacRequest.bbox:type_name -> epl.protobuf.v1.EnvelopeData + 44, // 35: epl.protobuf.v1.StacRequest.geometry_request:type_name -> epl.protobuf.v1.GeometryRequest + 45, // 36: epl.protobuf.v1.StacRequest.datetime:type_name -> epl.protobuf.v1.TimestampFilter + 45, // 37: epl.protobuf.v1.StacRequest.observed:type_name -> epl.protobuf.v1.TimestampFilter + 45, // 38: epl.protobuf.v1.StacRequest.created:type_name -> epl.protobuf.v1.TimestampFilter + 45, // 39: epl.protobuf.v1.StacRequest.updated:type_name -> epl.protobuf.v1.TimestampFilter + 41, // 40: epl.protobuf.v1.StacRequest.proj:type_name -> epl.protobuf.v1.ProjectionData + 2, // 41: epl.protobuf.v1.StacRequest.platform_enum:type_name -> epl.protobuf.v1.Platform + 3, // 42: epl.protobuf.v1.StacRequest.instrument_enum:type_name -> epl.protobuf.v1.Instrument + 4, // 43: epl.protobuf.v1.StacRequest.constellation_enum:type_name -> epl.protobuf.v1.Constellation + 5, // 44: epl.protobuf.v1.StacRequest.mission_enum:type_name -> epl.protobuf.v1.Mission + 46, // 45: epl.protobuf.v1.StacRequest.gsd:type_name -> epl.protobuf.v1.FloatFilter + 26, // 46: epl.protobuf.v1.StacRequest.eo:type_name -> epl.protobuf.v1.EoRequest + 22, // 47: epl.protobuf.v1.StacRequest.view:type_name -> epl.protobuf.v1.ViewRequest + 32, // 48: epl.protobuf.v1.StacRequest.landsat:type_name -> epl.protobuf.v1.LandsatRequest + 34, // 49: epl.protobuf.v1.StacRequest.mosaic:type_name -> epl.protobuf.v1.MosaicRequest + 42, // 50: epl.protobuf.v1.View.off_nadir:type_name -> google.protobuf.FloatValue + 42, // 51: epl.protobuf.v1.View.incidence_angle:type_name -> google.protobuf.FloatValue + 42, // 52: epl.protobuf.v1.View.azimuth:type_name -> google.protobuf.FloatValue + 42, // 53: epl.protobuf.v1.View.sun_azimuth:type_name -> google.protobuf.FloatValue + 42, // 54: epl.protobuf.v1.View.sun_elevation:type_name -> google.protobuf.FloatValue + 46, // 55: epl.protobuf.v1.ViewRequest.off_nadir:type_name -> epl.protobuf.v1.FloatFilter + 46, // 56: epl.protobuf.v1.ViewRequest.incidence_angle:type_name -> epl.protobuf.v1.FloatFilter + 46, // 57: epl.protobuf.v1.ViewRequest.azimuth:type_name -> epl.protobuf.v1.FloatFilter + 46, // 58: epl.protobuf.v1.ViewRequest.sun_azimuth:type_name -> epl.protobuf.v1.FloatFilter + 46, // 59: epl.protobuf.v1.ViewRequest.sun_elevation:type_name -> epl.protobuf.v1.FloatFilter + 47, // 60: epl.protobuf.v1.Sat.relative_orbit:type_name -> google.protobuf.UInt32Value + 6, // 61: epl.protobuf.v1.Sat.orbit_state:type_name -> epl.protobuf.v1.Sat.OrbitState + 6, // 62: epl.protobuf.v1.SatRequest.orbit_state:type_name -> epl.protobuf.v1.Sat.OrbitState + 42, // 63: epl.protobuf.v1.Eo.cloud_cover:type_name -> google.protobuf.FloatValue + 7, // 64: epl.protobuf.v1.Eo.bands:type_name -> epl.protobuf.v1.Eo.Band + 46, // 65: epl.protobuf.v1.EoRequest.cloud_cover:type_name -> epl.protobuf.v1.FloatFilter + 7, // 66: epl.protobuf.v1.EoRequest.bands:type_name -> epl.protobuf.v1.Eo.Band + 7, // 67: epl.protobuf.v1.Asset.eo_bands:type_name -> epl.protobuf.v1.Eo.Band + 0, // 68: epl.protobuf.v1.Asset.asset_type:type_name -> epl.protobuf.v1.AssetType + 1, // 69: epl.protobuf.v1.Asset.cloud_platform:type_name -> epl.protobuf.v1.CloudPlatform + 39, // 70: epl.protobuf.v1.DatetimeRange.start:type_name -> google.protobuf.Timestamp + 39, // 71: epl.protobuf.v1.DatetimeRange.end:type_name -> google.protobuf.Timestamp + 8, // 72: epl.protobuf.v1.Sar.platform:type_name -> epl.protobuf.v1.Sar.Platform + 12, // 73: epl.protobuf.v1.Landsat.processing_level:type_name -> epl.protobuf.v1.Landsat.ProcessingLevel + 42, // 74: epl.protobuf.v1.Landsat.cloud_cover_land:type_name -> google.protobuf.FloatValue + 11, // 75: epl.protobuf.v1.Landsat.wrs_type:type_name -> epl.protobuf.v1.Landsat.WRSType + 12, // 76: epl.protobuf.v1.LandsatRequest.processing_level:type_name -> epl.protobuf.v1.Landsat.ProcessingLevel + 46, // 77: epl.protobuf.v1.LandsatRequest.cloud_cover_land:type_name -> epl.protobuf.v1.FloatFilter + 28, // 78: epl.protobuf.v1.Mosaic.observation_range:type_name -> epl.protobuf.v1.DatetimeRange + 15, // 79: epl.protobuf.v1.Collection.SummariesEntry.value:type_name -> epl.protobuf.v1.Stats + 27, // 80: epl.protobuf.v1.StacItem.AssetsEntry.value:type_name -> epl.protobuf.v1.Asset + 81, // [81:81] is the sub-list for method output_type + 81, // [81:81] is the sub-list for method input_type + 81, // [81:81] is the sub-list for extension type_name + 81, // [81:81] is the sub-list for extension extendee + 0, // [0:81] is the sub-list for field type_name +} + +func init() { file_epl_protobuf_v1_stac_proto_init() } +func file_epl_protobuf_v1_stac_proto_init() { + if File_epl_protobuf_v1_stac_proto != nil { + return + } + file_epl_protobuf_v1_geometry_proto_init() + file_epl_protobuf_v1_query_proto_init() + if !protoimpl.UnsafeEnabled { + file_epl_protobuf_v1_stac_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Collection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollectionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Stats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Extent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Interval); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Provider); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StacItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StacRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*View); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ViewRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Sat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SatRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Asset); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatetimeRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StacDbResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Sar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Landsat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LandsatRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Mosaic); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MosaicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_epl_protobuf_v1_stac_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*CollectionRequest_Bbox)(nil), + (*CollectionRequest_Intersects)(nil), + } + file_epl_protobuf_v1_stac_proto_msgTypes[6].OneofWrappers = []interface{}{ + (*StacItem_Datetime)(nil), + (*StacItem_StartDatetime)(nil), + (*StacItem_Observed)(nil), + (*StacItem_StartObservation)(nil), + } + file_epl_protobuf_v1_stac_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*StacRequest_Id)(nil), + (*StacRequest_IdComplex)(nil), + (*StacRequest_Intersects)(nil), + (*StacRequest_Bbox)(nil), + (*StacRequest_GeometryRequest)(nil), + (*StacRequest_Datetime)(nil), + (*StacRequest_Observed)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_epl_protobuf_v1_stac_proto_rawDesc, + NumEnums: 13, + NumMessages: 24, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_epl_protobuf_v1_stac_proto_goTypes, + DependencyIndexes: file_epl_protobuf_v1_stac_proto_depIdxs, + EnumInfos: file_epl_protobuf_v1_stac_proto_enumTypes, + MessageInfos: file_epl_protobuf_v1_stac_proto_msgTypes, + }.Build() + File_epl_protobuf_v1_stac_proto = out.File + file_epl_protobuf_v1_stac_proto_rawDesc = nil + file_epl_protobuf_v1_stac_proto_goTypes = nil + file_epl_protobuf_v1_stac_proto_depIdxs = nil } diff --git a/golang/epl/protobuf/v1/stac_service.pb.go b/golang/epl/protobuf/v1/stac_service.pb.go index 3d49172..7ddd593 100644 --- a/golang/epl/protobuf/v1/stac_service.pb.go +++ b/golang/epl/protobuf/v1/stac_service.pb.go @@ -1,56 +1,175 @@ +// +//Copyright 2017-2019 Echo Park Labs +// +//Licensed 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. +// +//For additional information, contact: +// +//email: info@echoparklabs.io + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0-devel +// protoc v3.15.2 // source: epl/protobuf/v1/stac_service.proto package v1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("epl/protobuf/v1/stac_service.proto", fileDescriptor_6ea11455bb79ed0e) -} - -var fileDescriptor_6ea11455bb79ed0e = []byte{ - // 327 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0x41, 0x4b, 0xfb, 0x30, - 0x18, 0xc6, 0xb7, 0xfd, 0x61, 0x87, 0x8c, 0xf1, 0xd7, 0xec, 0x64, 0x15, 0x84, 0x9e, 0xbc, 0x98, - 0x38, 0xfd, 0x06, 0xdb, 0x2e, 0x1b, 0x8c, 0x8d, 0xd5, 0x81, 0x78, 0x91, 0x34, 0xbe, 0x76, 0x85, - 0x2c, 0x89, 0x4d, 0xda, 0x0f, 0xe4, 0xd1, 0xb3, 0x1f, 0x50, 0xda, 0x50, 0x27, 0xb5, 0xce, 0xa1, - 0x3d, 0xb6, 0xcf, 0xf3, 0xfe, 0x78, 0x78, 0x9f, 0xbc, 0xc8, 0x07, 0x2d, 0xa8, 0x4e, 0x94, 0x55, - 0x61, 0xfa, 0x44, 0xb3, 0x21, 0x35, 0x96, 0xf1, 0x07, 0x03, 0x49, 0x16, 0x73, 0x20, 0x85, 0x80, - 0xff, 0x83, 0x16, 0xa4, 0xf4, 0x90, 0x6c, 0xe8, 0x79, 0x75, 0x43, 0xce, 0x71, 0xfd, 0xd6, 0x45, - 0xbd, 0xc0, 0x32, 0x1e, 0x38, 0x04, 0x9e, 0xa1, 0x5e, 0x00, 0x2c, 0xe1, 0x9b, 0xa9, 0x85, 0xad, - 0xc1, 0x67, 0xa4, 0x02, 0x23, 0xb9, 0x79, 0x05, 0xcf, 0x29, 0x18, 0xeb, 0x9d, 0xd4, 0xaa, 0xf9, - 0xa4, 0xdf, 0xba, 0x6a, 0xe3, 0x3b, 0x74, 0xec, 0x58, 0x63, 0x25, 0x04, 0x70, 0x1b, 0x2b, 0x69, - 0xb0, 0xff, 0x65, 0x66, 0xa7, 0x96, 0xdc, 0xd3, 0x3d, 0x9e, 0x82, 0xbc, 0x40, 0xbd, 0xa9, 0x34, - 0x90, 0x58, 0x97, 0xf2, 0xfb, 0x1c, 0xde, 0x79, 0xad, 0x34, 0x09, 0x57, 0x60, 0xb4, 0x92, 0x06, - 0xfc, 0xd6, 0x45, 0xdb, 0x01, 0xd7, 0xfa, 0x91, 0x59, 0x68, 0x0a, 0x38, 0x47, 0x68, 0xac, 0x52, - 0x69, 0x0f, 0x59, 0xe3, 0xcf, 0x48, 0x3c, 0x47, 0xfd, 0x09, 0x08, 0xb0, 0xb0, 0x90, 0x45, 0xc4, - 0xbf, 0x25, 0xc4, 0x33, 0xd4, 0x77, 0xcd, 0x94, 0xb8, 0xdf, 0xf7, 0x9c, 0x47, 0x73, 0x5d, 0x34, - 0x13, 0x6d, 0x8d, 0x06, 0x1f, 0xb8, 0x5d, 0xeb, 0x78, 0xdf, 0x93, 0x38, 0x70, 0x81, 0xae, 0xe0, - 0x46, 0x52, 0x8e, 0x52, 0x34, 0xe0, 0x6a, 0x5b, 0xf5, 0x8d, 0x8e, 0x3e, 0x9d, 0xd2, 0x32, 0xff, - 0xbf, 0x6c, 0xdf, 0x93, 0x28, 0xb6, 0x9b, 0x34, 0x24, 0x5c, 0x6d, 0x69, 0x04, 0xea, 0x32, 0x4a, - 0x34, 0xa7, 0x4c, 0xc7, 0x34, 0x52, 0x82, 0xc9, 0x88, 0x56, 0x8e, 0xf3, 0xa5, 0xf3, 0x2f, 0xb8, - 0x0d, 0x5e, 0x3b, 0x75, 0xfc, 0xb0, 0x5b, 0x7c, 0xdc, 0xbc, 0x07, 0x00, 0x00, 0xff, 0xff, 0x42, - 0x02, 0xf2, 0xa1, 0x07, 0x04, 0x00, 0x00, +var File_epl_protobuf_v1_stac_service_proto protoreflect.FileDescriptor + +var file_epl_protobuf_v1_stac_service_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x65, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x74, 0x61, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x1a, 0x65, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x32, 0xb4, 0x06, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x74, 0x65, 0x6d, 0x73, + 0x12, 0x1c, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, + 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x63, 0x49, 0x74, 0x65, 0x6d, 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, + 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x22, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4f, 0x0a, 0x0b, 0x49, 0x6e, 0x73, 0x65, 0x72, + 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x49, 0x74, 0x65, + 0x6d, 0x1a, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x44, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4f, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x49, 0x74, + 0x65, 0x6d, 0x1a, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x44, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4d, 0x0a, 0x0a, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1c, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x44, 0x62, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, + 0x49, 0x74, 0x65, 0x6d, 0x1a, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x44, 0x62, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x4f, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x49, 0x74, 0x65, + 0x6d, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x4f, 0x6e, 0x65, + 0x49, 0x74, 0x65, 0x6d, 0x12, 0x19, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x49, 0x74, 0x65, 0x6d, 0x1a, + 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x44, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x55, 0x0a, 0x13, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x4f, 0x6e, 0x65, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x2e, 0x65, 0x70, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x44, 0x62, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0d, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x19, 0x2e, 0x65, 0x70, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x63, 0x49, 0x74, 0x65, 0x6d, 0x1a, 0x1f, 0x2e, 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x44, 0x62, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x75, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x42, + 0x10, 0x53, 0x74, 0x61, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x67, 0x65, 0x6f, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x6c, + 0x61, 0x6e, 0x67, 0x2f, 0x65, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x54, 0x53, 0xaa, 0x02, 0x13, 0x63, 0x6f, 0x6d, 0x2e, + 0x65, 0x70, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_epl_protobuf_v1_stac_service_proto_goTypes = []interface{}{ + (*StacRequest)(nil), // 0: epl.protobuf.v1.StacRequest + (*CollectionRequest)(nil), // 1: epl.protobuf.v1.CollectionRequest + (*StacItem)(nil), // 2: epl.protobuf.v1.StacItem + (*Collection)(nil), // 3: epl.protobuf.v1.Collection + (*StacDbResponse)(nil), // 4: epl.protobuf.v1.StacDbResponse +} +var file_epl_protobuf_v1_stac_service_proto_depIdxs = []int32{ + 0, // 0: epl.protobuf.v1.StacService.SearchItems:input_type -> epl.protobuf.v1.StacRequest + 1, // 1: epl.protobuf.v1.StacService.SearchCollections:input_type -> epl.protobuf.v1.CollectionRequest + 2, // 2: epl.protobuf.v1.StacService.InsertItems:input_type -> epl.protobuf.v1.StacItem + 2, // 3: epl.protobuf.v1.StacService.UpdateItems:input_type -> epl.protobuf.v1.StacItem + 0, // 4: epl.protobuf.v1.StacService.CountItems:input_type -> epl.protobuf.v1.StacRequest + 2, // 5: epl.protobuf.v1.StacService.DeleteOneItem:input_type -> epl.protobuf.v1.StacItem + 0, // 6: epl.protobuf.v1.StacService.SearchOneItem:input_type -> epl.protobuf.v1.StacRequest + 2, // 7: epl.protobuf.v1.StacService.InsertOneItem:input_type -> epl.protobuf.v1.StacItem + 3, // 8: epl.protobuf.v1.StacService.InsertOneCollection:input_type -> epl.protobuf.v1.Collection + 2, // 9: epl.protobuf.v1.StacService.UpdateOneItem:input_type -> epl.protobuf.v1.StacItem + 2, // 10: epl.protobuf.v1.StacService.SearchItems:output_type -> epl.protobuf.v1.StacItem + 3, // 11: epl.protobuf.v1.StacService.SearchCollections:output_type -> epl.protobuf.v1.Collection + 4, // 12: epl.protobuf.v1.StacService.InsertItems:output_type -> epl.protobuf.v1.StacDbResponse + 4, // 13: epl.protobuf.v1.StacService.UpdateItems:output_type -> epl.protobuf.v1.StacDbResponse + 4, // 14: epl.protobuf.v1.StacService.CountItems:output_type -> epl.protobuf.v1.StacDbResponse + 4, // 15: epl.protobuf.v1.StacService.DeleteOneItem:output_type -> epl.protobuf.v1.StacDbResponse + 2, // 16: epl.protobuf.v1.StacService.SearchOneItem:output_type -> epl.protobuf.v1.StacItem + 4, // 17: epl.protobuf.v1.StacService.InsertOneItem:output_type -> epl.protobuf.v1.StacDbResponse + 4, // 18: epl.protobuf.v1.StacService.InsertOneCollection:output_type -> epl.protobuf.v1.StacDbResponse + 4, // 19: epl.protobuf.v1.StacService.UpdateOneItem:output_type -> epl.protobuf.v1.StacDbResponse + 10, // [10:20] is the sub-list for method output_type + 0, // [0:10] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_epl_protobuf_v1_stac_service_proto_init() } +func file_epl_protobuf_v1_stac_service_proto_init() { + if File_epl_protobuf_v1_stac_service_proto != nil { + return + } + file_epl_protobuf_v1_stac_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_epl_protobuf_v1_stac_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_epl_protobuf_v1_stac_service_proto_goTypes, + DependencyIndexes: file_epl_protobuf_v1_stac_service_proto_depIdxs, + }.Build() + File_epl_protobuf_v1_stac_service_proto = out.File + file_epl_protobuf_v1_stac_service_proto_rawDesc = nil + file_epl_protobuf_v1_stac_service_proto_goTypes = nil + file_epl_protobuf_v1_stac_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -319,34 +438,34 @@ type StacServiceServer interface { type UnimplementedStacServiceServer struct { } -func (*UnimplementedStacServiceServer) SearchItems(req *StacRequest, srv StacService_SearchItemsServer) error { +func (*UnimplementedStacServiceServer) SearchItems(*StacRequest, StacService_SearchItemsServer) error { return status.Errorf(codes.Unimplemented, "method SearchItems not implemented") } -func (*UnimplementedStacServiceServer) SearchCollections(req *CollectionRequest, srv StacService_SearchCollectionsServer) error { +func (*UnimplementedStacServiceServer) SearchCollections(*CollectionRequest, StacService_SearchCollectionsServer) error { return status.Errorf(codes.Unimplemented, "method SearchCollections not implemented") } -func (*UnimplementedStacServiceServer) InsertItems(srv StacService_InsertItemsServer) error { +func (*UnimplementedStacServiceServer) InsertItems(StacService_InsertItemsServer) error { return status.Errorf(codes.Unimplemented, "method InsertItems not implemented") } -func (*UnimplementedStacServiceServer) UpdateItems(srv StacService_UpdateItemsServer) error { +func (*UnimplementedStacServiceServer) UpdateItems(StacService_UpdateItemsServer) error { return status.Errorf(codes.Unimplemented, "method UpdateItems not implemented") } -func (*UnimplementedStacServiceServer) CountItems(ctx context.Context, req *StacRequest) (*StacDbResponse, error) { +func (*UnimplementedStacServiceServer) CountItems(context.Context, *StacRequest) (*StacDbResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountItems not implemented") } -func (*UnimplementedStacServiceServer) DeleteOneItem(ctx context.Context, req *StacItem) (*StacDbResponse, error) { +func (*UnimplementedStacServiceServer) DeleteOneItem(context.Context, *StacItem) (*StacDbResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteOneItem not implemented") } -func (*UnimplementedStacServiceServer) SearchOneItem(ctx context.Context, req *StacRequest) (*StacItem, error) { +func (*UnimplementedStacServiceServer) SearchOneItem(context.Context, *StacRequest) (*StacItem, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchOneItem not implemented") } -func (*UnimplementedStacServiceServer) InsertOneItem(ctx context.Context, req *StacItem) (*StacDbResponse, error) { +func (*UnimplementedStacServiceServer) InsertOneItem(context.Context, *StacItem) (*StacDbResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InsertOneItem not implemented") } -func (*UnimplementedStacServiceServer) InsertOneCollection(ctx context.Context, req *Collection) (*StacDbResponse, error) { +func (*UnimplementedStacServiceServer) InsertOneCollection(context.Context, *Collection) (*StacDbResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InsertOneCollection not implemented") } -func (*UnimplementedStacServiceServer) UpdateOneItem(ctx context.Context, req *StacItem) (*StacDbResponse, error) { +func (*UnimplementedStacServiceServer) UpdateOneItem(context.Context, *StacItem) (*StacDbResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateOneItem not implemented") } diff --git a/proto/generate.sh b/proto/generate.sh index 7dfb0a1..c369ba8 100755 --- a/proto/generate.sh +++ b/proto/generate.sh @@ -1,17 +1,111 @@ #!/usr/bin/env bash -### protoc.sh -docker run --rm -it -v "${GOPATH}":/defs --entrypoint /bin/sh namely/protoc:1.28_2 -c "/defs/src/github.com/geo-grpc/api/proto/protoc.sh" -### protoc.sh - -# copy geometry over to java -cp -r "$(pwd)"/epl/protobuf/v1/geometry*.proto "$(pwd)"/../java/geometry-chain/epl-geometry-service/src/main/proto/epl/protobuf/v1 -# copy geometry over to java - -docker run --rm -v "$(pwd)/.."/docs:/out -v "$(pwd)":/protos pseudomuto/protoc-gen-doc:1.3.1 \ - --proto_path=/protos/ \ - epl/protobuf/v1/geometry.proto \ - epl/protobuf/v1/geometry_service.proto \ - epl/protobuf/v1/query.proto \ - epl/protobuf/v1/stac.proto \ - epl/protobuf/v1/stac_service.proto \ No newline at end of file +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" +echo script executing from "$SCRIPT_DIR" +SRC_DIR="$(dirname "$SCRIPT_DIR")" +echo SRC_DIR = "$SRC_DIR" + +mksrcdirs () { + if [ ! -d "${SRC_DIR}/${1}" ] + then + echo "Directory ${SRC_DIR}/${1} DOES NOT exists." + mkdir -p "${SRC_DIR}/${1}" + else + echo "Directory ${SRC_DIR}/${1} exists." + fi +} + +protoc_helper() { + TEST_INPUT=${1#\.} + TEST_INPUT=${TEST_INPUT#\/} + if test -f "${SCRIPT_DIR}/${TEST_INPUT}"; then + echo "${SCRIPT_DIR}/${TEST_INPUT} is a file. submit location of proto." + exit 1 + fi + + if ! test -d "${SCRIPT_DIR}/${TEST_INPUT}"; then + echo "${SCRIPT_DIR}/${TEST_INPUT} directory does not exist." + exit 1 + else + echo running against protos in "${SCRIPT_DIR}/${TEST_INPUT}" + fi + + # remove trailing and preceding slashes + BUILD_PROTOS="${TEST_INPUT%\/}" + echo BUILD_PROTOS = $BUILD_PROTOS + + # remove dots + SPLIT_NAMES=$(echo $BUILD_PROTOS | sed 's/\.//g') + + # if there are underscore or dash replace with splittable / + SPLIT_NAMES=$(echo $SPLIT_NAMES | sed 's/[_-]/\//g') + + # cpp dir + CPP_DIR=cpp/$(echo $SPLIT_NAMES | sed 's/[\/]/-/g') + + # python dir + PYTHON_DIR=python/$(echo $SPLIT_NAMES | sed 's/[\/]/_/g') + + IFS='/' read -ra directories <<< "${SPLIT_NAMES}" + + # TODO there are some nice regex sed combinations for converting to PascalCase, but they don't work in Mac bash: + # https://unix.stackexchange.com/questions/196239/convert-underscore-to-pascalcase-ie-uppercamelcase + unset DOTNET_DIR + for i in "${directories[@]}" + do + if [ -n "$DOTNET_DIR" ]; + then + DOTNET_DIR=$DOTNET_DIR"$(tr '[:lower:]' '[:upper:]' <<< "${i:0:1}")${i:1}" + else + DOTNET_DIR="$(tr '[:lower:]' '[:upper:]' <<< "${i:0:1}")${i:1}" + fi + done + DOTNET_DIR=dotnet/$DOTNET_DIR + + mksrcdirs "${CPP_DIR}" + mksrcdirs "${PYTHON_DIR}" + + # TODO ignoring go for now + DEFS_DIR=$GOPATH + if [ -z ${GOPATH+x} ]; + then + echo "GOPATH is unset"; + DEFS_DIR=$SRC_DIR + SRC_MINUS_GO="" + else + echo "GOPATH is set to '$GOPATH'"; + SRC_MINUS_GO=${SRC_DIR#"$GOPATH"} + fi + + echo DEFS_DIR = "$DEFS_DIR" + echo SRC_MINUS_GO = \""$SRC_MINUS_GO"\" + + ### protoc.sh + docker run --rm -it -v "${DEFS_DIR}":/defs \ + --entrypoint /bin/sh namely/protoc:1.37_1 \ + -c "/defs${SRC_MINUS_GO}/proto/protoc.sh SRC_DIR=\"${SRC_MINUS_GO}\" DOTNET_DIR=\"${DOTNET_DIR}\" CPP_DIR=\"${CPP_DIR}\" PYTHON_DIR=\"${PYTHON_DIR}\" BUILD_PROTOS=\"${BUILD_PROTOS}\" GOPATH=\"$GOPATH\"" + ### protoc.sh +} + +if [ -n "$1" ]; +then + s=($1) +else + s=(`find . -iname "*.proto" -exec dirname {} \; | tr ' ' '\n' | sort | uniq`) +fi +for element in "${s[@]}"; +do + protoc_helper "${element}" +done + +s_files=(`find . -name "*.proto" | tr ' ' '\n' | sort | uniq`) +s_wildcarded=( "${s_files[@]}" ) +IFS=" " eval 'joined_protos="${s_wildcarded[*]#\./}"' + +## docs generation +docker run --rm \ + -v "$SCRIPT_DIR/../docs:/out" \ + -v "$SCRIPT_DIR:/protos" \ + pseudomuto/protoc-gen-doc:1.3.1 --proto_path=/protos/ \ + $joined_protos +## docs generation diff --git a/proto/protoc.sh b/proto/protoc.sh index ed6a4b4..22a5f09 100755 --- a/proto/protoc.sh +++ b/proto/protoc.sh @@ -1,56 +1,71 @@ #!/bin/sh -MONO_PATH=/defs/src/github.com/geo-grpc/api +for ARGUMENT in "$@" +do -#C# -protoc -I/opt/include -I="$MONO_PATH"/proto --csharp_out="$MONO_PATH"/dotnet/EplProtobuf \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/query.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry_service.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac_service.proto + KEY=$(echo "$ARGUMENT" | cut -f1 -d=) + VALUE=$(echo "$ARGUMENT" | cut -f2 -d=) -protoc -I/opt/include -I="$MONO_PATH"/proto --plugin=protoc-gen-grpc="$(command -v grpc_csharp_plugin)" \ - --grpc_out="$MONO_PATH"/dotnet/EplProtobuf \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry_service.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac_service.proto -#C# + case "$KEY" in + SRC_DIR) SRC_DIR=${VALUE} ;; + DOTNET_DIR) DOTNET_DIR=${VALUE} ;; + PYTHON_DIR) PYTHON_DIR=${VALUE} ;; + BUILD_PROTOS) BUILD_PROTOS=${VALUE} ;; + GOPATH) GOPATH=${VALUE} ;; + CPP_DIR) CPP_DIR=${VALUE} ;; + *) + esac +done +echo "DOTNET_DIR = $DOTNET_DIR" +echo "CPP_DIR = $CPP_DIR" +echo "PROTOC SRC_DIR = $SRC_DIR" +echo "BUILD_PROTOS = $BUILD_PROTOS" +echo "GOPATH = $GOPATH" +echo "PYTHON_DIR = $PYTHON_DIR" + +MONO_PATH="/defs${SRC_DIR}" +echo "NAMELY SRC PATH = $MONO_PATH" + + +##C# +protoc -I/opt/include -I="${MONO_PATH}"/proto --csharp_out="${MONO_PATH}"/"${DOTNET_DIR}" \ + "${MONO_PATH}"/proto/"${BUILD_PROTOS}"/*.proto + +protoc -I/opt/include -I="${MONO_PATH}"/proto --plugin=protoc-gen-grpc="$(command -v grpc_csharp_plugin)" \ + --grpc_out="${MONO_PATH}"/"${DOTNET_DIR}" \ + "${MONO_PATH}"/proto/"${BUILD_PROTOS}"/*_service.proto +##C# -#PYTHON -protoc -I/opt/include -I="$MONO_PATH"/proto --python_out="$MONO_PATH"/python/epl_protobuf \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/query.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac.proto + +##PYTHON +protoc -I/opt/include -I="$MONO_PATH"/proto --python_out="$MONO_PATH"/"${PYTHON_DIR}" \ + "$MONO_PATH"/proto/"${BUILD_PROTOS}"/*.proto protoc -I/opt/include -I="$MONO_PATH"/proto --plugin=protoc-gen-grpc_python="$(command -v grpc_python_plugin)" \ - --grpc_python_out="$MONO_PATH"/python/epl_protobuf \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry_service.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac_service.proto + --grpc_python_out="$MONO_PATH"/"${PYTHON_DIR}" \ + "$MONO_PATH"/proto/"${BUILD_PROTOS}"/*_service.proto #PYTHON #GO -protoc -I/opt/include -I "$MONO_PATH"/proto --go_out=/defs/src \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/query.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac.proto - -protoc -I/opt/include -I "$MONO_PATH"/proto --go_out=plugins=grpc:/defs/src \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry_service.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac_service.proto +if [ -n "$GOPATH" ]; +then + protoc -I/opt/include -I "$MONO_PATH"/proto --go_out=/defs/src \ + "$MONO_PATH"/proto/"${BUILD_PROTOS}"/*.proto + + protoc -I/opt/include -I "$MONO_PATH"/proto --go_out=plugins=grpc:/defs/src \ + "$MONO_PATH"/proto/"${BUILD_PROTOS}"/*_service.proto + +else + echo "GOPATH is unset. not generating golang code"; +fi #GO #CPP -protoc -I/opt/include -I "$MONO_PATH"/proto --cpp_out="$MONO_PATH"/cpp/protobuf-lib \ - -I "$MONO_PATH"/proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/query.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry_service.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac_service.proto - -protoc -I/opt/include -I "$MONO_PATH"/proto --grpc_out="$MONO_PATH"/cpp/protobuf-lib --plugin=protoc-gen-grpc="$(command -v grpc_cpp_plugin)" \ - -I "$MONO_PATH"/proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/geometry_service.proto \ - "$MONO_PATH"/proto/epl/protobuf/v1/stac_service.proto +protoc -I/opt/include -I "$MONO_PATH"/proto --cpp_out="$MONO_PATH"/"$CPP_DIR" \ + "$MONO_PATH"/proto/"${BUILD_PROTOS}"/*.proto + +protoc -I/opt/include -I "$MONO_PATH"/proto --plugin=protoc-gen-grpc="$(command -v grpc_cpp_plugin)" \ + --grpc_out="$MONO_PATH"/"$CPP_DIR" \ + "$MONO_PATH"/proto/"${BUILD_PROTOS}"/*_service.proto #CPP \ No newline at end of file diff --git a/python/epl_protobuf/VERSION b/python/epl_protobuf/VERSION deleted file mode 100644 index a5f06b8..0000000 --- a/python/epl_protobuf/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.4.12 \ No newline at end of file diff --git a/python/epl_protobuf/LICENSE b/python/epl_protobuf_v1/LICENSE similarity index 100% rename from python/epl_protobuf/LICENSE rename to python/epl_protobuf_v1/LICENSE diff --git a/python/epl_protobuf/README.md b/python/epl_protobuf_v1/README.md similarity index 100% rename from python/epl_protobuf/README.md rename to python/epl_protobuf_v1/README.md diff --git a/python/epl_protobuf_v1/VERSION b/python/epl_protobuf_v1/VERSION new file mode 100644 index 0000000..bf357b6 --- /dev/null +++ b/python/epl_protobuf_v1/VERSION @@ -0,0 +1 @@ +0.4.13 \ No newline at end of file diff --git a/python/epl_protobuf/epl/__init__.py b/python/epl_protobuf_v1/epl/__init__.py similarity index 100% rename from python/epl_protobuf/epl/__init__.py rename to python/epl_protobuf_v1/epl/__init__.py diff --git a/python/epl_protobuf/epl/protobuf/__init__.py b/python/epl_protobuf_v1/epl/protobuf/__init__.py similarity index 100% rename from python/epl_protobuf/epl/protobuf/__init__.py rename to python/epl_protobuf_v1/epl/protobuf/__init__.py diff --git a/python/epl_protobuf/epl/protobuf/v1/geometry_pb2.py b/python/epl_protobuf_v1/epl/protobuf/v1/geometry_pb2.py similarity index 83% rename from python/epl_protobuf/epl/protobuf/v1/geometry_pb2.py rename to python/epl_protobuf_v1/epl/protobuf/v1/geometry_pb2.py index 435fe57..9500fb5 100644 --- a/python/epl_protobuf/epl/protobuf/v1/geometry_pb2.py +++ b/python/epl_protobuf_v1/epl/protobuf/v1/geometry_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: epl/protobuf/v1/geometry.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message @@ -19,6 +19,7 @@ package='epl.protobuf.v1', syntax='proto3', serialized_options=b'\n\023com.epl.protobuf.v1B\rGeometryProtoP\001Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\242\002\004GMPB\252\002\023com.epl.protobuf.v1', + create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x1e\x65pl/protobuf/v1/geometry.proto\x12\x0f\x65pl.protobuf.v1\"\xaa\x02\n\x0cGeometryData\x12\x13\n\x0bgeometry_id\x18\x01 \x01(\x04\x12\x12\n\nfeature_id\x18\x02 \x01(\t\x12\r\n\x03wkt\x18\x03 \x01(\tH\x00\x12\x11\n\x07geojson\x18\x04 \x01(\tH\x00\x12\r\n\x03wkb\x18\x05 \x01(\x0cH\x00\x12\x14\n\nesri_shape\x18\x06 \x01(\x0cH\x00\x12\x0e\n\x04\x65wkb\x18\x0f \x01(\x0cH\x00\x12-\n\x04proj\x18\x07 \x01(\x0b\x32\x1f.epl.protobuf.v1.ProjectionData\x12/\n\x08\x65nvelope\x18\r \x01(\x0b\x32\x1d.epl.protobuf.v1.EnvelopeData\x12,\n\x06simple\x18\x0e \x01(\x0e\x32\x1c.epl.protobuf.v1.SimpleStateB\x06\n\x04\x64\x61taJ\x04\x08\x08\x10\r\"\xc7\x03\n\x0eProjectionData\x12\x0e\n\x04\x65psg\x18\x01 \x01(\x05H\x00\x12\x0f\n\x05proj4\x18\x02 \x01(\tH\x00\x12\x38\n\x06\x63ustom\x18\x03 \x01(\x0b\x32&.epl.protobuf.v1.ProjectionData.CustomH\x00\x12\r\n\x03wkt\x18\x04 \x01(\tH\x00\x12/\n\x08geometry\x18\n \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryData\x12+\n\x04\x62\x62ox\x18\x0b \x01(\x0b\x32\x1d.epl.protobuf.v1.EnvelopeData\x12/\n\x08\x63\x65ntroid\x18\x0c \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryData\x12\r\n\x05shape\x18\x08 \x03(\r\x12\x11\n\ttransform\x18\t \x03(\x01\x1a_\n\x06\x43ustom\x12\r\n\x05lon_0\x18\x01 \x01(\x01\x12\r\n\x05lat_0\x18\x02 \x01(\x01\x12\x37\n\x07\x63s_type\x18\x03 \x01(\x0e\x32&.epl.protobuf.v1.ProjectionData.CSType\"\x19\n\x06\x43SType\x12\x0f\n\x0bLAMBERT_AZI\x10\x00\x42\x0c\n\ndefinitionJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08\"\x91\x01\n\x0c\x45nvelopeData\x12\x0c\n\x04xmin\x18\x01 \x01(\x01\x12\x0c\n\x04ymin\x18\x02 \x01(\x01\x12\x0c\n\x04xmax\x18\x03 \x01(\x01\x12\x0c\n\x04ymax\x18\x04 \x01(\x01\x12-\n\x04proj\x18\x05 \x01(\x0b\x32\x1f.epl.protobuf.v1.ProjectionData\x12\x0c\n\x04zmin\x18\x06 \x01(\x01\x12\x0c\n\x04zmax\x18\x07 \x01(\x01\"\xde\x0b\n\x0fGeometryRequest\x12\x31\n\x08geometry\x18\x01 \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryDataH\x00\x12\x36\n\rleft_geometry\x18\x02 \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryDataH\x00\x12<\n\x10geometry_request\x18\x03 \x01(\x0b\x32 .epl.protobuf.v1.GeometryRequestH\x00\x12\x41\n\x15left_geometry_request\x18\x04 \x01(\x0b\x32 .epl.protobuf.v1.GeometryRequestH\x00\x12\x37\n\x0eright_geometry\x18\x05 \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryDataH\x01\x12\x42\n\x16right_geometry_request\x18\x06 \x01(\x0b\x32 .epl.protobuf.v1.GeometryRequestH\x01\x12/\n\x08operator\x18\x07 \x01(\x0e\x32\x1d.epl.protobuf.v1.OperatorType\x12\x32\n\x0fresult_encoding\x18\x08 \x01(\x0e\x32\x19.epl.protobuf.v1.Encoding\x12\x37\n\x0eoperation_proj\x18\t \x01(\x0b\x32\x1f.epl.protobuf.v1.ProjectionData\x12\x34\n\x0bresult_proj\x18\n \x01(\x0b\x32\x1f.epl.protobuf.v1.ProjectionData\x12\x37\n\rbuffer_params\x18\x0b \x01(\x0b\x32\x1e.epl.protobuf.v1.Params.BufferH\x02\x12\x37\n\rconvex_params\x18\x0c \x01(\x0b\x32\x1e.epl.protobuf.v1.Params.ConvexH\x02\x12\x37\n\rrelate_params\x18\r \x01(\x0b\x32\x1e.epl.protobuf.v1.Params.RelateH\x02\x12\x44\n\x14random_points_params\x18\x0e \x01(\x0b\x32$.epl.protobuf.v1.Params.RandomPointsH\x02\x12?\n\x11generalize_params\x18\x0f \x01(\x0b\x32\".epl.protobuf.v1.Params.GeneralizeH\x02\x12\x43\n\x13intersection_params\x18\x10 \x01(\x0b\x32$.epl.protobuf.v1.Params.IntersectionH\x02\x12\x37\n\roffset_params\x18\x11 \x01(\x0b\x32\x1e.epl.protobuf.v1.Params.OffsetH\x02\x12\x31\n\ncut_params\x18\x12 \x01(\x0b\x32\x1b.epl.protobuf.v1.Params.CutH\x02\x12\x33\n\x0b\x63lip_params\x18\x13 \x01(\x0b\x32\x1c.epl.protobuf.v1.Params.ClipH\x02\x12\x39\n\x0e\x64\x65nsify_params\x18\x14 \x01(\x0b\x32\x1f.epl.protobuf.v1.Params.DensifyH\x02\x12;\n\x0fsimplify_params\x18\x15 \x01(\x0b\x32 .epl.protobuf.v1.Params.SimplifyH\x02\x12M\n\x19generalize_by_area_params\x18\x16 \x01(\x0b\x32(.epl.protobuf.v1.Params.GeneralizeByAreaH\x02\x12J\n\x17\x61\x66\x66ine_transform_params\x18\x17 \x01(\x0b\x32\'.epl.protobuf.v1.Params.AffineTransformH\x02\x12H\n\x16geodetic_buffer_params\x18\x18 \x01(\x0b\x32&.epl.protobuf.v1.Params.GeodeticBufferH\x02\x42\x06\n\x04leftB\x07\n\x05rightB\x08\n\x06params\"?\n\x0fGeodeticInverse\x12\x0c\n\x04\x61z12\x18\x01 \x01(\x01\x12\x0c\n\x04\x61z21\x18\x02 \x01(\x01\x12\x10\n\x08\x64istance\x18\x03 \x01(\x01\"\xb8\x02\n\x10GeometryResponse\x12\x31\n\x08geometry\x18\x01 \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryDataH\x00\x12\x1e\n\x14spatial_relationship\x18\x02 \x01(\x08H\x00\x12\x11\n\x07measure\x18\x03 \x01(\x01H\x00\x12<\n\x10geodetic_inverse\x18\x04 \x01(\x0b\x32 .epl.protobuf.v1.GeodeticInverseH\x00\x12\x44\n\nrelate_map\x18\x05 \x03(\x0b\x32\x30.epl.protobuf.v1.GeometryResponse.RelateMapEntry\x1a\x30\n\x0eRelateMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x42\x08\n\x06result\"\xe1\x02\n\x10\x46ileRequestChunk\x12\x38\n\x0enested_request\x18\x01 \x01(\x0b\x32 .epl.protobuf.v1.GeometryRequest\x12\x37\n\x14result_encoding_type\x18\x02 \x01(\x0e\x32\x19.epl.protobuf.v1.Encoding\x12\x33\n\ninput_proj\x18\x03 \x01(\x0b\x32\x1f.epl.protobuf.v1.ProjectionData\x12\x34\n\x0bresult_proj\x18\x05 \x01(\x0b\x32\x1f.epl.protobuf.v1.ProjectionData\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04size\x18\x07 \x01(\x03\x12\x0e\n\x06offset\x18\x08 \x01(\x03\x12\x11\n\tfile_name\x18\t \x01(\t\x12\x15\n\ris_last_chunk\x18\n \x01(\x08\"\x19\n\x08\x46ileType\x12\r\n\tSHAPEFILE\x10\x00\"\xd3\x07\n\x06Params\x1al\n\x06\x42uffer\x12\x10\n\x08\x64istance\x18\x01 \x01(\x01\x12\x15\n\rmax_deviation\x18\x02 \x01(\x01\x12\x14\n\x0cunion_result\x18\x03 \x01(\x08\x12#\n\x1bmax_vertices_in_full_circle\x18\x04 \x01(\x05\x1at\n\x0eGeodeticBuffer\x12\x10\n\x08\x64istance\x18\x01 \x01(\x01\x12\x15\n\rmax_deviation\x18\x02 \x01(\x01\x12\x14\n\x0cunion_result\x18\x03 \x01(\x08\x12#\n\x1bmax_vertices_in_full_circle\x18\x04 \x01(\x05\x1a\x17\n\x06\x43onvex\x12\r\n\x05merge\x18\x01 \x01(\x08\x1a\x18\n\x06Relate\x12\x0e\n\x06\x64\x65_9im\x18\x01 \x01(\t\x1a:\n\x0cRandomPoints\x12\x1c\n\x14points_per_square_km\x18\x01 \x01(\x01\x12\x0c\n\x04seed\x18\x02 \x01(\x03\x1a?\n\nGeneralize\x12\x15\n\rmax_deviation\x18\x01 \x01(\x01\x12\x1a\n\x12remove_degenerates\x18\x02 \x01(\x08\x1a\x62\n\x10GeneralizeByArea\x12\x19\n\x11percent_reduction\x18\x01 \x01(\x01\x12\x17\n\x0fmax_point_count\x18\x02 \x01(\x05\x12\x1a\n\x12remove_degenerates\x18\x03 \x01(\x08\x1a&\n\x0cIntersection\x12\x16\n\x0e\x64imension_mask\x18\x01 \x01(\x05\x1a\xc7\x01\n\x06Offset\x12\x10\n\x08\x64istance\x18\x01 \x01(\x01\x12@\n\tjoin_type\x18\x02 \x01(\x0e\x32-.epl.protobuf.v1.Params.Offset.OffsetJoinType\x12\x13\n\x0b\x62\x65vel_ratio\x18\x03 \x01(\x01\x12\x15\n\rflatten_error\x18\x04 \x01(\x01\"=\n\x0eOffsetJoinType\x12\t\n\x05ROUND\x10\x00\x12\t\n\x05\x42\x45VEL\x10\x01\x12\t\n\x05MITER\x10\x02\x12\n\n\x06SQUARE\x10\x03\x1a\x1d\n\x03\x43ut\x12\x16\n\x0e\x63onsider_touch\x18\x01 \x01(\x08\x1a\x37\n\x04\x43lip\x12/\n\x08\x65nvelope\x18\x01 \x01(\x0b\x32\x1d.epl.protobuf.v1.EnvelopeData\x1a\x1d\n\x07\x44\x65nsify\x12\x12\n\nmax_length\x18\x01 \x01(\x01\x1a\x19\n\x08Simplify\x12\r\n\x05\x66orce\x18\x01 \x01(\x08\x1aM\n\x0f\x41\x66\x66ineTransform\x12\x10\n\x08geodetic\x18\x02 \x01(\x08\x12\x10\n\x08x_offset\x18\x03 \x01(\x01\x12\x10\n\x08y_offset\x18\x04 \x01(\x01J\x04\x08\x01\x10\x02*\xc6\x01\n\x0bSimpleState\x12\x12\n\x0eSIMPLE_UNKNOWN\x10\x00\x12\x0f\n\x0bWEAK_SIMPLE\x10\x01\x12\x11\n\rSTRONG_SIMPLE\x10\x02\x12\x0e\n\nNON_SIMPLE\x10\x03\x12\x12\n\x0eSTRUCTURE_FLAW\x10\x04\x12\x17\n\x13\x44\x45GENERATE_SEGMENTS\x10\x05\x12\x0e\n\nCLUSTERING\x10\x06\x12\x0c\n\x08\x43RACKING\x10\x07\x12\x0e\n\nCROSS_OVER\x10\x08\x12\x14\n\x10RING_ORIENTATION\x10\t*Y\n\x08\x45ncoding\x12\x14\n\x10UNKNOWN_ENCODING\x10\x00\x12\x07\n\x03WKB\x10\x01\x12\x07\n\x03WKT\x10\x02\x12\x0b\n\x07GEOJSON\x10\x03\x12\x0e\n\nESRI_SHAPE\x10\x04\x12\x08\n\x04\x45WKB\x10\x05*\xf5\x06\n\x0cOperatorType\x12\x14\n\x10UNKNOWN_OPERATOR\x10\x00\x12\x0b\n\x07PROJECT\x10\x01\x12\x12\n\x0e\x45XPORT_TO_JSON\x10\x02\x12\x14\n\x10IMPORT_FROM_JSON\x10\x03\x12\x18\n\x14\x45XPORT_TO_ESRI_SHAPE\x10\x04\x12\x1a\n\x16IMPORT_FROM_ESRI_SHAPE\x10\x05\x12\t\n\x05UNION\x10\x06\x12\x0e\n\nDIFFERENCE\x10\x07\x12\x10\n\x0cPROXIMITY_2D\x10\x08\x12\n\n\x06RELATE\x10\t\x12\n\n\x06\x45QUALS\x10\n\x12\x0c\n\x08\x44ISJOINT\x10\x0b\x12\x0e\n\nINTERSECTS\x10\x0c\x12\n\n\x06WITHIN\x10\r\x12\x0c\n\x08\x43ONTAINS\x10\x0e\x12\x0b\n\x07\x43ROSSES\x10\x0f\x12\x0b\n\x07TOUCHES\x10\x10\x12\x0c\n\x08OVERLAPS\x10\x11\x12\n\n\x06\x42UFFER\x10\x12\x12\x0c\n\x08\x44ISTANCE\x10\x13\x12\x10\n\x0cINTERSECTION\x10\x14\x12\x08\n\x04\x43LIP\x10\x15\x12\x07\n\x03\x43UT\x10\x16\x12\x15\n\x11\x44\x45NSIFY_BY_LENGTH\x10\x17\x12\x13\n\x0fGEODESIC_BUFFER\x10\x1a\x12\x1e\n\x1aGEODETIC_DENSIFY_BY_LENGTH\x10\x1b\x12\x11\n\rGEODETIC_AREA\x10\x1e\x12\x0c\n\x08SIMPLIFY\x10\x1f\x12\x10\n\x0cSIMPLIFY_OGC\x10 \x12\n\n\x06OFFSET\x10!\x12\x0e\n\nGENERALIZE\x10\"\x12\x16\n\x12GENERALIZE_BY_AREA\x10#\x12\x11\n\rEXPORT_TO_WKB\x10$\x12\x13\n\x0fIMPORT_FROM_WKB\x10%\x12\x11\n\rEXPORT_TO_WKT\x10&\x12\x13\n\x0fIMPORT_FROM_WKT\x10\'\x12\x17\n\x13IMPORT_FROM_GEOJSON\x10(\x12\x15\n\x11\x45XPORT_TO_GEOJSON\x10)\x12\x18\n\x14SYMMETRIC_DIFFERENCE\x10*\x12\x0f\n\x0b\x43ONVEX_HULL\x10+\x12\x0c\n\x08\x42OUNDARY\x10,\x12\x11\n\rRANDOM_POINTS\x10-\x12\x14\n\x10\x45NCLOSING_CIRCLE\x10.\x12\x14\n\x10\x41\x46\x46INE_TRANSFORM\x10/\x12\x13\n\x0fGEODETIC_LENGTH\x10\x30\x12\x14\n\x10GEODETIC_INVERSE\x10\x31\x12\x12\n\x0e\x45XPORT_TO_EWKB\x10\x32\x12\x14\n\x10IMPORT_FROM_EWKB\x10\x33\x42s\n\x13\x63om.epl.protobuf.v1B\rGeometryProtoP\x01Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\xa2\x02\x04GMPB\xaa\x02\x13\x63om.epl.protobuf.v1b\x06proto3' ) @@ -27,47 +28,58 @@ full_name='epl.protobuf.v1.SimpleState', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='SIMPLE_UNKNOWN', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='WEAK_SIMPLE', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='STRONG_SIMPLE', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NON_SIMPLE', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='STRUCTURE_FLAW', index=4, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DEGENERATE_SEGMENTS', index=5, number=5, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CLUSTERING', index=6, number=6, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CRACKING', index=7, number=7, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CROSS_OVER', index=8, number=8, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='RING_ORIENTATION', index=9, number=9, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -82,31 +94,38 @@ full_name='epl.protobuf.v1.Encoding', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_ENCODING', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='WKB', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='WKT', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GEOJSON', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='ESRI_SHAPE', index=4, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EWKB', index=5, number=5, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -121,199 +140,248 @@ full_name='epl.protobuf.v1.OperatorType', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_OPERATOR', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PROJECT', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EXPORT_TO_JSON', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IMPORT_FROM_JSON', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EXPORT_TO_ESRI_SHAPE', index=4, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IMPORT_FROM_ESRI_SHAPE', index=5, number=5, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='UNION', index=6, number=6, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DIFFERENCE', index=7, number=7, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PROXIMITY_2D', index=8, number=8, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='RELATE', index=9, number=9, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EQUALS', index=10, number=10, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DISJOINT', index=11, number=11, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='INTERSECTS', index=12, number=12, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='WITHIN', index=13, number=13, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CONTAINS', index=14, number=14, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CROSSES', index=15, number=15, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TOUCHES', index=16, number=16, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='OVERLAPS', index=17, number=17, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='BUFFER', index=18, number=18, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DISTANCE', index=19, number=19, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='INTERSECTION', index=20, number=20, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CLIP', index=21, number=21, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CUT', index=22, number=22, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DENSIFY_BY_LENGTH', index=23, number=23, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GEODESIC_BUFFER', index=24, number=26, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GEODETIC_DENSIFY_BY_LENGTH', index=25, number=27, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GEODETIC_AREA', index=26, number=30, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SIMPLIFY', index=27, number=31, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SIMPLIFY_OGC', index=28, number=32, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='OFFSET', index=29, number=33, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GENERALIZE', index=30, number=34, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GENERALIZE_BY_AREA', index=31, number=35, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EXPORT_TO_WKB', index=32, number=36, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IMPORT_FROM_WKB', index=33, number=37, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EXPORT_TO_WKT', index=34, number=38, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IMPORT_FROM_WKT', index=35, number=39, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IMPORT_FROM_GEOJSON', index=36, number=40, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EXPORT_TO_GEOJSON', index=37, number=41, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SYMMETRIC_DIFFERENCE', index=38, number=42, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CONVEX_HULL', index=39, number=43, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='BOUNDARY', index=40, number=44, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='RANDOM_POINTS', index=41, number=45, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='ENCLOSING_CIRCLE', index=42, number=46, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='AFFINE_TRANSFORM', index=43, number=47, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GEODETIC_LENGTH', index=44, number=48, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GEODETIC_INVERSE', index=45, number=49, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EXPORT_TO_EWKB', index=46, number=50, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IMPORT_FROM_EWKB', index=47, number=51, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -394,11 +462,13 @@ full_name='epl.protobuf.v1.ProjectionData.CSType', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='LAMBERT_AZI', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -412,11 +482,13 @@ full_name='epl.protobuf.v1.FileRequestChunk.FileType', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='SHAPEFILE', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -430,23 +502,28 @@ full_name='epl.protobuf.v1.Params.Offset.OffsetJoinType', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='ROUND', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='BEVEL', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='MITER', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SQUARE', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -462,6 +539,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='geometry_id', full_name='epl.protobuf.v1.GeometryData.geometry_id', index=0, @@ -469,70 +547,70 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='feature_id', full_name='epl.protobuf.v1.GeometryData.feature_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='wkt', full_name='epl.protobuf.v1.GeometryData.wkt', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='geojson', full_name='epl.protobuf.v1.GeometryData.geojson', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='wkb', full_name='epl.protobuf.v1.GeometryData.wkb', index=4, number=5, type=12, cpp_type=9, label=1, has_default_value=False, default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='esri_shape', full_name='epl.protobuf.v1.GeometryData.esri_shape', index=5, number=6, type=12, cpp_type=9, label=1, has_default_value=False, default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='ewkb', full_name='epl.protobuf.v1.GeometryData.ewkb', index=6, number=15, type=12, cpp_type=9, label=1, has_default_value=False, default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='proj', full_name='epl.protobuf.v1.GeometryData.proj', index=7, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='envelope', full_name='epl.protobuf.v1.GeometryData.envelope', index=8, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='simple', full_name='epl.protobuf.v1.GeometryData.simple', index=9, number=14, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -546,7 +624,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='data', full_name='epl.protobuf.v1.GeometryData.data', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=52, serialized_end=350, @@ -559,6 +639,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='lon_0', full_name='epl.protobuf.v1.ProjectionData.Custom.lon_0', index=0, @@ -566,21 +647,21 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='lat_0', full_name='epl.protobuf.v1.ProjectionData.Custom.lat_0', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cs_type', full_name='epl.protobuf.v1.ProjectionData.Custom.cs_type', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -603,6 +684,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='epsg', full_name='epl.protobuf.v1.ProjectionData.epsg', index=0, @@ -610,63 +692,63 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='proj4', full_name='epl.protobuf.v1.ProjectionData.proj4', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='custom', full_name='epl.protobuf.v1.ProjectionData.custom', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='wkt', full_name='epl.protobuf.v1.ProjectionData.wkt', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='geometry', full_name='epl.protobuf.v1.ProjectionData.geometry', index=4, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bbox', full_name='epl.protobuf.v1.ProjectionData.bbox', index=5, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='centroid', full_name='epl.protobuf.v1.ProjectionData.centroid', index=6, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='shape', full_name='epl.protobuf.v1.ProjectionData.shape', index=7, number=8, type=13, cpp_type=3, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='transform', full_name='epl.protobuf.v1.ProjectionData.transform', index=8, number=9, type=1, cpp_type=5, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -681,7 +763,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='definition', full_name='epl.protobuf.v1.ProjectionData.definition', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=353, serialized_end=808, @@ -694,6 +778,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='xmin', full_name='epl.protobuf.v1.EnvelopeData.xmin', index=0, @@ -701,49 +786,49 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='ymin', full_name='epl.protobuf.v1.EnvelopeData.ymin', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='xmax', full_name='epl.protobuf.v1.EnvelopeData.xmax', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='ymax', full_name='epl.protobuf.v1.EnvelopeData.ymax', index=3, number=4, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='proj', full_name='epl.protobuf.v1.EnvelopeData.proj', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='zmin', full_name='epl.protobuf.v1.EnvelopeData.zmin', index=5, number=6, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='zmax', full_name='epl.protobuf.v1.EnvelopeData.zmax', index=6, number=7, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -767,6 +852,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='geometry', full_name='epl.protobuf.v1.GeometryRequest.geometry', index=0, @@ -774,168 +860,168 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='left_geometry', full_name='epl.protobuf.v1.GeometryRequest.left_geometry', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='geometry_request', full_name='epl.protobuf.v1.GeometryRequest.geometry_request', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='left_geometry_request', full_name='epl.protobuf.v1.GeometryRequest.left_geometry_request', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='right_geometry', full_name='epl.protobuf.v1.GeometryRequest.right_geometry', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='right_geometry_request', full_name='epl.protobuf.v1.GeometryRequest.right_geometry_request', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='operator', full_name='epl.protobuf.v1.GeometryRequest.operator', index=6, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='result_encoding', full_name='epl.protobuf.v1.GeometryRequest.result_encoding', index=7, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='operation_proj', full_name='epl.protobuf.v1.GeometryRequest.operation_proj', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='result_proj', full_name='epl.protobuf.v1.GeometryRequest.result_proj', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='buffer_params', full_name='epl.protobuf.v1.GeometryRequest.buffer_params', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='convex_params', full_name='epl.protobuf.v1.GeometryRequest.convex_params', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='relate_params', full_name='epl.protobuf.v1.GeometryRequest.relate_params', index=12, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='random_points_params', full_name='epl.protobuf.v1.GeometryRequest.random_points_params', index=13, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='generalize_params', full_name='epl.protobuf.v1.GeometryRequest.generalize_params', index=14, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='intersection_params', full_name='epl.protobuf.v1.GeometryRequest.intersection_params', index=15, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='offset_params', full_name='epl.protobuf.v1.GeometryRequest.offset_params', index=16, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cut_params', full_name='epl.protobuf.v1.GeometryRequest.cut_params', index=17, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='clip_params', full_name='epl.protobuf.v1.GeometryRequest.clip_params', index=18, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='densify_params', full_name='epl.protobuf.v1.GeometryRequest.densify_params', index=19, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='simplify_params', full_name='epl.protobuf.v1.GeometryRequest.simplify_params', index=20, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='generalize_by_area_params', full_name='epl.protobuf.v1.GeometryRequest.generalize_by_area_params', index=21, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='affine_transform_params', full_name='epl.protobuf.v1.GeometryRequest.affine_transform_params', index=22, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='geodetic_buffer_params', full_name='epl.protobuf.v1.GeometryRequest.geodetic_buffer_params', index=23, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -949,13 +1035,19 @@ oneofs=[ _descriptor.OneofDescriptor( name='left', full_name='epl.protobuf.v1.GeometryRequest.left', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), _descriptor.OneofDescriptor( name='right', full_name='epl.protobuf.v1.GeometryRequest.right', - index=1, containing_type=None, fields=[]), + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), _descriptor.OneofDescriptor( name='params', full_name='epl.protobuf.v1.GeometryRequest.params', - index=2, containing_type=None, fields=[]), + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=959, serialized_end=2461, @@ -968,6 +1060,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='az12', full_name='epl.protobuf.v1.GeodeticInverse.az12', index=0, @@ -975,21 +1068,21 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='az21', full_name='epl.protobuf.v1.GeodeticInverse.az21', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='distance', full_name='epl.protobuf.v1.GeodeticInverse.distance', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1013,6 +1106,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='epl.protobuf.v1.GeometryResponse.RelateMapEntry.key', index=0, @@ -1020,14 +1114,14 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='epl.protobuf.v1.GeometryResponse.RelateMapEntry.value', index=1, number=2, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1050,6 +1144,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='geometry', full_name='epl.protobuf.v1.GeometryResponse.geometry', index=0, @@ -1057,35 +1152,35 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='spatial_relationship', full_name='epl.protobuf.v1.GeometryResponse.spatial_relationship', index=1, number=2, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='measure', full_name='epl.protobuf.v1.GeometryResponse.measure', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='geodetic_inverse', full_name='epl.protobuf.v1.GeometryResponse.geodetic_inverse', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='relate_map', full_name='epl.protobuf.v1.GeometryResponse.relate_map', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1099,7 +1194,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='result', full_name='epl.protobuf.v1.GeometryResponse.result', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=2529, serialized_end=2841, @@ -1112,6 +1209,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='nested_request', full_name='epl.protobuf.v1.FileRequestChunk.nested_request', index=0, @@ -1119,63 +1217,63 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='result_encoding_type', full_name='epl.protobuf.v1.FileRequestChunk.result_encoding_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='input_proj', full_name='epl.protobuf.v1.FileRequestChunk.input_proj', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='result_proj', full_name='epl.protobuf.v1.FileRequestChunk.result_proj', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='data', full_name='epl.protobuf.v1.FileRequestChunk.data', index=4, number=6, type=12, cpp_type=9, label=1, has_default_value=False, default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='size', full_name='epl.protobuf.v1.FileRequestChunk.size', index=5, number=7, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='offset', full_name='epl.protobuf.v1.FileRequestChunk.offset', index=6, number=8, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='file_name', full_name='epl.protobuf.v1.FileRequestChunk.file_name', index=7, number=9, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='is_last_chunk', full_name='epl.protobuf.v1.FileRequestChunk.is_last_chunk', index=8, number=10, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1200,6 +1298,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='distance', full_name='epl.protobuf.v1.Params.Buffer.distance', index=0, @@ -1207,28 +1306,28 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_deviation', full_name='epl.protobuf.v1.Params.Buffer.max_deviation', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='union_result', full_name='epl.protobuf.v1.Params.Buffer.union_result', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_vertices_in_full_circle', full_name='epl.protobuf.v1.Params.Buffer.max_vertices_in_full_circle', index=3, number=4, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1251,6 +1350,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='distance', full_name='epl.protobuf.v1.Params.GeodeticBuffer.distance', index=0, @@ -1258,28 +1358,28 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_deviation', full_name='epl.protobuf.v1.Params.GeodeticBuffer.max_deviation', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='union_result', full_name='epl.protobuf.v1.Params.GeodeticBuffer.union_result', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_vertices_in_full_circle', full_name='epl.protobuf.v1.Params.GeodeticBuffer.max_vertices_in_full_circle', index=3, number=4, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1302,6 +1402,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='merge', full_name='epl.protobuf.v1.Params.Convex.merge', index=0, @@ -1309,7 +1410,7 @@ has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1332,6 +1433,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='de_9im', full_name='epl.protobuf.v1.Params.Relate.de_9im', index=0, @@ -1339,7 +1441,7 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1362,6 +1464,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='points_per_square_km', full_name='epl.protobuf.v1.Params.RandomPoints.points_per_square_km', index=0, @@ -1369,14 +1472,14 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='seed', full_name='epl.protobuf.v1.Params.RandomPoints.seed', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1399,6 +1502,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='max_deviation', full_name='epl.protobuf.v1.Params.Generalize.max_deviation', index=0, @@ -1406,14 +1510,14 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='remove_degenerates', full_name='epl.protobuf.v1.Params.Generalize.remove_degenerates', index=1, number=2, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1436,6 +1540,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='percent_reduction', full_name='epl.protobuf.v1.Params.GeneralizeByArea.percent_reduction', index=0, @@ -1443,21 +1548,21 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_point_count', full_name='epl.protobuf.v1.Params.GeneralizeByArea.max_point_count', index=1, number=2, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='remove_degenerates', full_name='epl.protobuf.v1.Params.GeneralizeByArea.remove_degenerates', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1480,6 +1585,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='dimension_mask', full_name='epl.protobuf.v1.Params.Intersection.dimension_mask', index=0, @@ -1487,7 +1593,7 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1510,6 +1616,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='distance', full_name='epl.protobuf.v1.Params.Offset.distance', index=0, @@ -1517,28 +1624,28 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='join_type', full_name='epl.protobuf.v1.Params.Offset.join_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bevel_ratio', full_name='epl.protobuf.v1.Params.Offset.bevel_ratio', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='flatten_error', full_name='epl.protobuf.v1.Params.Offset.flatten_error', index=3, number=4, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1562,6 +1669,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='consider_touch', full_name='epl.protobuf.v1.Params.Cut.consider_touch', index=0, @@ -1569,7 +1677,7 @@ has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1592,6 +1700,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='envelope', full_name='epl.protobuf.v1.Params.Clip.envelope', index=0, @@ -1599,7 +1708,7 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1622,6 +1731,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='max_length', full_name='epl.protobuf.v1.Params.Densify.max_length', index=0, @@ -1629,7 +1739,7 @@ has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1652,6 +1762,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='force', full_name='epl.protobuf.v1.Params.Simplify.force', index=0, @@ -1659,7 +1770,7 @@ has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1682,6 +1793,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='geodetic', full_name='epl.protobuf.v1.Params.AffineTransform.geodetic', index=0, @@ -1689,21 +1801,21 @@ has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='x_offset', full_name='epl.protobuf.v1.Params.AffineTransform.x_offset', index=1, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='y_offset', full_name='epl.protobuf.v1.Params.AffineTransform.y_offset', index=2, number=4, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1726,6 +1838,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ diff --git a/python/epl_protobuf_v1/epl/protobuf/v1/geometry_service_pb2.py b/python/epl_protobuf_v1/epl/protobuf/v1/geometry_service_pb2.py new file mode 100644 index 0000000..21a124a --- /dev/null +++ b/python/epl_protobuf_v1/epl/protobuf/v1/geometry_service_pb2.py @@ -0,0 +1,109 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: epl/protobuf/v1/geometry_service.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from epl.protobuf.v1 import geometry_pb2 as epl_dot_protobuf_dot_v1_dot_geometry__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='epl/protobuf/v1/geometry_service.proto', + package='epl.protobuf.v1', + syntax='proto3', + serialized_options=b'\n\023com.epl.protobuf.v1B\024GeometryServiceProtoP\001Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\242\002\003GMS\252\002\023com.epl.protobuf.v1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n&epl/protobuf/v1/geometry_service.proto\x12\x0f\x65pl.protobuf.v1\x1a\x1e\x65pl/protobuf/v1/geometry.proto2\xca\x04\n\x0fGeometryService\x12P\n\x07Operate\x12 .epl.protobuf.v1.GeometryRequest\x1a!.epl.protobuf.v1.GeometryResponse\"\x00\x12\\\n\x0fOperateBiStream\x12 .epl.protobuf.v1.GeometryRequest\x1a!.epl.protobuf.v1.GeometryResponse\"\x00(\x01\x30\x01\x12`\n\x13OperateBiStreamFlow\x12 .epl.protobuf.v1.GeometryRequest\x1a!.epl.protobuf.v1.GeometryResponse\"\x00(\x01\x30\x01\x12^\n\x13OperateServerStream\x12 .epl.protobuf.v1.GeometryRequest\x1a!.epl.protobuf.v1.GeometryResponse\"\x00\x30\x01\x12^\n\x13OperateClientStream\x12 .epl.protobuf.v1.GeometryRequest\x1a!.epl.protobuf.v1.GeometryResponse\"\x00(\x01\x12\x65\n\x17\x46ileOperateBiStreamFlow\x12!.epl.protobuf.v1.FileRequestChunk\x1a!.epl.protobuf.v1.GeometryResponse\"\x00(\x01\x30\x01\x42y\n\x13\x63om.epl.protobuf.v1B\x14GeometryServiceProtoP\x01Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\xa2\x02\x03GMS\xaa\x02\x13\x63om.epl.protobuf.v1b\x06proto3' + , + dependencies=[epl_dot_protobuf_dot_v1_dot_geometry__pb2.DESCRIPTOR,]) + + + +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + + +DESCRIPTOR._options = None + +_GEOMETRYSERVICE = _descriptor.ServiceDescriptor( + name='GeometryService', + full_name='epl.protobuf.v1.GeometryService', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=92, + serialized_end=678, + methods=[ + _descriptor.MethodDescriptor( + name='Operate', + full_name='epl.protobuf.v1.GeometryService.Operate', + index=0, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='OperateBiStream', + full_name='epl.protobuf.v1.GeometryService.OperateBiStream', + index=1, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='OperateBiStreamFlow', + full_name='epl.protobuf.v1.GeometryService.OperateBiStreamFlow', + index=2, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='OperateServerStream', + full_name='epl.protobuf.v1.GeometryService.OperateServerStream', + index=3, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='OperateClientStream', + full_name='epl.protobuf.v1.GeometryService.OperateClientStream', + index=4, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='FileOperateBiStreamFlow', + full_name='epl.protobuf.v1.GeometryService.FileOperateBiStreamFlow', + index=5, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._FILEREQUESTCHUNK, + output_type=epl_dot_protobuf_dot_v1_dot_geometry__pb2._GEOMETRYRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_GEOMETRYSERVICE) + +DESCRIPTOR.services_by_name['GeometryService'] = _GEOMETRYSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/python/epl_protobuf/epl/protobuf/v1/geometry_service_pb2_grpc.py b/python/epl_protobuf_v1/epl/protobuf/v1/geometry_service_pb2_grpc.py similarity index 93% rename from python/epl_protobuf/epl/protobuf/v1/geometry_service_pb2_grpc.py rename to python/epl_protobuf_v1/epl/protobuf/v1/geometry_service_pb2_grpc.py index 5713c67..b698647 100644 --- a/python/epl_protobuf/epl/protobuf/v1/geometry_service_pb2_grpc.py +++ b/python/epl_protobuf_v1/epl/protobuf/v1/geometry_service_pb2_grpc.py @@ -1,4 +1,5 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from epl.protobuf.v1 import geometry_pb2 as epl_dot_protobuf_dot_v1_dot_geometry__pb2 @@ -146,6 +147,7 @@ def Operate(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -154,7 +156,7 @@ def Operate(request, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def OperateBiStream(request_iterator, @@ -162,6 +164,7 @@ def OperateBiStream(request_iterator, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -170,7 +173,7 @@ def OperateBiStream(request_iterator, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def OperateBiStreamFlow(request_iterator, @@ -178,6 +181,7 @@ def OperateBiStreamFlow(request_iterator, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -186,7 +190,7 @@ def OperateBiStreamFlow(request_iterator, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def OperateServerStream(request, @@ -194,6 +198,7 @@ def OperateServerStream(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -202,7 +207,7 @@ def OperateServerStream(request, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def OperateClientStream(request_iterator, @@ -210,6 +215,7 @@ def OperateClientStream(request_iterator, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -218,7 +224,7 @@ def OperateClientStream(request_iterator, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FileOperateBiStreamFlow(request_iterator, @@ -226,6 +232,7 @@ def FileOperateBiStreamFlow(request_iterator, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -234,4 +241,4 @@ def FileOperateBiStreamFlow(request_iterator, epl_dot_protobuf_dot_v1_dot_geometry__pb2.FileRequestChunk.SerializeToString, epl_dot_protobuf_dot_v1_dot_geometry__pb2.GeometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/python/epl_protobuf/epl/protobuf/v1/query_pb2.py b/python/epl_protobuf_v1/epl/protobuf/v1/query_pb2.py similarity index 83% rename from python/epl_protobuf/epl/protobuf/v1/query_pb2.py rename to python/epl_protobuf_v1/epl/protobuf/v1/query_pb2.py index 645bbc9..a6fdff2 100644 --- a/python/epl_protobuf/epl/protobuf/v1/query_pb2.py +++ b/python/epl_protobuf_v1/epl/protobuf/v1/query_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: epl/protobuf/v1/query.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message @@ -20,6 +20,7 @@ package='epl.protobuf.v1', syntax='proto3', serialized_options=b'\n\023com.epl.protobuf.v1B\nQueryProtoP\001Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\242\002\003QPB\252\002\023com.epl.protobuf.v1', + create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x1b\x65pl/protobuf/v1/query.proto\x12\x0f\x65pl.protobuf.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc0\x01\n\x0b\x46loatFilter\x12\x35\n\x08rel_type\x18\x02 \x01(\x0e\x32#.epl.protobuf.v1.FilterRelationship\x12\x0f\n\x05value\x18\x01 \x01(\x02H\x00\x12\x0f\n\x05start\x18\x03 \x01(\x02H\x00\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x02\x12\x36\n\x0esort_direction\x18\x05 \x01(\x0e\x32\x1e.epl.protobuf.v1.SortDirection\x12\x0b\n\x03set\x18\x06 \x03(\x02\x42\x06\n\x04\x64\x61ta\"\xc1\x01\n\x0c\x44oubleFilter\x12\x35\n\x08rel_type\x18\x02 \x01(\x0e\x32#.epl.protobuf.v1.FilterRelationship\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x12\x0f\n\x05start\x18\x03 \x01(\x01H\x00\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x01\x12\x36\n\x0esort_direction\x18\x05 \x01(\x0e\x32\x1e.epl.protobuf.v1.SortDirection\x12\x0b\n\x03set\x18\x06 \x03(\x01\x42\x06\n\x04\x64\x61ta\"\x8b\x02\n\x0fTimestampFilter\x12\x35\n\x08rel_type\x18\x02 \x01(\x0e\x32#.epl.protobuf.v1.FilterRelationship\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12+\n\x05start\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\'\n\x03\x65nd\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0esort_direction\x18\x05 \x01(\x0e\x32\x1e.epl.protobuf.v1.SortDirectionB\x06\n\x04\x64\x61ta\"\xc1\x01\n\x0cUInt32Filter\x12\x35\n\x08rel_type\x18\x02 \x01(\x0e\x32#.epl.protobuf.v1.FilterRelationship\x12\x0f\n\x05value\x18\x01 \x01(\rH\x00\x12\x0f\n\x05start\x18\x03 \x01(\rH\x00\x12\x0b\n\x03\x65nd\x18\x04 \x01(\r\x12\x36\n\x0esort_direction\x18\x05 \x01(\x0e\x32\x1e.epl.protobuf.v1.SortDirection\x12\x0b\n\x03set\x18\x06 \x03(\rB\x06\n\x04\x64\x61ta\"a\n\x0cStringFilter\x12\r\n\x05value\x18\x01 \x01(\t\x12\x35\n\x08rel_type\x18\x02 \x01(\x0e\x32#.epl.protobuf.v1.FilterRelationship\x12\x0b\n\x03set\x18\x06 \x03(\t*2\n\rSortDirection\x12\x0e\n\nNOT_SORTED\x10\x00\x12\x08\n\x04\x44\x45SC\x10\x01\x12\x07\n\x03\x41SC\x10\x02*\x96\x01\n\x12\x46ilterRelationship\x12\x06\n\x02\x45Q\x10\x00\x12\x07\n\x03LTE\x10\x02\x12\x07\n\x03GTE\x10\x04\x12\x06\n\x02LT\x10\x08\x12\x06\n\x02GT\x10\x10\x12\x0b\n\x07\x42\x45TWEEN\x10 \x12\x0f\n\x0bNOT_BETWEEN\x10@\x12\x08\n\x03NEQ\x10\x80\x01\x12\x07\n\x02IN\x10\x80\x02\x12\x0b\n\x06NOT_IN\x10\x80\x04\x12\t\n\x04LIKE\x10\x80\x08\x12\r\n\x08NOT_LIKE\x10\x80\x10\x42o\n\x13\x63om.epl.protobuf.v1B\nQueryProtoP\x01Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\xa2\x02\x03QPB\xaa\x02\x13\x63om.epl.protobuf.v1b\x06proto3' , dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) @@ -29,19 +30,23 @@ full_name='epl.protobuf.v1.SortDirection', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='NOT_SORTED', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DESC', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='ASC', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -56,55 +61,68 @@ full_name='epl.protobuf.v1.FilterRelationship', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='EQ', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LTE', index=1, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GTE', index=2, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LT', index=3, number=8, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GT', index=4, number=16, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='BETWEEN', index=5, number=32, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NOT_BETWEEN', index=6, number=64, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NEQ', index=7, number=128, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IN', index=8, number=256, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NOT_IN', index=9, number=512, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LIKE', index=10, number=1024, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NOT_LIKE', index=11, number=2048, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -138,6 +156,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='rel_type', full_name='epl.protobuf.v1.FloatFilter.rel_type', index=0, @@ -145,42 +164,42 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='epl.protobuf.v1.FloatFilter.value', index=1, number=1, type=2, cpp_type=6, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start', full_name='epl.protobuf.v1.FloatFilter.start', index=2, number=3, type=2, cpp_type=6, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end', full_name='epl.protobuf.v1.FloatFilter.end', index=3, number=4, type=2, cpp_type=6, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sort_direction', full_name='epl.protobuf.v1.FloatFilter.sort_direction', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='set', full_name='epl.protobuf.v1.FloatFilter.set', index=5, number=6, type=2, cpp_type=6, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -194,7 +213,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='data', full_name='epl.protobuf.v1.FloatFilter.data', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=82, serialized_end=274, @@ -207,6 +228,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='rel_type', full_name='epl.protobuf.v1.DoubleFilter.rel_type', index=0, @@ -214,42 +236,42 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='epl.protobuf.v1.DoubleFilter.value', index=1, number=1, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start', full_name='epl.protobuf.v1.DoubleFilter.start', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end', full_name='epl.protobuf.v1.DoubleFilter.end', index=3, number=4, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sort_direction', full_name='epl.protobuf.v1.DoubleFilter.sort_direction', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='set', full_name='epl.protobuf.v1.DoubleFilter.set', index=5, number=6, type=1, cpp_type=5, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -263,7 +285,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='data', full_name='epl.protobuf.v1.DoubleFilter.data', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=277, serialized_end=470, @@ -276,6 +300,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='rel_type', full_name='epl.protobuf.v1.TimestampFilter.rel_type', index=0, @@ -283,35 +308,35 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='epl.protobuf.v1.TimestampFilter.value', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start', full_name='epl.protobuf.v1.TimestampFilter.start', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end', full_name='epl.protobuf.v1.TimestampFilter.end', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sort_direction', full_name='epl.protobuf.v1.TimestampFilter.sort_direction', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -325,7 +350,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='data', full_name='epl.protobuf.v1.TimestampFilter.data', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=473, serialized_end=740, @@ -338,6 +365,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='rel_type', full_name='epl.protobuf.v1.UInt32Filter.rel_type', index=0, @@ -345,42 +373,42 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='epl.protobuf.v1.UInt32Filter.value', index=1, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start', full_name='epl.protobuf.v1.UInt32Filter.start', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end', full_name='epl.protobuf.v1.UInt32Filter.end', index=3, number=4, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sort_direction', full_name='epl.protobuf.v1.UInt32Filter.sort_direction', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='set', full_name='epl.protobuf.v1.UInt32Filter.set', index=5, number=6, type=13, cpp_type=3, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -394,7 +422,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='data', full_name='epl.protobuf.v1.UInt32Filter.data', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=743, serialized_end=936, @@ -407,6 +437,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='value', full_name='epl.protobuf.v1.StringFilter.value', index=0, @@ -414,21 +445,21 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='rel_type', full_name='epl.protobuf.v1.StringFilter.rel_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='set', full_name='epl.protobuf.v1.StringFilter.set', index=2, number=6, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], diff --git a/python/epl_protobuf/epl/protobuf/v1/stac_pb2.py b/python/epl_protobuf_v1/epl/protobuf/v1/stac_pb2.py similarity index 82% rename from python/epl_protobuf/epl/protobuf/v1/stac_pb2.py rename to python/epl_protobuf_v1/epl/protobuf/v1/stac_pb2.py index 61c065f..eb4ef0b 100644 --- a/python/epl_protobuf/epl/protobuf/v1/stac_pb2.py +++ b/python/epl_protobuf_v1/epl/protobuf/v1/stac_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: epl/protobuf/v1/stac.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message @@ -24,6 +24,7 @@ package='epl.protobuf.v1', syntax='proto3', serialized_options=b'\n\023com.epl.protobuf.v1B\tStacProtoP\001Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\242\002\004STPB\252\002\023com.epl.protobuf.v1', + create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x1a\x65pl/protobuf/v1/stac.proto\x12\x0f\x65pl.protobuf.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19google/protobuf/any.proto\x1a\x1e\x65pl/protobuf/v1/geometry.proto\x1a\x1b\x65pl/protobuf/v1/query.proto\"\xe1\x02\n\nCollection\x12\x14\n\x0cstac_version\x18\x01 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x10\n\x08keywords\x18\x06 \x03(\t\x12\x0f\n\x07license\x18\x07 \x01(\t\x12,\n\tproviders\x18\x08 \x03(\x0b\x32\x19.epl.protobuf.v1.Provider\x12\'\n\x06\x65xtent\x18\t \x01(\x0b\x32\x17.epl.protobuf.v1.Extent\x12=\n\tsummaries\x18\n \x03(\x0b\x32*.epl.protobuf.v1.Collection.SummariesEntry\x1aH\n\x0eSummariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.epl.protobuf.v1.Stats:\x02\x38\x01J\x04\x08\x02\x10\x03J\x04\x08\x0b\x10\x0c\"\x8e\x01\n\x11\x43ollectionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12-\n\x04\x62\x62ox\x18\x02 \x01(\x0b\x32\x1d.epl.protobuf.v1.EnvelopeDataH\x00\x12\x33\n\nintersects\x18\x03 \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryDataH\x00\x42\t\n\x07spatial\"\x07\n\x05Stats\"e\n\x06\x45xtent\x12.\n\x07spatial\x18\x01 \x03(\x0b\x32\x1d.epl.protobuf.v1.EnvelopeData\x12+\n\x08temporal\x18\x02 \x03(\x0b\x32\x19.epl.protobuf.v1.Interval\"^\n\x08Interval\x12)\n\x05start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03\x65nd\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"I\n\x08Provider\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05roles\x18\x03 \x03(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\"\xcf\n\n\x08StacItem\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x12\n\ncollection\x18\x03 \x01(\t\x12(\n\nproperties\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x35\n\x06\x61ssets\x18\x05 \x03(\x0b\x32%.epl.protobuf.v1.StacItem.AssetsEntry\x12/\n\x08geometry\x18\x06 \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryData\x12+\n\x04\x62\x62ox\x18\x07 \x01(\x0b\x32\x1d.epl.protobuf.v1.EnvelopeData\x12.\n\x08\x64\x61tetime\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x34\n\x0estart_datetime\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12.\n\x08observed\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x12\x37\n\x11start_observation\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x12\x30\n\x0c\x65nd_datetime\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65nd_observation\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x63reated\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07updated\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\x04proj\x18\x10 \x01(\x0b\x32\x1f.epl.protobuf.v1.ProjectionData\x12\x30\n\rplatform_enum\x18\x11 \x01(\x0e\x32\x19.epl.protobuf.v1.Platform\x12\x10\n\x08platform\x18\x12 \x01(\t\x12\x34\n\x0finstrument_enum\x18\x13 \x01(\x0e\x32\x1b.epl.protobuf.v1.Instrument\x12\x12\n\ninstrument\x18\x14 \x01(\t\x12:\n\x12\x63onstellation_enum\x18\x15 \x01(\x0e\x32\x1e.epl.protobuf.v1.Constellation\x12\x15\n\rconstellation\x18\x16 \x01(\t\x12.\n\x0cmission_enum\x18\x17 \x01(\x0e\x32\x18.epl.protobuf.v1.Mission\x12\x0f\n\x07mission\x18\x18 \x01(\t\x12(\n\x03gsd\x18\x19 \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12\x14\n\x0cstac_version\x18\x1a \x01(\t\x12\x17\n\x0fstac_pb_version\x18\x1b \x01(\t\x12\x17\n\x0fstac_extensions\x18\x1c \x03(\t\x12\x1f\n\x02\x65o\x18\x1d \x01(\x0b\x32\x13.epl.protobuf.v1.Eo\x12#\n\x04view\x18\" \x01(\x0b\x32\x15.epl.protobuf.v1.View\x12)\n\x07landsat\x18\x1f \x01(\x0b\x32\x18.epl.protobuf.v1.Landsat\x12\'\n\x06mosaic\x18 \x01(\x0b\x32\x17.epl.protobuf.v1.Mosaic\x1a\x45\n\x0b\x41ssetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.epl.protobuf.v1.Asset:\x02\x38\x01\x42\x15\n\x13temporal_deprecatedB\n\n\x08temporal\"\xc0\x08\n\x0bStacRequest\x12\r\n\x05limit\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0c\n\x02id\x18\x03 \x01(\tH\x00\x12\x33\n\nid_complex\x18\x04 \x01(\x0b\x32\x1d.epl.protobuf.v1.StringFilterH\x00\x12\x12\n\ncollection\x18\x05 \x01(\t\x12(\n\nproperties\x18\x06 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x33\n\nintersects\x18\x07 \x01(\x0b\x32\x1d.epl.protobuf.v1.GeometryDataH\x01\x12-\n\x04\x62\x62ox\x18\x08 \x01(\x0b\x32\x1d.epl.protobuf.v1.EnvelopeDataH\x01\x12<\n\x10geometry_request\x18\t \x01(\x0b\x32 .epl.protobuf.v1.GeometryRequestH\x01\x12\x34\n\x08\x64\x61tetime\x18\n \x01(\x0b\x32 .epl.protobuf.v1.TimestampFilterH\x02\x12\x34\n\x08observed\x18\x0b \x01(\x0b\x32 .epl.protobuf.v1.TimestampFilterH\x02\x12\x31\n\x07\x63reated\x18\x0c \x01(\x0b\x32 .epl.protobuf.v1.TimestampFilter\x12\x31\n\x07updated\x18\r \x01(\x0b\x32 .epl.protobuf.v1.TimestampFilter\x12-\n\x04proj\x18\x0e \x01(\x0b\x32\x1f.epl.protobuf.v1.ProjectionData\x12\x30\n\rplatform_enum\x18\x0f \x01(\x0e\x32\x19.epl.protobuf.v1.Platform\x12\x34\n\x0finstrument_enum\x18\x11 \x01(\x0e\x32\x1b.epl.protobuf.v1.Instrument\x12:\n\x12\x63onstellation_enum\x18\x13 \x01(\x0e\x32\x1e.epl.protobuf.v1.Constellation\x12.\n\x0cmission_enum\x18\x15 \x01(\x0e\x32\x18.epl.protobuf.v1.Mission\x12)\n\x03gsd\x18\x17 \x01(\x0b\x32\x1c.epl.protobuf.v1.FloatFilter\x12&\n\x02\x65o\x18\x18 \x01(\x0b\x32\x1a.epl.protobuf.v1.EoRequest\x12*\n\x04view\x18\x19 \x01(\x0b\x32\x1c.epl.protobuf.v1.ViewRequest\x12\x30\n\x07landsat\x18\x1a \x01(\x0b\x32\x1f.epl.protobuf.v1.LandsatRequest\x12.\n\x06mosaic\x18\x1b \x01(\x0b\x32\x1e.epl.protobuf.v1.MosaicRequestB\n\n\x08identityB\t\n\x07spatialB\n\n\x08temporalJ\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x14\x10\x15J\x04\x08\x16\x10\x17\"\x80\x02\n\x04View\x12.\n\toff_nadir\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12\x34\n\x0fincidence_angle\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12,\n\x07\x61zimuth\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12\x30\n\x0bsun_azimuth\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12\x32\n\rsun_elevation\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.FloatValue\"\x8c\x02\n\x0bViewRequest\x12/\n\toff_nadir\x18\x01 \x01(\x0b\x32\x1c.epl.protobuf.v1.FloatFilter\x12\x35\n\x0fincidence_angle\x18\x02 \x01(\x0b\x32\x1c.epl.protobuf.v1.FloatFilter\x12-\n\x07\x61zimuth\x18\x03 \x01(\x0b\x32\x1c.epl.protobuf.v1.FloatFilter\x12\x31\n\x0bsun_azimuth\x18\x04 \x01(\x0b\x32\x1c.epl.protobuf.v1.FloatFilter\x12\x33\n\rsun_elevation\x18\x05 \x01(\x0b\x32\x1c.epl.protobuf.v1.FloatFilter\"\xdb\x01\n\x03Sat\x12\x34\n\x0erelative_orbit\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x34\n\x0borbit_state\x18\x01 \x01(\x0e\x32\x1f.epl.protobuf.v1.Sat.OrbitState\"h\n\nOrbitState\x12\x16\n\x12UKNOWN_ORBIT_STATE\x10\x00\x12\x13\n\x0f\x41SCENDING_ORBIT\x10\x01\x12\x14\n\x10\x44\x45SCENDING_ORBIT\x10\x02\x12\x17\n\x13GEOSTATIONARY_ORBIT\x10\x03\"Z\n\nSatRequest\x12\x16\n\x0erelative_orbit\x18\x06 \x01(\r\x12\x34\n\x0borbit_state\x18\x01 \x01(\x0e\x32\x1f.epl.protobuf.v1.Sat.OrbitState\"\x97\x02\n\x02\x45o\x12\x30\n\x0b\x63loud_cover\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12\'\n\x05\x62\x61nds\x18\x02 \x01(\x0e\x32\x18.epl.protobuf.v1.Eo.Band\"\xb5\x01\n\x04\x42\x61nd\x12\x10\n\x0cUNKNOWN_BAND\x10\x00\x12\x0b\n\x07\x43OASTAL\x10\x02\x12\x08\n\x04\x42LUE\x10\x04\x12\t\n\x05GREEN\x10\x08\x12\x07\n\x03RED\x10\x10\x12\x07\n\x03RGB\x10\x1c\x12\x07\n\x03NIR\x10 \x12\t\n\x05NIR_2\x10!\x12\t\n\x05RGBIR\x10<\x12\n\n\x06SWIR_1\x10@\x12\x0b\n\x06SWIR_2\x10\x80\x01\x12\x08\n\x03PAN\x10\x80\x02\x12\x0b\n\x06\x43IRRUS\x10\x80\x04\x12\x0b\n\x06LWIR_1\x10\x80\x08\x12\x0b\n\x06LWIR_2\x10\x80\x10\"g\n\tEoRequest\x12\x31\n\x0b\x63loud_cover\x18\x01 \x01(\x0b\x32\x1c.epl.protobuf.v1.FloatFilter\x12\'\n\x05\x62\x61nds\x18\x02 \x01(\x0e\x32\x18.epl.protobuf.v1.Eo.Band\"\xa3\x02\n\x05\x41sset\x12\x0c\n\x04href\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12*\n\x08\x65o_bands\x18\x03 \x01(\x0e\x32\x18.epl.protobuf.v1.Eo.Band\x12.\n\nasset_type\x18\x04 \x01(\x0e\x32\x1a.epl.protobuf.v1.AssetType\x12\x36\n\x0e\x63loud_platform\x18\x05 \x01(\x0e\x32\x1e.epl.protobuf.v1.CloudPlatform\x12\x16\n\x0e\x62ucket_manager\x18\x06 \x01(\t\x12\x15\n\rbucket_region\x18\x07 \x01(\t\x12\x0e\n\x06\x62ucket\x18\x08 \x01(\t\x12\x13\n\x0bobject_path\x18\t \x01(\t\x12\x16\n\x0erequester_pays\x18\n \x01(\x08\"c\n\rDatetimeRange\x12)\n\x05start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03\x65nd\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"U\n\x0eStacDbResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x13\n\x0bstatus_code\x18\x02 \x01(\x05\x12\x0f\n\x07\x64\x61ta_id\x18\x03 \x01(\t\x12\r\n\x05\x63ount\x18\x04 \x01(\x04\"\x9c\x01\n\x03Sar\x12/\n\x08platform\x18\x01 \x01(\x0e\x32\x1d.epl.protobuf.v1.Sar.Platform\">\n\x08Platform\x12\x14\n\x10UNKNOWN_PLATFORM\x10\x00\x12\x0b\n\x07\x45NVISAT\x10\x01\x12\x0f\n\x0bSENTINEL_1A\x10\x02\"$\n\nInstrument\x12\x16\n\x12UNKNOWN_INSTRUMENT\x10\x00\"\xf0\x03\n\x07Landsat\x12\x10\n\x08scene_id\x18\x01 \x01(\t\x12\x12\n\nproduct_id\x18\x02 \x01(\t\x12\x42\n\x10processing_level\x18\x03 \x01(\x0e\x32(.epl.protobuf.v1.Landsat.ProcessingLevel\x12\x10\n\x08wrs_path\x18\x04 \x01(\x05\x12\x0f\n\x07wrs_row\x18\x05 \x01(\x05\x12\x35\n\x10\x63loud_cover_land\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12\x32\n\x08wrs_type\x18\x07 \x01(\x0e\x32 .epl.protobuf.v1.Landsat.WRSType\"]\n\x12\x43ollectionCategory\x12\x1f\n\x1bUNKNOWN_COLLECTION_CATEGORY\x10\x00\x12\x06\n\x02\x41\x31\x10\x01\x12\x06\n\x02\x41\x32\x10\x02\x12\x06\n\x02T1\x10\x03\x12\x06\n\x02T2\x10\x04\x12\x06\n\x02RT\x10\x05\"-\n\x07WRSType\x12\x0e\n\nUKNOWN_WRS\x10\x00\x12\x08\n\x04WRS1\x10\x01\x12\x08\n\x04WRS2\x10\x02\"_\n\x0fProcessingLevel\x12\x1c\n\x18UNKNOWN_PROCESSING_LEVEL\x10\x00\x12\x07\n\x03L1G\x10\x01\x12\x08\n\x04L1TP\x10\x02\x12\x07\n\x03L1T\x10\x03\x12\x08\n\x04L1GT\x10\x04\x12\x08\n\x04L1GS\x10\x05\"\xd5\x01\n\x0eLandsatRequest\x12\x10\n\x08scene_id\x18\x01 \x01(\t\x12\x12\n\nproduct_id\x18\x02 \x01(\t\x12\x42\n\x10processing_level\x18\x03 \x01(\x0e\x32(.epl.protobuf.v1.Landsat.ProcessingLevel\x12\x10\n\x08wrs_path\x18\x04 \x01(\x05\x12\x0f\n\x07wrs_row\x18\x05 \x01(\x05\x12\x36\n\x10\x63loud_cover_land\x18\x06 \x01(\x0b\x32\x1c.epl.protobuf.v1.FloatFilter\"\x8a\x01\n\x06Mosaic\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08quad_key\x18\x02 \x01(\t\x12\r\n\x05zooms\x18\x03 \x03(\x05\x12\x39\n\x11observation_range\x18\x04 \x01(\x0b\x32\x1e.epl.protobuf.v1.DatetimeRange\x12\x16\n\x0eprovenance_ids\x18\x05 \x03(\t\"/\n\rMosaicRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08quad_key\x18\x02 \x01(\t*\xea\x01\n\tAssetType\x12\x11\n\rUNKNOWN_ASSET\x10\x00\x12\x08\n\x04JPEG\x10\x01\x12\x0b\n\x07GEOTIFF\x10\x02\x12\x08\n\x04LERC\x10\x03\x12\x07\n\x03MRF\x10\x04\x12\x0b\n\x07MRF_IDX\x10\x05\x12\x0b\n\x07MRF_XML\x10\x06\x12\x0e\n\nCO_GEOTIFF\x10\x07\x12\x07\n\x03RAW\x10\x08\x12\r\n\tTHUMBNAIL\x10\t\x12\x08\n\x04TIFF\x10\n\x12\r\n\tJPEG_2000\x10\x0b\x12\x07\n\x03XML\x10\x0c\x12\x07\n\x03TXT\x10\r\x12\x07\n\x03PNG\x10\x0e\x12\x0c\n\x08OVERVIEW\x10\x0f\x12\x08\n\x04JSON\x10\x10\x12\x08\n\x04HTML\x10\x11\x12\x08\n\x04WEBP\x10\x12*Q\n\rCloudPlatform\x12\x1a\n\x16UNKNOWN_CLOUD_PLATFORM\x10\x00\x12\x07\n\x03\x41WS\x10\x01\x12\x07\n\x03GCP\x10\x02\x12\t\n\x05\x41ZURE\x10\x03\x12\x07\n\x03IBM\x10\x04*\xc7\x01\n\x08Platform\x12\x14\n\x10UNKNOWN_PLATFORM\x10\x00\x12\r\n\tLANDSAT_1\x10\x02\x12\r\n\tLANDSAT_2\x10\x04\x12\r\n\tLANDSAT_3\x10\x08\x12\x0f\n\x0bLANDSAT_123\x10\x0e\x12\r\n\tLANDSAT_4\x10\x10\x12\r\n\tLANDSAT_5\x10 \x12\x0e\n\nLANDSAT_45\x10\x30\x12\r\n\tLANDSAT_7\x10@\x12\x0e\n\tLANDSAT_8\x10\x80\x01\x12\x0c\n\x07SWIFT_2\x10\x80\x02\x12\x0c\n\x07SWIFT_3\x10\x80\x04*v\n\nInstrument\x12\x16\n\x12UNKNOWN_INSTRUMENT\x10\x00\x12\x07\n\x03OLI\x10\x02\x12\x08\n\x04TIRS\x10\x04\x12\x0c\n\x08OLI_TIRS\x10\x06\x12\t\n\x05POM_1\x10\x08\x12\x06\n\x02TM\x10\x10\x12\x07\n\x03\x45TM\x10 \x12\x07\n\x03MSS\x10@\x12\n\n\x05POM_2\x10\x80\x01**\n\rConstellation\x12\x19\n\x15UNKNOWN_CONSTELLATION\x10\x00*J\n\x07Mission\x12\x13\n\x0fUNKNOWN_MISSION\x10\x00\x12\x0b\n\x07LANDSAT\x10\x02\x12\x08\n\x04NAIP\x10\x04\x12\x08\n\x04PNOA\x10\x08\x12\t\n\x05SWIFT\x10\x10\x42o\n\x13\x63om.epl.protobuf.v1B\tStacProtoP\x01Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\xa2\x02\x04STPB\xaa\x02\x13\x63om.epl.protobuf.v1b\x06proto3' , dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,epl_dot_protobuf_dot_v1_dot_geometry__pb2.DESCRIPTOR,epl_dot_protobuf_dot_v1_dot_query__pb2.DESCRIPTOR,]) @@ -33,83 +34,103 @@ full_name='epl.protobuf.v1.AssetType', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_ASSET', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='JPEG', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GEOTIFF', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LERC', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='MRF', index=4, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='MRF_IDX', index=5, number=5, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='MRF_XML', index=6, number=6, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CO_GEOTIFF', index=7, number=7, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='RAW', index=8, number=8, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='THUMBNAIL', index=9, number=9, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TIFF', index=10, number=10, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='JPEG_2000', index=11, number=11, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='XML', index=12, number=12, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TXT', index=13, number=13, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PNG', index=14, number=14, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='OVERVIEW', index=15, number=15, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='JSON', index=16, number=16, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='HTML', index=17, number=17, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='WEBP', index=18, number=18, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -124,27 +145,33 @@ full_name='epl.protobuf.v1.CloudPlatform', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_CLOUD_PLATFORM', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='AWS', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GCP', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='AZURE', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IBM', index=4, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -159,55 +186,68 @@ full_name='epl.protobuf.v1.Platform', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_PLATFORM', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_1', index=1, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_2', index=2, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_3', index=3, number=8, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_123', index=4, number=14, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_4', index=5, number=16, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_5', index=6, number=32, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_45', index=7, number=48, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_7', index=8, number=64, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT_8', index=9, number=128, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SWIFT_2', index=10, number=256, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SWIFT_3', index=11, number=512, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -222,43 +262,53 @@ full_name='epl.protobuf.v1.Instrument', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_INSTRUMENT', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='OLI', index=1, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TIRS', index=2, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='OLI_TIRS', index=3, number=6, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='POM_1', index=4, number=8, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TM', index=5, number=16, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='ETM', index=6, number=32, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='MSS', index=7, number=64, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='POM_2', index=8, number=128, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -273,11 +323,13 @@ full_name='epl.protobuf.v1.Constellation', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_CONSTELLATION', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -292,27 +344,33 @@ full_name='epl.protobuf.v1.Mission', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_MISSION', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LANDSAT', index=1, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NAIP', index=2, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PNOA', index=3, number=8, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SWIFT', index=4, number=16, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -380,23 +438,28 @@ full_name='epl.protobuf.v1.Sat.OrbitState', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UKNOWN_ORBIT_STATE', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='ASCENDING_ORBIT', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DESCENDING_ORBIT', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GEOSTATIONARY_ORBIT', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -410,67 +473,83 @@ full_name='epl.protobuf.v1.Eo.Band', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_BAND', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='COASTAL', index=1, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='BLUE', index=2, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GREEN', index=3, number=8, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='RED', index=4, number=16, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='RGB', index=5, number=28, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NIR', index=6, number=32, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NIR_2', index=7, number=33, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='RGBIR', index=8, number=60, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SWIR_1', index=9, number=64, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SWIR_2', index=10, number=128, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PAN', index=11, number=256, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CIRRUS', index=12, number=512, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LWIR_1', index=13, number=1024, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LWIR_2', index=14, number=2048, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -484,19 +563,23 @@ full_name='epl.protobuf.v1.Sar.Platform', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_PLATFORM', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='ENVISAT', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SENTINEL_1A', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -510,11 +593,13 @@ full_name='epl.protobuf.v1.Sar.Instrument', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_INSTRUMENT', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -528,31 +613,38 @@ full_name='epl.protobuf.v1.Landsat.CollectionCategory', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_COLLECTION_CATEGORY', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='A1', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='A2', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='T1', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='T2', index=4, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='RT', index=5, number=5, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -566,19 +658,23 @@ full_name='epl.protobuf.v1.Landsat.WRSType', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UKNOWN_WRS', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='WRS1', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='WRS2', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -592,31 +688,38 @@ full_name='epl.protobuf.v1.Landsat.ProcessingLevel', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_PROCESSING_LEVEL', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='L1G', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='L1TP', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='L1T', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='L1GT', index=4, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='L1GS', index=5, number=5, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -632,6 +735,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='epl.protobuf.v1.Collection.SummariesEntry.key', index=0, @@ -639,14 +743,14 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='epl.protobuf.v1.Collection.SummariesEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -669,6 +773,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='stac_version', full_name='epl.protobuf.v1.Collection.stac_version', index=0, @@ -676,63 +781,63 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='id', full_name='epl.protobuf.v1.Collection.id', index=1, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='title', full_name='epl.protobuf.v1.Collection.title', index=2, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='description', full_name='epl.protobuf.v1.Collection.description', index=3, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='keywords', full_name='epl.protobuf.v1.Collection.keywords', index=4, number=6, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='license', full_name='epl.protobuf.v1.Collection.license', index=5, number=7, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='providers', full_name='epl.protobuf.v1.Collection.providers', index=6, number=8, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='extent', full_name='epl.protobuf.v1.Collection.extent', index=7, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='summaries', full_name='epl.protobuf.v1.Collection.summaries', index=8, number=10, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -756,6 +861,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='id', full_name='epl.protobuf.v1.CollectionRequest.id', index=0, @@ -763,21 +869,21 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bbox', full_name='epl.protobuf.v1.CollectionRequest.bbox', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='intersects', full_name='epl.protobuf.v1.CollectionRequest.intersects', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -791,7 +897,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='spatial', full_name='epl.protobuf.v1.CollectionRequest.spatial', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=557, serialized_end=699, @@ -804,6 +912,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ @@ -828,6 +937,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='spatial', full_name='epl.protobuf.v1.Extent.spatial', index=0, @@ -835,14 +945,14 @@ has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='temporal', full_name='epl.protobuf.v1.Extent.temporal', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -866,6 +976,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='start', full_name='epl.protobuf.v1.Interval.start', index=0, @@ -873,14 +984,14 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end', full_name='epl.protobuf.v1.Interval.end', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -904,6 +1015,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='name', full_name='epl.protobuf.v1.Provider.name', index=0, @@ -911,28 +1023,28 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='description', full_name='epl.protobuf.v1.Provider.description', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='roles', full_name='epl.protobuf.v1.Provider.roles', index=2, number=3, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='url', full_name='epl.protobuf.v1.Provider.url', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -956,6 +1068,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='epl.protobuf.v1.StacItem.AssetsEntry.key', index=0, @@ -963,14 +1076,14 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='epl.protobuf.v1.StacItem.AssetsEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -993,6 +1106,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='id', full_name='epl.protobuf.v1.StacItem.id', index=0, @@ -1000,224 +1114,224 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='title', full_name='epl.protobuf.v1.StacItem.title', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='collection', full_name='epl.protobuf.v1.StacItem.collection', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='properties', full_name='epl.protobuf.v1.StacItem.properties', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='assets', full_name='epl.protobuf.v1.StacItem.assets', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='geometry', full_name='epl.protobuf.v1.StacItem.geometry', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bbox', full_name='epl.protobuf.v1.StacItem.bbox', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='datetime', full_name='epl.protobuf.v1.StacItem.datetime', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start_datetime', full_name='epl.protobuf.v1.StacItem.start_datetime', index=8, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='observed', full_name='epl.protobuf.v1.StacItem.observed', index=9, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start_observation', full_name='epl.protobuf.v1.StacItem.start_observation', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end_datetime', full_name='epl.protobuf.v1.StacItem.end_datetime', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end_observation', full_name='epl.protobuf.v1.StacItem.end_observation', index=12, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='created', full_name='epl.protobuf.v1.StacItem.created', index=13, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='updated', full_name='epl.protobuf.v1.StacItem.updated', index=14, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='proj', full_name='epl.protobuf.v1.StacItem.proj', index=15, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='platform_enum', full_name='epl.protobuf.v1.StacItem.platform_enum', index=16, number=17, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='platform', full_name='epl.protobuf.v1.StacItem.platform', index=17, number=18, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='instrument_enum', full_name='epl.protobuf.v1.StacItem.instrument_enum', index=18, number=19, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='instrument', full_name='epl.protobuf.v1.StacItem.instrument', index=19, number=20, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='constellation_enum', full_name='epl.protobuf.v1.StacItem.constellation_enum', index=20, number=21, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='constellation', full_name='epl.protobuf.v1.StacItem.constellation', index=21, number=22, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='mission_enum', full_name='epl.protobuf.v1.StacItem.mission_enum', index=22, number=23, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='mission', full_name='epl.protobuf.v1.StacItem.mission', index=23, number=24, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='gsd', full_name='epl.protobuf.v1.StacItem.gsd', index=24, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='stac_version', full_name='epl.protobuf.v1.StacItem.stac_version', index=25, number=26, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='stac_pb_version', full_name='epl.protobuf.v1.StacItem.stac_pb_version', index=26, number=27, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='stac_extensions', full_name='epl.protobuf.v1.StacItem.stac_extensions', index=27, number=28, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='eo', full_name='epl.protobuf.v1.StacItem.eo', index=28, number=29, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='view', full_name='epl.protobuf.v1.StacItem.view', index=29, number=34, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='landsat', full_name='epl.protobuf.v1.StacItem.landsat', index=30, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='mosaic', full_name='epl.protobuf.v1.StacItem.mosaic', index=31, number=32, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1231,10 +1345,14 @@ oneofs=[ _descriptor.OneofDescriptor( name='temporal_deprecated', full_name='epl.protobuf.v1.StacItem.temporal_deprecated', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), _descriptor.OneofDescriptor( name='temporal', full_name='epl.protobuf.v1.StacItem.temporal', - index=1, containing_type=None, fields=[]), + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=985, serialized_end=2344, @@ -1247,6 +1365,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='limit', full_name='epl.protobuf.v1.StacRequest.limit', index=0, @@ -1254,161 +1373,161 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='offset', full_name='epl.protobuf.v1.StacRequest.offset', index=1, number=2, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='id', full_name='epl.protobuf.v1.StacRequest.id', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='id_complex', full_name='epl.protobuf.v1.StacRequest.id_complex', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='collection', full_name='epl.protobuf.v1.StacRequest.collection', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='properties', full_name='epl.protobuf.v1.StacRequest.properties', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='intersects', full_name='epl.protobuf.v1.StacRequest.intersects', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bbox', full_name='epl.protobuf.v1.StacRequest.bbox', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='geometry_request', full_name='epl.protobuf.v1.StacRequest.geometry_request', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='datetime', full_name='epl.protobuf.v1.StacRequest.datetime', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='observed', full_name='epl.protobuf.v1.StacRequest.observed', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='created', full_name='epl.protobuf.v1.StacRequest.created', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='updated', full_name='epl.protobuf.v1.StacRequest.updated', index=12, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='proj', full_name='epl.protobuf.v1.StacRequest.proj', index=13, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='platform_enum', full_name='epl.protobuf.v1.StacRequest.platform_enum', index=14, number=15, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='instrument_enum', full_name='epl.protobuf.v1.StacRequest.instrument_enum', index=15, number=17, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='constellation_enum', full_name='epl.protobuf.v1.StacRequest.constellation_enum', index=16, number=19, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='mission_enum', full_name='epl.protobuf.v1.StacRequest.mission_enum', index=17, number=21, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='gsd', full_name='epl.protobuf.v1.StacRequest.gsd', index=18, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='eo', full_name='epl.protobuf.v1.StacRequest.eo', index=19, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='view', full_name='epl.protobuf.v1.StacRequest.view', index=20, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='landsat', full_name='epl.protobuf.v1.StacRequest.landsat', index=21, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='mosaic', full_name='epl.protobuf.v1.StacRequest.mosaic', index=22, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1422,13 +1541,19 @@ oneofs=[ _descriptor.OneofDescriptor( name='identity', full_name='epl.protobuf.v1.StacRequest.identity', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), _descriptor.OneofDescriptor( name='spatial', full_name='epl.protobuf.v1.StacRequest.spatial', - index=1, containing_type=None, fields=[]), + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), _descriptor.OneofDescriptor( name='temporal', full_name='epl.protobuf.v1.StacRequest.temporal', - index=2, containing_type=None, fields=[]), + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=2347, serialized_end=3435, @@ -1441,6 +1566,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='off_nadir', full_name='epl.protobuf.v1.View.off_nadir', index=0, @@ -1448,35 +1574,35 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='incidence_angle', full_name='epl.protobuf.v1.View.incidence_angle', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='azimuth', full_name='epl.protobuf.v1.View.azimuth', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sun_azimuth', full_name='epl.protobuf.v1.View.sun_azimuth', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sun_elevation', full_name='epl.protobuf.v1.View.sun_elevation', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1500,6 +1626,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='off_nadir', full_name='epl.protobuf.v1.ViewRequest.off_nadir', index=0, @@ -1507,35 +1634,35 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='incidence_angle', full_name='epl.protobuf.v1.ViewRequest.incidence_angle', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='azimuth', full_name='epl.protobuf.v1.ViewRequest.azimuth', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sun_azimuth', full_name='epl.protobuf.v1.ViewRequest.sun_azimuth', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sun_elevation', full_name='epl.protobuf.v1.ViewRequest.sun_elevation', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1559,6 +1686,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='relative_orbit', full_name='epl.protobuf.v1.Sat.relative_orbit', index=0, @@ -1566,14 +1694,14 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orbit_state', full_name='epl.protobuf.v1.Sat.orbit_state', index=1, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1598,6 +1726,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='relative_orbit', full_name='epl.protobuf.v1.SatRequest.relative_orbit', index=0, @@ -1605,14 +1734,14 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='orbit_state', full_name='epl.protobuf.v1.SatRequest.orbit_state', index=1, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1636,6 +1765,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='cloud_cover', full_name='epl.protobuf.v1.Eo.cloud_cover', index=0, @@ -1643,14 +1773,14 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bands', full_name='epl.protobuf.v1.Eo.bands', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1675,6 +1805,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='cloud_cover', full_name='epl.protobuf.v1.EoRequest.cloud_cover', index=0, @@ -1682,14 +1813,14 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bands', full_name='epl.protobuf.v1.EoRequest.bands', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1713,6 +1844,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='href', full_name='epl.protobuf.v1.Asset.href', index=0, @@ -1720,70 +1852,70 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='type', full_name='epl.protobuf.v1.Asset.type', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='eo_bands', full_name='epl.protobuf.v1.Asset.eo_bands', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='asset_type', full_name='epl.protobuf.v1.Asset.asset_type', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cloud_platform', full_name='epl.protobuf.v1.Asset.cloud_platform', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bucket_manager', full_name='epl.protobuf.v1.Asset.bucket_manager', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bucket_region', full_name='epl.protobuf.v1.Asset.bucket_region', index=6, number=7, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bucket', full_name='epl.protobuf.v1.Asset.bucket', index=7, number=8, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='object_path', full_name='epl.protobuf.v1.Asset.object_path', index=8, number=9, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='requester_pays', full_name='epl.protobuf.v1.Asset.requester_pays', index=9, number=10, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1807,6 +1939,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='start', full_name='epl.protobuf.v1.DatetimeRange.start', index=0, @@ -1814,14 +1947,14 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end', full_name='epl.protobuf.v1.DatetimeRange.end', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1845,6 +1978,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='status', full_name='epl.protobuf.v1.StacDbResponse.status', index=0, @@ -1852,28 +1986,28 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='status_code', full_name='epl.protobuf.v1.StacDbResponse.status_code', index=1, number=2, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='data_id', full_name='epl.protobuf.v1.StacDbResponse.data_id', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='count', full_name='epl.protobuf.v1.StacDbResponse.count', index=3, number=4, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1897,6 +2031,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='platform', full_name='epl.protobuf.v1.Sar.platform', index=0, @@ -1904,7 +2039,7 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1930,6 +2065,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='scene_id', full_name='epl.protobuf.v1.Landsat.scene_id', index=0, @@ -1937,49 +2073,49 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='product_id', full_name='epl.protobuf.v1.Landsat.product_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='processing_level', full_name='epl.protobuf.v1.Landsat.processing_level', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='wrs_path', full_name='epl.protobuf.v1.Landsat.wrs_path', index=3, number=4, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='wrs_row', full_name='epl.protobuf.v1.Landsat.wrs_row', index=4, number=5, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cloud_cover_land', full_name='epl.protobuf.v1.Landsat.cloud_cover_land', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='wrs_type', full_name='epl.protobuf.v1.Landsat.wrs_type', index=6, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -2006,6 +2142,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='scene_id', full_name='epl.protobuf.v1.LandsatRequest.scene_id', index=0, @@ -2013,42 +2150,42 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='product_id', full_name='epl.protobuf.v1.LandsatRequest.product_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='processing_level', full_name='epl.protobuf.v1.LandsatRequest.processing_level', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='wrs_path', full_name='epl.protobuf.v1.LandsatRequest.wrs_path', index=3, number=4, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='wrs_row', full_name='epl.protobuf.v1.LandsatRequest.wrs_row', index=4, number=5, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cloud_cover_land', full_name='epl.protobuf.v1.LandsatRequest.cloud_cover_land', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -2072,6 +2209,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='name', full_name='epl.protobuf.v1.Mosaic.name', index=0, @@ -2079,35 +2217,35 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='quad_key', full_name='epl.protobuf.v1.Mosaic.quad_key', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='zooms', full_name='epl.protobuf.v1.Mosaic.zooms', index=2, number=3, type=5, cpp_type=1, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='observation_range', full_name='epl.protobuf.v1.Mosaic.observation_range', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='provenance_ids', full_name='epl.protobuf.v1.Mosaic.provenance_ids', index=4, number=5, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -2131,6 +2269,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='name', full_name='epl.protobuf.v1.MosaicRequest.name', index=0, @@ -2138,14 +2277,14 @@ has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='quad_key', full_name='epl.protobuf.v1.MosaicRequest.quad_key', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], diff --git a/python/epl_protobuf_v1/epl/protobuf/v1/stac_service_pb2.py b/python/epl_protobuf_v1/epl/protobuf/v1/stac_service_pb2.py new file mode 100644 index 0000000..6a2559a --- /dev/null +++ b/python/epl_protobuf_v1/epl/protobuf/v1/stac_service_pb2.py @@ -0,0 +1,149 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: epl/protobuf/v1/stac_service.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from epl.protobuf.v1 import stac_pb2 as epl_dot_protobuf_dot_v1_dot_stac__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='epl/protobuf/v1/stac_service.proto', + package='epl.protobuf.v1', + syntax='proto3', + serialized_options=b'\n\023com.epl.protobuf.v1B\020StacServiceProtoP\001Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\242\002\003STS\252\002\023com.epl.protobuf.v1', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\"epl/protobuf/v1/stac_service.proto\x12\x0f\x65pl.protobuf.v1\x1a\x1a\x65pl/protobuf/v1/stac.proto2\xb4\x06\n\x0bStacService\x12J\n\x0bSearchItems\x12\x1c.epl.protobuf.v1.StacRequest\x1a\x19.epl.protobuf.v1.StacItem\"\x00\x30\x01\x12X\n\x11SearchCollections\x12\".epl.protobuf.v1.CollectionRequest\x1a\x1b.epl.protobuf.v1.Collection\"\x00\x30\x01\x12O\n\x0bInsertItems\x12\x19.epl.protobuf.v1.StacItem\x1a\x1f.epl.protobuf.v1.StacDbResponse\"\x00(\x01\x30\x01\x12O\n\x0bUpdateItems\x12\x19.epl.protobuf.v1.StacItem\x1a\x1f.epl.protobuf.v1.StacDbResponse\"\x00(\x01\x30\x01\x12M\n\nCountItems\x12\x1c.epl.protobuf.v1.StacRequest\x1a\x1f.epl.protobuf.v1.StacDbResponse\"\x00\x12M\n\rDeleteOneItem\x12\x19.epl.protobuf.v1.StacItem\x1a\x1f.epl.protobuf.v1.StacDbResponse\"\x00\x12J\n\rSearchOneItem\x12\x1c.epl.protobuf.v1.StacRequest\x1a\x19.epl.protobuf.v1.StacItem\"\x00\x12M\n\rInsertOneItem\x12\x19.epl.protobuf.v1.StacItem\x1a\x1f.epl.protobuf.v1.StacDbResponse\"\x00\x12U\n\x13InsertOneCollection\x12\x1b.epl.protobuf.v1.Collection\x1a\x1f.epl.protobuf.v1.StacDbResponse\"\x00\x12M\n\rUpdateOneItem\x12\x19.epl.protobuf.v1.StacItem\x1a\x1f.epl.protobuf.v1.StacDbResponse\"\x00\x42u\n\x13\x63om.epl.protobuf.v1B\x10StacServiceProtoP\x01Z.github.com/geo-grpc/api/golang/epl/protobuf/v1\xa2\x02\x03STS\xaa\x02\x13\x63om.epl.protobuf.v1b\x06proto3' + , + dependencies=[epl_dot_protobuf_dot_v1_dot_stac__pb2.DESCRIPTOR,]) + + + +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + + +DESCRIPTOR._options = None + +_STACSERVICE = _descriptor.ServiceDescriptor( + name='StacService', + full_name='epl.protobuf.v1.StacService', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=84, + serialized_end=904, + methods=[ + _descriptor.MethodDescriptor( + name='SearchItems', + full_name='epl.protobuf.v1.StacService.SearchItems', + index=0, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACITEM, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='SearchCollections', + full_name='epl.protobuf.v1.StacService.SearchCollections', + index=1, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._COLLECTIONREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._COLLECTION, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='InsertItems', + full_name='epl.protobuf.v1.StacService.InsertItems', + index=2, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACITEM, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACDBRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='UpdateItems', + full_name='epl.protobuf.v1.StacService.UpdateItems', + index=3, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACITEM, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACDBRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='CountItems', + full_name='epl.protobuf.v1.StacService.CountItems', + index=4, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACDBRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DeleteOneItem', + full_name='epl.protobuf.v1.StacService.DeleteOneItem', + index=5, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACITEM, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACDBRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='SearchOneItem', + full_name='epl.protobuf.v1.StacService.SearchOneItem', + index=6, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACREQUEST, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACITEM, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='InsertOneItem', + full_name='epl.protobuf.v1.StacService.InsertOneItem', + index=7, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACITEM, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACDBRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='InsertOneCollection', + full_name='epl.protobuf.v1.StacService.InsertOneCollection', + index=8, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._COLLECTION, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACDBRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='UpdateOneItem', + full_name='epl.protobuf.v1.StacService.UpdateOneItem', + index=9, + containing_service=None, + input_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACITEM, + output_type=epl_dot_protobuf_dot_v1_dot_stac__pb2._STACDBRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_STACSERVICE) + +DESCRIPTOR.services_by_name['StacService'] = _STACSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/python/epl_protobuf/epl/protobuf/v1/stac_service_pb2_grpc.py b/python/epl_protobuf_v1/epl/protobuf/v1/stac_service_pb2_grpc.py similarity index 93% rename from python/epl_protobuf/epl/protobuf/v1/stac_service_pb2_grpc.py rename to python/epl_protobuf_v1/epl/protobuf/v1/stac_service_pb2_grpc.py index 5af119f..3064ef5 100644 --- a/python/epl_protobuf/epl/protobuf/v1/stac_service_pb2_grpc.py +++ b/python/epl_protobuf_v1/epl/protobuf/v1/stac_service_pb2_grpc.py @@ -1,4 +1,5 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from epl.protobuf.v1 import stac_pb2 as epl_dot_protobuf_dot_v1_dot_stac__pb2 @@ -81,7 +82,7 @@ def SearchItems(self, request, context): raise NotImplementedError('Method not implemented!') def SearchCollections(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -221,6 +222,7 @@ def SearchItems(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -229,7 +231,7 @@ def SearchItems(request, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacItem.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SearchCollections(request, @@ -237,6 +239,7 @@ def SearchCollections(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -245,7 +248,7 @@ def SearchCollections(request, epl_dot_protobuf_dot_v1_dot_stac__pb2.CollectionRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.Collection.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InsertItems(request_iterator, @@ -253,6 +256,7 @@ def InsertItems(request_iterator, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -261,7 +265,7 @@ def InsertItems(request_iterator, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacItem.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacDbResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateItems(request_iterator, @@ -269,6 +273,7 @@ def UpdateItems(request_iterator, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -277,7 +282,7 @@ def UpdateItems(request_iterator, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacItem.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacDbResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CountItems(request, @@ -285,6 +290,7 @@ def CountItems(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -293,7 +299,7 @@ def CountItems(request, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacDbResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteOneItem(request, @@ -301,6 +307,7 @@ def DeleteOneItem(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -309,7 +316,7 @@ def DeleteOneItem(request, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacItem.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacDbResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SearchOneItem(request, @@ -317,6 +324,7 @@ def SearchOneItem(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -325,7 +333,7 @@ def SearchOneItem(request, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacRequest.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacItem.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InsertOneItem(request, @@ -333,6 +341,7 @@ def InsertOneItem(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -341,7 +350,7 @@ def InsertOneItem(request, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacItem.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacDbResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InsertOneCollection(request, @@ -349,6 +358,7 @@ def InsertOneCollection(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -357,7 +367,7 @@ def InsertOneCollection(request, epl_dot_protobuf_dot_v1_dot_stac__pb2.Collection.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacDbResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateOneItem(request, @@ -365,6 +375,7 @@ def UpdateOneItem(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -373,4 +384,4 @@ def UpdateOneItem(request, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacItem.SerializeToString, epl_dot_protobuf_dot_v1_dot_stac__pb2.StacDbResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/python/epl_protobuf/requirements.txt b/python/epl_protobuf_v1/requirements.txt similarity index 100% rename from python/epl_protobuf/requirements.txt rename to python/epl_protobuf_v1/requirements.txt diff --git a/python/epl_protobuf/setup.py b/python/epl_protobuf_v1/setup.py similarity index 100% rename from python/epl_protobuf/setup.py rename to python/epl_protobuf_v1/setup.py