# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: metering.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
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 . import attestation_pb2 as attestation__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0emetering.proto\x12\x08metering\x1a\x11\x61ttestation.proto\"\xf8\x03\n\x0fMeteringRequest\x12/\n\tcreateDcr\x18\x01 \x01(\x0b\x32\x1a.metering.CreateDcrRequestH\x00\x12;\n\x0f\x63reateDcrCommit\x18\x02 \x01(\x0b\x32 .metering.CreateDcrCommitRequestH\x00\x12+\n\x07stopDcr\x18\x03 \x01(\x0b\x32\x18.metering.StopDcrRequestH\x00\x12\x39\n\x0epublishDataset\x18\x04 \x01(\x0b\x32\x1f.metering.PublishDatasetRequestH\x00\x12=\n\x10unpublishDataset\x18\x05 \x01(\x0b\x32!.metering.UnpublishDatasetRequestH\x00\x12\x39\n\x0eworkerMetadata\x18\x06 \x01(\x0b\x32\x1f.metering.WorkerMetadataRequestH\x00\x12O\n\x19submitWorkerExecutionTime\x18\x07 \x01(\x0b\x32*.metering.SubmitWorkerExecutionTimeRequestH\x00\x12\x39\n\x0e\x64\x63rInteraction\x18\x08 \x01(\x0b\x32\x1f.metering.DcrInteractionRequestH\x00\x42\t\n\x07request\"\x89\x04\n\x17MeteringSuccessResponse\x12\x30\n\tcreateDcr\x18\x01 \x01(\x0b\x32\x1b.metering.CreateDcrResponseH\x00\x12<\n\x0f\x63reateDcrCommit\x18\x02 \x01(\x0b\x32!.metering.CreateDcrCommitResponseH\x00\x12,\n\x07stopDcr\x18\x03 \x01(\x0b\x32\x19.metering.StopDcrResponseH\x00\x12:\n\x0epublishDataset\x18\x04 \x01(\x0b\x32 .metering.PublishDatasetResponseH\x00\x12>\n\x10unpublishDataset\x18\x05 \x01(\x0b\x32\".metering.UnpublishDatasetResponseH\x00\x12:\n\x0eworkerMetadata\x18\x06 \x01(\x0b\x32 .metering.WorkerMetadataResponseH\x00\x12P\n\x19submitWorkerExecutionTime\x18\x07 \x01(\x0b\x32+.metering.SubmitWorkerExecutionTimeResponseH\x00\x12:\n\x0e\x64\x63rInteraction\x18\x08 \x01(\x0b\x32 .metering.DcrInteractionResponseH\x00\x42\n\n\x08response\"g\n\x10MeteringResponse\x12\x34\n\x07success\x18\x01 \x01(\x0b\x32!.metering.MeteringSuccessResponseH\x00\x12\x11\n\x07\x66\x61ilure\x18\x02 \x01(\tH\x00\x42\n\n\x08response\"\x98\x01\n\x0b\x44\x63rMetadata\x12+\n\x07purpose\x18\x01 \x01(\x0e\x32\x1a.metering.CreateDcrPurpose\x12\x1c\n\x14showOrganizationLogo\x18\x02 \x01(\x08\x12\x17\n\x0frequirePassword\x18\x03 \x01(\x08\x12%\n\x04kind\x18\x04 \x01(\x0e\x32\x17.metering.CreateDcrKind\"\x8d\x01\n\x10\x43reateDcrRequest\x12\r\n\x05idHex\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x1d\n\x15\x64riverAttestationHash\x18\x03 \x01(\t\x12\x19\n\x11participantEmails\x18\x04 \x03(\t\x12\x15\n\x08metadata\x18\x05 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_metadata\"]\n\x15\x44\x63rInteractionRequest\x12\x14\n\x0c\x64\x61taRoomHash\x18\x01 \x01(\t\x12\x1d\n\x15\x64riverAttestationHash\x18\x02 \x01(\t\x12\x0f\n\x07scopeId\x18\x03 \x01(\t\"y\n\x15PublishDatasetRequest\x12\x15\n\rcomputeNodeId\x18\x01 \x01(\t\x12\x14\n\x0cmanifestHash\x18\x02 \x01(\t\x12\x14\n\x0c\x64\x61taRoomHash\x18\x03 \x01(\t\x12\x1d\n\x15\x64riverAttestationHash\x18\x04 \x01(\t\"e\n\x17UnpublishDatasetRequest\x12\x15\n\rcomputeNodeId\x18\x01 \x01(\t\x12\x14\n\x0c\x64\x61taRoomHash\x18\x02 \x01(\t\x12\x1d\n\x15\x64riverAttestationHash\x18\x03 \x01(\t\"E\n\x0eStopDcrRequest\x12\x14\n\x0c\x64\x61taRoomHash\x18\x01 \x01(\t\x12\x1d\n\x15\x64riverAttestationHash\x18\x02 \x01(\t\"$\n\x16\x43reateDcrCommitRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x13\n\x11\x43reateDcrResponse\"\x18\n\x16\x44\x63rInteractionResponse\"\x19\n\x17\x43reateDcrCommitResponse\"\x11\n\x0fStopDcrResponse\"\x18\n\x16PublishDatasetResponse\"\x1a\n\x18UnpublishDatasetResponse\"h\n\x15WorkerMetadataRequest\x12>\n\x0f\x61ttestationSpec\x18\x01 \x01(\x0b\x32%.attestation.AttestationSpecification\x12\x0f\n\x07scopeId\x18\x02 \x01(\t\"5\n\x16WorkerMetadataResponse\x12\x1b\n\x13maxExecutionSeconds\x18\x01 \x01(\x04\"\x91\x01\n SubmitWorkerExecutionTimeRequest\x12\x1c\n\x14\x65xecutionTimeSeconds\x18\x01 \x01(\r\x12>\n\x0f\x61ttestationSpec\x18\x02 \x01(\x0b\x32%.attestation.AttestationSpecification\x12\x0f\n\x07scopeId\x18\x03 \x01(\t\"#\n!SubmitWorkerExecutionTimeResponse*0\n\x10\x43reateDcrPurpose\x12\x0c\n\x08STANDARD\x10\x00\x12\x0e\n\nVALIDATION\x10\x01*7\n\rCreateDcrKind\x12\n\n\x06\x45XPERT\x10\x00\x12\x0f\n\x0b\x44\x41TASCIENCE\x10\x01\x12\t\n\x05MEDIA\x10\x02\x62\x06proto3')

