4#ifndef PROTOBUF_global_5fextensions_2fmethod_5foptions_2eproto__INCLUDED
5#define PROTOBUF_global_5fextensions_2fmethod_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/unknown_field_set.h>
27#include "google/protobuf/descriptor.pb.h"
58 return _unknown_fields_;
62 return &_unknown_fields_;
65 static const ::google::protobuf::Descriptor*
descriptor();
86 inline bool has_id()
const;
87 inline void clear_id();
88 static const int kIdFieldNumber = 1;
93 inline bool has_client_identity_routing()
const;
94 inline void clear_client_identity_routing();
95 static const int kClientIdentityRoutingFieldNumber = 2;
100 inline bool has_enable_fanout()
const;
101 inline void clear_enable_fanout();
102 static const int kEnableFanoutFieldNumber = 3;
103 inline bool enable_fanout()
const;
104 inline void set_enable_fanout(
bool value);
107 inline bool has_legacy_fanout_replacement()
const;
108 inline void clear_legacy_fanout_replacement();
109 static const int kLegacyFanoutReplacementFieldNumber = 4;
110 inline const ::std::string& legacy_fanout_replacement()
const;
111 inline void set_legacy_fanout_replacement(const ::std::string& value);
112 inline void set_legacy_fanout_replacement(
const char* value);
113 inline void set_legacy_fanout_replacement(
const char* value,
size_t size);
114 inline ::std::string* mutable_legacy_fanout_replacement();
115 inline ::std::string* release_legacy_fanout_replacement();
116 inline void set_allocated_legacy_fanout_replacement(::std::string* legacy_fanout_replacement);
119 inline bool has_forward_key()
const;
120 inline void clear_forward_key();
121 static const int kForwardKeyFieldNumber = 5;
122 inline const ::std::string& forward_key()
const;
123 inline void set_forward_key(const ::std::string& value);
124 inline void set_forward_key(
const char* value);
125 inline void set_forward_key(
const char* value,
size_t size);
126 inline ::std::string* mutable_forward_key();
127 inline ::std::string* release_forward_key();
128 inline void set_allocated_forward_key(::std::string* forward_key);
131 inline bool has_idempotent()
const;
132 inline void clear_idempotent();
133 static const int kIdempotentFieldNumber = 6;
134 inline bool idempotent()
const;
135 inline void set_idempotent(
bool value);
138 inline bool has_handle_destination_unreachable()
const;
139 inline void clear_handle_destination_unreachable();
140 static const int kHandleDestinationUnreachableFieldNumber = 7;
141 inline bool handle_destination_unreachable()
const;
142 inline void set_handle_destination_unreachable(
bool value);
145 inline bool has_custom_region_resolver()
const;
146 inline void clear_custom_region_resolver();
147 static const int kCustomRegionResolverFieldNumber = 8;
148 inline const ::std::string& custom_region_resolver()
const;
149 inline void set_custom_region_resolver(const ::std::string& value);
150 inline void set_custom_region_resolver(
const char* value);
151 inline void set_custom_region_resolver(
const char* value,
size_t size);
152 inline ::std::string* mutable_custom_region_resolver();
153 inline ::std::string* release_custom_region_resolver();
154 inline void set_allocated_custom_region_resolver(::std::string* custom_region_resolver);
157 inline bool has_explicit_region_routing()
const;
158 inline void clear_explicit_region_routing();
159 static const int kExplicitRegionRoutingFieldNumber = 9;
160 inline bool explicit_region_routing()
const;
161 inline void set_explicit_region_routing(
bool value);
164 inline bool has_obsolete()
const;
165 inline void clear_obsolete();
166 static const int kObsoleteFieldNumber = 10;
167 inline bool obsolete()
const;
168 inline void set_obsolete(
bool value);
171 inline bool has_client_register_type()
const;
172 inline void clear_client_register_type();
173 static const int kClientRegisterTypeFieldNumber = 11;
178 inline bool has_forward_key_proto_file()
const;
179 inline void clear_forward_key_proto_file();
180 static const int kForwardKeyProtoFileFieldNumber = 12;
181 inline const ::std::string& forward_key_proto_file()
const;
182 inline void set_forward_key_proto_file(const ::std::string& value);
183 inline void set_forward_key_proto_file(
const char* value);
184 inline void set_forward_key_proto_file(
const char* value,
size_t size);
185 inline ::std::string* mutable_forward_key_proto_file();
186 inline ::std::string* release_forward_key_proto_file();
187 inline void set_allocated_forward_key_proto_file(::std::string* forward_key_proto_file);
191 inline void set_has_id();
192 inline void clear_has_id();
193 inline void set_has_client_identity_routing();
194 inline void clear_has_client_identity_routing();
195 inline void set_has_enable_fanout();
196 inline void clear_has_enable_fanout();
197 inline void set_has_legacy_fanout_replacement();
198 inline void clear_has_legacy_fanout_replacement();
199 inline void set_has_forward_key();
200 inline void clear_has_forward_key();
201 inline void set_has_idempotent();
202 inline void clear_has_idempotent();
203 inline void set_has_handle_destination_unreachable();
204 inline void clear_has_handle_destination_unreachable();
205 inline void set_has_custom_region_resolver();
206 inline void clear_has_custom_region_resolver();
207 inline void set_has_explicit_region_routing();
208 inline void clear_has_explicit_region_routing();
209 inline void set_has_obsolete();
210 inline void clear_has_obsolete();
211 inline void set_has_client_register_type();
212 inline void clear_has_client_register_type();
213 inline void set_has_forward_key_proto_file();
214 inline void clear_has_forward_key_proto_file();
244TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions,
245 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSMethodOptions >, 11,
false >
412 if (
forward_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
423 if (
forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
431 if (
forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
439 if (
forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
447 if (
forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
455 if (
forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
459 forward_key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
464 if (
forward_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
472 forward_key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
583 custom_region_resolver_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
596 custom_region_resolver_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
732 forward_key_proto_file_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
745 forward_key_proto_file_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
inline ::std::string * release_forward_key_proto_file()
bool has_client_identity_routing() const
::std::string * forward_key_
BGSMethodOptions & operator=(const BGSMethodOptions &from)
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto()
bool enable_fanout() const
void set_has_explicit_region_routing()
int client_register_type_
void clear_forward_key_proto_file()
void set_forward_key(const ::std::string &value)
static BGSMethodOptions * default_instance_
void clear_has_client_register_type()
const ::std::string & legacy_fanout_replacement() const
void clear_client_identity_routing()
void Swap(BGSMethodOptions *other)
::std::string * forward_key_proto_file_
void set_allocated_custom_region_resolver(::std::string *custom_region_resolver)
virtual ~BGSMethodOptions()
friend void protobuf_ShutdownFile_global_5fextensions_2fmethod_5foptions_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::std::string * mutable_custom_region_resolver()
void set_id(::google::protobuf::uint32 value)
BGSMethodOptions * New() const
void set_has_idempotent()
inline ::std::string * release_custom_region_resolver()
bool handle_destination_unreachable_
::std::string * legacy_fanout_replacement_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::std::string * release_legacy_fanout_replacement()
void set_custom_region_resolver(const ::std::string &value)
bool has_explicit_region_routing() const
inline ::std::string * release_forward_key()
void clear_has_obsolete()
void set_has_client_identity_routing()
void clear_has_forward_key()
bool has_custom_region_resolver() const
void set_legacy_fanout_replacement(const ::std::string &value)
void set_has_legacy_fanout_replacement()
void set_obsolete(bool value)
::google::protobuf::uint32 _has_bits_[1]
void SetCachedSize(int size) const
bool has_client_register_type() const
inline ::google::protobuf::uint32 id() const
void set_has_client_register_type()
void clear_explicit_region_routing()
bool has_forward_key_proto_file() const
void clear_legacy_fanout_replacement()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_has_forward_key_proto_file()
bool has_obsolete() const
void set_has_handle_destination_unreachable()
void set_allocated_forward_key(::std::string *forward_key)
BGSMethodOptions(const BGSMethodOptions &from)
void clear_has_handle_destination_unreachable()
void set_enable_fanout(bool value)
void clear_has_idempotent()
static const ::google::protobuf::Descriptor * descriptor()
void clear_has_forward_key_proto_file()
int GetCachedSize() const
void set_has_enable_fanout()
inline ::std::string * mutable_forward_key_proto_file()
void set_has_forward_key()
void clear_has_legacy_fanout_replacement()
void clear_client_register_type()
void set_handle_destination_unreachable(bool value)
static const BGSMethodOptions & default_instance()
bool has_legacy_fanout_replacement() const
void clear_custom_region_resolver()
void clear_has_client_identity_routing()
void clear_handle_destination_unreachable()
const ::std::string & forward_key_proto_file() const
void set_client_identity_routing(::bgs::protocol::ClientIdentityRoutingType value)
bool has_idempotent() const
void clear_has_enable_fanout()
void set_explicit_region_routing(bool value)
void InitAsDefaultInstance()
void set_has_custom_region_resolver()
friend void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto()
inline ::std::string * mutable_forward_key()
bool explicit_region_routing_
void set_client_register_type(::bgs::protocol::ClientRegisterMethodType value)
::google::protobuf::uint32 id_
const ::std::string & custom_region_resolver() const
void set_allocated_legacy_fanout_replacement(::std::string *legacy_fanout_replacement)
bool handle_destination_unreachable() const
void clear_has_custom_region_resolver()
::std::string * custom_region_resolver_
inline ::std::string * mutable_legacy_fanout_replacement()
bool has_forward_key() const
inline ::bgs::protocol::ClientRegisterMethodType client_register_type() const
void set_allocated_forward_key_proto_file(::std::string *forward_key_proto_file)
int client_identity_routing_
const ::std::string & forward_key() const
bool has_enable_fanout() const
bool has_handle_destination_unreachable() const
::google::protobuf::Metadata GetMetadata() const
void clear_enable_fanout()
inline ::bgs::protocol::ClientIdentityRoutingType client_identity_routing() const
void clear_has_explicit_region_routing()
bool explicit_region_routing() const
void set_idempotent(bool value)
void set_forward_key_proto_file(const ::std::string &value)
constexpr std::size_t size()
TC_PROTO_API bool ClientIdentityRoutingType_IsValid(int value)
ClientIdentityRoutingType
void protobuf_ShutdownFile_global_5fextensions_2fmethod_5foptions_2eproto()
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSMethodOptions >, 11, false > method_options
void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto()
static const int kMethodOptionsFieldNumber
void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto()
TC_PROTO_API bool ClientRegisterMethodType_IsValid(int value)