# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/talent_v4beta1/proto/company_service.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
from google.cloud.talent_v4beta1.proto import (
    common_pb2 as google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_common__pb2,
)
from google.cloud.talent_v4beta1.proto import (
    company_pb2 as google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_company__pb2,
)
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/talent_v4beta1/proto/company_service.proto",
    package="google.cloud.talent.v4beta1",
    syntax="proto3",
    serialized_options=_b(
        "\n\037com.google.cloud.talent.v4beta1B\023CompanyServiceProtoP\001ZAgoogle.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent\242\002\003CTS"
    ),
    serialized_pb=_b(
        '\n7google/cloud/talent_v4beta1/proto/company_service.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1cgoogle/api/annotations.proto\x1a.google/cloud/talent_v4beta1/proto/common.proto\x1a/google/cloud/talent_v4beta1/proto/company.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"]\n\x14\x43reateCompanyRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x35\n\x07\x63ompany\x18\x02 \x01(\x0b\x32$.google.cloud.talent.v4beta1.Company"!\n\x11GetCompanyRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"~\n\x14UpdateCompanyRequest\x12\x35\n\x07\x63ompany\x18\x01 \x01(\x0b\x32$.google.cloud.talent.v4beta1.Company\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"$\n\x14\x44\x65leteCompanyRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"h\n\x14ListCompaniesRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x19\n\x11require_open_jobs\x18\x04 \x01(\x08"\xaa\x01\n\x15ListCompaniesResponse\x12\x37\n\tcompanies\x18\x01 \x03(\x0b\x32$.google.cloud.talent.v4beta1.Company\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12?\n\x08metadata\x18\x03 \x01(\x0b\x32-.google.cloud.talent.v4beta1.ResponseMetadata2\x9f\x06\n\x0e\x43ompanyService\x12\x9b\x01\n\rCreateCompany\x12\x31.google.cloud.talent.v4beta1.CreateCompanyRequest\x1a$.google.cloud.talent.v4beta1.Company"1\x82\xd3\xe4\x93\x02+"&/v4beta1/{parent=projects/*}/companies:\x01*\x12\x92\x01\n\nGetCompany\x12..google.cloud.talent.v4beta1.GetCompanyRequest\x1a$.google.cloud.talent.v4beta1.Company".\x82\xd3\xe4\x93\x02(\x12&/v4beta1/{name=projects/*/companies/*}\x12\xa3\x01\n\rUpdateCompany\x12\x31.google.cloud.talent.v4beta1.UpdateCompanyRequest\x1a$.google.cloud.talent.v4beta1.Company"9\x82\xd3\xe4\x93\x02\x33\x32./v4beta1/{company.name=projects/*/companies/*}:\x01*\x12\x8a\x01\n\rDeleteCompany\x12\x31.google.cloud.talent.v4beta1.DeleteCompanyRequest\x1a\x16.google.protobuf.Empty".\x82\xd3\xe4\x93\x02(*&/v4beta1/{name=projects/*/companies/*}\x12\xa6\x01\n\rListCompanies\x12\x31.google.cloud.talent.v4beta1.ListCompaniesRequest\x1a\x32.google.cloud.talent.v4beta1.ListCompaniesResponse".\x82\xd3\xe4\x93\x02(\x12&/v4beta1/{parent=projects/*}/companiesB\x81\x01\n\x1f\x63om.google.cloud.talent.v4beta1B\x13\x43ompanyServiceProtoP\x01ZAgoogle.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent\xa2\x02\x03\x43TSb\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_common__pb2.DESCRIPTOR,
        google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_company__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
    ],
)


_CREATECOMPANYREQUEST = _descriptor.Descriptor(
    name="CreateCompanyRequest",
    full_name="google.cloud.talent.v4beta1.CreateCompanyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.talent.v4beta1.CreateCompanyRequest.parent",
            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="company",
            full_name="google.cloud.talent.v4beta1.CreateCompanyRequest.company",
            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,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=278,
    serialized_end=371,
)


_GETCOMPANYREQUEST = _descriptor.Descriptor(
    name="GetCompanyRequest",
    full_name="google.cloud.talent.v4beta1.GetCompanyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.talent.v4beta1.GetCompanyRequest.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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=373,
    serialized_end=406,
)


_UPDATECOMPANYREQUEST = _descriptor.Descriptor(
    name="UpdateCompanyRequest",
    full_name="google.cloud.talent.v4beta1.UpdateCompanyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="company",
            full_name="google.cloud.talent.v4beta1.UpdateCompanyRequest.company",
            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,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="update_mask",
            full_name="google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask",
            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,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=408,
    serialized_end=534,
)


