| // Code generated by protoc-gen-go. |
| // source: google.golang.org/genproto/googleapis/api/serviceconfig/service.proto |
| // DO NOT EDIT! |
| |
| package google_api |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import _ "google.golang.org/genproto/googleapis/api/label" |
| import google_api2 "google.golang.org/genproto/googleapis/api/metric" |
| import google_api3 "google.golang.org/genproto/googleapis/api/monitoredres" |
| import _ "github.com/golang/protobuf/ptypes/any" |
| import google_protobuf4 "google.golang.org/genproto/protobuf" |
| import google_protobuf3 "google.golang.org/genproto/protobuf" |
| import google_protobuf5 "github.com/golang/protobuf/ptypes/wrappers" |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // `Service` is the root object of the configuration schema. It |
| // describes basic information like the name of the service and the |
| // exposed API interfaces, and delegates other aspects to configuration |
| // sub-sections. |
| // |
| // Example: |
| // |
| // type: google.api.Service |
| // config_version: 1 |
| // name: calendar.googleapis.com |
| // title: Google Calendar API |
| // apis: |
| // - name: google.calendar.Calendar |
| // backend: |
| // rules: |
| // - selector: "*" |
| // address: calendar.example.com |
| type Service struct { |
| // The version of the service configuration. The config version may |
| // influence interpretation of the configuration, for example, to |
| // determine defaults. This is documented together with applicable |
| // options. The current default for the config version itself is `3`. |
| ConfigVersion *google_protobuf5.UInt32Value `protobuf:"bytes,20,opt,name=config_version,json=configVersion" json:"config_version,omitempty"` |
| // The DNS address at which this service is available, |
| // e.g. `calendar.googleapis.com`. |
| Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| // A unique ID for a specific instance of this message, typically assigned |
| // by the client for tracking purpose. If empty, the server may choose to |
| // generate one instead. |
| Id string `protobuf:"bytes,33,opt,name=id" json:"id,omitempty"` |
| // The product title associated with this service. |
| Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` |
| // The id of the Google developer project that owns the service. |
| // Members of this project can manage the service configuration, |
| // manage consumption of the service, etc. |
| ProducerProjectId string `protobuf:"bytes,22,opt,name=producer_project_id,json=producerProjectId" json:"producer_project_id,omitempty"` |
| // A list of API interfaces exported by this service. Only the `name` field |
| // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration |
| // author, as the remaining fields will be derived from the IDL during the |
| // normalization process. It is an error to specify an API interface here |
| // which cannot be resolved against the associated IDL files. |
| Apis []*google_protobuf4.Api `protobuf:"bytes,3,rep,name=apis" json:"apis,omitempty"` |
| // A list of all proto message types included in this API service. |
| // Types referenced directly or indirectly by the `apis` are |
| // automatically included. Messages which are not referenced but |
| // shall be included, such as types used by the `google.protobuf.Any` type, |
| // should be listed here by name. Example: |
| // |
| // types: |
| // - name: google.protobuf.Int32 |
| Types []*google_protobuf3.Type `protobuf:"bytes,4,rep,name=types" json:"types,omitempty"` |
| // A list of all enum types included in this API service. Enums |
| // referenced directly or indirectly by the `apis` are automatically |
| // included. Enums which are not referenced but shall be included |
| // should be listed here by name. Example: |
| // |
| // enums: |
| // - name: google.someapi.v1.SomeEnum |
| Enums []*google_protobuf3.Enum `protobuf:"bytes,5,rep,name=enums" json:"enums,omitempty"` |
| // Additional API documentation. |
| Documentation *Documentation `protobuf:"bytes,6,opt,name=documentation" json:"documentation,omitempty"` |
| // API backend configuration. |
| Backend *Backend `protobuf:"bytes,8,opt,name=backend" json:"backend,omitempty"` |
| // HTTP configuration. |
| Http *Http `protobuf:"bytes,9,opt,name=http" json:"http,omitempty"` |
| // Auth configuration. |
| Authentication *Authentication `protobuf:"bytes,11,opt,name=authentication" json:"authentication,omitempty"` |
| // Context configuration. |
| Context *Context `protobuf:"bytes,12,opt,name=context" json:"context,omitempty"` |
| // Configuration controlling usage of this service. |
| Usage *Usage `protobuf:"bytes,15,opt,name=usage" json:"usage,omitempty"` |
| // Configuration for network endpoints. If this is empty, then an endpoint |
| // with the same name as the service is automatically generated to service all |
| // defined APIs. |
| Endpoints []*Endpoint `protobuf:"bytes,18,rep,name=endpoints" json:"endpoints,omitempty"` |
| // Configuration for the service control plane. |
| Control *Control `protobuf:"bytes,21,opt,name=control" json:"control,omitempty"` |
| // Defines the logs used by this service. |
| Logs []*LogDescriptor `protobuf:"bytes,23,rep,name=logs" json:"logs,omitempty"` |
| // Defines the metrics used by this service. |
| Metrics []*google_api2.MetricDescriptor `protobuf:"bytes,24,rep,name=metrics" json:"metrics,omitempty"` |
| // Defines the monitored resources used by this service. This is required |
| // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. |
| MonitoredResources []*google_api3.MonitoredResourceDescriptor `protobuf:"bytes,25,rep,name=monitored_resources,json=monitoredResources" json:"monitored_resources,omitempty"` |
| // Logging configuration of the service. |
| Logging *Logging `protobuf:"bytes,27,opt,name=logging" json:"logging,omitempty"` |
| // Monitoring configuration of the service. |
| Monitoring *Monitoring `protobuf:"bytes,28,opt,name=monitoring" json:"monitoring,omitempty"` |
| // Configuration for system parameters. |
| SystemParameters *SystemParameters `protobuf:"bytes,29,opt,name=system_parameters,json=systemParameters" json:"system_parameters,omitempty"` |
| } |
| |
| func (m *Service) Reset() { *m = Service{} } |
| func (m *Service) String() string { return proto.CompactTextString(m) } |
| func (*Service) ProtoMessage() {} |
| func (*Service) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{0} } |
| |
| func (m *Service) GetConfigVersion() *google_protobuf5.UInt32Value { |
| if m != nil { |
| return m.ConfigVersion |
| } |
| return nil |
| } |
| |
| func (m *Service) GetApis() []*google_protobuf4.Api { |
| if m != nil { |
| return m.Apis |
| } |
| return nil |
| } |
| |
| func (m *Service) GetTypes() []*google_protobuf3.Type { |
| if m != nil { |
| return m.Types |
| } |
| return nil |
| } |
| |
| func (m *Service) GetEnums() []*google_protobuf3.Enum { |
| if m != nil { |
| return m.Enums |
| } |
| return nil |
| } |
| |
| func (m *Service) GetDocumentation() *Documentation { |
| if m != nil { |
| return m.Documentation |
| } |
| return nil |
| } |
| |
| func (m *Service) GetBackend() *Backend { |
| if m != nil { |
| return m.Backend |
| } |
| return nil |
| } |
| |
| func (m *Service) GetHttp() *Http { |
| if m != nil { |
| return m.Http |
| } |
| return nil |
| } |
| |
| func (m *Service) GetAuthentication() *Authentication { |
| if m != nil { |
| return m.Authentication |
| } |
| return nil |
| } |
| |
| func (m *Service) GetContext() *Context { |
| if m != nil { |
| return m.Context |
| } |
| return nil |
| } |
| |
| func (m *Service) GetUsage() *Usage { |
| if m != nil { |
| return m.Usage |
| } |
| return nil |
| } |
| |
| func (m *Service) GetEndpoints() []*Endpoint { |
| if m != nil { |
| return m.Endpoints |
| } |
| return nil |
| } |
| |
| func (m *Service) GetControl() *Control { |
| if m != nil { |
| return m.Control |
| } |
| return nil |
| } |
| |
| func (m *Service) GetLogs() []*LogDescriptor { |
| if m != nil { |
| return m.Logs |
| } |
| return nil |
| } |
| |
| func (m *Service) GetMetrics() []*google_api2.MetricDescriptor { |
| if m != nil { |
| return m.Metrics |
| } |
| return nil |
| } |
| |
| func (m *Service) GetMonitoredResources() []*google_api3.MonitoredResourceDescriptor { |
| if m != nil { |
| return m.MonitoredResources |
| } |
| return nil |
| } |
| |
| func (m *Service) GetLogging() *Logging { |
| if m != nil { |
| return m.Logging |
| } |
| return nil |
| } |
| |
| func (m *Service) GetMonitoring() *Monitoring { |
| if m != nil { |
| return m.Monitoring |
| } |
| return nil |
| } |
| |
| func (m *Service) GetSystemParameters() *SystemParameters { |
| if m != nil { |
| return m.SystemParameters |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Service)(nil), "google.api.Service") |
| } |
| |
| func init() { |
| proto.RegisterFile("google.golang.org/genproto/googleapis/api/serviceconfig/service.proto", fileDescriptor13) |
| } |
| |
| var fileDescriptor13 = []byte{ |
| // 772 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x95, 0x6b, 0x4f, 0xd4, 0x4c, |
| 0x14, 0xc7, 0x03, 0x2c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