# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: descarteslabs/common/proto/destinations/destinations.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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='descarteslabs/common/proto/destinations/destinations.proto',
  package='descarteslabs.workflows',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n:descarteslabs/common/proto/destinations/destinations.proto\x12\x17\x64\x65scarteslabs.workflows\"\x9f\x02\n\x0b\x44\x65stination\x12=\n\x08\x64ownload\x18\x01 \x01(\x0b\x32!.descarteslabs.workflows.DownloadR\x08\x64ownload\x12\x34\n\x05\x65mail\x18\x02 \x01(\x0b\x32\x1e.descarteslabs.workflows.EmailR\x05\x65mail\x12:\n\x07\x63\x61talog\x18\x03 \x01(\x0b\x32 .descarteslabs.workflows.CatalogR\x07\x63\x61talog\x12!\n\x0chas_download\x18\x14 \x01(\x08R\x0bhasDownload\x12\x1b\n\thas_email\x18\x15 \x01(\x08R\x08hasEmail\x12\x1f\n\x0bhas_catalog\x18\x17 \x01(\x08R\nhasCatalog\")\n\x08\x44ownload\x12\x1d\n\nresult_url\x18\x01 \x01(\tR\tresultUrl\"T\n\x05\x45mail\x12\x18\n\x07subject\x18\x01 \x01(\tR\x07subject\x12\x12\n\x04\x62ody\x18\x02 \x01(\tR\x04\x62ody\x12\x1d\n\nresult_url\x18\x03 \x01(\tR\tresultUrl\"\xb9\x02\n\x07\x43\x61talog\x12\x1c\n\toverwrite\x18\x01 \x01(\x08R\toverwrite\x12\x18\n\x07rescale\x18\x02 \x01(\x08R\x07rescale\x12!\n\x0c\x63hange_dtype\x18\x03 \x01(\x08R\x0b\x63hangeDtype\x12\x12\n\x04name\x18\n \x01(\tR\x04name\x12\x1d\n\nproduct_id\x18\x0b \x01(\tR\tproductId\x12]\n\x0f\x61ttributes_json\x18\r \x03(\x0b\x32\x34.descarteslabs.workflows.Catalog.AttributesJsonEntryR\x0e\x61ttributesJson\x1a\x41\n\x13\x41ttributesJsonEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x62\x06proto3'
)




_DESTINATION = _descriptor.Descriptor(
  name='Destination',
  full_name='descarteslabs.workflows.Destination',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='download', full_name='descarteslabs.workflows.Destination.download', index=0,
      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, json_name='download', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='email', full_name='descarteslabs.workflows.Destination.email', 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, json_name='email', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='catalog', full_name='descarteslabs.workflows.Destination.catalog', 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, json_name='catalog', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='has_download', full_name='descarteslabs.workflows.Destination.has_download', index=3,
      number=20, 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, json_name='hasDownload', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='has_email', full_name='descarteslabs.workflows.Destination.has_email', index=4,
      number=21, 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, json_name='hasEmail', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='has_catalog', full_name='descarteslabs.workflows.Destination.has_catalog', index=5,
      number=23, 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, json_name='hasCatalog', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=88,
  serialized_end=375,
)


_DOWNLOAD = _descriptor.Descriptor(
  name='Download',
  full_name='descarteslabs.workflows.Download',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='result_url', full_name='descarteslabs.workflows.Download.result_url', index=0,
      number=1, 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, json_name='resultUrl', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=377,
  serialized_end=418,
)


_EMAIL = _descriptor.Descriptor(
  name='Email',
  full_name='descarteslabs.workflows.Email',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='subject', full_name='descarteslabs.workflows.Email.subject', index=0,
      number=1, 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, json_name='subject', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='body', full_name='descarteslabs.workflows.Email.body', 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, json_name='body', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='result_url', full_name='descarteslabs.workflows.Email.result_url', 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, json_name='resultUrl', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=420,
  serialized_end=504,
)


