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/api/routing.proto 18 19 package com.google.api; 20 21 public final class RoutingProto { RoutingProto()22 private RoutingProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { 25 registry.add(com.google.api.RoutingProto.routing); 26 } 27 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)28 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 29 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 30 } 31 32 public static final int ROUTING_FIELD_NUMBER = 72295729; 33 /** 34 * 35 * 36 * <pre> 37 * See RoutingRule. 38 * </pre> 39 * 40 * <code>extend .google.protobuf.MethodOptions { ... }</code> 41 */ 42 public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< 43 com.google.protobuf.DescriptorProtos.MethodOptions, com.google.api.RoutingRule> 44 routing = 45 com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension( 46 com.google.api.RoutingRule.class, com.google.api.RoutingRule.getDefaultInstance()); 47 48 static final com.google.protobuf.Descriptors.Descriptor 49 internal_static_google_api_RoutingRule_descriptor; 50 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 51 internal_static_google_api_RoutingRule_fieldAccessorTable; 52 static final com.google.protobuf.Descriptors.Descriptor 53 internal_static_google_api_RoutingParameter_descriptor; 54 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 55 internal_static_google_api_RoutingParameter_fieldAccessorTable; 56 getDescriptor()57 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 58 return descriptor; 59 } 60 61 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 62 63 static { 64 java.lang.String[] descriptorData = { 65 "\n\030google/api/routing.proto\022\ngoogle.api\032 " 66 + "google/protobuf/descriptor.proto\"G\n\013Rout" 67 + "ingRule\0228\n\022routing_parameters\030\002 \003(\0132\034.go" 68 + "ogle.api.RoutingParameter\"8\n\020RoutingPara" 69 + "meter\022\r\n\005field\030\001 \001(\t\022\025\n\rpath_template\030\002 " 70 + "\001(\t:K\n\007routing\022\036.google.protobuf.MethodO" 71 + "ptions\030\261\312\274\" \001(\0132\027.google.api.RoutingRule" 72 + "Bj\n\016com.google.apiB\014RoutingProtoP\001ZAgoog" 73 + "le.golang.org/genproto/googleapis/api/an" 74 + "notations;annotations\242\002\004GAPIb\006proto3" 75 }; 76 descriptor = 77 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 78 descriptorData, 79 new com.google.protobuf.Descriptors.FileDescriptor[] { 80 com.google.protobuf.DescriptorProtos.getDescriptor(), 81 }); 82 internal_static_google_api_RoutingRule_descriptor = getDescriptor().getMessageTypes().get(0); 83 internal_static_google_api_RoutingRule_fieldAccessorTable = 84 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 85 internal_static_google_api_RoutingRule_descriptor, 86 new java.lang.String[] { 87 "RoutingParameters", 88 }); 89 internal_static_google_api_RoutingParameter_descriptor = 90 getDescriptor().getMessageTypes().get(1); 91 internal_static_google_api_RoutingParameter_fieldAccessorTable = 92 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 93 internal_static_google_api_RoutingParameter_descriptor, 94 new java.lang.String[] { 95 "Field", "PathTemplate", 96 }); 97 routing.internalInit(descriptor.getExtensions().get(0)); com.google.protobuf.DescriptorProtos.getDescriptor()98 com.google.protobuf.DescriptorProtos.getDescriptor(); 99 } 100 101 // @@protoc_insertion_point(outer_class_scope) 102 } 103