# Path: grafeas/grafeas_v1/types/grafeas.py
# class Occurrence(proto.Message):
# class Note(proto.Message):
# class GetOccurrenceRequest(proto.Message):
# class ListOccurrencesRequest(proto.Message):
# class ListOccurrencesResponse(proto.Message):
# class DeleteOccurrenceRequest(proto.Message):
# class CreateOccurrenceRequest(proto.Message):
# class UpdateOccurrenceRequest(proto.Message):
# class GetNoteRequest(proto.Message):
# class GetOccurrenceNoteRequest(proto.Message):
# class ListNotesRequest(proto.Message):
# class ListNotesResponse(proto.Message):
# class DeleteNoteRequest(proto.Message):
# class CreateNoteRequest(proto.Message):
# class UpdateNoteRequest(proto.Message):
# class ListNoteOccurrencesRequest(proto.Message):
# class ListNoteOccurrencesResponse(proto.Message):
# class BatchCreateNotesRequest(proto.Message):
# class BatchCreateNotesResponse(proto.Message):
# class BatchCreateOccurrencesRequest(proto.Message):
# class BatchCreateOccurrencesResponse(proto.Message):
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):


import abc
import pkg_resources
import google.auth  # type: ignore
import google.api_core
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.protobuf import empty_pb2  # type: ignore
from grafeas.grafeas_v1.types import grafeas
                    ),
                    deadline=30.0,
                ),
                default_timeout=30.0,
                client_info=client_info,
            ),
        }

    def close(self):
        """Closes resources associated with the transport.

       .. warning::
            Only call this method if the transport is NOT shared
            with other clients - this may cause errors in other clients!
        """
        raise NotImplementedError()

    @property
    def get_occurrence(
        self,
    ) -> Callable[
        [grafeas.GetOccurrenceRequest],
        Union[grafeas.Occurrence, Awaitable[grafeas.Occurrence]],
    ]:
        raise NotImplementedError()

    @property
    def list_occurrences(
        self,
    ) -> Callable[

# Path: grafeas/grafeas_v1/types/grafeas.py
# class Occurrence(proto.Message):
# class Note(proto.Message):
# class GetOccurrenceRequest(proto.Message):
# class ListOccurrencesRequest(proto.Message):
# class ListOccurrencesResponse(proto.Message):
# class DeleteOccurrenceRequest(proto.Message):
# class CreateOccurrenceRequest(proto.Message):
# class UpdateOccurrenceRequest(proto.Message):
# class GetNoteRequest(proto.Message):
# class GetOccurrenceNoteRequest(proto.Message):
# class ListNotesRequest(proto.Message):
# class ListNotesResponse(proto.Message):
# class DeleteNoteRequest(proto.Message):
# class CreateNoteRequest(proto.Message):
# class UpdateNoteRequest(proto.Message):
# class ListNoteOccurrencesRequest(proto.Message):
# class ListNoteOccurrencesResponse(proto.Message):
# class BatchCreateNotesRequest(proto.Message):
# class BatchCreateNotesResponse(proto.Message):
# class BatchCreateOccurrencesRequest(proto.Message):
# class BatchCreateOccurrencesResponse(proto.Message):
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):


# Path: grafeas/grafeas_v1/services/grafeas/transports/base.py
import abc
import pkg_resources
import google.auth  # type: ignore
import google.api_core
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.protobuf import empty_pb2  # type: ignore
from grafeas.grafeas_v1.types import grafeas

                    ),
                    deadline=30.0,
                ),
                default_timeout=30.0,
                client_info=client_info,
            ),
        }

    def close(self):
        """Closes resources associated with the transport.

       .. warning::
            Only call this method if the transport is NOT shared
            with other clients - this may cause errors in other clients!
        """
        raise NotImplementedError()

    @property
    def get_occurrence(
        self,
    ) -> Callable[
        [grafeas.GetOccurrenceRequest],
        Union[grafeas.Occurrence, Awaitable[grafeas.Occurrence]],
    ]:
        raise NotImplementedError()

    @property
    def list_occurrences(
        self,
    ) -> Callable[

        [grafeas.ListOccurrencesRequest],