mirror of https://github.com/hashicorp/consul
93 lines
3.7 KiB
Go
93 lines
3.7 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: envoy/annotations/resource.proto
|
||
|
|
||
|
package envoy_annotations
|
||
|
|
||
|
import (
|
||
|
fmt "fmt"
|
||
|
proto "github.com/golang/protobuf/proto"
|
||
|
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
||
|
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 ResourceAnnotation struct {
|
||
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *ResourceAnnotation) Reset() { *m = ResourceAnnotation{} }
|
||
|
func (m *ResourceAnnotation) String() string { return proto.CompactTextString(m) }
|
||
|
func (*ResourceAnnotation) ProtoMessage() {}
|
||
|
func (*ResourceAnnotation) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_faafdcff915d6055, []int{0}
|
||
|
}
|
||
|
|
||
|
func (m *ResourceAnnotation) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_ResourceAnnotation.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *ResourceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_ResourceAnnotation.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *ResourceAnnotation) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_ResourceAnnotation.Merge(m, src)
|
||
|
}
|
||
|
func (m *ResourceAnnotation) XXX_Size() int {
|
||
|
return xxx_messageInfo_ResourceAnnotation.Size(m)
|
||
|
}
|
||
|
func (m *ResourceAnnotation) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_ResourceAnnotation.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_ResourceAnnotation proto.InternalMessageInfo
|
||
|
|
||
|
func (m *ResourceAnnotation) GetType() string {
|
||
|
if m != nil {
|
||
|
return m.Type
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
var E_Resource = &proto.ExtensionDesc{
|
||
|
ExtendedType: (*descriptor.ServiceOptions)(nil),
|
||
|
ExtensionType: (*ResourceAnnotation)(nil),
|
||
|
Field: 265073217,
|
||
|
Name: "envoy.annotations.resource",
|
||
|
Tag: "bytes,265073217,opt,name=resource",
|
||
|
Filename: "envoy/annotations/resource.proto",
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*ResourceAnnotation)(nil), "envoy.annotations.ResourceAnnotation")
|
||
|
proto.RegisterExtension(E_Resource)
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("envoy/annotations/resource.proto", fileDescriptor_faafdcff915d6055) }
|
||
|
|
||
|
var fileDescriptor_faafdcff915d6055 = []byte{
|
||
|
// 172 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xcd, 0x2b, 0xcb,
|
||
|
0xaf, 0xd4, 0x4f, 0xcc, 0xcb, 0xcb, 0x2f, 0x49, 0x2c, 0xc9, 0xcc, 0xcf, 0x2b, 0xd6, 0x2f, 0x4a,
|
||
|
0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x04, 0xab,
|
||
|
0xd0, 0x43, 0x52, 0x21, 0xa5, 0x90, 0x9e, 0x9f, 0x9f, 0x9e, 0x93, 0xaa, 0x0f, 0x56, 0x90, 0x54,
|
||
|
0x9a, 0xa6, 0x9f, 0x92, 0x5a, 0x9c, 0x5c, 0x94, 0x59, 0x50, 0x92, 0x5f, 0x04, 0xd1, 0xa4, 0xa4,
|
||
|
0xc1, 0x25, 0x14, 0x04, 0x35, 0xc6, 0x11, 0xae, 0x51, 0x48, 0x88, 0x8b, 0xa5, 0xa4, 0xb2, 0x20,
|
||
|
0x55, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, 0xcc, 0xb6, 0x4a, 0xe5, 0xe2, 0x80, 0x59, 0x28,
|
||
|
0x24, 0xaf, 0x07, 0x31, 0x58, 0x0f, 0x66, 0xb0, 0x5e, 0x70, 0x6a, 0x51, 0x59, 0x66, 0x72, 0xaa,
|
||
|
0x7f, 0x01, 0xd8, 0x62, 0x89, 0x83, 0x4f, 0x36, 0xd5, 0x29, 0x30, 0x6a, 0x70, 0x1b, 0xa9, 0xea,
|
||
|
0x61, 0xb8, 0x4a, 0x0f, 0xd3, 0xc2, 0x20, 0xb8, 0xd1, 0x49, 0x6c, 0x60, 0x23, 0x8d, 0x01, 0x01,
|
||
|
0x00, 0x00, 0xff, 0xff, 0x54, 0xc9, 0x37, 0x66, 0xf0, 0x00, 0x00, 0x00,
|
||
|
}
|