1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/vendor/github.com/googleapis/gnostic/surface/surface.pb.go
2019-10-23 23:19:53 -07:00

531 lines
16 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: surface/surface.proto
package surface_v1
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
type FieldKind int32
const (
FieldKind_SCALAR FieldKind = 0
FieldKind_MAP FieldKind = 1
FieldKind_ARRAY FieldKind = 2
FieldKind_REFERENCE FieldKind = 3
FieldKind_ANY FieldKind = 4
)
var FieldKind_name = map[int32]string{
0: "SCALAR",
1: "MAP",
2: "ARRAY",
3: "REFERENCE",
4: "ANY",
}
var FieldKind_value = map[string]int32{
"SCALAR": 0,
"MAP": 1,
"ARRAY": 2,
"REFERENCE": 3,
"ANY": 4,
}
func (x FieldKind) String() string {
return proto.EnumName(FieldKind_name, int32(x))
}
func (FieldKind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_68892468a0db0ac7, []int{0}
}
type TypeKind int32
const (
TypeKind_STRUCT TypeKind = 0
TypeKind_OBJECT TypeKind = 1
)
var TypeKind_name = map[int32]string{
0: "STRUCT",
1: "OBJECT",
}
var TypeKind_value = map[string]int32{
"STRUCT": 0,
"OBJECT": 1,
}
func (x TypeKind) String() string {
return proto.EnumName(TypeKind_name, int32(x))
}
func (TypeKind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_68892468a0db0ac7, []int{1}
}
type Position int32
const (
Position_BODY Position = 0
Position_HEADER Position = 1
Position_FORMDATA Position = 2
Position_QUERY Position = 3
Position_PATH Position = 4
)
var Position_name = map[int32]string{
0: "BODY",
1: "HEADER",
2: "FORMDATA",
3: "QUERY",
4: "PATH",
}
var Position_value = map[string]int32{
"BODY": 0,
"HEADER": 1,
"FORMDATA": 2,
"QUERY": 3,
"PATH": 4,
}
func (x Position) String() string {
return proto.EnumName(Position_name, int32(x))
}
func (Position) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_68892468a0db0ac7, []int{2}
}
// Field is a field in a definition and can be associated with
// a position in a request structure.
type Field struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Kind FieldKind `protobuf:"varint,3,opt,name=kind,proto3,enum=surface.v1.FieldKind" json:"kind,omitempty"`
Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
Position Position `protobuf:"varint,5,opt,name=position,proto3,enum=surface.v1.Position" json:"position,omitempty"`
NativeType string `protobuf:"bytes,6,opt,name=nativeType,proto3" json:"nativeType,omitempty"`
FieldName string `protobuf:"bytes,7,opt,name=fieldName,proto3" json:"fieldName,omitempty"`
ParameterName string `protobuf:"bytes,8,opt,name=parameterName,proto3" json:"parameterName,omitempty"`
Serialize bool `protobuf:"varint,9,opt,name=serialize,proto3" json:"serialize,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Field) Reset() { *m = Field{} }
func (m *Field) String() string { return proto.CompactTextString(m) }
func (*Field) ProtoMessage() {}
func (*Field) Descriptor() ([]byte, []int) {
return fileDescriptor_68892468a0db0ac7, []int{0}
}
func (m *Field) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Field.Unmarshal(m, b)
}
func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Field.Marshal(b, m, deterministic)
}
func (m *Field) XXX_Merge(src proto.Message) {
xxx_messageInfo_Field.Merge(m, src)
}
func (m *Field) XXX_Size() int {
return xxx_messageInfo_Field.Size(m)
}
func (m *Field) XXX_DiscardUnknown() {
xxx_messageInfo_Field.DiscardUnknown(m)
}
var xxx_messageInfo_Field proto.InternalMessageInfo
func (m *Field) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Field) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *Field) GetKind() FieldKind {
if m != nil {
return m.Kind
}
return FieldKind_SCALAR
}
func (m *Field) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
func (m *Field) GetPosition() Position {
if m != nil {
return m.Position
}
return Position_BODY
}
func (m *Field) GetNativeType() string {
if m != nil {
return m.NativeType
}
return ""
}
func (m *Field) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *Field) GetParameterName() string {
if m != nil {
return m.ParameterName
}
return ""
}
func (m *Field) GetSerialize() bool {
if m != nil {
return m.Serialize
}
return false
}
// Type typically corresponds to a definition, parameter, or response
// in an API and is represented by a type in generated code.
type Type struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Kind TypeKind `protobuf:"varint,2,opt,name=kind,proto3,enum=surface.v1.TypeKind" json:"kind,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType,omitempty"`
Fields []*Field `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"`
TypeName string `protobuf:"bytes,6,opt,name=typeName,proto3" json:"typeName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Type) Reset() { *m = Type{} }
func (m *Type) String() string { return proto.CompactTextString(m) }
func (*Type) ProtoMessage() {}
func (*Type) Descriptor() ([]byte, []int) {
return fileDescriptor_68892468a0db0ac7, []int{1}
}
func (m *Type) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Type.Unmarshal(m, b)
}
func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Type.Marshal(b, m, deterministic)
}
func (m *Type) XXX_Merge(src proto.Message) {
xxx_messageInfo_Type.Merge(m, src)
}
func (m *Type) XXX_Size() int {
return xxx_messageInfo_Type.Size(m)
}
func (m *Type) XXX_DiscardUnknown() {
xxx_messageInfo_Type.DiscardUnknown(m)
}
var xxx_messageInfo_Type proto.InternalMessageInfo
func (m *Type) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Type) GetKind() TypeKind {
if m != nil {
return m.Kind
}
return TypeKind_STRUCT
}
func (m *Type) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Type) GetContentType() string {
if m != nil {
return m.ContentType
}
return ""
}
func (m *Type) GetFields() []*Field {
if m != nil {
return m.Fields
}
return nil
}
func (m *Type) GetTypeName() string {
if m != nil {
return m.TypeName
}
return ""
}
// Method is an operation of an API and typically has associated client and server code.
type Method struct {
Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
HandlerName string `protobuf:"bytes,6,opt,name=handlerName,proto3" json:"handlerName,omitempty"`
ProcessorName string `protobuf:"bytes,7,opt,name=processorName,proto3" json:"processorName,omitempty"`
ClientName string `protobuf:"bytes,8,opt,name=clientName,proto3" json:"clientName,omitempty"`
ParametersTypeName string `protobuf:"bytes,9,opt,name=parametersTypeName,proto3" json:"parametersTypeName,omitempty"`
ResponsesTypeName string `protobuf:"bytes,10,opt,name=responsesTypeName,proto3" json:"responsesTypeName,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 fileDescriptor_68892468a0db0ac7, []int{2}
}
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 (m *Method) XXX_Merge(src proto.Message) {
xxx_messageInfo_Method.Merge(m, 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) GetOperation() string {
if m != nil {
return m.Operation
}
return ""
}
func (m *Method) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *Method) GetMethod() string {
if m != nil {
return m.Method
}
return ""
}
func (m *Method) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Method) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Method) GetHandlerName() string {
if m != nil {
return m.HandlerName
}
return ""
}
func (m *Method) GetProcessorName() string {
if m != nil {
return m.ProcessorName
}
return ""
}
func (m *Method) GetClientName() string {
if m != nil {
return m.ClientName
}
return ""
}
func (m *Method) GetParametersTypeName() string {
if m != nil {
return m.ParametersTypeName
}
return ""
}
func (m *Method) GetResponsesTypeName() string {
if m != nil {
return m.ResponsesTypeName
}
return ""
}
// Model represents an API for code generation.
type Model struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Types []*Type `protobuf:"bytes,2,rep,name=types,proto3" json:"types,omitempty"`
Methods []*Method `protobuf:"bytes,3,rep,name=methods,proto3" json:"methods,omitempty"`
SymbolicReferences []string `protobuf:"bytes,4,rep,name=symbolic_references,json=symbolicReferences,proto3" json:"symbolic_references,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Model) Reset() { *m = Model{} }
func (m *Model) String() string { return proto.CompactTextString(m) }
func (*Model) ProtoMessage() {}
func (*Model) Descriptor() ([]byte, []int) {
return fileDescriptor_68892468a0db0ac7, []int{3}
}
func (m *Model) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Model.Unmarshal(m, b)
}
func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Model.Marshal(b, m, deterministic)
}
func (m *Model) XXX_Merge(src proto.Message) {
xxx_messageInfo_Model.Merge(m, src)
}
func (m *Model) XXX_Size() int {
return xxx_messageInfo_Model.Size(m)
}
func (m *Model) XXX_DiscardUnknown() {
xxx_messageInfo_Model.DiscardUnknown(m)
}
var xxx_messageInfo_Model proto.InternalMessageInfo
func (m *Model) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Model) GetTypes() []*Type {
if m != nil {
return m.Types
}
return nil
}
func (m *Model) GetMethods() []*Method {
if m != nil {
return m.Methods
}
return nil
}
func (m *Model) GetSymbolicReferences() []string {
if m != nil {
return m.SymbolicReferences
}
return nil
}
func init() {
proto.RegisterEnum("surface.v1.FieldKind", FieldKind_name, FieldKind_value)
proto.RegisterEnum("surface.v1.TypeKind", TypeKind_name, TypeKind_value)
proto.RegisterEnum("surface.v1.Position", Position_name, Position_value)
proto.RegisterType((*Field)(nil), "surface.v1.Field")
proto.RegisterType((*Type)(nil), "surface.v1.Type")
proto.RegisterType((*Method)(nil), "surface.v1.Method")
proto.RegisterType((*Model)(nil), "surface.v1.Model")
}
func init() { proto.RegisterFile("surface/surface.proto", fileDescriptor_68892468a0db0ac7) }
var fileDescriptor_68892468a0db0ac7 = []byte{
// 612 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xef, 0x6e, 0xd3, 0x3e,
0x14, 0x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