# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: components/segmentation_platform/public/proto/model_metadata.proto
# Protobuf Python Version: 7.35.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    7,
    35,
    1,
    '',
    'components/segmentation_platform/public/proto/model_metadata.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from components.segmentation_platform.public.proto import aggregation_pb2 as components_dot_segmentation__platform_dot_public_dot_proto_dot_aggregation__pb2
from components.segmentation_platform.public.proto import output_config_pb2 as components_dot_segmentation__platform_dot_public_dot_proto_dot_output__config__pb2
from components.segmentation_platform.public.proto import types_pb2 as components_dot_segmentation__platform_dot_public_dot_proto_dot_types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nBcomponents/segmentation_platform/public/proto/model_metadata.proto\x12\x1bsegmentation_platform.proto\x1a?components/segmentation_platform/public/proto/aggregation.proto\x1a\x41\x63omponents/segmentation_platform/public/proto/output_config.proto\x1a\x39\x63omponents/segmentation_platform/public/proto/types.proto\"I\n\x0bVersionInfo\x12\x1c\n\x14metadata_min_version\x18\x01 \x01(\x05\x12\x1c\n\x14metadata_cur_version\x18\x02 \x01(\x05\"\xfa\x01\n\nUMAFeature\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.segmentation_platform.proto.SignalType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tname_hash\x18\x03 \x01(\x06\x12\x14\n\x0c\x62ucket_count\x18\x04 \x01(\x04\x12\x15\n\rtensor_length\x18\x05 \x01(\x04\x12=\n\x0b\x61ggregation\x18\x06 \x01(\x0e\x32(.segmentation_platform.proto.Aggregation\x12\x10\n\x08\x65num_ids\x18\x07 \x03(\x05\x12\x16\n\x0e\x64\x65\x66\x61ult_values\x18\x08 \x03(\x02\"\x88\x05\n\x0b\x43ustomInput\x12\x15\n\rtensor_length\x18\x01 \x01(\x05\x12H\n\x0b\x66ill_policy\x18\x02 \x01(\x0e\x32\x33.segmentation_platform.proto.CustomInput.FillPolicy\x12\x15\n\rdefault_value\x18\x03 \x03(\x02\x12U\n\x0f\x61\x64\x64itional_args\x18\x04 \x03(\x0b\x32<.segmentation_platform.proto.CustomInput.AdditionalArgsEntry\x12\x0c\n\x04name\x18\x05 \x01(\t\x1a\x35\n\x13\x41\x64\x64itionalArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe4\x02\n\nFillPolicy\x12\x17\n\x13UNKNOWN_FILL_POLICY\x10\x00\x12\x18\n\x14\x46ILL_PREDICTION_TIME\x10\x01\x12 \n\x1cTIME_RANGE_BEFORE_PREDICTION\x10\x02\x12\x18\n\x14PRICE_TRACKING_HINTS\x10\x03\x12\x1b\n\x17\x46ILL_FROM_INPUT_CONTEXT\x10\x04\x12\x19\n\x15\x46ILL_SYNC_DEVICE_INFO\x10\x05\x12\x16\n\x12\x46ILL_DEVICE_RAM_MB\x10\x06\x12!\n\x1d\x46ILL_DEVICE_OS_VERSION_NUMBER\x10\x07\x12\x13\n\x0f\x46ILL_DEVICE_PPI\x10\x08\x12\x14\n\x10\x46ILL_TAB_METRICS\x10\t\x12\x0f\n\x0b\x46ILL_RANDOM\x10\n\x12\x1e\n\x1a\x46ILL_FROM_SHOPPING_SERVICE\x10\x0b\x12\x18\n\x14\x46ILL_CLIENT_AGE_DAYS\x10\x0c\"\x9e\x01\n\x12SignalFilterConfig\x12L\n\nukm_events\x18\x01 \x03(\x0b\x32\x38.segmentation_platform.proto.SignalFilterConfig.UkmEvent\x1a:\n\x08UkmEvent\x12\x12\n\nevent_hash\x18\x01 \x01(\x04\x12\x1a\n\x12metric_hash_filter\x18\x02 \x03(\x04\"\xcd\x03\n\nSqlFeature\x12\x0b\n\x03sql\x18\x01 \x01(\t\x12\x46\n\rsignal_filter\x18\x02 \x01(\x0b\x32/.segmentation_platform.proto.SignalFilterConfig\x12\x46\n\x0b\x62ind_values\x18\x03 \x03(\x0b\x32\x31.segmentation_platform.proto.SqlFeature.BindValue\x12\x0c\n\x04name\x18\x04 \x01(\t\x1a\x93\x02\n\tBindValue\x12\x18\n\x10\x62ind_field_index\x18\x01 \x03(\x05\x12O\n\nparam_type\x18\x02 \x01(\x0e\x32;.segmentation_platform.proto.SqlFeature.BindValue.ParamType\x12\x37\n\x05value\x18\x03 \x01(\x0b\x32(.segmentation_platform.proto.CustomInput\"b\n\tParamType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04NULL\x10\x01\x12\x08\n\x04\x42OOL\x10\x02\x12\x07\n\x03INT\x10\x03\x12\t\n\x05INT64\x10\x04\x12\n\n\x06\x44OUBLE\x10\x05\x12\n\n\x06STRING\x10\x06\x12\x08\n\x04TIME\x10\x07\"\xdb\x01\n\x0cInputFeature\x12>\n\x0buma_feature\x18\x01 \x01(\x0b\x32\'.segmentation_platform.proto.UMAFeatureH\x00\x12@\n\x0c\x63ustom_input\x18\x02 \x01(\x0b\x32(.segmentation_platform.proto.CustomInputH\x00\x12>\n\x0bsql_feature\x18\x03 \x01(\x0b\x32\'.segmentation_platform.proto.SqlFeatureH\x00\x42\t\n\x07\x46\x65\x61ture\"\xf9\x04\n\x0fTrainingOutputs\x12<\n\x07outputs\x18\x01 \x03(\x0b\x32+.segmentation_platform.proto.TrainingOutput\x12R\n\x0etrigger_config\x18\x02 \x01(\x0b\x32:.segmentation_platform.proto.TrainingOutputs.TriggerConfig\x1a\xd3\x03\n\rTriggerConfig\x12^\n\rdecision_type\x18\x01 \x01(\x0e\x32G.segmentation_platform.proto.TrainingOutputs.TriggerConfig.DecisionType\x12j\n\x13observation_trigger\x18\x02 \x03(\x0b\x32M.segmentation_platform.proto.TrainingOutputs.TriggerConfig.ObservationTrigger\x12!\n\x19use_exact_prediction_time\x18\x03 \x01(\x08\x12%\n\x1duse_flexible_observation_time\x18\x04 \x01(\x08\x1as\n\x12ObservationTrigger\x12\x13\n\tdelay_sec\x18\x01 \x01(\x04H\x00\x12=\n\x0buma_trigger\x18\x02 \x01(\x0b\x32&.segmentation_platform.proto.UMAOutputH\x00\x42\t\n\x07trigger\"7\n\x0c\x44\x65\x63isionType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08ONDEMAND\x10\x01\x12\x0c\n\x08PERIODIC\x10\x02\"X\n\x0eTrainingOutput\x12<\n\numa_output\x18\x01 \x01(\x0b\x32&.segmentation_platform.proto.UMAOutputH\x00\x42\x08\n\x06output\"[\n\tUMAOutput\x12<\n\x0buma_feature\x18\x01 \x01(\x0b\x32\'.segmentation_platform.proto.UMAFeature\x12\x10\n\x08\x64uration\x18\x02 \x01(\x04\"\x87\n\n\x19SegmentationModelMetadata\x12>\n\x0cversion_info\x18\t \x01(\x0b\x32(.segmentation_platform.proto.VersionInfo\x12\x39\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\'.segmentation_platform.proto.UMAFeature\x12\x41\n\x0einput_features\x18\n \x03(\x0b\x32).segmentation_platform.proto.InputFeature\x12\x46\n\x10training_outputs\x18\x0b \x01(\x0b\x32,.segmentation_platform.proto.TrainingOutputs\x12\x38\n\ttime_unit\x18\x02 \x01(\x0e\x32%.segmentation_platform.proto.TimeUnit\x12\x17\n\x0f\x62ucket_duration\x18\x03 \x01(\x04\x12\x1d\n\x15signal_storage_length\x18\x04 \x01(\x03\x12$\n\x1cmin_signal_collection_length\x18\x05 \x01(\x03\x12\x1b\n\x13result_time_to_live\x18\x06 \x01(\x03\x12\"\n\x1a\x66ixed_prediction_timestamp\x18\x11 \x01(\x03\x12g\n\x11\x64iscrete_mappings\x18\x07 \x03(\x0b\x32L.segmentation_platform.proto.SegmentationModelMetadata.DiscreteMappingsEntry\x12 \n\x18\x64\x65\x66\x61ult_discrete_mapping\x18\x08 \x01(\t\x12\x16\n\x0eupload_tensors\x18\r \x01(\x08\x12]\n\x0breturn_type\x18\x0e \x01(\x0e\x32H.segmentation_platform.proto.SegmentationModelMetadata.OutputDescription\x12@\n\routput_config\x18\x10 \x01(\x0b\x32).segmentation_platform.proto.OutputConfig\x1a\x9b\x01\n\x0f\x44iscreteMapping\x12]\n\x07\x65ntries\x18\x01 \x03(\x0b\x32L.segmentation_platform.proto.SegmentationModelMetadata.DiscreteMapping.Entry\x1a)\n\x05\x45ntry\x12\x12\n\nmin_result\x18\x01 \x01(\x02\x12\x0c\n\x04rank\x18\x02 \x01(\x03\x1a\x7f\n\x15\x44iscreteMappingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12U\n\x05value\x18\x02 \x01(\x0b\x32\x46.segmentation_platform.proto.SegmentationModelMetadata.DiscreteMapping:\x02\x38\x01\"\x9b\x01\n\x11OutputDescription\x12\x17\n\x13UNKNOWN_RETURN_TYPE\x10\x00\x12\x19\n\x15RETURN_TYPE_HEURISTIC\x10\x01\x12\x1c\n\x18RETURN_TYPE_MULTISEGMENT\x10\x02\x12\x1b\n\x17RETURN_TYPE_PROBABILITY\x10\x03\x12\x17\n\x13RETURN_TYPE_INTEGER\x10\x04J\x04\x08\x0f\x10\x10J\x04\x08\x0c\x10\r*&\n\x0e\x43urrentVersion\x12\x14\n\x10METADATA_VERSION\x10\x03*Z\n\x0bModelSource\x12\x18\n\x14UNKNOWN_MODEL_SOURCE\x10\x00\x12\x17\n\x13SERVER_MODEL_SOURCE\x10\x01\x12\x18\n\x14\x44\x45\x46\x41ULT_MODEL_SOURCE\x10\x02\x42\x02H\x03')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'components.segmentation_platform.public.proto.model_metadata_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'H\003'
  _globals['_CUSTOMINPUT_ADDITIONALARGSENTRY']._loaded_options = None
  _globals['_CUSTOMINPUT_ADDITIONALARGSENTRY']._serialized_options = b'8\001'
  _globals['_SEGMENTATIONMODELMETADATA_DISCRETEMAPPINGSENTRY']._loaded_options = None
  _globals['_SEGMENTATIONMODELMETADATA_DISCRETEMAPPINGSENTRY']._serialized_options = b'8\001'
  _globals['_CURRENTVERSION']._serialized_start=4225
  _globals['_CURRENTVERSION']._serialized_end=4263
  _globals['_MODELSOURCE']._serialized_start=4265
  _globals['_MODELSOURCE']._serialized_end=4355
  _globals['_VERSIONINFO']._serialized_start=290
  _globals['_VERSIONINFO']._serialized_end=363
  _globals['_UMAFEATURE']._serialized_start=366
  _globals['_UMAFEATURE']._serialized_end=616
  _globals['_CUSTOMINPUT']._serialized_start=619
  _globals['_CUSTOMINPUT']._serialized_end=1267
  _globals['_CUSTOMINPUT_ADDITIONALARGSENTRY']._serialized_start=855
  _globals['_CUSTOMINPUT_ADDITIONALARGSENTRY']._serialized_end=908
  _globals['_CUSTOMINPUT_FILLPOLICY']._serialized_start=911
  _globals['_CUSTOMINPUT_FILLPOLICY']._serialized_end=1267
  _globals['_SIGNALFILTERCONFIG']._serialized_start=1270
  _globals['_SIGNALFILTERCONFIG']._serialized_end=1428
  _globals['_SIGNALFILTERCONFIG_UKMEVENT']._serialized_start=1370
  _globals['_SIGNALFILTERCONFIG_UKMEVENT']._serialized_end=1428
  _globals['_SQLFEATURE']._serialized_start=1431
  _globals['_SQLFEATURE']._serialized_end=1892
  _globals['_SQLFEATURE_BINDVALUE']._serialized_start=1617
  _globals['_SQLFEATURE_BINDVALUE']._serialized_end=1892
  _globals['_SQLFEATURE_BINDVALUE_PARAMTYPE']._serialized_start=1794
  _globals['_SQLFEATURE_BINDVALUE_PARAMTYPE']._serialized_end=1892
  _globals['_INPUTFEATURE']._serialized_start=1895
  _globals['_INPUTFEATURE']._serialized_end=2114
  _globals['_TRAININGOUTPUTS']._serialized_start=2117
  _globals['_TRAININGOUTPUTS']._serialized_end=2750
  _globals['_TRAININGOUTPUTS_TRIGGERCONFIG']._serialized_start=2283
  _globals['_TRAININGOUTPUTS_TRIGGERCONFIG']._serialized_end=2750
  _globals['_TRAININGOUTPUTS_TRIGGERCONFIG_OBSERVATIONTRIGGER']._serialized_start=2578
  _globals['_TRAININGOUTPUTS_TRIGGERCONFIG_OBSERVATIONTRIGGER']._serialized_end=2693
  _globals['_TRAININGOUTPUTS_TRIGGERCONFIG_DECISIONTYPE']._serialized_start=2695
  _globals['_TRAININGOUTPUTS_TRIGGERCONFIG_DECISIONTYPE']._serialized_end=2750
  _globals['_TRAININGOUTPUT']._serialized_start=2752
  _globals['_TRAININGOUTPUT']._serialized_end=2840
  _globals['_UMAOUTPUT']._serialized_start=2842
  _globals['_UMAOUTPUT']._serialized_end=2933
  _globals['_SEGMENTATIONMODELMETADATA']._serialized_start=2936
  _globals['_SEGMENTATIONMODELMETADATA']._serialized_end=4223
  _globals['_SEGMENTATIONMODELMETADATA_DISCRETEMAPPING']._serialized_start=3769
  _globals['_SEGMENTATIONMODELMETADATA_DISCRETEMAPPING']._serialized_end=3924
  _globals['_SEGMENTATIONMODELMETADATA_DISCRETEMAPPING_ENTRY']._serialized_start=3883
  _globals['_SEGMENTATIONMODELMETADATA_DISCRETEMAPPING_ENTRY']._serialized_end=3924
  _globals['_SEGMENTATIONMODELMETADATA_DISCRETEMAPPINGSENTRY']._serialized_start=3926
  _globals['_SEGMENTATIONMODELMETADATA_DISCRETEMAPPINGSENTRY']._serialized_end=4053
  _globals['_SEGMENTATIONMODELMETADATA_OUTPUTDESCRIPTION']._serialized_start=4056
  _globals['_SEGMENTATIONMODELMETADATA_OUTPUTDESCRIPTION']._serialized_end=4211
# @@protoc_insertion_point(module_scope)
