aboutsummaryrefslogtreecommitdiff
path: root/contrib/protoc-bnet/method_options.pb.cc
blob: 2b06fcc9b0b4cc4b665dba1e782a278d4c1e010c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: method_options.proto

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "method_options.pb.h"

#include <algorithm>

#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)

namespace Battlenet {

namespace {

const ::google::protobuf::Descriptor* BGSMethodOptions_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  BGSMethodOptions_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_method_5foptions_2eproto() {
  protobuf_AddDesc_method_5foptions_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "method_options.proto");
  GOOGLE_CHECK(file != NULL);
  BGSMethodOptions_descriptor_ = file->message_type(0);
  static const int BGSMethodOptions_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, id_),
  };
  BGSMethodOptions_reflection_ =
    new ::google::protobuf::internal::GeneratedMessageReflection(
      BGSMethodOptions_descriptor_,
      BGSMethodOptions::default_instance_,
      BGSMethodOptions_offsets_,
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, _has_bits_[0]),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, _unknown_fields_),
      -1,
      ::google::protobuf::DescriptorPool::generated_pool(),
      ::google::protobuf::MessageFactory::generated_factory(),
      sizeof(BGSMethodOptions));
}

namespace {

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
inline void protobuf_AssignDescriptorsOnce() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
                 &protobuf_AssignDesc_method_5foptions_2eproto);
}

void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    BGSMethodOptions_descriptor_, &BGSMethodOptions::default_instance());
}

}  // namespace

void protobuf_ShutdownFile_method_5foptions_2eproto() {
  delete BGSMethodOptions::default_instance_;
  delete BGSMethodOptions_reflection_;
}

void protobuf_AddDesc_method_5foptions_2eproto() {
  static bool already_here = false;
  if (already_here) return;
  already_here = true;
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n\024method_options.proto\022\tBattlenet\032 googl"
    "e/protobuf/descriptor.proto\"\036\n\020BGSMethod"
    "Options\022\n\n\002id\030\001 \001(\r:U\n\016method_options\022\036."
    "google.protobuf.MethodOptions\030\220\277\005 \001(\0132\033."
    "Battlenet.BGSMethodOptionsB%\n\rbnet.proto"
    "colB\022MethodOptionsProtoH\002", 225);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "method_options.proto", &protobuf_RegisterTypes);
  BGSMethodOptions::default_instance_ = new BGSMethodOptions();
  ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension(
    &::google::protobuf::MethodOptions::default_instance(),
    90000, 11, false, false,
    &::Battlenet::BGSMethodOptions::default_instance());
  BGSMethodOptions::default_instance_->InitAsDefaultInstance();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_method_5foptions_2eproto);
}

// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_method_5foptions_2eproto {
  StaticDescriptorInitializer_method_5foptions_2eproto() {
    protobuf_AddDesc_method_5foptions_2eproto();
  }
} static_descriptor_initializer_method_5foptions_2eproto_;

// ===================================================================

#ifndef _MSC_VER
const int BGSMethodOptions::kIdFieldNumber;
#endif  // !_MSC_VER

BGSMethodOptions::BGSMethodOptions()
  : ::google::protobuf::Message() {
  SharedCtor();
  // @@protoc_insertion_point(constructor:Battlenet.BGSMethodOptions)
}

void BGSMethodOptions::InitAsDefaultInstance() {
}

BGSMethodOptions::BGSMethodOptions(const BGSMethodOptions& from)
  : ::google::protobuf::Message() {
  SharedCtor();
  MergeFrom(from);
  // @@protoc_insertion_point(copy_constructor:Battlenet.BGSMethodOptions)
}

void BGSMethodOptions::SharedCtor() {
  _cached_size_ = 0;
  id_ = 0u;
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
}

BGSMethodOptions::~BGSMethodOptions() {
  // @@protoc_insertion_point(destructor:Battlenet.BGSMethodOptions)
  SharedDtor();
}

void BGSMethodOptions::SharedDtor() {
  if (this != default_instance_) {
  }
}

void BGSMethodOptions::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* BGSMethodOptions::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return BGSMethodOptions_descriptor_;
}

const BGSMethodOptions& BGSMethodOptions::default_instance() {
  if (default_instance_ == NULL) protobuf_AddDesc_method_5foptions_2eproto();
  return *default_instance_;
}

BGSMethodOptions* BGSMethodOptions::default_instance_ = NULL;

BGSMethodOptions* BGSMethodOptions::New() const {
  return new BGSMethodOptions;
}

void BGSMethodOptions::Swap(BGSMethodOptions* other) {
  if (other != this) {
    GetReflection()->Swap(this, other);}
}

::google::protobuf::Metadata BGSMethodOptions::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = BGSMethodOptions_descriptor_;
  metadata.reflection = BGSMethodOptions_reflection_;
  return metadata;
}

::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions,
    ::google::protobuf::internal::MessageTypeTraits< ::Battlenet::BGSMethodOptions >, 11, false >
  method_options(kMethodOptionsFieldNumber, ::Battlenet::BGSMethodOptions::default_instance());

// @@protoc_insertion_point(namespace_scope)

}  // namespace Battlenet

// @@protoc_insertion_point(global_scope)