#ifndef GOOGLE_PROTOBUF_INCLUDED_google_5fstreaming_5fapi_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_google_5fstreaming_5fapi_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_enum_util.h>
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_google_5fstreaming_5fapi_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_google_5fstreaming_5fapi_2eproto { … };
namespace content {
namespace proto {
class SpeechRecognitionAlternative;
struct SpeechRecognitionAlternativeDefaultTypeInternal;
extern SpeechRecognitionAlternativeDefaultTypeInternal _SpeechRecognitionAlternative_default_instance_;
class SpeechRecognitionEvent;
struct SpeechRecognitionEventDefaultTypeInternal;
extern SpeechRecognitionEventDefaultTypeInternal _SpeechRecognitionEvent_default_instance_;
class SpeechRecognitionResult;
struct SpeechRecognitionResultDefaultTypeInternal;
extern SpeechRecognitionResultDefaultTypeInternal _SpeechRecognitionResult_default_instance_;
}
}
PROTOBUF_NAMESPACE_OPEN
template<> ::content::proto::SpeechRecognitionAlternative* Arena::CreateMaybeMessage<::content::proto::SpeechRecognitionAlternative>(Arena*);
template<> ::content::proto::SpeechRecognitionEvent* Arena::CreateMaybeMessage<::content::proto::SpeechRecognitionEvent>(Arena*);
template<> ::content::proto::SpeechRecognitionResult* Arena::CreateMaybeMessage<::content::proto::SpeechRecognitionResult>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace content {
namespace proto {
enum SpeechRecognitionEvent_StatusCode : int { … };
bool SpeechRecognitionEvent_StatusCode_IsValid(int value);
constexpr SpeechRecognitionEvent_StatusCode SpeechRecognitionEvent_StatusCode_StatusCode_MIN = …;
constexpr SpeechRecognitionEvent_StatusCode SpeechRecognitionEvent_StatusCode_StatusCode_MAX = …;
constexpr int SpeechRecognitionEvent_StatusCode_StatusCode_ARRAYSIZE = …;
const std::string& SpeechRecognitionEvent_StatusCode_Name(SpeechRecognitionEvent_StatusCode value);
template<typename T>
inline const std::string& SpeechRecognitionEvent_StatusCode_Name(T enum_t_value) { … }
bool SpeechRecognitionEvent_StatusCode_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SpeechRecognitionEvent_StatusCode* value);
enum SpeechRecognitionEvent_EndpointerEventType : int { … };
bool SpeechRecognitionEvent_EndpointerEventType_IsValid(int value);
constexpr SpeechRecognitionEvent_EndpointerEventType SpeechRecognitionEvent_EndpointerEventType_EndpointerEventType_MIN = …;
constexpr SpeechRecognitionEvent_EndpointerEventType SpeechRecognitionEvent_EndpointerEventType_EndpointerEventType_MAX = …;
constexpr int SpeechRecognitionEvent_EndpointerEventType_EndpointerEventType_ARRAYSIZE = …;
const std::string& SpeechRecognitionEvent_EndpointerEventType_Name(SpeechRecognitionEvent_EndpointerEventType value);
template<typename T>
inline const std::string& SpeechRecognitionEvent_EndpointerEventType_Name(T enum_t_value) { … }
bool SpeechRecognitionEvent_EndpointerEventType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SpeechRecognitionEvent_EndpointerEventType* value);
class SpeechRecognitionEvent final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class SpeechRecognitionResult final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class SpeechRecognitionAlternative final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool SpeechRecognitionEvent::_internal_has_status() const { … }
inline bool SpeechRecognitionEvent::has_status() const { … }
inline void SpeechRecognitionEvent::clear_status() { … }
inline ::content::proto::SpeechRecognitionEvent_StatusCode SpeechRecognitionEvent::_internal_status() const { … }
inline ::content::proto::SpeechRecognitionEvent_StatusCode SpeechRecognitionEvent::status() const { … }
inline void SpeechRecognitionEvent::_internal_set_status(::content::proto::SpeechRecognitionEvent_StatusCode value) { … }
inline void SpeechRecognitionEvent::set_status(::content::proto::SpeechRecognitionEvent_StatusCode value) { … }
inline int SpeechRecognitionEvent::_internal_result_size() const { … }
inline int SpeechRecognitionEvent::result_size() const { … }
inline void SpeechRecognitionEvent::clear_result() { … }
inline ::content::proto::SpeechRecognitionResult* SpeechRecognitionEvent::mutable_result(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::content::proto::SpeechRecognitionResult >*
SpeechRecognitionEvent::mutable_result() { … }
inline const ::content::proto::SpeechRecognitionResult& SpeechRecognitionEvent::_internal_result(int index) const { … }
inline const ::content::proto::SpeechRecognitionResult& SpeechRecognitionEvent::result(int index) const { … }
inline ::content::proto::SpeechRecognitionResult* SpeechRecognitionEvent::_internal_add_result() { … }
inline ::content::proto::SpeechRecognitionResult* SpeechRecognitionEvent::add_result() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::content::proto::SpeechRecognitionResult >&
SpeechRecognitionEvent::result() const { … }
inline bool SpeechRecognitionEvent::_internal_has_endpoint() const { … }
inline bool SpeechRecognitionEvent::has_endpoint() const { … }
inline void SpeechRecognitionEvent::clear_endpoint() { … }
inline ::content::proto::SpeechRecognitionEvent_EndpointerEventType SpeechRecognitionEvent::_internal_endpoint() const { … }
inline ::content::proto::SpeechRecognitionEvent_EndpointerEventType SpeechRecognitionEvent::endpoint() const { … }
inline void SpeechRecognitionEvent::_internal_set_endpoint(::content::proto::SpeechRecognitionEvent_EndpointerEventType value) { … }
inline void SpeechRecognitionEvent::set_endpoint(::content::proto::SpeechRecognitionEvent_EndpointerEventType value) { … }
inline int SpeechRecognitionResult::_internal_alternative_size() const { … }
inline int SpeechRecognitionResult::alternative_size() const { … }
inline void SpeechRecognitionResult::clear_alternative() { … }
inline ::content::proto::SpeechRecognitionAlternative* SpeechRecognitionResult::mutable_alternative(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::content::proto::SpeechRecognitionAlternative >*
SpeechRecognitionResult::mutable_alternative() { … }
inline const ::content::proto::SpeechRecognitionAlternative& SpeechRecognitionResult::_internal_alternative(int index) const { … }
inline const ::content::proto::SpeechRecognitionAlternative& SpeechRecognitionResult::alternative(int index) const { … }
inline ::content::proto::SpeechRecognitionAlternative* SpeechRecognitionResult::_internal_add_alternative() { … }
inline ::content::proto::SpeechRecognitionAlternative* SpeechRecognitionResult::add_alternative() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::content::proto::SpeechRecognitionAlternative >&
SpeechRecognitionResult::alternative() const { … }
inline bool SpeechRecognitionResult::_internal_has_final() const { … }
inline bool SpeechRecognitionResult::has_final() const { … }
inline void SpeechRecognitionResult::clear_final() { … }
inline bool SpeechRecognitionResult::_internal_final() const { … }
inline bool SpeechRecognitionResult::final() const { … }
inline void SpeechRecognitionResult::_internal_set_final(bool value) { … }
inline void SpeechRecognitionResult::set_final(bool value) { … }
inline bool SpeechRecognitionResult::_internal_has_stability() const { … }
inline bool SpeechRecognitionResult::has_stability() const { … }
inline void SpeechRecognitionResult::clear_stability() { … }
inline float SpeechRecognitionResult::_internal_stability() const { … }
inline float SpeechRecognitionResult::stability() const { … }
inline void SpeechRecognitionResult::_internal_set_stability(float value) { … }
inline void SpeechRecognitionResult::set_stability(float value) { … }
inline bool SpeechRecognitionAlternative::_internal_has_transcript() const { … }
inline bool SpeechRecognitionAlternative::has_transcript() const { … }
inline void SpeechRecognitionAlternative::clear_transcript() { … }
inline const std::string& SpeechRecognitionAlternative::transcript() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SpeechRecognitionAlternative::set_transcript(ArgT0&& arg0, ArgT... args) { … }
inline std::string* SpeechRecognitionAlternative::mutable_transcript() { … }
inline const std::string& SpeechRecognitionAlternative::_internal_transcript() const { … }
inline void SpeechRecognitionAlternative::_internal_set_transcript(const std::string& value) { … }
inline std::string* SpeechRecognitionAlternative::_internal_mutable_transcript() { … }
inline std::string* SpeechRecognitionAlternative::release_transcript() { … }
inline void SpeechRecognitionAlternative::set_allocated_transcript(std::string* transcript) { … }
inline bool SpeechRecognitionAlternative::_internal_has_confidence() const { … }
inline bool SpeechRecognitionAlternative::has_confidence() const { … }
inline void SpeechRecognitionAlternative::clear_confidence() { … }
inline float SpeechRecognitionAlternative::_internal_confidence() const { … }
inline float SpeechRecognitionAlternative::confidence() const { … }
inline void SpeechRecognitionAlternative::_internal_set_confidence(float value) { … }
inline void SpeechRecognitionAlternative::set_confidence(float value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::content::proto::SpeechRecognitionEvent_StatusCode> : ::std::true_type { … };
template <> struct is_proto_enum< ::content::proto::SpeechRecognitionEvent_EndpointerEventType> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif