# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/datacatalog_v1beta1/proto/datacatalog.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf.internal import enum_type_wrapper
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()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.cloud.datacatalog_v1beta1.proto import (
    schema_pb2 as google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_schema__pb2,
)
from google.cloud.datacatalog_v1beta1.proto import (
    table_spec_pb2 as google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_table__spec__pb2,
)
from google.cloud.datacatalog_v1beta1.proto import (
    timestamps_pb2 as google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_timestamps__pb2,
)


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/datacatalog_v1beta1/proto/datacatalog.proto",
    package="google.cloud.datacatalog.v1beta1",
    syntax="proto3",
    serialized_options=_b(
        "\n\034com.google.cloud.datacatalogP\001ZKgoogle.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog\370\001\001"
    ),
    serialized_pb=_b(
        '\n8google/cloud/datacatalog_v1beta1/proto/datacatalog.proto\x12 google.cloud.datacatalog.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x33google/cloud/datacatalog_v1beta1/proto/schema.proto\x1a\x37google/cloud/datacatalog_v1beta1/proto/table_spec.proto\x1a\x37google/cloud/datacatalog_v1beta1/proto/timestamps.proto"V\n\x12LookupEntryRequest\x12\x19\n\x0flinked_resource\x18\x01 \x01(\tH\x00\x12\x16\n\x0csql_resource\x18\x03 \x01(\tH\x00\x42\r\n\x0btarget_name"\x85\x03\n\x05\x45ntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0flinked_resource\x18\t \x01(\t\x12\x39\n\x04type\x18\x02 \x01(\x0e\x32+.google.cloud.datacatalog.v1beta1.EntryType\x12R\n\x13\x62igquery_table_spec\x18\x0c \x01(\x0b\x32\x33.google.cloud.datacatalog.v1beta1.BigQueryTableSpecH\x00\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x38\n\x06schema\x18\x05 \x01(\x0b\x32(.google.cloud.datacatalog.v1beta1.Schema\x12T\n\x18source_system_timestamps\x18\x07 \x01(\x0b\x32\x32.google.cloud.datacatalog.v1beta1.SystemTimestampsB\x0b\n\ttype_spec*C\n\tEntryType\x12\x1a\n\x16\x45NTRY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05TABLE\x10\x02\x12\x0f\n\x0b\x44\x41TA_STREAM\x10\x03\x32\x9d\x01\n\x0b\x44\x61taCatalog\x12\x8d\x01\n\x0bLookupEntry\x12\x34.google.cloud.datacatalog.v1beta1.LookupEntryRequest\x1a\'.google.cloud.datacatalog.v1beta1.Entry"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/v1beta1/entries:lookupBp\n\x1c\x63om.google.cloud.datacatalogP\x01ZKgoogle.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog\xf8\x01\x01\x62\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_schema__pb2.DESCRIPTOR,
        google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_table__spec__pb2.DESCRIPTOR,
        google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_timestamps__pb2.DESCRIPTOR,
    ],
)

_ENTRYTYPE = _descriptor.EnumDescriptor(
    name="EntryType",
    full_name="google.cloud.datacatalog.v1beta1.EntryType",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="ENTRY_TYPE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="TABLE", index=1, number=2, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="DATA_STREAM", index=2, number=3, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=771,
    serialized_end=838,
)
_sym_db.RegisterEnumDescriptor(_ENTRYTYPE)

EntryType = enum_type_wrapper.EnumTypeWrapper(_ENTRYTYPE)
ENTRY_TYPE_UNSPECIFIED = 0
TABLE = 2
DATA_STREAM = 3


_LOOKUPENTRYREQUEST = _descriptor.Descriptor(
    name="LookupEntryRequest",
    full_name="google.cloud.datacatalog.v1beta1.LookupEntryRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="linked_resource",
            full_name="google.cloud.datacatalog.v1beta1.LookupEntryRequest.linked_resource",
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="sql_resource",
            full_name="google.cloud.datacatalog.v1beta1.LookupEntryRequest.sql_resource",
            index=1,
            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,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="target_name",
            full_name="google.cloud.datacatalog.v1beta1.LookupEntryRequest.target_name",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=291,
    serialized_end=377,
)


_ENTRY = _descriptor.Descriptor(
    name="Entry",
    full_name="google.cloud.datacatalog.v1beta1.Entry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.datacatalog.v1beta1.Entry.name",
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="linked_resource",
            full_name="google.cloud.datacatalog.v1beta1.Entry.linked_resource",
            index=1,
            number=9,
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="type",
            full_name="google.cloud.datacatalog.v1beta1.Entry.type",
            index=2,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="bigquery_table_spec",
            full_name="google.cloud.datacatalog.v1beta1.Entry.bigquery_table_spec",
            index=3,
            number=12,
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="display_name",
            full_name="google.cloud.datacatalog.v1beta1.Entry.display_name",
            index=4,
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="description",
            full_name="google.cloud.datacatalog.v1beta1.Entry.description",
            index=5,
            number=4,
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="schema",
            full_name="google.cloud.datacatalog.v1beta1.Entry.schema",
            index=6,
            number=5,
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="source_system_timestamps",
            full_name="google.cloud.datacatalog.v1beta1.Entry.source_system_timestamps",
            index=7,
            number=7,
            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,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="type_spec",
            full_name="google.cloud.datacatalog.v1beta1.Entry.type_spec",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=380,
    serialized_end=769,
)

