diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java index 8fff5b05a38d..3ab2b89b94d1 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java @@ -49,38 +49,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ource.proto\032&google/cloud/scheduler/v1/t" + "arget.proto\032\036google/protobuf/duration.pr" + "oto\032\037google/protobuf/timestamp.proto\032\027go" - + "ogle/rpc/status.proto\032\034google/api/annota" - + "tions.proto\"\313\006\n\003Job\022\014\n\004name\030\001 \001(\t\022\023\n\013des" - + "cription\030\002 \001(\t\022@\n\rpubsub_target\030\004 \001(\0132\'." - + "google.cloud.scheduler.v1.PubsubTargetH\000" - + "\022P\n\026app_engine_http_target\030\005 \001(\0132..googl" - + "e.cloud.scheduler.v1.AppEngineHttpTarget" - + "H\000\022<\n\013http_target\030\006 \001(\0132%.google.cloud.s" - + "cheduler.v1.HttpTargetH\000\022\020\n\010schedule\030\024 \001" - + "(\t\022\021\n\ttime_zone\030\025 \001(\t\0224\n\020user_update_tim" - + "e\030\t \001(\0132\032.google.protobuf.Timestamp\0223\n\005s" - + "tate\030\n \001(\0162$.google.cloud.scheduler.v1.J" - + "ob.State\022\"\n\006status\030\013 \001(\0132\022.google.rpc.St" - + "atus\0221\n\rschedule_time\030\021 \001(\0132\032.google.pro" - + "tobuf.Timestamp\0225\n\021last_attempt_time\030\022 \001" - + "(\0132\032.google.protobuf.Timestamp\022<\n\014retry_" - + "config\030\023 \001(\0132&.google.cloud.scheduler.v1" - + ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031" - + ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST" - + "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED" - + "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW" - + "\n!cloudscheduler.googleapis.com/Job\0222pro" - + "jects/{project}/locations/{location}/job" - + "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret" - + "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001" - + "(\0132\031.google.protobuf.Duration\0227\n\024min_bac" - + "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" - + "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" - + "oogle.protobuf.Duration\022\025\n\rmax_doublings" - + "\030\005 \001(\005Bo\n\035com.google.cloud.scheduler.v1B" - + "\010JobProtoP\001ZBgoogle.golang.org/genproto/" - + "googleapis/cloud/scheduler/v1;schedulerb" - + "\006proto3" + + "ogle/rpc/status.proto\"\313\006\n\003Job\022\014\n\004name\030\001 " + + "\001(\t\022\023\n\013description\030\002 \001(\t\022@\n\rpubsub_targe" + + "t\030\004 \001(\0132\'.google.cloud.scheduler.v1.Pubs" + + "ubTargetH\000\022P\n\026app_engine_http_target\030\005 \001" + + "(\0132..google.cloud.scheduler.v1.AppEngine" + + "HttpTargetH\000\022<\n\013http_target\030\006 \001(\0132%.goog" + + "le.cloud.scheduler.v1.HttpTargetH\000\022\020\n\010sc" + + "hedule\030\024 \001(\t\022\021\n\ttime_zone\030\025 \001(\t\0224\n\020user_" + + "update_time\030\t \001(\0132\032.google.protobuf.Time" + + "stamp\0223\n\005state\030\n \001(\0162$.google.cloud.sche" + + "duler.v1.Job.State\022\"\n\006status\030\013 \001(\0132\022.goo" + + "gle.rpc.Status\0221\n\rschedule_time\030\021 \001(\0132\032." + + "google.protobuf.Timestamp\0225\n\021last_attemp" + + "t_time\030\022 \001(\0132\032.google.protobuf.Timestamp" + + "\022<\n\014retry_config\030\023 \001(\0132&.google.cloud.sc" + + "heduler.v1.RetryConfig\0223\n\020attempt_deadli" + + "ne\030\026 \001(\0132\031.google.protobuf.Duration\"X\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001" + + "\022\n\n\006PAUSED\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAI" + + "LED\020\004:Z\352AW\n!cloudscheduler.googleapis.co" + + "m/Job\0222projects/{project}/locations/{loc" + + "ation}/jobs/{job}B\010\n\006target\"\342\001\n\013RetryCon" + + "fig\022\023\n\013retry_count\030\001 \001(\005\0225\n\022max_retry_du" + + "ration\030\002 \001(\0132\031.google.protobuf.Duration\022" + + "7\n\024min_backoff_duration\030\003 \001(\0132\031.google.p" + + "rotobuf.Duration\0227\n\024max_backoff_duration" + + "\030\004 \001(\0132\031.google.protobuf.Duration\022\025\n\rmax" + + "_doublings\030\005 \001(\005Bo\n\035com.google.cloud.sch" + + "eduler.v1B\010JobProtoP\001ZBgoogle.golang.org" + + "/genproto/googleapis/cloud/scheduler/v1;" + + "schedulerb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -91,7 +90,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_scheduler_v1_Job_descriptor = getDescriptor().getMessageTypes().get(0); @@ -137,7 +135,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java index 45c003014d92..2b767372611d 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java @@ -74,50 +74,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n&google/cloud/scheduler/v1/target.proto" + "\022\031google.cloud.scheduler.v1\032\031google/api/" - + "resource.proto\032\034google/api/annotations.p" - + "roto\"\352\002\n\nHttpTarget\022\013\n\003uri\030\001 \001(\t\022:\n\013http" - + "_method\030\002 \001(\0162%.google.cloud.scheduler.v" - + "1.HttpMethod\022C\n\007headers\030\003 \003(\01322.google.c" - + "loud.scheduler.v1.HttpTarget.HeadersEntr" - + "y\022\014\n\004body\030\004 \001(\014\022<\n\013oauth_token\030\005 \001(\0132%.g" - + "oogle.cloud.scheduler.v1.OAuthTokenH\000\022:\n" - + "\noidc_token\030\006 \001(\0132$.google.cloud.schedul" - + "er.v1.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizati" - + "on_header\"\274\002\n\023AppEngineHttpTarget\022:\n\013htt" - + "p_method\030\001 \001(\0162%.google.cloud.scheduler." - + "v1.HttpMethod\022G\n\022app_engine_routing\030\002 \001(" - + "\0132+.google.cloud.scheduler.v1.AppEngineR" - + "outing\022\024\n\014relative_uri\030\003 \001(\t\022L\n\007headers\030" - + "\004 \003(\0132;.google.cloud.scheduler.v1.AppEng" - + "ineHttpTarget.HeadersEntry\022\014\n\004body\030\005 \001(\014" - + "\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"\322\001\n\014PubsubTarget\0224\n\ntopic_name\030" - + "\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/Topic\022" - + "\014\n\004data\030\003 \001(\014\022K\n\nattributes\030\004 \003(\01327.goog" - + "le.cloud.scheduler.v1.PubsubTarget.Attri" - + "butesEntry\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRoutin" - + "g\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020\n\010i" - + "nstance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthToke" - + "n\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005scop" - + "e\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_account_" - + "email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttpMet" - + "hod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004POST" - + "\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELETE" - + "\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\265\001\n\035com.googl" - + "e.cloud.scheduler.v1B\013TargetProtoP\001ZBgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/scheduler/v1;scheduler\352A@\n\033pubsub.googl" - + "eapis.com/Topic\022!projects/{project}/topi" - + "cs/{topic}b\006proto3" + + "resource.proto\"\352\002\n\nHttpTarget\022\013\n\003uri\030\001 \001" + + "(\t\022:\n\013http_method\030\002 \001(\0162%.google.cloud.s" + + "cheduler.v1.HttpMethod\022C\n\007headers\030\003 \003(\0132" + + "2.google.cloud.scheduler.v1.HttpTarget.H" + + "eadersEntry\022\014\n\004body\030\004 \001(\014\022<\n\013oauth_token" + + "\030\005 \001(\0132%.google.cloud.scheduler.v1.OAuth" + + "TokenH\000\022:\n\noidc_token\030\006 \001(\0132$.google.clo" + + "ud.scheduler.v1.OidcTokenH\000\032.\n\014HeadersEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024a" + + "uthorization_header\"\274\002\n\023AppEngineHttpTar" + + "get\022:\n\013http_method\030\001 \001(\0162%.google.cloud." + + "scheduler.v1.HttpMethod\022G\n\022app_engine_ro" + + "uting\030\002 \001(\0132+.google.cloud.scheduler.v1." + + "AppEngineRouting\022\024\n\014relative_uri\030\003 \001(\t\022L" + + "\n\007headers\030\004 \003(\0132;.google.cloud.scheduler" + + ".v1.AppEngineHttpTarget.HeadersEntry\022\014\n\004" + + "body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"\322\001\n\014PubsubTarget\0224\n\nt" + + "opic_name\030\001 \001(\tB \372A\035\n\033pubsub.googleapis." + + "com/Topic\022\014\n\004data\030\003 \001(\014\022K\n\nattributes\030\004 " + + "\003(\01327.google.cloud.scheduler.v1.PubsubTa" + + "rget.AttributesEntry\0321\n\017AttributesEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n" + + "\nOAuthToken\022\035\n\025service_account_email\030\001 \001" + + "(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025servic" + + "e_account_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*" + + "s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED" + + "\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004" + + "\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\265\001\n" + + "\035com.google.cloud.scheduler.v1B\013TargetPr" + + "otoP\001ZBgoogle.golang.org/genproto/google" + + "apis/cloud/scheduler/v1;scheduler\352A@\n\033pu" + + "bsub.googleapis.com/Topic\022!projects/{pro" + + "ject}/topics/{topic}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.ResourceProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor = getDescriptor().getMessageTypes().get(0); @@ -206,7 +204,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.ResourceProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto index d26070266b18..7e43ff1647fd 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto @@ -22,7 +22,6 @@ import "google/cloud/scheduler/v1/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1;scheduler"; option java_multiple_files = true; diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto index 9a8f32f7c60e..07466ce97654 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto @@ -18,7 +18,6 @@ syntax = "proto3"; package google.cloud.scheduler.v1; import "google/api/resource.proto"; -import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1;scheduler"; option java_multiple_files = true; diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java index 3272fc4bf36a..67767286c4d5 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java @@ -49,39 +49,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le/api/resource.proto\032+google/cloud/sche" + "duler/v1beta1/target.proto\032\036google/proto" + "buf/duration.proto\032\037google/protobuf/time" - + "stamp.proto\032\027google/rpc/status.proto\032\034go" - + "ogle/api/annotations.proto\"\344\006\n\003Job\022\014\n\004na" - + "me\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022E\n\rpubsub_" - + "target\030\004 \001(\0132,.google.cloud.scheduler.v1" - + "beta1.PubsubTargetH\000\022U\n\026app_engine_http_" - + "target\030\005 \001(\01323.google.cloud.scheduler.v1" - + "beta1.AppEngineHttpTargetH\000\022A\n\013http_targ" - + "et\030\006 \001(\0132*.google.cloud.scheduler.v1beta" - + "1.HttpTargetH\000\022\020\n\010schedule\030\024 \001(\t\022\021\n\ttime" - + "_zone\030\025 \001(\t\0224\n\020user_update_time\030\t \001(\0132\032." - + "google.protobuf.Timestamp\0228\n\005state\030\n \001(\016" - + "2).google.cloud.scheduler.v1beta1.Job.St" - + "ate\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Status\022" - + "1\n\rschedule_time\030\021 \001(\0132\032.google.protobuf" - + ".Timestamp\0225\n\021last_attempt_time\030\022 \001(\0132\032." - + "google.protobuf.Timestamp\022A\n\014retry_confi" - + "g\030\023 \001(\0132+.google.cloud.scheduler.v1beta1" - + ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031" - + ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST" - + "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED" - + "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW" - + "\n!cloudscheduler.googleapis.com/Job\0222pro" - + "jects/{project}/locations/{location}/job" - + "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret" - + "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001" - + "(\0132\031.google.protobuf.Duration\0227\n\024min_bac" - + "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" - + "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" - + "oogle.protobuf.Duration\022\025\n\rmax_doublings" - + "\030\005 \001(\005By\n\"com.google.cloud.scheduler.v1b" - + "eta1B\010JobProtoP\001ZGgoogle.golang.org/genp" - + "roto/googleapis/cloud/scheduler/v1beta1;" - + "schedulerb\006proto3" + + "stamp.proto\032\027google/rpc/status.proto\"\344\006\n" + + "\003Job\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022" + + "E\n\rpubsub_target\030\004 \001(\0132,.google.cloud.sc" + + "heduler.v1beta1.PubsubTargetH\000\022U\n\026app_en" + + "gine_http_target\030\005 \001(\01323.google.cloud.sc" + + "heduler.v1beta1.AppEngineHttpTargetH\000\022A\n" + + "\013http_target\030\006 \001(\0132*.google.cloud.schedu" + + "ler.v1beta1.HttpTargetH\000\022\020\n\010schedule\030\024 \001" + + "(\t\022\021\n\ttime_zone\030\025 \001(\t\0224\n\020user_update_tim" + + "e\030\t \001(\0132\032.google.protobuf.Timestamp\0228\n\005s" + + "tate\030\n \001(\0162).google.cloud.scheduler.v1be" + + "ta1.Job.State\022\"\n\006status\030\013 \001(\0132\022.google.r" + + "pc.Status\0221\n\rschedule_time\030\021 \001(\0132\032.googl" + + "e.protobuf.Timestamp\0225\n\021last_attempt_tim" + + "e\030\022 \001(\0132\032.google.protobuf.Timestamp\022A\n\014r" + + "etry_config\030\023 \001(\0132+.google.cloud.schedul" + + "er.v1beta1.RetryConfig\0223\n\020attempt_deadli" + + "ne\030\026 \001(\0132\031.google.protobuf.Duration\"X\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001" + + "\022\n\n\006PAUSED\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAI" + + "LED\020\004:Z\352AW\n!cloudscheduler.googleapis.co" + + "m/Job\0222projects/{project}/locations/{loc" + + "ation}/jobs/{job}B\010\n\006target\"\342\001\n\013RetryCon" + + "fig\022\023\n\013retry_count\030\001 \001(\005\0225\n\022max_retry_du" + + "ration\030\002 \001(\0132\031.google.protobuf.Duration\022" + + "7\n\024min_backoff_duration\030\003 \001(\0132\031.google.p" + + "rotobuf.Duration\0227\n\024max_backoff_duration" + + "\030\004 \001(\0132\031.google.protobuf.Duration\022\025\n\rmax" + + "_doublings\030\005 \001(\005By\n\"com.google.cloud.sch" + + "eduler.v1beta1B\010JobProtoP\001ZGgoogle.golan" + + "g.org/genproto/googleapis/cloud/schedule" + + "r/v1beta1;schedulerb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -92,7 +91,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_scheduler_v1beta1_Job_descriptor = getDescriptor().getMessageTypes().get(0); @@ -138,7 +136,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java index 1118344d2123..79f4a379794c 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java @@ -74,51 +74,50 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n+google/cloud/scheduler/v1beta1/target." + "proto\022\036google.cloud.scheduler.v1beta1\032\031g" - + "oogle/api/resource.proto\032\034google/api/ann" - + "otations.proto\"\376\002\n\nHttpTarget\022\013\n\003uri\030\001 \001" - + "(\t\022?\n\013http_method\030\002 \001(\0162*.google.cloud.s" - + "cheduler.v1beta1.HttpMethod\022H\n\007headers\030\003" - + " \003(\01327.google.cloud.scheduler.v1beta1.Ht" - + "tpTarget.HeadersEntry\022\014\n\004body\030\004 \001(\014\022A\n\013o" - + "auth_token\030\005 \001(\0132*.google.cloud.schedule" - + "r.v1beta1.OAuthTokenH\000\022?\n\noidc_token\030\006 \001" - + "(\0132).google.cloud.scheduler.v1beta1.Oidc" - + "TokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"" - + "\313\002\n\023AppEngineHttpTarget\022?\n\013http_method\030\001" - + " \001(\0162*.google.cloud.scheduler.v1beta1.Ht" - + "tpMethod\022L\n\022app_engine_routing\030\002 \001(\01320.g" - + "oogle.cloud.scheduler.v1beta1.AppEngineR" - + "outing\022\024\n\014relative_uri\030\003 \001(\t\022Q\n\007headers\030" - + "\004 \003(\0132@.google.cloud.scheduler.v1beta1.A" - + "ppEngineHttpTarget.HeadersEntry\022\014\n\004body\030" - + "\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001\"\327\001\n\014PubsubTarget\0224\n\ntopic_" - + "name\030\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/T" - + "opic\022\014\n\004data\030\003 \001(\014\022P\n\nattributes\030\004 \003(\0132<" - + ".google.cloud.scheduler.v1beta1.PubsubTa" - + "rget.AttributesEntry\0321\n\017AttributesEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" - + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" - + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n" - + "\nOAuthToken\022\035\n\025service_account_email\030\001 \001" - + "(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025servic" - + "e_account_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*" - + "s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED" - + "\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004" - + "\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\277\001\n" - + "\"com.google.cloud.scheduler.v1beta1B\013Tar" - + "getProtoP\001ZGgoogle.golang.org/genproto/g" - + "oogleapis/cloud/scheduler/v1beta1;schedu" - + "ler\352A@\n\033pubsub.googleapis.com/Topic\022!pro" - + "jects/{project}/topics/{topic}b\006proto3" + + "oogle/api/resource.proto\"\376\002\n\nHttpTarget\022" + + "\013\n\003uri\030\001 \001(\t\022?\n\013http_method\030\002 \001(\0162*.goog" + + "le.cloud.scheduler.v1beta1.HttpMethod\022H\n" + + "\007headers\030\003 \003(\01327.google.cloud.scheduler." + + "v1beta1.HttpTarget.HeadersEntry\022\014\n\004body\030" + + "\004 \001(\014\022A\n\013oauth_token\030\005 \001(\0132*.google.clou" + + "d.scheduler.v1beta1.OAuthTokenH\000\022?\n\noidc" + + "_token\030\006 \001(\0132).google.cloud.scheduler.v1" + + "beta1.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizati" + + "on_header\"\313\002\n\023AppEngineHttpTarget\022?\n\013htt" + + "p_method\030\001 \001(\0162*.google.cloud.scheduler." + + "v1beta1.HttpMethod\022L\n\022app_engine_routing" + + "\030\002 \001(\01320.google.cloud.scheduler.v1beta1." + + "AppEngineRouting\022\024\n\014relative_uri\030\003 \001(\t\022Q" + + "\n\007headers\030\004 \003(\0132@.google.cloud.scheduler" + + ".v1beta1.AppEngineHttpTarget.HeadersEntr" + + "y\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\327\001\n\014PubsubTarget" + + "\0224\n\ntopic_name\030\001 \001(\tB \372A\035\n\033pubsub.google" + + "apis.com/Topic\022\014\n\004data\030\003 \001(\014\022P\n\nattribut" + + "es\030\004 \003(\0132<.google.cloud.scheduler.v1beta" + + "1.PubsubTarget.AttributesEntry\0321\n\017Attrib" + + "utesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\"T\n\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017" + + "\n\007version\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004hos" + + "t\030\004 \001(\t\":\n\nOAuthToken\022\035\n\025service_account" + + "_email\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken" + + "\022\035\n\025service_account_email\030\001 \001(\t\022\020\n\010audie" + + "nce\030\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_U" + + "NSPECIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020" + + "\003\022\007\n\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPT" + + "IONS\020\007B\277\001\n\"com.google.cloud.scheduler.v1" + + "beta1B\013TargetProtoP\001ZGgoogle.golang.org/" + + "genproto/googleapis/cloud/scheduler/v1be" + + "ta1;scheduler\352A@\n\033pubsub.googleapis.com/" + + "Topic\022!projects/{project}/topics/{topic}" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.ResourceProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor = getDescriptor().getMessageTypes().get(0); @@ -211,7 +210,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.ResourceProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto index ddfda31eddc2..4e8e3777fc82 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto @@ -22,7 +22,6 @@ import "google/cloud/scheduler/v1beta1/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1;scheduler"; option java_multiple_files = true; diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto index 4b47e356768b..7f5214f593e6 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto @@ -18,7 +18,6 @@ syntax = "proto3"; package google.cloud.scheduler.v1beta1; import "google/api/resource.proto"; -import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1;scheduler"; option java_multiple_files = true; diff --git a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java index 45995ffcf386..2ecced4e5d23 100644 --- a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java +++ b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java @@ -20,6 +20,7 @@ import com.google.cloud.scheduler.v1.CloudSchedulerClient; import com.google.cloud.scheduler.v1.DeleteJobRequest; import com.google.cloud.scheduler.v1.JobName; +import com.google.protobuf.Empty; public class SyncDeleteJob { diff --git a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java index 97e14c2d1106..0930527852d7 100644 --- a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java +++ b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java @@ -19,6 +19,7 @@ // [START scheduler_v1_generated_cloudschedulerclient_deletejob_jobname_sync] import com.google.cloud.scheduler.v1.CloudSchedulerClient; import com.google.cloud.scheduler.v1.JobName; +import com.google.protobuf.Empty; public class SyncDeleteJobJobname { diff --git a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java index d84aebbe666f..d9aca0cfd62d 100644 --- a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java +++ b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java @@ -19,6 +19,7 @@ // [START scheduler_v1_generated_cloudschedulerclient_deletejob_string_sync] import com.google.cloud.scheduler.v1.CloudSchedulerClient; import com.google.cloud.scheduler.v1.JobName; +import com.google.protobuf.Empty; public class SyncDeleteJobString { diff --git a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java index 1faee9723bf1..a91bdb8e7170 100644 --- a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java +++ b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java @@ -20,6 +20,7 @@ import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; import com.google.cloud.scheduler.v1beta1.DeleteJobRequest; import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.protobuf.Empty; public class SyncDeleteJob { diff --git a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java index 2503b646761f..ff89be60e43b 100644 --- a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java +++ b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java @@ -19,6 +19,7 @@ // [START scheduler_v1beta1_generated_cloudschedulerclient_deletejob_jobname_sync] import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.protobuf.Empty; public class SyncDeleteJobJobname { diff --git a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java index bfa1952a5323..b9cf779c7a55 100644 --- a/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java +++ b/java-scheduler/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java @@ -19,6 +19,7 @@ // [START scheduler_v1beta1_generated_cloudschedulerclient_deletejob_string_sync] import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.protobuf.Empty; public class SyncDeleteJobString {