_CREATEDCRPURPOSE = DESCRIPTOR.enum_types_by_name['CreateDcrPurpose']
CreateDcrPurpose = enum_type_wrapper.EnumTypeWrapper(_CREATEDCRPURPOSE)
_CREATEDCRKIND = DESCRIPTOR.enum_types_by_name['CreateDcrKind']
CreateDcrKind = enum_type_wrapper.EnumTypeWrapper(_CREATEDCRKIND)
STANDARD = 0
VALIDATION = 1
EXPERT = 0
DATASCIENCE = 1
MEDIA = 2


_METERINGREQUEST = DESCRIPTOR.message_types_by_name['MeteringRequest']
_METERINGSUCCESSRESPONSE = DESCRIPTOR.message_types_by_name['MeteringSuccessResponse']
_METERINGRESPONSE = DESCRIPTOR.message_types_by_name['MeteringResponse']
_DCRMETADATA = DESCRIPTOR.message_types_by_name['DcrMetadata']
_CREATEDCRREQUEST = DESCRIPTOR.message_types_by_name['CreateDcrRequest']
_DCRINTERACTIONREQUEST = DESCRIPTOR.message_types_by_name['DcrInteractionRequest']
_PUBLISHDATASETREQUEST = DESCRIPTOR.message_types_by_name['PublishDatasetRequest']
_UNPUBLISHDATASETREQUEST = DESCRIPTOR.message_types_by_name['UnpublishDatasetRequest']
_STOPDCRREQUEST = DESCRIPTOR.message_types_by_name['StopDcrRequest']
_CREATEDCRCOMMITREQUEST = DESCRIPTOR.message_types_by_name['CreateDcrCommitRequest']
_CREATEDCRRESPONSE = DESCRIPTOR.message_types_by_name['CreateDcrResponse']
_DCRINTERACTIONRESPONSE = DESCRIPTOR.message_types_by_name['DcrInteractionResponse']
_CREATEDCRCOMMITRESPONSE = DESCRIPTOR.message_types_by_name['CreateDcrCommitResponse']
_STOPDCRRESPONSE = DESCRIPTOR.message_types_by_name['StopDcrResponse']
_PUBLISHDATASETRESPONSE = DESCRIPTOR.message_types_by_name['PublishDatasetResponse']
_UNPUBLISHDATASETRESPONSE = DESCRIPTOR.message_types_by_name['UnpublishDatasetResponse']
_WORKERMETADATAREQUEST = DESCRIPTOR.message_types_by_name['WorkerMetadataRequest']
_WORKERMETADATARESPONSE = DESCRIPTOR.message_types_by_name['WorkerMetadataResponse']
_SUBMITWORKEREXECUTIONTIMEREQUEST = DESCRIPTOR.message_types_by_name['SubmitWorkerExecutionTimeRequest']
_SUBMITWORKEREXECUTIONTIMERESPONSE = DESCRIPTOR.message_types_by_name['SubmitWorkerExecutionTimeResponse']
MeteringRequest = _reflection.GeneratedProtocolMessageType('MeteringRequest', (_message.Message,), {
  'DESCRIPTOR' : _METERINGREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.MeteringRequest)
  })
