github.com/mattdotmatt/gauge@v0.3.2-0.20160421115137-425a4cdccb62/gauge_messages/messages.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: messages.proto 3 // DO NOT EDIT! 4 5 package gauge_messages 6 7 import proto "github.com/golang/protobuf/proto" 8 import fmt "fmt" 9 import math "math" 10 11 // Reference imports to suppress errors if they are not otherwise used. 12 var _ = proto.Marshal 13 var _ = fmt.Errorf 14 var _ = math.Inf 15 16 type StepValidateResponse_ErrorType int32 17 18 const ( 19 StepValidateResponse_STEP_IMPLEMENTATION_NOT_FOUND StepValidateResponse_ErrorType = 0 20 ) 21 22 var StepValidateResponse_ErrorType_name = map[int32]string{ 23 0: "STEP_IMPLEMENTATION_NOT_FOUND", 24 } 25 var StepValidateResponse_ErrorType_value = map[string]int32{ 26 "STEP_IMPLEMENTATION_NOT_FOUND": 0, 27 } 28 29 func (x StepValidateResponse_ErrorType) Enum() *StepValidateResponse_ErrorType { 30 p := new(StepValidateResponse_ErrorType) 31 *p = x 32 return p 33 } 34 func (x StepValidateResponse_ErrorType) String() string { 35 return proto.EnumName(StepValidateResponse_ErrorType_name, int32(x)) 36 } 37 func (x *StepValidateResponse_ErrorType) UnmarshalJSON(data []byte) error { 38 value, err := proto.UnmarshalJSONEnum(StepValidateResponse_ErrorType_value, data, "StepValidateResponse_ErrorType") 39 if err != nil { 40 return err 41 } 42 *x = StepValidateResponse_ErrorType(value) 43 return nil 44 } 45 func (StepValidateResponse_ErrorType) EnumDescriptor() ([]byte, []int) { 46 return fileDescriptor2, []int{16, 0} 47 } 48 49 type Message_MessageType int32 50 51 const ( 52 Message_ExecutionStarting Message_MessageType = 0 53 Message_SpecExecutionStarting Message_MessageType = 1 54 Message_SpecExecutionEnding Message_MessageType = 2 55 Message_ScenarioExecutionStarting Message_MessageType = 3 56 Message_ScenarioExecutionEnding Message_MessageType = 4 57 Message_StepExecutionStarting Message_MessageType = 5 58 Message_StepExecutionEnding Message_MessageType = 6 59 Message_ExecuteStep Message_MessageType = 7 60 Message_ExecutionEnding Message_MessageType = 8 61 Message_StepValidateRequest Message_MessageType = 9 62 Message_StepValidateResponse Message_MessageType = 10 63 Message_ExecutionStatusResponse Message_MessageType = 11 64 Message_StepNamesRequest Message_MessageType = 12 65 Message_StepNamesResponse Message_MessageType = 13 66 Message_KillProcessRequest Message_MessageType = 14 67 Message_SuiteExecutionResult Message_MessageType = 15 68 Message_ScenarioDataStoreInit Message_MessageType = 16 69 Message_SpecDataStoreInit Message_MessageType = 17 70 Message_SuiteDataStoreInit Message_MessageType = 18 71 Message_StepNameRequest Message_MessageType = 19 72 Message_StepNameResponse Message_MessageType = 20 73 Message_RefactorRequest Message_MessageType = 21 74 Message_RefactorResponse Message_MessageType = 22 75 Message_UnsupportedMessageResponse Message_MessageType = 23 76 ) 77 78 var Message_MessageType_name = map[int32]string{ 79 0: "ExecutionStarting", 80 1: "SpecExecutionStarting", 81 2: "SpecExecutionEnding", 82 3: "ScenarioExecutionStarting", 83 4: "ScenarioExecutionEnding", 84 5: "StepExecutionStarting", 85 6: "StepExecutionEnding", 86 7: "ExecuteStep", 87 8: "ExecutionEnding", 88 9: "StepValidateRequest", 89 10: "StepValidateResponse", 90 11: "ExecutionStatusResponse", 91 12: "StepNamesRequest", 92 13: "StepNamesResponse", 93 14: "KillProcessRequest", 94 15: "SuiteExecutionResult", 95 16: "ScenarioDataStoreInit", 96 17: "SpecDataStoreInit", 97 18: "SuiteDataStoreInit", 98 19: "StepNameRequest", 99 20: "StepNameResponse", 100 21: "RefactorRequest", 101 22: "RefactorResponse", 102 23: "UnsupportedMessageResponse", 103 } 104 var Message_MessageType_value = map[string]int32{ 105 "ExecutionStarting": 0, 106 "SpecExecutionStarting": 1, 107 "SpecExecutionEnding": 2, 108 "ScenarioExecutionStarting": 3, 109 "ScenarioExecutionEnding": 4, 110 "StepExecutionStarting": 5, 111 "StepExecutionEnding": 6, 112 "ExecuteStep": 7, 113 "ExecutionEnding": 8, 114 "StepValidateRequest": 9, 115 "StepValidateResponse": 10, 116 "ExecutionStatusResponse": 11, 117 "StepNamesRequest": 12, 118 "StepNamesResponse": 13, 119 "KillProcessRequest": 14, 120 "SuiteExecutionResult": 15, 121 "ScenarioDataStoreInit": 16, 122 "SpecDataStoreInit": 17, 123 "SuiteDataStoreInit": 18, 124 "StepNameRequest": 19, 125 "StepNameResponse": 20, 126 "RefactorRequest": 21, 127 "RefactorResponse": 22, 128 "UnsupportedMessageResponse": 23, 129 } 130 131 func (x Message_MessageType) Enum() *Message_MessageType { 132 p := new(Message_MessageType) 133 *p = x 134 return p 135 } 136 func (x Message_MessageType) String() string { 137 return proto.EnumName(Message_MessageType_name, int32(x)) 138 } 139 func (x *Message_MessageType) UnmarshalJSON(data []byte) error { 140 value, err := proto.UnmarshalJSONEnum(Message_MessageType_value, data, "Message_MessageType") 141 if err != nil { 142 return err 143 } 144 *x = Message_MessageType(value) 145 return nil 146 } 147 func (Message_MessageType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{29, 0} } 148 149 // / Default request. Tells the runner to shutdown. 150 type KillProcessRequest struct { 151 XXX_unrecognized []byte `json:"-"` 152 } 153 154 func (m *KillProcessRequest) Reset() { *m = KillProcessRequest{} } 155 func (m *KillProcessRequest) String() string { return proto.CompactTextString(m) } 156 func (*KillProcessRequest) ProtoMessage() {} 157 func (*KillProcessRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } 158 159 // / Sends to any request which needs a execution status as response 160 // / usually step execution, hooks etc will return this 161 type ExecutionStatusResponse struct { 162 ExecutionResult *ProtoExecutionResult `protobuf:"bytes,1,req,name=executionResult" json:"executionResult,omitempty"` 163 XXX_unrecognized []byte `json:"-"` 164 } 165 166 func (m *ExecutionStatusResponse) Reset() { *m = ExecutionStatusResponse{} } 167 func (m *ExecutionStatusResponse) String() string { return proto.CompactTextString(m) } 168 func (*ExecutionStatusResponse) ProtoMessage() {} 169 func (*ExecutionStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } 170 171 func (m *ExecutionStatusResponse) GetExecutionResult() *ProtoExecutionResult { 172 if m != nil { 173 return m.ExecutionResult 174 } 175 return nil 176 } 177 178 // / Sent at start of Suite Execution. Tells the runner to execute `before_suite` hook. 179 type ExecutionStartingRequest struct { 180 CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` 181 XXX_unrecognized []byte `json:"-"` 182 } 183 184 func (m *ExecutionStartingRequest) Reset() { *m = ExecutionStartingRequest{} } 185 func (m *ExecutionStartingRequest) String() string { return proto.CompactTextString(m) } 186 func (*ExecutionStartingRequest) ProtoMessage() {} 187 func (*ExecutionStartingRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} } 188 189 func (m *ExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo { 190 if m != nil { 191 return m.CurrentExecutionInfo 192 } 193 return nil 194 } 195 196 // / Sent at end of Suite Execution. Tells the runner to execute `after_suite` hook. 197 type ExecutionEndingRequest struct { 198 CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` 199 XXX_unrecognized []byte `json:"-"` 200 } 201 202 func (m *ExecutionEndingRequest) Reset() { *m = ExecutionEndingRequest{} } 203 func (m *ExecutionEndingRequest) String() string { return proto.CompactTextString(m) } 204 func (*ExecutionEndingRequest) ProtoMessage() {} 205 func (*ExecutionEndingRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} } 206 207 func (m *ExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo { 208 if m != nil { 209 return m.CurrentExecutionInfo 210 } 211 return nil 212 } 213 214 // / Sent at start of Spec Execution. Tells the runner to execute `before_spec` hook. 215 type SpecExecutionStartingRequest struct { 216 CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` 217 XXX_unrecognized []byte `json:"-"` 218 } 219 220 func (m *SpecExecutionStartingRequest) Reset() { *m = SpecExecutionStartingRequest{} } 221 func (m *SpecExecutionStartingRequest) String() string { return proto.CompactTextString(m) } 222 func (*SpecExecutionStartingRequest) ProtoMessage() {} 223 func (*SpecExecutionStartingRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} } 224 225 func (m *SpecExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo { 226 if m != nil { 227 return m.CurrentExecutionInfo 228 } 229 return nil 230 } 231 232 // / Sent at end of Spec Execution. Tells the runner to execute `after_spec` hook. 233 type SpecExecutionEndingRequest struct { 234 CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` 235 XXX_unrecognized []byte `json:"-"` 236 } 237 238 func (m *SpecExecutionEndingRequest) Reset() { *m = SpecExecutionEndingRequest{} } 239 func (m *SpecExecutionEndingRequest) String() string { return proto.CompactTextString(m) } 240 func (*SpecExecutionEndingRequest) ProtoMessage() {} 241 func (*SpecExecutionEndingRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} } 242 243 func (m *SpecExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo { 244 if m != nil { 245 return m.CurrentExecutionInfo 246 } 247 return nil 248 } 249 250 // / Sent at start of Scenario Execution. Tells the runner to execute `before_scenario` hook. 251 type ScenarioExecutionStartingRequest struct { 252 CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` 253 XXX_unrecognized []byte `json:"-"` 254 } 255 256 func (m *ScenarioExecutionStartingRequest) Reset() { *m = ScenarioExecutionStartingRequest{} } 257 func (m *ScenarioExecutionStartingRequest) String() string { return proto.CompactTextString(m) } 258 func (*ScenarioExecutionStartingRequest) ProtoMessage() {} 259 func (*ScenarioExecutionStartingRequest) Descriptor() ([]byte, []int) { 260 return fileDescriptor2, []int{6} 261 } 262 263 func (m *ScenarioExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo { 264 if m != nil { 265 return m.CurrentExecutionInfo 266 } 267 return nil 268 } 269 270 // / Sent at end of Scenario Execution. Tells the runner to execute `after_scenario` hook. 271 type ScenarioExecutionEndingRequest struct { 272 CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` 273 XXX_unrecognized []byte `json:"-"` 274 } 275 276 func (m *ScenarioExecutionEndingRequest) Reset() { *m = ScenarioExecutionEndingRequest{} } 277 func (m *ScenarioExecutionEndingRequest) String() string { return proto.CompactTextString(m) } 278 func (*ScenarioExecutionEndingRequest) ProtoMessage() {} 279 func (*ScenarioExecutionEndingRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} } 280 281 func (m *ScenarioExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo { 282 if m != nil { 283 return m.CurrentExecutionInfo 284 } 285 return nil 286 } 287 288 // / Sent at start of Step Execution. Tells the runner to execute `before_step` hook. 289 type StepExecutionStartingRequest struct { 290 CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` 291 XXX_unrecognized []byte `json:"-"` 292 } 293 294 func (m *StepExecutionStartingRequest) Reset() { *m = StepExecutionStartingRequest{} } 295 func (m *StepExecutionStartingRequest) String() string { return proto.CompactTextString(m) } 296 func (*StepExecutionStartingRequest) ProtoMessage() {} 297 func (*StepExecutionStartingRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} } 298 299 func (m *StepExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo { 300 if m != nil { 301 return m.CurrentExecutionInfo 302 } 303 return nil 304 } 305 306 // / Sent at end of Step Execution. Tells the runner to execute `after_step` hook. 307 type StepExecutionEndingRequest struct { 308 CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"` 309 XXX_unrecognized []byte `json:"-"` 310 } 311 312 func (m *StepExecutionEndingRequest) Reset() { *m = StepExecutionEndingRequest{} } 313 func (m *StepExecutionEndingRequest) String() string { return proto.CompactTextString(m) } 314 func (*StepExecutionEndingRequest) ProtoMessage() {} 315 func (*StepExecutionEndingRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{9} } 316 317 func (m *StepExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo { 318 if m != nil { 319 return m.CurrentExecutionInfo 320 } 321 return nil 322 } 323 324 // / Contains details of the execution. 325 // / Depending on the context (Step, Scenario, Spec or Suite), the respective fields are set. 326 type ExecutionInfo struct { 327 // / Holds the information of the current Spec. Valid in context of Spec execution. 328 CurrentSpec *SpecInfo `protobuf:"bytes,1,opt,name=currentSpec" json:"currentSpec,omitempty"` 329 // / Holds the information of the current Scenario. Valid in context of Scenario execution. 330 CurrentScenario *ScenarioInfo `protobuf:"bytes,2,opt,name=currentScenario" json:"currentScenario,omitempty"` 331 // / Holds the information of the current Step. Valid in context of Step execution. 332 CurrentStep *StepInfo `protobuf:"bytes,3,opt,name=currentStep" json:"currentStep,omitempty"` 333 // / Stacktrace of the execution. Valid only if there is an error in execution. 334 Stacktrace *string `protobuf:"bytes,4,opt,name=stacktrace" json:"stacktrace,omitempty"` 335 XXX_unrecognized []byte `json:"-"` 336 } 337 338 func (m *ExecutionInfo) Reset() { *m = ExecutionInfo{} } 339 func (m *ExecutionInfo) String() string { return proto.CompactTextString(m) } 340 func (*ExecutionInfo) ProtoMessage() {} 341 func (*ExecutionInfo) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{10} } 342 343 func (m *ExecutionInfo) GetCurrentSpec() *SpecInfo { 344 if m != nil { 345 return m.CurrentSpec 346 } 347 return nil 348 } 349 350 func (m *ExecutionInfo) GetCurrentScenario() *ScenarioInfo { 351 if m != nil { 352 return m.CurrentScenario 353 } 354 return nil 355 } 356 357 func (m *ExecutionInfo) GetCurrentStep() *StepInfo { 358 if m != nil { 359 return m.CurrentStep 360 } 361 return nil 362 } 363 364 func (m *ExecutionInfo) GetStacktrace() string { 365 if m != nil && m.Stacktrace != nil { 366 return *m.Stacktrace 367 } 368 return "" 369 } 370 371 // / Contains details of the Spec execution. 372 type SpecInfo struct { 373 // / Name of the current Spec being executed. 374 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 375 // / Full File path containing the current Spec being executed. 376 FileName *string `protobuf:"bytes,2,req,name=fileName" json:"fileName,omitempty"` 377 // / Flag to indicate if the current Spec execution failed. 378 IsFailed *bool `protobuf:"varint,3,req,name=isFailed" json:"isFailed,omitempty"` 379 // / Tags relevant to the current Spec execution. 380 Tags []string `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"` 381 XXX_unrecognized []byte `json:"-"` 382 } 383 384 func (m *SpecInfo) Reset() { *m = SpecInfo{} } 385 func (m *SpecInfo) String() string { return proto.CompactTextString(m) } 386 func (*SpecInfo) ProtoMessage() {} 387 func (*SpecInfo) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{11} } 388 389 func (m *SpecInfo) GetName() string { 390 if m != nil && m.Name != nil { 391 return *m.Name 392 } 393 return "" 394 } 395 396 func (m *SpecInfo) GetFileName() string { 397 if m != nil && m.FileName != nil { 398 return *m.FileName 399 } 400 return "" 401 } 402 403 func (m *SpecInfo) GetIsFailed() bool { 404 if m != nil && m.IsFailed != nil { 405 return *m.IsFailed 406 } 407 return false 408 } 409 410 func (m *SpecInfo) GetTags() []string { 411 if m != nil { 412 return m.Tags 413 } 414 return nil 415 } 416 417 // / Contains details of the Scenario execution. 418 type ScenarioInfo struct { 419 // / Name of the current Scenario being executed. 420 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 421 // / Flag to indicate if the current Scenario execution failed. 422 IsFailed *bool `protobuf:"varint,2,req,name=isFailed" json:"isFailed,omitempty"` 423 // / Tags relevant to the current Scenario execution. 424 Tags []string `protobuf:"bytes,3,rep,name=tags" json:"tags,omitempty"` 425 XXX_unrecognized []byte `json:"-"` 426 } 427 428 func (m *ScenarioInfo) Reset() { *m = ScenarioInfo{} } 429 func (m *ScenarioInfo) String() string { return proto.CompactTextString(m) } 430 func (*ScenarioInfo) ProtoMessage() {} 431 func (*ScenarioInfo) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{12} } 432 433 func (m *ScenarioInfo) GetName() string { 434 if m != nil && m.Name != nil { 435 return *m.Name 436 } 437 return "" 438 } 439 440 func (m *ScenarioInfo) GetIsFailed() bool { 441 if m != nil && m.IsFailed != nil { 442 return *m.IsFailed 443 } 444 return false 445 } 446 447 func (m *ScenarioInfo) GetTags() []string { 448 if m != nil { 449 return m.Tags 450 } 451 return nil 452 } 453 454 // / Contains details of the Step execution. 455 type StepInfo struct { 456 // / The current request to execute Step 457 Step *ExecuteStepRequest `protobuf:"bytes,1,req,name=step" json:"step,omitempty"` 458 // / Flag to indicate if the current Step execution failed. 459 IsFailed *bool `protobuf:"varint,2,req,name=isFailed" json:"isFailed,omitempty"` 460 XXX_unrecognized []byte `json:"-"` 461 } 462 463 func (m *StepInfo) Reset() { *m = StepInfo{} } 464 func (m *StepInfo) String() string { return proto.CompactTextString(m) } 465 func (*StepInfo) ProtoMessage() {} 466 func (*StepInfo) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{13} } 467 468 func (m *StepInfo) GetStep() *ExecuteStepRequest { 469 if m != nil { 470 return m.Step 471 } 472 return nil 473 } 474 475 func (m *StepInfo) GetIsFailed() bool { 476 if m != nil && m.IsFailed != nil { 477 return *m.IsFailed 478 } 479 return false 480 } 481 482 // / Request sent ot the runner to Execute a Step 483 type ExecuteStepRequest struct { 484 // / Contains the actual text of the Step being executed. 485 // / This contains the parameters as defined in the Spec. 486 ActualStepText *string `protobuf:"bytes,1,req,name=actualStepText" json:"actualStepText,omitempty"` 487 // / Contains the parsed text of the Step being executed. 488 // / The paramters are replaced with placeholders. 489 ParsedStepText *string `protobuf:"bytes,2,req,name=parsedStepText" json:"parsedStepText,omitempty"` 490 // / Flag to indicate if the execution of the Scenario, containing the current Step, failed. 491 ScenarioFailing *bool `protobuf:"varint,3,opt,name=scenarioFailing" json:"scenarioFailing,omitempty"` 492 // / Collection of parameters applicable to the current Step. 493 Parameters []*Parameter `protobuf:"bytes,4,rep,name=parameters" json:"parameters,omitempty"` 494 XXX_unrecognized []byte `json:"-"` 495 } 496 497 func (m *ExecuteStepRequest) Reset() { *m = ExecuteStepRequest{} } 498 func (m *ExecuteStepRequest) String() string { return proto.CompactTextString(m) } 499 func (*ExecuteStepRequest) ProtoMessage() {} 500 func (*ExecuteStepRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{14} } 501 502 func (m *ExecuteStepRequest) GetActualStepText() string { 503 if m != nil && m.ActualStepText != nil { 504 return *m.ActualStepText 505 } 506 return "" 507 } 508 509 func (m *ExecuteStepRequest) GetParsedStepText() string { 510 if m != nil && m.ParsedStepText != nil { 511 return *m.ParsedStepText 512 } 513 return "" 514 } 515 516 func (m *ExecuteStepRequest) GetScenarioFailing() bool { 517 if m != nil && m.ScenarioFailing != nil { 518 return *m.ScenarioFailing 519 } 520 return false 521 } 522 523 func (m *ExecuteStepRequest) GetParameters() []*Parameter { 524 if m != nil { 525 return m.Parameters 526 } 527 return nil 528 } 529 530 // / Request sent ot the runner to check if given Step is valid. 531 // / The runner should check if there is an implementation defined for the given Step Text. 532 type StepValidateRequest struct { 533 // / The text is used to lookup Step implementation 534 StepText *string `protobuf:"bytes,1,req,name=stepText" json:"stepText,omitempty"` 535 // / The number of paramters in the Step 536 NumberOfParameters *int32 `protobuf:"varint,2,req,name=numberOfParameters" json:"numberOfParameters,omitempty"` 537 XXX_unrecognized []byte `json:"-"` 538 } 539 540 func (m *StepValidateRequest) Reset() { *m = StepValidateRequest{} } 541 func (m *StepValidateRequest) String() string { return proto.CompactTextString(m) } 542 func (*StepValidateRequest) ProtoMessage() {} 543 func (*StepValidateRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{15} } 544 545 func (m *StepValidateRequest) GetStepText() string { 546 if m != nil && m.StepText != nil { 547 return *m.StepText 548 } 549 return "" 550 } 551 552 func (m *StepValidateRequest) GetNumberOfParameters() int32 { 553 if m != nil && m.NumberOfParameters != nil { 554 return *m.NumberOfParameters 555 } 556 return 0 557 } 558 559 // / Response of StepValidateRequest. 560 // / The runner tells the caller if the Request was valid, 561 // / i.e. an implementation exists for given Step text. 562 // / Returns an error message if it is an error response. 563 type StepValidateResponse struct { 564 IsValid *bool `protobuf:"varint,1,req,name=isValid" json:"isValid,omitempty"` 565 ErrorMessage *string `protobuf:"bytes,2,opt,name=errorMessage" json:"errorMessage,omitempty"` 566 ErrorType *StepValidateResponse_ErrorType `protobuf:"varint,3,opt,name=errorType,enum=gauge.messages.StepValidateResponse_ErrorType" json:"errorType,omitempty"` 567 XXX_unrecognized []byte `json:"-"` 568 } 569 570 func (m *StepValidateResponse) Reset() { *m = StepValidateResponse{} } 571 func (m *StepValidateResponse) String() string { return proto.CompactTextString(m) } 572 func (*StepValidateResponse) ProtoMessage() {} 573 func (*StepValidateResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{16} } 574 575 func (m *StepValidateResponse) GetIsValid() bool { 576 if m != nil && m.IsValid != nil { 577 return *m.IsValid 578 } 579 return false 580 } 581 582 func (m *StepValidateResponse) GetErrorMessage() string { 583 if m != nil && m.ErrorMessage != nil { 584 return *m.ErrorMessage 585 } 586 return "" 587 } 588 589 func (m *StepValidateResponse) GetErrorType() StepValidateResponse_ErrorType { 590 if m != nil && m.ErrorType != nil { 591 return *m.ErrorType 592 } 593 return StepValidateResponse_STEP_IMPLEMENTATION_NOT_FOUND 594 } 595 596 // / Result of the Suite Execution. 597 type SuiteExecutionResult struct { 598 SuiteResult *ProtoSuiteResult `protobuf:"bytes,1,req,name=suiteResult" json:"suiteResult,omitempty"` 599 XXX_unrecognized []byte `json:"-"` 600 } 601 602 func (m *SuiteExecutionResult) Reset() { *m = SuiteExecutionResult{} } 603 func (m *SuiteExecutionResult) String() string { return proto.CompactTextString(m) } 604 func (*SuiteExecutionResult) ProtoMessage() {} 605 func (*SuiteExecutionResult) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{17} } 606 607 func (m *SuiteExecutionResult) GetSuiteResult() *ProtoSuiteResult { 608 if m != nil { 609 return m.SuiteResult 610 } 611 return nil 612 } 613 614 // / Requests Gauge to give all Step Names. 615 type StepNamesRequest struct { 616 XXX_unrecognized []byte `json:"-"` 617 } 618 619 func (m *StepNamesRequest) Reset() { *m = StepNamesRequest{} } 620 func (m *StepNamesRequest) String() string { return proto.CompactTextString(m) } 621 func (*StepNamesRequest) ProtoMessage() {} 622 func (*StepNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{18} } 623 624 // / Response to StepNamesRequest 625 type StepNamesResponse struct { 626 // / Collection of strings corresponding to Step texts. 627 Steps []string `protobuf:"bytes,1,rep,name=steps" json:"steps,omitempty"` 628 XXX_unrecognized []byte `json:"-"` 629 } 630 631 func (m *StepNamesResponse) Reset() { *m = StepNamesResponse{} } 632 func (m *StepNamesResponse) String() string { return proto.CompactTextString(m) } 633 func (*StepNamesResponse) ProtoMessage() {} 634 func (*StepNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{19} } 635 636 func (m *StepNamesResponse) GetSteps() []string { 637 if m != nil { 638 return m.Steps 639 } 640 return nil 641 } 642 643 // / Request runner to initialize Scenario DataStore 644 // / Scenario Datastore is reset after every Scenario execution. 645 type ScenarioDataStoreInitRequest struct { 646 XXX_unrecognized []byte `json:"-"` 647 } 648 649 func (m *ScenarioDataStoreInitRequest) Reset() { *m = ScenarioDataStoreInitRequest{} } 650 func (m *ScenarioDataStoreInitRequest) String() string { return proto.CompactTextString(m) } 651 func (*ScenarioDataStoreInitRequest) ProtoMessage() {} 652 func (*ScenarioDataStoreInitRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{20} } 653 654 // / Request runner to initialize Spec DataStore 655 // / Spec Datastore is reset after every Spec execution. 656 type SpecDataStoreInitRequest struct { 657 XXX_unrecognized []byte `json:"-"` 658 } 659 660 func (m *SpecDataStoreInitRequest) Reset() { *m = SpecDataStoreInitRequest{} } 661 func (m *SpecDataStoreInitRequest) String() string { return proto.CompactTextString(m) } 662 func (*SpecDataStoreInitRequest) ProtoMessage() {} 663 func (*SpecDataStoreInitRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{21} } 664 665 // / Request runner to initialize Suite DataStore 666 // / Suite Datastore is reset after every Suite execution. 667 type SuiteDataStoreInitRequest struct { 668 XXX_unrecognized []byte `json:"-"` 669 } 670 671 func (m *SuiteDataStoreInitRequest) Reset() { *m = SuiteDataStoreInitRequest{} } 672 func (m *SuiteDataStoreInitRequest) String() string { return proto.CompactTextString(m) } 673 func (*SuiteDataStoreInitRequest) ProtoMessage() {} 674 func (*SuiteDataStoreInitRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{22} } 675 676 // / Holds the new and old positions of a parameter. 677 // / Used when refactoring a Step. 678 type ParameterPosition struct { 679 OldPosition *int32 `protobuf:"varint,1,req,name=oldPosition" json:"oldPosition,omitempty"` 680 NewPosition *int32 `protobuf:"varint,2,req,name=newPosition" json:"newPosition,omitempty"` 681 XXX_unrecognized []byte `json:"-"` 682 } 683 684 func (m *ParameterPosition) Reset() { *m = ParameterPosition{} } 685 func (m *ParameterPosition) String() string { return proto.CompactTextString(m) } 686 func (*ParameterPosition) ProtoMessage() {} 687 func (*ParameterPosition) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{23} } 688 689 func (m *ParameterPosition) GetOldPosition() int32 { 690 if m != nil && m.OldPosition != nil { 691 return *m.OldPosition 692 } 693 return 0 694 } 695 696 func (m *ParameterPosition) GetNewPosition() int32 { 697 if m != nil && m.NewPosition != nil { 698 return *m.NewPosition 699 } 700 return 0 701 } 702 703 // / Tells the runner to refactor the specified Step. 704 type RefactorRequest struct { 705 // / Old value, used to lookup Step to refactor 706 OldStepValue *ProtoStepValue `protobuf:"bytes,1,req,name=oldStepValue" json:"oldStepValue,omitempty"` 707 // / New value, the to-be value of Step being refactored. 708 NewStepValue *ProtoStepValue `protobuf:"bytes,2,req,name=newStepValue" json:"newStepValue,omitempty"` 709 // / Holds parameter positions of all parameters. Contains old and new parameter positions. 710 ParamPositions []*ParameterPosition `protobuf:"bytes,3,rep,name=paramPositions" json:"paramPositions,omitempty"` 711 XXX_unrecognized []byte `json:"-"` 712 } 713 714 func (m *RefactorRequest) Reset() { *m = RefactorRequest{} } 715 func (m *RefactorRequest) String() string { return proto.CompactTextString(m) } 716 func (*RefactorRequest) ProtoMessage() {} 717 func (*RefactorRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{24} } 718 719 func (m *RefactorRequest) GetOldStepValue() *ProtoStepValue { 720 if m != nil { 721 return m.OldStepValue 722 } 723 return nil 724 } 725 726 func (m *RefactorRequest) GetNewStepValue() *ProtoStepValue { 727 if m != nil { 728 return m.NewStepValue 729 } 730 return nil 731 } 732 733 func (m *RefactorRequest) GetParamPositions() []*ParameterPosition { 734 if m != nil { 735 return m.ParamPositions 736 } 737 return nil 738 } 739 740 // / Response of a RefactorRequest 741 type RefactorResponse struct { 742 // / Flag indicating the success of Refactor operation. 743 Success *bool `protobuf:"varint,1,req,name=success" json:"success,omitempty"` 744 // / Error message, valid only if Refactor wasn't successful 745 Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` 746 // / List of files that were affected because of the refactoring. 747 FilesChanged []string `protobuf:"bytes,3,rep,name=filesChanged" json:"filesChanged,omitempty"` 748 XXX_unrecognized []byte `json:"-"` 749 } 750 751 func (m *RefactorResponse) Reset() { *m = RefactorResponse{} } 752 func (m *RefactorResponse) String() string { return proto.CompactTextString(m) } 753 func (*RefactorResponse) ProtoMessage() {} 754 func (*RefactorResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{25} } 755 756 func (m *RefactorResponse) GetSuccess() bool { 757 if m != nil && m.Success != nil { 758 return *m.Success 759 } 760 return false 761 } 762 763 func (m *RefactorResponse) GetError() string { 764 if m != nil && m.Error != nil { 765 return *m.Error 766 } 767 return "" 768 } 769 770 func (m *RefactorResponse) GetFilesChanged() []string { 771 if m != nil { 772 return m.FilesChanged 773 } 774 return nil 775 } 776 777 // / Request for details on a Single Step. 778 type StepNameRequest struct { 779 // / Step text to lookup the Step. 780 // / This is the parsed step value, i.e. with placeholders for parameters. 781 StepValue *string `protobuf:"bytes,1,req,name=stepValue" json:"stepValue,omitempty"` 782 XXX_unrecognized []byte `json:"-"` 783 } 784 785 func (m *StepNameRequest) Reset() { *m = StepNameRequest{} } 786 func (m *StepNameRequest) String() string { return proto.CompactTextString(m) } 787 func (*StepNameRequest) ProtoMessage() {} 788 func (*StepNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{26} } 789 790 func (m *StepNameRequest) GetStepValue() string { 791 if m != nil && m.StepValue != nil { 792 return *m.StepValue 793 } 794 return "" 795 } 796 797 // / Response to StepNameRequest. 798 type StepNameResponse struct { 799 // / Flag indicating if there is a match for the given Step Text. 800 IsStepPresent *bool `protobuf:"varint,1,req,name=isStepPresent" json:"isStepPresent,omitempty"` 801 // / The Step name of the given step. 802 StepName []string `protobuf:"bytes,2,rep,name=stepName" json:"stepName,omitempty"` 803 // / Flag indicating if the given Step is an alias. 804 HasAlias *bool `protobuf:"varint,3,req,name=hasAlias" json:"hasAlias,omitempty"` 805 XXX_unrecognized []byte `json:"-"` 806 } 807 808 func (m *StepNameResponse) Reset() { *m = StepNameResponse{} } 809 func (m *StepNameResponse) String() string { return proto.CompactTextString(m) } 810 func (*StepNameResponse) ProtoMessage() {} 811 func (*StepNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{27} } 812 813 func (m *StepNameResponse) GetIsStepPresent() bool { 814 if m != nil && m.IsStepPresent != nil { 815 return *m.IsStepPresent 816 } 817 return false 818 } 819 820 func (m *StepNameResponse) GetStepName() []string { 821 if m != nil { 822 return m.StepName 823 } 824 return nil 825 } 826 827 func (m *StepNameResponse) GetHasAlias() bool { 828 if m != nil && m.HasAlias != nil { 829 return *m.HasAlias 830 } 831 return false 832 } 833 834 // / Response when a unsupported message request is sent. 835 type UnsupportedMessageResponse struct { 836 Message *string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` 837 XXX_unrecognized []byte `json:"-"` 838 } 839 840 func (m *UnsupportedMessageResponse) Reset() { *m = UnsupportedMessageResponse{} } 841 func (m *UnsupportedMessageResponse) String() string { return proto.CompactTextString(m) } 842 func (*UnsupportedMessageResponse) ProtoMessage() {} 843 func (*UnsupportedMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{28} } 844 845 func (m *UnsupportedMessageResponse) GetMessage() string { 846 if m != nil && m.Message != nil { 847 return *m.Message 848 } 849 return "" 850 } 851 852 // / This is the message which gets transferred all the time 853 // / with proper message type set 854 // / One of the Request/Response fields will have value, depending on the MessageType set. 855 type Message struct { 856 MessageType *Message_MessageType `protobuf:"varint,1,req,name=messageType,enum=gauge.messages.Message_MessageType" json:"messageType,omitempty"` 857 // / A unique id to represent this message. A response to the message should copy over this value. 858 // / This is used to synchronize messages & responses 859 MessageId *int64 `protobuf:"varint,2,req,name=messageId" json:"messageId,omitempty"` 860 // / [ExecutionStartingRequest](#gauge.messages.ExecutionStartingRequest) 861 ExecutionStartingRequest *ExecutionStartingRequest `protobuf:"bytes,3,opt,name=executionStartingRequest" json:"executionStartingRequest,omitempty"` 862 // / [SpecExecutionStartingRequest](#gauge.messages.SpecExecutionStartingRequest) 863 SpecExecutionStartingRequest *SpecExecutionStartingRequest `protobuf:"bytes,4,opt,name=specExecutionStartingRequest" json:"specExecutionStartingRequest,omitempty"` 864 // / [SpecExecutionEndingRequest](#gauge.messages.SpecExecutionEndingRequest) 865 SpecExecutionEndingRequest *SpecExecutionEndingRequest `protobuf:"bytes,5,opt,name=specExecutionEndingRequest" json:"specExecutionEndingRequest,omitempty"` 866 // / [ScenarioExecutionStartingRequest](#gauge.messages.ScenarioExecutionStartingRequest) 867 ScenarioExecutionStartingRequest *ScenarioExecutionStartingRequest `protobuf:"bytes,6,opt,name=scenarioExecutionStartingRequest" json:"scenarioExecutionStartingRequest,omitempty"` 868 // / [ScenarioExecutionEndingRequest](#gauge.messages.ScenarioExecutionEndingRequest) 869 ScenarioExecutionEndingRequest *ScenarioExecutionEndingRequest `protobuf:"bytes,7,opt,name=scenarioExecutionEndingRequest" json:"scenarioExecutionEndingRequest,omitempty"` 870 // / [StepExecutionStartingRequest](#gauge.messages.StepExecutionStartingRequest) 871 StepExecutionStartingRequest *StepExecutionStartingRequest `protobuf:"bytes,8,opt,name=stepExecutionStartingRequest" json:"stepExecutionStartingRequest,omitempty"` 872 // / [StepExecutionEndingRequest](#gauge.messages.StepExecutionEndingRequest) 873 StepExecutionEndingRequest *StepExecutionEndingRequest `protobuf:"bytes,9,opt,name=stepExecutionEndingRequest" json:"stepExecutionEndingRequest,omitempty"` 874 // / [ExecuteStepRequest](#gauge.messages.ExecuteStepRequest) 875 ExecuteStepRequest *ExecuteStepRequest `protobuf:"bytes,10,opt,name=executeStepRequest" json:"executeStepRequest,omitempty"` 876 // / [ExecutionEndingRequest](#gauge.messages.ExecutionEndingRequest) 877 ExecutionEndingRequest *ExecutionEndingRequest `protobuf:"bytes,11,opt,name=executionEndingRequest" json:"executionEndingRequest,omitempty"` 878 // / [StepValidateRequest](#gauge.messages.StepValidateRequest) 879 StepValidateRequest *StepValidateRequest `protobuf:"bytes,12,opt,name=stepValidateRequest" json:"stepValidateRequest,omitempty"` 880 // / [StepValidateResponse](#gauge.messages.StepValidateResponse) 881 StepValidateResponse *StepValidateResponse `protobuf:"bytes,13,opt,name=stepValidateResponse" json:"stepValidateResponse,omitempty"` 882 // / [ExecutionStatusResponse](#gauge.messages.ExecutionStatusResponse) 883 ExecutionStatusResponse *ExecutionStatusResponse `protobuf:"bytes,14,opt,name=executionStatusResponse" json:"executionStatusResponse,omitempty"` 884 // / [StepNamesRequest](#gauge.messages.StepNamesRequest) 885 StepNamesRequest *StepNamesRequest `protobuf:"bytes,15,opt,name=stepNamesRequest" json:"stepNamesRequest,omitempty"` 886 // / [StepNamesResponse](#gauge.messages.StepNamesResponse) 887 StepNamesResponse *StepNamesResponse `protobuf:"bytes,16,opt,name=stepNamesResponse" json:"stepNamesResponse,omitempty"` 888 // / [SuiteExecutionResult ](#gauge.messages.SuiteExecutionResult ) 889 SuiteExecutionResult *SuiteExecutionResult `protobuf:"bytes,17,opt,name=suiteExecutionResult" json:"suiteExecutionResult,omitempty"` 890 // / [KillProcessRequest](#gauge.messages.KillProcessRequest) 891 KillProcessRequest *KillProcessRequest `protobuf:"bytes,18,opt,name=killProcessRequest" json:"killProcessRequest,omitempty"` 892 // / [ScenarioDataStoreInitRequest](#gauge.messages.ScenarioDataStoreInitRequest) 893 ScenarioDataStoreInitRequest *ScenarioDataStoreInitRequest `protobuf:"bytes,19,opt,name=scenarioDataStoreInitRequest" json:"scenarioDataStoreInitRequest,omitempty"` 894 // / [SpecDataStoreInitRequest](#gauge.messages.SpecDataStoreInitRequest) 895 SpecDataStoreInitRequest *SpecDataStoreInitRequest `protobuf:"bytes,20,opt,name=specDataStoreInitRequest" json:"specDataStoreInitRequest,omitempty"` 896 // / [SuiteDataStoreInitRequest](#gauge.messages.SuiteDataStoreInitRequest) 897 SuiteDataStoreInitRequest *SuiteDataStoreInitRequest `protobuf:"bytes,21,opt,name=suiteDataStoreInitRequest" json:"suiteDataStoreInitRequest,omitempty"` 898 // / [StepNameRequest](#gauge.messages.StepNameRequest) 899 StepNameRequest *StepNameRequest `protobuf:"bytes,22,opt,name=stepNameRequest" json:"stepNameRequest,omitempty"` 900 // / [StepNameResponse](#gauge.messages.StepNameResponse) 901 StepNameResponse *StepNameResponse `protobuf:"bytes,23,opt,name=stepNameResponse" json:"stepNameResponse,omitempty"` 902 // / [RefactorRequest](#gauge.messages.RefactorRequest) 903 RefactorRequest *RefactorRequest `protobuf:"bytes,24,opt,name=refactorRequest" json:"refactorRequest,omitempty"` 904 // / [RefactorResponse](#gauge.messages.RefactorResponse) 905 RefactorResponse *RefactorResponse `protobuf:"bytes,25,opt,name=refactorResponse" json:"refactorResponse,omitempty"` 906 // / [UnsupportedMessageResponse](#gauge.messages.UnsupportedMessageResponse) 907 UnsupportedMessageResponse *UnsupportedMessageResponse `protobuf:"bytes,26,opt,name=unsupportedMessageResponse" json:"unsupportedMessageResponse,omitempty"` 908 XXX_unrecognized []byte `json:"-"` 909 } 910 911 func (m *Message) Reset() { *m = Message{} } 912 func (m *Message) String() string { return proto.CompactTextString(m) } 913 func (*Message) ProtoMessage() {} 914 func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{29} } 915 916 func (m *Message) GetMessageType() Message_MessageType { 917 if m != nil && m.MessageType != nil { 918 return *m.MessageType 919 } 920 return Message_ExecutionStarting 921 } 922 923 func (m *Message) GetMessageId() int64 { 924 if m != nil && m.MessageId != nil { 925 return *m.MessageId 926 } 927 return 0 928 } 929 930 func (m *Message) GetExecutionStartingRequest() *ExecutionStartingRequest { 931 if m != nil { 932 return m.ExecutionStartingRequest 933 } 934 return nil 935 } 936 937 func (m *Message) GetSpecExecutionStartingRequest() *SpecExecutionStartingRequest { 938 if m != nil { 939 return m.SpecExecutionStartingRequest 940 } 941 return nil 942 } 943 944 func (m *Message) GetSpecExecutionEndingRequest() *SpecExecutionEndingRequest { 945 if m != nil { 946 return m.SpecExecutionEndingRequest 947 } 948 return nil 949 } 950 951 func (m *Message) GetScenarioExecutionStartingRequest() *ScenarioExecutionStartingRequest { 952 if m != nil { 953 return m.ScenarioExecutionStartingRequest 954 } 955 return nil 956 } 957 958 func (m *Message) GetScenarioExecutionEndingRequest() *ScenarioExecutionEndingRequest { 959 if m != nil { 960 return m.ScenarioExecutionEndingRequest 961 } 962 return nil 963 } 964 965 func (m *Message) GetStepExecutionStartingRequest() *StepExecutionStartingRequest { 966 if m != nil { 967 return m.StepExecutionStartingRequest 968 } 969 return nil 970 } 971 972 func (m *Message) GetStepExecutionEndingRequest() *StepExecutionEndingRequest { 973 if m != nil { 974 return m.StepExecutionEndingRequest 975 } 976 return nil 977 } 978 979 func (m *Message) GetExecuteStepRequest() *ExecuteStepRequest { 980 if m != nil { 981 return m.ExecuteStepRequest 982 } 983 return nil 984 } 985 986 func (m *Message) GetExecutionEndingRequest() *ExecutionEndingRequest { 987 if m != nil { 988 return m.ExecutionEndingRequest 989 } 990 return nil 991 } 992 993 func (m *Message) GetStepValidateRequest() *StepValidateRequest { 994 if m != nil { 995 return m.StepValidateRequest 996 } 997 return nil 998 } 999 1000 func (m *Message) GetStepValidateResponse() *StepValidateResponse { 1001 if m != nil { 1002 return m.StepValidateResponse 1003 } 1004 return nil 1005 } 1006 1007 func (m *Message) GetExecutionStatusResponse() *ExecutionStatusResponse { 1008 if m != nil { 1009 return m.ExecutionStatusResponse 1010 } 1011 return nil 1012 } 1013 1014 func (m *Message) GetStepNamesRequest() *StepNamesRequest { 1015 if m != nil { 1016 return m.StepNamesRequest 1017 } 1018 return nil 1019 } 1020 1021 func (m *Message) GetStepNamesResponse() *StepNamesResponse { 1022 if m != nil { 1023 return m.StepNamesResponse 1024 } 1025 return nil 1026 } 1027 1028 func (m *Message) GetSuiteExecutionResult() *SuiteExecutionResult { 1029 if m != nil { 1030 return m.SuiteExecutionResult 1031 } 1032 return nil 1033 } 1034 1035 func (m *Message) GetKillProcessRequest() *KillProcessRequest { 1036 if m != nil { 1037 return m.KillProcessRequest 1038 } 1039 return nil 1040 } 1041 1042 func (m *Message) GetScenarioDataStoreInitRequest() *ScenarioDataStoreInitRequest { 1043 if m != nil { 1044 return m.ScenarioDataStoreInitRequest 1045 } 1046 return nil 1047 } 1048 1049 func (m *Message) GetSpecDataStoreInitRequest() *SpecDataStoreInitRequest { 1050 if m != nil { 1051 return m.SpecDataStoreInitRequest 1052 } 1053 return nil 1054 } 1055 1056 func (m *Message) GetSuiteDataStoreInitRequest() *SuiteDataStoreInitRequest { 1057 if m != nil { 1058 return m.SuiteDataStoreInitRequest 1059 } 1060 return nil 1061 } 1062 1063 func (m *Message) GetStepNameRequest() *StepNameRequest { 1064 if m != nil { 1065 return m.StepNameRequest 1066 } 1067 return nil 1068 } 1069 1070 func (m *Message) GetStepNameResponse() *StepNameResponse { 1071 if m != nil { 1072 return m.StepNameResponse 1073 } 1074 return nil 1075 } 1076 1077 func (m *Message) GetRefactorRequest() *RefactorRequest { 1078 if m != nil { 1079 return m.RefactorRequest 1080 } 1081 return nil 1082 } 1083 1084 func (m *Message) GetRefactorResponse() *RefactorResponse { 1085 if m != nil { 1086 return m.RefactorResponse 1087 } 1088 return nil 1089 } 1090 1091 func (m *Message) GetUnsupportedMessageResponse() *UnsupportedMessageResponse { 1092 if m != nil { 1093 return m.UnsupportedMessageResponse 1094 } 1095 return nil 1096 } 1097 1098 func init() { 1099 proto.RegisterType((*KillProcessRequest)(nil), "gauge.messages.KillProcessRequest") 1100 proto.RegisterType((*ExecutionStatusResponse)(nil), "gauge.messages.ExecutionStatusResponse") 1101 proto.RegisterType((*ExecutionStartingRequest)(nil), "gauge.messages.ExecutionStartingRequest") 1102 proto.RegisterType((*ExecutionEndingRequest)(nil), "gauge.messages.ExecutionEndingRequest") 1103 proto.RegisterType((*SpecExecutionStartingRequest)(nil), "gauge.messages.SpecExecutionStartingRequest") 1104 proto.RegisterType((*SpecExecutionEndingRequest)(nil), "gauge.messages.SpecExecutionEndingRequest") 1105 proto.RegisterType((*ScenarioExecutionStartingRequest)(nil), "gauge.messages.ScenarioExecutionStartingRequest") 1106 proto.RegisterType((*ScenarioExecutionEndingRequest)(nil), "gauge.messages.ScenarioExecutionEndingRequest") 1107 proto.RegisterType((*StepExecutionStartingRequest)(nil), "gauge.messages.StepExecutionStartingRequest") 1108 proto.RegisterType((*StepExecutionEndingRequest)(nil), "gauge.messages.StepExecutionEndingRequest") 1109 proto.RegisterType((*ExecutionInfo)(nil), "gauge.messages.ExecutionInfo") 1110 proto.RegisterType((*SpecInfo)(nil), "gauge.messages.SpecInfo") 1111 proto.RegisterType((*ScenarioInfo)(nil), "gauge.messages.ScenarioInfo") 1112 proto.RegisterType((*StepInfo)(nil), "gauge.messages.StepInfo") 1113 proto.RegisterType((*ExecuteStepRequest)(nil), "gauge.messages.ExecuteStepRequest") 1114 proto.RegisterType((*StepValidateRequest)(nil), "gauge.messages.StepValidateRequest") 1115 proto.RegisterType((*StepValidateResponse)(nil), "gauge.messages.StepValidateResponse") 1116 proto.RegisterType((*SuiteExecutionResult)(nil), "gauge.messages.SuiteExecutionResult") 1117 proto.RegisterType((*StepNamesRequest)(nil), "gauge.messages.StepNamesRequest") 1118 proto.RegisterType((*StepNamesResponse)(nil), "gauge.messages.StepNamesResponse") 1119 proto.RegisterType((*ScenarioDataStoreInitRequest)(nil), "gauge.messages.ScenarioDataStoreInitRequest") 1120 proto.RegisterType((*SpecDataStoreInitRequest)(nil), "gauge.messages.SpecDataStoreInitRequest") 1121 proto.RegisterType((*SuiteDataStoreInitRequest)(nil), "gauge.messages.SuiteDataStoreInitRequest") 1122 proto.RegisterType((*ParameterPosition)(nil), "gauge.messages.ParameterPosition") 1123 proto.RegisterType((*RefactorRequest)(nil), "gauge.messages.RefactorRequest") 1124 proto.RegisterType((*RefactorResponse)(nil), "gauge.messages.RefactorResponse") 1125 proto.RegisterType((*StepNameRequest)(nil), "gauge.messages.StepNameRequest") 1126 proto.RegisterType((*StepNameResponse)(nil), "gauge.messages.StepNameResponse") 1127 proto.RegisterType((*UnsupportedMessageResponse)(nil), "gauge.messages.UnsupportedMessageResponse") 1128 proto.RegisterType((*Message)(nil), "gauge.messages.Message") 1129 proto.RegisterEnum("gauge.messages.StepValidateResponse_ErrorType", StepValidateResponse_ErrorType_name, StepValidateResponse_ErrorType_value) 1130 proto.RegisterEnum("gauge.messages.Message_MessageType", Message_MessageType_name, Message_MessageType_value) 1131 } 1132 1133 var fileDescriptor2 = []byte{ 1134 // 1359 bytes of a gzipped FileDescriptorProto 1135 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0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, 0x8f, 0x51, 0xed, 0x76, 0x74, 0xed, 0x92, 1169 0xc5, 0xef, 0xf4, 0x62, 0x2f, 0xbb, 0x03, 0x95, 0xe4, 0x07, 0xbe, 0x09, 0x37, 0x86, 0xa3, 0xde, 1170 0xe0, 0xf4, 0xe8, 0x78, 0xf0, 0xa2, 0x77, 0xdc, 0xeb, 0x8f, 0x1e, 0x8d, 0x8e, 0x4e, 0xfa, 0xa7, 1171 0xfd, 0x93, 0xd1, 0xe9, 0xd3, 0x93, 0x57, 0xfd, 0x27, 0xe8, 0x8a, 0x7d, 0xcc, 0x33, 0x8e, 0xdc, 1172 0x90, 0x66, 0x34, 0x81, 0xb7, 0xbc, 0xc5, 0xc4, 0x7a, 0x4a, 0x4e, 0x0e, 0xb5, 0x72, 0x32, 0x5c, 1173 0xda, 0xd9, 0x18, 0x90, 0x48, 0x50, 0x74, 0x65, 0x22, 0x5c, 0x36, 0xd4, 0x57, 0xd6, 0x54, 0x45, 1174 0x76, 0x60, 0x53, 0x14, 0x96, 0x71, 0x64, 0xd1, 0x5d, 0x07, 0x9c, 0x5a, 0xd4, 0x35, 0x3e, 0x71, 1175 0x42, 0x67, 0x18, 0xfa, 0x01, 0x3d, 0xf2, 0xdc, 0x30, 0xc6, 0x68, 0x03, 0x11, 0xef, 0x40, 0xbb, 1176 0x77, 0x0d, 0xf6, 0x65, 0x0a, 0xda, 0xcd, 0x87, 0x50, 0x4f, 0xae, 0x69, 0xe0, 0x33, 0x57, 0x1c, 1177 0x11, 0x37, 0xc0, 0xf2, 0x67, 0x93, 0xf8, 0xa7, 0x3c, 0xdc, 0xa6, 0x58, 0xf4, 0xe8, 0xef, 0xc9, 1178 0xe2, 0xe2, 0x46, 0x39, 0x75, 0xd4, 0x5e, 0xd2, 0x33, 0xde, 0x92, 0x7e, 0x10, 0xf7, 0xc4, 0x67, 1179 0xb0, 0xcd, 0xbd, 0xd5, 0x3d, 0x44, 0x54, 0xd5, 0xe6, 0x40, 0x5f, 0x9b, 0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, 0xe1, 1191 0x3a, 0x2b, 0x18, 0x5c, 0x24, 0xe7, 0x5b, 0xdd, 0x4f, 0x75, 0x3a, 0x64, 0xc4, 0xec, 0x43, 0x9b, 1192 0x19, 0xe7, 0x15, 0xb2, 0x29, 0x11, 0x3f, 0x29, 0x44, 0x4c, 0x2b, 0xed, 0x4f, 0x70, 0xc8, 0xde, 1193 0x33, 0xa4, 0x90, 0xab, 0x12, 0xf5, 0x9e, 0x49, 0xfc, 0x8c, 0xb9, 0xbe, 0x86, 0x03, 0x56, 0x38, 1194 0x9f, 0x90, 0x2d, 0x89, 0xdc, 0x79, 0x2f, 0x72, 0x3a, 0x67, 0x51, 0xd7, 0x82, 0xc1, 0x84, 0x94, 1195 0x0d, 0x75, 0x2d, 0x1a, 0x66, 0x44, 0x5d, 0x8d, 0xf3, 0x08, 0xa9, 0x18, 0xea, 0x6a, 0x9e, 0x60, 1196 0xbe, 0x06, 0x4c, 0x73, 0x72, 0x47, 0x40, 0xe2, 0x7c, 0x88, 0x82, 0x3e, 0x85, 0x3d, 0xaa, 0xcf, 1197 0xc5, 0x92, 0x18, 0xff, 0x37, 0x76, 0x61, 0x3a, 0x8f, 0x6f, 0xa0, 0xc1, 0xf2, 0x42, 0x47, 0xb6, 1198 0x25, 0xc8, 0xad, 0x62, 0xb5, 0x59, 0x20, 0x7c, 0x0b, 0x4d, 0xa6, 0x11, 0x21, 0xb2, 0x23, 0x21, 1199 0x6e, 0x7f, 0x88, 0x60, 0xe1, 0x67, 0xd0, 0xa2, 0xfa, 0x8f, 0x19, 0x52, 0x95, 0x30, 0x1f, 0x15, 1200 0x3d, 0xaa, 0xd5, 0x6f, 0x9f, 0x2f, 0x01, 0xb1, 0x8c, 0xe2, 0x90, 0x9a, 0x84, 0x38, 0xd4, 0x65, 1201 0xb2, 0x6a, 0x87, 0x1f, 0x40, 0x9d, 0x65, 0x95, 0x89, 0x20, 0xe9, 0x7c, 0xb3, 0xc0, 0x59, 0x45, 1202 0x16, 0x75, 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c, 0x74, 0xab, 0x65, 0xad, 0xca, 0xb1, 0x7b, 0x86, 0xbd, 0x50, 0x05, 1214 0x13, 0xfd, 0x90, 0x8e, 0x40, 0x64, 0x6a, 0xa0, 0x19, 0x64, 0xf1, 0xd9, 0x28, 0x37, 0xda, 0xa2, 1215 0x6d, 0x51, 0xc6, 0x1c, 0x33, 0xa0, 0x1d, 0xfe, 0xb9, 0xa2, 0xf9, 0x17, 0x0e, 0xaa, 0xca, 0xd8, 1216 0x1a, 0x1e, 0x40, 0x35, 0x59, 0x08, 0xdd, 0xab, 0x44, 0x48, 0xc6, 0xc8, 0x3e, 0x30, 0x54, 0x17, 1217 0x31, 0xf2, 0x4f, 0x05, 0x61, 0x51, 0x8d, 0x4c, 0xfb, 0xa3, 0xc6, 0x6a, 0xf6, 0x49, 0x9a, 0x4d, 1218 0x61, 0x9a, 0xe9, 0x59, 0xb4, 0x2b, 0x4c, 0xb3, 0xdd, 0x88, 0xf6, 0xf0, 0x41, 0xd1, 0x3c, 0x86, 1219 0x5a, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x2a, 0xa4, 0x15, 0xe1, 0x12, 0x00, 0x00, 1220 }