# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/bigquery_v2/proto/model_reference.proto

import sys

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


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/bigquery_v2/proto/model_reference.proto",
    package="google.cloud.bigquery.v2",
    syntax="proto3",
    serialized_options=_b(
        "\n\034com.google.cloud.bigquery.v2B\023ModelReferenceProtoZ@google.golang.org/genproto/googleapis/cloud/bigquery/v2;bigquery"
    ),
    serialized_pb=_b(
        '\n4google/cloud/bigquery_v2/proto/model_reference.proto\x12\x18google.cloud.bigquery.v2\x1a\x1cgoogle/api/annotations.proto"J\n\x0eModelReference\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x12\n\ndataset_id\x18\x02 \x01(\t\x12\x10\n\x08model_id\x18\x03 \x01(\tBu\n\x1c\x63om.google.cloud.bigquery.v2B\x13ModelReferenceProtoZ@google.golang.org/genproto/googleapis/cloud/bigquery/v2;bigqueryb\x06proto3'
    ),
    dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR],
)


_MODELREFERENCE = _descriptor.Descriptor(
    name="ModelReference",
    full_name="google.cloud.bigquery.v2.ModelReference",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.bigquery.v2.ModelReference.project_id",
            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="dataset_id",
            full_name="google.cloud.bigquery.v2.ModelReference.dataset_id",
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="model_id",
            full_name="google.cloud.bigquery.v2.ModelReference.model_id",
            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,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=112,
    serialized_end=186,
)

DESCRIPTOR.message_types_by_name["ModelReference"] = _MODELREFERENCE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ModelReference = _reflection.GeneratedProtocolMessageType(
    "ModelReference",
    (_message.Message,),
    dict(
        DESCRIPTOR=_MODELREFERENCE,
        __module__="google.cloud.bigquery_v2.proto.model_reference_pb2",
        __doc__="""Id path of a model.
  
  
  Attributes:
      project_id:
          [Required] The ID of the project containing this model.
      dataset_id:
          [Required] The ID of the dataset containing this model.
      model_id:
          [Required] The ID of the model. The ID must contain only
          letters (a-z, A-Z), numbers (0-9), or underscores (\_). The
          maximum length is 1,024 characters.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.bigquery.v2.ModelReference)
    ),
)
_sym_db.RegisterMessage(ModelReference)


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