1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/api/serviceusage/v1/resources.proto 20 21package serviceusage 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" 29 serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig" 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32 apipb "google.golang.org/protobuf/types/known/apipb" 33) 34 35const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40) 41 42// Whether or not a service has been enabled for use by a consumer. 43type State int32 44 45const ( 46 // The default value, which indicates that the enabled state of the service 47 // is unspecified or not meaningful. Currently, all consumers other than 48 // projects (such as folders and organizations) are always in this state. 49 State_STATE_UNSPECIFIED State = 0 50 // The service cannot be used by this consumer. It has either been explicitly 51 // disabled, or has never been enabled. 52 State_DISABLED State = 1 53 // The service has been explicitly enabled for use by this consumer. 54 State_ENABLED State = 2 55) 56 57// Enum value maps for State. 58var ( 59 State_name = map[int32]string{ 60 0: "STATE_UNSPECIFIED", 61 1: "DISABLED", 62 2: "ENABLED", 63 } 64 State_value = map[string]int32{ 65 "STATE_UNSPECIFIED": 0, 66 "DISABLED": 1, 67 "ENABLED": 2, 68 } 69) 70 71func (x State) Enum() *State { 72 p := new(State) 73 *p = x 74 return p 75} 76 77func (x State) String() string { 78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 79} 80 81func (State) Descriptor() protoreflect.EnumDescriptor { 82 return file_google_api_serviceusage_v1_resources_proto_enumTypes[0].Descriptor() 83} 84 85func (State) Type() protoreflect.EnumType { 86 return &file_google_api_serviceusage_v1_resources_proto_enumTypes[0] 87} 88 89func (x State) Number() protoreflect.EnumNumber { 90 return protoreflect.EnumNumber(x) 91} 92 93// Deprecated: Use State.Descriptor instead. 94func (State) EnumDescriptor() ([]byte, []int) { 95 return file_google_api_serviceusage_v1_resources_proto_rawDescGZIP(), []int{0} 96} 97 98// A service that is available for use by the consumer. 99type Service struct { 100 state protoimpl.MessageState 101 sizeCache protoimpl.SizeCache 102 unknownFields protoimpl.UnknownFields 103 104 // The resource name of the consumer and service. 105 // 106 // A valid name would be: 107 // - projects/123/services/serviceusage.googleapis.com 108 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 109 // The resource name of the consumer. 110 // 111 // A valid name would be: 112 // - projects/123 113 Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` 114 // The service configuration of the available service. 115 // Some fields may be filtered out of the configuration in responses to 116 // the `ListServices` method. These fields are present only in responses to 117 // the `GetService` method. 118 Config *ServiceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 119 // Whether or not the service has been enabled for use by the consumer. 120 State State `protobuf:"varint,4,opt,name=state,proto3,enum=google.api.serviceusage.v1.State" json:"state,omitempty"` 121} 122 123func (x *Service) Reset() { 124 *x = Service{} 125 if protoimpl.UnsafeEnabled { 126 mi := &file_google_api_serviceusage_v1_resources_proto_msgTypes[0] 127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 128 ms.StoreMessageInfo(mi) 129 } 130} 131 132func (x *Service) String() string { 133 return protoimpl.X.MessageStringOf(x) 134} 135 136func (*Service) ProtoMessage() {} 137 138func (x *Service) ProtoReflect() protoreflect.Message { 139 mi := &file_google_api_serviceusage_v1_resources_proto_msgTypes[0] 140 if protoimpl.UnsafeEnabled && x != nil { 141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 142 if ms.LoadMessageInfo() == nil { 143 ms.StoreMessageInfo(mi) 144 } 145 return ms 146 } 147 return mi.MessageOf(x) 148} 149 150// Deprecated: Use Service.ProtoReflect.Descriptor instead. 151func (*Service) Descriptor() ([]byte, []int) { 152 return file_google_api_serviceusage_v1_resources_proto_rawDescGZIP(), []int{0} 153} 154 155func (x *Service) GetName() string { 156 if x != nil { 157 return x.Name 158 } 159 return "" 160} 161 162func (x *Service) GetParent() string { 163 if x != nil { 164 return x.Parent 165 } 166 return "" 167} 168 169func (x *Service) GetConfig() *ServiceConfig { 170 if x != nil { 171 return x.Config 172 } 173 return nil 174} 175 176func (x *Service) GetState() State { 177 if x != nil { 178 return x.State 179 } 180 return State_STATE_UNSPECIFIED 181} 182 183// The configuration of the service. 184type ServiceConfig struct { 185 state protoimpl.MessageState 186 sizeCache protoimpl.SizeCache 187 unknownFields protoimpl.UnknownFields 188 189 // The DNS address at which this service is available. 190 // 191 // An example DNS address would be: 192 // `calendar.googleapis.com`. 193 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 194 // The product title for this service. 195 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 196 // A list of API interfaces exported by this service. Contains only the names, 197 // versions, and method names of the interfaces. 198 Apis []*apipb.Api `protobuf:"bytes,3,rep,name=apis,proto3" json:"apis,omitempty"` 199 // Additional API documentation. Contains only the summary and the 200 // documentation URL. 201 Documentation *serviceconfig.Documentation `protobuf:"bytes,6,opt,name=documentation,proto3" json:"documentation,omitempty"` 202 // Quota configuration. 203 Quota *serviceconfig.Quota `protobuf:"bytes,10,opt,name=quota,proto3" json:"quota,omitempty"` 204 // Auth configuration. Contains only the OAuth rules. 205 Authentication *serviceconfig.Authentication `protobuf:"bytes,11,opt,name=authentication,proto3" json:"authentication,omitempty"` 206 // Configuration controlling usage of this service. 207 Usage *serviceconfig.Usage `protobuf:"bytes,15,opt,name=usage,proto3" json:"usage,omitempty"` 208 // Configuration for network endpoints. Contains only the names and aliases 209 // of the endpoints. 210 Endpoints []*serviceconfig.Endpoint `protobuf:"bytes,18,rep,name=endpoints,proto3" json:"endpoints,omitempty"` 211 // Defines the monitored resources used by this service. This is required 212 // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. 213 MonitoredResources []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,25,rep,name=monitored_resources,json=monitoredResources,proto3" json:"monitored_resources,omitempty"` 214 // Monitoring configuration. 215 // This should not include the 'producer_destinations' field. 216 Monitoring *serviceconfig.Monitoring `protobuf:"bytes,28,opt,name=monitoring,proto3" json:"monitoring,omitempty"` 217} 218 219func (x *ServiceConfig) Reset() { 220 *x = ServiceConfig{} 221 if protoimpl.UnsafeEnabled { 222 mi := &file_google_api_serviceusage_v1_resources_proto_msgTypes[1] 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 ms.StoreMessageInfo(mi) 225 } 226} 227 228func (x *ServiceConfig) String() string { 229 return protoimpl.X.MessageStringOf(x) 230} 231 232func (*ServiceConfig) ProtoMessage() {} 233 234func (x *ServiceConfig) ProtoReflect() protoreflect.Message { 235 mi := &file_google_api_serviceusage_v1_resources_proto_msgTypes[1] 236 if protoimpl.UnsafeEnabled && x != nil { 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 if ms.LoadMessageInfo() == nil { 239 ms.StoreMessageInfo(mi) 240 } 241 return ms 242 } 243 return mi.MessageOf(x) 244} 245 246// Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead. 247func (*ServiceConfig) Descriptor() ([]byte, []int) { 248 return file_google_api_serviceusage_v1_resources_proto_rawDescGZIP(), []int{1} 249} 250 251func (x *ServiceConfig) GetName() string { 252 if x != nil { 253 return x.Name 254 } 255 return "" 256} 257 258func (x *ServiceConfig) GetTitle() string { 259 if x != nil { 260 return x.Title 261 } 262 return "" 263} 264 265func (x *ServiceConfig) GetApis() []*apipb.Api { 266 if x != nil { 267 return x.Apis 268 } 269 return nil 270} 271 272func (x *ServiceConfig) GetDocumentation() *serviceconfig.Documentation { 273 if x != nil { 274 return x.Documentation 275 } 276 return nil 277} 278 279func (x *ServiceConfig) GetQuota() *serviceconfig.Quota { 280 if x != nil { 281 return x.Quota 282 } 283 return nil 284} 285 286func (x *ServiceConfig) GetAuthentication() *serviceconfig.Authentication { 287 if x != nil { 288 return x.Authentication 289 } 290 return nil 291} 292 293func (x *ServiceConfig) GetUsage() *serviceconfig.Usage { 294 if x != nil { 295 return x.Usage 296 } 297 return nil 298} 299 300func (x *ServiceConfig) GetEndpoints() []*serviceconfig.Endpoint { 301 if x != nil { 302 return x.Endpoints 303 } 304 return nil 305} 306 307func (x *ServiceConfig) GetMonitoredResources() []*monitoredres.MonitoredResourceDescriptor { 308 if x != nil { 309 return x.MonitoredResources 310 } 311 return nil 312} 313 314func (x *ServiceConfig) GetMonitoring() *serviceconfig.Monitoring { 315 if x != nil { 316 return x.Monitoring 317 } 318 return nil 319} 320 321// The operation metadata returned for the batchend services operation. 322type OperationMetadata struct { 323 state protoimpl.MessageState 324 sizeCache protoimpl.SizeCache 325 unknownFields protoimpl.UnknownFields 326 327 // The full name of the resources that this operation is directly 328 // associated with. 329 ResourceNames []string `protobuf:"bytes,2,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` 330} 331 332func (x *OperationMetadata) Reset() { 333 *x = OperationMetadata{} 334 if protoimpl.UnsafeEnabled { 335 mi := &file_google_api_serviceusage_v1_resources_proto_msgTypes[2] 336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 337 ms.StoreMessageInfo(mi) 338 } 339} 340 341func (x *OperationMetadata) String() string { 342 return protoimpl.X.MessageStringOf(x) 343} 344 345func (*OperationMetadata) ProtoMessage() {} 346 347func (x *OperationMetadata) ProtoReflect() protoreflect.Message { 348 mi := &file_google_api_serviceusage_v1_resources_proto_msgTypes[2] 349 if protoimpl.UnsafeEnabled && x != nil { 350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 351 if ms.LoadMessageInfo() == nil { 352 ms.StoreMessageInfo(mi) 353 } 354 return ms 355 } 356 return mi.MessageOf(x) 357} 358 359// Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead. 360func (*OperationMetadata) Descriptor() ([]byte, []int) { 361 return file_google_api_serviceusage_v1_resources_proto_rawDescGZIP(), []int{2} 362} 363 364func (x *OperationMetadata) GetResourceNames() []string { 365 if x != nil { 366 return x.ResourceNames 367 } 368 return nil 369} 370 371var File_google_api_serviceusage_v1_resources_proto protoreflect.FileDescriptor 372 373var file_google_api_serviceusage_v1_resources_proto_rawDesc = []byte{ 374 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 375 0x76, 0x69, 0x63, 0x65, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 376 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 377 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 378 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 379 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 380 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x6f, 0x63, 0x75, 381 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 382 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x6e, 0x64, 0x70, 383 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 384 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 385 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 386 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 387 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 388 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x70, 389 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 390 0x2f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 391 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 392 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 393 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 394 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 395 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 396 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 397 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 398 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 399 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 400 0x63, 0x65, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 401 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 402 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 403 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 404 0x76, 0x69, 0x63, 0x65, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 405 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x80, 0x04, 0x0a, 0x0d, 0x53, 0x65, 406 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 407 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 408 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 409 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x61, 0x70, 0x69, 0x73, 0x18, 0x03, 0x20, 410 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 411 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x70, 0x69, 0x52, 0x04, 0x61, 0x70, 0x69, 0x73, 0x12, 412 0x3f, 0x0a, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 413 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 414 0x61, 0x70, 0x69, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 415 0x6e, 0x52, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 416 0x12, 0x27, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 417 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x51, 0x75, 0x6f, 418 0x74, 0x61, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, 0x74, 419 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 420 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 421 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 422 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 423 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 424 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 425 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 426 0x6e, 0x74, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 427 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 428 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x13, 0x6d, 0x6f, 429 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 430 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 431 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 432 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 433 0x52, 0x12, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 434 0x72, 0x63, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 435 0x6e, 0x67, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 436 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 437 0x52, 0x0a, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x3a, 0x0a, 0x11, 438 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 439 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 440 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 441 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x2a, 0x39, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 442 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 443 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 444 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 445 0x44, 0x10, 0x02, 0x42, 0xda, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 446 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x75, 0x73, 447 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 448 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 449 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 450 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 451 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x75, 0x73, 0x61, 0x67, 0x65, 452 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x75, 0x73, 0x61, 0x67, 0x65, 453 0xaa, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 454 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x56, 0x31, 0xca, 455 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 456 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x5c, 0x56, 0x31, 0xea, 0x02, 457 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 458 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x3a, 0x56, 0x31, 459 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 460} 461 462var ( 463 file_google_api_serviceusage_v1_resources_proto_rawDescOnce sync.Once 464 file_google_api_serviceusage_v1_resources_proto_rawDescData = file_google_api_serviceusage_v1_resources_proto_rawDesc 465) 466 467func file_google_api_serviceusage_v1_resources_proto_rawDescGZIP() []byte { 468 file_google_api_serviceusage_v1_resources_proto_rawDescOnce.Do(func() { 469 file_google_api_serviceusage_v1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_serviceusage_v1_resources_proto_rawDescData) 470 }) 471 return file_google_api_serviceusage_v1_resources_proto_rawDescData 472} 473 474var file_google_api_serviceusage_v1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 475var file_google_api_serviceusage_v1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 476var file_google_api_serviceusage_v1_resources_proto_goTypes = []interface{}{ 477 (State)(0), // 0: google.api.serviceusage.v1.State 478 (*Service)(nil), // 1: google.api.serviceusage.v1.Service 479 (*ServiceConfig)(nil), // 2: google.api.serviceusage.v1.ServiceConfig 480 (*OperationMetadata)(nil), // 3: google.api.serviceusage.v1.OperationMetadata 481 (*apipb.Api)(nil), // 4: google.protobuf.Api 482 (*serviceconfig.Documentation)(nil), // 5: google.api.Documentation 483 (*serviceconfig.Quota)(nil), // 6: google.api.Quota 484 (*serviceconfig.Authentication)(nil), // 7: google.api.Authentication 485 (*serviceconfig.Usage)(nil), // 8: google.api.Usage 486 (*serviceconfig.Endpoint)(nil), // 9: google.api.Endpoint 487 (*monitoredres.MonitoredResourceDescriptor)(nil), // 10: google.api.MonitoredResourceDescriptor 488 (*serviceconfig.Monitoring)(nil), // 11: google.api.Monitoring 489} 490var file_google_api_serviceusage_v1_resources_proto_depIdxs = []int32{ 491 2, // 0: google.api.serviceusage.v1.Service.config:type_name -> google.api.serviceusage.v1.ServiceConfig 492 0, // 1: google.api.serviceusage.v1.Service.state:type_name -> google.api.serviceusage.v1.State 493 4, // 2: google.api.serviceusage.v1.ServiceConfig.apis:type_name -> google.protobuf.Api 494 5, // 3: google.api.serviceusage.v1.ServiceConfig.documentation:type_name -> google.api.Documentation 495 6, // 4: google.api.serviceusage.v1.ServiceConfig.quota:type_name -> google.api.Quota 496 7, // 5: google.api.serviceusage.v1.ServiceConfig.authentication:type_name -> google.api.Authentication 497 8, // 6: google.api.serviceusage.v1.ServiceConfig.usage:type_name -> google.api.Usage 498 9, // 7: google.api.serviceusage.v1.ServiceConfig.endpoints:type_name -> google.api.Endpoint 499 10, // 8: google.api.serviceusage.v1.ServiceConfig.monitored_resources:type_name -> google.api.MonitoredResourceDescriptor 500 11, // 9: google.api.serviceusage.v1.ServiceConfig.monitoring:type_name -> google.api.Monitoring 501 10, // [10:10] is the sub-list for method output_type 502 10, // [10:10] is the sub-list for method input_type 503 10, // [10:10] is the sub-list for extension type_name 504 10, // [10:10] is the sub-list for extension extendee 505 0, // [0:10] is the sub-list for field type_name 506} 507 508func init() { file_google_api_serviceusage_v1_resources_proto_init() } 509func file_google_api_serviceusage_v1_resources_proto_init() { 510 if File_google_api_serviceusage_v1_resources_proto != nil { 511 return 512 } 513 if !protoimpl.UnsafeEnabled { 514 file_google_api_serviceusage_v1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 515 switch v := v.(*Service); i { 516 case 0: 517 return &v.state 518 case 1: 519 return &v.sizeCache 520 case 2: 521 return &v.unknownFields 522 default: 523 return nil 524 } 525 } 526 file_google_api_serviceusage_v1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 527 switch v := v.(*ServiceConfig); i { 528 case 0: 529 return &v.state 530 case 1: 531 return &v.sizeCache 532 case 2: 533 return &v.unknownFields 534 default: 535 return nil 536 } 537 } 538 file_google_api_serviceusage_v1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 539 switch v := v.(*OperationMetadata); i { 540 case 0: 541 return &v.state 542 case 1: 543 return &v.sizeCache 544 case 2: 545 return &v.unknownFields 546 default: 547 return nil 548 } 549 } 550 } 551 type x struct{} 552 out := protoimpl.TypeBuilder{ 553 File: protoimpl.DescBuilder{ 554 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 555 RawDescriptor: file_google_api_serviceusage_v1_resources_proto_rawDesc, 556 NumEnums: 1, 557 NumMessages: 3, 558 NumExtensions: 0, 559 NumServices: 0, 560 }, 561 GoTypes: file_google_api_serviceusage_v1_resources_proto_goTypes, 562 DependencyIndexes: file_google_api_serviceusage_v1_resources_proto_depIdxs, 563 EnumInfos: file_google_api_serviceusage_v1_resources_proto_enumTypes, 564 MessageInfos: file_google_api_serviceusage_v1_resources_proto_msgTypes, 565 }.Build() 566 File_google_api_serviceusage_v1_resources_proto = out.File 567 file_google_api_serviceusage_v1_resources_proto_rawDesc = nil 568 file_google_api_serviceusage_v1_resources_proto_goTypes = nil 569 file_google_api_serviceusage_v1_resources_proto_depIdxs = nil 570} 571