1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/api/service.proto 3 4package serviceconfig 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 _ "github.com/golang/protobuf/ptypes/any" 12 wrappers "github.com/golang/protobuf/ptypes/wrappers" 13 annotations "google.golang.org/genproto/googleapis/api/annotations" 14 _ "google.golang.org/genproto/googleapis/api/label" 15 metric "google.golang.org/genproto/googleapis/api/metric" 16 monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" 17 api "google.golang.org/genproto/protobuf/api" 18 ptype "google.golang.org/genproto/protobuf/ptype" 19) 20 21// Reference imports to suppress errors if they are not otherwise used. 22var _ = proto.Marshal 23var _ = fmt.Errorf 24var _ = math.Inf 25 26// This is a compile-time assertion to ensure that this generated file 27// is compatible with the proto package it is being compiled against. 28// A compilation error at this line likely means your copy of the 29// proto package needs to be updated. 30const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 31 32// `Service` is the root object of Google service configuration schema. It 33// describes basic information about a service, such as the name and the 34// title, and delegates other aspects to sub-sections. Each sub-section is 35// either a proto message or a repeated proto message that configures a 36// specific aspect, such as auth. See each proto message definition for details. 37// 38// Example: 39// 40// type: google.api.Service 41// config_version: 3 42// name: calendar.googleapis.com 43// title: Google Calendar API 44// apis: 45// - name: google.calendar.v3.Calendar 46// authentication: 47// providers: 48// - id: google_calendar_auth 49// jwks_uri: https://www.googleapis.com/oauth2/v1/certs 50// issuer: https://securetoken.google.com 51// rules: 52// - selector: "*" 53// requirements: 54// provider_id: google_calendar_auth 55type Service struct { 56 // The semantic version of the service configuration. The config version 57 // affects the interpretation of the service configuration. For example, 58 // certain features are enabled by default for certain config versions. 59 // The latest config version is `3`. 60 ConfigVersion *wrappers.UInt32Value `protobuf:"bytes,20,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` 61 // The service name, which is a DNS-like logical identifier for the 62 // service, such as `calendar.googleapis.com`. The service name 63 // typically goes through DNS verification to make sure the owner 64 // of the service also owns the DNS name. 65 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 66 // A unique ID for a specific instance of this message, typically assigned 67 // by the client for tracking purpose. If empty, the server may choose to 68 // generate one instead. Must be no longer than 60 characters. 69 Id string `protobuf:"bytes,33,opt,name=id,proto3" json:"id,omitempty"` 70 // The product title for this service. 71 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 72 // The Google project that owns this service. 73 ProducerProjectId string `protobuf:"bytes,22,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"` 74 // A list of API interfaces exported by this service. Only the `name` field 75 // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration 76 // author, as the remaining fields will be derived from the IDL during the 77 // normalization process. It is an error to specify an API interface here 78 // which cannot be resolved against the associated IDL files. 79 Apis []*api.Api `protobuf:"bytes,3,rep,name=apis,proto3" json:"apis,omitempty"` 80 // A list of all proto message types included in this API service. 81 // Types referenced directly or indirectly by the `apis` are 82 // automatically included. Messages which are not referenced but 83 // shall be included, such as types used by the `google.protobuf.Any` type, 84 // should be listed here by name. Example: 85 // 86 // types: 87 // - name: google.protobuf.Int32 88 Types []*ptype.Type `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"` 89 // A list of all enum types included in this API service. Enums 90 // referenced directly or indirectly by the `apis` are automatically 91 // included. Enums which are not referenced but shall be included 92 // should be listed here by name. Example: 93 // 94 // enums: 95 // - name: google.someapi.v1.SomeEnum 96 Enums []*ptype.Enum `protobuf:"bytes,5,rep,name=enums,proto3" json:"enums,omitempty"` 97 // Additional API documentation. 98 Documentation *Documentation `protobuf:"bytes,6,opt,name=documentation,proto3" json:"documentation,omitempty"` 99 // API backend configuration. 100 Backend *Backend `protobuf:"bytes,8,opt,name=backend,proto3" json:"backend,omitempty"` 101 // HTTP configuration. 102 Http *annotations.Http `protobuf:"bytes,9,opt,name=http,proto3" json:"http,omitempty"` 103 // Quota configuration. 104 Quota *Quota `protobuf:"bytes,10,opt,name=quota,proto3" json:"quota,omitempty"` 105 // Auth configuration. 106 Authentication *Authentication `protobuf:"bytes,11,opt,name=authentication,proto3" json:"authentication,omitempty"` 107 // Context configuration. 108 Context *Context `protobuf:"bytes,12,opt,name=context,proto3" json:"context,omitempty"` 109 // Configuration controlling usage of this service. 110 Usage *Usage `protobuf:"bytes,15,opt,name=usage,proto3" json:"usage,omitempty"` 111 // Configuration for network endpoints. If this is empty, then an endpoint 112 // with the same name as the service is automatically generated to service all 113 // defined APIs. 114 Endpoints []*Endpoint `protobuf:"bytes,18,rep,name=endpoints,proto3" json:"endpoints,omitempty"` 115 // Configuration for the service control plane. 116 Control *Control `protobuf:"bytes,21,opt,name=control,proto3" json:"control,omitempty"` 117 // Defines the logs used by this service. 118 Logs []*LogDescriptor `protobuf:"bytes,23,rep,name=logs,proto3" json:"logs,omitempty"` 119 // Defines the metrics used by this service. 120 Metrics []*metric.MetricDescriptor `protobuf:"bytes,24,rep,name=metrics,proto3" json:"metrics,omitempty"` 121 // Defines the monitored resources used by this service. This is required 122 // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. 123 MonitoredResources []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,25,rep,name=monitored_resources,json=monitoredResources,proto3" json:"monitored_resources,omitempty"` 124 // Billing configuration. 125 Billing *Billing `protobuf:"bytes,26,opt,name=billing,proto3" json:"billing,omitempty"` 126 // Logging configuration. 127 Logging *Logging `protobuf:"bytes,27,opt,name=logging,proto3" json:"logging,omitempty"` 128 // Monitoring configuration. 129 Monitoring *Monitoring `protobuf:"bytes,28,opt,name=monitoring,proto3" json:"monitoring,omitempty"` 130 // System parameter configuration. 131 SystemParameters *SystemParameters `protobuf:"bytes,29,opt,name=system_parameters,json=systemParameters,proto3" json:"system_parameters,omitempty"` 132 // Output only. The source information for this configuration if available. 133 SourceInfo *SourceInfo `protobuf:"bytes,37,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"` 134 XXX_NoUnkeyedLiteral struct{} `json:"-"` 135 XXX_unrecognized []byte `json:"-"` 136 XXX_sizecache int32 `json:"-"` 137} 138 139func (m *Service) Reset() { *m = Service{} } 140func (m *Service) String() string { return proto.CompactTextString(m) } 141func (*Service) ProtoMessage() {} 142func (*Service) Descriptor() ([]byte, []int) { 143 return fileDescriptor_d556deeebe545813, []int{0} 144} 145 146func (m *Service) XXX_Unmarshal(b []byte) error { 147 return xxx_messageInfo_Service.Unmarshal(m, b) 148} 149func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 150 return xxx_messageInfo_Service.Marshal(b, m, deterministic) 151} 152func (m *Service) XXX_Merge(src proto.Message) { 153 xxx_messageInfo_Service.Merge(m, src) 154} 155func (m *Service) XXX_Size() int { 156 return xxx_messageInfo_Service.Size(m) 157} 158func (m *Service) XXX_DiscardUnknown() { 159 xxx_messageInfo_Service.DiscardUnknown(m) 160} 161 162var xxx_messageInfo_Service proto.InternalMessageInfo 163 164func (m *Service) GetConfigVersion() *wrappers.UInt32Value { 165 if m != nil { 166 return m.ConfigVersion 167 } 168 return nil 169} 170 171func (m *Service) GetName() string { 172 if m != nil { 173 return m.Name 174 } 175 return "" 176} 177 178func (m *Service) GetId() string { 179 if m != nil { 180 return m.Id 181 } 182 return "" 183} 184 185func (m *Service) GetTitle() string { 186 if m != nil { 187 return m.Title 188 } 189 return "" 190} 191 192func (m *Service) GetProducerProjectId() string { 193 if m != nil { 194 return m.ProducerProjectId 195 } 196 return "" 197} 198 199func (m *Service) GetApis() []*api.Api { 200 if m != nil { 201 return m.Apis 202 } 203 return nil 204} 205 206func (m *Service) GetTypes() []*ptype.Type { 207 if m != nil { 208 return m.Types 209 } 210 return nil 211} 212 213func (m *Service) GetEnums() []*ptype.Enum { 214 if m != nil { 215 return m.Enums 216 } 217 return nil 218} 219 220func (m *Service) GetDocumentation() *Documentation { 221 if m != nil { 222 return m.Documentation 223 } 224 return nil 225} 226 227func (m *Service) GetBackend() *Backend { 228 if m != nil { 229 return m.Backend 230 } 231 return nil 232} 233 234func (m *Service) GetHttp() *annotations.Http { 235 if m != nil { 236 return m.Http 237 } 238 return nil 239} 240 241func (m *Service) GetQuota() *Quota { 242 if m != nil { 243 return m.Quota 244 } 245 return nil 246} 247 248func (m *Service) GetAuthentication() *Authentication { 249 if m != nil { 250 return m.Authentication 251 } 252 return nil 253} 254 255func (m *Service) GetContext() *Context { 256 if m != nil { 257 return m.Context 258 } 259 return nil 260} 261 262func (m *Service) GetUsage() *Usage { 263 if m != nil { 264 return m.Usage 265 } 266 return nil 267} 268 269func (m *Service) GetEndpoints() []*Endpoint { 270 if m != nil { 271 return m.Endpoints 272 } 273 return nil 274} 275 276func (m *Service) GetControl() *Control { 277 if m != nil { 278 return m.Control 279 } 280 return nil 281} 282 283func (m *Service) GetLogs() []*LogDescriptor { 284 if m != nil { 285 return m.Logs 286 } 287 return nil 288} 289 290func (m *Service) GetMetrics() []*metric.MetricDescriptor { 291 if m != nil { 292 return m.Metrics 293 } 294 return nil 295} 296 297func (m *Service) GetMonitoredResources() []*monitoredres.MonitoredResourceDescriptor { 298 if m != nil { 299 return m.MonitoredResources 300 } 301 return nil 302} 303 304func (m *Service) GetBilling() *Billing { 305 if m != nil { 306 return m.Billing 307 } 308 return nil 309} 310 311func (m *Service) GetLogging() *Logging { 312 if m != nil { 313 return m.Logging 314 } 315 return nil 316} 317 318func (m *Service) GetMonitoring() *Monitoring { 319 if m != nil { 320 return m.Monitoring 321 } 322 return nil 323} 324 325func (m *Service) GetSystemParameters() *SystemParameters { 326 if m != nil { 327 return m.SystemParameters 328 } 329 return nil 330} 331 332func (m *Service) GetSourceInfo() *SourceInfo { 333 if m != nil { 334 return m.SourceInfo 335 } 336 return nil 337} 338 339func init() { 340 proto.RegisterType((*Service)(nil), "google.api.Service") 341} 342 343func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor_d556deeebe545813) } 344 345var fileDescriptor_d556deeebe545813 = []byte{ 346 // 792 bytes of a gzipped FileDescriptorProto 347 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x95, 0xdd, 0x6e, 0xdb, 0x36, 348 0x18, 0x86, 0x61, 0xd7, 0x6e, 0x66, 0xba, 0xcd, 0x1a, 0xc6, 0x49, 0x19, 0xd7, 0x1b, 0xd2, 0xfd, 349 0xa0, 0x06, 0x86, 0xca, 0x80, 0x0b, 0x74, 0x07, 0x3b, 0x18, 0xe2, 0x36, 0xd8, 0x0c, 0x64, 0x80, 350 0xc7, 0x2c, 0xc1, 0xb0, 0x13, 0x83, 0x96, 0x68, 0x85, 0x9b, 0x44, 0x72, 0x24, 0x95, 0xcd, 0xb7, 351 0xb3, 0x7b, 0xda, 0xfd, 0x14, 0x22, 0xa5, 0x98, 0xfa, 0xc9, 0x99, 0xc5, 0xe7, 0xf9, 0xa8, 0x8f, 352 0x22, 0xf9, 0x1a, 0xa0, 0x58, 0x88, 0x38, 0xa1, 0x33, 0x22, 0xd9, 0x4c, 0x53, 0x75, 0xcf, 0x42, 353 0x1a, 0x48, 0x25, 0x8c, 0x80, 0xc0, 0x91, 0x80, 0x48, 0x36, 0x3e, 0xf1, 0x2c, 0x92, 0x99, 0x3b, 354 0xa7, 0x8c, 0xfd, 0xe2, 0x0d, 0x09, 0xff, 0xa2, 0x3c, 0x6a, 0x23, 0x2c, 0x49, 0x18, 0x8f, 0x5b, 355 0x48, 0x28, 0xb8, 0xa1, 0xff, 0x9a, 0x47, 0x88, 0x12, 0x49, 0x41, 0xbe, 0xf4, 0x48, 0x24, 0xc2, 356 0x2c, 0xa5, 0xdc, 0x10, 0xc3, 0x04, 0x2f, 0xf8, 0x99, 0xc7, 0x29, 0x8f, 0xa4, 0x60, 0xbc, 0x9c, 357 0xd4, 0xef, 0xfc, 0xce, 0x18, 0x59, 0x0c, 0x9f, 0x7a, 0xc3, 0x09, 0xd9, 0xd0, 0xf2, 0x4d, 0x23, 358 0x7f, 0x5c, 0xb4, 0xf5, 0x9c, 0x88, 0x38, 0xde, 0xaf, 0xe6, 0xa5, 0x47, 0x52, 0x6a, 0x14, 0x0b, 359 0x0b, 0xf0, 0xb5, 0x0f, 0x04, 0x67, 0x46, 0x28, 0x1a, 0xad, 0x15, 0xd5, 0x22, 0x53, 0xe5, 0x27, 360 0x1e, 0xbf, 0x6a, 0x4a, 0xfb, 0xa9, 0xfd, 0x16, 0xff, 0xce, 0x84, 0x21, 0x2d, 0x8b, 0xad, 0xcd, 361 0x37, 0xf1, 0x37, 0xd3, 0x82, 0x35, 0xe3, 0x5b, 0x51, 0xd0, 0xd7, 0x3e, 0xdd, 0x69, 0x43, 0xd3, 362 0xb5, 0x24, 0x8a, 0xa4, 0xd4, 0x50, 0xd5, 0xf2, 0xce, 0x4c, 0x93, 0x98, 0xd6, 0xde, 0x69, 0x9f, 363 0x36, 0xd9, 0x76, 0x46, 0xf8, 0xee, 0x51, 0x24, 0x59, 0x81, 0xc6, 0x75, 0x64, 0x76, 0x92, 0xd6, 364 0xb6, 0xf4, 0x81, 0xfd, 0xa3, 0x88, 0x94, 0x54, 0x69, 0xc7, 0xbf, 0xfa, 0x7f, 0x00, 0x0e, 0xae, 365 0xdd, 0x79, 0x84, 0x1f, 0xc0, 0x61, 0x28, 0xf8, 0x96, 0xc5, 0xeb, 0x7b, 0xaa, 0x34, 0x13, 0x1c, 366 0x8d, 0xce, 0x3b, 0xd3, 0xe1, 0x7c, 0x12, 0x14, 0x47, 0xb4, 0x9c, 0x24, 0xb8, 0x59, 0x72, 0xf3, 367 0x6e, 0x7e, 0x4b, 0x92, 0x8c, 0xe2, 0xe7, 0xae, 0xe6, 0xd6, 0x95, 0x40, 0x08, 0x7a, 0x9c, 0xa4, 368 0x14, 0x75, 0xce, 0x3b, 0xd3, 0x01, 0xb6, 0xbf, 0xe1, 0x21, 0xe8, 0xb2, 0x08, 0xbd, 0xb6, 0x23, 369 0x5d, 0x16, 0xc1, 0x11, 0xe8, 0x1b, 0x66, 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