1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: selection/selection.proto
3
4package selection
5
6import (
7	fmt "fmt"
8	proto "github.com/golang/protobuf/proto"
9	math "math"
10)
11
12// Reference imports to suppress errors if they are not otherwise used.
13var _ = proto.Marshal
14var _ = fmt.Errorf
15var _ = math.Inf
16
17// This is a compile-time assertion to ensure that this generated file
18// is compatible with the proto package it is being compiled against.
19// A compilation error at this line likely means your copy of the
20// proto package needs to be updated.
21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
22
23// Selection encodes a selection mechanism that can be used to select a
24// collection of sessions. It should have exactly one member set.
25type Selection struct {
26	// All, if true, indicates that all sessions should be selected.
27	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
28	// Specifications is a list of session specifications. Each element may be
29	// either a session identifier or name (or a prefix thereof). If non-empty,
30	// it indicates that these specifications should be used to select sessions.
31	Specifications []string `protobuf:"bytes,2,rep,name=specifications,proto3" json:"specifications,omitempty"`
32	// LabelSelector is a label selector specification. If present (non-empty),
33	// it indicates that this selector should be used to select sessions.
34	LabelSelector        string   `protobuf:"bytes,3,opt,name=labelSelector,proto3" json:"labelSelector,omitempty"`
35	XXX_NoUnkeyedLiteral struct{} `json:"-"`
36	XXX_unrecognized     []byte   `json:"-"`
37	XXX_sizecache        int32    `json:"-"`
38}
39
40func (m *Selection) Reset()         { *m = Selection{} }
41func (m *Selection) String() string { return proto.CompactTextString(m) }
42func (*Selection) ProtoMessage()    {}
43func (*Selection) Descriptor() ([]byte, []int) {
44	return fileDescriptor_9898c8cda3cc224c, []int{0}
45}
46
47func (m *Selection) XXX_Unmarshal(b []byte) error {
48	return xxx_messageInfo_Selection.Unmarshal(m, b)
49}
50func (m *Selection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
51	return xxx_messageInfo_Selection.Marshal(b, m, deterministic)
52}
53func (m *Selection) XXX_Merge(src proto.Message) {
54	xxx_messageInfo_Selection.Merge(m, src)
55}
56func (m *Selection) XXX_Size() int {
57	return xxx_messageInfo_Selection.Size(m)
58}
59func (m *Selection) XXX_DiscardUnknown() {
60	xxx_messageInfo_Selection.DiscardUnknown(m)
61}
62
63var xxx_messageInfo_Selection proto.InternalMessageInfo
64
65func (m *Selection) GetAll() bool {
66	if m != nil {
67		return m.All
68	}
69	return false
70}
71
72func (m *Selection) GetSpecifications() []string {
73	if m != nil {
74		return m.Specifications
75	}
76	return nil
77}
78
79func (m *Selection) GetLabelSelector() string {
80	if m != nil {
81		return m.LabelSelector
82	}
83	return ""
84}
85
86func init() {
87	proto.RegisterType((*Selection)(nil), "selection.Selection")
88}
89
90func init() { proto.RegisterFile("selection/selection.proto", fileDescriptor_9898c8cda3cc224c) }
91
92var fileDescriptor_9898c8cda3cc224c = []byte{
93	// 156 bytes of a gzipped FileDescriptorProto
94	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2c, 0x4e, 0xcd, 0x49,
95	0x4d, 0x2e, 0xc9, 0xcc, 0xcf, 0xd3, 0x87, 0xb3, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x38,
96	0xe1, 0x02, 0x4a, 0xd9, 0x5c, 0x9c, 0xc1, 0x30, 0x8e, 0x90, 0x00, 0x17, 0x73, 0x62, 0x4e, 0x8e,
97	0x04, 0xa3, 0x02, 0xa3, 0x06, 0x47, 0x10, 0x88, 0x29, 0xa4, 0xc6, 0xc5, 0x57, 0x5c, 0x90, 0x9a,
98	0x9c, 0x99, 0x96, 0x99, 0x9c, 0x08, 0x52, 0x52, 0x2c, 0xc1, 0xa4, 0xc0, 0xac, 0xc1, 0x19, 0x84,
99	0x26, 0x2a, 0xa4, 0xc2, 0xc5, 0x9b, 0x93, 0x98, 0x94, 0x9a, 0x03, 0x31, 0x2b, 0xbf, 0x48, 0x82,
100	0x59, 0x81, 0x51, 0x83, 0x33, 0x08, 0x55, 0xd0, 0x49, 0x37, 0x4a, 0x3b, 0x3d, 0xb3, 0x24, 0xa3,
101	0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x3f, 0xb7, 0xb4, 0x24, 0x31, 0x3d, 0x35, 0x4f, 0x37, 0x33,
102	0x1f, 0xc6, 0xd4, 0x2f, 0xc8, 0x4e, 0x47, 0x38, 0x36, 0x89, 0x0d, 0xec, 0x5a, 0x63, 0x40, 0x00,
103	0x00, 0x00, 0xff, 0xff, 0xbf, 0x4e, 0x27, 0xb3, 0xca, 0x00, 0x00, 0x00,
104}
105