4#ifndef PROTOBUF_global_5fextensions_2fservice_5foptions_2eproto__INCLUDED
5#define PROTOBUF_global_5fextensions_2fservice_5foptions_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>
28#include "google/protobuf/descriptor.pb.h"
56 return ::google::protobuf::internal::NameOfEnum(
61 return ::google::protobuf::internal::ParseNamedEnum<BGSServiceOptions_ServiceType>(
79 return _unknown_fields_;
83 return &_unknown_fields_;
86 static const ::google::protobuf::Descriptor*
descriptor();
116 static const int ServiceType_ARRAYSIZE =
118 static inline const ::google::protobuf::EnumDescriptor*
133 inline bool has_descriptor_name()
const;
134 inline void clear_descriptor_name();
135 static const int kDescriptorNameFieldNumber = 1;
136 inline const ::std::string& descriptor_name()
const;
137 inline void set_descriptor_name(const ::std::string& value);
138 inline void set_descriptor_name(
const char* value);
139 inline void set_descriptor_name(
const char* value,
size_t size);
140 inline ::std::string* mutable_descriptor_name();
141 inline ::std::string* release_descriptor_name();
142 inline void set_allocated_descriptor_name(::std::string* descriptor_name);
145 inline bool has_version()
const;
146 inline void clear_version();
147 static const int kVersionFieldNumber = 4;
148 inline ::google::protobuf::uint32 version()
const;
149 inline void set_version(::google::protobuf::uint32 value);
152 inline bool has_shard_name()
const;
153 inline void clear_shard_name();
154 static const int kShardNameFieldNumber = 5;
155 inline const ::std::string& shard_name()
const;
156 inline void set_shard_name(const ::std::string& value);
157 inline void set_shard_name(
const char* value);
158 inline void set_shard_name(
const char* value,
size_t size);
159 inline ::std::string* mutable_shard_name();
160 inline ::std::string* release_shard_name();
161 inline void set_allocated_shard_name(::std::string* shard_name);
164 inline bool has_resolve_client_instance()
const;
165 inline void clear_resolve_client_instance();
166 static const int kResolveClientInstanceFieldNumber = 6;
167 inline bool resolve_client_instance()
const;
168 inline void set_resolve_client_instance(
bool value);
171 inline bool has_type()
const;
172 inline void clear_type();
173 static const int kTypeFieldNumber = 7;
174 inline ::bgs::protocol::BGSServiceOptions_ServiceType type()
const;
178 inline bool has_api_type()
const;
179 inline void clear_api_type();
180 static const int kApiTypeFieldNumber = 8;
181 inline const ::std::string& api_type()
const;
182 inline void set_api_type(const ::std::string& value);
183 inline void set_api_type(
const char* value);
184 inline void set_api_type(
const char* value,
size_t size);
185 inline ::std::string* mutable_api_type();
186 inline ::std::string* release_api_type();
187 inline void set_allocated_api_type(::std::string* api_type);
190 inline bool has_is_global()
const;
191 inline void clear_is_global();
192 static const int kIsGlobalFieldNumber = 9;
193 inline bool is_global()
const;
194 inline void set_is_global(
bool value);
198 inline void set_has_descriptor_name();
199 inline void clear_has_descriptor_name();
200 inline void set_has_version();
201 inline void clear_has_version();
202 inline void set_has_shard_name();
203 inline void clear_has_shard_name();
204 inline void set_has_resolve_client_instance();
205 inline void clear_has_resolve_client_instance();
206 inline void set_has_type();
207 inline void clear_has_type();
208 inline void set_has_api_type();
209 inline void clear_has_api_type();
210 inline void set_has_is_global();
211 inline void clear_has_is_global();
215 ::google::protobuf::uint32 _has_bits_[1];
246 return _unknown_fields_;
250 return &_unknown_fields_;
274 inline bool has_inbound()
const;
275 inline void clear_inbound();
276 static const int kInboundFieldNumber = 1;
277 inline bool inbound()
const;
278 inline void set_inbound(
bool value);
281 inline bool has_outbound()
const;
282 inline void clear_outbound();
283 static const int kOutboundFieldNumber = 2;
284 inline bool outbound()
const;
285 inline void set_outbound(
bool value);
288 inline bool has_use_client_id()
const;
289 inline void clear_use_client_id();
290 static const int kUseClientIdFieldNumber = 3;
291 inline bool use_client_id()
const;
292 inline void set_use_client_id(
bool value);
295 inline bool has_deprecated_32_bit()
const;
296 inline void clear_deprecated_32_bit();
297 static const int kDeprecated32BitFieldNumber = 4;
298 inline bool deprecated_32_bit()
const;
299 inline void set_deprecated_32_bit(
bool value);
302 inline bool has_obsolete()
const;
303 inline void clear_obsolete();
304 static const int kObsoleteFieldNumber = 5;
305 inline bool obsolete()
const;
306 inline void set_obsolete(
bool value);
310 inline void set_has_inbound();
311 inline void clear_has_inbound();
312 inline void set_has_outbound();
313 inline void clear_has_outbound();
314 inline void set_has_use_client_id();
315 inline void clear_has_use_client_id();
316 inline void set_has_deprecated_32_bit();
317 inline void clear_has_deprecated_32_bit();
318 inline void set_has_obsolete();
319 inline void clear_has_obsolete();
323 ::google::protobuf::uint32 _has_bits_[1];
342TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions,
343 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSServiceOptions >, 11,
false >
346TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions,
347 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKServiceOptions >, 11,
false >
365 if (
descriptor_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
376 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
384 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
392 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
400 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
408 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
412 descriptor_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
417 if (
descriptor_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
425 descriptor_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
465 if (
shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
476 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
484 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
492 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
495 shard_name_->assign(
reinterpret_cast<const char*
>(value), size);
500 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
508 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
512 shard_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
517 if (
shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
525 shard_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
590 if (
api_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
601 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
609 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
617 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
620 api_type_->assign(
reinterpret_cast<const char*
>(value), size);
625 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
633 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
637 api_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
642 if (
api_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
650 api_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
814 return ::bgs::protocol::BGSServiceOptions_ServiceType_descriptor();
void SetCachedSize(int size) const
void set_api_type(const ::std::string &value)
BGSServiceOptions_ServiceType ServiceType
void set_type(::bgs::protocol::BGSServiceOptions_ServiceType value)
::google::protobuf::UnknownFieldSet _unknown_fields_
virtual ~BGSServiceOptions()
BGSServiceOptions(const BGSServiceOptions &from)
friend void protobuf_ShutdownFile_global_5fextensions_2fservice_5foptions_2eproto()
void clear_has_shard_name()
inline ::std::string * release_descriptor_name()
inline ::std::string * release_shard_name()
::google::protobuf::uint32 version_
void clear_has_is_global()
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto()
inline ::std::string * mutable_api_type()
BGSServiceOptions & operator=(const BGSServiceOptions &from)
const ::std::string & shard_name() const
static BGSServiceOptions * default_instance_
::std::string * shard_name_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
bool has_api_type() const
void set_shard_name(const ::std::string &value)
inline ::google::protobuf::uint32 version() const
void clear_has_resolve_client_instance()
bool resolve_client_instance() const
bool has_is_global() const
static const ::google::protobuf::Descriptor * descriptor()
void clear_has_descriptor_name()
const ::std::string & descriptor_name() const
static const ::std::string & ServiceType_Name(ServiceType value)
static bool ServiceType_Parse(const ::std::string &name, ServiceType *value)
void set_allocated_api_type(::std::string *api_type)
void clear_has_api_type()
const ::std::string & api_type() const
void set_has_descriptor_name()
inline ::std::string * mutable_descriptor_name()
bool has_descriptor_name() const
void set_is_global(bool value)
static bool ServiceType_IsValid(int value)
bool resolve_client_instance_
int GetCachedSize() const
inline ::std::string * mutable_shard_name()
::google::protobuf::uint32 _has_bits_[1]
void set_has_resolve_client_instance()
bool has_shard_name() const
void set_resolve_client_instance(bool value)
friend void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto()
void set_allocated_shard_name(::std::string *shard_name)
void set_descriptor_name(const ::std::string &value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void clear_resolve_client_instance()
void set_version(::google::protobuf::uint32 value)
::std::string * api_type_
static const ::google::protobuf::EnumDescriptor * ServiceType_descriptor()
void clear_descriptor_name()
inline ::bgs::protocol::BGSServiceOptions_ServiceType type() const
BGSServiceOptions * New() const
bool has_resolve_client_instance() const
void InitAsDefaultInstance()
::std::string * descriptor_name_
static const BGSServiceOptions & default_instance()
::google::protobuf::Metadata GetMetadata() const
void set_has_shard_name()
inline ::std::string * release_api_type()
void set_allocated_descriptor_name(::std::string *descriptor_name)
void Swap(BGSServiceOptions *other)
void clear_deprecated_32_bit()
void set_inbound(bool value)
void clear_has_deprecated_32_bit()
::google::protobuf::Metadata GetMetadata() const
void clear_use_client_id()
static const ::google::protobuf::Descriptor * descriptor()
static SDKServiceOptions * default_instance_
friend void protobuf_ShutdownFile_global_5fextensions_2fservice_5foptions_2eproto()
void set_has_use_client_id()
SDKServiceOptions & operator=(const SDKServiceOptions &from)
bool has_use_client_id() const
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto()
bool has_outbound() const
bool use_client_id() const
SDKServiceOptions(const SDKServiceOptions &from)
void Swap(SDKServiceOptions *other)
bool has_obsolete() const
int GetCachedSize() const
void set_use_client_id(bool value)
bool deprecated_32_bit() const
void InitAsDefaultInstance()
virtual ~SDKServiceOptions()
SDKServiceOptions * New() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void SetCachedSize(int size) const
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_has_deprecated_32_bit()
static const SDKServiceOptions & default_instance()
friend void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto()
void set_deprecated_32_bit(bool value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void clear_has_obsolete()
void clear_has_use_client_id()
void set_obsolete(bool value)
bool has_deprecated_32_bit() const
void set_outbound(bool value)
void clear_has_outbound()
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSServiceOptions >, 11, false > service_options
BGSServiceOptions_ServiceType
@ BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC_DIRECT
@ BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC
@ BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT
@ BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT_BROADCAST
static const int kSdkServiceOptionsFieldNumber
void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto()
const BGSServiceOptions_ServiceType BGSServiceOptions_ServiceType_ServiceType_MIN
const int BGSServiceOptions_ServiceType_ServiceType_ARRAYSIZE
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * BGSServiceOptions_ServiceType_descriptor()
const BGSServiceOptions_ServiceType BGSServiceOptions_ServiceType_ServiceType_MAX
const ::std::string & BGSServiceOptions_ServiceType_Name(BGSServiceOptions_ServiceType value)
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKServiceOptions >, 11, false > sdk_service_options
TC_PROTO_API bool BGSServiceOptions_ServiceType_IsValid(int value)
void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto()
void protobuf_ShutdownFile_global_5fextensions_2fservice_5foptions_2eproto()
static const int kServiceOptionsFieldNumber
bool BGSServiceOptions_ServiceType_Parse(const ::std::string &name, BGSServiceOptions_ServiceType *value)
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::BGSServiceOptions_ServiceType >()