_sym_db.RegisterMessage(MeteringRequest)

MeteringSuccessResponse = _reflection.GeneratedProtocolMessageType('MeteringSuccessResponse', (_message.Message,), {
  'DESCRIPTOR' : _METERINGSUCCESSRESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.MeteringSuccessResponse)
  })
_sym_db.RegisterMessage(MeteringSuccessResponse)

MeteringResponse = _reflection.GeneratedProtocolMessageType('MeteringResponse', (_message.Message,), {
  'DESCRIPTOR' : _METERINGRESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.MeteringResponse)
  })
_sym_db.RegisterMessage(MeteringResponse)

DcrMetadata = _reflection.GeneratedProtocolMessageType('DcrMetadata', (_message.Message,), {
  'DESCRIPTOR' : _DCRMETADATA,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.DcrMetadata)
  })
_sym_db.RegisterMessage(DcrMetadata)

CreateDcrRequest = _reflection.GeneratedProtocolMessageType('CreateDcrRequest', (_message.Message,), {
  'DESCRIPTOR' : _CREATEDCRREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.CreateDcrRequest)
  })
_sym_db.RegisterMessage(CreateDcrRequest)

DcrInteractionRequest = _reflection.GeneratedProtocolMessageType('DcrInteractionRequest', (_message.Message,), {
  'DESCRIPTOR' : _DCRINTERACTIONREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.DcrInteractionRequest)
  })
_sym_db.RegisterMessage(DcrInteractionRequest)

PublishDatasetRequest = _reflection.GeneratedProtocolMessageType('PublishDatasetRequest', (_message.Message,), {
  'DESCRIPTOR' : _PUBLISHDATASETREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.PublishDatasetRequest)
  })
_sym_db.RegisterMessage(PublishDatasetRequest)

UnpublishDatasetRequest = _reflection.GeneratedProtocolMessageType('UnpublishDatasetRequest', (_message.Message,), {
  'DESCRIPTOR' : _UNPUBLISHDATASETREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.UnpublishDatasetRequest)
  })
_sym_db.RegisterMessage(UnpublishDatasetRequest)

StopDcrRequest = _reflection.GeneratedProtocolMessageType('StopDcrRequest', (_message.Message,), {
  'DESCRIPTOR' : _STOPDCRREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.StopDcrRequest)
  })
_sym_db.RegisterMessage(StopDcrRequest)

CreateDcrCommitRequest = _reflection.GeneratedProtocolMessageType('CreateDcrCommitRequest', (_message.Message,), {
  'DESCRIPTOR' : _CREATEDCRCOMMITREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.CreateDcrCommitRequest)
  })
_sym_db.RegisterMessage(CreateDcrCommitRequest)

CreateDcrResponse = _reflection.GeneratedProtocolMessageType('CreateDcrResponse', (_message.Message,), {
  'DESCRIPTOR' : _CREATEDCRRESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.CreateDcrResponse)
  })
_sym_db.RegisterMessage(CreateDcrResponse)

DcrInteractionResponse = _reflection.GeneratedProtocolMessageType('DcrInteractionResponse', (_message.Message,), {
  'DESCRIPTOR' : _DCRINTERACTIONRESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.DcrInteractionResponse)
  })
_sym_db.RegisterMessage(DcrInteractionResponse)

CreateDcrCommitResponse = _reflection.GeneratedProtocolMessageType('CreateDcrCommitResponse', (_message.Message,), {
  'DESCRIPTOR' : _CREATEDCRCOMMITRESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.CreateDcrCommitResponse)
  })
_sym_db.RegisterMessage(CreateDcrCommitResponse)

StopDcrResponse = _reflection.GeneratedProtocolMessageType('StopDcrResponse', (_message.Message,), {
  'DESCRIPTOR' : _STOPDCRRESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.StopDcrResponse)
  })
_sym_db.RegisterMessage(StopDcrResponse)

PublishDatasetResponse = _reflection.GeneratedProtocolMessageType('PublishDatasetResponse', (_message.Message,), {
  'DESCRIPTOR' : _PUBLISHDATASETRESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.PublishDatasetResponse)
  })
_sym_db.RegisterMessage(PublishDatasetResponse)

UnpublishDatasetResponse = _reflection.GeneratedProtocolMessageType('UnpublishDatasetResponse', (_message.Message,), {
  'DESCRIPTOR' : _UNPUBLISHDATASETRESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.UnpublishDatasetResponse)
  })
