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/rpc/error_details.proto 18 19 package com.google.rpc; 20 21 public final class ErrorDetailsProto { ErrorDetailsProto()22 private ErrorDetailsProto() {} 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_rpc_ErrorInfo_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_rpc_ErrorInfo_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_rpc_ErrorInfo_MetadataEntry_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_rpc_RetryInfo_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_rpc_RetryInfo_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_rpc_DebugInfo_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_rpc_DebugInfo_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_rpc_QuotaFailure_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_rpc_QuotaFailure_fieldAccessorTable; 50 static final com.google.protobuf.Descriptors.Descriptor 51 internal_static_google_rpc_QuotaFailure_Violation_descriptor; 52 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 53 internal_static_google_rpc_QuotaFailure_Violation_fieldAccessorTable; 54 static final com.google.protobuf.Descriptors.Descriptor 55 internal_static_google_rpc_PreconditionFailure_descriptor; 56 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 57 internal_static_google_rpc_PreconditionFailure_fieldAccessorTable; 58 static final com.google.protobuf.Descriptors.Descriptor 59 internal_static_google_rpc_PreconditionFailure_Violation_descriptor; 60 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 61 internal_static_google_rpc_PreconditionFailure_Violation_fieldAccessorTable; 62 static final com.google.protobuf.Descriptors.Descriptor 63 internal_static_google_rpc_BadRequest_descriptor; 64 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 65 internal_static_google_rpc_BadRequest_fieldAccessorTable; 66 static final com.google.protobuf.Descriptors.Descriptor 67 internal_static_google_rpc_BadRequest_FieldViolation_descriptor; 68 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 69 internal_static_google_rpc_BadRequest_FieldViolation_fieldAccessorTable; 70 static final com.google.protobuf.Descriptors.Descriptor 71 internal_static_google_rpc_RequestInfo_descriptor; 72 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 73 internal_static_google_rpc_RequestInfo_fieldAccessorTable; 74 static final com.google.protobuf.Descriptors.Descriptor 75 internal_static_google_rpc_ResourceInfo_descriptor; 76 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 77 internal_static_google_rpc_ResourceInfo_fieldAccessorTable; 78 static final com.google.protobuf.Descriptors.Descriptor 79 internal_static_google_rpc_Help_descriptor; 80 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 81 internal_static_google_rpc_Help_fieldAccessorTable; 82 static final com.google.protobuf.Descriptors.Descriptor 83 internal_static_google_rpc_Help_Link_descriptor; 84 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 85 internal_static_google_rpc_Help_Link_fieldAccessorTable; 86 static final com.google.protobuf.Descriptors.Descriptor 87 internal_static_google_rpc_LocalizedMessage_descriptor; 88 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 89 internal_static_google_rpc_LocalizedMessage_fieldAccessorTable; 90 getDescriptor()91 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 92 return descriptor; 93 } 94 95 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 96 97 static { 98 java.lang.String[] descriptorData = { 99 "\n\036google/rpc/error_details.proto\022\ngoogle" 100 + ".rpc\032\036google/protobuf/duration.proto\"\223\001\n" 101 + "\tErrorInfo\022\016\n\006reason\030\001 \001(\t\022\016\n\006domain\030\002 \001" 102 + "(\t\0225\n\010metadata\030\003 \003(\0132#.google.rpc.ErrorI" 103 + "nfo.MetadataEntry\032/\n\rMetadataEntry\022\013\n\003ke" 104 + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\";\n\tRetryInfo\022" 105 + ".\n\013retry_delay\030\001 \001(\0132\031.google.protobuf.D" 106 + "uration\"2\n\tDebugInfo\022\025\n\rstack_entries\030\001 " 107 + "\003(\t\022\016\n\006detail\030\002 \001(\t\"y\n\014QuotaFailure\0226\n\nv" 108 + "iolations\030\001 \003(\0132\".google.rpc.QuotaFailur" 109 + "e.Violation\0321\n\tViolation\022\017\n\007subject\030\001 \001(" 110 + "\t\022\023\n\013description\030\002 \001(\t\"\225\001\n\023PreconditionF" 111 + "ailure\022=\n\nviolations\030\001 \003(\0132).google.rpc." 112 + "PreconditionFailure.Violation\032?\n\tViolati" 113 + "on\022\014\n\004type\030\001 \001(\t\022\017\n\007subject\030\002 \001(\t\022\023\n\013des" 114 + "cription\030\003 \001(\t\"\203\001\n\nBadRequest\022?\n\020field_v" 115 + "iolations\030\001 \003(\0132%.google.rpc.BadRequest." 116 + "FieldViolation\0324\n\016FieldViolation\022\r\n\005fiel" 117 + "d\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\"7\n\013RequestI" 118 + "nfo\022\022\n\nrequest_id\030\001 \001(\t\022\024\n\014serving_data\030" 119 + "\002 \001(\t\"`\n\014ResourceInfo\022\025\n\rresource_type\030\001" 120 + " \001(\t\022\025\n\rresource_name\030\002 \001(\t\022\r\n\005owner\030\003 \001" 121 + "(\t\022\023\n\013description\030\004 \001(\t\"V\n\004Help\022$\n\005links" 122 + "\030\001 \003(\0132\025.google.rpc.Help.Link\032(\n\004Link\022\023\n" 123 + "\013description\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\"3\n\020Local" 124 + "izedMessage\022\016\n\006locale\030\001 \001(\t\022\017\n\007message\030\002" 125 + " \001(\tBl\n\016com.google.rpcB\021ErrorDetailsProt" 126 + "oP\001Z?google.golang.org/genproto/googleap" 127 + "is/rpc/errdetails;errdetails\242\002\003RPCb\006prot" 128 + "o3" 129 }; 130 descriptor = 131 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 132 descriptorData, 133 new com.google.protobuf.Descriptors.FileDescriptor[] { 134 com.google.protobuf.DurationProto.getDescriptor(), 135 }); 136 internal_static_google_rpc_ErrorInfo_descriptor = getDescriptor().getMessageTypes().get(0); 137 internal_static_google_rpc_ErrorInfo_fieldAccessorTable = 138 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 139 internal_static_google_rpc_ErrorInfo_descriptor, 140 new java.lang.String[] { 141 "Reason", "Domain", "Metadata", 142 }); 143 internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor = 144 internal_static_google_rpc_ErrorInfo_descriptor.getNestedTypes().get(0); 145 internal_static_google_rpc_ErrorInfo_MetadataEntry_fieldAccessorTable = 146 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 147 internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor, 148 new java.lang.String[] { 149 "Key", "Value", 150 }); 151 internal_static_google_rpc_RetryInfo_descriptor = getDescriptor().getMessageTypes().get(1); 152 internal_static_google_rpc_RetryInfo_fieldAccessorTable = 153 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 154 internal_static_google_rpc_RetryInfo_descriptor, 155 new java.lang.String[] { 156 "RetryDelay", 157 }); 158 internal_static_google_rpc_DebugInfo_descriptor = getDescriptor().getMessageTypes().get(2); 159 internal_static_google_rpc_DebugInfo_fieldAccessorTable = 160 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 161 internal_static_google_rpc_DebugInfo_descriptor, 162 new java.lang.String[] { 163 "StackEntries", "Detail", 164 }); 165 internal_static_google_rpc_QuotaFailure_descriptor = getDescriptor().getMessageTypes().get(3); 166 internal_static_google_rpc_QuotaFailure_fieldAccessorTable = 167 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 168 internal_static_google_rpc_QuotaFailure_descriptor, 169 new java.lang.String[] { 170 "Violations", 171 }); 172 internal_static_google_rpc_QuotaFailure_Violation_descriptor = 173 internal_static_google_rpc_QuotaFailure_descriptor.getNestedTypes().get(0); 174 internal_static_google_rpc_QuotaFailure_Violation_fieldAccessorTable = 175 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 176 internal_static_google_rpc_QuotaFailure_Violation_descriptor, 177 new java.lang.String[] { 178 "Subject", "Description", 179 }); 180 internal_static_google_rpc_PreconditionFailure_descriptor = 181 getDescriptor().getMessageTypes().get(4); 182 internal_static_google_rpc_PreconditionFailure_fieldAccessorTable = 183 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 184 internal_static_google_rpc_PreconditionFailure_descriptor, 185 new java.lang.String[] { 186 "Violations", 187 }); 188 internal_static_google_rpc_PreconditionFailure_Violation_descriptor = 189 internal_static_google_rpc_PreconditionFailure_descriptor.getNestedTypes().get(0); 190 internal_static_google_rpc_PreconditionFailure_Violation_fieldAccessorTable = 191 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 192 internal_static_google_rpc_PreconditionFailure_Violation_descriptor, 193 new java.lang.String[] { 194 "Type", "Subject", "Description", 195 }); 196 internal_static_google_rpc_BadRequest_descriptor = getDescriptor().getMessageTypes().get(5); 197 internal_static_google_rpc_BadRequest_fieldAccessorTable = 198 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 199 internal_static_google_rpc_BadRequest_descriptor, 200 new java.lang.String[] { 201 "FieldViolations", 202 }); 203 internal_static_google_rpc_BadRequest_FieldViolation_descriptor = 204 internal_static_google_rpc_BadRequest_descriptor.getNestedTypes().get(0); 205 internal_static_google_rpc_BadRequest_FieldViolation_fieldAccessorTable = 206 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 207 internal_static_google_rpc_BadRequest_FieldViolation_descriptor, 208 new java.lang.String[] { 209 "Field", "Description", 210 }); 211 internal_static_google_rpc_RequestInfo_descriptor = getDescriptor().getMessageTypes().get(6); 212 internal_static_google_rpc_RequestInfo_fieldAccessorTable = 213 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 214 internal_static_google_rpc_RequestInfo_descriptor, 215 new java.lang.String[] { 216 "RequestId", "ServingData", 217 }); 218 internal_static_google_rpc_ResourceInfo_descriptor = getDescriptor().getMessageTypes().get(7); 219 internal_static_google_rpc_ResourceInfo_fieldAccessorTable = 220 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 221 internal_static_google_rpc_ResourceInfo_descriptor, 222 new java.lang.String[] { 223 "ResourceType", "ResourceName", "Owner", "Description", 224 }); 225 internal_static_google_rpc_Help_descriptor = getDescriptor().getMessageTypes().get(8); 226 internal_static_google_rpc_Help_fieldAccessorTable = 227 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 228 internal_static_google_rpc_Help_descriptor, 229 new java.lang.String[] { 230 "Links", 231 }); 232 internal_static_google_rpc_Help_Link_descriptor = 233 internal_static_google_rpc_Help_descriptor.getNestedTypes().get(0); 234 internal_static_google_rpc_Help_Link_fieldAccessorTable = 235 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 236 internal_static_google_rpc_Help_Link_descriptor, 237 new java.lang.String[] { 238 "Description", "Url", 239 }); 240 internal_static_google_rpc_LocalizedMessage_descriptor = 241 getDescriptor().getMessageTypes().get(9); 242 internal_static_google_rpc_LocalizedMessage_fieldAccessorTable = 243 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 244 internal_static_google_rpc_LocalizedMessage_descriptor, 245 new java.lang.String[] { 246 "Locale", "Message", 247 }); com.google.protobuf.DurationProto.getDescriptor()248 com.google.protobuf.DurationProto.getDescriptor(); 249 } 250 251 // @@protoc_insertion_point(outer_class_scope) 252 } 253