|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/api/service.proto
-
- package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/golang/protobuf/ptypes/any"
- import wrappers "github.com/golang/protobuf/ptypes/wrappers"
- import api1 "google.golang.org/genproto/googleapis/api"
- import annotations "google.golang.org/genproto/googleapis/api/annotations"
- import _ "google.golang.org/genproto/googleapis/api/label"
- import metric "google.golang.org/genproto/googleapis/api/metric"
- import monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
- import api "google.golang.org/genproto/protobuf/api"
- import ptype "google.golang.org/genproto/protobuf/ptype"
-
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // `Service` is the root object of Google service configuration schema. It
- // describes basic information about a service, such as the name and the
- // title, and delegates other aspects to sub-sections. Each sub-section is
- // either a proto message or a repeated proto message that configures a
- // specific aspect, such as auth. See each proto message definition for details.
- //
- // Example:
- //
- // type: google.api.Service
- // config_version: 3
- // name: calendar.googleapis.com
- // title: Google Calendar API
- // apis:
- // - name: google.calendar.v3.Calendar
- // authentication:
- // providers:
- // - id: google_calendar_auth
- // jwks_uri: https://www.googleapis.com/oauth2/v1/certs
- // issuer: https://securetoken.google.com
- // rules:
- // - selector: "*"
- // requirements:
- // provider_id: google_calendar_auth
- type Service struct {
- // The semantic version of the service configuration. The config version
- // affects the interpretation of the service configuration. For example,
- // certain features are enabled by default for certain config versions.
- // The latest config version is `3`.
- ConfigVersion *wrappers.UInt32Value `protobuf:"bytes,20,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
- // The service name, which is a DNS-like logical identifier for the
- // service, such as `calendar.googleapis.com`. The service name
- // typically goes through DNS verification to make sure the owner
- // of the service also owns the DNS name.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" 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. Must be no longer than 60 characters.
- Id string `protobuf:"bytes,33,opt,name=id,proto3" json:"id,omitempty"`
- // The product title for this service.
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
- // The Google project that owns this service.
- ProducerProjectId string `protobuf:"bytes,22,opt,name=producer_project_id,json=producerProjectId,proto3" 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 []*api.Api `protobuf:"bytes,3,rep,name=apis,proto3" 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 []*ptype.Type `protobuf:"bytes,4,rep,name=types,proto3" 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 []*ptype.Enum `protobuf:"bytes,5,rep,name=enums,proto3" json:"enums,omitempty"`
- // Additional API documentation.
- Documentation *Documentation `protobuf:"bytes,6,opt,name=documentation,proto3" json:"documentation,omitempty"`
- // API backend configuration.
- Backend *Backend `protobuf:"bytes,8,opt,name=backend,proto3" json:"backend,omitempty"`
- // HTTP configuration.
- Http *annotations.Http `protobuf:"bytes,9,opt,name=http,proto3" json:"http,omitempty"`
- // Quota configuration.
- Quota *Quota `protobuf:"bytes,10,opt,name=quota,proto3" json:"quota,omitempty"`
- // Auth configuration.
- Authentication *Authentication `protobuf:"bytes,11,opt,name=authentication,proto3" json:"authentication,omitempty"`
- // Context configuration.
- Context *Context `protobuf:"bytes,12,opt,name=context,proto3" json:"context,omitempty"`
- // Configuration controlling usage of this service.
- Usage *Usage `protobuf:"bytes,15,opt,name=usage,proto3" 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,proto3" json:"endpoints,omitempty"`
- // Configuration for the service control plane.
- Control *Control `protobuf:"bytes,21,opt,name=control,proto3" json:"control,omitempty"`
- // Defines the logs used by this service.
- Logs []*LogDescriptor `protobuf:"bytes,23,rep,name=logs,proto3" json:"logs,omitempty"`
- // Defines the metrics used by this service.
- Metrics []*metric.MetricDescriptor `protobuf:"bytes,24,rep,name=metrics,proto3" 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 []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,25,rep,name=monitored_resources,json=monitoredResources,proto3" json:"monitored_resources,omitempty"`
- // Billing configuration.
- Billing *Billing `protobuf:"bytes,26,opt,name=billing,proto3" json:"billing,omitempty"`
- // Logging configuration.
- Logging *Logging `protobuf:"bytes,27,opt,name=logging,proto3" json:"logging,omitempty"`
- // Monitoring configuration.
- Monitoring *Monitoring `protobuf:"bytes,28,opt,name=monitoring,proto3" json:"monitoring,omitempty"`
- // System parameter configuration.
- SystemParameters *SystemParameters `protobuf:"bytes,29,opt,name=system_parameters,json=systemParameters,proto3" json:"system_parameters,omitempty"`
- // Output only. The source information for this configuration if available.
- SourceInfo *SourceInfo `protobuf:"bytes,37,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"`
- // Experimental configuration.
- Experimental *api1.Experimental `protobuf:"bytes,101,opt,name=experimental,proto3" json:"experimental,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *Service) Reset() { *m = Service{} }
- func (m *Service) String() string { return proto.CompactTextString(m) }
- func (*Service) ProtoMessage() {}
- func (*Service) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_7ba9b10e7153108c, []int{0}
- }
- func (m *Service) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Service.Unmarshal(m, b)
- }
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Service.Marshal(b, m, deterministic)
- }
- func (dst *Service) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Service.Merge(dst, src)
- }
- func (m *Service) XXX_Size() int {
- return xxx_messageInfo_Service.Size(m)
- }
- func (m *Service) XXX_DiscardUnknown() {
- xxx_messageInfo_Service.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_Service proto.InternalMessageInfo
-
- func (m *Service) GetConfigVersion() *wrappers.UInt32Value {
- if m != nil {
- return m.ConfigVersion
- }
- return nil
- }
-
- func (m *Service) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
-
- func (m *Service) GetId() string {
- if m != nil {
- return m.Id
- }
- return ""
- }
-
- func (m *Service) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
-
- func (m *Service) GetProducerProjectId() string {
- if m != nil {
- return m.ProducerProjectId
- }
- return ""
- }
-
- func (m *Service) GetApis() []*api.Api {
- if m != nil {
- return m.Apis
- }
- return nil
- }
-
- func (m *Service) GetTypes() []*ptype.Type {
- if m != nil {
- return m.Types
- }
- return nil
- }
-
- func (m *Service) GetEnums() []*ptype.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() *annotations.Http {
- if m != nil {
- return m.Http
- }
- return nil
- }
-
- func (m *Service) GetQuota() *Quota {
- if m != nil {
- return m.Quota
- }
- 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() []*metric.MetricDescriptor {
- if m != nil {
- return m.Metrics
- }
- return nil
- }
-
- func (m *Service) GetMonitoredResources() []*monitoredres.MonitoredResourceDescriptor {
- if m != nil {
- return m.MonitoredResources
- }
- return nil
- }
-
- func (m *Service) GetBilling() *Billing {
- if m != nil {
- return m.Billing
- }
- 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 (m *Service) GetSourceInfo() *SourceInfo {
- if m != nil {
- return m.SourceInfo
- }
- return nil
- }
-
- func (m *Service) GetExperimental() *api1.Experimental {
- if m != nil {
- return m.Experimental
- }
- return nil
- }
-
- func init() {
- proto.RegisterType((*Service)(nil), "google.api.Service")
- }
-
- func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor_service_7ba9b10e7153108c) }
-
- var fileDescriptor_service_7ba9b10e7153108c = []byte{
- // 825 bytes of a gzipped File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