4#ifndef PROTOBUF_voice_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_voice_5ftypes_2eproto__INCLUDED
9#include <google/protobuf/stubs/common.h>
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
52 return ::google::protobuf::internal::NameOfEnum(
57 return ::google::protobuf::internal::ParseNamedEnum<VoiceJoinType>(
73 return ::google::protobuf::internal::NameOfEnum(
78 return ::google::protobuf::internal::ParseNamedEnum<VoiceMuteReason>(
92 return ::google::protobuf::internal::NameOfEnum(
97 return ::google::protobuf::internal::ParseNamedEnum<VoiceProviderVersion>(
115 return _unknown_fields_;
119 return &_unknown_fields_;
143 inline bool has_voice_id()
const;
144 inline void clear_voice_id();
145 static const int kVoiceIdFieldNumber = 1;
146 inline const ::std::string& voice_id()
const;
147 inline void set_voice_id(const ::std::string& value);
148 inline void set_voice_id(
const char* value);
149 inline void set_voice_id(
const char* value,
size_t size);
150 inline ::std::string* mutable_voice_id();
151 inline ::std::string* release_voice_id();
152 inline void set_allocated_voice_id(::std::string* voice_id);
155 inline bool has_token()
const;
156 inline void clear_token();
157 static const int kTokenFieldNumber = 2;
158 inline const ::std::string& token()
const;
159 inline void set_token(const ::std::string& value);
160 inline void set_token(
const char* value);
161 inline void set_token(
const char* value,
size_t size);
162 inline ::std::string* mutable_token();
163 inline ::std::string* release_token();
164 inline void set_allocated_token(::std::string* token);
167 inline bool has_url()
const;
168 inline void clear_url();
169 static const int kUrlFieldNumber = 3;
170 inline const ::std::string& url()
const;
171 inline void set_url(const ::std::string& value);
172 inline void set_url(
const char* value);
173 inline void set_url(
const char* value,
size_t size);
174 inline ::std::string* mutable_url();
175 inline ::std::string* release_url();
176 inline void set_allocated_url(::std::string* url);
179 inline bool has_join_type()
const;
180 inline void clear_join_type();
181 static const int kJoinTypeFieldNumber = 4;
186 inline bool has_mute_reason()
const;
187 inline void clear_mute_reason();
188 static const int kMuteReasonFieldNumber = 5;
194 inline void set_has_voice_id();
195 inline void clear_has_voice_id();
196 inline void set_has_token();
197 inline void clear_has_token();
198 inline void set_has_url();
199 inline void clear_has_url();
200 inline void set_has_join_type();
201 inline void clear_has_join_type();
202 inline void set_has_mute_reason();
203 inline void clear_has_mute_reason();
240 if (
voice_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
251 if (
voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
259 if (
voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
267 if (
voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
270 voice_id_->assign(
reinterpret_cast<const char*
>(value),
size);
275 if (
voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
283 if (
voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
287 voice_id_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
292 if (
voice_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
300 voice_id_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
316 if (
token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
327 if (
token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
328 token_ = new ::std::string;
335 if (
token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
336 token_ = new ::std::string;
343 if (
token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
344 token_ = new ::std::string;
346 token_->assign(
reinterpret_cast<const char*
>(value),
size);
351 if (
token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
352 token_ = new ::std::string;
359 if (
token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
362 ::std::string* temp =
token_;
363 token_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
368 if (
token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
376 token_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
392 if (
url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
403 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
404 url_ = new ::std::string;
411 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
412 url_ = new ::std::string;
419 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
420 url_ = new ::std::string;
422 url_->assign(
reinterpret_cast<const char*
>(value),
size);
427 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
428 url_ = new ::std::string;
435 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
438 ::std::string* temp =
url_;
439 url_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
444 if (
url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
452 url_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
517inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::VoiceJoinType>() {
522inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::VoiceMuteReason>() {
527inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::VoiceProviderVersion>() {
static const VoiceCredentials & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
const ::std::string & url() const
VoiceCredentials * New() const
friend void protobuf_AssignDesc_voice_5ftypes_2eproto()
friend void protobuf_ShutdownFile_voice_5ftypes_2eproto()
void set_voice_id(const ::std::string &value)
bool has_mute_reason() const
inline ::bgs::protocol::VoiceJoinType join_type() const
void set_allocated_url(::std::string *url)
bool has_voice_id() const
inline ::std::string * mutable_token()
void clear_has_mute_reason()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::std::string * release_url()
void set_allocated_voice_id(::std::string *voice_id)
::google::protobuf::uint32 _has_bits_[1]
friend void TC_PROTO_API protobuf_AddDesc_voice_5ftypes_2eproto()
const ::std::string & token() const
static VoiceCredentials * default_instance_
void clear_has_voice_id()
VoiceCredentials(const VoiceCredentials &from)
::google::protobuf::Metadata GetMetadata() const
inline ::std::string * release_token()
::std::string * voice_id_
virtual ~VoiceCredentials()
inline ::bgs::protocol::VoiceMuteReason mute_reason() const
void set_token(const ::std::string &value)
void SetCachedSize(int size) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
int GetCachedSize() const
const ::std::string & voice_id() const
void set_join_type(::bgs::protocol::VoiceJoinType value)
bool has_join_type() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_token(::std::string *token)
inline ::std::string * mutable_url()
void set_mute_reason(::bgs::protocol::VoiceMuteReason value)
void set_url(const ::std::string &value)
void set_has_mute_reason()
void Swap(VoiceCredentials *other)
void InitAsDefaultInstance()
void clear_has_join_type()
inline ::std::string * release_voice_id()
inline ::std::string * mutable_voice_id()
VoiceCredentials & operator=(const VoiceCredentials &from)
constexpr std::size_t size()
const VoiceMuteReason VoiceMuteReason_MAX
const ::std::string & VoiceMuteReason_Name(VoiceMuteReason value)
const ::std::string & VoiceJoinType_Name(VoiceJoinType value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * VoiceJoinType_descriptor()
const int VoiceProviderVersion_ARRAYSIZE
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * VoiceProviderVersion_descriptor()
TC_PROTO_API bool VoiceMuteReason_IsValid(int value)
bool VoiceMuteReason_Parse(const ::std::string &name, VoiceMuteReason *value)
void protobuf_ShutdownFile_voice_5ftypes_2eproto()
bool VoiceProviderVersion_Parse(const ::std::string &name, VoiceProviderVersion *value)
void protobuf_AssignDesc_voice_5ftypes_2eproto()
bool VoiceJoinType_Parse(const ::std::string &name, VoiceJoinType *value)
const VoiceMuteReason VoiceMuteReason_MIN
@ VOICE_MUTE_REASON_REQUESTED
@ VOICE_MUTE_REASON_PARENTAL_CONTROL_LISTEN_ONLY
@ VOICE_MUTE_REASON_SQUELCHED
void TC_PROTO_API protobuf_AddDesc_voice_5ftypes_2eproto()
TC_PROTO_API bool VoiceProviderVersion_IsValid(int value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * VoiceMuteReason_descriptor()
const ::std::string & VoiceProviderVersion_Name(VoiceProviderVersion value)
const int VoiceJoinType_ARRAYSIZE
TC_PROTO_API bool VoiceJoinType_IsValid(int value)
const VoiceProviderVersion VoiceProviderVersion_MAX
const VoiceProviderVersion VoiceProviderVersion_MIN
const int VoiceMuteReason_ARRAYSIZE
const VoiceJoinType VoiceJoinType_MAX
const VoiceJoinType VoiceJoinType_MIN