_CATALOG_ATTRIBUTESJSONENTRY = _descriptor.Descriptor(
  name='AttributesJsonEntry',
  full_name='descarteslabs.workflows.Catalog.AttributesJsonEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='descarteslabs.workflows.Catalog.AttributesJsonEntry.key', index=0,
      number=1, 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, json_name='key', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='descarteslabs.workflows.Catalog.AttributesJsonEntry.value', 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, json_name='value', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=755,
  serialized_end=820,
)

_CATALOG = _descriptor.Descriptor(
  name='Catalog',
  full_name='descarteslabs.workflows.Catalog',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='overwrite', full_name='descarteslabs.workflows.Catalog.overwrite', index=0,
      number=1, 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, json_name='overwrite', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='rescale', full_name='descarteslabs.workflows.Catalog.rescale', 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, json_name='rescale', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='change_dtype', full_name='descarteslabs.workflows.Catalog.change_dtype', 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, json_name='changeDtype', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='name', full_name='descarteslabs.workflows.Catalog.name', index=3,
      number=10, 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, json_name='name', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='product_id', full_name='descarteslabs.workflows.Catalog.product_id', index=4,
      number=11, 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, json_name='productId', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='attributes_json', full_name='descarteslabs.workflows.Catalog.attributes_json', index=5,
      number=13, 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, json_name='attributesJson', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_CATALOG_ATTRIBUTESJSONENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=507,
  serialized_end=820,
)

_DESTINATION.fields_by_name['download'].message_type = _DOWNLOAD
_DESTINATION.fields_by_name['email'].message_type = _EMAIL
_DESTINATION.fields_by_name['catalog'].message_type = _CATALOG
_CATALOG_ATTRIBUTESJSONENTRY.containing_type = _CATALOG
_CATALOG.fields_by_name['attributes_json'].message_type = _CATALOG_ATTRIBUTESJSONENTRY
DESCRIPTOR.message_types_by_name['Destination'] = _DESTINATION
DESCRIPTOR.message_types_by_name['Download'] = _DOWNLOAD
DESCRIPTOR.message_types_by_name['Email'] = _EMAIL
DESCRIPTOR.message_types_by_name['Catalog'] = _CATALOG
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Destination = _reflection.GeneratedProtocolMessageType('Destination', (_message.Message,), {
  'DESCRIPTOR' : _DESTINATION,
  '__module__' : 'descarteslabs.common.proto.destinations.destinations_pb2'
  # @@protoc_insertion_point(class_scope:descarteslabs.workflows.Destination)
  })
_sym_db.RegisterMessage(Destination)

Download = _reflection.GeneratedProtocolMessageType('Download', (_message.Message,), {
  'DESCRIPTOR' : _DOWNLOAD,
  '__module__' : 'descarteslabs.common.proto.destinations.destinations_pb2'
  # @@protoc_insertion_point(class_scope:descarteslabs.workflows.Download)
  })
_sym_db.RegisterMessage(Download)

Email = _reflection.GeneratedProtocolMessageType('Email', (_message.Message,), {
  'DESCRIPTOR' : _EMAIL,
  '__module__' : 'descarteslabs.common.proto.destinations.destinations_pb2'
  # @@protoc_insertion_point(class_scope:descarteslabs.workflows.Email)
  })
_sym_db.RegisterMessage(Email)

Catalog = _reflection.GeneratedProtocolMessageType('Catalog', (_message.Message,), {

  'AttributesJsonEntry' : _reflection.GeneratedProtocolMessageType('AttributesJsonEntry', (_message.Message,), {
    'DESCRIPTOR' : _CATALOG_ATTRIBUTESJSONENTRY,
    '__module__' : 'descarteslabs.common.proto.destinations.destinations_pb2'
    # @@protoc_insertion_point(class_scope:descarteslabs.workflows.Catalog.AttributesJsonEntry)
    })
  ,
  'DESCRIPTOR' : _CATALOG,
  '__module__' : 'descarteslabs.common.proto.destinations.destinations_pb2'
  # @@protoc_insertion_point(class_scope:descarteslabs.workflows.Catalog)
  })
_sym_db.RegisterMessage(Catalog)
_sym_db.RegisterMessage(Catalog.AttributesJsonEntry)


_CATALOG_ATTRIBUTESJSONENTRY._options = None
# @@protoc_insertion_point(module_scope)
