| #ifndef THIRD_PARTY_MILOTIC_EXTERNAL_CC_TLBMC_RESOURCE_RESET_TYPE_H_ |
| #define THIRD_PARTY_MILOTIC_EXTERNAL_CC_TLBMC_RESOURCE_RESET_TYPE_H_ |
| |
| #include "absl/status/statusor.h" |
| #include "absl/strings/string_view.h" |
| #include "resource.pb.h" |
| |
| namespace milotic_tlbmc { |
| |
| // Returns the ResetType corresponding to the string, or RESET_TYPE_UNSPECIFIED. |
| ResetType GetResetType(absl::string_view reset_type); |
| absl::StatusOr<absl::string_view> GetResetTypeString(ResetType reset_type); |
| |
| } // namespace milotic_tlbmc |
| |
| #endif // THIRD_PARTY_MILOTIC_EXTERNAL_CC_TLBMC_RESOURCE_RESET_TYPE_H_ |