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/v2beta3/queue.proto 18 19 package com.google.cloud.tasks.v2beta3; 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_v2beta3_Queue_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable; 50 getDescriptor()51 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 52 return descriptor; 53 } 54 55 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 56 57 static { 58 java.lang.String[] descriptorData = { 59 "\n&google/cloud/tasks/v2beta3/queue.proto" 60 + "\022\032google.cloud.tasks.v2beta3\032\037google/api" 61 + "/field_behavior.proto\032\031google/api/resour" 62 + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" 63 + "get.proto\032\036google/protobuf/duration.prot" 64 + "o\032\037google/protobuf/timestamp.proto\"\337\006\n\005Q" 65 + "ueue\022\014\n\004name\030\001 \001(\t\022O\n\025app_engine_http_qu" 66 + "eue\030\003 \001(\0132..google.cloud.tasks.v2beta3.A" 67 + "ppEngineHttpQueueH\000\022;\n\013rate_limits\030\004 \001(\013" 68 + "2&.google.cloud.tasks.v2beta3.RateLimits" 69 + "\022=\n\014retry_config\030\005 \001(\0132\'.google.cloud.ta" 70 + "sks.v2beta3.RetryConfig\0226\n\005state\030\006 \001(\0162\'" 71 + ".google.cloud.tasks.v2beta3.Queue.State\022" 72 + ".\n\npurge_time\030\007 \001(\0132\032.google.protobuf.Ti" 73 + "mestamp\022+\n\010task_ttl\030\010 \001(\0132\031.google.proto" 74 + "buf.Duration\0220\n\rtombstone_ttl\030\t \001(\0132\031.go" 75 + "ogle.protobuf.Duration\022X\n\032stackdriver_lo" 76 + "gging_config\030\n \001(\01324.google.cloud.tasks." 77 + "v2beta3.StackdriverLoggingConfig\0229\n\004type" 78 + "\030\013 \001(\0162&.google.cloud.tasks.v2beta3.Queu" 79 + "e.TypeB\003\340A\005\022:\n\005stats\030\014 \001(\0132&.google.clou" 80 + "d.tasks.v2beta3.QueueStatsB\003\340A\003\"E\n\005State" 81 + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006" 82 + "PAUSED\020\002\022\014\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_U" 83 + "NSPECIFIED\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037c" 84 + "loudtasks.googleapis.com/Queue\0226projects" 85 + "/{project}/locations/{location}/queues/{" 86 + "queue}B\014\n\nqueue_type\"j\n\nRateLimits\022!\n\031ma" 87 + "x_dispatches_per_second\030\001 \001(\001\022\026\n\016max_bur" 88 + "st_size\030\002 \001(\005\022!\n\031max_concurrent_dispatch" 89 + "es\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014max_attempts" 90 + "\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001(\0132\031.goo" 91 + "gle.protobuf.Duration\022.\n\013min_backoff\030\003 \001" 92 + "(\0132\031.google.protobuf.Duration\022.\n\013max_bac" 93 + "koff\030\004 \001(\0132\031.google.protobuf.Duration\022\025\n" 94 + "\rmax_doublings\030\005 \001(\005\"2\n\030StackdriverLoggi" 95 + "ngConfig\022\026\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQue" 96 + "ueStats\022\030\n\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035old" 97 + "est_estimated_arrival_time\030\002 \001(\0132\032.googl" 98 + "e.protobuf.TimestampB\003\340A\003\022\'\n\032executed_la" 99 + "st_minute_count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent" 100 + "_dispatches_count\030\004 \001(\003B\003\340A\003\022%\n\030effectiv" 101 + "e_execution_rate\030\005 \001(\001B\003\340A\003Bs\n\036com.googl" 102 + "e.cloud.tasks.v2beta3B\nQueueProtoP\001ZCclo" 103 + "ud.google.com/go/cloudtasks/apiv2beta3/c" 104 + "loudtaskspb;cloudtaskspbb\006proto3" 105 }; 106 descriptor = 107 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 108 descriptorData, 109 new com.google.protobuf.Descriptors.FileDescriptor[] { 110 com.google.api.FieldBehaviorProto.getDescriptor(), 111 com.google.api.ResourceProto.getDescriptor(), 112 com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), 113 com.google.protobuf.DurationProto.getDescriptor(), 114 com.google.protobuf.TimestampProto.getDescriptor(), 115 }); 116 internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = 117 getDescriptor().getMessageTypes().get(0); 118 internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = 119 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 120 internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, 121 new java.lang.String[] { 122 "Name", 123 "AppEngineHttpQueue", 124 "RateLimits", 125 "RetryConfig", 126 "State", 127 "PurgeTime", 128 "TaskTtl", 129 "TombstoneTtl", 130 "StackdriverLoggingConfig", 131 "Type", 132 "Stats", 133 "QueueType", 134 }); 135 internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = 136 getDescriptor().getMessageTypes().get(1); 137 internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = 138 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 139 internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, 140 new java.lang.String[] { 141 "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", 142 }); 143 internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = 144 getDescriptor().getMessageTypes().get(2); 145 internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = 146 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 147 internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, 148 new java.lang.String[] { 149 "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", 150 }); 151 internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = 152 getDescriptor().getMessageTypes().get(3); 153 internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = 154 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 155 internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, 156 new java.lang.String[] { 157 "SamplingRatio", 158 }); 159 internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = 160 getDescriptor().getMessageTypes().get(4); 161 internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = 162 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 163 internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, 164 new java.lang.String[] { 165 "TasksCount", 166 "OldestEstimatedArrivalTime", 167 "ExecutedLastMinuteCount", 168 "ConcurrentDispatchesCount", 169 "EffectiveExecutionRate", 170 }); 171 com.google.protobuf.ExtensionRegistry registry = 172 com.google.protobuf.ExtensionRegistry.newInstance(); 173 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); 174 registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)175 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 176 descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor()177 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor()178 com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor()179 com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor()180 com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()181 com.google.protobuf.TimestampProto.getDescriptor(); 182 } 183 184 // @@protoc_insertion_point(outer_class_scope) 185 } 186