agones.dev/agones@v1.53.0/pkg/sdk/alpha/alpha.pb.go (about) 1 // Copyright 2024 Google LLC All Rights Reserved. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // This code was autogenerated. Do not edit directly. 16 // Copyright 2020 Google LLC All Rights Reserved. 17 // 18 // Licensed under the Apache License, Version 2.0 (the "License"); 19 // you may not use this file except in compliance with the License. 20 // You may obtain a copy of the License at 21 // 22 // http://www.apache.org/licenses/LICENSE-2.0 23 // 24 // Unless required by applicable law or agreed to in writing, software 25 // distributed under the License is distributed on an "AS IS" BASIS, 26 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 27 // See the License for the specific language governing permissions and 28 // limitations under the License. 29 30 // Code generated by protoc-gen-go. DO NOT EDIT. 31 // versions: 32 // protoc-gen-go v1.28.1 33 // protoc v6.30.0 34 // source: alpha.proto 35 36 package alpha 37 38 import ( 39 reflect "reflect" 40 sync "sync" 41 42 _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" 43 _ "google.golang.org/genproto/googleapis/api/annotations" 44 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 45 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 46 ) 47 48 const ( 49 // Verify that this generated code is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 51 // Verify that runtime/protoimpl is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 53 ) 54 55 // I am Empty 56 type Empty struct { 57 state protoimpl.MessageState 58 sizeCache protoimpl.SizeCache 59 unknownFields protoimpl.UnknownFields 60 } 61 62 func (x *Empty) Reset() { 63 *x = Empty{} 64 if protoimpl.UnsafeEnabled { 65 mi := &file_alpha_proto_msgTypes[0] 66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 67 ms.StoreMessageInfo(mi) 68 } 69 } 70 71 func (x *Empty) String() string { 72 return protoimpl.X.MessageStringOf(x) 73 } 74 75 func (*Empty) ProtoMessage() {} 76 77 func (x *Empty) ProtoReflect() protoreflect.Message { 78 mi := &file_alpha_proto_msgTypes[0] 79 if protoimpl.UnsafeEnabled && x != nil { 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 81 if ms.LoadMessageInfo() == nil { 82 ms.StoreMessageInfo(mi) 83 } 84 return ms 85 } 86 return mi.MessageOf(x) 87 } 88 89 // Deprecated: Use Empty.ProtoReflect.Descriptor instead. 90 func (*Empty) Descriptor() ([]byte, []int) { 91 return file_alpha_proto_rawDescGZIP(), []int{0} 92 } 93 94 // Store a count variable. 95 type Count struct { 96 state protoimpl.MessageState 97 sizeCache protoimpl.SizeCache 98 unknownFields protoimpl.UnknownFields 99 100 Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` 101 } 102 103 func (x *Count) Reset() { 104 *x = Count{} 105 if protoimpl.UnsafeEnabled { 106 mi := &file_alpha_proto_msgTypes[1] 107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 108 ms.StoreMessageInfo(mi) 109 } 110 } 111 112 func (x *Count) String() string { 113 return protoimpl.X.MessageStringOf(x) 114 } 115 116 func (*Count) ProtoMessage() {} 117 118 func (x *Count) ProtoReflect() protoreflect.Message { 119 mi := &file_alpha_proto_msgTypes[1] 120 if protoimpl.UnsafeEnabled && x != nil { 121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 122 if ms.LoadMessageInfo() == nil { 123 ms.StoreMessageInfo(mi) 124 } 125 return ms 126 } 127 return mi.MessageOf(x) 128 } 129 130 // Deprecated: Use Count.ProtoReflect.Descriptor instead. 131 func (*Count) Descriptor() ([]byte, []int) { 132 return file_alpha_proto_rawDescGZIP(), []int{1} 133 } 134 135 func (x *Count) GetCount() int64 { 136 if x != nil { 137 return x.Count 138 } 139 return 0 140 } 141 142 // Store a boolean result 143 type Bool struct { 144 state protoimpl.MessageState 145 sizeCache protoimpl.SizeCache 146 unknownFields protoimpl.UnknownFields 147 148 Bool bool `protobuf:"varint,1,opt,name=bool,proto3" json:"bool,omitempty"` 149 } 150 151 func (x *Bool) Reset() { 152 *x = Bool{} 153 if protoimpl.UnsafeEnabled { 154 mi := &file_alpha_proto_msgTypes[2] 155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 156 ms.StoreMessageInfo(mi) 157 } 158 } 159 160 func (x *Bool) String() string { 161 return protoimpl.X.MessageStringOf(x) 162 } 163 164 func (*Bool) ProtoMessage() {} 165 166 func (x *Bool) ProtoReflect() protoreflect.Message { 167 mi := &file_alpha_proto_msgTypes[2] 168 if protoimpl.UnsafeEnabled && x != nil { 169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 170 if ms.LoadMessageInfo() == nil { 171 ms.StoreMessageInfo(mi) 172 } 173 return ms 174 } 175 return mi.MessageOf(x) 176 } 177 178 // Deprecated: Use Bool.ProtoReflect.Descriptor instead. 179 func (*Bool) Descriptor() ([]byte, []int) { 180 return file_alpha_proto_rawDescGZIP(), []int{2} 181 } 182 183 func (x *Bool) GetBool() bool { 184 if x != nil { 185 return x.Bool 186 } 187 return false 188 } 189 190 // The unique identifier for a given player. 191 type PlayerID struct { 192 state protoimpl.MessageState 193 sizeCache protoimpl.SizeCache 194 unknownFields protoimpl.UnknownFields 195 196 PlayerID string `protobuf:"bytes,1,opt,name=playerID,proto3" json:"playerID,omitempty"` 197 } 198 199 func (x *PlayerID) Reset() { 200 *x = PlayerID{} 201 if protoimpl.UnsafeEnabled { 202 mi := &file_alpha_proto_msgTypes[3] 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 ms.StoreMessageInfo(mi) 205 } 206 } 207 208 func (x *PlayerID) String() string { 209 return protoimpl.X.MessageStringOf(x) 210 } 211 212 func (*PlayerID) ProtoMessage() {} 213 214 func (x *PlayerID) ProtoReflect() protoreflect.Message { 215 mi := &file_alpha_proto_msgTypes[3] 216 if protoimpl.UnsafeEnabled && x != nil { 217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 218 if ms.LoadMessageInfo() == nil { 219 ms.StoreMessageInfo(mi) 220 } 221 return ms 222 } 223 return mi.MessageOf(x) 224 } 225 226 // Deprecated: Use PlayerID.ProtoReflect.Descriptor instead. 227 func (*PlayerID) Descriptor() ([]byte, []int) { 228 return file_alpha_proto_rawDescGZIP(), []int{3} 229 } 230 231 func (x *PlayerID) GetPlayerID() string { 232 if x != nil { 233 return x.PlayerID 234 } 235 return "" 236 } 237 238 // List of Player IDs 239 type PlayerIDList struct { 240 state protoimpl.MessageState 241 sizeCache protoimpl.SizeCache 242 unknownFields protoimpl.UnknownFields 243 244 List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` 245 } 246 247 func (x *PlayerIDList) Reset() { 248 *x = PlayerIDList{} 249 if protoimpl.UnsafeEnabled { 250 mi := &file_alpha_proto_msgTypes[4] 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 ms.StoreMessageInfo(mi) 253 } 254 } 255 256 func (x *PlayerIDList) String() string { 257 return protoimpl.X.MessageStringOf(x) 258 } 259 260 func (*PlayerIDList) ProtoMessage() {} 261 262 func (x *PlayerIDList) ProtoReflect() protoreflect.Message { 263 mi := &file_alpha_proto_msgTypes[4] 264 if protoimpl.UnsafeEnabled && x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272 } 273 274 // Deprecated: Use PlayerIDList.ProtoReflect.Descriptor instead. 275 func (*PlayerIDList) Descriptor() ([]byte, []int) { 276 return file_alpha_proto_rawDescGZIP(), []int{4} 277 } 278 279 func (x *PlayerIDList) GetList() []string { 280 if x != nil { 281 return x.List 282 } 283 return nil 284 } 285 286 var File_alpha_proto protoreflect.FileDescriptor 287 288 var file_alpha_proto_rawDesc = []byte{ 289 0x0a, 0x0b, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x61, 290 0x67, 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 291 0x70, 0x68, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 292 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 293 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 294 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 295 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 296 0x6f, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1d, 0x0a, 0x05, 0x43, 0x6f, 297 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 298 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x29, 0x0a, 0x04, 0x42, 0x6f, 0x6f, 299 0x6c, 0x12, 0x21, 0x0a, 0x04, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 300 0x0d, 0x92, 0x41, 0x0a, 0xa2, 0x02, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x52, 0x04, 301 0x62, 0x6f, 0x6f, 0x6c, 0x22, 0x26, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x44, 302 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 303 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x44, 0x22, 0x22, 0x0a, 0x0c, 304 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 305 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 306 0x32, 0xa9, 0x06, 0x0a, 0x03, 0x53, 0x44, 0x4b, 0x12, 0x6d, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 307 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x61, 0x67, 0x6f, 0x6e, 308 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 309 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x44, 0x1a, 0x1a, 0x2e, 0x61, 0x67, 0x6f, 0x6e, 310 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 311 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, 0x2f, 312 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 313 0x6e, 0x65, 0x63, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x73, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x79, 0x65, 314 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x61, 0x67, 315 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 316 0x68, 0x61, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x44, 0x1a, 0x1a, 0x2e, 0x61, 0x67, 317 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 318 0x68, 0x61, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 319 0x18, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x64, 320 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x11, 321 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 322 0x79, 0x12, 0x1b, 0x2e, 0x61, 0x67, 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 323 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1b, 324 0x2e, 0x61, 0x67, 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 325 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21, 0x82, 0xd3, 0xe4, 326 0x93, 0x02, 0x1b, 0x1a, 0x16, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x6c, 0x61, 0x79, 327 0x65, 0x72, 0x2f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x6d, 328 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x61, 0x70, 0x61, 0x63, 329 0x69, 0x74, 0x79, 0x12, 0x1b, 0x2e, 0x61, 0x67, 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 330 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 331 0x1a, 0x1b, 0x2e, 0x61, 0x67, 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 332 0x6b, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1e, 0x82, 333 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x6c, 334 0x61, 0x79, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x67, 0x0a, 335 0x0e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 336 0x1b, 0x2e, 0x61, 0x67, 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 337 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x61, 338 0x67, 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 339 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 340 0x15, 0x12, 0x13, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 341 0x2f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7b, 0x0a, 0x11, 0x49, 0x73, 0x50, 0x6c, 0x61, 0x79, 342 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x1e, 0x2e, 0x61, 0x67, 343 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 344 0x68, 0x61, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x44, 0x1a, 0x1a, 0x2e, 0x61, 0x67, 345 0x6f, 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 346 0x68, 0x61, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 347 0x22, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x63, 348 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 349 0x49, 0x44, 0x7d, 0x12, 0x77, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 350 0x74, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, 0x61, 0x67, 0x6f, 351 0x6e, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 0x68, 352 0x61, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x22, 0x2e, 0x61, 0x67, 0x6f, 0x6e, 0x65, 0x73, 353 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 354 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 355 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x6c, 0x61, 0x79, 356 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x53, 0x5a, 0x07, 357 0x2e, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x92, 0x41, 0x47, 0x12, 0x1e, 0x0a, 0x0b, 0x61, 0x6c, 358 0x70, 0x68, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, 359 0x6f, 0x6e, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x73, 0x65, 0x74, 0x2a, 0x01, 0x01, 0x32, 0x10, 0x61, 360 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 361 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 362 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 363 } 364 365 var ( 366 file_alpha_proto_rawDescOnce sync.Once 367 file_alpha_proto_rawDescData = file_alpha_proto_rawDesc 368 ) 369 370 func file_alpha_proto_rawDescGZIP() []byte { 371 file_alpha_proto_rawDescOnce.Do(func() { 372 file_alpha_proto_rawDescData = protoimpl.X.CompressGZIP(file_alpha_proto_rawDescData) 373 }) 374 return file_alpha_proto_rawDescData 375 } 376 377 var file_alpha_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 378 var file_alpha_proto_goTypes = []interface{}{ 379 (*Empty)(nil), // 0: agones.dev.sdk.alpha.Empty 380 (*Count)(nil), // 1: agones.dev.sdk.alpha.Count 381 (*Bool)(nil), // 2: agones.dev.sdk.alpha.Bool 382 (*PlayerID)(nil), // 3: agones.dev.sdk.alpha.PlayerID 383 (*PlayerIDList)(nil), // 4: agones.dev.sdk.alpha.PlayerIDList 384 } 385 var file_alpha_proto_depIdxs = []int32{ 386 3, // 0: agones.dev.sdk.alpha.SDK.PlayerConnect:input_type -> agones.dev.sdk.alpha.PlayerID 387 3, // 1: agones.dev.sdk.alpha.SDK.PlayerDisconnect:input_type -> agones.dev.sdk.alpha.PlayerID 388 1, // 2: agones.dev.sdk.alpha.SDK.SetPlayerCapacity:input_type -> agones.dev.sdk.alpha.Count 389 0, // 3: agones.dev.sdk.alpha.SDK.GetPlayerCapacity:input_type -> agones.dev.sdk.alpha.Empty 390 0, // 4: agones.dev.sdk.alpha.SDK.GetPlayerCount:input_type -> agones.dev.sdk.alpha.Empty 391 3, // 5: agones.dev.sdk.alpha.SDK.IsPlayerConnected:input_type -> agones.dev.sdk.alpha.PlayerID 392 0, // 6: agones.dev.sdk.alpha.SDK.GetConnectedPlayers:input_type -> agones.dev.sdk.alpha.Empty 393 2, // 7: agones.dev.sdk.alpha.SDK.PlayerConnect:output_type -> agones.dev.sdk.alpha.Bool 394 2, // 8: agones.dev.sdk.alpha.SDK.PlayerDisconnect:output_type -> agones.dev.sdk.alpha.Bool 395 0, // 9: agones.dev.sdk.alpha.SDK.SetPlayerCapacity:output_type -> agones.dev.sdk.alpha.Empty 396 1, // 10: agones.dev.sdk.alpha.SDK.GetPlayerCapacity:output_type -> agones.dev.sdk.alpha.Count 397 1, // 11: agones.dev.sdk.alpha.SDK.GetPlayerCount:output_type -> agones.dev.sdk.alpha.Count 398 2, // 12: agones.dev.sdk.alpha.SDK.IsPlayerConnected:output_type -> agones.dev.sdk.alpha.Bool 399 4, // 13: agones.dev.sdk.alpha.SDK.GetConnectedPlayers:output_type -> agones.dev.sdk.alpha.PlayerIDList 400 7, // [7:14] is the sub-list for method output_type 401 0, // [0:7] is the sub-list for method input_type 402 0, // [0:0] is the sub-list for extension type_name 403 0, // [0:0] is the sub-list for extension extendee 404 0, // [0:0] is the sub-list for field type_name 405 } 406 407 func init() { file_alpha_proto_init() } 408 func file_alpha_proto_init() { 409 if File_alpha_proto != nil { 410 return 411 } 412 if !protoimpl.UnsafeEnabled { 413 file_alpha_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 414 switch v := v.(*Empty); i { 415 case 0: 416 return &v.state 417 case 1: 418 return &v.sizeCache 419 case 2: 420 return &v.unknownFields 421 default: 422 return nil 423 } 424 } 425 file_alpha_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 426 switch v := v.(*Count); i { 427 case 0: 428 return &v.state 429 case 1: 430 return &v.sizeCache 431 case 2: 432 return &v.unknownFields 433 default: 434 return nil 435 } 436 } 437 file_alpha_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 438 switch v := v.(*Bool); i { 439 case 0: 440 return &v.state 441 case 1: 442 return &v.sizeCache 443 case 2: 444 return &v.unknownFields 445 default: 446 return nil 447 } 448 } 449 file_alpha_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 450 switch v := v.(*PlayerID); i { 451 case 0: 452 return &v.state 453 case 1: 454 return &v.sizeCache 455 case 2: 456 return &v.unknownFields 457 default: 458 return nil 459 } 460 } 461 file_alpha_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 462 switch v := v.(*PlayerIDList); i { 463 case 0: 464 return &v.state 465 case 1: 466 return &v.sizeCache 467 case 2: 468 return &v.unknownFields 469 default: 470 return nil 471 } 472 } 473 } 474 type x struct{} 475 out := protoimpl.TypeBuilder{ 476 File: protoimpl.DescBuilder{ 477 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 478 RawDescriptor: file_alpha_proto_rawDesc, 479 NumEnums: 0, 480 NumMessages: 5, 481 NumExtensions: 0, 482 NumServices: 1, 483 }, 484 GoTypes: file_alpha_proto_goTypes, 485 DependencyIndexes: file_alpha_proto_depIdxs, 486 MessageInfos: file_alpha_proto_msgTypes, 487 }.Build() 488 File_alpha_proto = out.File 489 file_alpha_proto_rawDesc = nil 490 file_alpha_proto_goTypes = nil 491 file_alpha_proto_depIdxs = nil 492 }