_sym_db.RegisterMessage(UnpublishDatasetResponse)

WorkerMetadataRequest = _reflection.GeneratedProtocolMessageType('WorkerMetadataRequest', (_message.Message,), {
  'DESCRIPTOR' : _WORKERMETADATAREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.WorkerMetadataRequest)
  })
_sym_db.RegisterMessage(WorkerMetadataRequest)

WorkerMetadataResponse = _reflection.GeneratedProtocolMessageType('WorkerMetadataResponse', (_message.Message,), {
  'DESCRIPTOR' : _WORKERMETADATARESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.WorkerMetadataResponse)
  })
_sym_db.RegisterMessage(WorkerMetadataResponse)

SubmitWorkerExecutionTimeRequest = _reflection.GeneratedProtocolMessageType('SubmitWorkerExecutionTimeRequest', (_message.Message,), {
  'DESCRIPTOR' : _SUBMITWORKEREXECUTIONTIMEREQUEST,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.SubmitWorkerExecutionTimeRequest)
  })
_sym_db.RegisterMessage(SubmitWorkerExecutionTimeRequest)

SubmitWorkerExecutionTimeResponse = _reflection.GeneratedProtocolMessageType('SubmitWorkerExecutionTimeResponse', (_message.Message,), {
  'DESCRIPTOR' : _SUBMITWORKEREXECUTIONTIMERESPONSE,
  '__module__' : 'metering_pb2'
  # @@protoc_insertion_point(class_scope:metering.SubmitWorkerExecutionTimeResponse)
  })
_sym_db.RegisterMessage(SubmitWorkerExecutionTimeResponse)

if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _CREATEDCRPURPOSE._serialized_start=2405
  _CREATEDCRPURPOSE._serialized_end=2453
  _CREATEDCRKIND._serialized_start=2455
  _CREATEDCRKIND._serialized_end=2510
  _METERINGREQUEST._serialized_start=48
  _METERINGREQUEST._serialized_end=552
  _METERINGSUCCESSRESPONSE._serialized_start=555
  _METERINGSUCCESSRESPONSE._serialized_end=1076
  _METERINGRESPONSE._serialized_start=1078
  _METERINGRESPONSE._serialized_end=1181
  _DCRMETADATA._serialized_start=1184
  _DCRMETADATA._serialized_end=1336
  _CREATEDCRREQUEST._serialized_start=1339
  _CREATEDCRREQUEST._serialized_end=1480
  _DCRINTERACTIONREQUEST._serialized_start=1482
  _DCRINTERACTIONREQUEST._serialized_end=1575
  _PUBLISHDATASETREQUEST._serialized_start=1577
  _PUBLISHDATASETREQUEST._serialized_end=1698
  _UNPUBLISHDATASETREQUEST._serialized_start=1700
  _UNPUBLISHDATASETREQUEST._serialized_end=1801
  _STOPDCRREQUEST._serialized_start=1803
  _STOPDCRREQUEST._serialized_end=1872
  _CREATEDCRCOMMITREQUEST._serialized_start=1874
  _CREATEDCRCOMMITREQUEST._serialized_end=1910
  _CREATEDCRRESPONSE._serialized_start=1912
  _CREATEDCRRESPONSE._serialized_end=1931
  _DCRINTERACTIONRESPONSE._serialized_start=1933
  _DCRINTERACTIONRESPONSE._serialized_end=1957
  _CREATEDCRCOMMITRESPONSE._serialized_start=1959
  _CREATEDCRCOMMITRESPONSE._serialized_end=1984
  _STOPDCRRESPONSE._serialized_start=1986
  _STOPDCRRESPONSE._serialized_end=2003
  _PUBLISHDATASETRESPONSE._serialized_start=2005
  _PUBLISHDATASETRESPONSE._serialized_end=2029
  _UNPUBLISHDATASETRESPONSE._serialized_start=2031
  _UNPUBLISHDATASETRESPONSE._serialized_end=2057
  _WORKERMETADATAREQUEST._serialized_start=2059
  _WORKERMETADATAREQUEST._serialized_end=2163
  _WORKERMETADATARESPONSE._serialized_start=2165
  _WORKERMETADATARESPONSE._serialized_end=2218
  _SUBMITWORKEREXECUTIONTIMEREQUEST._serialized_start=2221
  _SUBMITWORKEREXECUTIONTIMEREQUEST._serialized_end=2366
  _SUBMITWORKEREXECUTIONTIMERESPONSE._serialized_start=2368
  _SUBMITWORKEREXECUTIONTIMERESPONSE._serialized_end=2403
# @@protoc_insertion_point(module_scope)
