public main.Messages.ScenarioExecutionEndingRequestOrBuilder getScenarioExecutionEndingRequestOrBuilder() {
        if (scenarioExecutionEndingRequestBuilder_ != null) {
          return scenarioExecutionEndingRequestBuilder_.getMessageOrBuilder();
        } else {
          return scenarioExecutionEndingRequest_;
        }
      }