_LOOKUPENTRYREQUEST.oneofs_by_name["target_name"].fields.append(
    _LOOKUPENTRYREQUEST.fields_by_name["linked_resource"]
)
_LOOKUPENTRYREQUEST.fields_by_name[
    "linked_resource"
].containing_oneof = _LOOKUPENTRYREQUEST.oneofs_by_name["target_name"]
_LOOKUPENTRYREQUEST.oneofs_by_name["target_name"].fields.append(
    _LOOKUPENTRYREQUEST.fields_by_name["sql_resource"]
)
_LOOKUPENTRYREQUEST.fields_by_name[
    "sql_resource"
].containing_oneof = _LOOKUPENTRYREQUEST.oneofs_by_name["target_name"]
_ENTRY.fields_by_name["type"].enum_type = _ENTRYTYPE
_ENTRY.fields_by_name[
    "bigquery_table_spec"
].message_type = (
    google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_table__spec__pb2._BIGQUERYTABLESPEC
)
_ENTRY.fields_by_name[
    "schema"
].message_type = (
    google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_schema__pb2._SCHEMA
)
_ENTRY.fields_by_name[
    "source_system_timestamps"
].message_type = (
    google_dot_cloud_dot_datacatalog__v1beta1_dot_proto_dot_timestamps__pb2._SYSTEMTIMESTAMPS
)
_ENTRY.oneofs_by_name["type_spec"].fields.append(
    _ENTRY.fields_by_name["bigquery_table_spec"]
)
_ENTRY.fields_by_name["bigquery_table_spec"].containing_oneof = _ENTRY.oneofs_by_name[
    "type_spec"
]
DESCRIPTOR.message_types_by_name["LookupEntryRequest"] = _LOOKUPENTRYREQUEST
DESCRIPTOR.message_types_by_name["Entry"] = _ENTRY
DESCRIPTOR.enum_types_by_name["EntryType"] = _ENTRYTYPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

LookupEntryRequest = _reflection.GeneratedProtocolMessageType(
    "LookupEntryRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LOOKUPENTRYREQUEST,
        __module__="google.cloud.datacatalog_v1beta1.proto.datacatalog_pb2",
        __doc__="""Request message for
  [LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry].
  
  
  Attributes:
      target_name:
          Represents either the Google Cloud Platform resource or SQL
          name for a Google Cloud Platform resource.
      linked_resource:
          The full name of the Google Cloud Platform resource the Data
          Catalog entry represents. See: https://cloud.google.com/apis/d
          esign/resource\_names#full\_resource\_name Full names are
          case-sensitive.  Examples: "//bigquery.googleapis.com/projects
          /projectId/datasets/datasetId/tables/tableId".
          "//pubsub.googleapis.com/projects/projectId/topics/topicId"
      sql_resource:
          The SQL name of the entry. SQL names are case-sensitive.
          Examples: 1. cloud\_pubsub.project\_id.topic\_id 2.
          bigquery.project\_id.dataset\_id.table\_id 3. datacatalog.proj
          ect\_id.location\_id.entry\_group\_id.entry\_id
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.LookupEntryRequest)
    ),
)
_sym_db.RegisterMessage(LookupEntryRequest)

Entry = _reflection.GeneratedProtocolMessageType(
    "Entry",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ENTRY,
        __module__="google.cloud.datacatalog_v1beta1.proto.datacatalog_pb2",
        __doc__="""Entry Metadata. A Data Catalog Entry resource represents another
  resource in Google Cloud Platform, such as a BigQuery Dataset or a
  Pub/Sub Topic. Clients can use the ``linked_resource`` field in the
  Entry resource to refer to the original resource id of the source
  system.
  
  An Entry resource contains resource details, such as its schema.
  
  
  Attributes:
      name:
          Output only. The Data Catalog resource name of the entry in
          URL format. For example, "projects/{project\_id}/locations/{lo
          cation}/entryGroups/{entry\_group\_id}/entries/{entry\_id}".
      linked_resource:
          The full name of the cloud resource the entry belongs to. See:
          https://cloud.google.com/apis/design/resource\_names#full\_res
          ource\_name  Data Catalog supports resources from select
          Google Cloud Platform systems. ``linked_resource`` is the full
          name of the Google Cloud Platform resource. For example, the
          ``linked_resource`` for a table resource from BigQuery is:  "/
          /bigquery.googleapis.com/projects/projectId/datasets/datasetId
          /tables/tableId".
      type:
          Type of entry.
      type_spec:
          Type specification information.
      bigquery_table_spec:
          Specification that applies to a BigQuery table. This is only
          valid on entries of type TABLE.
      display_name:
          Display information such as title and description. A short
          name to identify the entry, for example, "Analytics Data - Jan
          2011".
      description:
          Entry description, which can consist of several sentences or
          paragraphs that describe entry contents.
      schema:
          Schema of the entry.
      source_system_timestamps:
          Timestamps about the underlying Google Cloud Platform resource
          -- not about this Data Catalog Entry.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Entry)
    ),
)
_sym_db.RegisterMessage(Entry)


DESCRIPTOR._options = None

_DATACATALOG = _descriptor.ServiceDescriptor(
    name="DataCatalog",
    full_name="google.cloud.datacatalog.v1beta1.DataCatalog",
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    serialized_start=841,
    serialized_end=998,
    methods=[
        _descriptor.MethodDescriptor(
            name="LookupEntry",
            full_name="google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry",
            index=0,
            containing_service=None,
            input_type=_LOOKUPENTRYREQUEST,
            output_type=_ENTRY,
            serialized_options=_b(
                "\202\323\344\223\002\031\022\027/v1beta1/entries:lookup"
            ),
        )
    ],
)
_sym_db.RegisterServiceDescriptor(_DATACATALOG)

DESCRIPTOR.services_by_name["DataCatalog"] = _DATACATALOG

# @@protoc_insertion_point(module_scope)
