1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/tasks/v2/queue.proto 18 19 package com.google.cloud.tasks.v2; 20 21 public final class QueueProto { QueueProto()22 private QueueProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_tasks_v2_Queue_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_tasks_v2_RateLimits_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_tasks_v2_RetryConfig_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable; 46 getDescriptor()47 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 48 return descriptor; 49 } 50 51 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 52 53 static { 54 java.lang.String[] descriptorData = { 55 "\n!google/cloud/tasks/v2/queue.proto\022\025goo" 56 + "gle.cloud.tasks.v2\032\031google/api/resource." 57 + "proto\032\"google/cloud/tasks/v2/target.prot" 58 + "o\032\036google/protobuf/duration.proto\032\037googl" 59 + "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" 60 + "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" 61 + "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" 62 + "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" 63 + "loud.tasks.v2.RateLimits\0228\n\014retry_config" 64 + "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" 65 + "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" 66 + "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" 67 + "le.protobuf.Timestamp\022S\n\032stackdriver_log" 68 + "ging_config\030\t \001(\0132/.google.cloud.tasks.v" 69 + "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" 70 + "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" 71 + "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" 72 + "eapis.com/Queue\0226projects/{project}/loca" 73 + "tions/{location}/queues/{queue}\"j\n\nRateL" 74 + "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" 75 + "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" 76 + "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" 77 + "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" 78 + "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" 79 + "backoff\030\003 \001(\0132\031.google.protobuf.Duration" 80 + "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." 81 + "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" 82 + "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " 83 + "\001(\001Bi\n\031com.google.cloud.tasks.v2B\nQueueP" 84 + "rotoP\001Z>cloud.google.com/go/cloudtasks/a" 85 + "piv2/cloudtaskspb;cloudtaskspbb\006proto3" 86 }; 87 descriptor = 88 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 89 descriptorData, 90 new com.google.protobuf.Descriptors.FileDescriptor[] { 91 com.google.api.ResourceProto.getDescriptor(), 92 com.google.cloud.tasks.v2.TargetProto.getDescriptor(), 93 com.google.protobuf.DurationProto.getDescriptor(), 94 com.google.protobuf.TimestampProto.getDescriptor(), 95 }); 96 internal_static_google_cloud_tasks_v2_Queue_descriptor = 97 getDescriptor().getMessageTypes().get(0); 98 internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = 99 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 100 internal_static_google_cloud_tasks_v2_Queue_descriptor, 101 new java.lang.String[] { 102 "Name", 103 "AppEngineRoutingOverride", 104 "RateLimits", 105 "RetryConfig", 106 "State", 107 "PurgeTime", 108 "StackdriverLoggingConfig", 109 }); 110 internal_static_google_cloud_tasks_v2_RateLimits_descriptor = 111 getDescriptor().getMessageTypes().get(1); 112 internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = 113 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 114 internal_static_google_cloud_tasks_v2_RateLimits_descriptor, 115 new java.lang.String[] { 116 "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", 117 }); 118 internal_static_google_cloud_tasks_v2_RetryConfig_descriptor = 119 getDescriptor().getMessageTypes().get(2); 120 internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = 121 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 122 internal_static_google_cloud_tasks_v2_RetryConfig_descriptor, 123 new java.lang.String[] { 124 "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", 125 }); 126 internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor = 127 getDescriptor().getMessageTypes().get(3); 128 internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = 129 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 130 internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor, 131 new java.lang.String[] { 132 "SamplingRatio", 133 }); 134 com.google.protobuf.ExtensionRegistry registry = 135 com.google.protobuf.ExtensionRegistry.newInstance(); 136 registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)137 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 138 descriptor, registry); com.google.api.ResourceProto.getDescriptor()139 com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2.TargetProto.getDescriptor()140 com.google.cloud.tasks.v2.TargetProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor()141 com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()142 com.google.protobuf.TimestampProto.getDescriptor(); 143 } 144 145 // @@protoc_insertion_point(outer_class_scope) 146 } 147