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