7de3f31fd0
* feat: support c++ targets * fix: compile all protos under ./proto * chore: Apply suggestions from code review --------- Co-authored-by: Yingwen <realevenyag@gmail.com>
200 lines
8.0 KiB
C++
200 lines
8.0 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: greptime/v1/health.proto
|
|
|
|
#include "greptime/v1/health.pb.h"
|
|
|
|
#include <algorithm>
|
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
#include <google/protobuf/extension_set.h>
|
|
#include <google/protobuf/wire_format_lite.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)
|
|
#include <google/protobuf/port_def.inc>
|
|
|
|
PROTOBUF_PRAGMA_INIT_SEG
|
|
|
|
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
|
|
namespace _pbi = _pb::internal;
|
|
|
|
namespace greptime {
|
|
namespace v1 {
|
|
PROTOBUF_CONSTEXPR HealthCheckRequest::HealthCheckRequest(
|
|
::_pbi::ConstantInitialized) {}
|
|
struct HealthCheckRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR HealthCheckRequestDefaultTypeInternal()
|
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
|
~HealthCheckRequestDefaultTypeInternal() {}
|
|
union {
|
|
HealthCheckRequest _instance;
|
|
};
|
|
};
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HealthCheckRequestDefaultTypeInternal _HealthCheckRequest_default_instance_;
|
|
PROTOBUF_CONSTEXPR HealthCheckResponse::HealthCheckResponse(
|
|
::_pbi::ConstantInitialized) {}
|
|
struct HealthCheckResponseDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR HealthCheckResponseDefaultTypeInternal()
|
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
|
~HealthCheckResponseDefaultTypeInternal() {}
|
|
union {
|
|
HealthCheckResponse _instance;
|
|
};
|
|
};
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HealthCheckResponseDefaultTypeInternal _HealthCheckResponse_default_instance_;
|
|
} // namespace v1
|
|
} // namespace greptime
|
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fhealth_2eproto[2];
|
|
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fhealth_2eproto = nullptr;
|
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fhealth_2eproto = nullptr;
|
|
|
|
const uint32_t TableStruct_greptime_2fv1_2fhealth_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::HealthCheckRequest, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::HealthCheckResponse, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
};
|
|
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
{ 0, -1, -1, sizeof(::greptime::v1::HealthCheckRequest)},
|
|
{ 6, -1, -1, sizeof(::greptime::v1::HealthCheckResponse)},
|
|
};
|
|
|
|
static const ::_pb::Message* const file_default_instances[] = {
|
|
&::greptime::v1::_HealthCheckRequest_default_instance_._instance,
|
|
&::greptime::v1::_HealthCheckResponse_default_instance_._instance,
|
|
};
|
|
|
|
const char descriptor_table_protodef_greptime_2fv1_2fhealth_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
|
"\n\030greptime/v1/health.proto\022\013greptime.v1\""
|
|
"\024\n\022HealthCheckRequest\"\025\n\023HealthCheckResp"
|
|
"onse2_\n\013HealthCheck\022P\n\013HealthCheck\022\037.gre"
|
|
"ptime.v1.HealthCheckRequest\032 .greptime.v"
|
|
"1.HealthCheckResponseBO\n\016io.greptime.v1B"
|
|
"\006HealthZ5github.com/GreptimeTeam/greptim"
|
|
"e-proto/go/greptime/v1b\006proto3"
|
|
;
|
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fhealth_2eproto_once;
|
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fhealth_2eproto = {
|
|
false, false, 270, descriptor_table_protodef_greptime_2fv1_2fhealth_2eproto,
|
|
"greptime/v1/health.proto",
|
|
&descriptor_table_greptime_2fv1_2fhealth_2eproto_once, nullptr, 0, 2,
|
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fhealth_2eproto::offsets,
|
|
file_level_metadata_greptime_2fv1_2fhealth_2eproto, file_level_enum_descriptors_greptime_2fv1_2fhealth_2eproto,
|
|
file_level_service_descriptors_greptime_2fv1_2fhealth_2eproto,
|
|
};
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_greptime_2fv1_2fhealth_2eproto_getter() {
|
|
return &descriptor_table_greptime_2fv1_2fhealth_2eproto;
|
|
}
|
|
|
|
// Force running AddDescriptors() at dynamic initialization time.
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_greptime_2fv1_2fhealth_2eproto(&descriptor_table_greptime_2fv1_2fhealth_2eproto);
|
|
namespace greptime {
|
|
namespace v1 {
|
|
|
|
// ===================================================================
|
|
|
|
class HealthCheckRequest::_Internal {
|
|
public:
|
|
};
|
|
|
|
HealthCheckRequest::HealthCheckRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned)
|
|
: ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) {
|
|
// @@protoc_insertion_point(arena_constructor:greptime.v1.HealthCheckRequest)
|
|
}
|
|
HealthCheckRequest::HealthCheckRequest(const HealthCheckRequest& from)
|
|
: ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
|
|
HealthCheckRequest* const _this = this; (void)_this;
|
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.HealthCheckRequest)
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HealthCheckRequest::_class_data_ = {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
|
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
|
|
};
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HealthCheckRequest::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata HealthCheckRequest::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_greptime_2fv1_2fhealth_2eproto_getter, &descriptor_table_greptime_2fv1_2fhealth_2eproto_once,
|
|
file_level_metadata_greptime_2fv1_2fhealth_2eproto[0]);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class HealthCheckResponse::_Internal {
|
|
public:
|
|
};
|
|
|
|
HealthCheckResponse::HealthCheckResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned)
|
|
: ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) {
|
|
// @@protoc_insertion_point(arena_constructor:greptime.v1.HealthCheckResponse)
|
|
}
|
|
HealthCheckResponse::HealthCheckResponse(const HealthCheckResponse& from)
|
|
: ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
|
|
HealthCheckResponse* const _this = this; (void)_this;
|
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.HealthCheckResponse)
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HealthCheckResponse::_class_data_ = {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
|
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
|
|
};
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HealthCheckResponse::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata HealthCheckResponse::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_greptime_2fv1_2fhealth_2eproto_getter, &descriptor_table_greptime_2fv1_2fhealth_2eproto_once,
|
|
file_level_metadata_greptime_2fv1_2fhealth_2eproto[1]);
|
|
}
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
} // namespace v1
|
|
} // namespace greptime
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
template<> PROTOBUF_NOINLINE ::greptime::v1::HealthCheckRequest*
|
|
Arena::CreateMaybeMessage< ::greptime::v1::HealthCheckRequest >(Arena* arena) {
|
|
return Arena::CreateMessageInternal< ::greptime::v1::HealthCheckRequest >(arena);
|
|
}
|
|
template<> PROTOBUF_NOINLINE ::greptime::v1::HealthCheckResponse*
|
|
Arena::CreateMaybeMessage< ::greptime::v1::HealthCheckResponse >(Arena* arena) {
|
|
return Arena::CreateMessageInternal< ::greptime::v1::HealthCheckResponse >(arena);
|
|
}
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
#include <google/protobuf/port_undef.inc>
|