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;
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;
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();
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);
296 inline void set_has_inbound();
297 inline void clear_has_inbound();
298 inline void set_has_outbound();
299 inline void clear_has_outbound();
300 inline void set_has_use_client_id();
301 inline void clear_has_use_client_id();
322TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions,
323 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSServiceOptions >, 11,
false >
326TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions,
327 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKServiceOptions >, 11,
false >
345 if (
descriptor_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
356 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
364 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
372 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
380 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
388 if (
descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
392 descriptor_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
397 if (
descriptor_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
405 descriptor_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
445 if (
shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
456 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
464 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
472 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
480 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
488 if (
shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
492 shard_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
497 if (
shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
505 shard_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
570 if (
api_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
581 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
589 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
597 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
600 api_type_->assign(
reinterpret_cast<const char*
>(value),
size);
605 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
613 if (
api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
617 api_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
622 if (
api_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
630 api_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
745inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::BGSServiceOptions_ServiceType>() {
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 set_inbound(bool value)
::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)
int GetCachedSize() const
void set_use_client_id(bool value)
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()
static const SDKServiceOptions & default_instance()
friend void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void clear_has_use_client_id()
void set_outbound(bool value)
void clear_has_outbound()
constexpr std::size_t size()
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)