_DELETECOMPANYREQUEST = _descriptor.Descriptor(
    name="DeleteCompanyRequest",
    full_name="google.cloud.talent.v4beta1.DeleteCompanyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.talent.v4beta1.DeleteCompanyRequest.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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=536,
    serialized_end=572,
)


_LISTCOMPANIESREQUEST = _descriptor.Descriptor(
    name="ListCompaniesRequest",
    full_name="google.cloud.talent.v4beta1.ListCompaniesRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.talent.v4beta1.ListCompaniesRequest.parent",
            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="page_token",
            full_name="google.cloud.talent.v4beta1.ListCompaniesRequest.page_token",
            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="page_size",
            full_name="google.cloud.talent.v4beta1.ListCompaniesRequest.page_size",
            index=2,
            number=3,
            type=5,
            cpp_type=1,
            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="require_open_jobs",
            full_name="google.cloud.talent.v4beta1.ListCompaniesRequest.require_open_jobs",
            index=3,
            number=4,
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=574,
    serialized_end=678,
)


_LISTCOMPANIESRESPONSE = _descriptor.Descriptor(
    name="ListCompaniesResponse",
    full_name="google.cloud.talent.v4beta1.ListCompaniesResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="companies",
            full_name="google.cloud.talent.v4beta1.ListCompaniesResponse.companies",
            index=0,
            number=1,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.cloud.talent.v4beta1.ListCompaniesResponse.next_page_token",
            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="metadata",
            full_name="google.cloud.talent.v4beta1.ListCompaniesResponse.metadata",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=681,
    serialized_end=851,
)

_CREATECOMPANYREQUEST.fields_by_name[
    "company"
].message_type = (
    google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_company__pb2._COMPANY
)
_UPDATECOMPANYREQUEST.fields_by_name[
    "company"
].message_type = (
    google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_company__pb2._COMPANY
)
_UPDATECOMPANYREQUEST.fields_by_name[
    "update_mask"
].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_LISTCOMPANIESRESPONSE.fields_by_name[
    "companies"
].message_type = (
    google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_company__pb2._COMPANY
)
_LISTCOMPANIESRESPONSE.fields_by_name[
    "metadata"
].message_type = (
    google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_common__pb2._RESPONSEMETADATA
)
DESCRIPTOR.message_types_by_name["CreateCompanyRequest"] = _CREATECOMPANYREQUEST
DESCRIPTOR.message_types_by_name["GetCompanyRequest"] = _GETCOMPANYREQUEST
DESCRIPTOR.message_types_by_name["UpdateCompanyRequest"] = _UPDATECOMPANYREQUEST
DESCRIPTOR.message_types_by_name["DeleteCompanyRequest"] = _DELETECOMPANYREQUEST
DESCRIPTOR.message_types_by_name["ListCompaniesRequest"] = _LISTCOMPANIESREQUEST
DESCRIPTOR.message_types_by_name["ListCompaniesResponse"] = _LISTCOMPANIESRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

CreateCompanyRequest = _reflection.GeneratedProtocolMessageType(
    "CreateCompanyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATECOMPANYREQUEST,
        __module__="google.cloud.talent_v4beta1.proto.company_service_pb2",
        __doc__="""The Request of the CreateCompany method.
  
  
  Attributes:
      parent:
          Required.  Resource name of the project under which the
          company is created.  The format is "projects/{project\_id}",
          for example, "projects/api-test-project".
      company:
          Required.  The company to be created.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateCompanyRequest)
    ),
)
_sym_db.RegisterMessage(CreateCompanyRequest)

GetCompanyRequest = _reflection.GeneratedProtocolMessageType(
    "GetCompanyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETCOMPANYREQUEST,
        __module__="google.cloud.talent_v4beta1.proto.company_service_pb2",
        __doc__="""Request for getting a company by name.
  
  
  Attributes:
      name:
          Required.  The resource name of the company to be retrieved.
          The format is
          "projects/{project\_id}/companies/{company\_id}", for example,
          "projects/api-test-project/companies/foo".
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetCompanyRequest)
    ),
)
_sym_db.RegisterMessage(GetCompanyRequest)

UpdateCompanyRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateCompanyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATECOMPANYREQUEST,
        __module__="google.cloud.talent_v4beta1.proto.company_service_pb2",
        __doc__="""Request for updating a specified company.
  
  
  Attributes:
      company:
          Required.  The company resource to replace the current
          resource in the system.
      update_mask:
          Optional but strongly recommended for the best service
          experience.  If [update\_mask][google.cloud.talent.v4beta1.Upd
          ateCompanyRequest.update\_mask] is provided, only the
          specified fields in [company][google.cloud.talent.v4beta1.Upda
          teCompanyRequest.company] are updated. Otherwise all the
          fields are updated.  A field mask to specify the company
          fields to be updated. Only top level fields of
          [Company][google.cloud.talent.v4beta1.Company] are supported.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
    ),
)
_sym_db.RegisterMessage(UpdateCompanyRequest)

DeleteCompanyRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteCompanyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETECOMPANYREQUEST,
        __module__="google.cloud.talent_v4beta1.proto.company_service_pb2",
        __doc__="""Request to delete a company.
  
  
  Attributes:
      name:
          Required.  The resource name of the company to be deleted.
          The format is
          "projects/{project\_id}/companies/{company\_id}", for example,
          "projects/api-test-project/companies/foo".
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest)
    ),
)
_sym_db.RegisterMessage(DeleteCompanyRequest)

ListCompaniesRequest = _reflection.GeneratedProtocolMessageType(
    "ListCompaniesRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCOMPANIESREQUEST,
        __module__="google.cloud.talent_v4beta1.proto.company_service_pb2",
        __doc__="""List companies for which the client has ACL visibility.
  
  
  Attributes:
      parent:
          Required.  Resource name of the project under which the
          company is created.  The format is "projects/{project\_id}",
          for example, "projects/api-test-project".
      page_token:
          Optional.  The starting indicator from which to return
          results.
      page_size:
          Optional.  The maximum number of companies to be returned, at
          most 100. Default is 100 if a non-positive number is provided.
      require_open_jobs:
          Optional.  Set to true if the companies requested must have
          open jobs.  Defaults to false.  If true, at most [page\_size][
          google.cloud.talent.v4beta1.ListCompaniesRequest.page\_size]
          of companies are fetched, among which only those with open
          jobs are returned.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesRequest)
    ),
)
_sym_db.RegisterMessage(ListCompaniesRequest)

ListCompaniesResponse = _reflection.GeneratedProtocolMessageType(
    "ListCompaniesResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCOMPANIESRESPONSE,
        __module__="google.cloud.talent_v4beta1.proto.company_service_pb2",
        __doc__="""Output only.
  
  The List companies response object.
  
  
  Attributes:
      companies:
          Companies for the current client.
      next_page_token:
          A token to retrieve the next page of results.
      metadata:
          Additional information for the API invocation, such as the
          request tracking id.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
    ),
)
_sym_db.RegisterMessage(ListCompaniesResponse)


DESCRIPTOR._options = None

_COMPANYSERVICE = _descriptor.ServiceDescriptor(
    name="CompanyService",
    full_name="google.cloud.talent.v4beta1.CompanyService",
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    serialized_start=854,
    serialized_end=1653,
    methods=[
        _descriptor.MethodDescriptor(
            name="CreateCompany",
            full_name="google.cloud.talent.v4beta1.CompanyService.CreateCompany",
            index=0,
            containing_service=None,
            input_type=_CREATECOMPANYREQUEST,
            output_type=google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_company__pb2._COMPANY,
            serialized_options=_b(
                '\202\323\344\223\002+"&/v4beta1/{parent=projects/*}/companies:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetCompany",
            full_name="google.cloud.talent.v4beta1.CompanyService.GetCompany",
            index=1,
            containing_service=None,
            input_type=_GETCOMPANYREQUEST,
            output_type=google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_company__pb2._COMPANY,
            serialized_options=_b(
                "\202\323\344\223\002(\022&/v4beta1/{name=projects/*/companies/*}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateCompany",
            full_name="google.cloud.talent.v4beta1.CompanyService.UpdateCompany",
            index=2,
            containing_service=None,
            input_type=_UPDATECOMPANYREQUEST,
            output_type=google_dot_cloud_dot_talent__v4beta1_dot_proto_dot_company__pb2._COMPANY,
            serialized_options=_b(
                "\202\323\344\223\00232./v4beta1/{company.name=projects/*/companies/*}:\001*"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteCompany",
            full_name="google.cloud.talent.v4beta1.CompanyService.DeleteCompany",
            index=3,
            containing_service=None,
            input_type=_DELETECOMPANYREQUEST,
            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
            serialized_options=_b(
                "\202\323\344\223\002(*&/v4beta1/{name=projects/*/companies/*}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListCompanies",
            full_name="google.cloud.talent.v4beta1.CompanyService.ListCompanies",
            index=4,
            containing_service=None,
            input_type=_LISTCOMPANIESREQUEST,
            output_type=_LISTCOMPANIESRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002(\022&/v4beta1/{parent=projects/*}/companies"
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_COMPANYSERVICE)

DESCRIPTOR.services_by_name["CompanyService"] = _COMPANYSERVICE

# @@protoc_insertion_point(module_scope)
