Versions in this module Expand all Collapse all v0 v0.2.0 May 19, 2018 v0.1.0 Sep 5, 2017 Changes in this version + func Version() string + type Annotations struct + Required []string + func NewAnnotations(in interface{}, context *compiler.Context) (*Annotations, error) + func (*Annotations) Descriptor() ([]byte, []int) + func (*Annotations) ProtoMessage() + func (m *Annotations) GetRequired() []string + func (m *Annotations) Reset() + func (m *Annotations) ResolveReferences(root string) (interface{}, error) + func (m *Annotations) String() string + func (m *Annotations) ToRawInfo() interface{} + type Any struct + Value *google_protobuf.Any + Yaml string + func NewAny(in interface{}, context *compiler.Context) (*Any, error) + func (*Any) Descriptor() ([]byte, []int) + func (*Any) ProtoMessage() + func (m *Any) GetValue() *google_protobuf.Any + func (m *Any) GetYaml() string + func (m *Any) Reset() + func (m *Any) ResolveReferences(root string) (interface{}, error) + func (m *Any) String() string + func (m *Any) ToRawInfo() interface{} + type Auth struct + Oauth2 *Oauth2 + func NewAuth(in interface{}, context *compiler.Context) (*Auth, error) + func (*Auth) Descriptor() ([]byte, []int) + func (*Auth) ProtoMessage() + func (m *Auth) GetOauth2() *Oauth2 + func (m *Auth) Reset() + func (m *Auth) ResolveReferences(root string) (interface{}, error) + func (m *Auth) String() string + func (m *Auth) ToRawInfo() interface{} + type Document struct + Auth *Auth + BasePath string + BaseUrl string + BatchPath string + CanonicalName string + Description string + DiscoveryVersion string + DocumentationLink string + Etag string + Features []string + FullyEncodeReservedExpansion bool + Icons *Icons + Id string + Kind string + Labels []string + Methods *Methods + Name string + OwnerDomain string + OwnerName string + PackagePath string + Parameters *Parameters + Protocol string + Resources *Resources + Revision string + RootUrl string + Schemas *Schemas + ServicePath string + Title string + Version string + VersionModule bool + func NewDocument(in interface{}, context *compiler.Context) (*Document, error) + func (*Document) Descriptor() ([]byte, []int) + func (*Document) ProtoMessage() + func (m *Document) GetAuth() *Auth + func (m *Document) GetBasePath() string + func (m *Document) GetBaseUrl() string + func (m *Document) GetBatchPath() string + func (m *Document) GetCanonicalName() string + func (m *Document) GetDescription() string + func (m *Document) GetDiscoveryVersion() string + func (m *Document) GetDocumentationLink() string + func (m *Document) GetEtag() string + func (m *Document) GetFeatures() []string + func (m *Document) GetFullyEncodeReservedExpansion() bool + func (m *Document) GetIcons() *Icons + func (m *Document) GetId() string + func (m *Document) GetKind() string + func (m *Document) GetLabels() []string + func (m *Document) GetMethods() *Methods + func (m *Document) GetName() string + func (m *Document) GetOwnerDomain() string + func (m *Document) GetOwnerName() string + func (m *Document) GetPackagePath() string + func (m *Document) GetParameters() *Parameters + func (m *Document) GetProtocol() string + func (m *Document) GetResources() *Resources + func (m *Document) GetRevision() string + func (m *Document) GetRootUrl() string + func (m *Document) GetSchemas() *Schemas + func (m *Document) GetServicePath() string + func (m *Document) GetTitle() string + func (m *Document) GetVersion() string + func (m *Document) GetVersionModule() bool + func (m *Document) Reset() + func (m *Document) ResolveReferences(root string) (interface{}, error) + func (m *Document) String() string + func (m *Document) ToRawInfo() interface{} + type Icons struct + X16 string + X32 string + func NewIcons(in interface{}, context *compiler.Context) (*Icons, error) + func (*Icons) Descriptor() ([]byte, []int) + func (*Icons) ProtoMessage() + func (m *Icons) GetX16() string + func (m *Icons) GetX32() string + func (m *Icons) Reset() + func (m *Icons) ResolveReferences(root string) (interface{}, error) + func (m *Icons) String() string + func (m *Icons) ToRawInfo() interface{} + type MediaUpload struct + Accept []string + MaxSize string + Protocols *Protocols + SupportsSubscription bool + func NewMediaUpload(in interface{}, context *compiler.Context) (*MediaUpload, error) + func (*MediaUpload) Descriptor() ([]byte, []int) + func (*MediaUpload) ProtoMessage() + func (m *MediaUpload) GetAccept() []string + func (m *MediaUpload) GetMaxSize() string + func (m *MediaUpload) GetProtocols() *Protocols + func (m *MediaUpload) GetSupportsSubscription() bool + func (m *MediaUpload) Reset() + func (m *MediaUpload) ResolveReferences(root string) (interface{}, error) + func (m *MediaUpload) String() string + func (m *MediaUpload) ToRawInfo() interface{} + type Method struct + Description string + EtagRequired bool + FlatPath string + HttpMethod string + Id string + MediaUpload *MediaUpload + ParameterOrder []string + Parameters *Parameters + Path string + Request *Request + Response *Response + Scopes []string + SupportsMediaDownload bool + SupportsMediaUpload bool + SupportsSubscription bool + UseMediaDownloadService bool + func NewMethod(in interface{}, context *compiler.Context) (*Method, error) + func (*Method) Descriptor() ([]byte, []int) + func (*Method) ProtoMessage() + func (m *Method) GetDescription() string + func (m *Method) GetEtagRequired() bool + func (m *Method) GetFlatPath() string + func (m *Method) GetHttpMethod() string + func (m *Method) GetId() string + func (m *Method) GetMediaUpload() *MediaUpload + func (m *Method) GetParameterOrder() []string + func (m *Method) GetParameters() *Parameters + func (m *Method) GetPath() string + func (m *Method) GetRequest() *Request + func (m *Method) GetResponse() *Response + func (m *Method) GetScopes() []string + func (m *Method) GetSupportsMediaDownload() bool + func (m *Method) GetSupportsMediaUpload() bool + func (m *Method) GetSupportsSubscription() bool + func (m *Method) GetUseMediaDownloadService() bool + func (m *Method) Reset() + func (m *Method) ResolveReferences(root string) (interface{}, error) + func (m *Method) String() string + func (m *Method) ToRawInfo() interface{} + type Methods struct + AdditionalProperties []*NamedMethod + func NewMethods(in interface{}, context *compiler.Context) (*Methods, error) + func (*Methods) Descriptor() ([]byte, []int) + func (*Methods) ProtoMessage() + func (m *Methods) GetAdditionalProperties() []*NamedMethod + func (m *Methods) Reset() + func (m *Methods) ResolveReferences(root string) (interface{}, error) + func (m *Methods) String() string + func (m *Methods) ToRawInfo() interface{} + type NamedMethod struct + Name string + Value *Method + func NewNamedMethod(in interface{}, context *compiler.Context) (*NamedMethod, error) + func (*NamedMethod) Descriptor() ([]byte, []int) + func (*NamedMethod) ProtoMessage() + func (m *NamedMethod) GetName() string + func (m *NamedMethod) GetValue() *Method + func (m *NamedMethod) Reset() + func (m *NamedMethod) ResolveReferences(root string) (interface{}, error) + func (m *NamedMethod) String() string + func (m *NamedMethod) ToRawInfo() interface{} + type NamedParameter struct + Name string + Value *Parameter + func NewNamedParameter(in interface{}, context *compiler.Context) (*NamedParameter, error) + func (*NamedParameter) Descriptor() ([]byte, []int) + func (*NamedParameter) ProtoMessage() + func (m *NamedParameter) GetName() string + func (m *NamedParameter) GetValue() *Parameter + func (m *NamedParameter) Reset() + func (m *NamedParameter) ResolveReferences(root string) (interface{}, error) + func (m *NamedParameter) String() string + func (m *NamedParameter) ToRawInfo() interface{} + type NamedResource struct + Name string + Value *Resource + func NewNamedResource(in interface{}, context *compiler.Context) (*NamedResource, error) + func (*NamedResource) Descriptor() ([]byte, []int) + func (*NamedResource) ProtoMessage() + func (m *NamedResource) GetName() string + func (m *NamedResource) GetValue() *Resource + func (m *NamedResource) Reset() + func (m *NamedResource) ResolveReferences(root string) (interface{}, error) + func (m *NamedResource) String() string + func (m *NamedResource) ToRawInfo() interface{} + type NamedSchema struct + Name string + Value *Schema + func NewNamedSchema(in interface{}, context *compiler.Context) (*NamedSchema, error) + func (*NamedSchema) Descriptor() ([]byte, []int) + func (*NamedSchema) ProtoMessage() + func (m *NamedSchema) GetName() string + func (m *NamedSchema) GetValue() *Schema + func (m *NamedSchema) Reset() + func (m *NamedSchema) ResolveReferences(root string) (interface{}, error) + func (m *NamedSchema) String() string + func (m *NamedSchema) ToRawInfo() interface{} + type NamedScope struct + Name string + Value *Scope + func NewNamedScope(in interface{}, context *compiler.Context) (*NamedScope, error) + func (*NamedScope) Descriptor() ([]byte, []int) + func (*NamedScope) ProtoMessage() + func (m *NamedScope) GetName() string + func (m *NamedScope) GetValue() *Scope + func (m *NamedScope) Reset() + func (m *NamedScope) ResolveReferences(root string) (interface{}, error) + func (m *NamedScope) String() string + func (m *NamedScope) ToRawInfo() interface{} + type Oauth2 struct + Scopes *Scopes + func NewOauth2(in interface{}, context *compiler.Context) (*Oauth2, error) + func (*Oauth2) Descriptor() ([]byte, []int) + func (*Oauth2) ProtoMessage() + func (m *Oauth2) GetScopes() *Scopes + func (m *Oauth2) Reset() + func (m *Oauth2) ResolveReferences(root string) (interface{}, error) + func (m *Oauth2) String() string + func (m *Oauth2) ToRawInfo() interface{} + type Parameter struct + AdditionalProperties *Schema + Annotations *Annotations + Default string + Description string + Enum []string + EnumDescriptions []string + Format string + Id string + Items *Schema + Location string + Maximum string + Minimum string + Pattern string + Properties *Schemas + Repeated bool + Required bool + Type string + XRef string + func NewParameter(in interface{}, context *compiler.Context) (*Parameter, error) + func (*Parameter) Descriptor() ([]byte, []int) + func (*Parameter) ProtoMessage() + func (m *Parameter) GetAdditionalProperties() *Schema + func (m *Parameter) GetAnnotations() *Annotations + func (m *Parameter) GetDefault() string + func (m *Parameter) GetDescription() string + func (m *Parameter) GetEnum() []string + func (m *Parameter) GetEnumDescriptions() []string + func (m *Parameter) GetFormat() string + func (m *Parameter) GetId() string + func (m *Parameter) GetItems() *Schema + func (m *Parameter) GetLocation() string + func (m *Parameter) GetMaximum() string + func (m *Parameter) GetMinimum() string + func (m *Parameter) GetPattern() string + func (m *Parameter) GetProperties() *Schemas + func (m *Parameter) GetRepeated() bool + func (m *Parameter) GetRequired() bool + func (m *Parameter) GetType() string + func (m *Parameter) GetXRef() string + func (m *Parameter) Reset() + func (m *Parameter) ResolveReferences(root string) (interface{}, error) + func (m *Parameter) String() string + func (m *Parameter) ToRawInfo() interface{} + type Parameters struct + AdditionalProperties []*NamedParameter + func NewParameters(in interface{}, context *compiler.Context) (*Parameters, error) + func (*Parameters) Descriptor() ([]byte, []int) + func (*Parameters) ProtoMessage() + func (m *Parameters) GetAdditionalProperties() []*NamedParameter + func (m *Parameters) Reset() + func (m *Parameters) ResolveReferences(root string) (interface{}, error) + func (m *Parameters) String() string + func (m *Parameters) ToRawInfo() interface{} + type Protocols struct + Resumable *Resumable + Simple *Simple + func NewProtocols(in interface{}, context *compiler.Context) (*Protocols, error) + func (*Protocols) Descriptor() ([]byte, []int) + func (*Protocols) ProtoMessage() + func (m *Protocols) GetResumable() *Resumable + func (m *Protocols) GetSimple() *Simple + func (m *Protocols) Reset() + func (m *Protocols) ResolveReferences(root string) (interface{}, error) + func (m *Protocols) String() string + func (m *Protocols) ToRawInfo() interface{} + type Request struct + ParameterName string + XRef string + func NewRequest(in interface{}, context *compiler.Context) (*Request, error) + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetParameterName() string + func (m *Request) GetXRef() string + func (m *Request) Reset() + func (m *Request) ResolveReferences(root string) (interface{}, error) + func (m *Request) String() string + func (m *Request) ToRawInfo() interface{} + type Resource struct + Methods *Methods + Resources *Resources + func NewResource(in interface{}, context *compiler.Context) (*Resource, error) + func (*Resource) Descriptor() ([]byte, []int) + func (*Resource) ProtoMessage() + func (m *Resource) GetMethods() *Methods + func (m *Resource) GetResources() *Resources + func (m *Resource) Reset() + func (m *Resource) ResolveReferences(root string) (interface{}, error) + func (m *Resource) String() string + func (m *Resource) ToRawInfo() interface{} + type Resources struct + AdditionalProperties []*NamedResource + func NewResources(in interface{}, context *compiler.Context) (*Resources, error) + func (*Resources) Descriptor() ([]byte, []int) + func (*Resources) ProtoMessage() + func (m *Resources) GetAdditionalProperties() []*NamedResource + func (m *Resources) Reset() + func (m *Resources) ResolveReferences(root string) (interface{}, error) + func (m *Resources) String() string + func (m *Resources) ToRawInfo() interface{} + type Response struct + XRef string + func NewResponse(in interface{}, context *compiler.Context) (*Response, error) + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetXRef() string + func (m *Response) Reset() + func (m *Response) ResolveReferences(root string) (interface{}, error) + func (m *Response) String() string + func (m *Response) ToRawInfo() interface{} + type Resumable struct + Multipart bool + Path string + func NewResumable(in interface{}, context *compiler.Context) (*Resumable, error) + func (*Resumable) Descriptor() ([]byte, []int) + func (*Resumable) ProtoMessage() + func (m *Resumable) GetMultipart() bool + func (m *Resumable) GetPath() string + func (m *Resumable) Reset() + func (m *Resumable) ResolveReferences(root string) (interface{}, error) + func (m *Resumable) String() string + func (m *Resumable) ToRawInfo() interface{} + type Schema struct + AdditionalProperties *Schema + Annotations *Annotations + Default string + Description string + Enum []string + EnumDescriptions []string + Format string + Id string + Items *Schema + Location string + Maximum string + Minimum string + Pattern string + Properties *Schemas + ReadOnly bool + Repeated bool + Required bool + Type string + XRef string + func NewSchema(in interface{}, context *compiler.Context) (*Schema, error) + func (*Schema) Descriptor() ([]byte, []int) + func (*Schema) ProtoMessage() + func (m *Schema) GetAdditionalProperties() *Schema + func (m *Schema) GetAnnotations() *Annotations + func (m *Schema) GetDefault() string + func (m *Schema) GetDescription() string + func (m *Schema) GetEnum() []string + func (m *Schema) GetEnumDescriptions() []string + func (m *Schema) GetFormat() string + func (m *Schema) GetId() string + func (m *Schema) GetItems() *Schema + func (m *Schema) GetLocation() string + func (m *Schema) GetMaximum() string + func (m *Schema) GetMinimum() string + func (m *Schema) GetPattern() string + func (m *Schema) GetProperties() *Schemas + func (m *Schema) GetReadOnly() bool + func (m *Schema) GetRepeated() bool + func (m *Schema) GetRequired() bool + func (m *Schema) GetType() string + func (m *Schema) GetXRef() string + func (m *Schema) Reset() + func (m *Schema) ResolveReferences(root string) (interface{}, error) + func (m *Schema) String() string + func (m *Schema) ToRawInfo() interface{} + type Schemas struct + AdditionalProperties []*NamedSchema + func NewSchemas(in interface{}, context *compiler.Context) (*Schemas, error) + func (*Schemas) Descriptor() ([]byte, []int) + func (*Schemas) ProtoMessage() + func (m *Schemas) GetAdditionalProperties() []*NamedSchema + func (m *Schemas) Reset() + func (m *Schemas) ResolveReferences(root string) (interface{}, error) + func (m *Schemas) String() string + func (m *Schemas) ToRawInfo() interface{} + type Scope struct + Description string + func NewScope(in interface{}, context *compiler.Context) (*Scope, error) + func (*Scope) Descriptor() ([]byte, []int) + func (*Scope) ProtoMessage() + func (m *Scope) GetDescription() string + func (m *Scope) Reset() + func (m *Scope) ResolveReferences(root string) (interface{}, error) + func (m *Scope) String() string + func (m *Scope) ToRawInfo() interface{} + type Scopes struct + AdditionalProperties []*NamedScope + func NewScopes(in interface{}, context *compiler.Context) (*Scopes, error) + func (*Scopes) Descriptor() ([]byte, []int) + func (*Scopes) ProtoMessage() + func (m *Scopes) GetAdditionalProperties() []*NamedScope + func (m *Scopes) Reset() + func (m *Scopes) ResolveReferences(root string) (interface{}, error) + func (m *Scopes) String() string + func (m *Scopes) ToRawInfo() interface{} + type Simple struct + Multipart bool + Path string + func NewSimple(in interface{}, context *compiler.Context) (*Simple, error) + func (*Simple) Descriptor() ([]byte, []int) + func (*Simple) ProtoMessage() + func (m *Simple) GetMultipart() bool + func (m *Simple) GetPath() string + func (m *Simple) Reset() + func (m *Simple) ResolveReferences(root string) (interface{}, error) + func (m *Simple) String() string + func (m *Simple) ToRawInfo() interface{} + type StringArray struct + Value []string + func NewStringArray(in interface{}, context *compiler.Context) (*StringArray, error) + func (*StringArray) Descriptor() ([]byte, []int) + func (*StringArray) ProtoMessage() + func (m *StringArray) GetValue() []string + func (m *StringArray) Reset() + func (m *StringArray) ResolveReferences(root string) (interface{}, error) + func (m *StringArray) String() string + func (m *StringArray) ToRawInfo() interface{}