# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: temporal/api/worker/v1/message.proto
"""Generated protocol buffer code."""

from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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 google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2

from temporalio.api.deployment.v1 import (
    message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2,
)
from temporalio.api.enums.v1 import (
    common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2,
)

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a"temporal/api/enums/v1/common.proto"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05"\x8c\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x13\n\x0bprocess_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02"\xcf\t\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32".temporal.api.worker.v1.PluginInfo"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\tB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3'
)


_WORKERPOLLERINFO = DESCRIPTOR.message_types_by_name["WorkerPollerInfo"]
_WORKERSLOTSINFO = DESCRIPTOR.message_types_by_name["WorkerSlotsInfo"]
_WORKERHOSTINFO = DESCRIPTOR.message_types_by_name["WorkerHostInfo"]
_WORKERHEARTBEAT = DESCRIPTOR.message_types_by_name["WorkerHeartbeat"]
_WORKERINFO = DESCRIPTOR.message_types_by_name["WorkerInfo"]
_PLUGININFO = DESCRIPTOR.message_types_by_name["PluginInfo"]
WorkerPollerInfo = _reflection.GeneratedProtocolMessageType(
    "WorkerPollerInfo",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKERPOLLERINFO,
        "__module__": "temporalio.api.worker.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerPollerInfo)
    },
)
_sym_db.RegisterMessage(WorkerPollerInfo)

WorkerSlotsInfo = _reflection.GeneratedProtocolMessageType(
    "WorkerSlotsInfo",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKERSLOTSINFO,
        "__module__": "temporalio.api.worker.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerSlotsInfo)
    },
)
_sym_db.RegisterMessage(WorkerSlotsInfo)

WorkerHostInfo = _reflection.GeneratedProtocolMessageType(
    "WorkerHostInfo",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKERHOSTINFO,
        "__module__": "temporalio.api.worker.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHostInfo)
    },
)
_sym_db.RegisterMessage(WorkerHostInfo)

WorkerHeartbeat = _reflection.GeneratedProtocolMessageType(
    "WorkerHeartbeat",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKERHEARTBEAT,
        "__module__": "temporalio.api.worker.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHeartbeat)
    },
)
_sym_db.RegisterMessage(WorkerHeartbeat)

WorkerInfo = _reflection.GeneratedProtocolMessageType(
    "WorkerInfo",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKERINFO,
        "__module__": "temporalio.api.worker.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerInfo)
    },
)
_sym_db.RegisterMessage(WorkerInfo)

PluginInfo = _reflection.GeneratedProtocolMessageType(
    "PluginInfo",
    (_message.Message,),
    {
        "DESCRIPTOR": _PLUGININFO,
        "__module__": "temporalio.api.worker.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.PluginInfo)
    },
)
_sym_db.RegisterMessage(PluginInfo)

if _descriptor._USE_C_DESCRIPTORS == False:
    DESCRIPTOR._options = None
    DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1"
    _WORKERPOLLERINFO._serialized_start = 208
    _WORKERPOLLERINFO._serialized_end = 338
    _WORKERSLOTSINFO._serialized_start = 341
    _WORKERSLOTSINFO._serialized_end = 582
    _WORKERHOSTINFO._serialized_start = 585
    _WORKERHOSTINFO._serialized_end = 725
    _WORKERHEARTBEAT._serialized_start = 728
    _WORKERHEARTBEAT._serialized_end = 1959
    _WORKERINFO._serialized_start = 1961
    _WORKERINFO._serialized_end = 2040
    _PLUGININFO._serialized_start = 2042
    _PLUGININFO._serialized_end = 2085
# @@protoc_insertion_point(module_scope)
