vendor update for CSI 0.3.0

This commit is contained in:
gman
2018-07-18 16:47:22 +02:00
parent 6f484f92fc
commit 8ea659f0d5
6810 changed files with 438061 additions and 193861 deletions

View File

@ -1,24 +1,13 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/protobuf/api.proto
/*
Package api is a generated protocol buffer package.
It is generated from these files:
google/protobuf/api.proto
It has these top-level messages:
Api
Method
Mixin
*/
package api
package api // import "google.golang.org/genproto/protobuf/api"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf "google.golang.org/genproto/protobuf/source_context"
import google_protobuf2 "google.golang.org/genproto/protobuf/ptype"
import ptype "google.golang.org/genproto/protobuf/ptype"
import source_context "google.golang.org/genproto/protobuf/source_context"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@ -43,11 +32,11 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type Api struct {
// The fully qualified name of this interface, including package name
// followed by the interface's simple name.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The methods of this interface, in unspecified order.
Methods []*Method `protobuf:"bytes,2,rep,name=methods" json:"methods,omitempty"`
Methods []*Method `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// Any metadata attached to the interface.
Options []*google_protobuf2.Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
Options []*ptype.Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
// A version string for this interface. If specified, must have the form
// `major-version.minor-version`, as in `1.10`. If the minor version is
// omitted, it defaults to zero. If the entire version field is empty, the
@ -69,20 +58,42 @@ type Api struct {
// experimental, non-GA interfaces.
//
//
Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
// Source context for the protocol buffer service represented by this
// message.
SourceContext *google_protobuf.SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext" json:"source_context,omitempty"`
SourceContext *source_context.SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"`
// Included interfaces. See [Mixin][].
Mixins []*Mixin `protobuf:"bytes,6,rep,name=mixins" json:"mixins,omitempty"`
Mixins []*Mixin `protobuf:"bytes,6,rep,name=mixins,proto3" json:"mixins,omitempty"`
// The source syntax of the service.
Syntax google_protobuf2.Syntax `protobuf:"varint,7,opt,name=syntax,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
Syntax ptype.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Api) Reset() { *m = Api{} }
func (m *Api) String() string { return proto.CompactTextString(m) }
func (*Api) ProtoMessage() {}
func (*Api) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Api) Reset() { *m = Api{} }
func (m *Api) String() string { return proto.CompactTextString(m) }
func (*Api) ProtoMessage() {}
func (*Api) Descriptor() ([]byte, []int) {
return fileDescriptor_api_3a57081c831903d2, []int{0}
}
func (m *Api) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Api.Unmarshal(m, b)
}
func (m *Api) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Api.Marshal(b, m, deterministic)
}
func (dst *Api) XXX_Merge(src proto.Message) {
xxx_messageInfo_Api.Merge(dst, src)
}
func (m *Api) XXX_Size() int {
return xxx_messageInfo_Api.Size(m)
}
func (m *Api) XXX_DiscardUnknown() {
xxx_messageInfo_Api.DiscardUnknown(m)
}
var xxx_messageInfo_Api proto.InternalMessageInfo
func (m *Api) GetName() string {
if m != nil {
@ -98,7 +109,7 @@ func (m *Api) GetMethods() []*Method {
return nil
}
func (m *Api) GetOptions() []*google_protobuf2.Option {
func (m *Api) GetOptions() []*ptype.Option {
if m != nil {
return m.Options
}
@ -112,7 +123,7 @@ func (m *Api) GetVersion() string {
return ""
}
func (m *Api) GetSourceContext() *google_protobuf.SourceContext {
func (m *Api) GetSourceContext() *source_context.SourceContext {
if m != nil {
return m.SourceContext
}
@ -126,35 +137,57 @@ func (m *Api) GetMixins() []*Mixin {
return nil
}
func (m *Api) GetSyntax() google_protobuf2.Syntax {
func (m *Api) GetSyntax() ptype.Syntax {
if m != nil {
return m.Syntax
}
return google_protobuf2.Syntax_SYNTAX_PROTO2
return ptype.Syntax_SYNTAX_PROTO2
}
// Method represents a method of an API interface.
type Method struct {
// The simple name of this method.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A URL of the input message type.
RequestTypeUrl string `protobuf:"bytes,2,opt,name=request_type_url,json=requestTypeUrl" json:"request_type_url,omitempty"`
RequestTypeUrl string `protobuf:"bytes,2,opt,name=request_type_url,json=requestTypeUrl,proto3" json:"request_type_url,omitempty"`
// If true, the request is streamed.
RequestStreaming bool `protobuf:"varint,3,opt,name=request_streaming,json=requestStreaming" json:"request_streaming,omitempty"`
RequestStreaming bool `protobuf:"varint,3,opt,name=request_streaming,json=requestStreaming,proto3" json:"request_streaming,omitempty"`
// The URL of the output message type.
ResponseTypeUrl string `protobuf:"bytes,4,opt,name=response_type_url,json=responseTypeUrl" json:"response_type_url,omitempty"`
ResponseTypeUrl string `protobuf:"bytes,4,opt,name=response_type_url,json=responseTypeUrl,proto3" json:"response_type_url,omitempty"`
// If true, the response is streamed.
ResponseStreaming bool `protobuf:"varint,5,opt,name=response_streaming,json=responseStreaming" json:"response_streaming,omitempty"`
ResponseStreaming bool `protobuf:"varint,5,opt,name=response_streaming,json=responseStreaming,proto3" json:"response_streaming,omitempty"`
// Any metadata attached to the method.
Options []*google_protobuf2.Option `protobuf:"bytes,6,rep,name=options" json:"options,omitempty"`
Options []*ptype.Option `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"`
// The source syntax of this method.
Syntax google_protobuf2.Syntax `protobuf:"varint,7,opt,name=syntax,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
Syntax ptype.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Method) Reset() { *m = Method{} }
func (m *Method) String() string { return proto.CompactTextString(m) }
func (*Method) ProtoMessage() {}
func (*Method) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *Method) Reset() { *m = Method{} }
func (m *Method) String() string { return proto.CompactTextString(m) }
func (*Method) ProtoMessage() {}
func (*Method) Descriptor() ([]byte, []int) {
return fileDescriptor_api_3a57081c831903d2, []int{1}
}
func (m *Method) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Method.Unmarshal(m, b)
}
func (m *Method) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Method.Marshal(b, m, deterministic)
}
func (dst *Method) XXX_Merge(src proto.Message) {
xxx_messageInfo_Method.Merge(dst, src)
}
func (m *Method) XXX_Size() int {
return xxx_messageInfo_Method.Size(m)
}
func (m *Method) XXX_DiscardUnknown() {
xxx_messageInfo_Method.DiscardUnknown(m)
}
var xxx_messageInfo_Method proto.InternalMessageInfo
func (m *Method) GetName() string {
if m != nil {
@ -191,18 +224,18 @@ func (m *Method) GetResponseStreaming() bool {
return false
}
func (m *Method) GetOptions() []*google_protobuf2.Option {
func (m *Method) GetOptions() []*ptype.Option {
if m != nil {
return m.Options
}
return nil
}
func (m *Method) GetSyntax() google_protobuf2.Syntax {
func (m *Method) GetSyntax() ptype.Syntax {
if m != nil {
return m.Syntax
}
return google_protobuf2.Syntax_SYNTAX_PROTO2
return ptype.Syntax_SYNTAX_PROTO2
}
// Declares an API Interface to be included in this interface. The including
@ -285,16 +318,38 @@ func (m *Method) GetSyntax() google_protobuf2.Syntax {
// }
type Mixin struct {
// The fully qualified name of the interface which is included.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// If non-empty specifies a path under which inherited HTTP paths
// are rooted.
Root string `protobuf:"bytes,2,opt,name=root" json:"root,omitempty"`
Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Mixin) Reset() { *m = Mixin{} }
func (m *Mixin) String() string { return proto.CompactTextString(m) }
func (*Mixin) ProtoMessage() {}
func (*Mixin) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *Mixin) Reset() { *m = Mixin{} }
func (m *Mixin) String() string { return proto.CompactTextString(m) }
func (*Mixin) ProtoMessage() {}
func (*Mixin) Descriptor() ([]byte, []int) {
return fileDescriptor_api_3a57081c831903d2, []int{2}
}
func (m *Mixin) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Mixin.Unmarshal(m, b)
}
func (m *Mixin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Mixin.Marshal(b, m, deterministic)
}
func (dst *Mixin) XXX_Merge(src proto.Message) {
xxx_messageInfo_Mixin.Merge(dst, src)
}
func (m *Mixin) XXX_Size() int {
return xxx_messageInfo_Mixin.Size(m)
}
func (m *Mixin) XXX_DiscardUnknown() {
xxx_messageInfo_Mixin.DiscardUnknown(m)
}
var xxx_messageInfo_Mixin proto.InternalMessageInfo
func (m *Mixin) GetName() string {
if m != nil {
@ -316,9 +371,9 @@ func init() {
proto.RegisterType((*Mixin)(nil), "google.protobuf.Mixin")
}
func init() { proto.RegisterFile("google/protobuf/api.proto", fileDescriptor0) }
func init() { proto.RegisterFile("google/protobuf/api.proto", fileDescriptor_api_3a57081c831903d2) }
var fileDescriptor0 = []byte{
var fileDescriptor_api_3a57081c831903d2 = []byte{
// 432 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcf, 0x8e, 0xd3, 0x30,
0x10, 0xc6, 0x95, 0xa4, 0x4d, 0x17, 0xaf, 0xe8, 0x82, 0x91, 0xc0, 0xf4, 0xb0, 0x8a, 0x56, 0x1c,