# Path: google/cloud/video/transcoder_v1/types/resources.py
# class Job(proto.Message):
#     class ProcessingState(proto.Enum):
# class JobTemplate(proto.Message):
# class JobConfig(proto.Message):
# class Input(proto.Message):
# class Output(proto.Message):
# class EditAtom(proto.Message):
# class AdBreak(proto.Message):
# class ElementaryStream(proto.Message):
# class MuxStream(proto.Message):
# class Manifest(proto.Message):
#     class ManifestType(proto.Enum):
# class PubsubDestination(proto.Message):
# class SpriteSheet(proto.Message):
# class Overlay(proto.Message):
#     class FadeType(proto.Enum):
#     class NormalizedCoordinate(proto.Message):
#     class Image(proto.Message):
#     class AnimationStatic(proto.Message):
#     class AnimationFade(proto.Message):
#     class AnimationEnd(proto.Message):
#     class Animation(proto.Message):
# class PreprocessingConfig(proto.Message):
#     class Color(proto.Message):
#     class Denoise(proto.Message):
#     class Deblock(proto.Message):
#     class Audio(proto.Message):
#     class Crop(proto.Message):
#     class Pad(proto.Message):
# class VideoStream(proto.Message):
#     class H264CodecSettings(proto.Message):
#     class H265CodecSettings(proto.Message):
#     class Vp9CodecSettings(proto.Message):
# class AudioStream(proto.Message):
#     class AudioMapping(proto.Message):
# class TextStream(proto.Message):
#     class TextMapping(proto.Message):
# class SegmentSettings(proto.Message):
#         PROCESSING_STATE_UNSPECIFIED = 0
#         PENDING = 1
#         RUNNING = 2
#         SUCCEEDED = 3
#         FAILED = 4
#         MANIFEST_TYPE_UNSPECIFIED = 0
#         HLS = 1
#         DASH = 2
#         FADE_TYPE_UNSPECIFIED = 0
#         FADE_IN = 1
#         FADE_OUT = 2
# 
# Path: google/cloud/video/transcoder_v1/types/services.py
# class CreateJobRequest(proto.Message):
# class ListJobsRequest(proto.Message):
# class GetJobRequest(proto.Message):
# class DeleteJobRequest(proto.Message):
# class ListJobsResponse(proto.Message):
# class CreateJobTemplateRequest(proto.Message):
# class ListJobTemplatesRequest(proto.Message):
# class GetJobTemplateRequest(proto.Message):
# class DeleteJobTemplateRequest(proto.Message):
# class ListJobTemplatesResponse(proto.Message):
#     def raw_page(self):
#     def raw_page(self):


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.video.transcoder_v1.types import resources
from google.cloud.video.transcoder_v1.types import services
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#



class ListJobsPager:
    """A pager for iterating through ``list_jobs`` requests.

    This class thinly wraps an initial
    :class:`google.cloud.video.transcoder_v1.types.ListJobsResponse` object, and
    provides an ``__iter__`` method to iterate through its
    ``jobs`` field.

    If there are more pages, the ``__iter__`` method will make additional
    ``ListJobs`` requests and continue to iterate
    through the ``jobs`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.video.transcoder_v1.types.ListJobsResponse`
    attributes are available on the pager. If multiple requests are made, only
    the most recent response is retained, and thus used for attribute lookup.
    """

    def __init__(
        self,

# Path: google/cloud/video/transcoder_v1/types/resources.py
# class Job(proto.Message):
#     class ProcessingState(proto.Enum):
# class JobTemplate(proto.Message):
# class JobConfig(proto.Message):
# class Input(proto.Message):
# class Output(proto.Message):
# class EditAtom(proto.Message):
# class AdBreak(proto.Message):
# class ElementaryStream(proto.Message):
# class MuxStream(proto.Message):
# class Manifest(proto.Message):
#     class ManifestType(proto.Enum):
# class PubsubDestination(proto.Message):
# class SpriteSheet(proto.Message):
# class Overlay(proto.Message):
#     class FadeType(proto.Enum):
#     class NormalizedCoordinate(proto.Message):
#     class Image(proto.Message):
#     class AnimationStatic(proto.Message):
#     class AnimationFade(proto.Message):
#     class AnimationEnd(proto.Message):
#     class Animation(proto.Message):
# class PreprocessingConfig(proto.Message):
#     class Color(proto.Message):
#     class Denoise(proto.Message):
#     class Deblock(proto.Message):
#     class Audio(proto.Message):
#     class Crop(proto.Message):
#     class Pad(proto.Message):
# class VideoStream(proto.Message):
#     class H264CodecSettings(proto.Message):
#     class H265CodecSettings(proto.Message):
#     class Vp9CodecSettings(proto.Message):
# class AudioStream(proto.Message):
#     class AudioMapping(proto.Message):
# class TextStream(proto.Message):
#     class TextMapping(proto.Message):
# class SegmentSettings(proto.Message):
#         PROCESSING_STATE_UNSPECIFIED = 0
#         PENDING = 1
#         RUNNING = 2
#         SUCCEEDED = 3
#         FAILED = 4
#         MANIFEST_TYPE_UNSPECIFIED = 0
#         HLS = 1
#         DASH = 2
#         FADE_TYPE_UNSPECIFIED = 0
#         FADE_IN = 1
#         FADE_OUT = 2
# 
# Path: google/cloud/video/transcoder_v1/types/services.py
# class CreateJobRequest(proto.Message):
# class ListJobsRequest(proto.Message):
# class GetJobRequest(proto.Message):
# class DeleteJobRequest(proto.Message):
# class ListJobsResponse(proto.Message):
# class CreateJobTemplateRequest(proto.Message):
# class ListJobTemplatesRequest(proto.Message):
# class GetJobTemplateRequest(proto.Message):
# class DeleteJobTemplateRequest(proto.Message):
# class ListJobTemplatesResponse(proto.Message):
#     def raw_page(self):
#     def raw_page(self):


# Path: google/cloud/video/transcoder_v1/services/transcoder_service/pagers.py
from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.video.transcoder_v1.types import resources
from google.cloud.video.transcoder_v1.types import services

#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#



class ListJobsPager:
    """A pager for iterating through ``list_jobs`` requests.

    This class thinly wraps an initial
    :class:`google.cloud.video.transcoder_v1.types.ListJobsResponse` object, and
    provides an ``__iter__`` method to iterate through its
    ``jobs`` field.

    If there are more pages, the ``__iter__`` method will make additional
    ``ListJobs`` requests and continue to iterate
    through the ``jobs`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.video.transcoder_v1.types.ListJobsResponse`
    attributes are available on the pager. If multiple requests are made, only
    the most recent response is retained, and thus used for attribute lookup.
    """

    def __init__(
        self,

        method: Callable[..., services.ListJobsResponse],