# Path: google/cloud/scheduler_v1beta1/types/job.py
# class Job(proto.Message):
#     class State(proto.Enum):
# class RetryConfig(proto.Message):
#         STATE_UNSPECIFIED = 0
#         ENABLED = 1
#         PAUSED = 2
#         DISABLED = 3
#         UPDATE_FAILED = 4


import proto  # type: ignore
from google.cloud.scheduler_v1beta1.types import job as gcs_job
from google.protobuf import field_mask_pb2  # type: ignore

    parent = proto.Field(proto.STRING, number=1,)
    page_size = proto.Field(proto.INT32, number=5,)
    page_token = proto.Field(proto.STRING, number=6,)


class ListJobsResponse(proto.Message):
    r"""Response message for listing jobs using
    [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].

    Attributes:
        jobs (Sequence[google.cloud.scheduler_v1beta1.types.Job]):
            The list of jobs.
        next_page_token (str):
            A token to retrieve next page of results. Pass this value in
            the
            [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
            field in the subsequent call to
            [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]
            to retrieve the next page of results. If this is empty it
            indicates that there are no more results through which to
            paginate.

            The page token is valid for only 2 hours.
    """

    @property
    def raw_page(self):
        return self


# Path: google/cloud/scheduler_v1beta1/types/job.py
# class Job(proto.Message):
#     class State(proto.Enum):
# class RetryConfig(proto.Message):
#         STATE_UNSPECIFIED = 0
#         ENABLED = 1
#         PAUSED = 2
#         DISABLED = 3
#         UPDATE_FAILED = 4


# Path: google/cloud/scheduler_v1beta1/types/cloudscheduler.py
import proto  # type: ignore
from google.cloud.scheduler_v1beta1.types import job as gcs_job
from google.protobuf import field_mask_pb2  # type: ignore


    parent = proto.Field(proto.STRING, number=1,)
    page_size = proto.Field(proto.INT32, number=5,)
    page_token = proto.Field(proto.STRING, number=6,)


class ListJobsResponse(proto.Message):
    r"""Response message for listing jobs using
    [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].

    Attributes:
        jobs (Sequence[google.cloud.scheduler_v1beta1.types.Job]):
            The list of jobs.
        next_page_token (str):
            A token to retrieve next page of results. Pass this value in
            the
            [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
            field in the subsequent call to
            [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]
            to retrieve the next page of results. If this is empty it
            indicates that there are no more results through which to
            paginate.

            The page token is valid for only 2 hours.
    """

    @property
    def raw_page(self):
        return self


    jobs = proto.RepeatedField(proto.MESSAGE, number=1, message=gcs_job.Job,)