# Path: google/cloud/servicedirectory_v1beta1/types/service.py
# class Service(proto.Message):


import proto  # type: ignore
from google.cloud.servicedirectory_v1beta1.types import service as gcs_service
            returns endpoints that have name that is alphabetically
            later than the string, so "endpoint-e" is returned but
            "endpoint-a" is not

            -  ``metadata.owner!=sd AND metadata.foo=bar`` returns
               endpoints that have ``owner`` in annotation key but value
               is not ``sd`` AND have key/value ``foo=bar``
            -  ``doesnotexist.foo=bar`` returns an empty list. Note that
               endpoint doesn't have a field called "doesnotexist".
               Since the filter does not match any endpoint, it returns
               no results

            For more information about filtering, see `API
            Filtering <https://aip.dev/160>`__.
    """

    name = proto.Field(proto.STRING, number=1,)
    max_endpoints = proto.Field(proto.INT32, number=2,)
    endpoint_filter = proto.Field(proto.STRING, number=3,)


class ResolveServiceResponse(proto.Message):
    r"""The response message for
    [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService].

    Attributes:
        service (google.cloud.servicedirectory_v1beta1.types.Service):

    """


# Path: google/cloud/servicedirectory_v1beta1/types/service.py
# class Service(proto.Message):


# Path: google/cloud/servicedirectory_v1beta1/types/lookup_service.py
import proto  # type: ignore
from google.cloud.servicedirectory_v1beta1.types import service as gcs_service

            returns endpoints that have name that is alphabetically
            later than the string, so "endpoint-e" is returned but
            "endpoint-a" is not

            -  ``metadata.owner!=sd AND metadata.foo=bar`` returns
               endpoints that have ``owner`` in annotation key but value
               is not ``sd`` AND have key/value ``foo=bar``
            -  ``doesnotexist.foo=bar`` returns an empty list. Note that
               endpoint doesn't have a field called "doesnotexist".
               Since the filter does not match any endpoint, it returns
               no results

            For more information about filtering, see `API
            Filtering <https://aip.dev/160>`__.
    """

    name = proto.Field(proto.STRING, number=1,)
    max_endpoints = proto.Field(proto.INT32, number=2,)
    endpoint_filter = proto.Field(proto.STRING, number=3,)


class ResolveServiceResponse(proto.Message):
    r"""The response message for
    [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService].

    Attributes:
        service (google.cloud.servicedirectory_v1beta1.types.Service):

    """


    service = proto.Field(proto.MESSAGE, number=1, message=gcs_service.Service,)