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

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/appengine_v1alpha/proto/domain_mapping.proto',
  package='google.appengine.v1alpha',
  syntax='proto3',
  serialized_options=b'\n\034com.google.appengine.v1alphaB\022DomainMappingProtoP\001ZAgoogle.golang.org/genproto/googleapis/appengine/v1alpha;appengine',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n9google/cloud/appengine_v1alpha/proto/domain_mapping.proto\x12\x18google.appengine.v1alpha\x1a\x1cgoogle/api/annotations.proto\"\xaa\x01\n\rDomainMapping\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12;\n\x0cssl_settings\x18\x03 \x01(\x0b\x32%.google.appengine.v1alpha.SslSettings\x12\x42\n\x10resource_records\x18\x04 \x03(\x0b\x32(.google.appengine.v1alpha.ResourceRecord\"E\n\x0bSslSettings\x12\x16\n\x0e\x63\x65rtificate_id\x18\x01 \x01(\t\x12\x1e\n\x16is_managed_certificate\x18\x02 \x01(\x08\"\x9b\x01\n\x0eResourceRecord\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06rrdata\x18\x02 \x01(\t\x12\x41\n\x04type\x18\x03 \x01(\x0e\x32\x33.google.appengine.v1alpha.ResourceRecord.RecordType\"(\n\nRecordType\x12\x05\n\x01\x41\x10\x00\x12\x08\n\x04\x41\x41\x41\x41\x10\x01\x12\t\n\x05\x43NAME\x10\x02\x42w\n\x1c\x63om.google.appengine.v1alphaB\x12\x44omainMappingProtoP\x01ZAgoogle.golang.org/genproto/googleapis/appengine/v1alpha;appengineb\x06proto3'
  ,
  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,])



_RESOURCERECORD_RECORDTYPE = _descriptor.EnumDescriptor(
  name='RecordType',
  full_name='google.appengine.v1alpha.ResourceRecord.RecordType',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='A', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='AAAA', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CNAME', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=477,
  serialized_end=517,
)
_sym_db.RegisterEnumDescriptor(_RESOURCERECORD_RECORDTYPE)


_DOMAINMAPPING = _descriptor.Descriptor(
  name='DomainMapping',
  full_name='google.appengine.v1alpha.DomainMapping',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='google.appengine.v1alpha.DomainMapping.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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='id', full_name='google.appengine.v1alpha.DomainMapping.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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='ssl_settings', full_name='google.appengine.v1alpha.DomainMapping.ssl_settings', 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, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='resource_records', full_name='google.appengine.v1alpha.DomainMapping.resource_records', index=3,
      number=4, 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, 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=118,
  serialized_end=288,
)


_SSLSETTINGS = _descriptor.Descriptor(
  name='SslSettings',
  full_name='google.appengine.v1alpha.SslSettings',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='certificate_id', full_name='google.appengine.v1alpha.SslSettings.certificate_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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='is_managed_certificate', full_name='google.appengine.v1alpha.SslSettings.is_managed_certificate', 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, 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=290,
  serialized_end=359,
)


_RESOURCERECORD = _descriptor.Descriptor(
  name='ResourceRecord',
  full_name='google.appengine.v1alpha.ResourceRecord',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='google.appengine.v1alpha.ResourceRecord.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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='rrdata', full_name='google.appengine.v1alpha.ResourceRecord.rrdata', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='type', full_name='google.appengine.v1alpha.ResourceRecord.type', index=2,
      number=3, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _RESOURCERECORD_RECORDTYPE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=362,
  serialized_end=517,
)

_DOMAINMAPPING.fields_by_name['ssl_settings'].message_type = _SSLSETTINGS
_DOMAINMAPPING.fields_by_name['resource_records'].message_type = _RESOURCERECORD
_RESOURCERECORD.fields_by_name['type'].enum_type = _RESOURCERECORD_RECORDTYPE
_RESOURCERECORD_RECORDTYPE.containing_type = _RESOURCERECORD
DESCRIPTOR.message_types_by_name['DomainMapping'] = _DOMAINMAPPING
DESCRIPTOR.message_types_by_name['SslSettings'] = _SSLSETTINGS
DESCRIPTOR.message_types_by_name['ResourceRecord'] = _RESOURCERECORD
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DomainMapping = _reflection.GeneratedProtocolMessageType('DomainMapping', (_message.Message,), {
  'DESCRIPTOR' : _DOMAINMAPPING,
  '__module__' : 'google.cloud.appengine_v1alpha.proto.domain_mapping_pb2'
  ,
  '__doc__': """A domain serving an App Engine application.
  
  Attributes:
      name:
          Full path to the ``DomainMapping`` resource in the API.
          Example: ``apps/myapp/domainMapping/example.com``.
          @OutputOnly
      id:
          Relative name of the domain serving the application. Example:
          ``example.com``.
      ssl_settings:
          SSL configuration for this domain. If unconfigured, this
          domain will not serve with SSL.
      resource_records:
          The resource records required to configure this domain
          mapping. These records must be added to the domain’s DNS
          configuration in order to serve the application via this
          domain mapping.  @OutputOnly
  """,
  # @@protoc_insertion_point(class_scope:google.appengine.v1alpha.DomainMapping)
  })
_sym_db.RegisterMessage(DomainMapping)

SslSettings = _reflection.GeneratedProtocolMessageType('SslSettings', (_message.Message,), {
  'DESCRIPTOR' : _SSLSETTINGS,
  '__module__' : 'google.cloud.appengine_v1alpha.proto.domain_mapping_pb2'
  ,
  '__doc__': """SSL configuration for a ``DomainMapping`` resource.
  
  Attributes:
      certificate_id:
          ID of the ``AuthorizedCertificate`` resource configuring SSL
          for the application. Clearing this field will remove SSL
          support.  By default, a managed certificate is automatically
          created for every domain mapping. To omit SSL support or to
          configure SSL manually, specify ``no_managed_certificate`` on
          a ``CREATE`` or ``UPDATE`` request. You must be authorized to
          administer the ``AuthorizedCertificate`` resource to manually
          map it to a ``DomainMapping`` resource. Example: ``12345``.
      is_managed_certificate:
          Whether the mapped certificate is an App Engine managed
          certificate. Managed certificates are created by default with
          a domain mapping. To opt out, specify
          ``no_managed_certificate`` on a ``CREATE`` or ``UPDATE``
          request.  @OutputOnly
  """,
  # @@protoc_insertion_point(class_scope:google.appengine.v1alpha.SslSettings)
  })
_sym_db.RegisterMessage(SslSettings)

ResourceRecord = _reflection.GeneratedProtocolMessageType('ResourceRecord', (_message.Message,), {
  'DESCRIPTOR' : _RESOURCERECORD,
  '__module__' : 'google.cloud.appengine_v1alpha.proto.domain_mapping_pb2'
  ,
  '__doc__': """A DNS resource record.
  
  Attributes:
      name:
          Relative name of the object affected by this record. Only
          applicable for ``CNAME`` records. Example: ‘www’.
      rrdata:
          Data for this record. Values vary by record type, as defined
          in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
      type:
          Resource record type. Example: ``AAAA``.
  """,
  # @@protoc_insertion_point(class_scope:google.appengine.v1alpha.ResourceRecord)
  })
_sym_db.RegisterMessage(ResourceRecord)


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