/*
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * 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.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/scheduler/v1beta1/job.proto

package com.google.cloud.scheduler.v1beta1;

public final class JobProto {
  private JobProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n(google/cloud/scheduler/v1beta1/job.pro"
          + "to\022\036google.cloud.scheduler.v1beta1\032\037goog"
          + "le/api/field_behavior.proto\032\031google/api/"
          + "resource.proto\032+google/cloud/scheduler/v"
          + "1beta1/target.proto\032\036google/protobuf/dur"
          + "ation.proto\032\037google/protobuf/timestamp.p"
          + "roto\032\027google/rpc/status.proto\"\212\007\n\003Job\022\014\n"
          + "\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022E\n\rpubs"
          + "ub_target\030\004 \001(\0132,.google.cloud.scheduler"
          + ".v1beta1.PubsubTargetH\000\022U\n\026app_engine_ht"
          + "tp_target\030\005 \001(\01323.google.cloud.scheduler"
          + ".v1beta1.AppEngineHttpTargetH\000\022A\n\013http_t"
          + "arget\030\006 \001(\0132*.google.cloud.scheduler.v1b"
          + "eta1.HttpTargetH\000\022\020\n\010schedule\030\024 \001(\t\022\021\n\tt"
          + "ime_zone\030\025 \001(\t\0224\n\020user_update_time\030\t \001(\013"
          + "2\032.google.protobuf.Timestamp\0228\n\005state\030\n "
          + "\001(\0162).google.cloud.scheduler.v1beta1.Job"
          + ".State\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Stat"
          + "us\0221\n\rschedule_time\030\021 \001(\0132\032.google.proto"
          + "buf.Timestamp\0225\n\021last_attempt_time\030\022 \001(\013"
          + "2\032.google.protobuf.Timestamp\022A\n\014retry_co"
          + "nfig\030\023 \001(\0132+.google.cloud.scheduler.v1be"
          + "ta1.RetryConfig\0223\n\020attempt_deadline\030\026 \001("
          + "\0132\031.google.protobuf.Duration\022$\n\026legacy_a"
          + "pp_engine_cron\030\027 \001(\010B\004\342A\001\005\"X\n\005State\022\025\n\021S"
          + "TATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSE"
          + "D\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352A"
          + "W\n!cloudscheduler.googleapis.com/Job\0222pr"
          + "ojects/{project}/locations/{location}/jo"
          + "bs/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013re"
          + "try_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 "
          + "\001(\0132\031.google.protobuf.Duration\0227\n\024min_ba"
          + "ckoff_duration\030\003 \001(\0132\031.google.protobuf.D"
          + "uration\0227\n\024max_backoff_duration\030\004 \001(\0132\031."
          + "google.protobuf.Duration\022\025\n\rmax_doubling"
          + "s\030\005 \001(\005Br\n\"com.google.cloud.scheduler.v1"
          + "beta1B\010JobProtoP\001Z@cloud.google.com/go/s"
          + "cheduler/apiv1beta1/schedulerpb;schedule"
          + "rpbb\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor(),
              com.google.protobuf.DurationProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
              com.google.rpc.StatusProto.getDescriptor(),
            });
    internal_static_google_cloud_scheduler_v1beta1_Job_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_scheduler_v1beta1_Job_descriptor,
            new java.lang.String[] {
              "Name",
              "Description",
              "PubsubTarget",
              "AppEngineHttpTarget",
              "HttpTarget",
              "Schedule",
              "TimeZone",
              "UserUpdateTime",
              "State",
              "Status",
              "ScheduleTime",
              "LastAttemptTime",
              "RetryConfig",
              "AttemptDeadline",
              "LegacyAppEngineCron",
              "Target",
            });
    internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor,
            new java.lang.String[] {
              "RetryCount",
              "MaxRetryDuration",
              "MinBackoffDuration",
              "MaxBackoffDuration",
              "MaxDoublings",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.ResourceProto.resource);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor();
    com.google.protobuf.DurationProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
    com.google.rpc.StatusProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
