# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tpu_info/proto/tpu_metric_service.proto
# Protobuf Python Version: 5.26.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 symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google_smi.proto import tpu_telemetry_pb2 as tpu__info_dot_proto_dot_tpu__telemetry__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'tpu_info/proto/tpu_metric_service.proto\x12\x16tpu.monitoring.runtime\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\"tpu_info/proto/tpu_telemetry.proto\"\x7f\n\x08\x45xemplar\x12\r\n\x05value\x18\x01 \x01(\x01\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\nattributes\x18\x03 \x03(\x0b\x32!.tpu.monitoring.runtime.Attribute\"\xd7\x07\n\x0c\x44istribution\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0c\n\x04mean\x18\x02 \x01(\x01\x12\x0b\n\x03min\x18\x03 \x01(\x01\x12\x0b\n\x03max\x18\x04 \x01(\x01\x12 \n\x18sum_of_squared_deviation\x18\x05 \x01(\x01\x12J\n\x0e\x62ucket_options\x18\x06 \x01(\x0b\x32\x32.tpu.monitoring.runtime.Distribution.BucketOptions\x12\x15\n\rbucket_counts\x18\x07 \x03(\x03\x12\x33\n\texemplars\x18\x08 \x03(\x0b\x32 .tpu.monitoring.runtime.Exemplar\x1a\xd5\x05\n\rBucketOptions\x12Y\n\x0fregular_buckets\x18\x01 \x01(\x0b\x32:.tpu.monitoring.runtime.Distribution.BucketOptions.RegularB\x02\x18\x01H\x00\x12]\n\x13\x65xponential_buckets\x18\x02 \x01(\x0b\x32>.tpu.monitoring.runtime.Distribution.BucketOptions.ExponentialH\x00\x12W\n\x10\x65xplicit_buckets\x18\x03 \x01(\x0b\x32;.tpu.monitoring.runtime.Distribution.BucketOptions.ExplicitH\x00\x12S\n\x0elinear_buckets\x18\x04 \x01(\x0b\x32\x39.tpu.monitoring.runtime.Distribution.BucketOptions.LinearH\x00\x1as\n\x07Regular\x12\x1a\n\x12num_finite_buckets\x18\x01 \x01(\x05\x12H\n\x06\x62ounds\x18\x02 \x03(\x0b\x32\x38.tpu.monitoring.runtime.Distribution.BucketOptions.Bound:\x02\x18\x01\x1aO\n\x0b\x45xponential\x12\x1a\n\x12num_finite_buckets\x18\x01 \x01(\x05\x12\x15\n\rgrowth_factor\x18\x02 \x01(\x01\x12\r\n\x05scale\x18\x03 \x01(\x01\x1a*\n\x05\x42ound\x12\r\n\x05width\x18\x01 \x01(\x01\x12\x0e\n\x06offset\x18\x02 \x01(\x01:\x02\x18\x01\x1a\x43\n\x06Linear\x12\x1a\n\x12num_finite_buckets\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x01\x12\x0e\n\x06offset\x18\x03 \x01(\x01\x1a\x1a\n\x08\x45xplicit\x12\x0e\n\x06\x62ounds\x18\x01 \x03(\x01\x42\t\n\x07options\"_\n\x05Gauge\x12\x13\n\tas_double\x18\x01 \x01(\x01H\x00\x12\x10\n\x06\x61s_int\x18\x02 \x01(\x03H\x00\x12\x13\n\tas_string\x18\x03 \x01(\tH\x00\x12\x11\n\x07\x61s_bool\x18\x04 \x01(\x08H\x00\x42\x07\n\x05value\"m\n\x07\x43ounter\x12\x13\n\tas_double\x18\x01 \x01(\x01H\x00\x12\x10\n\x06\x61s_int\x18\x02 \x01(\x04H\x00\x12\x32\n\x08\x65xemplar\x18\x03 \x01(\x0b\x32 .tpu.monitoring.runtime.ExemplarB\x07\n\x05value\"+\n\x08Quantile\x12\x10\n\x08quantile\x18\x01 \x01(\x01\x12\r\n\x05value\x18\x02 \x01(\x01\"g\n\x07Summary\x12\x14\n\x0csample_count\x18\x01 \x01(\x04\x12\x12\n\nsample_sum\x18\x02 \x01(\x01\x12\x32\n\x08quantile\x18\x03 \x03(\x0b\x32 .tpu.monitoring.runtime.Quantile\"\xfb\x01\n\tAttrValue\x12\x15\n\x0bstring_attr\x18\x01 \x01(\tH\x00\x12\x13\n\tbool_attr\x18\x02 \x01(\x08H\x00\x12\x12\n\x08int_attr\x18\x03 \x01(\x03H\x00\x12\x15\n\x0b\x64ouble_attr\x18\x04 \x01(\x01H\x00\x12<\n\narray_attr\x18\x05 \x01(\x0b\x32&.tpu.monitoring.runtime.ArrayAttrValueH\x00\x12;\n\x0bkvlist_attr\x18\x06 \x01(\x0b\x32$.tpu.monitoring.runtime.KeyValueListH\x00\x12\x14\n\nbytes_attr\x18\x07 \x01(\x0cH\x00\x42\x06\n\x04\x61ttr\"B\n\x0e\x41rrayAttrValue\x12\x30\n\x05\x61ttrs\x18\x01 \x03(\x0b\x32!.tpu.monitoring.runtime.AttrValue\"E\n\x0cKeyValueList\x12\x35\n\nattributes\x18\x01 \x03(\x0b\x32!.tpu.monitoring.runtime.Attribute\"J\n\tAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.tpu.monitoring.runtime.AttrValue\"\x83\x03\n\x06Metric\x12\x34\n\tattribute\x18\x01 \x01(\x0b\x32!.tpu.monitoring.runtime.Attribute\x12\x33\n\x0fstart_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\x05gauge\x18\x03 \x01(\x0b\x32\x1d.tpu.monitoring.runtime.GaugeH\x00\x12\x32\n\x07\x63ounter\x18\x04 \x01(\x0b\x32\x1f.tpu.monitoring.runtime.CounterH\x00\x12<\n\x0c\x64istribution\x18\x05 \x01(\x0b\x32$.tpu.monitoring.runtime.DistributionH\x00\x12\x32\n\x07summary\x18\x06 \x01(\x0b\x32\x1f.tpu.monitoring.runtime.SummaryH\x00\x42\t\n\x07measure\"_\n\tTPUMetric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12/\n\x07metrics\x18\x03 \x03(\x0b\x32\x1e.tpu.monitoring.runtime.Metric\"C\n\rMetricRequest\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x12\x1d\n\x15skip_node_aggregation\x18\x02 \x01(\x08\"C\n\x0eMetricResponse\x12\x31\n\x06metric\x18\x01 \x01(\x0b\x32!.tpu.monitoring.runtime.TPUMetric\"-\n\x1bListSupportedMetricsRequest\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\"&\n\x0fSupportedMetric\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\"a\n\x1cListSupportedMetricsResponse\x12\x41\n\x10supported_metric\x18\x01 \x03(\x0b\x32\'.tpu.monitoring.runtime.SupportedMetric\"6\n\x1aGetTpuRuntimeStatusRequest\x12\x18\n\x10include_hlo_info\x18\x01 \x01(\x08\"\xf8\x01\n\x1bGetTpuRuntimeStatusResponse\x12\x16\n\thost_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12X\n\x0b\x63ore_states\x18\x02 \x03(\x0b\x32\x43.tpu.monitoring.runtime.GetTpuRuntimeStatusResponse.CoreStatesEntry\x1aY\n\x0f\x43oreStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.tpu_telemetry.CurrentCoreStateSummary:\x02\x38\x01\x42\x0c\n\n_host_name2\x80\x03\n\x14RuntimeMetricService\x12\x61\n\x10GetRuntimeMetric\x12%.tpu.monitoring.runtime.MetricRequest\x1a&.tpu.monitoring.runtime.MetricResponse\x12\x81\x01\n\x14ListSupportedMetrics\x12\x33.tpu.monitoring.runtime.ListSupportedMetricsRequest\x1a\x34.tpu.monitoring.runtime.ListSupportedMetricsResponse\x12\x80\x01\n\x13GetTpuRuntimeStatus\x12\x32.tpu.monitoring.runtime.GetTpuRuntimeStatusRequest\x1a\x33.tpu.monitoring.runtime.GetTpuRuntimeStatusResponse\"\x00\x42:\n/com.google.tpu.monitoring.runtime.service.protoP\x01\xa2\x02\x04GRPCb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google_smi.proto.tpu_metric_service_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n/com.google.tpu.monitoring.runtime.service.protoP\001\242\002\004GRPC'
  _globals['_DISTRIBUTION_BUCKETOPTIONS_REGULAR']._loaded_options = None
  _globals['_DISTRIBUTION_BUCKETOPTIONS_REGULAR']._serialized_options = b'\030\001'
  _globals['_DISTRIBUTION_BUCKETOPTIONS_BOUND']._loaded_options = None
  _globals['_DISTRIBUTION_BUCKETOPTIONS_BOUND']._serialized_options = b'\030\001'
  _globals['_DISTRIBUTION_BUCKETOPTIONS'].fields_by_name['regular_buckets']._loaded_options = None
  _globals['_DISTRIBUTION_BUCKETOPTIONS'].fields_by_name['regular_buckets']._serialized_options = b'\030\001'
  _globals['_GETTPURUNTIMESTATUSRESPONSE_CORESTATESENTRY']._loaded_options = None
  _globals['_GETTPURUNTIMESTATUSRESPONSE_CORESTATESENTRY']._serialized_options = b'8\001'
  _globals['_EXEMPLAR']._serialized_start=136
  _globals['_EXEMPLAR']._serialized_end=263
  _globals['_DISTRIBUTION']._serialized_start=266
  _globals['_DISTRIBUTION']._serialized_end=1249
  _globals['_DISTRIBUTION_BUCKETOPTIONS']._serialized_start=524
  _globals['_DISTRIBUTION_BUCKETOPTIONS']._serialized_end=1249
  _globals['_DISTRIBUTION_BUCKETOPTIONS_REGULAR']._serialized_start=901
  _globals['_DISTRIBUTION_BUCKETOPTIONS_REGULAR']._serialized_end=1016
  _globals['_DISTRIBUTION_BUCKETOPTIONS_EXPONENTIAL']._serialized_start=1018
  _globals['_DISTRIBUTION_BUCKETOPTIONS_EXPONENTIAL']._serialized_end=1097
  _globals['_DISTRIBUTION_BUCKETOPTIONS_BOUND']._serialized_start=1099
  _globals['_DISTRIBUTION_BUCKETOPTIONS_BOUND']._serialized_end=1141
  _globals['_DISTRIBUTION_BUCKETOPTIONS_LINEAR']._serialized_start=1143
  _globals['_DISTRIBUTION_BUCKETOPTIONS_LINEAR']._serialized_end=1210
  _globals['_DISTRIBUTION_BUCKETOPTIONS_EXPLICIT']._serialized_start=1212
  _globals['_DISTRIBUTION_BUCKETOPTIONS_EXPLICIT']._serialized_end=1238
  _globals['_GAUGE']._serialized_start=1251
  _globals['_GAUGE']._serialized_end=1346
  _globals['_COUNTER']._serialized_start=1348
  _globals['_COUNTER']._serialized_end=1457
  _globals['_QUANTILE']._serialized_start=1459
  _globals['_QUANTILE']._serialized_end=1502
  _globals['_SUMMARY']._serialized_start=1504
  _globals['_SUMMARY']._serialized_end=1607
  _globals['_ATTRVALUE']._serialized_start=1610
  _globals['_ATTRVALUE']._serialized_end=1861
  _globals['_ARRAYATTRVALUE']._serialized_start=1863
  _globals['_ARRAYATTRVALUE']._serialized_end=1929
  _globals['_KEYVALUELIST']._serialized_start=1931
  _globals['_KEYVALUELIST']._serialized_end=2000
  _globals['_ATTRIBUTE']._serialized_start=2002
  _globals['_ATTRIBUTE']._serialized_end=2076
  _globals['_METRIC']._serialized_start=2079
  _globals['_METRIC']._serialized_end=2466
  _globals['_TPUMETRIC']._serialized_start=2468
  _globals['_TPUMETRIC']._serialized_end=2563
  _globals['_METRICREQUEST']._serialized_start=2565
  _globals['_METRICREQUEST']._serialized_end=2632
  _globals['_METRICRESPONSE']._serialized_start=2634
  _globals['_METRICRESPONSE']._serialized_end=2701
  _globals['_LISTSUPPORTEDMETRICSREQUEST']._serialized_start=2703
  _globals['_LISTSUPPORTEDMETRICSREQUEST']._serialized_end=2748
  _globals['_SUPPORTEDMETRIC']._serialized_start=2750
  _globals['_SUPPORTEDMETRIC']._serialized_end=2788
  _globals['_LISTSUPPORTEDMETRICSRESPONSE']._serialized_start=2790
  _globals['_LISTSUPPORTEDMETRICSRESPONSE']._serialized_end=2887
  _globals['_GETTPURUNTIMESTATUSREQUEST']._serialized_start=2889
  _globals['_GETTPURUNTIMESTATUSREQUEST']._serialized_end=2943
  _globals['_GETTPURUNTIMESTATUSRESPONSE']._serialized_start=2946
  _globals['_GETTPURUNTIMESTATUSRESPONSE']._serialized_end=3194
  _globals['_GETTPURUNTIMESTATUSRESPONSE_CORESTATESENTRY']._serialized_start=3091
  _globals['_GETTPURUNTIMESTATUSRESPONSE_CORESTATESENTRY']._serialized_end=3180
  _globals['_RUNTIMEMETRICSERVICE']._serialized_start=3197
  _globals['_RUNTIMEMETRICSERVICE']._serialized_end=3581
# @@protoc_insertion_point(module_scope)
