response_generic.proto 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* response_generic.proto/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
  2. /* This copyright was auto-generated on Mon Nov 4 18:00:55 UTC 2024 */
  3. /***********************************************************************************************************************
  4. *
  5. * This file is automatically generated!!! Do not modify manually.
  6. *
  7. **********************************************************************************************************************/
  8. /**
  9. * Defines the structure of protobuf message containing generic response to a command
  10. */
  11. syntax = "proto2";
  12. package open_gopro;
  13. enum EnumResultGeneric {
  14. RESULT_UNKNOWN = 0;
  15. RESULT_SUCCESS = 1;
  16. RESULT_ILL_FORMED = 2;
  17. RESULT_NOT_SUPPORTED = 3;
  18. RESULT_ARGUMENT_OUT_OF_BOUNDS = 4;
  19. RESULT_ARGUMENT_INVALID = 5;
  20. RESULT_RESOURCE_NOT_AVAILABLE = 6;
  21. }
  22. /*
  23. * Generic Response used across many response / notification messages
  24. */
  25. message ResponseGeneric {
  26. required EnumResultGeneric result = 1; // Generic pass/fail/error info
  27. }
  28. /**
  29. * A common model to represent a media file
  30. */
  31. message Media {
  32. optional string folder = 1; // Directory in which the media is contained
  33. optional string file = 2; // Filename of media
  34. }