25548 lines
1.0 MiB
Plaintext
25548 lines
1.0 MiB
Plaintext
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// NO CHECKED-IN PROTOBUF GENCODE
|
|
// source: base_node.proto
|
|
// Protobuf C++ Version: 6.31.1
|
|
|
|
#ifndef base_5fnode_2eproto_2epb_2eh
|
|
#define base_5fnode_2eproto_2epb_2eh
|
|
|
|
#include <limits>
|
|
#include <string>
|
|
#include <type_traits>
|
|
#include <utility>
|
|
|
|
#include "google/protobuf/runtime_version.h"
|
|
#if PROTOBUF_VERSION != 6031001
|
|
#error "Protobuf C++ gencode is built with an incompatible version of"
|
|
#error "Protobuf C++ headers/runtime. See"
|
|
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
|
|
#endif
|
|
#include "google/protobuf/io/coded_stream.h"
|
|
#include "google/protobuf/arena.h"
|
|
#include "google/protobuf/arenastring.h"
|
|
#include "google/protobuf/generated_message_bases.h"
|
|
#include "google/protobuf/generated_message_tctable_decl.h"
|
|
#include "google/protobuf/generated_message_util.h"
|
|
#include "google/protobuf/metadata_lite.h"
|
|
#include "google/protobuf/generated_message_reflection.h"
|
|
#include "google/protobuf/message.h"
|
|
#include "google/protobuf/message_lite.h"
|
|
#include "google/protobuf/repeated_field.h" // IWYU pragma: export
|
|
#include "google/protobuf/extension_set.h" // IWYU pragma: export
|
|
#include "google/protobuf/generated_enum_reflection.h"
|
|
#include "google/protobuf/unknown_field_set.h"
|
|
#include "types.pb.h"
|
|
#include "transaction.pb.h"
|
|
#include "block.pb.h"
|
|
#include "network.pb.h"
|
|
#include "sidechain_types.pb.h"
|
|
// @@protoc_insertion_point(includes)
|
|
|
|
// Must be included last.
|
|
#include "google/protobuf/port_def.inc"
|
|
|
|
#define PROTOBUF_INTERNAL_EXPORT_base_5fnode_2eproto
|
|
|
|
namespace google {
|
|
namespace protobuf {
|
|
namespace internal {
|
|
template <typename T>
|
|
::absl::string_view GetAnyMessageName();
|
|
} // namespace internal
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
// Internal implementation detail -- do not use these members.
|
|
struct TableStruct_base_5fnode_2eproto {
|
|
static const ::uint32_t offsets[];
|
|
};
|
|
extern "C" {
|
|
extern const ::google::protobuf::internal::DescriptorTable descriptor_table_base_5fnode_2eproto;
|
|
} // extern "C"
|
|
namespace tari {
|
|
namespace rpc {
|
|
enum BaseNodeState : int;
|
|
extern const uint32_t BaseNodeState_internal_data_[];
|
|
enum CalcType : int;
|
|
extern const uint32_t CalcType_internal_data_[];
|
|
enum ReadinessStatus_State : int;
|
|
extern const uint32_t ReadinessStatus_State_internal_data_[];
|
|
enum Sorting : int;
|
|
extern const uint32_t Sorting_internal_data_[];
|
|
enum SubmitTransactionResult : int;
|
|
extern const uint32_t SubmitTransactionResult_internal_data_[];
|
|
enum SyncState : int;
|
|
extern const uint32_t SyncState_internal_data_[];
|
|
enum TransactionLocation : int;
|
|
extern const uint32_t TransactionLocation_internal_data_[];
|
|
class BaseNodeGetVersionResponse;
|
|
struct BaseNodeGetVersionResponseDefaultTypeInternal;
|
|
extern BaseNodeGetVersionResponseDefaultTypeInternal _BaseNodeGetVersionResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull BaseNodeGetVersionResponse_class_data_;
|
|
class BlockBlobRequest;
|
|
struct BlockBlobRequestDefaultTypeInternal;
|
|
extern BlockBlobRequestDefaultTypeInternal _BlockBlobRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockBlobRequest_class_data_;
|
|
class BlockGroupRequest;
|
|
struct BlockGroupRequestDefaultTypeInternal;
|
|
extern BlockGroupRequestDefaultTypeInternal _BlockGroupRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockGroupRequest_class_data_;
|
|
class BlockGroupResponse;
|
|
struct BlockGroupResponseDefaultTypeInternal;
|
|
extern BlockGroupResponseDefaultTypeInternal _BlockGroupResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockGroupResponse_class_data_;
|
|
class BlockHeaderResponse;
|
|
struct BlockHeaderResponseDefaultTypeInternal;
|
|
extern BlockHeaderResponseDefaultTypeInternal _BlockHeaderResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockHeaderResponse_class_data_;
|
|
class BlockInfo;
|
|
struct BlockInfoDefaultTypeInternal;
|
|
extern BlockInfoDefaultTypeInternal _BlockInfo_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockInfo_class_data_;
|
|
class BlockTimingResponse;
|
|
struct BlockTimingResponseDefaultTypeInternal;
|
|
extern BlockTimingResponseDefaultTypeInternal _BlockTimingResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockTimingResponse_class_data_;
|
|
class FetchMatchingUtxosRequest;
|
|
struct FetchMatchingUtxosRequestDefaultTypeInternal;
|
|
extern FetchMatchingUtxosRequestDefaultTypeInternal _FetchMatchingUtxosRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull FetchMatchingUtxosRequest_class_data_;
|
|
class FetchMatchingUtxosResponse;
|
|
struct FetchMatchingUtxosResponseDefaultTypeInternal;
|
|
extern FetchMatchingUtxosResponseDefaultTypeInternal _FetchMatchingUtxosResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull FetchMatchingUtxosResponse_class_data_;
|
|
class GetActiveValidatorNodesRequest;
|
|
struct GetActiveValidatorNodesRequestDefaultTypeInternal;
|
|
extern GetActiveValidatorNodesRequestDefaultTypeInternal _GetActiveValidatorNodesRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetActiveValidatorNodesRequest_class_data_;
|
|
class GetActiveValidatorNodesResponse;
|
|
struct GetActiveValidatorNodesResponseDefaultTypeInternal;
|
|
extern GetActiveValidatorNodesResponseDefaultTypeInternal _GetActiveValidatorNodesResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetActiveValidatorNodesResponse_class_data_;
|
|
class GetAssetMetadataRequest;
|
|
struct GetAssetMetadataRequestDefaultTypeInternal;
|
|
extern GetAssetMetadataRequestDefaultTypeInternal _GetAssetMetadataRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetAssetMetadataRequest_class_data_;
|
|
class GetAssetMetadataResponse;
|
|
struct GetAssetMetadataResponseDefaultTypeInternal;
|
|
extern GetAssetMetadataResponseDefaultTypeInternal _GetAssetMetadataResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetAssetMetadataResponse_class_data_;
|
|
class GetBlocksRequest;
|
|
struct GetBlocksRequestDefaultTypeInternal;
|
|
extern GetBlocksRequestDefaultTypeInternal _GetBlocksRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetBlocksRequest_class_data_;
|
|
class GetBlocksResponse;
|
|
struct GetBlocksResponseDefaultTypeInternal;
|
|
extern GetBlocksResponseDefaultTypeInternal _GetBlocksResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetBlocksResponse_class_data_;
|
|
class GetHeaderByHashRequest;
|
|
struct GetHeaderByHashRequestDefaultTypeInternal;
|
|
extern GetHeaderByHashRequestDefaultTypeInternal _GetHeaderByHashRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetHeaderByHashRequest_class_data_;
|
|
class GetMempoolTransactionsRequest;
|
|
struct GetMempoolTransactionsRequestDefaultTypeInternal;
|
|
extern GetMempoolTransactionsRequestDefaultTypeInternal _GetMempoolTransactionsRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetMempoolTransactionsRequest_class_data_;
|
|
class GetMempoolTransactionsResponse;
|
|
struct GetMempoolTransactionsResponseDefaultTypeInternal;
|
|
extern GetMempoolTransactionsResponseDefaultTypeInternal _GetMempoolTransactionsResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetMempoolTransactionsResponse_class_data_;
|
|
class GetNetworkStateRequest;
|
|
struct GetNetworkStateRequestDefaultTypeInternal;
|
|
extern GetNetworkStateRequestDefaultTypeInternal _GetNetworkStateRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNetworkStateRequest_class_data_;
|
|
class GetNetworkStateResponse;
|
|
struct GetNetworkStateResponseDefaultTypeInternal;
|
|
extern GetNetworkStateResponseDefaultTypeInternal _GetNetworkStateResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNetworkStateResponse_class_data_;
|
|
class GetNewBlockBlobResult;
|
|
struct GetNewBlockBlobResultDefaultTypeInternal;
|
|
extern GetNewBlockBlobResultDefaultTypeInternal _GetNewBlockBlobResult_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNewBlockBlobResult_class_data_;
|
|
class GetNewBlockResult;
|
|
struct GetNewBlockResultDefaultTypeInternal;
|
|
extern GetNewBlockResultDefaultTypeInternal _GetNewBlockResult_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNewBlockResult_class_data_;
|
|
class GetNewBlockTemplateWithCoinbasesRequest;
|
|
struct GetNewBlockTemplateWithCoinbasesRequestDefaultTypeInternal;
|
|
extern GetNewBlockTemplateWithCoinbasesRequestDefaultTypeInternal _GetNewBlockTemplateWithCoinbasesRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNewBlockTemplateWithCoinbasesRequest_class_data_;
|
|
class GetNewBlockWithCoinbasesRequest;
|
|
struct GetNewBlockWithCoinbasesRequestDefaultTypeInternal;
|
|
extern GetNewBlockWithCoinbasesRequestDefaultTypeInternal _GetNewBlockWithCoinbasesRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNewBlockWithCoinbasesRequest_class_data_;
|
|
class GetPeersRequest;
|
|
struct GetPeersRequestDefaultTypeInternal;
|
|
extern GetPeersRequestDefaultTypeInternal _GetPeersRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetPeersRequest_class_data_;
|
|
class GetPeersResponse;
|
|
struct GetPeersResponseDefaultTypeInternal;
|
|
extern GetPeersResponseDefaultTypeInternal _GetPeersResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetPeersResponse_class_data_;
|
|
class GetShardKeyRequest;
|
|
struct GetShardKeyRequestDefaultTypeInternal;
|
|
extern GetShardKeyRequestDefaultTypeInternal _GetShardKeyRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetShardKeyRequest_class_data_;
|
|
class GetShardKeyResponse;
|
|
struct GetShardKeyResponseDefaultTypeInternal;
|
|
extern GetShardKeyResponseDefaultTypeInternal _GetShardKeyResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetShardKeyResponse_class_data_;
|
|
class GetSideChainUtxosRequest;
|
|
struct GetSideChainUtxosRequestDefaultTypeInternal;
|
|
extern GetSideChainUtxosRequestDefaultTypeInternal _GetSideChainUtxosRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetSideChainUtxosRequest_class_data_;
|
|
class GetSideChainUtxosResponse;
|
|
struct GetSideChainUtxosResponseDefaultTypeInternal;
|
|
extern GetSideChainUtxosResponseDefaultTypeInternal _GetSideChainUtxosResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetSideChainUtxosResponse_class_data_;
|
|
class GetTemplateRegistrationResponse;
|
|
struct GetTemplateRegistrationResponseDefaultTypeInternal;
|
|
extern GetTemplateRegistrationResponseDefaultTypeInternal _GetTemplateRegistrationResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetTemplateRegistrationResponse_class_data_;
|
|
class GetTemplateRegistrationsRequest;
|
|
struct GetTemplateRegistrationsRequestDefaultTypeInternal;
|
|
extern GetTemplateRegistrationsRequestDefaultTypeInternal _GetTemplateRegistrationsRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetTemplateRegistrationsRequest_class_data_;
|
|
class GetTokensRequest;
|
|
struct GetTokensRequestDefaultTypeInternal;
|
|
extern GetTokensRequestDefaultTypeInternal _GetTokensRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetTokensRequest_class_data_;
|
|
class GetTokensResponse;
|
|
struct GetTokensResponseDefaultTypeInternal;
|
|
extern GetTokensResponseDefaultTypeInternal _GetTokensResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetTokensResponse_class_data_;
|
|
class GetValidatorNodeChangesRequest;
|
|
struct GetValidatorNodeChangesRequestDefaultTypeInternal;
|
|
extern GetValidatorNodeChangesRequestDefaultTypeInternal _GetValidatorNodeChangesRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetValidatorNodeChangesRequest_class_data_;
|
|
class GetValidatorNodeChangesResponse;
|
|
struct GetValidatorNodeChangesResponseDefaultTypeInternal;
|
|
extern GetValidatorNodeChangesResponseDefaultTypeInternal _GetValidatorNodeChangesResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull GetValidatorNodeChangesResponse_class_data_;
|
|
class HeightRequest;
|
|
struct HeightRequestDefaultTypeInternal;
|
|
extern HeightRequestDefaultTypeInternal _HeightRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull HeightRequest_class_data_;
|
|
class IntegerValue;
|
|
struct IntegerValueDefaultTypeInternal;
|
|
extern IntegerValueDefaultTypeInternal _IntegerValue_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull IntegerValue_class_data_;
|
|
class ListAssetRegistrationsRequest;
|
|
struct ListAssetRegistrationsRequestDefaultTypeInternal;
|
|
extern ListAssetRegistrationsRequestDefaultTypeInternal _ListAssetRegistrationsRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull ListAssetRegistrationsRequest_class_data_;
|
|
class ListAssetRegistrationsResponse;
|
|
struct ListAssetRegistrationsResponseDefaultTypeInternal;
|
|
extern ListAssetRegistrationsResponseDefaultTypeInternal _ListAssetRegistrationsResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull ListAssetRegistrationsResponse_class_data_;
|
|
class ListHeadersRequest;
|
|
struct ListHeadersRequestDefaultTypeInternal;
|
|
extern ListHeadersRequestDefaultTypeInternal _ListHeadersRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull ListHeadersRequest_class_data_;
|
|
class LivenessResult;
|
|
struct LivenessResultDefaultTypeInternal;
|
|
extern LivenessResultDefaultTypeInternal _LivenessResult_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull LivenessResult_class_data_;
|
|
class MempoolStatsResponse;
|
|
struct MempoolStatsResponseDefaultTypeInternal;
|
|
extern MempoolStatsResponseDefaultTypeInternal _MempoolStatsResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull MempoolStatsResponse_class_data_;
|
|
class MetaData;
|
|
struct MetaDataDefaultTypeInternal;
|
|
extern MetaDataDefaultTypeInternal _MetaData_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull MetaData_class_data_;
|
|
class MigrationProgress;
|
|
struct MigrationProgressDefaultTypeInternal;
|
|
extern MigrationProgressDefaultTypeInternal _MigrationProgress_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull MigrationProgress_class_data_;
|
|
class MinerData;
|
|
struct MinerDataDefaultTypeInternal;
|
|
extern MinerDataDefaultTypeInternal _MinerData_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull MinerData_class_data_;
|
|
class NetworkDifficultyResponse;
|
|
struct NetworkDifficultyResponseDefaultTypeInternal;
|
|
extern NetworkDifficultyResponseDefaultTypeInternal _NetworkDifficultyResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull NetworkDifficultyResponse_class_data_;
|
|
class NewBlockCoinbase;
|
|
struct NewBlockCoinbaseDefaultTypeInternal;
|
|
extern NewBlockCoinbaseDefaultTypeInternal _NewBlockCoinbase_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull NewBlockCoinbase_class_data_;
|
|
class NewBlockTemplateRequest;
|
|
struct NewBlockTemplateRequestDefaultTypeInternal;
|
|
extern NewBlockTemplateRequestDefaultTypeInternal _NewBlockTemplateRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull NewBlockTemplateRequest_class_data_;
|
|
class NewBlockTemplateResponse;
|
|
struct NewBlockTemplateResponseDefaultTypeInternal;
|
|
extern NewBlockTemplateResponseDefaultTypeInternal _NewBlockTemplateResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull NewBlockTemplateResponse_class_data_;
|
|
class PaymentReferenceResponse;
|
|
struct PaymentReferenceResponseDefaultTypeInternal;
|
|
extern PaymentReferenceResponseDefaultTypeInternal _PaymentReferenceResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull PaymentReferenceResponse_class_data_;
|
|
class ReadinessStatus;
|
|
struct ReadinessStatusDefaultTypeInternal;
|
|
extern ReadinessStatusDefaultTypeInternal _ReadinessStatus_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull ReadinessStatus_class_data_;
|
|
class SearchKernelsRequest;
|
|
struct SearchKernelsRequestDefaultTypeInternal;
|
|
extern SearchKernelsRequestDefaultTypeInternal _SearchKernelsRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull SearchKernelsRequest_class_data_;
|
|
class SearchPaymentReferencesRequest;
|
|
struct SearchPaymentReferencesRequestDefaultTypeInternal;
|
|
extern SearchPaymentReferencesRequestDefaultTypeInternal _SearchPaymentReferencesRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull SearchPaymentReferencesRequest_class_data_;
|
|
class SearchUtxosRequest;
|
|
struct SearchUtxosRequestDefaultTypeInternal;
|
|
extern SearchUtxosRequestDefaultTypeInternal _SearchUtxosRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull SearchUtxosRequest_class_data_;
|
|
class SubmitBlockResponse;
|
|
struct SubmitBlockResponseDefaultTypeInternal;
|
|
extern SubmitBlockResponseDefaultTypeInternal _SubmitBlockResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull SubmitBlockResponse_class_data_;
|
|
class SubmitTransactionRequest;
|
|
struct SubmitTransactionRequestDefaultTypeInternal;
|
|
extern SubmitTransactionRequestDefaultTypeInternal _SubmitTransactionRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull SubmitTransactionRequest_class_data_;
|
|
class SubmitTransactionResponse;
|
|
struct SubmitTransactionResponseDefaultTypeInternal;
|
|
extern SubmitTransactionResponseDefaultTypeInternal _SubmitTransactionResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull SubmitTransactionResponse_class_data_;
|
|
class SyncInfoResponse;
|
|
struct SyncInfoResponseDefaultTypeInternal;
|
|
extern SyncInfoResponseDefaultTypeInternal _SyncInfoResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull SyncInfoResponse_class_data_;
|
|
class SyncProgressResponse;
|
|
struct SyncProgressResponseDefaultTypeInternal;
|
|
extern SyncProgressResponseDefaultTypeInternal _SyncProgressResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull SyncProgressResponse_class_data_;
|
|
class TipInfoResponse;
|
|
struct TipInfoResponseDefaultTypeInternal;
|
|
extern TipInfoResponseDefaultTypeInternal _TipInfoResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull TipInfoResponse_class_data_;
|
|
class TransactionStateRequest;
|
|
struct TransactionStateRequestDefaultTypeInternal;
|
|
extern TransactionStateRequestDefaultTypeInternal _TransactionStateRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull TransactionStateRequest_class_data_;
|
|
class TransactionStateResponse;
|
|
struct TransactionStateResponseDefaultTypeInternal;
|
|
extern TransactionStateResponseDefaultTypeInternal _TransactionStateResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull TransactionStateResponse_class_data_;
|
|
class ValidatorNodeChange;
|
|
struct ValidatorNodeChangeDefaultTypeInternal;
|
|
extern ValidatorNodeChangeDefaultTypeInternal _ValidatorNodeChange_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull ValidatorNodeChange_class_data_;
|
|
class ValidatorNodeChangeAdd;
|
|
struct ValidatorNodeChangeAddDefaultTypeInternal;
|
|
extern ValidatorNodeChangeAddDefaultTypeInternal _ValidatorNodeChangeAdd_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull ValidatorNodeChangeAdd_class_data_;
|
|
class ValidatorNodeChangeRemove;
|
|
struct ValidatorNodeChangeRemoveDefaultTypeInternal;
|
|
extern ValidatorNodeChangeRemoveDefaultTypeInternal _ValidatorNodeChangeRemove_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull ValidatorNodeChangeRemove_class_data_;
|
|
class ValueAtHeightResponse;
|
|
struct ValueAtHeightResponseDefaultTypeInternal;
|
|
extern ValueAtHeightResponseDefaultTypeInternal _ValueAtHeightResponse_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataFull ValueAtHeightResponse_class_data_;
|
|
} // namespace rpc
|
|
} // namespace tari
|
|
namespace google {
|
|
namespace protobuf {
|
|
template <>
|
|
internal::EnumTraitsT<::tari::rpc::BaseNodeState_internal_data_>
|
|
internal::EnumTraitsImpl::value<::tari::rpc::BaseNodeState>;
|
|
template <>
|
|
internal::EnumTraitsT<::tari::rpc::CalcType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::tari::rpc::CalcType>;
|
|
template <>
|
|
internal::EnumTraitsT<::tari::rpc::ReadinessStatus_State_internal_data_>
|
|
internal::EnumTraitsImpl::value<::tari::rpc::ReadinessStatus_State>;
|
|
template <>
|
|
internal::EnumTraitsT<::tari::rpc::Sorting_internal_data_>
|
|
internal::EnumTraitsImpl::value<::tari::rpc::Sorting>;
|
|
template <>
|
|
internal::EnumTraitsT<::tari::rpc::SubmitTransactionResult_internal_data_>
|
|
internal::EnumTraitsImpl::value<::tari::rpc::SubmitTransactionResult>;
|
|
template <>
|
|
internal::EnumTraitsT<::tari::rpc::SyncState_internal_data_>
|
|
internal::EnumTraitsImpl::value<::tari::rpc::SyncState>;
|
|
template <>
|
|
internal::EnumTraitsT<::tari::rpc::TransactionLocation_internal_data_>
|
|
internal::EnumTraitsImpl::value<::tari::rpc::TransactionLocation>;
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
namespace tari {
|
|
namespace rpc {
|
|
enum ReadinessStatus_State : int {
|
|
ReadinessStatus_State_NOT_READY = 0,
|
|
ReadinessStatus_State_STARTING_UP = 1,
|
|
ReadinessStatus_State_DATABASE_INITIALIZING = 10,
|
|
ReadinessStatus_State_RECOVERING_PREPARING = 20,
|
|
ReadinessStatus_State_RECOVERING_REBUILDING = 21,
|
|
ReadinessStatus_State_RECOVERING_REBUILDING_DATABASE = 22,
|
|
ReadinessStatus_State_BUILDING_CONTEXT_BLOCKCHAIN = 32,
|
|
ReadinessStatus_State_BUILDING_CONTEXT_BOOTSTRAP = 34,
|
|
ReadinessStatus_State_READY = 100,
|
|
ReadinessStatus_State_ReadinessStatus_State_INT_MIN_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::min(),
|
|
ReadinessStatus_State_ReadinessStatus_State_INT_MAX_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::max(),
|
|
};
|
|
|
|
extern const uint32_t ReadinessStatus_State_internal_data_[];
|
|
inline constexpr ReadinessStatus_State ReadinessStatus_State_State_MIN =
|
|
static_cast<ReadinessStatus_State>(0);
|
|
inline constexpr ReadinessStatus_State ReadinessStatus_State_State_MAX =
|
|
static_cast<ReadinessStatus_State>(100);
|
|
inline bool ReadinessStatus_State_IsValid(int value) {
|
|
return ::google::protobuf::internal::ValidateEnum(value, ReadinessStatus_State_internal_data_);
|
|
}
|
|
inline constexpr int ReadinessStatus_State_State_ARRAYSIZE = 100 + 1;
|
|
const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ReadinessStatus_State_descriptor();
|
|
template <typename T>
|
|
const ::std::string& ReadinessStatus_State_Name(T value) {
|
|
static_assert(::std::is_same<T, ReadinessStatus_State>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to State_Name().");
|
|
return ::google::protobuf::internal::NameOfEnum(ReadinessStatus_State_descriptor(), value);
|
|
}
|
|
inline bool ReadinessStatus_State_Parse(
|
|
::absl::string_view name, ReadinessStatus_State* PROTOBUF_NONNULL value) {
|
|
return ::google::protobuf::internal::ParseNamedEnum<ReadinessStatus_State>(ReadinessStatus_State_descriptor(), name,
|
|
value);
|
|
}
|
|
enum BaseNodeState : int {
|
|
START_UP = 0,
|
|
HEADER_SYNC = 1,
|
|
HORIZON_SYNC = 2,
|
|
CONNECTING = 3,
|
|
BLOCK_SYNC = 4,
|
|
LISTENING = 5,
|
|
SYNC_FAILED = 6,
|
|
BaseNodeState_INT_MIN_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::min(),
|
|
BaseNodeState_INT_MAX_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::max(),
|
|
};
|
|
|
|
extern const uint32_t BaseNodeState_internal_data_[];
|
|
inline constexpr BaseNodeState BaseNodeState_MIN =
|
|
static_cast<BaseNodeState>(0);
|
|
inline constexpr BaseNodeState BaseNodeState_MAX =
|
|
static_cast<BaseNodeState>(6);
|
|
inline bool BaseNodeState_IsValid(int value) {
|
|
return 0 <= value && value <= 6;
|
|
}
|
|
inline constexpr int BaseNodeState_ARRAYSIZE = 6 + 1;
|
|
const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL BaseNodeState_descriptor();
|
|
template <typename T>
|
|
const ::std::string& BaseNodeState_Name(T value) {
|
|
static_assert(::std::is_same<T, BaseNodeState>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to BaseNodeState_Name().");
|
|
return BaseNodeState_Name(static_cast<BaseNodeState>(value));
|
|
}
|
|
template <>
|
|
inline const ::std::string& BaseNodeState_Name(BaseNodeState value) {
|
|
return ::google::protobuf::internal::NameOfDenseEnum<BaseNodeState_descriptor, 0, 6>(
|
|
static_cast<int>(value));
|
|
}
|
|
inline bool BaseNodeState_Parse(
|
|
::absl::string_view name, BaseNodeState* PROTOBUF_NONNULL value) {
|
|
return ::google::protobuf::internal::ParseNamedEnum<BaseNodeState>(BaseNodeState_descriptor(), name,
|
|
value);
|
|
}
|
|
enum CalcType : int {
|
|
MEAN = 0,
|
|
MEDIAN = 1,
|
|
QUANTILE = 2,
|
|
QUARTILE = 3,
|
|
CalcType_INT_MIN_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::min(),
|
|
CalcType_INT_MAX_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::max(),
|
|
};
|
|
|
|
extern const uint32_t CalcType_internal_data_[];
|
|
inline constexpr CalcType CalcType_MIN =
|
|
static_cast<CalcType>(0);
|
|
inline constexpr CalcType CalcType_MAX =
|
|
static_cast<CalcType>(3);
|
|
inline bool CalcType_IsValid(int value) {
|
|
return 0 <= value && value <= 3;
|
|
}
|
|
inline constexpr int CalcType_ARRAYSIZE = 3 + 1;
|
|
const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL CalcType_descriptor();
|
|
template <typename T>
|
|
const ::std::string& CalcType_Name(T value) {
|
|
static_assert(::std::is_same<T, CalcType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to CalcType_Name().");
|
|
return CalcType_Name(static_cast<CalcType>(value));
|
|
}
|
|
template <>
|
|
inline const ::std::string& CalcType_Name(CalcType value) {
|
|
return ::google::protobuf::internal::NameOfDenseEnum<CalcType_descriptor, 0, 3>(
|
|
static_cast<int>(value));
|
|
}
|
|
inline bool CalcType_Parse(
|
|
::absl::string_view name, CalcType* PROTOBUF_NONNULL value) {
|
|
return ::google::protobuf::internal::ParseNamedEnum<CalcType>(CalcType_descriptor(), name,
|
|
value);
|
|
}
|
|
enum Sorting : int {
|
|
SORTING_DESC = 0,
|
|
SORTING_ASC = 1,
|
|
Sorting_INT_MIN_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::min(),
|
|
Sorting_INT_MAX_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::max(),
|
|
};
|
|
|
|
extern const uint32_t Sorting_internal_data_[];
|
|
inline constexpr Sorting Sorting_MIN =
|
|
static_cast<Sorting>(0);
|
|
inline constexpr Sorting Sorting_MAX =
|
|
static_cast<Sorting>(1);
|
|
inline bool Sorting_IsValid(int value) {
|
|
return 0 <= value && value <= 1;
|
|
}
|
|
inline constexpr int Sorting_ARRAYSIZE = 1 + 1;
|
|
const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Sorting_descriptor();
|
|
template <typename T>
|
|
const ::std::string& Sorting_Name(T value) {
|
|
static_assert(::std::is_same<T, Sorting>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to Sorting_Name().");
|
|
return Sorting_Name(static_cast<Sorting>(value));
|
|
}
|
|
template <>
|
|
inline const ::std::string& Sorting_Name(Sorting value) {
|
|
return ::google::protobuf::internal::NameOfDenseEnum<Sorting_descriptor, 0, 1>(
|
|
static_cast<int>(value));
|
|
}
|
|
inline bool Sorting_Parse(
|
|
::absl::string_view name, Sorting* PROTOBUF_NONNULL value) {
|
|
return ::google::protobuf::internal::ParseNamedEnum<Sorting>(Sorting_descriptor(), name,
|
|
value);
|
|
}
|
|
enum SyncState : int {
|
|
STARTUP = 0,
|
|
HEADER_STARTING = 1,
|
|
HEADER = 2,
|
|
BLOCK_STARTING = 3,
|
|
BLOCK = 4,
|
|
DONE = 5,
|
|
SyncState_INT_MIN_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::min(),
|
|
SyncState_INT_MAX_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::max(),
|
|
};
|
|
|
|
extern const uint32_t SyncState_internal_data_[];
|
|
inline constexpr SyncState SyncState_MIN =
|
|
static_cast<SyncState>(0);
|
|
inline constexpr SyncState SyncState_MAX =
|
|
static_cast<SyncState>(5);
|
|
inline bool SyncState_IsValid(int value) {
|
|
return 0 <= value && value <= 5;
|
|
}
|
|
inline constexpr int SyncState_ARRAYSIZE = 5 + 1;
|
|
const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SyncState_descriptor();
|
|
template <typename T>
|
|
const ::std::string& SyncState_Name(T value) {
|
|
static_assert(::std::is_same<T, SyncState>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to SyncState_Name().");
|
|
return SyncState_Name(static_cast<SyncState>(value));
|
|
}
|
|
template <>
|
|
inline const ::std::string& SyncState_Name(SyncState value) {
|
|
return ::google::protobuf::internal::NameOfDenseEnum<SyncState_descriptor, 0, 5>(
|
|
static_cast<int>(value));
|
|
}
|
|
inline bool SyncState_Parse(
|
|
::absl::string_view name, SyncState* PROTOBUF_NONNULL value) {
|
|
return ::google::protobuf::internal::ParseNamedEnum<SyncState>(SyncState_descriptor(), name,
|
|
value);
|
|
}
|
|
enum SubmitTransactionResult : int {
|
|
NONE = 0,
|
|
ACCEPTED = 1,
|
|
NOT_PROCESSABLE_AT_THIS_TIME = 2,
|
|
ALREADY_MINED = 3,
|
|
REJECTED = 4,
|
|
SubmitTransactionResult_INT_MIN_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::min(),
|
|
SubmitTransactionResult_INT_MAX_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::max(),
|
|
};
|
|
|
|
extern const uint32_t SubmitTransactionResult_internal_data_[];
|
|
inline constexpr SubmitTransactionResult SubmitTransactionResult_MIN =
|
|
static_cast<SubmitTransactionResult>(0);
|
|
inline constexpr SubmitTransactionResult SubmitTransactionResult_MAX =
|
|
static_cast<SubmitTransactionResult>(4);
|
|
inline bool SubmitTransactionResult_IsValid(int value) {
|
|
return 0 <= value && value <= 4;
|
|
}
|
|
inline constexpr int SubmitTransactionResult_ARRAYSIZE = 4 + 1;
|
|
const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SubmitTransactionResult_descriptor();
|
|
template <typename T>
|
|
const ::std::string& SubmitTransactionResult_Name(T value) {
|
|
static_assert(::std::is_same<T, SubmitTransactionResult>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to SubmitTransactionResult_Name().");
|
|
return SubmitTransactionResult_Name(static_cast<SubmitTransactionResult>(value));
|
|
}
|
|
template <>
|
|
inline const ::std::string& SubmitTransactionResult_Name(SubmitTransactionResult value) {
|
|
return ::google::protobuf::internal::NameOfDenseEnum<SubmitTransactionResult_descriptor, 0, 4>(
|
|
static_cast<int>(value));
|
|
}
|
|
inline bool SubmitTransactionResult_Parse(
|
|
::absl::string_view name, SubmitTransactionResult* PROTOBUF_NONNULL value) {
|
|
return ::google::protobuf::internal::ParseNamedEnum<SubmitTransactionResult>(SubmitTransactionResult_descriptor(), name,
|
|
value);
|
|
}
|
|
enum TransactionLocation : int {
|
|
UNKNOWN = 0,
|
|
MEMPOOL = 1,
|
|
MINED = 2,
|
|
NOT_STORED = 3,
|
|
TransactionLocation_INT_MIN_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::min(),
|
|
TransactionLocation_INT_MAX_SENTINEL_DO_NOT_USE_ =
|
|
::std::numeric_limits<::int32_t>::max(),
|
|
};
|
|
|
|
extern const uint32_t TransactionLocation_internal_data_[];
|
|
inline constexpr TransactionLocation TransactionLocation_MIN =
|
|
static_cast<TransactionLocation>(0);
|
|
inline constexpr TransactionLocation TransactionLocation_MAX =
|
|
static_cast<TransactionLocation>(3);
|
|
inline bool TransactionLocation_IsValid(int value) {
|
|
return 0 <= value && value <= 3;
|
|
}
|
|
inline constexpr int TransactionLocation_ARRAYSIZE = 3 + 1;
|
|
const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL TransactionLocation_descriptor();
|
|
template <typename T>
|
|
const ::std::string& TransactionLocation_Name(T value) {
|
|
static_assert(::std::is_same<T, TransactionLocation>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to TransactionLocation_Name().");
|
|
return TransactionLocation_Name(static_cast<TransactionLocation>(value));
|
|
}
|
|
template <>
|
|
inline const ::std::string& TransactionLocation_Name(TransactionLocation value) {
|
|
return ::google::protobuf::internal::NameOfDenseEnum<TransactionLocation_descriptor, 0, 3>(
|
|
static_cast<int>(value));
|
|
}
|
|
inline bool TransactionLocation_Parse(
|
|
::absl::string_view name, TransactionLocation* PROTOBUF_NONNULL value) {
|
|
return ::google::protobuf::internal::ParseNamedEnum<TransactionLocation>(TransactionLocation_descriptor(), name,
|
|
value);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
class ValueAtHeightResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.ValueAtHeightResponse) */ {
|
|
public:
|
|
inline ValueAtHeightResponse() : ValueAtHeightResponse(nullptr) {}
|
|
~ValueAtHeightResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ValueAtHeightResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ValueAtHeightResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ValueAtHeightResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ValueAtHeightResponse(const ValueAtHeightResponse& from) : ValueAtHeightResponse(nullptr, from) {}
|
|
inline ValueAtHeightResponse(ValueAtHeightResponse&& from) noexcept
|
|
: ValueAtHeightResponse(nullptr, ::std::move(from)) {}
|
|
inline ValueAtHeightResponse& operator=(const ValueAtHeightResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ValueAtHeightResponse& operator=(ValueAtHeightResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ValueAtHeightResponse& default_instance() {
|
|
return *reinterpret_cast<const ValueAtHeightResponse*>(
|
|
&_ValueAtHeightResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 17;
|
|
friend void swap(ValueAtHeightResponse& a, ValueAtHeightResponse& b) { a.Swap(&b); }
|
|
inline void Swap(ValueAtHeightResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ValueAtHeightResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ValueAtHeightResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<ValueAtHeightResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const ValueAtHeightResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const ValueAtHeightResponse& from) { ValueAtHeightResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ValueAtHeightResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.ValueAtHeightResponse"; }
|
|
|
|
protected:
|
|
explicit ValueAtHeightResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ValueAtHeightResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ValueAtHeightResponse& from);
|
|
ValueAtHeightResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ValueAtHeightResponse&& from) noexcept
|
|
: ValueAtHeightResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kCirculatingSupplyFieldNumber = 1,
|
|
kHeightFieldNumber = 3,
|
|
kMinedRewardsFieldNumber = 4,
|
|
kSpendableRewardsFieldNumber = 5,
|
|
kSpendablePreMineFieldNumber = 6,
|
|
kTotalSpendableFieldNumber = 7,
|
|
kTotalPreMineFieldNumber = 8,
|
|
kTimeLockedPreMineFieldNumber = 9,
|
|
};
|
|
// uint64 circulating_supply = 1;
|
|
void clear_circulating_supply() ;
|
|
::uint64_t circulating_supply() const;
|
|
void set_circulating_supply(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_circulating_supply() const;
|
|
void _internal_set_circulating_supply(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 height = 3;
|
|
void clear_height() ;
|
|
::uint64_t height() const;
|
|
void set_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_height() const;
|
|
void _internal_set_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 mined_rewards = 4;
|
|
void clear_mined_rewards() ;
|
|
::uint64_t mined_rewards() const;
|
|
void set_mined_rewards(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_mined_rewards() const;
|
|
void _internal_set_mined_rewards(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 spendable_rewards = 5;
|
|
void clear_spendable_rewards() ;
|
|
::uint64_t spendable_rewards() const;
|
|
void set_spendable_rewards(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_spendable_rewards() const;
|
|
void _internal_set_spendable_rewards(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 spendable_pre_mine = 6;
|
|
void clear_spendable_pre_mine() ;
|
|
::uint64_t spendable_pre_mine() const;
|
|
void set_spendable_pre_mine(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_spendable_pre_mine() const;
|
|
void _internal_set_spendable_pre_mine(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 total_spendable = 7;
|
|
void clear_total_spendable() ;
|
|
::uint64_t total_spendable() const;
|
|
void set_total_spendable(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_total_spendable() const;
|
|
void _internal_set_total_spendable(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 total_pre_mine = 8;
|
|
void clear_total_pre_mine() ;
|
|
::uint64_t total_pre_mine() const;
|
|
void set_total_pre_mine(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_total_pre_mine() const;
|
|
void _internal_set_total_pre_mine(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 time_locked_pre_mine = 9;
|
|
void clear_time_locked_pre_mine() ;
|
|
::uint64_t time_locked_pre_mine() const;
|
|
void set_time_locked_pre_mine(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_time_locked_pre_mine() const;
|
|
void _internal_set_time_locked_pre_mine(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.ValueAtHeightResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 8,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ValueAtHeightResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t circulating_supply_;
|
|
::uint64_t height_;
|
|
::uint64_t mined_rewards_;
|
|
::uint64_t spendable_rewards_;
|
|
::uint64_t spendable_pre_mine_;
|
|
::uint64_t total_spendable_;
|
|
::uint64_t total_pre_mine_;
|
|
::uint64_t time_locked_pre_mine_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull ValueAtHeightResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ValidatorNodeChangeRemove final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.ValidatorNodeChangeRemove) */ {
|
|
public:
|
|
inline ValidatorNodeChangeRemove() : ValidatorNodeChangeRemove(nullptr) {}
|
|
~ValidatorNodeChangeRemove() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ValidatorNodeChangeRemove* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ValidatorNodeChangeRemove));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ValidatorNodeChangeRemove(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ValidatorNodeChangeRemove(const ValidatorNodeChangeRemove& from) : ValidatorNodeChangeRemove(nullptr, from) {}
|
|
inline ValidatorNodeChangeRemove(ValidatorNodeChangeRemove&& from) noexcept
|
|
: ValidatorNodeChangeRemove(nullptr, ::std::move(from)) {}
|
|
inline ValidatorNodeChangeRemove& operator=(const ValidatorNodeChangeRemove& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ValidatorNodeChangeRemove& operator=(ValidatorNodeChangeRemove&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ValidatorNodeChangeRemove& default_instance() {
|
|
return *reinterpret_cast<const ValidatorNodeChangeRemove*>(
|
|
&_ValidatorNodeChangeRemove_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 53;
|
|
friend void swap(ValidatorNodeChangeRemove& a, ValidatorNodeChangeRemove& b) { a.Swap(&b); }
|
|
inline void Swap(ValidatorNodeChangeRemove* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ValidatorNodeChangeRemove* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ValidatorNodeChangeRemove* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<ValidatorNodeChangeRemove>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const ValidatorNodeChangeRemove& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const ValidatorNodeChangeRemove& from) { ValidatorNodeChangeRemove::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ValidatorNodeChangeRemove* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.ValidatorNodeChangeRemove"; }
|
|
|
|
protected:
|
|
explicit ValidatorNodeChangeRemove(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ValidatorNodeChangeRemove(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ValidatorNodeChangeRemove& from);
|
|
ValidatorNodeChangeRemove(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ValidatorNodeChangeRemove&& from) noexcept
|
|
: ValidatorNodeChangeRemove(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPublicKeyFieldNumber = 1,
|
|
};
|
|
// bytes public_key = 1;
|
|
void clear_public_key() ;
|
|
const ::std::string& public_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_public_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_public_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_public_key();
|
|
void set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_public_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_public_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_public_key();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.ValidatorNodeChangeRemove)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ValidatorNodeChangeRemove& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr public_key_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull ValidatorNodeChangeRemove_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransactionStateResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.TransactionStateResponse) */ {
|
|
public:
|
|
inline TransactionStateResponse() : TransactionStateResponse(nullptr) {}
|
|
~TransactionStateResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(TransactionStateResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(TransactionStateResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR TransactionStateResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline TransactionStateResponse(const TransactionStateResponse& from) : TransactionStateResponse(nullptr, from) {}
|
|
inline TransactionStateResponse(TransactionStateResponse&& from) noexcept
|
|
: TransactionStateResponse(nullptr, ::std::move(from)) {}
|
|
inline TransactionStateResponse& operator=(const TransactionStateResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline TransactionStateResponse& operator=(TransactionStateResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const TransactionStateResponse& default_instance() {
|
|
return *reinterpret_cast<const TransactionStateResponse*>(
|
|
&_TransactionStateResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 46;
|
|
friend void swap(TransactionStateResponse& a, TransactionStateResponse& b) { a.Swap(&b); }
|
|
inline void Swap(TransactionStateResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(TransactionStateResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
TransactionStateResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<TransactionStateResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const TransactionStateResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const TransactionStateResponse& from) { TransactionStateResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(TransactionStateResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.TransactionStateResponse"; }
|
|
|
|
protected:
|
|
explicit TransactionStateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
TransactionStateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TransactionStateResponse& from);
|
|
TransactionStateResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TransactionStateResponse&& from) noexcept
|
|
: TransactionStateResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kResultFieldNumber = 1,
|
|
};
|
|
// .tari.rpc.TransactionLocation result = 1;
|
|
void clear_result() ;
|
|
::tari::rpc::TransactionLocation result() const;
|
|
void set_result(::tari::rpc::TransactionLocation value);
|
|
|
|
private:
|
|
::tari::rpc::TransactionLocation _internal_result() const;
|
|
void _internal_set_result(::tari::rpc::TransactionLocation value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.TransactionStateResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const TransactionStateResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
int result_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull TransactionStateResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SyncProgressResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.SyncProgressResponse) */ {
|
|
public:
|
|
inline SyncProgressResponse() : SyncProgressResponse(nullptr) {}
|
|
~SyncProgressResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SyncProgressResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SyncProgressResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SyncProgressResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SyncProgressResponse(const SyncProgressResponse& from) : SyncProgressResponse(nullptr, from) {}
|
|
inline SyncProgressResponse(SyncProgressResponse&& from) noexcept
|
|
: SyncProgressResponse(nullptr, ::std::move(from)) {}
|
|
inline SyncProgressResponse& operator=(const SyncProgressResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SyncProgressResponse& operator=(SyncProgressResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const SyncProgressResponse& default_instance() {
|
|
return *reinterpret_cast<const SyncProgressResponse*>(
|
|
&_SyncProgressResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 31;
|
|
friend void swap(SyncProgressResponse& a, SyncProgressResponse& b) { a.Swap(&b); }
|
|
inline void Swap(SyncProgressResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SyncProgressResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SyncProgressResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<SyncProgressResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const SyncProgressResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const SyncProgressResponse& from) { SyncProgressResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(SyncProgressResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.SyncProgressResponse"; }
|
|
|
|
protected:
|
|
explicit SyncProgressResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SyncProgressResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SyncProgressResponse& from);
|
|
SyncProgressResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SyncProgressResponse&& from) noexcept
|
|
: SyncProgressResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kShortDescFieldNumber = 4,
|
|
kTipHeightFieldNumber = 1,
|
|
kLocalHeightFieldNumber = 2,
|
|
kInitialConnectedPeersFieldNumber = 5,
|
|
kStateFieldNumber = 3,
|
|
};
|
|
// string short_desc = 4;
|
|
void clear_short_desc() ;
|
|
const ::std::string& short_desc() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_short_desc(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_short_desc();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_short_desc();
|
|
void set_allocated_short_desc(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_short_desc() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_short_desc(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_short_desc();
|
|
|
|
public:
|
|
// uint64 tip_height = 1;
|
|
void clear_tip_height() ;
|
|
::uint64_t tip_height() const;
|
|
void set_tip_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_tip_height() const;
|
|
void _internal_set_tip_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 local_height = 2;
|
|
void clear_local_height() ;
|
|
::uint64_t local_height() const;
|
|
void set_local_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_local_height() const;
|
|
void _internal_set_local_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 initial_connected_peers = 5;
|
|
void clear_initial_connected_peers() ;
|
|
::uint64_t initial_connected_peers() const;
|
|
void set_initial_connected_peers(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_initial_connected_peers() const;
|
|
void _internal_set_initial_connected_peers(::uint64_t value);
|
|
|
|
public:
|
|
// .tari.rpc.SyncState state = 3;
|
|
void clear_state() ;
|
|
::tari::rpc::SyncState state() const;
|
|
void set_state(::tari::rpc::SyncState value);
|
|
|
|
private:
|
|
::tari::rpc::SyncState _internal_state() const;
|
|
void _internal_set_state(::tari::rpc::SyncState value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.SyncProgressResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 5,
|
|
0, 48,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const SyncProgressResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr short_desc_;
|
|
::uint64_t tip_height_;
|
|
::uint64_t local_height_;
|
|
::uint64_t initial_connected_peers_;
|
|
int state_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull SyncProgressResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SyncInfoResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.SyncInfoResponse) */ {
|
|
public:
|
|
inline SyncInfoResponse() : SyncInfoResponse(nullptr) {}
|
|
~SyncInfoResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SyncInfoResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SyncInfoResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SyncInfoResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SyncInfoResponse(const SyncInfoResponse& from) : SyncInfoResponse(nullptr, from) {}
|
|
inline SyncInfoResponse(SyncInfoResponse&& from) noexcept
|
|
: SyncInfoResponse(nullptr, ::std::move(from)) {}
|
|
inline SyncInfoResponse& operator=(const SyncInfoResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SyncInfoResponse& operator=(SyncInfoResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const SyncInfoResponse& default_instance() {
|
|
return *reinterpret_cast<const SyncInfoResponse*>(
|
|
&_SyncInfoResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 30;
|
|
friend void swap(SyncInfoResponse& a, SyncInfoResponse& b) { a.Swap(&b); }
|
|
inline void Swap(SyncInfoResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SyncInfoResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SyncInfoResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<SyncInfoResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const SyncInfoResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const SyncInfoResponse& from) { SyncInfoResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(SyncInfoResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.SyncInfoResponse"; }
|
|
|
|
protected:
|
|
explicit SyncInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SyncInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SyncInfoResponse& from);
|
|
SyncInfoResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SyncInfoResponse&& from) noexcept
|
|
: SyncInfoResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPeerNodeIdFieldNumber = 3,
|
|
kTipHeightFieldNumber = 1,
|
|
kLocalHeightFieldNumber = 2,
|
|
};
|
|
// repeated bytes peer_node_id = 3;
|
|
int peer_node_id_size() const;
|
|
private:
|
|
int _internal_peer_node_id_size() const;
|
|
|
|
public:
|
|
void clear_peer_node_id() ;
|
|
const ::std::string& peer_node_id(int index) const;
|
|
::std::string* PROTOBUF_NONNULL mutable_peer_node_id(int index);
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_peer_node_id(int index, Arg_&& value, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL add_peer_node_id();
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void add_peer_node_id(Arg_&& value, Args_... args);
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& peer_node_id() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_peer_node_id();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_peer_node_id() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_peer_node_id();
|
|
|
|
public:
|
|
// uint64 tip_height = 1;
|
|
void clear_tip_height() ;
|
|
::uint64_t tip_height() const;
|
|
void set_tip_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_tip_height() const;
|
|
void _internal_set_tip_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 local_height = 2;
|
|
void clear_local_height() ;
|
|
::uint64_t local_height() const;
|
|
void set_local_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_local_height() const;
|
|
void _internal_set_local_height(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.SyncInfoResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const SyncInfoResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField<::std::string> peer_node_id_;
|
|
::uint64_t tip_height_;
|
|
::uint64_t local_height_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull SyncInfoResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SubmitTransactionResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.SubmitTransactionResponse) */ {
|
|
public:
|
|
inline SubmitTransactionResponse() : SubmitTransactionResponse(nullptr) {}
|
|
~SubmitTransactionResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SubmitTransactionResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitTransactionResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SubmitTransactionResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SubmitTransactionResponse(const SubmitTransactionResponse& from) : SubmitTransactionResponse(nullptr, from) {}
|
|
inline SubmitTransactionResponse(SubmitTransactionResponse&& from) noexcept
|
|
: SubmitTransactionResponse(nullptr, ::std::move(from)) {}
|
|
inline SubmitTransactionResponse& operator=(const SubmitTransactionResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SubmitTransactionResponse& operator=(SubmitTransactionResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const SubmitTransactionResponse& default_instance() {
|
|
return *reinterpret_cast<const SubmitTransactionResponse*>(
|
|
&_SubmitTransactionResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 42;
|
|
friend void swap(SubmitTransactionResponse& a, SubmitTransactionResponse& b) { a.Swap(&b); }
|
|
inline void Swap(SubmitTransactionResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SubmitTransactionResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SubmitTransactionResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<SubmitTransactionResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const SubmitTransactionResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const SubmitTransactionResponse& from) { SubmitTransactionResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(SubmitTransactionResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.SubmitTransactionResponse"; }
|
|
|
|
protected:
|
|
explicit SubmitTransactionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SubmitTransactionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitTransactionResponse& from);
|
|
SubmitTransactionResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SubmitTransactionResponse&& from) noexcept
|
|
: SubmitTransactionResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kResultFieldNumber = 1,
|
|
};
|
|
// .tari.rpc.SubmitTransactionResult result = 1;
|
|
void clear_result() ;
|
|
::tari::rpc::SubmitTransactionResult result() const;
|
|
void set_result(::tari::rpc::SubmitTransactionResult value);
|
|
|
|
private:
|
|
::tari::rpc::SubmitTransactionResult _internal_result() const;
|
|
void _internal_set_result(::tari::rpc::SubmitTransactionResult value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.SubmitTransactionResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const SubmitTransactionResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
int result_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull SubmitTransactionResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SubmitBlockResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.SubmitBlockResponse) */ {
|
|
public:
|
|
inline SubmitBlockResponse() : SubmitBlockResponse(nullptr) {}
|
|
~SubmitBlockResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SubmitBlockResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitBlockResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SubmitBlockResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SubmitBlockResponse(const SubmitBlockResponse& from) : SubmitBlockResponse(nullptr, from) {}
|
|
inline SubmitBlockResponse(SubmitBlockResponse&& from) noexcept
|
|
: SubmitBlockResponse(nullptr, ::std::move(from)) {}
|
|
inline SubmitBlockResponse& operator=(const SubmitBlockResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SubmitBlockResponse& operator=(SubmitBlockResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const SubmitBlockResponse& default_instance() {
|
|
return *reinterpret_cast<const SubmitBlockResponse*>(
|
|
&_SubmitBlockResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 6;
|
|
friend void swap(SubmitBlockResponse& a, SubmitBlockResponse& b) { a.Swap(&b); }
|
|
inline void Swap(SubmitBlockResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SubmitBlockResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SubmitBlockResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<SubmitBlockResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const SubmitBlockResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const SubmitBlockResponse& from) { SubmitBlockResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(SubmitBlockResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.SubmitBlockResponse"; }
|
|
|
|
protected:
|
|
explicit SubmitBlockResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SubmitBlockResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitBlockResponse& from);
|
|
SubmitBlockResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SubmitBlockResponse&& from) noexcept
|
|
: SubmitBlockResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kBlockHashFieldNumber = 1,
|
|
};
|
|
// bytes block_hash = 1;
|
|
void clear_block_hash() ;
|
|
const ::std::string& block_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_block_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_block_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_block_hash();
|
|
void set_allocated_block_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_block_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_block_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_block_hash();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.SubmitBlockResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const SubmitBlockResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr block_hash_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull SubmitBlockResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SearchUtxosRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.SearchUtxosRequest) */ {
|
|
public:
|
|
inline SearchUtxosRequest() : SearchUtxosRequest(nullptr) {}
|
|
~SearchUtxosRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SearchUtxosRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SearchUtxosRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SearchUtxosRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SearchUtxosRequest(const SearchUtxosRequest& from) : SearchUtxosRequest(nullptr, from) {}
|
|
inline SearchUtxosRequest(SearchUtxosRequest&& from) noexcept
|
|
: SearchUtxosRequest(nullptr, ::std::move(from)) {}
|
|
inline SearchUtxosRequest& operator=(const SearchUtxosRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SearchUtxosRequest& operator=(SearchUtxosRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const SearchUtxosRequest& default_instance() {
|
|
return *reinterpret_cast<const SearchUtxosRequest*>(
|
|
&_SearchUtxosRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 36;
|
|
friend void swap(SearchUtxosRequest& a, SearchUtxosRequest& b) { a.Swap(&b); }
|
|
inline void Swap(SearchUtxosRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SearchUtxosRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SearchUtxosRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<SearchUtxosRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const SearchUtxosRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const SearchUtxosRequest& from) { SearchUtxosRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(SearchUtxosRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.SearchUtxosRequest"; }
|
|
|
|
protected:
|
|
explicit SearchUtxosRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SearchUtxosRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SearchUtxosRequest& from);
|
|
SearchUtxosRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SearchUtxosRequest&& from) noexcept
|
|
: SearchUtxosRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kCommitmentsFieldNumber = 1,
|
|
};
|
|
// repeated bytes commitments = 1;
|
|
int commitments_size() const;
|
|
private:
|
|
int _internal_commitments_size() const;
|
|
|
|
public:
|
|
void clear_commitments() ;
|
|
const ::std::string& commitments(int index) const;
|
|
::std::string* PROTOBUF_NONNULL mutable_commitments(int index);
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_commitments(int index, Arg_&& value, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL add_commitments();
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void add_commitments(Arg_&& value, Args_... args);
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& commitments() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_commitments();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_commitments() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_commitments();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.SearchUtxosRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const SearchUtxosRequest& from_msg);
|
|
::google::protobuf::RepeatedPtrField<::std::string> commitments_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull SearchUtxosRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SearchPaymentReferencesRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.SearchPaymentReferencesRequest) */ {
|
|
public:
|
|
inline SearchPaymentReferencesRequest() : SearchPaymentReferencesRequest(nullptr) {}
|
|
~SearchPaymentReferencesRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SearchPaymentReferencesRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SearchPaymentReferencesRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SearchPaymentReferencesRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SearchPaymentReferencesRequest(const SearchPaymentReferencesRequest& from) : SearchPaymentReferencesRequest(nullptr, from) {}
|
|
inline SearchPaymentReferencesRequest(SearchPaymentReferencesRequest&& from) noexcept
|
|
: SearchPaymentReferencesRequest(nullptr, ::std::move(from)) {}
|
|
inline SearchPaymentReferencesRequest& operator=(const SearchPaymentReferencesRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SearchPaymentReferencesRequest& operator=(SearchPaymentReferencesRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const SearchPaymentReferencesRequest& default_instance() {
|
|
return *reinterpret_cast<const SearchPaymentReferencesRequest*>(
|
|
&_SearchPaymentReferencesRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 65;
|
|
friend void swap(SearchPaymentReferencesRequest& a, SearchPaymentReferencesRequest& b) { a.Swap(&b); }
|
|
inline void Swap(SearchPaymentReferencesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SearchPaymentReferencesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SearchPaymentReferencesRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<SearchPaymentReferencesRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const SearchPaymentReferencesRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const SearchPaymentReferencesRequest& from) { SearchPaymentReferencesRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(SearchPaymentReferencesRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.SearchPaymentReferencesRequest"; }
|
|
|
|
protected:
|
|
explicit SearchPaymentReferencesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SearchPaymentReferencesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SearchPaymentReferencesRequest& from);
|
|
SearchPaymentReferencesRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SearchPaymentReferencesRequest&& from) noexcept
|
|
: SearchPaymentReferencesRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPaymentReferenceHexFieldNumber = 1,
|
|
kPaymentReferenceBytesFieldNumber = 2,
|
|
kIncludeSpentFieldNumber = 3,
|
|
};
|
|
// repeated string payment_reference_hex = 1;
|
|
int payment_reference_hex_size() const;
|
|
private:
|
|
int _internal_payment_reference_hex_size() const;
|
|
|
|
public:
|
|
void clear_payment_reference_hex() ;
|
|
const ::std::string& payment_reference_hex(int index) const;
|
|
::std::string* PROTOBUF_NONNULL mutable_payment_reference_hex(int index);
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_payment_reference_hex(int index, Arg_&& value, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL add_payment_reference_hex();
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void add_payment_reference_hex(Arg_&& value, Args_... args);
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& payment_reference_hex() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_payment_reference_hex();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_payment_reference_hex() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_payment_reference_hex();
|
|
|
|
public:
|
|
// repeated bytes payment_reference_bytes = 2;
|
|
int payment_reference_bytes_size() const;
|
|
private:
|
|
int _internal_payment_reference_bytes_size() const;
|
|
|
|
public:
|
|
void clear_payment_reference_bytes() ;
|
|
const ::std::string& payment_reference_bytes(int index) const;
|
|
::std::string* PROTOBUF_NONNULL mutable_payment_reference_bytes(int index);
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_payment_reference_bytes(int index, Arg_&& value, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL add_payment_reference_bytes();
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void add_payment_reference_bytes(Arg_&& value, Args_... args);
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& payment_reference_bytes() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_payment_reference_bytes();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_payment_reference_bytes() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_payment_reference_bytes();
|
|
|
|
public:
|
|
// bool include_spent = 3;
|
|
void clear_include_spent() ;
|
|
bool include_spent() const;
|
|
void set_include_spent(bool value);
|
|
|
|
private:
|
|
bool _internal_include_spent() const;
|
|
void _internal_set_include_spent(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.SearchPaymentReferencesRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 69,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const SearchPaymentReferencesRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField<::std::string> payment_reference_hex_;
|
|
::google::protobuf::RepeatedPtrField<::std::string> payment_reference_bytes_;
|
|
bool include_spent_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull SearchPaymentReferencesRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class PaymentReferenceResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.PaymentReferenceResponse) */ {
|
|
public:
|
|
inline PaymentReferenceResponse() : PaymentReferenceResponse(nullptr) {}
|
|
~PaymentReferenceResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PaymentReferenceResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PaymentReferenceResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PaymentReferenceResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PaymentReferenceResponse(const PaymentReferenceResponse& from) : PaymentReferenceResponse(nullptr, from) {}
|
|
inline PaymentReferenceResponse(PaymentReferenceResponse&& from) noexcept
|
|
: PaymentReferenceResponse(nullptr, ::std::move(from)) {}
|
|
inline PaymentReferenceResponse& operator=(const PaymentReferenceResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PaymentReferenceResponse& operator=(PaymentReferenceResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const PaymentReferenceResponse& default_instance() {
|
|
return *reinterpret_cast<const PaymentReferenceResponse*>(
|
|
&_PaymentReferenceResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 66;
|
|
friend void swap(PaymentReferenceResponse& a, PaymentReferenceResponse& b) { a.Swap(&b); }
|
|
inline void Swap(PaymentReferenceResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(PaymentReferenceResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PaymentReferenceResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<PaymentReferenceResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const PaymentReferenceResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const PaymentReferenceResponse& from) { PaymentReferenceResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(PaymentReferenceResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.PaymentReferenceResponse"; }
|
|
|
|
protected:
|
|
explicit PaymentReferenceResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PaymentReferenceResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PaymentReferenceResponse& from);
|
|
PaymentReferenceResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PaymentReferenceResponse&& from) noexcept
|
|
: PaymentReferenceResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPaymentReferenceHexFieldNumber = 1,
|
|
kBlockHashFieldNumber = 3,
|
|
kCommitmentFieldNumber = 5,
|
|
kSpentBlockHashFieldNumber = 8,
|
|
kOutputHashFieldNumber = 11,
|
|
kBlockHeightFieldNumber = 2,
|
|
kMinedTimestampFieldNumber = 4,
|
|
kSpentHeightFieldNumber = 7,
|
|
kMinValuePromiseFieldNumber = 9,
|
|
kSpentTimestampFieldNumber = 10,
|
|
kIsSpentFieldNumber = 6,
|
|
};
|
|
// string payment_reference_hex = 1;
|
|
void clear_payment_reference_hex() ;
|
|
const ::std::string& payment_reference_hex() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_payment_reference_hex(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_payment_reference_hex();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_payment_reference_hex();
|
|
void set_allocated_payment_reference_hex(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_payment_reference_hex() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_payment_reference_hex(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_payment_reference_hex();
|
|
|
|
public:
|
|
// bytes block_hash = 3;
|
|
void clear_block_hash() ;
|
|
const ::std::string& block_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_block_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_block_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_block_hash();
|
|
void set_allocated_block_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_block_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_block_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_block_hash();
|
|
|
|
public:
|
|
// bytes commitment = 5;
|
|
void clear_commitment() ;
|
|
const ::std::string& commitment() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_commitment(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_commitment();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_commitment();
|
|
void set_allocated_commitment(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_commitment() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_commitment(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_commitment();
|
|
|
|
public:
|
|
// bytes spent_block_hash = 8;
|
|
void clear_spent_block_hash() ;
|
|
const ::std::string& spent_block_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_spent_block_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_spent_block_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_spent_block_hash();
|
|
void set_allocated_spent_block_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_spent_block_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_spent_block_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_spent_block_hash();
|
|
|
|
public:
|
|
// bytes output_hash = 11;
|
|
void clear_output_hash() ;
|
|
const ::std::string& output_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_output_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_output_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_output_hash();
|
|
void set_allocated_output_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_output_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_output_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_output_hash();
|
|
|
|
public:
|
|
// uint64 block_height = 2;
|
|
void clear_block_height() ;
|
|
::uint64_t block_height() const;
|
|
void set_block_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_block_height() const;
|
|
void _internal_set_block_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 mined_timestamp = 4;
|
|
void clear_mined_timestamp() ;
|
|
::uint64_t mined_timestamp() const;
|
|
void set_mined_timestamp(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_mined_timestamp() const;
|
|
void _internal_set_mined_timestamp(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 spent_height = 7;
|
|
void clear_spent_height() ;
|
|
::uint64_t spent_height() const;
|
|
void set_spent_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_spent_height() const;
|
|
void _internal_set_spent_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 min_value_promise = 9;
|
|
void clear_min_value_promise() ;
|
|
::uint64_t min_value_promise() const;
|
|
void set_min_value_promise(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_min_value_promise() const;
|
|
void _internal_set_min_value_promise(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 spent_timestamp = 10;
|
|
void clear_spent_timestamp() ;
|
|
::uint64_t spent_timestamp() const;
|
|
void set_spent_timestamp(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_spent_timestamp() const;
|
|
void _internal_set_spent_timestamp(::uint64_t value);
|
|
|
|
public:
|
|
// bool is_spent = 6;
|
|
void clear_is_spent() ;
|
|
bool is_spent() const;
|
|
void set_is_spent(bool value);
|
|
|
|
private:
|
|
bool _internal_is_spent() const;
|
|
void _internal_set_is_spent(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.PaymentReferenceResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 11,
|
|
0, 71,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const PaymentReferenceResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr payment_reference_hex_;
|
|
::google::protobuf::internal::ArenaStringPtr block_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr commitment_;
|
|
::google::protobuf::internal::ArenaStringPtr spent_block_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr output_hash_;
|
|
::uint64_t block_height_;
|
|
::uint64_t mined_timestamp_;
|
|
::uint64_t spent_height_;
|
|
::uint64_t min_value_promise_;
|
|
::uint64_t spent_timestamp_;
|
|
bool is_spent_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull PaymentReferenceResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class NewBlockCoinbase final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.NewBlockCoinbase) */ {
|
|
public:
|
|
inline NewBlockCoinbase() : NewBlockCoinbase(nullptr) {}
|
|
~NewBlockCoinbase() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(NewBlockCoinbase* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(NewBlockCoinbase));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR NewBlockCoinbase(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline NewBlockCoinbase(const NewBlockCoinbase& from) : NewBlockCoinbase(nullptr, from) {}
|
|
inline NewBlockCoinbase(NewBlockCoinbase&& from) noexcept
|
|
: NewBlockCoinbase(nullptr, ::std::move(from)) {}
|
|
inline NewBlockCoinbase& operator=(const NewBlockCoinbase& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline NewBlockCoinbase& operator=(NewBlockCoinbase&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const NewBlockCoinbase& default_instance() {
|
|
return *reinterpret_cast<const NewBlockCoinbase*>(
|
|
&_NewBlockCoinbase_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 15;
|
|
friend void swap(NewBlockCoinbase& a, NewBlockCoinbase& b) { a.Swap(&b); }
|
|
inline void Swap(NewBlockCoinbase* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(NewBlockCoinbase* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
NewBlockCoinbase* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<NewBlockCoinbase>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const NewBlockCoinbase& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const NewBlockCoinbase& from) { NewBlockCoinbase::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(NewBlockCoinbase* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.NewBlockCoinbase"; }
|
|
|
|
protected:
|
|
explicit NewBlockCoinbase(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
NewBlockCoinbase(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const NewBlockCoinbase& from);
|
|
NewBlockCoinbase(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, NewBlockCoinbase&& from) noexcept
|
|
: NewBlockCoinbase(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAddressFieldNumber = 1,
|
|
kCoinbaseExtraFieldNumber = 5,
|
|
kValueFieldNumber = 2,
|
|
kStealthPaymentFieldNumber = 3,
|
|
kRevealedValueProofFieldNumber = 4,
|
|
};
|
|
// string address = 1;
|
|
void clear_address() ;
|
|
const ::std::string& address() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_address(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_address();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_address();
|
|
void set_allocated_address(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_address() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_address(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_address();
|
|
|
|
public:
|
|
// bytes coinbase_extra = 5;
|
|
void clear_coinbase_extra() ;
|
|
const ::std::string& coinbase_extra() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_coinbase_extra(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_coinbase_extra();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_coinbase_extra();
|
|
void set_allocated_coinbase_extra(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_coinbase_extra() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_coinbase_extra(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_coinbase_extra();
|
|
|
|
public:
|
|
// uint64 value = 2;
|
|
void clear_value() ;
|
|
::uint64_t value() const;
|
|
void set_value(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_value() const;
|
|
void _internal_set_value(::uint64_t value);
|
|
|
|
public:
|
|
// bool stealth_payment = 3;
|
|
void clear_stealth_payment() ;
|
|
bool stealth_payment() const;
|
|
void set_stealth_payment(bool value);
|
|
|
|
private:
|
|
bool _internal_stealth_payment() const;
|
|
void _internal_set_stealth_payment(bool value);
|
|
|
|
public:
|
|
// bool revealed_value_proof = 4;
|
|
void clear_revealed_value_proof() ;
|
|
bool revealed_value_proof() const;
|
|
void set_revealed_value_proof(bool value);
|
|
|
|
private:
|
|
bool _internal_revealed_value_proof() const;
|
|
void _internal_set_revealed_value_proof(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.NewBlockCoinbase)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 5,
|
|
0, 41,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const NewBlockCoinbase& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr address_;
|
|
::google::protobuf::internal::ArenaStringPtr coinbase_extra_;
|
|
::uint64_t value_;
|
|
bool stealth_payment_;
|
|
bool revealed_value_proof_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull NewBlockCoinbase_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MigrationProgress final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.MigrationProgress) */ {
|
|
public:
|
|
inline MigrationProgress() : MigrationProgress(nullptr) {}
|
|
~MigrationProgress() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MigrationProgress* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MigrationProgress));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MigrationProgress(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MigrationProgress(const MigrationProgress& from) : MigrationProgress(nullptr, from) {}
|
|
inline MigrationProgress(MigrationProgress&& from) noexcept
|
|
: MigrationProgress(nullptr, ::std::move(from)) {}
|
|
inline MigrationProgress& operator=(const MigrationProgress& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MigrationProgress& operator=(MigrationProgress&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const MigrationProgress& default_instance() {
|
|
return *reinterpret_cast<const MigrationProgress*>(
|
|
&_MigrationProgress_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 10;
|
|
friend void swap(MigrationProgress& a, MigrationProgress& b) { a.Swap(&b); }
|
|
inline void Swap(MigrationProgress* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(MigrationProgress* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MigrationProgress* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<MigrationProgress>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const MigrationProgress& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const MigrationProgress& from) { MigrationProgress::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(MigrationProgress* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.MigrationProgress"; }
|
|
|
|
protected:
|
|
explicit MigrationProgress(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MigrationProgress(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MigrationProgress& from);
|
|
MigrationProgress(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MigrationProgress&& from) noexcept
|
|
: MigrationProgress(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kCurrentBlockFieldNumber = 1,
|
|
kTotalBlocksFieldNumber = 2,
|
|
kProgressPercentageFieldNumber = 3,
|
|
kCurrentDbVersionFieldNumber = 4,
|
|
kTargetDbVersionFieldNumber = 5,
|
|
};
|
|
// uint64 current_block = 1;
|
|
void clear_current_block() ;
|
|
::uint64_t current_block() const;
|
|
void set_current_block(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_current_block() const;
|
|
void _internal_set_current_block(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 total_blocks = 2;
|
|
void clear_total_blocks() ;
|
|
::uint64_t total_blocks() const;
|
|
void set_total_blocks(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_total_blocks() const;
|
|
void _internal_set_total_blocks(::uint64_t value);
|
|
|
|
public:
|
|
// double progress_percentage = 3;
|
|
void clear_progress_percentage() ;
|
|
double progress_percentage() const;
|
|
void set_progress_percentage(double value);
|
|
|
|
private:
|
|
double _internal_progress_percentage() const;
|
|
void _internal_set_progress_percentage(double value);
|
|
|
|
public:
|
|
// uint64 current_db_version = 4;
|
|
void clear_current_db_version() ;
|
|
::uint64_t current_db_version() const;
|
|
void set_current_db_version(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_current_db_version() const;
|
|
void _internal_set_current_db_version(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 target_db_version = 5;
|
|
void clear_target_db_version() ;
|
|
::uint64_t target_db_version() const;
|
|
void set_target_db_version(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_target_db_version() const;
|
|
void _internal_set_target_db_version(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.MigrationProgress)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 5,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const MigrationProgress& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t current_block_;
|
|
::uint64_t total_blocks_;
|
|
double progress_percentage_;
|
|
::uint64_t current_db_version_;
|
|
::uint64_t target_db_version_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull MigrationProgress_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MetaData final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.MetaData) */ {
|
|
public:
|
|
inline MetaData() : MetaData(nullptr) {}
|
|
~MetaData() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MetaData* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MetaData));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MetaData(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MetaData(const MetaData& from) : MetaData(nullptr, from) {}
|
|
inline MetaData(MetaData&& from) noexcept
|
|
: MetaData(nullptr, ::std::move(from)) {}
|
|
inline MetaData& operator=(const MetaData& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MetaData& operator=(MetaData&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const MetaData& default_instance() {
|
|
return *reinterpret_cast<const MetaData*>(
|
|
&_MetaData_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 29;
|
|
friend void swap(MetaData& a, MetaData& b) { a.Swap(&b); }
|
|
inline void Swap(MetaData* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(MetaData* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MetaData* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<MetaData>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const MetaData& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const MetaData& from) { MetaData::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(MetaData* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.MetaData"; }
|
|
|
|
protected:
|
|
explicit MetaData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MetaData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MetaData& from);
|
|
MetaData(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MetaData&& from) noexcept
|
|
: MetaData(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kBestBlockHashFieldNumber = 2,
|
|
kAccumulatedDifficultyFieldNumber = 5,
|
|
kBestBlockHeightFieldNumber = 1,
|
|
kPrunedHeightFieldNumber = 6,
|
|
kTimestampFieldNumber = 7,
|
|
};
|
|
// bytes best_block_hash = 2;
|
|
void clear_best_block_hash() ;
|
|
const ::std::string& best_block_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_best_block_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_best_block_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_best_block_hash();
|
|
void set_allocated_best_block_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_best_block_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_best_block_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_best_block_hash();
|
|
|
|
public:
|
|
// bytes accumulated_difficulty = 5;
|
|
void clear_accumulated_difficulty() ;
|
|
const ::std::string& accumulated_difficulty() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_accumulated_difficulty(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_accumulated_difficulty();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_accumulated_difficulty();
|
|
void set_allocated_accumulated_difficulty(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_accumulated_difficulty() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_accumulated_difficulty(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_accumulated_difficulty();
|
|
|
|
public:
|
|
// uint64 best_block_height = 1;
|
|
void clear_best_block_height() ;
|
|
::uint64_t best_block_height() const;
|
|
void set_best_block_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_best_block_height() const;
|
|
void _internal_set_best_block_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 pruned_height = 6;
|
|
void clear_pruned_height() ;
|
|
::uint64_t pruned_height() const;
|
|
void set_pruned_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_pruned_height() const;
|
|
void _internal_set_pruned_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 timestamp = 7;
|
|
void clear_timestamp() ;
|
|
::uint64_t timestamp() const;
|
|
void set_timestamp(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_timestamp() const;
|
|
void _internal_set_timestamp(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.MetaData)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 5,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const MetaData& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr best_block_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr accumulated_difficulty_;
|
|
::uint64_t best_block_height_;
|
|
::uint64_t pruned_height_;
|
|
::uint64_t timestamp_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull MetaData_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MempoolStatsResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.MempoolStatsResponse) */ {
|
|
public:
|
|
inline MempoolStatsResponse() : MempoolStatsResponse(nullptr) {}
|
|
~MempoolStatsResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MempoolStatsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MempoolStatsResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MempoolStatsResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MempoolStatsResponse(const MempoolStatsResponse& from) : MempoolStatsResponse(nullptr, from) {}
|
|
inline MempoolStatsResponse(MempoolStatsResponse&& from) noexcept
|
|
: MempoolStatsResponse(nullptr, ::std::move(from)) {}
|
|
inline MempoolStatsResponse& operator=(const MempoolStatsResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MempoolStatsResponse& operator=(MempoolStatsResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const MempoolStatsResponse& default_instance() {
|
|
return *reinterpret_cast<const MempoolStatsResponse*>(
|
|
&_MempoolStatsResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 47;
|
|
friend void swap(MempoolStatsResponse& a, MempoolStatsResponse& b) { a.Swap(&b); }
|
|
inline void Swap(MempoolStatsResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(MempoolStatsResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MempoolStatsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<MempoolStatsResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const MempoolStatsResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const MempoolStatsResponse& from) { MempoolStatsResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(MempoolStatsResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.MempoolStatsResponse"; }
|
|
|
|
protected:
|
|
explicit MempoolStatsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MempoolStatsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MempoolStatsResponse& from);
|
|
MempoolStatsResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MempoolStatsResponse&& from) noexcept
|
|
: MempoolStatsResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kUnconfirmedTxsFieldNumber = 2,
|
|
kReorgTxsFieldNumber = 3,
|
|
kUnconfirmedWeightFieldNumber = 4,
|
|
};
|
|
// uint64 unconfirmed_txs = 2;
|
|
void clear_unconfirmed_txs() ;
|
|
::uint64_t unconfirmed_txs() const;
|
|
void set_unconfirmed_txs(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_unconfirmed_txs() const;
|
|
void _internal_set_unconfirmed_txs(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 reorg_txs = 3;
|
|
void clear_reorg_txs() ;
|
|
::uint64_t reorg_txs() const;
|
|
void set_reorg_txs(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_reorg_txs() const;
|
|
void _internal_set_reorg_txs(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 unconfirmed_weight = 4;
|
|
void clear_unconfirmed_weight() ;
|
|
::uint64_t unconfirmed_weight() const;
|
|
void set_unconfirmed_weight(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_unconfirmed_weight() const;
|
|
void _internal_set_unconfirmed_weight(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.MempoolStatsResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const MempoolStatsResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t unconfirmed_txs_;
|
|
::uint64_t reorg_txs_;
|
|
::uint64_t unconfirmed_weight_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull MempoolStatsResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class LivenessResult final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.LivenessResult) */ {
|
|
public:
|
|
inline LivenessResult() : LivenessResult(nullptr) {}
|
|
~LivenessResult() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(LivenessResult* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(LivenessResult));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR LivenessResult(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline LivenessResult(const LivenessResult& from) : LivenessResult(nullptr, from) {}
|
|
inline LivenessResult(LivenessResult&& from) noexcept
|
|
: LivenessResult(nullptr, ::std::move(from)) {}
|
|
inline LivenessResult& operator=(const LivenessResult& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline LivenessResult& operator=(LivenessResult&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const LivenessResult& default_instance() {
|
|
return *reinterpret_cast<const LivenessResult*>(
|
|
&_LivenessResult_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 64;
|
|
friend void swap(LivenessResult& a, LivenessResult& b) { a.Swap(&b); }
|
|
inline void Swap(LivenessResult* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(LivenessResult* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
LivenessResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<LivenessResult>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const LivenessResult& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const LivenessResult& from) { LivenessResult::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(LivenessResult* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.LivenessResult"; }
|
|
|
|
protected:
|
|
explicit LivenessResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
LivenessResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LivenessResult& from);
|
|
LivenessResult(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LivenessResult&& from) noexcept
|
|
: LivenessResult(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPeerNodeIdFieldNumber = 1,
|
|
kDiscoverLatencyFieldNumber = 2,
|
|
kPingLatencyFieldNumber = 3,
|
|
};
|
|
// bytes peer_node_id = 1;
|
|
void clear_peer_node_id() ;
|
|
const ::std::string& peer_node_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_peer_node_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_peer_node_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_peer_node_id();
|
|
void set_allocated_peer_node_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_peer_node_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_peer_node_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_peer_node_id();
|
|
|
|
public:
|
|
// uint64 discover_latency = 2;
|
|
void clear_discover_latency() ;
|
|
::uint64_t discover_latency() const;
|
|
void set_discover_latency(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_discover_latency() const;
|
|
void _internal_set_discover_latency(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 ping_latency = 3;
|
|
void clear_ping_latency() ;
|
|
::uint64_t ping_latency() const;
|
|
void set_ping_latency(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_ping_latency() const;
|
|
void _internal_set_ping_latency(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.LivenessResult)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const LivenessResult& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr peer_node_id_;
|
|
::uint64_t discover_latency_;
|
|
::uint64_t ping_latency_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull LivenessResult_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ListHeadersRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.ListHeadersRequest) */ {
|
|
public:
|
|
inline ListHeadersRequest() : ListHeadersRequest(nullptr) {}
|
|
~ListHeadersRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ListHeadersRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ListHeadersRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ListHeadersRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ListHeadersRequest(const ListHeadersRequest& from) : ListHeadersRequest(nullptr, from) {}
|
|
inline ListHeadersRequest(ListHeadersRequest&& from) noexcept
|
|
: ListHeadersRequest(nullptr, ::std::move(from)) {}
|
|
inline ListHeadersRequest& operator=(const ListHeadersRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ListHeadersRequest& operator=(ListHeadersRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ListHeadersRequest& default_instance() {
|
|
return *reinterpret_cast<const ListHeadersRequest*>(
|
|
&_ListHeadersRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 26;
|
|
friend void swap(ListHeadersRequest& a, ListHeadersRequest& b) { a.Swap(&b); }
|
|
inline void Swap(ListHeadersRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ListHeadersRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ListHeadersRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<ListHeadersRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const ListHeadersRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const ListHeadersRequest& from) { ListHeadersRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ListHeadersRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.ListHeadersRequest"; }
|
|
|
|
protected:
|
|
explicit ListHeadersRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ListHeadersRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ListHeadersRequest& from);
|
|
ListHeadersRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ListHeadersRequest&& from) noexcept
|
|
: ListHeadersRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kFromHeightFieldNumber = 1,
|
|
kNumHeadersFieldNumber = 2,
|
|
kSortingFieldNumber = 3,
|
|
};
|
|
// uint64 from_height = 1;
|
|
void clear_from_height() ;
|
|
::uint64_t from_height() const;
|
|
void set_from_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_from_height() const;
|
|
void _internal_set_from_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 num_headers = 2;
|
|
void clear_num_headers() ;
|
|
::uint64_t num_headers() const;
|
|
void set_num_headers(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_num_headers() const;
|
|
void _internal_set_num_headers(::uint64_t value);
|
|
|
|
public:
|
|
// .tari.rpc.Sorting sorting = 3;
|
|
void clear_sorting() ;
|
|
::tari::rpc::Sorting sorting() const;
|
|
void set_sorting(::tari::rpc::Sorting value);
|
|
|
|
private:
|
|
::tari::rpc::Sorting _internal_sorting() const;
|
|
void _internal_set_sorting(::tari::rpc::Sorting value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.ListHeadersRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ListHeadersRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t from_height_;
|
|
::uint64_t num_headers_;
|
|
int sorting_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull ListHeadersRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ListAssetRegistrationsRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.ListAssetRegistrationsRequest) */ {
|
|
public:
|
|
inline ListAssetRegistrationsRequest() : ListAssetRegistrationsRequest(nullptr) {}
|
|
~ListAssetRegistrationsRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ListAssetRegistrationsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ListAssetRegistrationsRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ListAssetRegistrationsRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ListAssetRegistrationsRequest(const ListAssetRegistrationsRequest& from) : ListAssetRegistrationsRequest(nullptr, from) {}
|
|
inline ListAssetRegistrationsRequest(ListAssetRegistrationsRequest&& from) noexcept
|
|
: ListAssetRegistrationsRequest(nullptr, ::std::move(from)) {}
|
|
inline ListAssetRegistrationsRequest& operator=(const ListAssetRegistrationsRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ListAssetRegistrationsRequest& operator=(ListAssetRegistrationsRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ListAssetRegistrationsRequest& default_instance() {
|
|
return *reinterpret_cast<const ListAssetRegistrationsRequest*>(
|
|
&_ListAssetRegistrationsRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 2;
|
|
friend void swap(ListAssetRegistrationsRequest& a, ListAssetRegistrationsRequest& b) { a.Swap(&b); }
|
|
inline void Swap(ListAssetRegistrationsRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ListAssetRegistrationsRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ListAssetRegistrationsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<ListAssetRegistrationsRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const ListAssetRegistrationsRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const ListAssetRegistrationsRequest& from) { ListAssetRegistrationsRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ListAssetRegistrationsRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.ListAssetRegistrationsRequest"; }
|
|
|
|
protected:
|
|
explicit ListAssetRegistrationsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ListAssetRegistrationsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ListAssetRegistrationsRequest& from);
|
|
ListAssetRegistrationsRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ListAssetRegistrationsRequest&& from) noexcept
|
|
: ListAssetRegistrationsRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kOffsetFieldNumber = 2,
|
|
kCountFieldNumber = 3,
|
|
};
|
|
// uint64 offset = 2;
|
|
void clear_offset() ;
|
|
::uint64_t offset() const;
|
|
void set_offset(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_offset() const;
|
|
void _internal_set_offset(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 count = 3;
|
|
void clear_count() ;
|
|
::uint64_t count() const;
|
|
void set_count(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_count() const;
|
|
void _internal_set_count(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.ListAssetRegistrationsRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ListAssetRegistrationsRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t offset_;
|
|
::uint64_t count_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull ListAssetRegistrationsRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class IntegerValue final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.IntegerValue) */ {
|
|
public:
|
|
inline IntegerValue() : IntegerValue(nullptr) {}
|
|
~IntegerValue() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(IntegerValue* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(IntegerValue));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR IntegerValue(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline IntegerValue(const IntegerValue& from) : IntegerValue(nullptr, from) {}
|
|
inline IntegerValue(IntegerValue&& from) noexcept
|
|
: IntegerValue(nullptr, ::std::move(from)) {}
|
|
inline IntegerValue& operator=(const IntegerValue& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline IntegerValue& operator=(IntegerValue&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const IntegerValue& default_instance() {
|
|
return *reinterpret_cast<const IntegerValue*>(
|
|
&_IntegerValue_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 18;
|
|
friend void swap(IntegerValue& a, IntegerValue& b) { a.Swap(&b); }
|
|
inline void Swap(IntegerValue* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(IntegerValue* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
IntegerValue* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<IntegerValue>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const IntegerValue& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const IntegerValue& from) { IntegerValue::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(IntegerValue* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.IntegerValue"; }
|
|
|
|
protected:
|
|
explicit IntegerValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
IntegerValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntegerValue& from);
|
|
IntegerValue(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntegerValue&& from) noexcept
|
|
: IntegerValue(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kValueFieldNumber = 1,
|
|
};
|
|
// uint64 value = 1;
|
|
void clear_value() ;
|
|
::uint64_t value() const;
|
|
void set_value(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_value() const;
|
|
void _internal_set_value(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.IntegerValue)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const IntegerValue& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t value_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull IntegerValue_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class HeightRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.HeightRequest) */ {
|
|
public:
|
|
inline HeightRequest() : HeightRequest(nullptr) {}
|
|
~HeightRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(HeightRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(HeightRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR HeightRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline HeightRequest(const HeightRequest& from) : HeightRequest(nullptr, from) {}
|
|
inline HeightRequest(HeightRequest&& from) noexcept
|
|
: HeightRequest(nullptr, ::std::move(from)) {}
|
|
inline HeightRequest& operator=(const HeightRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline HeightRequest& operator=(HeightRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const HeightRequest& default_instance() {
|
|
return *reinterpret_cast<const HeightRequest*>(
|
|
&_HeightRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 22;
|
|
friend void swap(HeightRequest& a, HeightRequest& b) { a.Swap(&b); }
|
|
inline void Swap(HeightRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(HeightRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
HeightRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<HeightRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const HeightRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const HeightRequest& from) { HeightRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(HeightRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.HeightRequest"; }
|
|
|
|
protected:
|
|
explicit HeightRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
HeightRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const HeightRequest& from);
|
|
HeightRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, HeightRequest&& from) noexcept
|
|
: HeightRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kFromTipFieldNumber = 1,
|
|
kStartHeightFieldNumber = 2,
|
|
kEndHeightFieldNumber = 3,
|
|
};
|
|
// uint64 from_tip = 1;
|
|
void clear_from_tip() ;
|
|
::uint64_t from_tip() const;
|
|
void set_from_tip(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_from_tip() const;
|
|
void _internal_set_from_tip(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 start_height = 2;
|
|
void clear_start_height() ;
|
|
::uint64_t start_height() const;
|
|
void set_start_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_start_height() const;
|
|
void _internal_set_start_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 end_height = 3;
|
|
void clear_end_height() ;
|
|
::uint64_t end_height() const;
|
|
void set_end_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_end_height() const;
|
|
void _internal_set_end_height(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.HeightRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const HeightRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t from_tip_;
|
|
::uint64_t start_height_;
|
|
::uint64_t end_height_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull HeightRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetValidatorNodeChangesRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetValidatorNodeChangesRequest) */ {
|
|
public:
|
|
inline GetValidatorNodeChangesRequest() : GetValidatorNodeChangesRequest(nullptr) {}
|
|
~GetValidatorNodeChangesRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetValidatorNodeChangesRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetValidatorNodeChangesRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetValidatorNodeChangesRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetValidatorNodeChangesRequest(const GetValidatorNodeChangesRequest& from) : GetValidatorNodeChangesRequest(nullptr, from) {}
|
|
inline GetValidatorNodeChangesRequest(GetValidatorNodeChangesRequest&& from) noexcept
|
|
: GetValidatorNodeChangesRequest(nullptr, ::std::move(from)) {}
|
|
inline GetValidatorNodeChangesRequest& operator=(const GetValidatorNodeChangesRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetValidatorNodeChangesRequest& operator=(GetValidatorNodeChangesRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetValidatorNodeChangesRequest& default_instance() {
|
|
return *reinterpret_cast<const GetValidatorNodeChangesRequest*>(
|
|
&_GetValidatorNodeChangesRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 50;
|
|
friend void swap(GetValidatorNodeChangesRequest& a, GetValidatorNodeChangesRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetValidatorNodeChangesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetValidatorNodeChangesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetValidatorNodeChangesRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetValidatorNodeChangesRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetValidatorNodeChangesRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetValidatorNodeChangesRequest& from) { GetValidatorNodeChangesRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetValidatorNodeChangesRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetValidatorNodeChangesRequest"; }
|
|
|
|
protected:
|
|
explicit GetValidatorNodeChangesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetValidatorNodeChangesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetValidatorNodeChangesRequest& from);
|
|
GetValidatorNodeChangesRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetValidatorNodeChangesRequest&& from) noexcept
|
|
: GetValidatorNodeChangesRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSidechainIdFieldNumber = 2,
|
|
kEpochFieldNumber = 1,
|
|
};
|
|
// bytes sidechain_id = 2;
|
|
void clear_sidechain_id() ;
|
|
const ::std::string& sidechain_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_sidechain_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_sidechain_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_sidechain_id();
|
|
void set_allocated_sidechain_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_sidechain_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_sidechain_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_sidechain_id();
|
|
|
|
public:
|
|
// uint64 epoch = 1;
|
|
void clear_epoch() ;
|
|
::uint64_t epoch() const;
|
|
void set_epoch(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_epoch() const;
|
|
void _internal_set_epoch(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetValidatorNodeChangesRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetValidatorNodeChangesRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr sidechain_id_;
|
|
::uint64_t epoch_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetValidatorNodeChangesRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetTokensRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetTokensRequest) */ {
|
|
public:
|
|
inline GetTokensRequest() : GetTokensRequest(nullptr) {}
|
|
~GetTokensRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetTokensRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetTokensRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetTokensRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetTokensRequest(const GetTokensRequest& from) : GetTokensRequest(nullptr, from) {}
|
|
inline GetTokensRequest(GetTokensRequest&& from) noexcept
|
|
: GetTokensRequest(nullptr, ::std::move(from)) {}
|
|
inline GetTokensRequest& operator=(const GetTokensRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetTokensRequest& operator=(GetTokensRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetTokensRequest& default_instance() {
|
|
return *reinterpret_cast<const GetTokensRequest*>(
|
|
&_GetTokensRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 4;
|
|
friend void swap(GetTokensRequest& a, GetTokensRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetTokensRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetTokensRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetTokensRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetTokensRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetTokensRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetTokensRequest& from) { GetTokensRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetTokensRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetTokensRequest"; }
|
|
|
|
protected:
|
|
explicit GetTokensRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetTokensRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTokensRequest& from);
|
|
GetTokensRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetTokensRequest&& from) noexcept
|
|
: GetTokensRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kUniqueIdsFieldNumber = 2,
|
|
kAssetPublicKeyFieldNumber = 1,
|
|
};
|
|
// repeated bytes unique_ids = 2;
|
|
int unique_ids_size() const;
|
|
private:
|
|
int _internal_unique_ids_size() const;
|
|
|
|
public:
|
|
void clear_unique_ids() ;
|
|
const ::std::string& unique_ids(int index) const;
|
|
::std::string* PROTOBUF_NONNULL mutable_unique_ids(int index);
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_unique_ids(int index, Arg_&& value, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL add_unique_ids();
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void add_unique_ids(Arg_&& value, Args_... args);
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& unique_ids() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_unique_ids();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_unique_ids() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_unique_ids();
|
|
|
|
public:
|
|
// bytes asset_public_key = 1;
|
|
void clear_asset_public_key() ;
|
|
const ::std::string& asset_public_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_asset_public_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_asset_public_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_asset_public_key();
|
|
void set_allocated_asset_public_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_asset_public_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_asset_public_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_asset_public_key();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetTokensRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetTokensRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField<::std::string> unique_ids_;
|
|
::google::protobuf::internal::ArenaStringPtr asset_public_key_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetTokensRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetTemplateRegistrationsRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetTemplateRegistrationsRequest) */ {
|
|
public:
|
|
inline GetTemplateRegistrationsRequest() : GetTemplateRegistrationsRequest(nullptr) {}
|
|
~GetTemplateRegistrationsRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetTemplateRegistrationsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetTemplateRegistrationsRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetTemplateRegistrationsRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetTemplateRegistrationsRequest(const GetTemplateRegistrationsRequest& from) : GetTemplateRegistrationsRequest(nullptr, from) {}
|
|
inline GetTemplateRegistrationsRequest(GetTemplateRegistrationsRequest&& from) noexcept
|
|
: GetTemplateRegistrationsRequest(nullptr, ::std::move(from)) {}
|
|
inline GetTemplateRegistrationsRequest& operator=(const GetTemplateRegistrationsRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetTemplateRegistrationsRequest& operator=(GetTemplateRegistrationsRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetTemplateRegistrationsRequest& default_instance() {
|
|
return *reinterpret_cast<const GetTemplateRegistrationsRequest*>(
|
|
&_GetTemplateRegistrationsRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 57;
|
|
friend void swap(GetTemplateRegistrationsRequest& a, GetTemplateRegistrationsRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetTemplateRegistrationsRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetTemplateRegistrationsRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetTemplateRegistrationsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetTemplateRegistrationsRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetTemplateRegistrationsRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetTemplateRegistrationsRequest& from) { GetTemplateRegistrationsRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetTemplateRegistrationsRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetTemplateRegistrationsRequest"; }
|
|
|
|
protected:
|
|
explicit GetTemplateRegistrationsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetTemplateRegistrationsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTemplateRegistrationsRequest& from);
|
|
GetTemplateRegistrationsRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetTemplateRegistrationsRequest&& from) noexcept
|
|
: GetTemplateRegistrationsRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kStartHashFieldNumber = 1,
|
|
kCountFieldNumber = 2,
|
|
};
|
|
// bytes start_hash = 1;
|
|
void clear_start_hash() ;
|
|
const ::std::string& start_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_start_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_start_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_start_hash();
|
|
void set_allocated_start_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_start_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_start_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_start_hash();
|
|
|
|
public:
|
|
// uint64 count = 2;
|
|
void clear_count() ;
|
|
::uint64_t count() const;
|
|
void set_count(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_count() const;
|
|
void _internal_set_count(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetTemplateRegistrationsRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetTemplateRegistrationsRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr start_hash_;
|
|
::uint64_t count_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetTemplateRegistrationsRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetSideChainUtxosRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetSideChainUtxosRequest) */ {
|
|
public:
|
|
inline GetSideChainUtxosRequest() : GetSideChainUtxosRequest(nullptr) {}
|
|
~GetSideChainUtxosRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetSideChainUtxosRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetSideChainUtxosRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetSideChainUtxosRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetSideChainUtxosRequest(const GetSideChainUtxosRequest& from) : GetSideChainUtxosRequest(nullptr, from) {}
|
|
inline GetSideChainUtxosRequest(GetSideChainUtxosRequest&& from) noexcept
|
|
: GetSideChainUtxosRequest(nullptr, ::std::move(from)) {}
|
|
inline GetSideChainUtxosRequest& operator=(const GetSideChainUtxosRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetSideChainUtxosRequest& operator=(GetSideChainUtxosRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetSideChainUtxosRequest& default_instance() {
|
|
return *reinterpret_cast<const GetSideChainUtxosRequest*>(
|
|
&_GetSideChainUtxosRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 60;
|
|
friend void swap(GetSideChainUtxosRequest& a, GetSideChainUtxosRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetSideChainUtxosRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetSideChainUtxosRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetSideChainUtxosRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetSideChainUtxosRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetSideChainUtxosRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetSideChainUtxosRequest& from) { GetSideChainUtxosRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetSideChainUtxosRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetSideChainUtxosRequest"; }
|
|
|
|
protected:
|
|
explicit GetSideChainUtxosRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetSideChainUtxosRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetSideChainUtxosRequest& from);
|
|
GetSideChainUtxosRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetSideChainUtxosRequest&& from) noexcept
|
|
: GetSideChainUtxosRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kStartHashFieldNumber = 1,
|
|
kCountFieldNumber = 2,
|
|
};
|
|
// bytes start_hash = 1;
|
|
void clear_start_hash() ;
|
|
const ::std::string& start_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_start_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_start_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_start_hash();
|
|
void set_allocated_start_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_start_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_start_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_start_hash();
|
|
|
|
public:
|
|
// uint64 count = 2;
|
|
void clear_count() ;
|
|
::uint64_t count() const;
|
|
void set_count(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_count() const;
|
|
void _internal_set_count(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetSideChainUtxosRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetSideChainUtxosRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr start_hash_;
|
|
::uint64_t count_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetSideChainUtxosRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetShardKeyResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetShardKeyResponse) */ {
|
|
public:
|
|
inline GetShardKeyResponse() : GetShardKeyResponse(nullptr) {}
|
|
~GetShardKeyResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetShardKeyResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetShardKeyResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetShardKeyResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetShardKeyResponse(const GetShardKeyResponse& from) : GetShardKeyResponse(nullptr, from) {}
|
|
inline GetShardKeyResponse(GetShardKeyResponse&& from) noexcept
|
|
: GetShardKeyResponse(nullptr, ::std::move(from)) {}
|
|
inline GetShardKeyResponse& operator=(const GetShardKeyResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetShardKeyResponse& operator=(GetShardKeyResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetShardKeyResponse& default_instance() {
|
|
return *reinterpret_cast<const GetShardKeyResponse*>(
|
|
&_GetShardKeyResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 56;
|
|
friend void swap(GetShardKeyResponse& a, GetShardKeyResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetShardKeyResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetShardKeyResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetShardKeyResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetShardKeyResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetShardKeyResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetShardKeyResponse& from) { GetShardKeyResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetShardKeyResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetShardKeyResponse"; }
|
|
|
|
protected:
|
|
explicit GetShardKeyResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetShardKeyResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetShardKeyResponse& from);
|
|
GetShardKeyResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetShardKeyResponse&& from) noexcept
|
|
: GetShardKeyResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kShardKeyFieldNumber = 1,
|
|
};
|
|
// bytes shard_key = 1;
|
|
void clear_shard_key() ;
|
|
const ::std::string& shard_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_shard_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_shard_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_shard_key();
|
|
void set_allocated_shard_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_shard_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_shard_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_shard_key();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetShardKeyResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetShardKeyResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr shard_key_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetShardKeyResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetShardKeyRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetShardKeyRequest) */ {
|
|
public:
|
|
inline GetShardKeyRequest() : GetShardKeyRequest(nullptr) {}
|
|
~GetShardKeyRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetShardKeyRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetShardKeyRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetShardKeyRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetShardKeyRequest(const GetShardKeyRequest& from) : GetShardKeyRequest(nullptr, from) {}
|
|
inline GetShardKeyRequest(GetShardKeyRequest&& from) noexcept
|
|
: GetShardKeyRequest(nullptr, ::std::move(from)) {}
|
|
inline GetShardKeyRequest& operator=(const GetShardKeyRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetShardKeyRequest& operator=(GetShardKeyRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetShardKeyRequest& default_instance() {
|
|
return *reinterpret_cast<const GetShardKeyRequest*>(
|
|
&_GetShardKeyRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 55;
|
|
friend void swap(GetShardKeyRequest& a, GetShardKeyRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetShardKeyRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetShardKeyRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetShardKeyRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetShardKeyRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetShardKeyRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetShardKeyRequest& from) { GetShardKeyRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetShardKeyRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetShardKeyRequest"; }
|
|
|
|
protected:
|
|
explicit GetShardKeyRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetShardKeyRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetShardKeyRequest& from);
|
|
GetShardKeyRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetShardKeyRequest&& from) noexcept
|
|
: GetShardKeyRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPublicKeyFieldNumber = 2,
|
|
kEpochFieldNumber = 1,
|
|
};
|
|
// bytes public_key = 2;
|
|
void clear_public_key() ;
|
|
const ::std::string& public_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_public_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_public_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_public_key();
|
|
void set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_public_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_public_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_public_key();
|
|
|
|
public:
|
|
// uint64 epoch = 1;
|
|
void clear_epoch() ;
|
|
::uint64_t epoch() const;
|
|
void set_epoch(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_epoch() const;
|
|
void _internal_set_epoch(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetShardKeyRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetShardKeyRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr public_key_;
|
|
::uint64_t epoch_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetShardKeyRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetPeersRequest final : public ::google::protobuf::internal::ZeroFieldsBase
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetPeersRequest) */ {
|
|
public:
|
|
inline GetPeersRequest() : GetPeersRequest(nullptr) {}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetPeersRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetPeersRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetPeersRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetPeersRequest(const GetPeersRequest& from) : GetPeersRequest(nullptr, from) {}
|
|
inline GetPeersRequest(GetPeersRequest&& from) noexcept
|
|
: GetPeersRequest(nullptr, ::std::move(from)) {}
|
|
inline GetPeersRequest& operator=(const GetPeersRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetPeersRequest& operator=(GetPeersRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetPeersRequest& default_instance() {
|
|
return *reinterpret_cast<const GetPeersRequest*>(
|
|
&_GetPeersRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 40;
|
|
friend void swap(GetPeersRequest& a, GetPeersRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetPeersRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetPeersRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetPeersRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<GetPeersRequest>(arena);
|
|
}
|
|
using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
|
|
inline void CopyFrom(const GetPeersRequest& from) {
|
|
::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
|
|
}
|
|
using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
|
|
void MergeFrom(const GetPeersRequest& from) {
|
|
::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
|
|
}
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetPeersRequest"; }
|
|
|
|
protected:
|
|
explicit GetPeersRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetPeersRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPeersRequest& from);
|
|
GetPeersRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetPeersRequest&& from) noexcept
|
|
: GetPeersRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetPeersRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 0,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetPeersRequest& from_msg);
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetPeersRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetNewBlockBlobResult final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetNewBlockBlobResult) */ {
|
|
public:
|
|
inline GetNewBlockBlobResult() : GetNewBlockBlobResult(nullptr) {}
|
|
~GetNewBlockBlobResult() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetNewBlockBlobResult* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetNewBlockBlobResult));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetNewBlockBlobResult(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetNewBlockBlobResult(const GetNewBlockBlobResult& from) : GetNewBlockBlobResult(nullptr, from) {}
|
|
inline GetNewBlockBlobResult(GetNewBlockBlobResult&& from) noexcept
|
|
: GetNewBlockBlobResult(nullptr, ::std::move(from)) {}
|
|
inline GetNewBlockBlobResult& operator=(const GetNewBlockBlobResult& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetNewBlockBlobResult& operator=(GetNewBlockBlobResult&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetNewBlockBlobResult& default_instance() {
|
|
return *reinterpret_cast<const GetNewBlockBlobResult*>(
|
|
&_GetNewBlockBlobResult_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 33;
|
|
friend void swap(GetNewBlockBlobResult& a, GetNewBlockBlobResult& b) { a.Swap(&b); }
|
|
inline void Swap(GetNewBlockBlobResult* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetNewBlockBlobResult* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetNewBlockBlobResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetNewBlockBlobResult>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetNewBlockBlobResult& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetNewBlockBlobResult& from) { GetNewBlockBlobResult::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetNewBlockBlobResult* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetNewBlockBlobResult"; }
|
|
|
|
protected:
|
|
explicit GetNewBlockBlobResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetNewBlockBlobResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNewBlockBlobResult& from);
|
|
GetNewBlockBlobResult(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetNewBlockBlobResult&& from) noexcept
|
|
: GetNewBlockBlobResult(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kBlockHashFieldNumber = 1,
|
|
kHeaderFieldNumber = 2,
|
|
kBlockBodyFieldNumber = 3,
|
|
kMergeMiningHashFieldNumber = 4,
|
|
kUtxoMrFieldNumber = 5,
|
|
kTariUniqueIdFieldNumber = 6,
|
|
};
|
|
// bytes block_hash = 1;
|
|
void clear_block_hash() ;
|
|
const ::std::string& block_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_block_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_block_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_block_hash();
|
|
void set_allocated_block_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_block_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_block_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_block_hash();
|
|
|
|
public:
|
|
// bytes header = 2;
|
|
void clear_header() ;
|
|
const ::std::string& header() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_header(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_header();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_header();
|
|
void set_allocated_header(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_header() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_header(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_header();
|
|
|
|
public:
|
|
// bytes block_body = 3;
|
|
void clear_block_body() ;
|
|
const ::std::string& block_body() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_block_body(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_block_body();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_block_body();
|
|
void set_allocated_block_body(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_block_body() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_block_body(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_block_body();
|
|
|
|
public:
|
|
// bytes merge_mining_hash = 4;
|
|
void clear_merge_mining_hash() ;
|
|
const ::std::string& merge_mining_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_merge_mining_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_merge_mining_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_merge_mining_hash();
|
|
void set_allocated_merge_mining_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_merge_mining_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_merge_mining_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_merge_mining_hash();
|
|
|
|
public:
|
|
// bytes utxo_mr = 5;
|
|
void clear_utxo_mr() ;
|
|
const ::std::string& utxo_mr() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_utxo_mr(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_utxo_mr();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_utxo_mr();
|
|
void set_allocated_utxo_mr(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_utxo_mr() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_utxo_mr(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_utxo_mr();
|
|
|
|
public:
|
|
// bytes tari_unique_id = 6;
|
|
void clear_tari_unique_id() ;
|
|
const ::std::string& tari_unique_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_tari_unique_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_tari_unique_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_tari_unique_id();
|
|
void set_allocated_tari_unique_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_tari_unique_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_tari_unique_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_tari_unique_id();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetNewBlockBlobResult)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 6,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetNewBlockBlobResult& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr block_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr header_;
|
|
::google::protobuf::internal::ArenaStringPtr block_body_;
|
|
::google::protobuf::internal::ArenaStringPtr merge_mining_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr utxo_mr_;
|
|
::google::protobuf::internal::ArenaStringPtr tari_unique_id_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNewBlockBlobResult_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetNetworkStateRequest final : public ::google::protobuf::internal::ZeroFieldsBase
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetNetworkStateRequest) */ {
|
|
public:
|
|
inline GetNetworkStateRequest() : GetNetworkStateRequest(nullptr) {}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetNetworkStateRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetNetworkStateRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetNetworkStateRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetNetworkStateRequest(const GetNetworkStateRequest& from) : GetNetworkStateRequest(nullptr, from) {}
|
|
inline GetNetworkStateRequest(GetNetworkStateRequest&& from) noexcept
|
|
: GetNetworkStateRequest(nullptr, ::std::move(from)) {}
|
|
inline GetNetworkStateRequest& operator=(const GetNetworkStateRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetNetworkStateRequest& operator=(GetNetworkStateRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetNetworkStateRequest& default_instance() {
|
|
return *reinterpret_cast<const GetNetworkStateRequest*>(
|
|
&_GetNetworkStateRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 62;
|
|
friend void swap(GetNetworkStateRequest& a, GetNetworkStateRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetNetworkStateRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetNetworkStateRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetNetworkStateRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<GetNetworkStateRequest>(arena);
|
|
}
|
|
using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
|
|
inline void CopyFrom(const GetNetworkStateRequest& from) {
|
|
::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
|
|
}
|
|
using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
|
|
void MergeFrom(const GetNetworkStateRequest& from) {
|
|
::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
|
|
}
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetNetworkStateRequest"; }
|
|
|
|
protected:
|
|
explicit GetNetworkStateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetNetworkStateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNetworkStateRequest& from);
|
|
GetNetworkStateRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetNetworkStateRequest&& from) noexcept
|
|
: GetNetworkStateRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetNetworkStateRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 0,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetNetworkStateRequest& from_msg);
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNetworkStateRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetMempoolTransactionsRequest final : public ::google::protobuf::internal::ZeroFieldsBase
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetMempoolTransactionsRequest) */ {
|
|
public:
|
|
inline GetMempoolTransactionsRequest() : GetMempoolTransactionsRequest(nullptr) {}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetMempoolTransactionsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetMempoolTransactionsRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetMempoolTransactionsRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetMempoolTransactionsRequest(const GetMempoolTransactionsRequest& from) : GetMempoolTransactionsRequest(nullptr, from) {}
|
|
inline GetMempoolTransactionsRequest(GetMempoolTransactionsRequest&& from) noexcept
|
|
: GetMempoolTransactionsRequest(nullptr, ::std::move(from)) {}
|
|
inline GetMempoolTransactionsRequest& operator=(const GetMempoolTransactionsRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetMempoolTransactionsRequest& operator=(GetMempoolTransactionsRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetMempoolTransactionsRequest& default_instance() {
|
|
return *reinterpret_cast<const GetMempoolTransactionsRequest*>(
|
|
&_GetMempoolTransactionsRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 43;
|
|
friend void swap(GetMempoolTransactionsRequest& a, GetMempoolTransactionsRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetMempoolTransactionsRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetMempoolTransactionsRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetMempoolTransactionsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<GetMempoolTransactionsRequest>(arena);
|
|
}
|
|
using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
|
|
inline void CopyFrom(const GetMempoolTransactionsRequest& from) {
|
|
::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
|
|
}
|
|
using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
|
|
void MergeFrom(const GetMempoolTransactionsRequest& from) {
|
|
::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
|
|
}
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetMempoolTransactionsRequest"; }
|
|
|
|
protected:
|
|
explicit GetMempoolTransactionsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetMempoolTransactionsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetMempoolTransactionsRequest& from);
|
|
GetMempoolTransactionsRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetMempoolTransactionsRequest&& from) noexcept
|
|
: GetMempoolTransactionsRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetMempoolTransactionsRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 0,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetMempoolTransactionsRequest& from_msg);
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetMempoolTransactionsRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetHeaderByHashRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetHeaderByHashRequest) */ {
|
|
public:
|
|
inline GetHeaderByHashRequest() : GetHeaderByHashRequest(nullptr) {}
|
|
~GetHeaderByHashRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetHeaderByHashRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetHeaderByHashRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetHeaderByHashRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetHeaderByHashRequest(const GetHeaderByHashRequest& from) : GetHeaderByHashRequest(nullptr, from) {}
|
|
inline GetHeaderByHashRequest(GetHeaderByHashRequest&& from) noexcept
|
|
: GetHeaderByHashRequest(nullptr, ::std::move(from)) {}
|
|
inline GetHeaderByHashRequest& operator=(const GetHeaderByHashRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetHeaderByHashRequest& operator=(GetHeaderByHashRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetHeaderByHashRequest& default_instance() {
|
|
return *reinterpret_cast<const GetHeaderByHashRequest*>(
|
|
&_GetHeaderByHashRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 24;
|
|
friend void swap(GetHeaderByHashRequest& a, GetHeaderByHashRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetHeaderByHashRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetHeaderByHashRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetHeaderByHashRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetHeaderByHashRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetHeaderByHashRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetHeaderByHashRequest& from) { GetHeaderByHashRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetHeaderByHashRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetHeaderByHashRequest"; }
|
|
|
|
protected:
|
|
explicit GetHeaderByHashRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetHeaderByHashRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetHeaderByHashRequest& from);
|
|
GetHeaderByHashRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetHeaderByHashRequest&& from) noexcept
|
|
: GetHeaderByHashRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kHashFieldNumber = 1,
|
|
};
|
|
// bytes hash = 1;
|
|
void clear_hash() ;
|
|
const ::std::string& hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_hash();
|
|
void set_allocated_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_hash();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetHeaderByHashRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetHeaderByHashRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr hash_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetHeaderByHashRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetBlocksRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetBlocksRequest) */ {
|
|
public:
|
|
inline GetBlocksRequest() : GetBlocksRequest(nullptr) {}
|
|
~GetBlocksRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetBlocksRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetBlocksRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetBlocksRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetBlocksRequest(const GetBlocksRequest& from) : GetBlocksRequest(nullptr, from) {}
|
|
inline GetBlocksRequest(GetBlocksRequest&& from) noexcept
|
|
: GetBlocksRequest(nullptr, ::std::move(from)) {}
|
|
inline GetBlocksRequest& operator=(const GetBlocksRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetBlocksRequest& operator=(GetBlocksRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetBlocksRequest& default_instance() {
|
|
return *reinterpret_cast<const GetBlocksRequest*>(
|
|
&_GetBlocksRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 27;
|
|
friend void swap(GetBlocksRequest& a, GetBlocksRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetBlocksRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetBlocksRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetBlocksRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetBlocksRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetBlocksRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetBlocksRequest& from) { GetBlocksRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetBlocksRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetBlocksRequest"; }
|
|
|
|
protected:
|
|
explicit GetBlocksRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetBlocksRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBlocksRequest& from);
|
|
GetBlocksRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetBlocksRequest&& from) noexcept
|
|
: GetBlocksRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kHeightsFieldNumber = 1,
|
|
};
|
|
// repeated uint64 heights = 1;
|
|
int heights_size() const;
|
|
private:
|
|
int _internal_heights_size() const;
|
|
|
|
public:
|
|
void clear_heights() ;
|
|
::uint64_t heights(int index) const;
|
|
void set_heights(int index, ::uint64_t value);
|
|
void add_heights(::uint64_t value);
|
|
const ::google::protobuf::RepeatedField<::uint64_t>& heights() const;
|
|
::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL mutable_heights();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<::uint64_t>& _internal_heights() const;
|
|
::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL _internal_mutable_heights();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetBlocksRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetBlocksRequest& from_msg);
|
|
::google::protobuf::RepeatedField<::uint64_t> heights_;
|
|
::google::protobuf::internal::CachedSize _heights_cached_byte_size_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetBlocksRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetAssetMetadataRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetAssetMetadataRequest) */ {
|
|
public:
|
|
inline GetAssetMetadataRequest() : GetAssetMetadataRequest(nullptr) {}
|
|
~GetAssetMetadataRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetAssetMetadataRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetAssetMetadataRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetAssetMetadataRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetAssetMetadataRequest(const GetAssetMetadataRequest& from) : GetAssetMetadataRequest(nullptr, from) {}
|
|
inline GetAssetMetadataRequest(GetAssetMetadataRequest&& from) noexcept
|
|
: GetAssetMetadataRequest(nullptr, ::std::move(from)) {}
|
|
inline GetAssetMetadataRequest& operator=(const GetAssetMetadataRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetAssetMetadataRequest& operator=(GetAssetMetadataRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetAssetMetadataRequest& default_instance() {
|
|
return *reinterpret_cast<const GetAssetMetadataRequest*>(
|
|
&_GetAssetMetadataRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 0;
|
|
friend void swap(GetAssetMetadataRequest& a, GetAssetMetadataRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetAssetMetadataRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetAssetMetadataRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetAssetMetadataRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetAssetMetadataRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetAssetMetadataRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetAssetMetadataRequest& from) { GetAssetMetadataRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetAssetMetadataRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetAssetMetadataRequest"; }
|
|
|
|
protected:
|
|
explicit GetAssetMetadataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetAssetMetadataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetAssetMetadataRequest& from);
|
|
GetAssetMetadataRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetAssetMetadataRequest&& from) noexcept
|
|
: GetAssetMetadataRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAssetPublicKeyFieldNumber = 1,
|
|
};
|
|
// bytes asset_public_key = 1;
|
|
void clear_asset_public_key() ;
|
|
const ::std::string& asset_public_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_asset_public_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_asset_public_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_asset_public_key();
|
|
void set_allocated_asset_public_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_asset_public_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_asset_public_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_asset_public_key();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetAssetMetadataRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetAssetMetadataRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr asset_public_key_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetAssetMetadataRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetActiveValidatorNodesResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetActiveValidatorNodesResponse) */ {
|
|
public:
|
|
inline GetActiveValidatorNodesResponse() : GetActiveValidatorNodesResponse(nullptr) {}
|
|
~GetActiveValidatorNodesResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetActiveValidatorNodesResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetActiveValidatorNodesResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetActiveValidatorNodesResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetActiveValidatorNodesResponse(const GetActiveValidatorNodesResponse& from) : GetActiveValidatorNodesResponse(nullptr, from) {}
|
|
inline GetActiveValidatorNodesResponse(GetActiveValidatorNodesResponse&& from) noexcept
|
|
: GetActiveValidatorNodesResponse(nullptr, ::std::move(from)) {}
|
|
inline GetActiveValidatorNodesResponse& operator=(const GetActiveValidatorNodesResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetActiveValidatorNodesResponse& operator=(GetActiveValidatorNodesResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetActiveValidatorNodesResponse& default_instance() {
|
|
return *reinterpret_cast<const GetActiveValidatorNodesResponse*>(
|
|
&_GetActiveValidatorNodesResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 49;
|
|
friend void swap(GetActiveValidatorNodesResponse& a, GetActiveValidatorNodesResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetActiveValidatorNodesResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetActiveValidatorNodesResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetActiveValidatorNodesResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetActiveValidatorNodesResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetActiveValidatorNodesResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetActiveValidatorNodesResponse& from) { GetActiveValidatorNodesResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetActiveValidatorNodesResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetActiveValidatorNodesResponse"; }
|
|
|
|
protected:
|
|
explicit GetActiveValidatorNodesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetActiveValidatorNodesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetActiveValidatorNodesResponse& from);
|
|
GetActiveValidatorNodesResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetActiveValidatorNodesResponse&& from) noexcept
|
|
: GetActiveValidatorNodesResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kShardKeyFieldNumber = 1,
|
|
kPublicKeyFieldNumber = 2,
|
|
kSidechainIdFieldNumber = 3,
|
|
};
|
|
// bytes shard_key = 1;
|
|
void clear_shard_key() ;
|
|
const ::std::string& shard_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_shard_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_shard_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_shard_key();
|
|
void set_allocated_shard_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_shard_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_shard_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_shard_key();
|
|
|
|
public:
|
|
// bytes public_key = 2;
|
|
void clear_public_key() ;
|
|
const ::std::string& public_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_public_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_public_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_public_key();
|
|
void set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_public_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_public_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_public_key();
|
|
|
|
public:
|
|
// bytes sidechain_id = 3;
|
|
void clear_sidechain_id() ;
|
|
const ::std::string& sidechain_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_sidechain_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_sidechain_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_sidechain_id();
|
|
void set_allocated_sidechain_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_sidechain_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_sidechain_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_sidechain_id();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetActiveValidatorNodesResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetActiveValidatorNodesResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr shard_key_;
|
|
::google::protobuf::internal::ArenaStringPtr public_key_;
|
|
::google::protobuf::internal::ArenaStringPtr sidechain_id_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetActiveValidatorNodesResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetActiveValidatorNodesRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetActiveValidatorNodesRequest) */ {
|
|
public:
|
|
inline GetActiveValidatorNodesRequest() : GetActiveValidatorNodesRequest(nullptr) {}
|
|
~GetActiveValidatorNodesRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetActiveValidatorNodesRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetActiveValidatorNodesRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetActiveValidatorNodesRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetActiveValidatorNodesRequest(const GetActiveValidatorNodesRequest& from) : GetActiveValidatorNodesRequest(nullptr, from) {}
|
|
inline GetActiveValidatorNodesRequest(GetActiveValidatorNodesRequest&& from) noexcept
|
|
: GetActiveValidatorNodesRequest(nullptr, ::std::move(from)) {}
|
|
inline GetActiveValidatorNodesRequest& operator=(const GetActiveValidatorNodesRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetActiveValidatorNodesRequest& operator=(GetActiveValidatorNodesRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetActiveValidatorNodesRequest& default_instance() {
|
|
return *reinterpret_cast<const GetActiveValidatorNodesRequest*>(
|
|
&_GetActiveValidatorNodesRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 48;
|
|
friend void swap(GetActiveValidatorNodesRequest& a, GetActiveValidatorNodesRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetActiveValidatorNodesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetActiveValidatorNodesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetActiveValidatorNodesRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetActiveValidatorNodesRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetActiveValidatorNodesRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetActiveValidatorNodesRequest& from) { GetActiveValidatorNodesRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetActiveValidatorNodesRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetActiveValidatorNodesRequest"; }
|
|
|
|
protected:
|
|
explicit GetActiveValidatorNodesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetActiveValidatorNodesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetActiveValidatorNodesRequest& from);
|
|
GetActiveValidatorNodesRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetActiveValidatorNodesRequest&& from) noexcept
|
|
: GetActiveValidatorNodesRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSidechainIdFieldNumber = 2,
|
|
kHeightFieldNumber = 1,
|
|
};
|
|
// bytes sidechain_id = 2;
|
|
void clear_sidechain_id() ;
|
|
const ::std::string& sidechain_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_sidechain_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_sidechain_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_sidechain_id();
|
|
void set_allocated_sidechain_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_sidechain_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_sidechain_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_sidechain_id();
|
|
|
|
public:
|
|
// uint64 height = 1;
|
|
void clear_height() ;
|
|
::uint64_t height() const;
|
|
void set_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_height() const;
|
|
void _internal_set_height(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetActiveValidatorNodesRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetActiveValidatorNodesRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr sidechain_id_;
|
|
::uint64_t height_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetActiveValidatorNodesRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class FetchMatchingUtxosRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.FetchMatchingUtxosRequest) */ {
|
|
public:
|
|
inline FetchMatchingUtxosRequest() : FetchMatchingUtxosRequest(nullptr) {}
|
|
~FetchMatchingUtxosRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(FetchMatchingUtxosRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(FetchMatchingUtxosRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR FetchMatchingUtxosRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline FetchMatchingUtxosRequest(const FetchMatchingUtxosRequest& from) : FetchMatchingUtxosRequest(nullptr, from) {}
|
|
inline FetchMatchingUtxosRequest(FetchMatchingUtxosRequest&& from) noexcept
|
|
: FetchMatchingUtxosRequest(nullptr, ::std::move(from)) {}
|
|
inline FetchMatchingUtxosRequest& operator=(const FetchMatchingUtxosRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline FetchMatchingUtxosRequest& operator=(FetchMatchingUtxosRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const FetchMatchingUtxosRequest& default_instance() {
|
|
return *reinterpret_cast<const FetchMatchingUtxosRequest*>(
|
|
&_FetchMatchingUtxosRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 37;
|
|
friend void swap(FetchMatchingUtxosRequest& a, FetchMatchingUtxosRequest& b) { a.Swap(&b); }
|
|
inline void Swap(FetchMatchingUtxosRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(FetchMatchingUtxosRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
FetchMatchingUtxosRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<FetchMatchingUtxosRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const FetchMatchingUtxosRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const FetchMatchingUtxosRequest& from) { FetchMatchingUtxosRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(FetchMatchingUtxosRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.FetchMatchingUtxosRequest"; }
|
|
|
|
protected:
|
|
explicit FetchMatchingUtxosRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
FetchMatchingUtxosRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FetchMatchingUtxosRequest& from);
|
|
FetchMatchingUtxosRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FetchMatchingUtxosRequest&& from) noexcept
|
|
: FetchMatchingUtxosRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kHashesFieldNumber = 1,
|
|
};
|
|
// repeated bytes hashes = 1;
|
|
int hashes_size() const;
|
|
private:
|
|
int _internal_hashes_size() const;
|
|
|
|
public:
|
|
void clear_hashes() ;
|
|
const ::std::string& hashes(int index) const;
|
|
::std::string* PROTOBUF_NONNULL mutable_hashes(int index);
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_hashes(int index, Arg_&& value, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL add_hashes();
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void add_hashes(Arg_&& value, Args_... args);
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& hashes() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_hashes();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_hashes() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_hashes();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.FetchMatchingUtxosRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const FetchMatchingUtxosRequest& from_msg);
|
|
::google::protobuf::RepeatedPtrField<::std::string> hashes_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull FetchMatchingUtxosRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BlockTimingResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.BlockTimingResponse) */ {
|
|
public:
|
|
inline BlockTimingResponse() : BlockTimingResponse(nullptr) {}
|
|
~BlockTimingResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BlockTimingResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BlockTimingResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BlockTimingResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BlockTimingResponse(const BlockTimingResponse& from) : BlockTimingResponse(nullptr, from) {}
|
|
inline BlockTimingResponse(BlockTimingResponse&& from) noexcept
|
|
: BlockTimingResponse(nullptr, ::std::move(from)) {}
|
|
inline BlockTimingResponse& operator=(const BlockTimingResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BlockTimingResponse& operator=(BlockTimingResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BlockTimingResponse& default_instance() {
|
|
return *reinterpret_cast<const BlockTimingResponse*>(
|
|
&_BlockTimingResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 23;
|
|
friend void swap(BlockTimingResponse& a, BlockTimingResponse& b) { a.Swap(&b); }
|
|
inline void Swap(BlockTimingResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BlockTimingResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BlockTimingResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<BlockTimingResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const BlockTimingResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const BlockTimingResponse& from) { BlockTimingResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BlockTimingResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.BlockTimingResponse"; }
|
|
|
|
protected:
|
|
explicit BlockTimingResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BlockTimingResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BlockTimingResponse& from);
|
|
BlockTimingResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BlockTimingResponse&& from) noexcept
|
|
: BlockTimingResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kMaxFieldNumber = 1,
|
|
kMinFieldNumber = 2,
|
|
kAvgFieldNumber = 3,
|
|
};
|
|
// uint64 max = 1;
|
|
void clear_max() ;
|
|
::uint64_t max() const;
|
|
void set_max(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_max() const;
|
|
void _internal_set_max(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 min = 2;
|
|
void clear_min() ;
|
|
::uint64_t min() const;
|
|
void set_min(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_min() const;
|
|
void _internal_set_min(::uint64_t value);
|
|
|
|
public:
|
|
// double avg = 3;
|
|
void clear_avg() ;
|
|
double avg() const;
|
|
void set_avg(double value);
|
|
|
|
private:
|
|
double _internal_avg() const;
|
|
void _internal_set_avg(double value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.BlockTimingResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BlockTimingResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t max_;
|
|
::uint64_t min_;
|
|
double avg_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockTimingResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BlockInfo final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.BlockInfo) */ {
|
|
public:
|
|
inline BlockInfo() : BlockInfo(nullptr) {}
|
|
~BlockInfo() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BlockInfo* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BlockInfo));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BlockInfo(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BlockInfo(const BlockInfo& from) : BlockInfo(nullptr, from) {}
|
|
inline BlockInfo(BlockInfo&& from) noexcept
|
|
: BlockInfo(nullptr, ::std::move(from)) {}
|
|
inline BlockInfo& operator=(const BlockInfo& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BlockInfo& operator=(BlockInfo&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BlockInfo& default_instance() {
|
|
return *reinterpret_cast<const BlockInfo*>(
|
|
&_BlockInfo_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 59;
|
|
friend void swap(BlockInfo& a, BlockInfo& b) { a.Swap(&b); }
|
|
inline void Swap(BlockInfo* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BlockInfo* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BlockInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<BlockInfo>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const BlockInfo& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const BlockInfo& from) { BlockInfo::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BlockInfo* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.BlockInfo"; }
|
|
|
|
protected:
|
|
explicit BlockInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BlockInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BlockInfo& from);
|
|
BlockInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BlockInfo&& from) noexcept
|
|
: BlockInfo(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kHashFieldNumber = 2,
|
|
kNextBlockHashFieldNumber = 3,
|
|
kHeightFieldNumber = 1,
|
|
};
|
|
// bytes hash = 2;
|
|
void clear_hash() ;
|
|
const ::std::string& hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_hash();
|
|
void set_allocated_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_hash();
|
|
|
|
public:
|
|
// bytes next_block_hash = 3;
|
|
void clear_next_block_hash() ;
|
|
const ::std::string& next_block_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_next_block_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_next_block_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_next_block_hash();
|
|
void set_allocated_next_block_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_next_block_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_next_block_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_next_block_hash();
|
|
|
|
public:
|
|
// uint64 height = 1;
|
|
void clear_height() ;
|
|
::uint64_t height() const;
|
|
void set_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_height() const;
|
|
void _internal_set_height(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.BlockInfo)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BlockInfo& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr hash_;
|
|
::google::protobuf::internal::ArenaStringPtr next_block_hash_;
|
|
::uint64_t height_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockInfo_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BlockGroupResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.BlockGroupResponse) */ {
|
|
public:
|
|
inline BlockGroupResponse() : BlockGroupResponse(nullptr) {}
|
|
~BlockGroupResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BlockGroupResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BlockGroupResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BlockGroupResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BlockGroupResponse(const BlockGroupResponse& from) : BlockGroupResponse(nullptr, from) {}
|
|
inline BlockGroupResponse(BlockGroupResponse&& from) noexcept
|
|
: BlockGroupResponse(nullptr, ::std::move(from)) {}
|
|
inline BlockGroupResponse& operator=(const BlockGroupResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BlockGroupResponse& operator=(BlockGroupResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BlockGroupResponse& default_instance() {
|
|
return *reinterpret_cast<const BlockGroupResponse*>(
|
|
&_BlockGroupResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 21;
|
|
friend void swap(BlockGroupResponse& a, BlockGroupResponse& b) { a.Swap(&b); }
|
|
inline void Swap(BlockGroupResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BlockGroupResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BlockGroupResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<BlockGroupResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const BlockGroupResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const BlockGroupResponse& from) { BlockGroupResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BlockGroupResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.BlockGroupResponse"; }
|
|
|
|
protected:
|
|
explicit BlockGroupResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BlockGroupResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BlockGroupResponse& from);
|
|
BlockGroupResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BlockGroupResponse&& from) noexcept
|
|
: BlockGroupResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kValueFieldNumber = 1,
|
|
kCalcTypeFieldNumber = 2,
|
|
};
|
|
// repeated double value = 1;
|
|
int value_size() const;
|
|
private:
|
|
int _internal_value_size() const;
|
|
|
|
public:
|
|
void clear_value() ;
|
|
double value(int index) const;
|
|
void set_value(int index, double value);
|
|
void add_value(double value);
|
|
const ::google::protobuf::RepeatedField<double>& value() const;
|
|
::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_value();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<double>& _internal_value() const;
|
|
::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_value();
|
|
|
|
public:
|
|
// .tari.rpc.CalcType calc_type = 2;
|
|
void clear_calc_type() ;
|
|
::tari::rpc::CalcType calc_type() const;
|
|
void set_calc_type(::tari::rpc::CalcType value);
|
|
|
|
private:
|
|
::tari::rpc::CalcType _internal_calc_type() const;
|
|
void _internal_set_calc_type(::tari::rpc::CalcType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.BlockGroupResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BlockGroupResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<double> value_;
|
|
int calc_type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockGroupResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BlockGroupRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.BlockGroupRequest) */ {
|
|
public:
|
|
inline BlockGroupRequest() : BlockGroupRequest(nullptr) {}
|
|
~BlockGroupRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BlockGroupRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BlockGroupRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BlockGroupRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BlockGroupRequest(const BlockGroupRequest& from) : BlockGroupRequest(nullptr, from) {}
|
|
inline BlockGroupRequest(BlockGroupRequest&& from) noexcept
|
|
: BlockGroupRequest(nullptr, ::std::move(from)) {}
|
|
inline BlockGroupRequest& operator=(const BlockGroupRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BlockGroupRequest& operator=(BlockGroupRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BlockGroupRequest& default_instance() {
|
|
return *reinterpret_cast<const BlockGroupRequest*>(
|
|
&_BlockGroupRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 20;
|
|
friend void swap(BlockGroupRequest& a, BlockGroupRequest& b) { a.Swap(&b); }
|
|
inline void Swap(BlockGroupRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BlockGroupRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BlockGroupRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<BlockGroupRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const BlockGroupRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const BlockGroupRequest& from) { BlockGroupRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BlockGroupRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.BlockGroupRequest"; }
|
|
|
|
protected:
|
|
explicit BlockGroupRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BlockGroupRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BlockGroupRequest& from);
|
|
BlockGroupRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BlockGroupRequest&& from) noexcept
|
|
: BlockGroupRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kFromTipFieldNumber = 1,
|
|
kStartHeightFieldNumber = 2,
|
|
kEndHeightFieldNumber = 3,
|
|
kCalcTypeFieldNumber = 4,
|
|
};
|
|
// uint64 from_tip = 1;
|
|
void clear_from_tip() ;
|
|
::uint64_t from_tip() const;
|
|
void set_from_tip(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_from_tip() const;
|
|
void _internal_set_from_tip(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 start_height = 2;
|
|
void clear_start_height() ;
|
|
::uint64_t start_height() const;
|
|
void set_start_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_start_height() const;
|
|
void _internal_set_start_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 end_height = 3;
|
|
void clear_end_height() ;
|
|
::uint64_t end_height() const;
|
|
void set_end_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_end_height() const;
|
|
void _internal_set_end_height(::uint64_t value);
|
|
|
|
public:
|
|
// .tari.rpc.CalcType calc_type = 4;
|
|
void clear_calc_type() ;
|
|
::tari::rpc::CalcType calc_type() const;
|
|
void set_calc_type(::tari::rpc::CalcType value);
|
|
|
|
private:
|
|
::tari::rpc::CalcType _internal_calc_type() const;
|
|
void _internal_set_calc_type(::tari::rpc::CalcType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.BlockGroupRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 4,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BlockGroupRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t from_tip_;
|
|
::uint64_t start_height_;
|
|
::uint64_t end_height_;
|
|
int calc_type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockGroupRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BlockBlobRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.BlockBlobRequest) */ {
|
|
public:
|
|
inline BlockBlobRequest() : BlockBlobRequest(nullptr) {}
|
|
~BlockBlobRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BlockBlobRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BlockBlobRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BlockBlobRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BlockBlobRequest(const BlockBlobRequest& from) : BlockBlobRequest(nullptr, from) {}
|
|
inline BlockBlobRequest(BlockBlobRequest&& from) noexcept
|
|
: BlockBlobRequest(nullptr, ::std::move(from)) {}
|
|
inline BlockBlobRequest& operator=(const BlockBlobRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BlockBlobRequest& operator=(BlockBlobRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BlockBlobRequest& default_instance() {
|
|
return *reinterpret_cast<const BlockBlobRequest*>(
|
|
&_BlockBlobRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 7;
|
|
friend void swap(BlockBlobRequest& a, BlockBlobRequest& b) { a.Swap(&b); }
|
|
inline void Swap(BlockBlobRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BlockBlobRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BlockBlobRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<BlockBlobRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const BlockBlobRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const BlockBlobRequest& from) { BlockBlobRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BlockBlobRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.BlockBlobRequest"; }
|
|
|
|
protected:
|
|
explicit BlockBlobRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BlockBlobRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BlockBlobRequest& from);
|
|
BlockBlobRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BlockBlobRequest&& from) noexcept
|
|
: BlockBlobRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kHeaderBlobFieldNumber = 1,
|
|
kBodyBlobFieldNumber = 2,
|
|
};
|
|
// bytes header_blob = 1;
|
|
void clear_header_blob() ;
|
|
const ::std::string& header_blob() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_header_blob(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_header_blob();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_header_blob();
|
|
void set_allocated_header_blob(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_header_blob() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_header_blob(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_header_blob();
|
|
|
|
public:
|
|
// bytes body_blob = 2;
|
|
void clear_body_blob() ;
|
|
const ::std::string& body_blob() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_body_blob(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_body_blob();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_body_blob();
|
|
void set_allocated_body_blob(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_body_blob() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_body_blob(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_body_blob();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.BlockBlobRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BlockBlobRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr header_blob_;
|
|
::google::protobuf::internal::ArenaStringPtr body_blob_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockBlobRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BaseNodeGetVersionResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.BaseNodeGetVersionResponse) */ {
|
|
public:
|
|
inline BaseNodeGetVersionResponse() : BaseNodeGetVersionResponse(nullptr) {}
|
|
~BaseNodeGetVersionResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BaseNodeGetVersionResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BaseNodeGetVersionResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BaseNodeGetVersionResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BaseNodeGetVersionResponse(const BaseNodeGetVersionResponse& from) : BaseNodeGetVersionResponse(nullptr, from) {}
|
|
inline BaseNodeGetVersionResponse(BaseNodeGetVersionResponse&& from) noexcept
|
|
: BaseNodeGetVersionResponse(nullptr, ::std::move(from)) {}
|
|
inline BaseNodeGetVersionResponse& operator=(const BaseNodeGetVersionResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BaseNodeGetVersionResponse& operator=(BaseNodeGetVersionResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BaseNodeGetVersionResponse& default_instance() {
|
|
return *reinterpret_cast<const BaseNodeGetVersionResponse*>(
|
|
&_BaseNodeGetVersionResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 19;
|
|
friend void swap(BaseNodeGetVersionResponse& a, BaseNodeGetVersionResponse& b) { a.Swap(&b); }
|
|
inline void Swap(BaseNodeGetVersionResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BaseNodeGetVersionResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BaseNodeGetVersionResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<BaseNodeGetVersionResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const BaseNodeGetVersionResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const BaseNodeGetVersionResponse& from) { BaseNodeGetVersionResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BaseNodeGetVersionResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.BaseNodeGetVersionResponse"; }
|
|
|
|
protected:
|
|
explicit BaseNodeGetVersionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BaseNodeGetVersionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BaseNodeGetVersionResponse& from);
|
|
BaseNodeGetVersionResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BaseNodeGetVersionResponse&& from) noexcept
|
|
: BaseNodeGetVersionResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kVersionFieldNumber = 1,
|
|
kNetworkFieldNumber = 2,
|
|
};
|
|
// string version = 1;
|
|
void clear_version() ;
|
|
const ::std::string& version() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_version(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_version();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_version();
|
|
void set_allocated_version(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_version() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_version(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_version();
|
|
|
|
public:
|
|
// uint32 network = 2;
|
|
void clear_network() ;
|
|
::uint32_t network() const;
|
|
void set_network(::uint32_t value);
|
|
|
|
private:
|
|
::uint32_t _internal_network() const;
|
|
void _internal_set_network(::uint32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.BaseNodeGetVersionResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 51,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BaseNodeGetVersionResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr version_;
|
|
::uint32_t network_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull BaseNodeGetVersionResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransactionStateRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.TransactionStateRequest) */ {
|
|
public:
|
|
inline TransactionStateRequest() : TransactionStateRequest(nullptr) {}
|
|
~TransactionStateRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(TransactionStateRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(TransactionStateRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR TransactionStateRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline TransactionStateRequest(const TransactionStateRequest& from) : TransactionStateRequest(nullptr, from) {}
|
|
inline TransactionStateRequest(TransactionStateRequest&& from) noexcept
|
|
: TransactionStateRequest(nullptr, ::std::move(from)) {}
|
|
inline TransactionStateRequest& operator=(const TransactionStateRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline TransactionStateRequest& operator=(TransactionStateRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const TransactionStateRequest& default_instance() {
|
|
return *reinterpret_cast<const TransactionStateRequest*>(
|
|
&_TransactionStateRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 45;
|
|
friend void swap(TransactionStateRequest& a, TransactionStateRequest& b) { a.Swap(&b); }
|
|
inline void Swap(TransactionStateRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(TransactionStateRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
TransactionStateRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<TransactionStateRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const TransactionStateRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const TransactionStateRequest& from) { TransactionStateRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(TransactionStateRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.TransactionStateRequest"; }
|
|
|
|
protected:
|
|
explicit TransactionStateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
TransactionStateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TransactionStateRequest& from);
|
|
TransactionStateRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TransactionStateRequest&& from) noexcept
|
|
: TransactionStateRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kExcessSigFieldNumber = 1,
|
|
};
|
|
// .tari.rpc.Signature excess_sig = 1;
|
|
bool has_excess_sig() const;
|
|
void clear_excess_sig() ;
|
|
const ::tari::rpc::Signature& excess_sig() const;
|
|
[[nodiscard]] ::tari::rpc::Signature* PROTOBUF_NULLABLE release_excess_sig();
|
|
::tari::rpc::Signature* PROTOBUF_NONNULL mutable_excess_sig();
|
|
void set_allocated_excess_sig(::tari::rpc::Signature* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_excess_sig(::tari::rpc::Signature* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::Signature* PROTOBUF_NULLABLE unsafe_arena_release_excess_sig();
|
|
|
|
private:
|
|
const ::tari::rpc::Signature& _internal_excess_sig() const;
|
|
::tari::rpc::Signature* PROTOBUF_NONNULL _internal_mutable_excess_sig();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.TransactionStateRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const TransactionStateRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::Signature* PROTOBUF_NULLABLE excess_sig_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull TransactionStateRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class TipInfoResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.TipInfoResponse) */ {
|
|
public:
|
|
inline TipInfoResponse() : TipInfoResponse(nullptr) {}
|
|
~TipInfoResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(TipInfoResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(TipInfoResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR TipInfoResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline TipInfoResponse(const TipInfoResponse& from) : TipInfoResponse(nullptr, from) {}
|
|
inline TipInfoResponse(TipInfoResponse&& from) noexcept
|
|
: TipInfoResponse(nullptr, ::std::move(from)) {}
|
|
inline TipInfoResponse& operator=(const TipInfoResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline TipInfoResponse& operator=(TipInfoResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const TipInfoResponse& default_instance() {
|
|
return *reinterpret_cast<const TipInfoResponse*>(
|
|
&_TipInfoResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 8;
|
|
friend void swap(TipInfoResponse& a, TipInfoResponse& b) { a.Swap(&b); }
|
|
inline void Swap(TipInfoResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(TipInfoResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
TipInfoResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<TipInfoResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const TipInfoResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const TipInfoResponse& from) { TipInfoResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(TipInfoResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.TipInfoResponse"; }
|
|
|
|
protected:
|
|
explicit TipInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
TipInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TipInfoResponse& from);
|
|
TipInfoResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TipInfoResponse&& from) noexcept
|
|
: TipInfoResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kMetadataFieldNumber = 1,
|
|
kBaseNodeStateFieldNumber = 3,
|
|
kInitialSyncAchievedFieldNumber = 2,
|
|
kFailedCheckpointsFieldNumber = 4,
|
|
};
|
|
// .tari.rpc.MetaData metadata = 1;
|
|
bool has_metadata() const;
|
|
void clear_metadata() ;
|
|
const ::tari::rpc::MetaData& metadata() const;
|
|
[[nodiscard]] ::tari::rpc::MetaData* PROTOBUF_NULLABLE release_metadata();
|
|
::tari::rpc::MetaData* PROTOBUF_NONNULL mutable_metadata();
|
|
void set_allocated_metadata(::tari::rpc::MetaData* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_metadata(::tari::rpc::MetaData* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::MetaData* PROTOBUF_NULLABLE unsafe_arena_release_metadata();
|
|
|
|
private:
|
|
const ::tari::rpc::MetaData& _internal_metadata() const;
|
|
::tari::rpc::MetaData* PROTOBUF_NONNULL _internal_mutable_metadata();
|
|
|
|
public:
|
|
// .tari.rpc.BaseNodeState base_node_state = 3;
|
|
void clear_base_node_state() ;
|
|
::tari::rpc::BaseNodeState base_node_state() const;
|
|
void set_base_node_state(::tari::rpc::BaseNodeState value);
|
|
|
|
private:
|
|
::tari::rpc::BaseNodeState _internal_base_node_state() const;
|
|
void _internal_set_base_node_state(::tari::rpc::BaseNodeState value);
|
|
|
|
public:
|
|
// bool initial_sync_achieved = 2;
|
|
void clear_initial_sync_achieved() ;
|
|
bool initial_sync_achieved() const;
|
|
void set_initial_sync_achieved(bool value);
|
|
|
|
private:
|
|
bool _internal_initial_sync_achieved() const;
|
|
void _internal_set_initial_sync_achieved(bool value);
|
|
|
|
public:
|
|
// bool failed_checkpoints = 4;
|
|
void clear_failed_checkpoints() ;
|
|
bool failed_checkpoints() const;
|
|
void set_failed_checkpoints(bool value);
|
|
|
|
private:
|
|
bool _internal_failed_checkpoints() const;
|
|
void _internal_set_failed_checkpoints(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.TipInfoResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 4,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const TipInfoResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::MetaData* PROTOBUF_NULLABLE metadata_;
|
|
int base_node_state_;
|
|
bool initial_sync_achieved_;
|
|
bool failed_checkpoints_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull TipInfoResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SearchKernelsRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.SearchKernelsRequest) */ {
|
|
public:
|
|
inline SearchKernelsRequest() : SearchKernelsRequest(nullptr) {}
|
|
~SearchKernelsRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SearchKernelsRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SearchKernelsRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SearchKernelsRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SearchKernelsRequest(const SearchKernelsRequest& from) : SearchKernelsRequest(nullptr, from) {}
|
|
inline SearchKernelsRequest(SearchKernelsRequest&& from) noexcept
|
|
: SearchKernelsRequest(nullptr, ::std::move(from)) {}
|
|
inline SearchKernelsRequest& operator=(const SearchKernelsRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SearchKernelsRequest& operator=(SearchKernelsRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const SearchKernelsRequest& default_instance() {
|
|
return *reinterpret_cast<const SearchKernelsRequest*>(
|
|
&_SearchKernelsRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 35;
|
|
friend void swap(SearchKernelsRequest& a, SearchKernelsRequest& b) { a.Swap(&b); }
|
|
inline void Swap(SearchKernelsRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SearchKernelsRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SearchKernelsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<SearchKernelsRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const SearchKernelsRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const SearchKernelsRequest& from) { SearchKernelsRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(SearchKernelsRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.SearchKernelsRequest"; }
|
|
|
|
protected:
|
|
explicit SearchKernelsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SearchKernelsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SearchKernelsRequest& from);
|
|
SearchKernelsRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SearchKernelsRequest&& from) noexcept
|
|
: SearchKernelsRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSignaturesFieldNumber = 1,
|
|
};
|
|
// repeated .tari.rpc.Signature signatures = 1;
|
|
int signatures_size() const;
|
|
private:
|
|
int _internal_signatures_size() const;
|
|
|
|
public:
|
|
void clear_signatures() ;
|
|
::tari::rpc::Signature* PROTOBUF_NONNULL mutable_signatures(int index);
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::Signature>* PROTOBUF_NONNULL mutable_signatures();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::Signature>& _internal_signatures() const;
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::Signature>* PROTOBUF_NONNULL _internal_mutable_signatures();
|
|
public:
|
|
const ::tari::rpc::Signature& signatures(int index) const;
|
|
::tari::rpc::Signature* PROTOBUF_NONNULL add_signatures();
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::Signature>& signatures() const;
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.SearchKernelsRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const SearchKernelsRequest& from_msg);
|
|
::google::protobuf::RepeatedPtrField< ::tari::rpc::Signature > signatures_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull SearchKernelsRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ReadinessStatus final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.ReadinessStatus) */ {
|
|
public:
|
|
inline ReadinessStatus() : ReadinessStatus(nullptr) {}
|
|
~ReadinessStatus() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ReadinessStatus* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ReadinessStatus));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ReadinessStatus(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ReadinessStatus(const ReadinessStatus& from) : ReadinessStatus(nullptr, from) {}
|
|
inline ReadinessStatus(ReadinessStatus&& from) noexcept
|
|
: ReadinessStatus(nullptr, ::std::move(from)) {}
|
|
inline ReadinessStatus& operator=(const ReadinessStatus& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ReadinessStatus& operator=(ReadinessStatus&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ReadinessStatus& default_instance() {
|
|
return *reinterpret_cast<const ReadinessStatus*>(
|
|
&_ReadinessStatus_default_instance_);
|
|
}
|
|
enum StatusCase {
|
|
kState = 1,
|
|
kMigration = 2,
|
|
STATUS_NOT_SET = 0,
|
|
};
|
|
static constexpr int kIndexInFileMessages = 9;
|
|
friend void swap(ReadinessStatus& a, ReadinessStatus& b) { a.Swap(&b); }
|
|
inline void Swap(ReadinessStatus* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ReadinessStatus* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ReadinessStatus* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<ReadinessStatus>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const ReadinessStatus& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const ReadinessStatus& from) { ReadinessStatus::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ReadinessStatus* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.ReadinessStatus"; }
|
|
|
|
protected:
|
|
explicit ReadinessStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ReadinessStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ReadinessStatus& from);
|
|
ReadinessStatus(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ReadinessStatus&& from) noexcept
|
|
: ReadinessStatus(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
using State = ReadinessStatus_State;
|
|
static constexpr State NOT_READY = ReadinessStatus_State_NOT_READY;
|
|
static constexpr State STARTING_UP = ReadinessStatus_State_STARTING_UP;
|
|
static constexpr State DATABASE_INITIALIZING = ReadinessStatus_State_DATABASE_INITIALIZING;
|
|
static constexpr State RECOVERING_PREPARING = ReadinessStatus_State_RECOVERING_PREPARING;
|
|
static constexpr State RECOVERING_REBUILDING = ReadinessStatus_State_RECOVERING_REBUILDING;
|
|
static constexpr State RECOVERING_REBUILDING_DATABASE = ReadinessStatus_State_RECOVERING_REBUILDING_DATABASE;
|
|
static constexpr State BUILDING_CONTEXT_BLOCKCHAIN = ReadinessStatus_State_BUILDING_CONTEXT_BLOCKCHAIN;
|
|
static constexpr State BUILDING_CONTEXT_BOOTSTRAP = ReadinessStatus_State_BUILDING_CONTEXT_BOOTSTRAP;
|
|
static constexpr State READY = ReadinessStatus_State_READY;
|
|
static inline bool State_IsValid(int value) {
|
|
return ReadinessStatus_State_IsValid(value);
|
|
}
|
|
static constexpr State State_MIN = ReadinessStatus_State_State_MIN;
|
|
static constexpr State State_MAX = ReadinessStatus_State_State_MAX;
|
|
static constexpr int State_ARRAYSIZE = ReadinessStatus_State_State_ARRAYSIZE;
|
|
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL State_descriptor() {
|
|
return ReadinessStatus_State_descriptor();
|
|
}
|
|
template <typename T>
|
|
static inline const ::std::string& State_Name(T value) {
|
|
return ReadinessStatus_State_Name(value);
|
|
}
|
|
static inline bool State_Parse(
|
|
::absl::string_view name, State* PROTOBUF_NONNULL value) {
|
|
return ReadinessStatus_State_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kTimestampFieldNumber = 6,
|
|
kStateFieldNumber = 1,
|
|
kMigrationFieldNumber = 2,
|
|
};
|
|
// uint64 timestamp = 6;
|
|
void clear_timestamp() ;
|
|
::uint64_t timestamp() const;
|
|
void set_timestamp(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_timestamp() const;
|
|
void _internal_set_timestamp(::uint64_t value);
|
|
|
|
public:
|
|
// .tari.rpc.ReadinessStatus.State state = 1;
|
|
bool has_state() const;
|
|
void clear_state() ;
|
|
::tari::rpc::ReadinessStatus_State state() const;
|
|
void set_state(::tari::rpc::ReadinessStatus_State value);
|
|
|
|
private:
|
|
::tari::rpc::ReadinessStatus_State _internal_state() const;
|
|
void _internal_set_state(::tari::rpc::ReadinessStatus_State value);
|
|
|
|
public:
|
|
// .tari.rpc.MigrationProgress migration = 2;
|
|
bool has_migration() const;
|
|
private:
|
|
bool _internal_has_migration() const;
|
|
|
|
public:
|
|
void clear_migration() ;
|
|
const ::tari::rpc::MigrationProgress& migration() const;
|
|
[[nodiscard]] ::tari::rpc::MigrationProgress* PROTOBUF_NULLABLE release_migration();
|
|
::tari::rpc::MigrationProgress* PROTOBUF_NONNULL mutable_migration();
|
|
void set_allocated_migration(::tari::rpc::MigrationProgress* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_migration(::tari::rpc::MigrationProgress* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::MigrationProgress* PROTOBUF_NULLABLE unsafe_arena_release_migration();
|
|
|
|
private:
|
|
const ::tari::rpc::MigrationProgress& _internal_migration() const;
|
|
::tari::rpc::MigrationProgress* PROTOBUF_NONNULL _internal_mutable_migration();
|
|
|
|
public:
|
|
void clear_status();
|
|
StatusCase status_case() const;
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.ReadinessStatus)
|
|
private:
|
|
class _Internal;
|
|
void set_has_state();
|
|
void set_has_migration();
|
|
inline bool has_status() const;
|
|
inline void clear_has_status();
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 3,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ReadinessStatus& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint64_t timestamp_;
|
|
union StatusUnion {
|
|
constexpr StatusUnion() : _constinit_{} {}
|
|
::google::protobuf::internal::ConstantInitialized _constinit_;
|
|
int state_;
|
|
::tari::rpc::MigrationProgress* PROTOBUF_NULLABLE migration_;
|
|
} status_;
|
|
::uint32_t _oneof_case_[1];
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull ReadinessStatus_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class NewBlockTemplateRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.NewBlockTemplateRequest) */ {
|
|
public:
|
|
inline NewBlockTemplateRequest() : NewBlockTemplateRequest(nullptr) {}
|
|
~NewBlockTemplateRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(NewBlockTemplateRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(NewBlockTemplateRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR NewBlockTemplateRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline NewBlockTemplateRequest(const NewBlockTemplateRequest& from) : NewBlockTemplateRequest(nullptr, from) {}
|
|
inline NewBlockTemplateRequest(NewBlockTemplateRequest&& from) noexcept
|
|
: NewBlockTemplateRequest(nullptr, ::std::move(from)) {}
|
|
inline NewBlockTemplateRequest& operator=(const NewBlockTemplateRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline NewBlockTemplateRequest& operator=(NewBlockTemplateRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const NewBlockTemplateRequest& default_instance() {
|
|
return *reinterpret_cast<const NewBlockTemplateRequest*>(
|
|
&_NewBlockTemplateRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 12;
|
|
friend void swap(NewBlockTemplateRequest& a, NewBlockTemplateRequest& b) { a.Swap(&b); }
|
|
inline void Swap(NewBlockTemplateRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(NewBlockTemplateRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
NewBlockTemplateRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<NewBlockTemplateRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const NewBlockTemplateRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const NewBlockTemplateRequest& from) { NewBlockTemplateRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(NewBlockTemplateRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.NewBlockTemplateRequest"; }
|
|
|
|
protected:
|
|
explicit NewBlockTemplateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
NewBlockTemplateRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const NewBlockTemplateRequest& from);
|
|
NewBlockTemplateRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, NewBlockTemplateRequest&& from) noexcept
|
|
: NewBlockTemplateRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAlgoFieldNumber = 1,
|
|
kMaxWeightFieldNumber = 2,
|
|
};
|
|
// .tari.rpc.PowAlgo algo = 1;
|
|
bool has_algo() const;
|
|
void clear_algo() ;
|
|
const ::tari::rpc::PowAlgo& algo() const;
|
|
[[nodiscard]] ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE release_algo();
|
|
::tari::rpc::PowAlgo* PROTOBUF_NONNULL mutable_algo();
|
|
void set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE unsafe_arena_release_algo();
|
|
|
|
private:
|
|
const ::tari::rpc::PowAlgo& _internal_algo() const;
|
|
::tari::rpc::PowAlgo* PROTOBUF_NONNULL _internal_mutable_algo();
|
|
|
|
public:
|
|
// uint64 max_weight = 2;
|
|
void clear_max_weight() ;
|
|
::uint64_t max_weight() const;
|
|
void set_max_weight(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_max_weight() const;
|
|
void _internal_set_max_weight(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.NewBlockTemplateRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const NewBlockTemplateRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE algo_;
|
|
::uint64_t max_weight_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull NewBlockTemplateRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class NetworkDifficultyResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.NetworkDifficultyResponse) */ {
|
|
public:
|
|
inline NetworkDifficultyResponse() : NetworkDifficultyResponse(nullptr) {}
|
|
~NetworkDifficultyResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(NetworkDifficultyResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(NetworkDifficultyResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR NetworkDifficultyResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline NetworkDifficultyResponse(const NetworkDifficultyResponse& from) : NetworkDifficultyResponse(nullptr, from) {}
|
|
inline NetworkDifficultyResponse(NetworkDifficultyResponse&& from) noexcept
|
|
: NetworkDifficultyResponse(nullptr, ::std::move(from)) {}
|
|
inline NetworkDifficultyResponse& operator=(const NetworkDifficultyResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline NetworkDifficultyResponse& operator=(NetworkDifficultyResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const NetworkDifficultyResponse& default_instance() {
|
|
return *reinterpret_cast<const NetworkDifficultyResponse*>(
|
|
&_NetworkDifficultyResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 16;
|
|
friend void swap(NetworkDifficultyResponse& a, NetworkDifficultyResponse& b) { a.Swap(&b); }
|
|
inline void Swap(NetworkDifficultyResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(NetworkDifficultyResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
NetworkDifficultyResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<NetworkDifficultyResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const NetworkDifficultyResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const NetworkDifficultyResponse& from) { NetworkDifficultyResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(NetworkDifficultyResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.NetworkDifficultyResponse"; }
|
|
|
|
protected:
|
|
explicit NetworkDifficultyResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
NetworkDifficultyResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const NetworkDifficultyResponse& from);
|
|
NetworkDifficultyResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, NetworkDifficultyResponse&& from) noexcept
|
|
: NetworkDifficultyResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kCoinbaseExtrasFieldNumber = 9,
|
|
kCuckarooEstimatedHashRateFieldNumber = 11,
|
|
kDifficultyFieldNumber = 1,
|
|
kEstimatedHashRateFieldNumber = 2,
|
|
kHeightFieldNumber = 3,
|
|
kTimestampFieldNumber = 4,
|
|
kPowAlgoFieldNumber = 5,
|
|
kSha3XEstimatedHashRateFieldNumber = 6,
|
|
kMoneroRandomxEstimatedHashRateFieldNumber = 7,
|
|
kNumCoinbasesFieldNumber = 8,
|
|
kTariRandomxEstimatedHashRateFieldNumber = 10,
|
|
};
|
|
// repeated bytes coinbase_extras = 9;
|
|
int coinbase_extras_size() const;
|
|
private:
|
|
int _internal_coinbase_extras_size() const;
|
|
|
|
public:
|
|
void clear_coinbase_extras() ;
|
|
const ::std::string& coinbase_extras(int index) const;
|
|
::std::string* PROTOBUF_NONNULL mutable_coinbase_extras(int index);
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_coinbase_extras(int index, Arg_&& value, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL add_coinbase_extras();
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void add_coinbase_extras(Arg_&& value, Args_... args);
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& coinbase_extras() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_coinbase_extras();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_coinbase_extras() const;
|
|
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_coinbase_extras();
|
|
|
|
public:
|
|
// .tari.rpc.UDecimalValue cuckaroo_estimated_hash_rate = 11;
|
|
bool has_cuckaroo_estimated_hash_rate() const;
|
|
void clear_cuckaroo_estimated_hash_rate() ;
|
|
const ::tari::rpc::UDecimalValue& cuckaroo_estimated_hash_rate() const;
|
|
[[nodiscard]] ::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE release_cuckaroo_estimated_hash_rate();
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NONNULL mutable_cuckaroo_estimated_hash_rate();
|
|
void set_allocated_cuckaroo_estimated_hash_rate(::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_cuckaroo_estimated_hash_rate(::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE unsafe_arena_release_cuckaroo_estimated_hash_rate();
|
|
|
|
private:
|
|
const ::tari::rpc::UDecimalValue& _internal_cuckaroo_estimated_hash_rate() const;
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NONNULL _internal_mutable_cuckaroo_estimated_hash_rate();
|
|
|
|
public:
|
|
// uint64 difficulty = 1;
|
|
void clear_difficulty() ;
|
|
::uint64_t difficulty() const;
|
|
void set_difficulty(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_difficulty() const;
|
|
void _internal_set_difficulty(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 estimated_hash_rate = 2;
|
|
void clear_estimated_hash_rate() ;
|
|
::uint64_t estimated_hash_rate() const;
|
|
void set_estimated_hash_rate(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_estimated_hash_rate() const;
|
|
void _internal_set_estimated_hash_rate(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 height = 3;
|
|
void clear_height() ;
|
|
::uint64_t height() const;
|
|
void set_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_height() const;
|
|
void _internal_set_height(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 timestamp = 4;
|
|
void clear_timestamp() ;
|
|
::uint64_t timestamp() const;
|
|
void set_timestamp(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_timestamp() const;
|
|
void _internal_set_timestamp(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 pow_algo = 5;
|
|
void clear_pow_algo() ;
|
|
::uint64_t pow_algo() const;
|
|
void set_pow_algo(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_pow_algo() const;
|
|
void _internal_set_pow_algo(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 sha3x_estimated_hash_rate = 6;
|
|
void clear_sha3x_estimated_hash_rate() ;
|
|
::uint64_t sha3x_estimated_hash_rate() const;
|
|
void set_sha3x_estimated_hash_rate(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_sha3x_estimated_hash_rate() const;
|
|
void _internal_set_sha3x_estimated_hash_rate(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 monero_randomx_estimated_hash_rate = 7;
|
|
void clear_monero_randomx_estimated_hash_rate() ;
|
|
::uint64_t monero_randomx_estimated_hash_rate() const;
|
|
void set_monero_randomx_estimated_hash_rate(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_monero_randomx_estimated_hash_rate() const;
|
|
void _internal_set_monero_randomx_estimated_hash_rate(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 num_coinbases = 8;
|
|
void clear_num_coinbases() ;
|
|
::uint64_t num_coinbases() const;
|
|
void set_num_coinbases(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_num_coinbases() const;
|
|
void _internal_set_num_coinbases(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 tari_randomx_estimated_hash_rate = 10;
|
|
void clear_tari_randomx_estimated_hash_rate() ;
|
|
::uint64_t tari_randomx_estimated_hash_rate() const;
|
|
void set_tari_randomx_estimated_hash_rate(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_tari_randomx_estimated_hash_rate() const;
|
|
void _internal_set_tari_randomx_estimated_hash_rate(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.NetworkDifficultyResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 11,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const NetworkDifficultyResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField<::std::string> coinbase_extras_;
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE cuckaroo_estimated_hash_rate_;
|
|
::uint64_t difficulty_;
|
|
::uint64_t estimated_hash_rate_;
|
|
::uint64_t height_;
|
|
::uint64_t timestamp_;
|
|
::uint64_t pow_algo_;
|
|
::uint64_t sha3x_estimated_hash_rate_;
|
|
::uint64_t monero_randomx_estimated_hash_rate_;
|
|
::uint64_t num_coinbases_;
|
|
::uint64_t tari_randomx_estimated_hash_rate_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull NetworkDifficultyResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MinerData final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.MinerData) */ {
|
|
public:
|
|
inline MinerData() : MinerData(nullptr) {}
|
|
~MinerData() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MinerData* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MinerData));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MinerData(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MinerData(const MinerData& from) : MinerData(nullptr, from) {}
|
|
inline MinerData(MinerData&& from) noexcept
|
|
: MinerData(nullptr, ::std::move(from)) {}
|
|
inline MinerData& operator=(const MinerData& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MinerData& operator=(MinerData&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const MinerData& default_instance() {
|
|
return *reinterpret_cast<const MinerData*>(
|
|
&_MinerData_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 34;
|
|
friend void swap(MinerData& a, MinerData& b) { a.Swap(&b); }
|
|
inline void Swap(MinerData* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(MinerData* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MinerData* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<MinerData>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const MinerData& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const MinerData& from) { MinerData::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(MinerData* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.MinerData"; }
|
|
|
|
protected:
|
|
explicit MinerData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MinerData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MinerData& from);
|
|
MinerData(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MinerData&& from) noexcept
|
|
: MinerData(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAlgoFieldNumber = 1,
|
|
kTargetDifficultyFieldNumber = 2,
|
|
kRewardFieldNumber = 3,
|
|
kTotalFeesFieldNumber = 5,
|
|
};
|
|
// .tari.rpc.PowAlgo algo = 1;
|
|
bool has_algo() const;
|
|
void clear_algo() ;
|
|
const ::tari::rpc::PowAlgo& algo() const;
|
|
[[nodiscard]] ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE release_algo();
|
|
::tari::rpc::PowAlgo* PROTOBUF_NONNULL mutable_algo();
|
|
void set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE unsafe_arena_release_algo();
|
|
|
|
private:
|
|
const ::tari::rpc::PowAlgo& _internal_algo() const;
|
|
::tari::rpc::PowAlgo* PROTOBUF_NONNULL _internal_mutable_algo();
|
|
|
|
public:
|
|
// uint64 target_difficulty = 2;
|
|
void clear_target_difficulty() ;
|
|
::uint64_t target_difficulty() const;
|
|
void set_target_difficulty(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_target_difficulty() const;
|
|
void _internal_set_target_difficulty(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 reward = 3;
|
|
void clear_reward() ;
|
|
::uint64_t reward() const;
|
|
void set_reward(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_reward() const;
|
|
void _internal_set_reward(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 total_fees = 5;
|
|
void clear_total_fees() ;
|
|
::uint64_t total_fees() const;
|
|
void set_total_fees(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_total_fees() const;
|
|
void _internal_set_total_fees(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.MinerData)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 4,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const MinerData& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE algo_;
|
|
::uint64_t target_difficulty_;
|
|
::uint64_t reward_;
|
|
::uint64_t total_fees_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull MinerData_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetNewBlockTemplateWithCoinbasesRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest) */ {
|
|
public:
|
|
inline GetNewBlockTemplateWithCoinbasesRequest() : GetNewBlockTemplateWithCoinbasesRequest(nullptr) {}
|
|
~GetNewBlockTemplateWithCoinbasesRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetNewBlockTemplateWithCoinbasesRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetNewBlockTemplateWithCoinbasesRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetNewBlockTemplateWithCoinbasesRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetNewBlockTemplateWithCoinbasesRequest(const GetNewBlockTemplateWithCoinbasesRequest& from) : GetNewBlockTemplateWithCoinbasesRequest(nullptr, from) {}
|
|
inline GetNewBlockTemplateWithCoinbasesRequest(GetNewBlockTemplateWithCoinbasesRequest&& from) noexcept
|
|
: GetNewBlockTemplateWithCoinbasesRequest(nullptr, ::std::move(from)) {}
|
|
inline GetNewBlockTemplateWithCoinbasesRequest& operator=(const GetNewBlockTemplateWithCoinbasesRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetNewBlockTemplateWithCoinbasesRequest& operator=(GetNewBlockTemplateWithCoinbasesRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetNewBlockTemplateWithCoinbasesRequest& default_instance() {
|
|
return *reinterpret_cast<const GetNewBlockTemplateWithCoinbasesRequest*>(
|
|
&_GetNewBlockTemplateWithCoinbasesRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 13;
|
|
friend void swap(GetNewBlockTemplateWithCoinbasesRequest& a, GetNewBlockTemplateWithCoinbasesRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetNewBlockTemplateWithCoinbasesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetNewBlockTemplateWithCoinbasesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetNewBlockTemplateWithCoinbasesRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetNewBlockTemplateWithCoinbasesRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetNewBlockTemplateWithCoinbasesRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetNewBlockTemplateWithCoinbasesRequest& from) { GetNewBlockTemplateWithCoinbasesRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetNewBlockTemplateWithCoinbasesRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetNewBlockTemplateWithCoinbasesRequest"; }
|
|
|
|
protected:
|
|
explicit GetNewBlockTemplateWithCoinbasesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetNewBlockTemplateWithCoinbasesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNewBlockTemplateWithCoinbasesRequest& from);
|
|
GetNewBlockTemplateWithCoinbasesRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetNewBlockTemplateWithCoinbasesRequest&& from) noexcept
|
|
: GetNewBlockTemplateWithCoinbasesRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kCoinbasesFieldNumber = 3,
|
|
kAlgoFieldNumber = 1,
|
|
kMaxWeightFieldNumber = 2,
|
|
};
|
|
// repeated .tari.rpc.NewBlockCoinbase coinbases = 3;
|
|
int coinbases_size() const;
|
|
private:
|
|
int _internal_coinbases_size() const;
|
|
|
|
public:
|
|
void clear_coinbases() ;
|
|
::tari::rpc::NewBlockCoinbase* PROTOBUF_NONNULL mutable_coinbases(int index);
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>* PROTOBUF_NONNULL mutable_coinbases();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>& _internal_coinbases() const;
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>* PROTOBUF_NONNULL _internal_mutable_coinbases();
|
|
public:
|
|
const ::tari::rpc::NewBlockCoinbase& coinbases(int index) const;
|
|
::tari::rpc::NewBlockCoinbase* PROTOBUF_NONNULL add_coinbases();
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>& coinbases() const;
|
|
// .tari.rpc.PowAlgo algo = 1;
|
|
bool has_algo() const;
|
|
void clear_algo() ;
|
|
const ::tari::rpc::PowAlgo& algo() const;
|
|
[[nodiscard]] ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE release_algo();
|
|
::tari::rpc::PowAlgo* PROTOBUF_NONNULL mutable_algo();
|
|
void set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE unsafe_arena_release_algo();
|
|
|
|
private:
|
|
const ::tari::rpc::PowAlgo& _internal_algo() const;
|
|
::tari::rpc::PowAlgo* PROTOBUF_NONNULL _internal_mutable_algo();
|
|
|
|
public:
|
|
// uint64 max_weight = 2;
|
|
void clear_max_weight() ;
|
|
::uint64_t max_weight() const;
|
|
void set_max_weight(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_max_weight() const;
|
|
void _internal_set_max_weight(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
2, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetNewBlockTemplateWithCoinbasesRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::tari::rpc::NewBlockCoinbase > coinbases_;
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE algo_;
|
|
::uint64_t max_weight_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNewBlockTemplateWithCoinbasesRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ValidatorNodeChangeAdd final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.ValidatorNodeChangeAdd) */ {
|
|
public:
|
|
inline ValidatorNodeChangeAdd() : ValidatorNodeChangeAdd(nullptr) {}
|
|
~ValidatorNodeChangeAdd() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ValidatorNodeChangeAdd* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ValidatorNodeChangeAdd));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ValidatorNodeChangeAdd(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ValidatorNodeChangeAdd(const ValidatorNodeChangeAdd& from) : ValidatorNodeChangeAdd(nullptr, from) {}
|
|
inline ValidatorNodeChangeAdd(ValidatorNodeChangeAdd&& from) noexcept
|
|
: ValidatorNodeChangeAdd(nullptr, ::std::move(from)) {}
|
|
inline ValidatorNodeChangeAdd& operator=(const ValidatorNodeChangeAdd& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ValidatorNodeChangeAdd& operator=(ValidatorNodeChangeAdd&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ValidatorNodeChangeAdd& default_instance() {
|
|
return *reinterpret_cast<const ValidatorNodeChangeAdd*>(
|
|
&_ValidatorNodeChangeAdd_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 52;
|
|
friend void swap(ValidatorNodeChangeAdd& a, ValidatorNodeChangeAdd& b) { a.Swap(&b); }
|
|
inline void Swap(ValidatorNodeChangeAdd* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ValidatorNodeChangeAdd* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ValidatorNodeChangeAdd* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<ValidatorNodeChangeAdd>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const ValidatorNodeChangeAdd& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const ValidatorNodeChangeAdd& from) { ValidatorNodeChangeAdd::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ValidatorNodeChangeAdd* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.ValidatorNodeChangeAdd"; }
|
|
|
|
protected:
|
|
explicit ValidatorNodeChangeAdd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ValidatorNodeChangeAdd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ValidatorNodeChangeAdd& from);
|
|
ValidatorNodeChangeAdd(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ValidatorNodeChangeAdd&& from) noexcept
|
|
: ValidatorNodeChangeAdd(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kShardKeyFieldNumber = 4,
|
|
kRegistrationFieldNumber = 2,
|
|
kActivationEpochFieldNumber = 1,
|
|
kMinimumValuePromiseFieldNumber = 3,
|
|
};
|
|
// bytes shard_key = 4;
|
|
void clear_shard_key() ;
|
|
const ::std::string& shard_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_shard_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_shard_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_shard_key();
|
|
void set_allocated_shard_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_shard_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_shard_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_shard_key();
|
|
|
|
public:
|
|
// .tari.rpc.ValidatorNodeRegistration registration = 2;
|
|
bool has_registration() const;
|
|
void clear_registration() ;
|
|
const ::tari::rpc::ValidatorNodeRegistration& registration() const;
|
|
[[nodiscard]] ::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE release_registration();
|
|
::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NONNULL mutable_registration();
|
|
void set_allocated_registration(::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_registration(::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE unsafe_arena_release_registration();
|
|
|
|
private:
|
|
const ::tari::rpc::ValidatorNodeRegistration& _internal_registration() const;
|
|
::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NONNULL _internal_mutable_registration();
|
|
|
|
public:
|
|
// uint64 activation_epoch = 1;
|
|
void clear_activation_epoch() ;
|
|
::uint64_t activation_epoch() const;
|
|
void set_activation_epoch(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_activation_epoch() const;
|
|
void _internal_set_activation_epoch(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 minimum_value_promise = 3;
|
|
void clear_minimum_value_promise() ;
|
|
::uint64_t minimum_value_promise() const;
|
|
void set_minimum_value_promise(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_minimum_value_promise() const;
|
|
void _internal_set_minimum_value_promise(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.ValidatorNodeChangeAdd)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 4,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ValidatorNodeChangeAdd& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr shard_key_;
|
|
::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE registration_;
|
|
::uint64_t activation_epoch_;
|
|
::uint64_t minimum_value_promise_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull ValidatorNodeChangeAdd_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetNetworkStateResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetNetworkStateResponse) */ {
|
|
public:
|
|
inline GetNetworkStateResponse() : GetNetworkStateResponse(nullptr) {}
|
|
~GetNetworkStateResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetNetworkStateResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetNetworkStateResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetNetworkStateResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetNetworkStateResponse(const GetNetworkStateResponse& from) : GetNetworkStateResponse(nullptr, from) {}
|
|
inline GetNetworkStateResponse(GetNetworkStateResponse&& from) noexcept
|
|
: GetNetworkStateResponse(nullptr, ::std::move(from)) {}
|
|
inline GetNetworkStateResponse& operator=(const GetNetworkStateResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetNetworkStateResponse& operator=(GetNetworkStateResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetNetworkStateResponse& default_instance() {
|
|
return *reinterpret_cast<const GetNetworkStateResponse*>(
|
|
&_GetNetworkStateResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 63;
|
|
friend void swap(GetNetworkStateResponse& a, GetNetworkStateResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetNetworkStateResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetNetworkStateResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetNetworkStateResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetNetworkStateResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetNetworkStateResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetNetworkStateResponse& from) { GetNetworkStateResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetNetworkStateResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetNetworkStateResponse"; }
|
|
|
|
protected:
|
|
explicit GetNetworkStateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetNetworkStateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNetworkStateResponse& from);
|
|
GetNetworkStateResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetNetworkStateResponse&& from) noexcept
|
|
: GetNetworkStateResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kLivenessResultsFieldNumber = 9,
|
|
kMetadataFieldNumber = 1,
|
|
kReadinessStatusFieldNumber = 11,
|
|
kCuckarooEstimatedHashRateFieldNumber = 12,
|
|
kBaseNodeStateFieldNumber = 3,
|
|
kInitialSyncAchievedFieldNumber = 2,
|
|
kFailedCheckpointsFieldNumber = 4,
|
|
kRewardFieldNumber = 5,
|
|
kSha3XEstimatedHashRateFieldNumber = 6,
|
|
kMoneroRandomxEstimatedHashRateFieldNumber = 7,
|
|
kNumConnectionsFieldNumber = 8,
|
|
kTariRandomxEstimatedHashRateFieldNumber = 10,
|
|
};
|
|
// repeated .tari.rpc.LivenessResult liveness_results = 9;
|
|
int liveness_results_size() const;
|
|
private:
|
|
int _internal_liveness_results_size() const;
|
|
|
|
public:
|
|
void clear_liveness_results() ;
|
|
::tari::rpc::LivenessResult* PROTOBUF_NONNULL mutable_liveness_results(int index);
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::LivenessResult>* PROTOBUF_NONNULL mutable_liveness_results();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::LivenessResult>& _internal_liveness_results() const;
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::LivenessResult>* PROTOBUF_NONNULL _internal_mutable_liveness_results();
|
|
public:
|
|
const ::tari::rpc::LivenessResult& liveness_results(int index) const;
|
|
::tari::rpc::LivenessResult* PROTOBUF_NONNULL add_liveness_results();
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::LivenessResult>& liveness_results() const;
|
|
// .tari.rpc.MetaData metadata = 1;
|
|
bool has_metadata() const;
|
|
void clear_metadata() ;
|
|
const ::tari::rpc::MetaData& metadata() const;
|
|
[[nodiscard]] ::tari::rpc::MetaData* PROTOBUF_NULLABLE release_metadata();
|
|
::tari::rpc::MetaData* PROTOBUF_NONNULL mutable_metadata();
|
|
void set_allocated_metadata(::tari::rpc::MetaData* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_metadata(::tari::rpc::MetaData* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::MetaData* PROTOBUF_NULLABLE unsafe_arena_release_metadata();
|
|
|
|
private:
|
|
const ::tari::rpc::MetaData& _internal_metadata() const;
|
|
::tari::rpc::MetaData* PROTOBUF_NONNULL _internal_mutable_metadata();
|
|
|
|
public:
|
|
// .tari.rpc.ReadinessStatus readiness_status = 11;
|
|
bool has_readiness_status() const;
|
|
void clear_readiness_status() ;
|
|
const ::tari::rpc::ReadinessStatus& readiness_status() const;
|
|
[[nodiscard]] ::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE release_readiness_status();
|
|
::tari::rpc::ReadinessStatus* PROTOBUF_NONNULL mutable_readiness_status();
|
|
void set_allocated_readiness_status(::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_readiness_status(::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE unsafe_arena_release_readiness_status();
|
|
|
|
private:
|
|
const ::tari::rpc::ReadinessStatus& _internal_readiness_status() const;
|
|
::tari::rpc::ReadinessStatus* PROTOBUF_NONNULL _internal_mutable_readiness_status();
|
|
|
|
public:
|
|
// .tari.rpc.UDecimalValue cuckaroo_estimated_hash_rate = 12;
|
|
bool has_cuckaroo_estimated_hash_rate() const;
|
|
void clear_cuckaroo_estimated_hash_rate() ;
|
|
const ::tari::rpc::UDecimalValue& cuckaroo_estimated_hash_rate() const;
|
|
[[nodiscard]] ::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE release_cuckaroo_estimated_hash_rate();
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NONNULL mutable_cuckaroo_estimated_hash_rate();
|
|
void set_allocated_cuckaroo_estimated_hash_rate(::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_cuckaroo_estimated_hash_rate(::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE unsafe_arena_release_cuckaroo_estimated_hash_rate();
|
|
|
|
private:
|
|
const ::tari::rpc::UDecimalValue& _internal_cuckaroo_estimated_hash_rate() const;
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NONNULL _internal_mutable_cuckaroo_estimated_hash_rate();
|
|
|
|
public:
|
|
// .tari.rpc.BaseNodeState base_node_state = 3;
|
|
void clear_base_node_state() ;
|
|
::tari::rpc::BaseNodeState base_node_state() const;
|
|
void set_base_node_state(::tari::rpc::BaseNodeState value);
|
|
|
|
private:
|
|
::tari::rpc::BaseNodeState _internal_base_node_state() const;
|
|
void _internal_set_base_node_state(::tari::rpc::BaseNodeState value);
|
|
|
|
public:
|
|
// bool initial_sync_achieved = 2;
|
|
void clear_initial_sync_achieved() ;
|
|
bool initial_sync_achieved() const;
|
|
void set_initial_sync_achieved(bool value);
|
|
|
|
private:
|
|
bool _internal_initial_sync_achieved() const;
|
|
void _internal_set_initial_sync_achieved(bool value);
|
|
|
|
public:
|
|
// bool failed_checkpoints = 4;
|
|
void clear_failed_checkpoints() ;
|
|
bool failed_checkpoints() const;
|
|
void set_failed_checkpoints(bool value);
|
|
|
|
private:
|
|
bool _internal_failed_checkpoints() const;
|
|
void _internal_set_failed_checkpoints(bool value);
|
|
|
|
public:
|
|
// uint64 reward = 5;
|
|
void clear_reward() ;
|
|
::uint64_t reward() const;
|
|
void set_reward(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_reward() const;
|
|
void _internal_set_reward(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 sha3x_estimated_hash_rate = 6;
|
|
void clear_sha3x_estimated_hash_rate() ;
|
|
::uint64_t sha3x_estimated_hash_rate() const;
|
|
void set_sha3x_estimated_hash_rate(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_sha3x_estimated_hash_rate() const;
|
|
void _internal_set_sha3x_estimated_hash_rate(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 monero_randomx_estimated_hash_rate = 7;
|
|
void clear_monero_randomx_estimated_hash_rate() ;
|
|
::uint64_t monero_randomx_estimated_hash_rate() const;
|
|
void set_monero_randomx_estimated_hash_rate(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_monero_randomx_estimated_hash_rate() const;
|
|
void _internal_set_monero_randomx_estimated_hash_rate(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 num_connections = 8;
|
|
void clear_num_connections() ;
|
|
::uint64_t num_connections() const;
|
|
void set_num_connections(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_num_connections() const;
|
|
void _internal_set_num_connections(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 tari_randomx_estimated_hash_rate = 10;
|
|
void clear_tari_randomx_estimated_hash_rate() ;
|
|
::uint64_t tari_randomx_estimated_hash_rate() const;
|
|
void set_tari_randomx_estimated_hash_rate(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_tari_randomx_estimated_hash_rate() const;
|
|
void _internal_set_tari_randomx_estimated_hash_rate(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetNetworkStateResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 12,
|
|
4, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetNetworkStateResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::tari::rpc::LivenessResult > liveness_results_;
|
|
::tari::rpc::MetaData* PROTOBUF_NULLABLE metadata_;
|
|
::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE readiness_status_;
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE cuckaroo_estimated_hash_rate_;
|
|
int base_node_state_;
|
|
bool initial_sync_achieved_;
|
|
bool failed_checkpoints_;
|
|
::uint64_t reward_;
|
|
::uint64_t sha3x_estimated_hash_rate_;
|
|
::uint64_t monero_randomx_estimated_hash_rate_;
|
|
::uint64_t num_connections_;
|
|
::uint64_t tari_randomx_estimated_hash_rate_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNetworkStateResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BlockHeaderResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.BlockHeaderResponse) */ {
|
|
public:
|
|
inline BlockHeaderResponse() : BlockHeaderResponse(nullptr) {}
|
|
~BlockHeaderResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BlockHeaderResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BlockHeaderResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BlockHeaderResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BlockHeaderResponse(const BlockHeaderResponse& from) : BlockHeaderResponse(nullptr, from) {}
|
|
inline BlockHeaderResponse(BlockHeaderResponse&& from) noexcept
|
|
: BlockHeaderResponse(nullptr, ::std::move(from)) {}
|
|
inline BlockHeaderResponse& operator=(const BlockHeaderResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BlockHeaderResponse& operator=(BlockHeaderResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BlockHeaderResponse& default_instance() {
|
|
return *reinterpret_cast<const BlockHeaderResponse*>(
|
|
&_BlockHeaderResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 25;
|
|
friend void swap(BlockHeaderResponse& a, BlockHeaderResponse& b) { a.Swap(&b); }
|
|
inline void Swap(BlockHeaderResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BlockHeaderResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BlockHeaderResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<BlockHeaderResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const BlockHeaderResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const BlockHeaderResponse& from) { BlockHeaderResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BlockHeaderResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.BlockHeaderResponse"; }
|
|
|
|
protected:
|
|
explicit BlockHeaderResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BlockHeaderResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BlockHeaderResponse& from);
|
|
BlockHeaderResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BlockHeaderResponse&& from) noexcept
|
|
: BlockHeaderResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kHeaderFieldNumber = 1,
|
|
kConfirmationsFieldNumber = 2,
|
|
kRewardFieldNumber = 3,
|
|
kDifficultyFieldNumber = 4,
|
|
kNumTransactionsFieldNumber = 5,
|
|
};
|
|
// .tari.rpc.BlockHeader header = 1;
|
|
bool has_header() const;
|
|
void clear_header() ;
|
|
const ::tari::rpc::BlockHeader& header() const;
|
|
[[nodiscard]] ::tari::rpc::BlockHeader* PROTOBUF_NULLABLE release_header();
|
|
::tari::rpc::BlockHeader* PROTOBUF_NONNULL mutable_header();
|
|
void set_allocated_header(::tari::rpc::BlockHeader* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_header(::tari::rpc::BlockHeader* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::BlockHeader* PROTOBUF_NULLABLE unsafe_arena_release_header();
|
|
|
|
private:
|
|
const ::tari::rpc::BlockHeader& _internal_header() const;
|
|
::tari::rpc::BlockHeader* PROTOBUF_NONNULL _internal_mutable_header();
|
|
|
|
public:
|
|
// uint64 confirmations = 2;
|
|
void clear_confirmations() ;
|
|
::uint64_t confirmations() const;
|
|
void set_confirmations(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_confirmations() const;
|
|
void _internal_set_confirmations(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 reward = 3;
|
|
void clear_reward() ;
|
|
::uint64_t reward() const;
|
|
void set_reward(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_reward() const;
|
|
void _internal_set_reward(::uint64_t value);
|
|
|
|
public:
|
|
// uint64 difficulty = 4;
|
|
void clear_difficulty() ;
|
|
::uint64_t difficulty() const;
|
|
void set_difficulty(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_difficulty() const;
|
|
void _internal_set_difficulty(::uint64_t value);
|
|
|
|
public:
|
|
// uint32 num_transactions = 5;
|
|
void clear_num_transactions() ;
|
|
::uint32_t num_transactions() const;
|
|
void set_num_transactions(::uint32_t value);
|
|
|
|
private:
|
|
::uint32_t _internal_num_transactions() const;
|
|
void _internal_set_num_transactions(::uint32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.BlockHeaderResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 5,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BlockHeaderResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::BlockHeader* PROTOBUF_NULLABLE header_;
|
|
::uint64_t confirmations_;
|
|
::uint64_t reward_;
|
|
::uint64_t difficulty_;
|
|
::uint32_t num_transactions_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull BlockHeaderResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ValidatorNodeChange final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.ValidatorNodeChange) */ {
|
|
public:
|
|
inline ValidatorNodeChange() : ValidatorNodeChange(nullptr) {}
|
|
~ValidatorNodeChange() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ValidatorNodeChange* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ValidatorNodeChange));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ValidatorNodeChange(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ValidatorNodeChange(const ValidatorNodeChange& from) : ValidatorNodeChange(nullptr, from) {}
|
|
inline ValidatorNodeChange(ValidatorNodeChange&& from) noexcept
|
|
: ValidatorNodeChange(nullptr, ::std::move(from)) {}
|
|
inline ValidatorNodeChange& operator=(const ValidatorNodeChange& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ValidatorNodeChange& operator=(ValidatorNodeChange&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ValidatorNodeChange& default_instance() {
|
|
return *reinterpret_cast<const ValidatorNodeChange*>(
|
|
&_ValidatorNodeChange_default_instance_);
|
|
}
|
|
enum ChangeCase {
|
|
kAdd = 1,
|
|
kRemove = 2,
|
|
CHANGE_NOT_SET = 0,
|
|
};
|
|
static constexpr int kIndexInFileMessages = 51;
|
|
friend void swap(ValidatorNodeChange& a, ValidatorNodeChange& b) { a.Swap(&b); }
|
|
inline void Swap(ValidatorNodeChange* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ValidatorNodeChange* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ValidatorNodeChange* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<ValidatorNodeChange>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const ValidatorNodeChange& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const ValidatorNodeChange& from) { ValidatorNodeChange::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ValidatorNodeChange* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.ValidatorNodeChange"; }
|
|
|
|
protected:
|
|
explicit ValidatorNodeChange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ValidatorNodeChange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ValidatorNodeChange& from);
|
|
ValidatorNodeChange(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ValidatorNodeChange&& from) noexcept
|
|
: ValidatorNodeChange(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAddFieldNumber = 1,
|
|
kRemoveFieldNumber = 2,
|
|
};
|
|
// .tari.rpc.ValidatorNodeChangeAdd add = 1;
|
|
bool has_add() const;
|
|
private:
|
|
bool _internal_has_add() const;
|
|
|
|
public:
|
|
void clear_add() ;
|
|
const ::tari::rpc::ValidatorNodeChangeAdd& add() const;
|
|
[[nodiscard]] ::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NULLABLE release_add();
|
|
::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NONNULL mutable_add();
|
|
void set_allocated_add(::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_add(::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NULLABLE unsafe_arena_release_add();
|
|
|
|
private:
|
|
const ::tari::rpc::ValidatorNodeChangeAdd& _internal_add() const;
|
|
::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NONNULL _internal_mutable_add();
|
|
|
|
public:
|
|
// .tari.rpc.ValidatorNodeChangeRemove remove = 2;
|
|
bool has_remove() const;
|
|
private:
|
|
bool _internal_has_remove() const;
|
|
|
|
public:
|
|
void clear_remove() ;
|
|
const ::tari::rpc::ValidatorNodeChangeRemove& remove() const;
|
|
[[nodiscard]] ::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NULLABLE release_remove();
|
|
::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NONNULL mutable_remove();
|
|
void set_allocated_remove(::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_remove(::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NULLABLE unsafe_arena_release_remove();
|
|
|
|
private:
|
|
const ::tari::rpc::ValidatorNodeChangeRemove& _internal_remove() const;
|
|
::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NONNULL _internal_mutable_remove();
|
|
|
|
public:
|
|
void clear_change();
|
|
ChangeCase change_case() const;
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.ValidatorNodeChange)
|
|
private:
|
|
class _Internal;
|
|
void set_has_add();
|
|
void set_has_remove();
|
|
inline bool has_change() const;
|
|
inline void clear_has_change();
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 2,
|
|
2, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ValidatorNodeChange& from_msg);
|
|
union ChangeUnion {
|
|
constexpr ChangeUnion() : _constinit_{} {}
|
|
::google::protobuf::internal::ConstantInitialized _constinit_;
|
|
::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NULLABLE add_;
|
|
::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NULLABLE remove_;
|
|
} change_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::uint32_t _oneof_case_[1];
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull ValidatorNodeChange_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetTemplateRegistrationResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetTemplateRegistrationResponse) */ {
|
|
public:
|
|
inline GetTemplateRegistrationResponse() : GetTemplateRegistrationResponse(nullptr) {}
|
|
~GetTemplateRegistrationResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetTemplateRegistrationResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetTemplateRegistrationResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetTemplateRegistrationResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetTemplateRegistrationResponse(const GetTemplateRegistrationResponse& from) : GetTemplateRegistrationResponse(nullptr, from) {}
|
|
inline GetTemplateRegistrationResponse(GetTemplateRegistrationResponse&& from) noexcept
|
|
: GetTemplateRegistrationResponse(nullptr, ::std::move(from)) {}
|
|
inline GetTemplateRegistrationResponse& operator=(const GetTemplateRegistrationResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetTemplateRegistrationResponse& operator=(GetTemplateRegistrationResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetTemplateRegistrationResponse& default_instance() {
|
|
return *reinterpret_cast<const GetTemplateRegistrationResponse*>(
|
|
&_GetTemplateRegistrationResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 58;
|
|
friend void swap(GetTemplateRegistrationResponse& a, GetTemplateRegistrationResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetTemplateRegistrationResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetTemplateRegistrationResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetTemplateRegistrationResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetTemplateRegistrationResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetTemplateRegistrationResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetTemplateRegistrationResponse& from) { GetTemplateRegistrationResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetTemplateRegistrationResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetTemplateRegistrationResponse"; }
|
|
|
|
protected:
|
|
explicit GetTemplateRegistrationResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetTemplateRegistrationResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTemplateRegistrationResponse& from);
|
|
GetTemplateRegistrationResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetTemplateRegistrationResponse&& from) noexcept
|
|
: GetTemplateRegistrationResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kUtxoHashFieldNumber = 1,
|
|
kRegistrationFieldNumber = 2,
|
|
};
|
|
// bytes utxo_hash = 1;
|
|
void clear_utxo_hash() ;
|
|
const ::std::string& utxo_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_utxo_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_utxo_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_utxo_hash();
|
|
void set_allocated_utxo_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_utxo_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_utxo_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_utxo_hash();
|
|
|
|
public:
|
|
// .tari.rpc.TemplateRegistration registration = 2;
|
|
bool has_registration() const;
|
|
void clear_registration() ;
|
|
const ::tari::rpc::TemplateRegistration& registration() const;
|
|
[[nodiscard]] ::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE release_registration();
|
|
::tari::rpc::TemplateRegistration* PROTOBUF_NONNULL mutable_registration();
|
|
void set_allocated_registration(::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_registration(::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE unsafe_arena_release_registration();
|
|
|
|
private:
|
|
const ::tari::rpc::TemplateRegistration& _internal_registration() const;
|
|
::tari::rpc::TemplateRegistration* PROTOBUF_NONNULL _internal_mutable_registration();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetTemplateRegistrationResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetTemplateRegistrationResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr utxo_hash_;
|
|
::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE registration_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetTemplateRegistrationResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetPeersResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetPeersResponse) */ {
|
|
public:
|
|
inline GetPeersResponse() : GetPeersResponse(nullptr) {}
|
|
~GetPeersResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetPeersResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetPeersResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetPeersResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetPeersResponse(const GetPeersResponse& from) : GetPeersResponse(nullptr, from) {}
|
|
inline GetPeersResponse(GetPeersResponse&& from) noexcept
|
|
: GetPeersResponse(nullptr, ::std::move(from)) {}
|
|
inline GetPeersResponse& operator=(const GetPeersResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetPeersResponse& operator=(GetPeersResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetPeersResponse& default_instance() {
|
|
return *reinterpret_cast<const GetPeersResponse*>(
|
|
&_GetPeersResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 39;
|
|
friend void swap(GetPeersResponse& a, GetPeersResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetPeersResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetPeersResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetPeersResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetPeersResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetPeersResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetPeersResponse& from) { GetPeersResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetPeersResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetPeersResponse"; }
|
|
|
|
protected:
|
|
explicit GetPeersResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetPeersResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPeersResponse& from);
|
|
GetPeersResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetPeersResponse&& from) noexcept
|
|
: GetPeersResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPeerFieldNumber = 1,
|
|
};
|
|
// .tari.rpc.Peer peer = 1;
|
|
bool has_peer() const;
|
|
void clear_peer() ;
|
|
const ::tari::rpc::Peer& peer() const;
|
|
[[nodiscard]] ::tari::rpc::Peer* PROTOBUF_NULLABLE release_peer();
|
|
::tari::rpc::Peer* PROTOBUF_NONNULL mutable_peer();
|
|
void set_allocated_peer(::tari::rpc::Peer* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_peer(::tari::rpc::Peer* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::Peer* PROTOBUF_NULLABLE unsafe_arena_release_peer();
|
|
|
|
private:
|
|
const ::tari::rpc::Peer& _internal_peer() const;
|
|
::tari::rpc::Peer* PROTOBUF_NONNULL _internal_mutable_peer();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetPeersResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetPeersResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::Peer* PROTOBUF_NULLABLE peer_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetPeersResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetValidatorNodeChangesResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetValidatorNodeChangesResponse) */ {
|
|
public:
|
|
inline GetValidatorNodeChangesResponse() : GetValidatorNodeChangesResponse(nullptr) {}
|
|
~GetValidatorNodeChangesResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetValidatorNodeChangesResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetValidatorNodeChangesResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetValidatorNodeChangesResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetValidatorNodeChangesResponse(const GetValidatorNodeChangesResponse& from) : GetValidatorNodeChangesResponse(nullptr, from) {}
|
|
inline GetValidatorNodeChangesResponse(GetValidatorNodeChangesResponse&& from) noexcept
|
|
: GetValidatorNodeChangesResponse(nullptr, ::std::move(from)) {}
|
|
inline GetValidatorNodeChangesResponse& operator=(const GetValidatorNodeChangesResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetValidatorNodeChangesResponse& operator=(GetValidatorNodeChangesResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetValidatorNodeChangesResponse& default_instance() {
|
|
return *reinterpret_cast<const GetValidatorNodeChangesResponse*>(
|
|
&_GetValidatorNodeChangesResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 54;
|
|
friend void swap(GetValidatorNodeChangesResponse& a, GetValidatorNodeChangesResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetValidatorNodeChangesResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetValidatorNodeChangesResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetValidatorNodeChangesResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetValidatorNodeChangesResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetValidatorNodeChangesResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetValidatorNodeChangesResponse& from) { GetValidatorNodeChangesResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetValidatorNodeChangesResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetValidatorNodeChangesResponse"; }
|
|
|
|
protected:
|
|
explicit GetValidatorNodeChangesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetValidatorNodeChangesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetValidatorNodeChangesResponse& from);
|
|
GetValidatorNodeChangesResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetValidatorNodeChangesResponse&& from) noexcept
|
|
: GetValidatorNodeChangesResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kChangesFieldNumber = 1,
|
|
};
|
|
// repeated .tari.rpc.ValidatorNodeChange changes = 1;
|
|
int changes_size() const;
|
|
private:
|
|
int _internal_changes_size() const;
|
|
|
|
public:
|
|
void clear_changes() ;
|
|
::tari::rpc::ValidatorNodeChange* PROTOBUF_NONNULL mutable_changes(int index);
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::ValidatorNodeChange>* PROTOBUF_NONNULL mutable_changes();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::ValidatorNodeChange>& _internal_changes() const;
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::ValidatorNodeChange>* PROTOBUF_NONNULL _internal_mutable_changes();
|
|
public:
|
|
const ::tari::rpc::ValidatorNodeChange& changes(int index) const;
|
|
::tari::rpc::ValidatorNodeChange* PROTOBUF_NONNULL add_changes();
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::ValidatorNodeChange>& changes() const;
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetValidatorNodeChangesResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetValidatorNodeChangesResponse& from_msg);
|
|
::google::protobuf::RepeatedPtrField< ::tari::rpc::ValidatorNodeChange > changes_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetValidatorNodeChangesResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ListAssetRegistrationsResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.ListAssetRegistrationsResponse) */ {
|
|
public:
|
|
inline ListAssetRegistrationsResponse() : ListAssetRegistrationsResponse(nullptr) {}
|
|
~ListAssetRegistrationsResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ListAssetRegistrationsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ListAssetRegistrationsResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ListAssetRegistrationsResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ListAssetRegistrationsResponse(const ListAssetRegistrationsResponse& from) : ListAssetRegistrationsResponse(nullptr, from) {}
|
|
inline ListAssetRegistrationsResponse(ListAssetRegistrationsResponse&& from) noexcept
|
|
: ListAssetRegistrationsResponse(nullptr, ::std::move(from)) {}
|
|
inline ListAssetRegistrationsResponse& operator=(const ListAssetRegistrationsResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ListAssetRegistrationsResponse& operator=(ListAssetRegistrationsResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ListAssetRegistrationsResponse& default_instance() {
|
|
return *reinterpret_cast<const ListAssetRegistrationsResponse*>(
|
|
&_ListAssetRegistrationsResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 3;
|
|
friend void swap(ListAssetRegistrationsResponse& a, ListAssetRegistrationsResponse& b) { a.Swap(&b); }
|
|
inline void Swap(ListAssetRegistrationsResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ListAssetRegistrationsResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ListAssetRegistrationsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<ListAssetRegistrationsResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const ListAssetRegistrationsResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const ListAssetRegistrationsResponse& from) { ListAssetRegistrationsResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ListAssetRegistrationsResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.ListAssetRegistrationsResponse"; }
|
|
|
|
protected:
|
|
explicit ListAssetRegistrationsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ListAssetRegistrationsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ListAssetRegistrationsResponse& from);
|
|
ListAssetRegistrationsResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ListAssetRegistrationsResponse&& from) noexcept
|
|
: ListAssetRegistrationsResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAssetPublicKeyFieldNumber = 1,
|
|
kUniqueIdFieldNumber = 2,
|
|
kOwnerCommitmentFieldNumber = 3,
|
|
kMinedInBlockFieldNumber = 5,
|
|
kScriptFieldNumber = 7,
|
|
kFeaturesFieldNumber = 6,
|
|
kMinedHeightFieldNumber = 4,
|
|
};
|
|
// bytes asset_public_key = 1;
|
|
void clear_asset_public_key() ;
|
|
const ::std::string& asset_public_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_asset_public_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_asset_public_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_asset_public_key();
|
|
void set_allocated_asset_public_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_asset_public_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_asset_public_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_asset_public_key();
|
|
|
|
public:
|
|
// bytes unique_id = 2;
|
|
void clear_unique_id() ;
|
|
const ::std::string& unique_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_unique_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_unique_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_unique_id();
|
|
void set_allocated_unique_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_unique_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_unique_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_unique_id();
|
|
|
|
public:
|
|
// bytes owner_commitment = 3;
|
|
void clear_owner_commitment() ;
|
|
const ::std::string& owner_commitment() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_owner_commitment(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_owner_commitment();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_owner_commitment();
|
|
void set_allocated_owner_commitment(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_owner_commitment() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_owner_commitment(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_owner_commitment();
|
|
|
|
public:
|
|
// bytes mined_in_block = 5;
|
|
void clear_mined_in_block() ;
|
|
const ::std::string& mined_in_block() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_mined_in_block(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_mined_in_block();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_mined_in_block();
|
|
void set_allocated_mined_in_block(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_mined_in_block() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_mined_in_block(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_mined_in_block();
|
|
|
|
public:
|
|
// bytes script = 7;
|
|
void clear_script() ;
|
|
const ::std::string& script() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_script(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_script();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_script();
|
|
void set_allocated_script(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_script() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_script(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_script();
|
|
|
|
public:
|
|
// .tari.rpc.OutputFeatures features = 6;
|
|
bool has_features() const;
|
|
void clear_features() ;
|
|
const ::tari::rpc::OutputFeatures& features() const;
|
|
[[nodiscard]] ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE release_features();
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NONNULL mutable_features();
|
|
void set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE unsafe_arena_release_features();
|
|
|
|
private:
|
|
const ::tari::rpc::OutputFeatures& _internal_features() const;
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NONNULL _internal_mutable_features();
|
|
|
|
public:
|
|
// uint64 mined_height = 4;
|
|
void clear_mined_height() ;
|
|
::uint64_t mined_height() const;
|
|
void set_mined_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_mined_height() const;
|
|
void _internal_set_mined_height(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.ListAssetRegistrationsResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 7,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ListAssetRegistrationsResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr asset_public_key_;
|
|
::google::protobuf::internal::ArenaStringPtr unique_id_;
|
|
::google::protobuf::internal::ArenaStringPtr owner_commitment_;
|
|
::google::protobuf::internal::ArenaStringPtr mined_in_block_;
|
|
::google::protobuf::internal::ArenaStringPtr script_;
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE features_;
|
|
::uint64_t mined_height_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull ListAssetRegistrationsResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetTokensResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetTokensResponse) */ {
|
|
public:
|
|
inline GetTokensResponse() : GetTokensResponse(nullptr) {}
|
|
~GetTokensResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetTokensResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetTokensResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetTokensResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetTokensResponse(const GetTokensResponse& from) : GetTokensResponse(nullptr, from) {}
|
|
inline GetTokensResponse(GetTokensResponse&& from) noexcept
|
|
: GetTokensResponse(nullptr, ::std::move(from)) {}
|
|
inline GetTokensResponse& operator=(const GetTokensResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetTokensResponse& operator=(GetTokensResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetTokensResponse& default_instance() {
|
|
return *reinterpret_cast<const GetTokensResponse*>(
|
|
&_GetTokensResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 5;
|
|
friend void swap(GetTokensResponse& a, GetTokensResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetTokensResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetTokensResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetTokensResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetTokensResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetTokensResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetTokensResponse& from) { GetTokensResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetTokensResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetTokensResponse"; }
|
|
|
|
protected:
|
|
explicit GetTokensResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetTokensResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetTokensResponse& from);
|
|
GetTokensResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetTokensResponse&& from) noexcept
|
|
: GetTokensResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kUniqueIdFieldNumber = 1,
|
|
kAssetPublicKeyFieldNumber = 2,
|
|
kOwnerCommitmentFieldNumber = 3,
|
|
kMinedInBlockFieldNumber = 4,
|
|
kScriptFieldNumber = 7,
|
|
kFeaturesFieldNumber = 6,
|
|
kMinedHeightFieldNumber = 5,
|
|
};
|
|
// bytes unique_id = 1;
|
|
void clear_unique_id() ;
|
|
const ::std::string& unique_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_unique_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_unique_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_unique_id();
|
|
void set_allocated_unique_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_unique_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_unique_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_unique_id();
|
|
|
|
public:
|
|
// bytes asset_public_key = 2;
|
|
void clear_asset_public_key() ;
|
|
const ::std::string& asset_public_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_asset_public_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_asset_public_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_asset_public_key();
|
|
void set_allocated_asset_public_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_asset_public_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_asset_public_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_asset_public_key();
|
|
|
|
public:
|
|
// bytes owner_commitment = 3;
|
|
void clear_owner_commitment() ;
|
|
const ::std::string& owner_commitment() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_owner_commitment(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_owner_commitment();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_owner_commitment();
|
|
void set_allocated_owner_commitment(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_owner_commitment() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_owner_commitment(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_owner_commitment();
|
|
|
|
public:
|
|
// bytes mined_in_block = 4;
|
|
void clear_mined_in_block() ;
|
|
const ::std::string& mined_in_block() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_mined_in_block(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_mined_in_block();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_mined_in_block();
|
|
void set_allocated_mined_in_block(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_mined_in_block() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_mined_in_block(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_mined_in_block();
|
|
|
|
public:
|
|
// bytes script = 7;
|
|
void clear_script() ;
|
|
const ::std::string& script() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_script(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_script();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_script();
|
|
void set_allocated_script(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_script() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_script(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_script();
|
|
|
|
public:
|
|
// .tari.rpc.OutputFeatures features = 6;
|
|
bool has_features() const;
|
|
void clear_features() ;
|
|
const ::tari::rpc::OutputFeatures& features() const;
|
|
[[nodiscard]] ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE release_features();
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NONNULL mutable_features();
|
|
void set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE unsafe_arena_release_features();
|
|
|
|
private:
|
|
const ::tari::rpc::OutputFeatures& _internal_features() const;
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NONNULL _internal_mutable_features();
|
|
|
|
public:
|
|
// uint64 mined_height = 5;
|
|
void clear_mined_height() ;
|
|
::uint64_t mined_height() const;
|
|
void set_mined_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_mined_height() const;
|
|
void _internal_set_mined_height(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetTokensResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 7,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetTokensResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr unique_id_;
|
|
::google::protobuf::internal::ArenaStringPtr asset_public_key_;
|
|
::google::protobuf::internal::ArenaStringPtr owner_commitment_;
|
|
::google::protobuf::internal::ArenaStringPtr mined_in_block_;
|
|
::google::protobuf::internal::ArenaStringPtr script_;
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE features_;
|
|
::uint64_t mined_height_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetTokensResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetAssetMetadataResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetAssetMetadataResponse) */ {
|
|
public:
|
|
inline GetAssetMetadataResponse() : GetAssetMetadataResponse(nullptr) {}
|
|
~GetAssetMetadataResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetAssetMetadataResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetAssetMetadataResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetAssetMetadataResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetAssetMetadataResponse(const GetAssetMetadataResponse& from) : GetAssetMetadataResponse(nullptr, from) {}
|
|
inline GetAssetMetadataResponse(GetAssetMetadataResponse&& from) noexcept
|
|
: GetAssetMetadataResponse(nullptr, ::std::move(from)) {}
|
|
inline GetAssetMetadataResponse& operator=(const GetAssetMetadataResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetAssetMetadataResponse& operator=(GetAssetMetadataResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetAssetMetadataResponse& default_instance() {
|
|
return *reinterpret_cast<const GetAssetMetadataResponse*>(
|
|
&_GetAssetMetadataResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 1;
|
|
friend void swap(GetAssetMetadataResponse& a, GetAssetMetadataResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetAssetMetadataResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetAssetMetadataResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetAssetMetadataResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetAssetMetadataResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetAssetMetadataResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetAssetMetadataResponse& from) { GetAssetMetadataResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetAssetMetadataResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetAssetMetadataResponse"; }
|
|
|
|
protected:
|
|
explicit GetAssetMetadataResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetAssetMetadataResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetAssetMetadataResponse& from);
|
|
GetAssetMetadataResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetAssetMetadataResponse&& from) noexcept
|
|
: GetAssetMetadataResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kNameFieldNumber = 2,
|
|
kDescriptionFieldNumber = 3,
|
|
kImageFieldNumber = 4,
|
|
kOwnerCommitmentFieldNumber = 5,
|
|
kMinedInBlockFieldNumber = 8,
|
|
kFeaturesFieldNumber = 6,
|
|
kMinedHeightFieldNumber = 7,
|
|
};
|
|
// string name = 2;
|
|
void clear_name() ;
|
|
const ::std::string& name() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_name(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_name();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
|
|
void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_name() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_name();
|
|
|
|
public:
|
|
// string description = 3;
|
|
void clear_description() ;
|
|
const ::std::string& description() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_description(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_description();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_description();
|
|
void set_allocated_description(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_description() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_description(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_description();
|
|
|
|
public:
|
|
// string image = 4;
|
|
void clear_image() ;
|
|
const ::std::string& image() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_image(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_image();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_image();
|
|
void set_allocated_image(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_image() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_image(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_image();
|
|
|
|
public:
|
|
// bytes owner_commitment = 5;
|
|
void clear_owner_commitment() ;
|
|
const ::std::string& owner_commitment() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_owner_commitment(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_owner_commitment();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_owner_commitment();
|
|
void set_allocated_owner_commitment(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_owner_commitment() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_owner_commitment(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_owner_commitment();
|
|
|
|
public:
|
|
// bytes mined_in_block = 8;
|
|
void clear_mined_in_block() ;
|
|
const ::std::string& mined_in_block() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_mined_in_block(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_mined_in_block();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_mined_in_block();
|
|
void set_allocated_mined_in_block(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_mined_in_block() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_mined_in_block(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_mined_in_block();
|
|
|
|
public:
|
|
// .tari.rpc.OutputFeatures features = 6;
|
|
bool has_features() const;
|
|
void clear_features() ;
|
|
const ::tari::rpc::OutputFeatures& features() const;
|
|
[[nodiscard]] ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE release_features();
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NONNULL mutable_features();
|
|
void set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE unsafe_arena_release_features();
|
|
|
|
private:
|
|
const ::tari::rpc::OutputFeatures& _internal_features() const;
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NONNULL _internal_mutable_features();
|
|
|
|
public:
|
|
// uint64 mined_height = 7;
|
|
void clear_mined_height() ;
|
|
::uint64_t mined_height() const;
|
|
void set_mined_height(::uint64_t value);
|
|
|
|
private:
|
|
::uint64_t _internal_mined_height() const;
|
|
void _internal_set_mined_height(::uint64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetAssetMetadataResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 7,
|
|
1, 62,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetAssetMetadataResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr name_;
|
|
::google::protobuf::internal::ArenaStringPtr description_;
|
|
::google::protobuf::internal::ArenaStringPtr image_;
|
|
::google::protobuf::internal::ArenaStringPtr owner_commitment_;
|
|
::google::protobuf::internal::ArenaStringPtr mined_in_block_;
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE features_;
|
|
::uint64_t mined_height_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetAssetMetadataResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetSideChainUtxosResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetSideChainUtxosResponse) */ {
|
|
public:
|
|
inline GetSideChainUtxosResponse() : GetSideChainUtxosResponse(nullptr) {}
|
|
~GetSideChainUtxosResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetSideChainUtxosResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetSideChainUtxosResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetSideChainUtxosResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetSideChainUtxosResponse(const GetSideChainUtxosResponse& from) : GetSideChainUtxosResponse(nullptr, from) {}
|
|
inline GetSideChainUtxosResponse(GetSideChainUtxosResponse&& from) noexcept
|
|
: GetSideChainUtxosResponse(nullptr, ::std::move(from)) {}
|
|
inline GetSideChainUtxosResponse& operator=(const GetSideChainUtxosResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetSideChainUtxosResponse& operator=(GetSideChainUtxosResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetSideChainUtxosResponse& default_instance() {
|
|
return *reinterpret_cast<const GetSideChainUtxosResponse*>(
|
|
&_GetSideChainUtxosResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 61;
|
|
friend void swap(GetSideChainUtxosResponse& a, GetSideChainUtxosResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetSideChainUtxosResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetSideChainUtxosResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetSideChainUtxosResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetSideChainUtxosResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetSideChainUtxosResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetSideChainUtxosResponse& from) { GetSideChainUtxosResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetSideChainUtxosResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetSideChainUtxosResponse"; }
|
|
|
|
protected:
|
|
explicit GetSideChainUtxosResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetSideChainUtxosResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetSideChainUtxosResponse& from);
|
|
GetSideChainUtxosResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetSideChainUtxosResponse&& from) noexcept
|
|
: GetSideChainUtxosResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kOutputsFieldNumber = 2,
|
|
kBlockInfoFieldNumber = 1,
|
|
};
|
|
// repeated .tari.rpc.TransactionOutput outputs = 2;
|
|
int outputs_size() const;
|
|
private:
|
|
int _internal_outputs_size() const;
|
|
|
|
public:
|
|
void clear_outputs() ;
|
|
::tari::rpc::TransactionOutput* PROTOBUF_NONNULL mutable_outputs(int index);
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::TransactionOutput>* PROTOBUF_NONNULL mutable_outputs();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::TransactionOutput>& _internal_outputs() const;
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::TransactionOutput>* PROTOBUF_NONNULL _internal_mutable_outputs();
|
|
public:
|
|
const ::tari::rpc::TransactionOutput& outputs(int index) const;
|
|
::tari::rpc::TransactionOutput* PROTOBUF_NONNULL add_outputs();
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::TransactionOutput>& outputs() const;
|
|
// .tari.rpc.BlockInfo block_info = 1;
|
|
bool has_block_info() const;
|
|
void clear_block_info() ;
|
|
const ::tari::rpc::BlockInfo& block_info() const;
|
|
[[nodiscard]] ::tari::rpc::BlockInfo* PROTOBUF_NULLABLE release_block_info();
|
|
::tari::rpc::BlockInfo* PROTOBUF_NONNULL mutable_block_info();
|
|
void set_allocated_block_info(::tari::rpc::BlockInfo* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_block_info(::tari::rpc::BlockInfo* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::BlockInfo* PROTOBUF_NULLABLE unsafe_arena_release_block_info();
|
|
|
|
private:
|
|
const ::tari::rpc::BlockInfo& _internal_block_info() const;
|
|
::tari::rpc::BlockInfo* PROTOBUF_NONNULL _internal_mutable_block_info();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetSideChainUtxosResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
2, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetSideChainUtxosResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::tari::rpc::TransactionOutput > outputs_;
|
|
::tari::rpc::BlockInfo* PROTOBUF_NULLABLE block_info_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetSideChainUtxosResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class FetchMatchingUtxosResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.FetchMatchingUtxosResponse) */ {
|
|
public:
|
|
inline FetchMatchingUtxosResponse() : FetchMatchingUtxosResponse(nullptr) {}
|
|
~FetchMatchingUtxosResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(FetchMatchingUtxosResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(FetchMatchingUtxosResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR FetchMatchingUtxosResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline FetchMatchingUtxosResponse(const FetchMatchingUtxosResponse& from) : FetchMatchingUtxosResponse(nullptr, from) {}
|
|
inline FetchMatchingUtxosResponse(FetchMatchingUtxosResponse&& from) noexcept
|
|
: FetchMatchingUtxosResponse(nullptr, ::std::move(from)) {}
|
|
inline FetchMatchingUtxosResponse& operator=(const FetchMatchingUtxosResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline FetchMatchingUtxosResponse& operator=(FetchMatchingUtxosResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const FetchMatchingUtxosResponse& default_instance() {
|
|
return *reinterpret_cast<const FetchMatchingUtxosResponse*>(
|
|
&_FetchMatchingUtxosResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 38;
|
|
friend void swap(FetchMatchingUtxosResponse& a, FetchMatchingUtxosResponse& b) { a.Swap(&b); }
|
|
inline void Swap(FetchMatchingUtxosResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(FetchMatchingUtxosResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
FetchMatchingUtxosResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<FetchMatchingUtxosResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const FetchMatchingUtxosResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const FetchMatchingUtxosResponse& from) { FetchMatchingUtxosResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(FetchMatchingUtxosResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.FetchMatchingUtxosResponse"; }
|
|
|
|
protected:
|
|
explicit FetchMatchingUtxosResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
FetchMatchingUtxosResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FetchMatchingUtxosResponse& from);
|
|
FetchMatchingUtxosResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FetchMatchingUtxosResponse&& from) noexcept
|
|
: FetchMatchingUtxosResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kOutputFieldNumber = 1,
|
|
};
|
|
// .tari.rpc.TransactionOutput output = 1;
|
|
bool has_output() const;
|
|
void clear_output() ;
|
|
const ::tari::rpc::TransactionOutput& output() const;
|
|
[[nodiscard]] ::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE release_output();
|
|
::tari::rpc::TransactionOutput* PROTOBUF_NONNULL mutable_output();
|
|
void set_allocated_output(::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_output(::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE unsafe_arena_release_output();
|
|
|
|
private:
|
|
const ::tari::rpc::TransactionOutput& _internal_output() const;
|
|
::tari::rpc::TransactionOutput* PROTOBUF_NONNULL _internal_mutable_output();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.FetchMatchingUtxosResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const FetchMatchingUtxosResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE output_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull FetchMatchingUtxosResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SubmitTransactionRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.SubmitTransactionRequest) */ {
|
|
public:
|
|
inline SubmitTransactionRequest() : SubmitTransactionRequest(nullptr) {}
|
|
~SubmitTransactionRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SubmitTransactionRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitTransactionRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SubmitTransactionRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SubmitTransactionRequest(const SubmitTransactionRequest& from) : SubmitTransactionRequest(nullptr, from) {}
|
|
inline SubmitTransactionRequest(SubmitTransactionRequest&& from) noexcept
|
|
: SubmitTransactionRequest(nullptr, ::std::move(from)) {}
|
|
inline SubmitTransactionRequest& operator=(const SubmitTransactionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SubmitTransactionRequest& operator=(SubmitTransactionRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const SubmitTransactionRequest& default_instance() {
|
|
return *reinterpret_cast<const SubmitTransactionRequest*>(
|
|
&_SubmitTransactionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 41;
|
|
friend void swap(SubmitTransactionRequest& a, SubmitTransactionRequest& b) { a.Swap(&b); }
|
|
inline void Swap(SubmitTransactionRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SubmitTransactionRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SubmitTransactionRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<SubmitTransactionRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const SubmitTransactionRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const SubmitTransactionRequest& from) { SubmitTransactionRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(SubmitTransactionRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.SubmitTransactionRequest"; }
|
|
|
|
protected:
|
|
explicit SubmitTransactionRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SubmitTransactionRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubmitTransactionRequest& from);
|
|
SubmitTransactionRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SubmitTransactionRequest&& from) noexcept
|
|
: SubmitTransactionRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kTransactionFieldNumber = 1,
|
|
};
|
|
// .tari.rpc.Transaction transaction = 1;
|
|
bool has_transaction() const;
|
|
void clear_transaction() ;
|
|
const ::tari::rpc::Transaction& transaction() const;
|
|
[[nodiscard]] ::tari::rpc::Transaction* PROTOBUF_NULLABLE release_transaction();
|
|
::tari::rpc::Transaction* PROTOBUF_NONNULL mutable_transaction();
|
|
void set_allocated_transaction(::tari::rpc::Transaction* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_transaction(::tari::rpc::Transaction* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::Transaction* PROTOBUF_NULLABLE unsafe_arena_release_transaction();
|
|
|
|
private:
|
|
const ::tari::rpc::Transaction& _internal_transaction() const;
|
|
::tari::rpc::Transaction* PROTOBUF_NONNULL _internal_mutable_transaction();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.SubmitTransactionRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const SubmitTransactionRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::Transaction* PROTOBUF_NULLABLE transaction_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull SubmitTransactionRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class NewBlockTemplateResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.NewBlockTemplateResponse) */ {
|
|
public:
|
|
inline NewBlockTemplateResponse() : NewBlockTemplateResponse(nullptr) {}
|
|
~NewBlockTemplateResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(NewBlockTemplateResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(NewBlockTemplateResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR NewBlockTemplateResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline NewBlockTemplateResponse(const NewBlockTemplateResponse& from) : NewBlockTemplateResponse(nullptr, from) {}
|
|
inline NewBlockTemplateResponse(NewBlockTemplateResponse&& from) noexcept
|
|
: NewBlockTemplateResponse(nullptr, ::std::move(from)) {}
|
|
inline NewBlockTemplateResponse& operator=(const NewBlockTemplateResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline NewBlockTemplateResponse& operator=(NewBlockTemplateResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const NewBlockTemplateResponse& default_instance() {
|
|
return *reinterpret_cast<const NewBlockTemplateResponse*>(
|
|
&_NewBlockTemplateResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 11;
|
|
friend void swap(NewBlockTemplateResponse& a, NewBlockTemplateResponse& b) { a.Swap(&b); }
|
|
inline void Swap(NewBlockTemplateResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(NewBlockTemplateResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
NewBlockTemplateResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<NewBlockTemplateResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const NewBlockTemplateResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const NewBlockTemplateResponse& from) { NewBlockTemplateResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(NewBlockTemplateResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.NewBlockTemplateResponse"; }
|
|
|
|
protected:
|
|
explicit NewBlockTemplateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
NewBlockTemplateResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const NewBlockTemplateResponse& from);
|
|
NewBlockTemplateResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, NewBlockTemplateResponse&& from) noexcept
|
|
: NewBlockTemplateResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kNewBlockTemplateFieldNumber = 1,
|
|
kMinerDataFieldNumber = 4,
|
|
kInitialSyncAchievedFieldNumber = 3,
|
|
};
|
|
// .tari.rpc.NewBlockTemplate new_block_template = 1;
|
|
bool has_new_block_template() const;
|
|
void clear_new_block_template() ;
|
|
const ::tari::rpc::NewBlockTemplate& new_block_template() const;
|
|
[[nodiscard]] ::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE release_new_block_template();
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NONNULL mutable_new_block_template();
|
|
void set_allocated_new_block_template(::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_new_block_template(::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE unsafe_arena_release_new_block_template();
|
|
|
|
private:
|
|
const ::tari::rpc::NewBlockTemplate& _internal_new_block_template() const;
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NONNULL _internal_mutable_new_block_template();
|
|
|
|
public:
|
|
// .tari.rpc.MinerData miner_data = 4;
|
|
bool has_miner_data() const;
|
|
void clear_miner_data() ;
|
|
const ::tari::rpc::MinerData& miner_data() const;
|
|
[[nodiscard]] ::tari::rpc::MinerData* PROTOBUF_NULLABLE release_miner_data();
|
|
::tari::rpc::MinerData* PROTOBUF_NONNULL mutable_miner_data();
|
|
void set_allocated_miner_data(::tari::rpc::MinerData* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_miner_data(::tari::rpc::MinerData* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::MinerData* PROTOBUF_NULLABLE unsafe_arena_release_miner_data();
|
|
|
|
private:
|
|
const ::tari::rpc::MinerData& _internal_miner_data() const;
|
|
::tari::rpc::MinerData* PROTOBUF_NONNULL _internal_mutable_miner_data();
|
|
|
|
public:
|
|
// bool initial_sync_achieved = 3;
|
|
void clear_initial_sync_achieved() ;
|
|
bool initial_sync_achieved() const;
|
|
void set_initial_sync_achieved(bool value);
|
|
|
|
private:
|
|
bool _internal_initial_sync_achieved() const;
|
|
void _internal_set_initial_sync_achieved(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.NewBlockTemplateResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
2, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const NewBlockTemplateResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE new_block_template_;
|
|
::tari::rpc::MinerData* PROTOBUF_NULLABLE miner_data_;
|
|
bool initial_sync_achieved_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull NewBlockTemplateResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetNewBlockWithCoinbasesRequest final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetNewBlockWithCoinbasesRequest) */ {
|
|
public:
|
|
inline GetNewBlockWithCoinbasesRequest() : GetNewBlockWithCoinbasesRequest(nullptr) {}
|
|
~GetNewBlockWithCoinbasesRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetNewBlockWithCoinbasesRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetNewBlockWithCoinbasesRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetNewBlockWithCoinbasesRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetNewBlockWithCoinbasesRequest(const GetNewBlockWithCoinbasesRequest& from) : GetNewBlockWithCoinbasesRequest(nullptr, from) {}
|
|
inline GetNewBlockWithCoinbasesRequest(GetNewBlockWithCoinbasesRequest&& from) noexcept
|
|
: GetNewBlockWithCoinbasesRequest(nullptr, ::std::move(from)) {}
|
|
inline GetNewBlockWithCoinbasesRequest& operator=(const GetNewBlockWithCoinbasesRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetNewBlockWithCoinbasesRequest& operator=(GetNewBlockWithCoinbasesRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetNewBlockWithCoinbasesRequest& default_instance() {
|
|
return *reinterpret_cast<const GetNewBlockWithCoinbasesRequest*>(
|
|
&_GetNewBlockWithCoinbasesRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 14;
|
|
friend void swap(GetNewBlockWithCoinbasesRequest& a, GetNewBlockWithCoinbasesRequest& b) { a.Swap(&b); }
|
|
inline void Swap(GetNewBlockWithCoinbasesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetNewBlockWithCoinbasesRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetNewBlockWithCoinbasesRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetNewBlockWithCoinbasesRequest>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetNewBlockWithCoinbasesRequest& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetNewBlockWithCoinbasesRequest& from) { GetNewBlockWithCoinbasesRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetNewBlockWithCoinbasesRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetNewBlockWithCoinbasesRequest"; }
|
|
|
|
protected:
|
|
explicit GetNewBlockWithCoinbasesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetNewBlockWithCoinbasesRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNewBlockWithCoinbasesRequest& from);
|
|
GetNewBlockWithCoinbasesRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetNewBlockWithCoinbasesRequest&& from) noexcept
|
|
: GetNewBlockWithCoinbasesRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kCoinbasesFieldNumber = 2,
|
|
kNewTemplateFieldNumber = 1,
|
|
};
|
|
// repeated .tari.rpc.NewBlockCoinbase coinbases = 2;
|
|
int coinbases_size() const;
|
|
private:
|
|
int _internal_coinbases_size() const;
|
|
|
|
public:
|
|
void clear_coinbases() ;
|
|
::tari::rpc::NewBlockCoinbase* PROTOBUF_NONNULL mutable_coinbases(int index);
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>* PROTOBUF_NONNULL mutable_coinbases();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>& _internal_coinbases() const;
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>* PROTOBUF_NONNULL _internal_mutable_coinbases();
|
|
public:
|
|
const ::tari::rpc::NewBlockCoinbase& coinbases(int index) const;
|
|
::tari::rpc::NewBlockCoinbase* PROTOBUF_NONNULL add_coinbases();
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>& coinbases() const;
|
|
// .tari.rpc.NewBlockTemplate new_template = 1;
|
|
bool has_new_template() const;
|
|
void clear_new_template() ;
|
|
const ::tari::rpc::NewBlockTemplate& new_template() const;
|
|
[[nodiscard]] ::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE release_new_template();
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NONNULL mutable_new_template();
|
|
void set_allocated_new_template(::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_new_template(::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE unsafe_arena_release_new_template();
|
|
|
|
private:
|
|
const ::tari::rpc::NewBlockTemplate& _internal_new_template() const;
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NONNULL _internal_mutable_new_template();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetNewBlockWithCoinbasesRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
2, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetNewBlockWithCoinbasesRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::tari::rpc::NewBlockCoinbase > coinbases_;
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE new_template_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNewBlockWithCoinbasesRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetNewBlockResult final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetNewBlockResult) */ {
|
|
public:
|
|
inline GetNewBlockResult() : GetNewBlockResult(nullptr) {}
|
|
~GetNewBlockResult() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetNewBlockResult* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetNewBlockResult));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetNewBlockResult(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetNewBlockResult(const GetNewBlockResult& from) : GetNewBlockResult(nullptr, from) {}
|
|
inline GetNewBlockResult(GetNewBlockResult&& from) noexcept
|
|
: GetNewBlockResult(nullptr, ::std::move(from)) {}
|
|
inline GetNewBlockResult& operator=(const GetNewBlockResult& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetNewBlockResult& operator=(GetNewBlockResult&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetNewBlockResult& default_instance() {
|
|
return *reinterpret_cast<const GetNewBlockResult*>(
|
|
&_GetNewBlockResult_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 32;
|
|
friend void swap(GetNewBlockResult& a, GetNewBlockResult& b) { a.Swap(&b); }
|
|
inline void Swap(GetNewBlockResult* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetNewBlockResult* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetNewBlockResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetNewBlockResult>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetNewBlockResult& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetNewBlockResult& from) { GetNewBlockResult::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetNewBlockResult* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetNewBlockResult"; }
|
|
|
|
protected:
|
|
explicit GetNewBlockResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetNewBlockResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetNewBlockResult& from);
|
|
GetNewBlockResult(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetNewBlockResult&& from) noexcept
|
|
: GetNewBlockResult(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kBlockHashFieldNumber = 1,
|
|
kMergeMiningHashFieldNumber = 3,
|
|
kTariUniqueIdFieldNumber = 4,
|
|
kVmKeyFieldNumber = 6,
|
|
kBlockFieldNumber = 2,
|
|
kMinerDataFieldNumber = 5,
|
|
};
|
|
// bytes block_hash = 1;
|
|
void clear_block_hash() ;
|
|
const ::std::string& block_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_block_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_block_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_block_hash();
|
|
void set_allocated_block_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_block_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_block_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_block_hash();
|
|
|
|
public:
|
|
// bytes merge_mining_hash = 3;
|
|
void clear_merge_mining_hash() ;
|
|
const ::std::string& merge_mining_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_merge_mining_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_merge_mining_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_merge_mining_hash();
|
|
void set_allocated_merge_mining_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_merge_mining_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_merge_mining_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_merge_mining_hash();
|
|
|
|
public:
|
|
// bytes tari_unique_id = 4;
|
|
void clear_tari_unique_id() ;
|
|
const ::std::string& tari_unique_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_tari_unique_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_tari_unique_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_tari_unique_id();
|
|
void set_allocated_tari_unique_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_tari_unique_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_tari_unique_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_tari_unique_id();
|
|
|
|
public:
|
|
// bytes vm_key = 6;
|
|
void clear_vm_key() ;
|
|
const ::std::string& vm_key() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_vm_key(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_vm_key();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_vm_key();
|
|
void set_allocated_vm_key(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_vm_key() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_vm_key(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_vm_key();
|
|
|
|
public:
|
|
// .tari.rpc.Block block = 2;
|
|
bool has_block() const;
|
|
void clear_block() ;
|
|
const ::tari::rpc::Block& block() const;
|
|
[[nodiscard]] ::tari::rpc::Block* PROTOBUF_NULLABLE release_block();
|
|
::tari::rpc::Block* PROTOBUF_NONNULL mutable_block();
|
|
void set_allocated_block(::tari::rpc::Block* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_block(::tari::rpc::Block* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::Block* PROTOBUF_NULLABLE unsafe_arena_release_block();
|
|
|
|
private:
|
|
const ::tari::rpc::Block& _internal_block() const;
|
|
::tari::rpc::Block* PROTOBUF_NONNULL _internal_mutable_block();
|
|
|
|
public:
|
|
// .tari.rpc.MinerData miner_data = 5;
|
|
bool has_miner_data() const;
|
|
void clear_miner_data() ;
|
|
const ::tari::rpc::MinerData& miner_data() const;
|
|
[[nodiscard]] ::tari::rpc::MinerData* PROTOBUF_NULLABLE release_miner_data();
|
|
::tari::rpc::MinerData* PROTOBUF_NONNULL mutable_miner_data();
|
|
void set_allocated_miner_data(::tari::rpc::MinerData* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_miner_data(::tari::rpc::MinerData* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::MinerData* PROTOBUF_NULLABLE unsafe_arena_release_miner_data();
|
|
|
|
private:
|
|
const ::tari::rpc::MinerData& _internal_miner_data() const;
|
|
::tari::rpc::MinerData* PROTOBUF_NONNULL _internal_mutable_miner_data();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetNewBlockResult)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 6,
|
|
2, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetNewBlockResult& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr block_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr merge_mining_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr tari_unique_id_;
|
|
::google::protobuf::internal::ArenaStringPtr vm_key_;
|
|
::tari::rpc::Block* PROTOBUF_NULLABLE block_;
|
|
::tari::rpc::MinerData* PROTOBUF_NULLABLE miner_data_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetNewBlockResult_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetMempoolTransactionsResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetMempoolTransactionsResponse) */ {
|
|
public:
|
|
inline GetMempoolTransactionsResponse() : GetMempoolTransactionsResponse(nullptr) {}
|
|
~GetMempoolTransactionsResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetMempoolTransactionsResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetMempoolTransactionsResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetMempoolTransactionsResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetMempoolTransactionsResponse(const GetMempoolTransactionsResponse& from) : GetMempoolTransactionsResponse(nullptr, from) {}
|
|
inline GetMempoolTransactionsResponse(GetMempoolTransactionsResponse&& from) noexcept
|
|
: GetMempoolTransactionsResponse(nullptr, ::std::move(from)) {}
|
|
inline GetMempoolTransactionsResponse& operator=(const GetMempoolTransactionsResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetMempoolTransactionsResponse& operator=(GetMempoolTransactionsResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetMempoolTransactionsResponse& default_instance() {
|
|
return *reinterpret_cast<const GetMempoolTransactionsResponse*>(
|
|
&_GetMempoolTransactionsResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 44;
|
|
friend void swap(GetMempoolTransactionsResponse& a, GetMempoolTransactionsResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetMempoolTransactionsResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetMempoolTransactionsResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetMempoolTransactionsResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetMempoolTransactionsResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetMempoolTransactionsResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetMempoolTransactionsResponse& from) { GetMempoolTransactionsResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetMempoolTransactionsResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetMempoolTransactionsResponse"; }
|
|
|
|
protected:
|
|
explicit GetMempoolTransactionsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetMempoolTransactionsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetMempoolTransactionsResponse& from);
|
|
GetMempoolTransactionsResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetMempoolTransactionsResponse&& from) noexcept
|
|
: GetMempoolTransactionsResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kTransactionFieldNumber = 1,
|
|
};
|
|
// .tari.rpc.Transaction transaction = 1;
|
|
bool has_transaction() const;
|
|
void clear_transaction() ;
|
|
const ::tari::rpc::Transaction& transaction() const;
|
|
[[nodiscard]] ::tari::rpc::Transaction* PROTOBUF_NULLABLE release_transaction();
|
|
::tari::rpc::Transaction* PROTOBUF_NONNULL mutable_transaction();
|
|
void set_allocated_transaction(::tari::rpc::Transaction* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_transaction(::tari::rpc::Transaction* PROTOBUF_NULLABLE value);
|
|
::tari::rpc::Transaction* PROTOBUF_NULLABLE unsafe_arena_release_transaction();
|
|
|
|
private:
|
|
const ::tari::rpc::Transaction& _internal_transaction() const;
|
|
::tari::rpc::Transaction* PROTOBUF_NONNULL _internal_mutable_transaction();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetMempoolTransactionsResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetMempoolTransactionsResponse& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::tari::rpc::Transaction* PROTOBUF_NULLABLE transaction_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetMempoolTransactionsResponse_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetBlocksResponse final : public ::google::protobuf::Message
|
|
/* @@protoc_insertion_point(class_definition:tari.rpc.GetBlocksResponse) */ {
|
|
public:
|
|
inline GetBlocksResponse() : GetBlocksResponse(nullptr) {}
|
|
~GetBlocksResponse() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(GetBlocksResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(GetBlocksResponse));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR GetBlocksResponse(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline GetBlocksResponse(const GetBlocksResponse& from) : GetBlocksResponse(nullptr, from) {}
|
|
inline GetBlocksResponse(GetBlocksResponse&& from) noexcept
|
|
: GetBlocksResponse(nullptr, ::std::move(from)) {}
|
|
inline GetBlocksResponse& operator=(const GetBlocksResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline GetBlocksResponse& operator=(GetBlocksResponse&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const GetBlocksResponse& default_instance() {
|
|
return *reinterpret_cast<const GetBlocksResponse*>(
|
|
&_GetBlocksResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 28;
|
|
friend void swap(GetBlocksResponse& a, GetBlocksResponse& b) { a.Swap(&b); }
|
|
inline void Swap(GetBlocksResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(GetBlocksResponse* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
GetBlocksResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::Message::DefaultConstruct<GetBlocksResponse>(arena);
|
|
}
|
|
using ::google::protobuf::Message::CopyFrom;
|
|
void CopyFrom(const GetBlocksResponse& from);
|
|
using ::google::protobuf::Message::MergeFrom;
|
|
void MergeFrom(const GetBlocksResponse& from) { GetBlocksResponse::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(GetBlocksResponse* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "tari.rpc.GetBlocksResponse"; }
|
|
|
|
protected:
|
|
explicit GetBlocksResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
GetBlocksResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBlocksResponse& from);
|
|
GetBlocksResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetBlocksResponse&& from) noexcept
|
|
: GetBlocksResponse(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kBlocksFieldNumber = 1,
|
|
};
|
|
// repeated .tari.rpc.HistoricalBlock blocks = 1;
|
|
int blocks_size() const;
|
|
private:
|
|
int _internal_blocks_size() const;
|
|
|
|
public:
|
|
void clear_blocks() ;
|
|
::tari::rpc::HistoricalBlock* PROTOBUF_NONNULL mutable_blocks(int index);
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::HistoricalBlock>* PROTOBUF_NONNULL mutable_blocks();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::HistoricalBlock>& _internal_blocks() const;
|
|
::google::protobuf::RepeatedPtrField<::tari::rpc::HistoricalBlock>* PROTOBUF_NONNULL _internal_mutable_blocks();
|
|
public:
|
|
const ::tari::rpc::HistoricalBlock& blocks(int index) const;
|
|
::tari::rpc::HistoricalBlock* PROTOBUF_NONNULL add_blocks();
|
|
const ::google::protobuf::RepeatedPtrField<::tari::rpc::HistoricalBlock>& blocks() const;
|
|
// @@protoc_insertion_point(class_scope:tari.rpc.GetBlocksResponse)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const GetBlocksResponse& from_msg);
|
|
::google::protobuf::RepeatedPtrField< ::tari::rpc::HistoricalBlock > blocks_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_base_5fnode_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataFull GetBlocksResponse_class_data_;
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetAssetMetadataRequest
|
|
|
|
// bytes asset_public_key = 1;
|
|
inline void GetAssetMetadataRequest::clear_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.asset_public_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataRequest::asset_public_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetAssetMetadataRequest.asset_public_key)
|
|
return _internal_asset_public_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetAssetMetadataRequest::set_asset_public_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.asset_public_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetAssetMetadataRequest.asset_public_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataRequest::mutable_asset_public_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_asset_public_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetAssetMetadataRequest.asset_public_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataRequest::_internal_asset_public_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.asset_public_key_.Get();
|
|
}
|
|
inline void GetAssetMetadataRequest::_internal_set_asset_public_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.asset_public_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataRequest::_internal_mutable_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.asset_public_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetAssetMetadataRequest::release_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetAssetMetadataRequest.asset_public_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.asset_public_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.asset_public_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetAssetMetadataRequest::set_allocated_asset_public_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.asset_public_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.asset_public_key_.IsDefault()) {
|
|
_impl_.asset_public_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetAssetMetadataRequest.asset_public_key)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetAssetMetadataResponse
|
|
|
|
// string name = 2;
|
|
inline void GetAssetMetadataResponse::clear_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.name_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::name() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetAssetMetadataResponse.name)
|
|
return _internal_name();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetAssetMetadataResponse::set_name(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetAssetMetadataResponse.name)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::mutable_name()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_name();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetAssetMetadataResponse.name)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::_internal_name() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.name_.Get();
|
|
}
|
|
inline void GetAssetMetadataResponse::_internal_set_name(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.name_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::_internal_mutable_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.name_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetAssetMetadataResponse::release_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetAssetMetadataResponse.name)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.name_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.name_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetAssetMetadataResponse::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.name_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
|
|
_impl_.name_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetAssetMetadataResponse.name)
|
|
}
|
|
|
|
// string description = 3;
|
|
inline void GetAssetMetadataResponse::clear_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.description_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::description() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetAssetMetadataResponse.description)
|
|
return _internal_description();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetAssetMetadataResponse::set_description(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetAssetMetadataResponse.description)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::mutable_description()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_description();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetAssetMetadataResponse.description)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::_internal_description() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.description_.Get();
|
|
}
|
|
inline void GetAssetMetadataResponse::_internal_set_description(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.description_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::_internal_mutable_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.description_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetAssetMetadataResponse::release_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetAssetMetadataResponse.description)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.description_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.description_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetAssetMetadataResponse::set_allocated_description(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.description_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) {
|
|
_impl_.description_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetAssetMetadataResponse.description)
|
|
}
|
|
|
|
// string image = 4;
|
|
inline void GetAssetMetadataResponse::clear_image() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.image_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::image() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetAssetMetadataResponse.image)
|
|
return _internal_image();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetAssetMetadataResponse::set_image(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.image_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetAssetMetadataResponse.image)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::mutable_image()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_image();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetAssetMetadataResponse.image)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::_internal_image() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.image_.Get();
|
|
}
|
|
inline void GetAssetMetadataResponse::_internal_set_image(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.image_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::_internal_mutable_image() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
return _impl_.image_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetAssetMetadataResponse::release_image() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetAssetMetadataResponse.image)
|
|
if ((_impl_._has_bits_[0] & 0x00000004u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
auto* released = _impl_.image_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.image_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetAssetMetadataResponse::set_allocated_image(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
_impl_.image_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.image_.IsDefault()) {
|
|
_impl_.image_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetAssetMetadataResponse.image)
|
|
}
|
|
|
|
// bytes owner_commitment = 5;
|
|
inline void GetAssetMetadataResponse::clear_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.owner_commitment_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::owner_commitment() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetAssetMetadataResponse.owner_commitment)
|
|
return _internal_owner_commitment();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetAssetMetadataResponse::set_owner_commitment(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.owner_commitment_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetAssetMetadataResponse.owner_commitment)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::mutable_owner_commitment()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_owner_commitment();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetAssetMetadataResponse.owner_commitment)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::_internal_owner_commitment() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.owner_commitment_.Get();
|
|
}
|
|
inline void GetAssetMetadataResponse::_internal_set_owner_commitment(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.owner_commitment_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::_internal_mutable_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
return _impl_.owner_commitment_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetAssetMetadataResponse::release_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetAssetMetadataResponse.owner_commitment)
|
|
if ((_impl_._has_bits_[0] & 0x00000008u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
auto* released = _impl_.owner_commitment_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.owner_commitment_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetAssetMetadataResponse::set_allocated_owner_commitment(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
_impl_.owner_commitment_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.owner_commitment_.IsDefault()) {
|
|
_impl_.owner_commitment_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetAssetMetadataResponse.owner_commitment)
|
|
}
|
|
|
|
// .tari.rpc.OutputFeatures features = 6;
|
|
inline bool GetAssetMetadataResponse::has_features() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::OutputFeatures& GetAssetMetadataResponse::_internal_features() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::OutputFeatures* p = _impl_.features_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::OutputFeatures&>(::tari::rpc::_OutputFeatures_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::OutputFeatures& GetAssetMetadataResponse::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetAssetMetadataResponse.features)
|
|
return _internal_features();
|
|
}
|
|
inline void GetAssetMetadataResponse::unsafe_arena_set_allocated_features(
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_);
|
|
}
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetAssetMetadataResponse.features)
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE GetAssetMetadataResponse::release_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
::tari::rpc::OutputFeatures* released = _impl_.features_;
|
|
_impl_.features_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE GetAssetMetadataResponse::unsafe_arena_release_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetAssetMetadataResponse.features)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
::tari::rpc::OutputFeatures* temp = _impl_.features_;
|
|
_impl_.features_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NONNULL GetAssetMetadataResponse::_internal_mutable_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.features_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::OutputFeatures>(GetArena());
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(p);
|
|
}
|
|
return _impl_.features_;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NONNULL GetAssetMetadataResponse::mutable_features()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
::tari::rpc::OutputFeatures* _msg = _internal_mutable_features();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetAssetMetadataResponse.features)
|
|
return _msg;
|
|
}
|
|
inline void GetAssetMetadataResponse::set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetAssetMetadataResponse.features)
|
|
}
|
|
|
|
// uint64 mined_height = 7;
|
|
inline void GetAssetMetadataResponse::clear_mined_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline ::uint64_t GetAssetMetadataResponse::mined_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetAssetMetadataResponse.mined_height)
|
|
return _internal_mined_height();
|
|
}
|
|
inline void GetAssetMetadataResponse::set_mined_height(::uint64_t value) {
|
|
_internal_set_mined_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000040u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetAssetMetadataResponse.mined_height)
|
|
}
|
|
inline ::uint64_t GetAssetMetadataResponse::_internal_mined_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mined_height_;
|
|
}
|
|
inline void GetAssetMetadataResponse::_internal_set_mined_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_height_ = value;
|
|
}
|
|
|
|
// bytes mined_in_block = 8;
|
|
inline void GetAssetMetadataResponse::clear_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_in_block_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::mined_in_block() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetAssetMetadataResponse.mined_in_block)
|
|
return _internal_mined_in_block();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetAssetMetadataResponse::set_mined_in_block(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.mined_in_block_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetAssetMetadataResponse.mined_in_block)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::mutable_mined_in_block()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_mined_in_block();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetAssetMetadataResponse.mined_in_block)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetAssetMetadataResponse::_internal_mined_in_block() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mined_in_block_.Get();
|
|
}
|
|
inline void GetAssetMetadataResponse::_internal_set_mined_in_block(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.mined_in_block_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetAssetMetadataResponse::_internal_mutable_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
return _impl_.mined_in_block_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetAssetMetadataResponse::release_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetAssetMetadataResponse.mined_in_block)
|
|
if ((_impl_._has_bits_[0] & 0x00000010u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
auto* released = _impl_.mined_in_block_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.mined_in_block_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetAssetMetadataResponse::set_allocated_mined_in_block(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
_impl_.mined_in_block_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mined_in_block_.IsDefault()) {
|
|
_impl_.mined_in_block_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetAssetMetadataResponse.mined_in_block)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ListAssetRegistrationsRequest
|
|
|
|
// uint64 offset = 2;
|
|
inline void ListAssetRegistrationsRequest::clear_offset() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.offset_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t ListAssetRegistrationsRequest::offset() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsRequest.offset)
|
|
return _internal_offset();
|
|
}
|
|
inline void ListAssetRegistrationsRequest::set_offset(::uint64_t value) {
|
|
_internal_set_offset(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListAssetRegistrationsRequest.offset)
|
|
}
|
|
inline ::uint64_t ListAssetRegistrationsRequest::_internal_offset() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.offset_;
|
|
}
|
|
inline void ListAssetRegistrationsRequest::_internal_set_offset(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.offset_ = value;
|
|
}
|
|
|
|
// uint64 count = 3;
|
|
inline void ListAssetRegistrationsRequest::clear_count() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.count_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t ListAssetRegistrationsRequest::count() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsRequest.count)
|
|
return _internal_count();
|
|
}
|
|
inline void ListAssetRegistrationsRequest::set_count(::uint64_t value) {
|
|
_internal_set_count(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListAssetRegistrationsRequest.count)
|
|
}
|
|
inline ::uint64_t ListAssetRegistrationsRequest::_internal_count() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.count_;
|
|
}
|
|
inline void ListAssetRegistrationsRequest::_internal_set_count(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.count_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ListAssetRegistrationsResponse
|
|
|
|
// bytes asset_public_key = 1;
|
|
inline void ListAssetRegistrationsResponse::clear_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.asset_public_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::asset_public_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsResponse.asset_public_key)
|
|
return _internal_asset_public_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ListAssetRegistrationsResponse::set_asset_public_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.asset_public_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListAssetRegistrationsResponse.asset_public_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::mutable_asset_public_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_asset_public_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ListAssetRegistrationsResponse.asset_public_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::_internal_asset_public_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.asset_public_key_.Get();
|
|
}
|
|
inline void ListAssetRegistrationsResponse::_internal_set_asset_public_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.asset_public_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::_internal_mutable_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.asset_public_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ListAssetRegistrationsResponse::release_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ListAssetRegistrationsResponse.asset_public_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.asset_public_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.asset_public_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ListAssetRegistrationsResponse::set_allocated_asset_public_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.asset_public_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.asset_public_key_.IsDefault()) {
|
|
_impl_.asset_public_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ListAssetRegistrationsResponse.asset_public_key)
|
|
}
|
|
|
|
// bytes unique_id = 2;
|
|
inline void ListAssetRegistrationsResponse::clear_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.unique_id_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::unique_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsResponse.unique_id)
|
|
return _internal_unique_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ListAssetRegistrationsResponse::set_unique_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.unique_id_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListAssetRegistrationsResponse.unique_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::mutable_unique_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_unique_id();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ListAssetRegistrationsResponse.unique_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::_internal_unique_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.unique_id_.Get();
|
|
}
|
|
inline void ListAssetRegistrationsResponse::_internal_set_unique_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.unique_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::_internal_mutable_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.unique_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ListAssetRegistrationsResponse::release_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ListAssetRegistrationsResponse.unique_id)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.unique_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.unique_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ListAssetRegistrationsResponse::set_allocated_unique_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.unique_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.unique_id_.IsDefault()) {
|
|
_impl_.unique_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ListAssetRegistrationsResponse.unique_id)
|
|
}
|
|
|
|
// bytes owner_commitment = 3;
|
|
inline void ListAssetRegistrationsResponse::clear_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.owner_commitment_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::owner_commitment() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsResponse.owner_commitment)
|
|
return _internal_owner_commitment();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ListAssetRegistrationsResponse::set_owner_commitment(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.owner_commitment_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListAssetRegistrationsResponse.owner_commitment)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::mutable_owner_commitment()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_owner_commitment();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ListAssetRegistrationsResponse.owner_commitment)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::_internal_owner_commitment() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.owner_commitment_.Get();
|
|
}
|
|
inline void ListAssetRegistrationsResponse::_internal_set_owner_commitment(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.owner_commitment_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::_internal_mutable_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
return _impl_.owner_commitment_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ListAssetRegistrationsResponse::release_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ListAssetRegistrationsResponse.owner_commitment)
|
|
if ((_impl_._has_bits_[0] & 0x00000004u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
auto* released = _impl_.owner_commitment_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.owner_commitment_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ListAssetRegistrationsResponse::set_allocated_owner_commitment(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
_impl_.owner_commitment_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.owner_commitment_.IsDefault()) {
|
|
_impl_.owner_commitment_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ListAssetRegistrationsResponse.owner_commitment)
|
|
}
|
|
|
|
// uint64 mined_height = 4;
|
|
inline void ListAssetRegistrationsResponse::clear_mined_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline ::uint64_t ListAssetRegistrationsResponse::mined_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsResponse.mined_height)
|
|
return _internal_mined_height();
|
|
}
|
|
inline void ListAssetRegistrationsResponse::set_mined_height(::uint64_t value) {
|
|
_internal_set_mined_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000040u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListAssetRegistrationsResponse.mined_height)
|
|
}
|
|
inline ::uint64_t ListAssetRegistrationsResponse::_internal_mined_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mined_height_;
|
|
}
|
|
inline void ListAssetRegistrationsResponse::_internal_set_mined_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_height_ = value;
|
|
}
|
|
|
|
// bytes mined_in_block = 5;
|
|
inline void ListAssetRegistrationsResponse::clear_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_in_block_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::mined_in_block() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsResponse.mined_in_block)
|
|
return _internal_mined_in_block();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ListAssetRegistrationsResponse::set_mined_in_block(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.mined_in_block_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListAssetRegistrationsResponse.mined_in_block)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::mutable_mined_in_block()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_mined_in_block();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ListAssetRegistrationsResponse.mined_in_block)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::_internal_mined_in_block() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mined_in_block_.Get();
|
|
}
|
|
inline void ListAssetRegistrationsResponse::_internal_set_mined_in_block(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.mined_in_block_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::_internal_mutable_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
return _impl_.mined_in_block_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ListAssetRegistrationsResponse::release_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ListAssetRegistrationsResponse.mined_in_block)
|
|
if ((_impl_._has_bits_[0] & 0x00000008u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
auto* released = _impl_.mined_in_block_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.mined_in_block_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ListAssetRegistrationsResponse::set_allocated_mined_in_block(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
_impl_.mined_in_block_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mined_in_block_.IsDefault()) {
|
|
_impl_.mined_in_block_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ListAssetRegistrationsResponse.mined_in_block)
|
|
}
|
|
|
|
// .tari.rpc.OutputFeatures features = 6;
|
|
inline bool ListAssetRegistrationsResponse::has_features() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::OutputFeatures& ListAssetRegistrationsResponse::_internal_features() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::OutputFeatures* p = _impl_.features_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::OutputFeatures&>(::tari::rpc::_OutputFeatures_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::OutputFeatures& ListAssetRegistrationsResponse::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsResponse.features)
|
|
return _internal_features();
|
|
}
|
|
inline void ListAssetRegistrationsResponse::unsafe_arena_set_allocated_features(
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_);
|
|
}
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.ListAssetRegistrationsResponse.features)
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE ListAssetRegistrationsResponse::release_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
::tari::rpc::OutputFeatures* released = _impl_.features_;
|
|
_impl_.features_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE ListAssetRegistrationsResponse::unsafe_arena_release_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ListAssetRegistrationsResponse.features)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
::tari::rpc::OutputFeatures* temp = _impl_.features_;
|
|
_impl_.features_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NONNULL ListAssetRegistrationsResponse::_internal_mutable_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.features_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::OutputFeatures>(GetArena());
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(p);
|
|
}
|
|
return _impl_.features_;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NONNULL ListAssetRegistrationsResponse::mutable_features()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
::tari::rpc::OutputFeatures* _msg = _internal_mutable_features();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ListAssetRegistrationsResponse.features)
|
|
return _msg;
|
|
}
|
|
inline void ListAssetRegistrationsResponse::set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ListAssetRegistrationsResponse.features)
|
|
}
|
|
|
|
// bytes script = 7;
|
|
inline void ListAssetRegistrationsResponse::clear_script() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.script_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::script() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListAssetRegistrationsResponse.script)
|
|
return _internal_script();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ListAssetRegistrationsResponse::set_script(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.script_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListAssetRegistrationsResponse.script)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::mutable_script()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_script();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ListAssetRegistrationsResponse.script)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ListAssetRegistrationsResponse::_internal_script() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.script_.Get();
|
|
}
|
|
inline void ListAssetRegistrationsResponse::_internal_set_script(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.script_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ListAssetRegistrationsResponse::_internal_mutable_script() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
return _impl_.script_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ListAssetRegistrationsResponse::release_script() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ListAssetRegistrationsResponse.script)
|
|
if ((_impl_._has_bits_[0] & 0x00000010u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
auto* released = _impl_.script_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.script_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ListAssetRegistrationsResponse::set_allocated_script(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
_impl_.script_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.script_.IsDefault()) {
|
|
_impl_.script_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ListAssetRegistrationsResponse.script)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetTokensRequest
|
|
|
|
// bytes asset_public_key = 1;
|
|
inline void GetTokensRequest::clear_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.asset_public_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetTokensRequest::asset_public_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensRequest.asset_public_key)
|
|
return _internal_asset_public_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetTokensRequest::set_asset_public_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.asset_public_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTokensRequest.asset_public_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensRequest::mutable_asset_public_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_asset_public_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTokensRequest.asset_public_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTokensRequest::_internal_asset_public_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.asset_public_key_.Get();
|
|
}
|
|
inline void GetTokensRequest::_internal_set_asset_public_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.asset_public_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensRequest::_internal_mutable_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.asset_public_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetTokensRequest::release_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTokensRequest.asset_public_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.asset_public_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.asset_public_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetTokensRequest::set_allocated_asset_public_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.asset_public_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.asset_public_key_.IsDefault()) {
|
|
_impl_.asset_public_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTokensRequest.asset_public_key)
|
|
}
|
|
|
|
// repeated bytes unique_ids = 2;
|
|
inline int GetTokensRequest::_internal_unique_ids_size() const {
|
|
return _internal_unique_ids().size();
|
|
}
|
|
inline int GetTokensRequest::unique_ids_size() const {
|
|
return _internal_unique_ids_size();
|
|
}
|
|
inline void GetTokensRequest::clear_unique_ids() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.unique_ids_.Clear();
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensRequest::add_unique_ids()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::std::string* _s = _internal_mutable_unique_ids()->Add();
|
|
// @@protoc_insertion_point(field_add_mutable:tari.rpc.GetTokensRequest.unique_ids)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTokensRequest::unique_ids(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensRequest.unique_ids)
|
|
return _internal_unique_ids().Get(index);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensRequest::mutable_unique_ids(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTokensRequest.unique_ids)
|
|
return _internal_mutable_unique_ids()->Mutable(index);
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void GetTokensRequest::set_unique_ids(int index, Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::AssignToString(*_internal_mutable_unique_ids()->Mutable(index), ::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTokensRequest.unique_ids)
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void GetTokensRequest::add_unique_ids(Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_unique_ids(),
|
|
::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_add:tari.rpc.GetTokensRequest.unique_ids)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>& GetTokensRequest::unique_ids()
|
|
const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.GetTokensRequest.unique_ids)
|
|
return _internal_unique_ids();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
GetTokensRequest::mutable_unique_ids() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.GetTokensRequest.unique_ids)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_unique_ids();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
|
|
GetTokensRequest::_internal_unique_ids() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.unique_ids_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
GetTokensRequest::_internal_mutable_unique_ids() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.unique_ids_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetTokensResponse
|
|
|
|
// bytes unique_id = 1;
|
|
inline void GetTokensResponse::clear_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.unique_id_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::unique_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensResponse.unique_id)
|
|
return _internal_unique_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetTokensResponse::set_unique_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.unique_id_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTokensResponse.unique_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::mutable_unique_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_unique_id();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTokensResponse.unique_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::_internal_unique_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.unique_id_.Get();
|
|
}
|
|
inline void GetTokensResponse::_internal_set_unique_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.unique_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::_internal_mutable_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.unique_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetTokensResponse::release_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTokensResponse.unique_id)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.unique_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.unique_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetTokensResponse::set_allocated_unique_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.unique_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.unique_id_.IsDefault()) {
|
|
_impl_.unique_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTokensResponse.unique_id)
|
|
}
|
|
|
|
// bytes asset_public_key = 2;
|
|
inline void GetTokensResponse::clear_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.asset_public_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::asset_public_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensResponse.asset_public_key)
|
|
return _internal_asset_public_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetTokensResponse::set_asset_public_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.asset_public_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTokensResponse.asset_public_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::mutable_asset_public_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_asset_public_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTokensResponse.asset_public_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::_internal_asset_public_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.asset_public_key_.Get();
|
|
}
|
|
inline void GetTokensResponse::_internal_set_asset_public_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.asset_public_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::_internal_mutable_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.asset_public_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetTokensResponse::release_asset_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTokensResponse.asset_public_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.asset_public_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.asset_public_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetTokensResponse::set_allocated_asset_public_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.asset_public_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.asset_public_key_.IsDefault()) {
|
|
_impl_.asset_public_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTokensResponse.asset_public_key)
|
|
}
|
|
|
|
// bytes owner_commitment = 3;
|
|
inline void GetTokensResponse::clear_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.owner_commitment_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::owner_commitment() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensResponse.owner_commitment)
|
|
return _internal_owner_commitment();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetTokensResponse::set_owner_commitment(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.owner_commitment_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTokensResponse.owner_commitment)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::mutable_owner_commitment()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_owner_commitment();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTokensResponse.owner_commitment)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::_internal_owner_commitment() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.owner_commitment_.Get();
|
|
}
|
|
inline void GetTokensResponse::_internal_set_owner_commitment(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.owner_commitment_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::_internal_mutable_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
return _impl_.owner_commitment_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetTokensResponse::release_owner_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTokensResponse.owner_commitment)
|
|
if ((_impl_._has_bits_[0] & 0x00000004u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
auto* released = _impl_.owner_commitment_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.owner_commitment_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetTokensResponse::set_allocated_owner_commitment(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
_impl_.owner_commitment_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.owner_commitment_.IsDefault()) {
|
|
_impl_.owner_commitment_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTokensResponse.owner_commitment)
|
|
}
|
|
|
|
// bytes mined_in_block = 4;
|
|
inline void GetTokensResponse::clear_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_in_block_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::mined_in_block() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensResponse.mined_in_block)
|
|
return _internal_mined_in_block();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetTokensResponse::set_mined_in_block(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.mined_in_block_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTokensResponse.mined_in_block)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::mutable_mined_in_block()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_mined_in_block();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTokensResponse.mined_in_block)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::_internal_mined_in_block() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mined_in_block_.Get();
|
|
}
|
|
inline void GetTokensResponse::_internal_set_mined_in_block(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.mined_in_block_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::_internal_mutable_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
return _impl_.mined_in_block_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetTokensResponse::release_mined_in_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTokensResponse.mined_in_block)
|
|
if ((_impl_._has_bits_[0] & 0x00000008u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
auto* released = _impl_.mined_in_block_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.mined_in_block_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetTokensResponse::set_allocated_mined_in_block(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
_impl_.mined_in_block_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mined_in_block_.IsDefault()) {
|
|
_impl_.mined_in_block_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTokensResponse.mined_in_block)
|
|
}
|
|
|
|
// uint64 mined_height = 5;
|
|
inline void GetTokensResponse::clear_mined_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline ::uint64_t GetTokensResponse::mined_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensResponse.mined_height)
|
|
return _internal_mined_height();
|
|
}
|
|
inline void GetTokensResponse::set_mined_height(::uint64_t value) {
|
|
_internal_set_mined_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000040u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTokensResponse.mined_height)
|
|
}
|
|
inline ::uint64_t GetTokensResponse::_internal_mined_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mined_height_;
|
|
}
|
|
inline void GetTokensResponse::_internal_set_mined_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_height_ = value;
|
|
}
|
|
|
|
// .tari.rpc.OutputFeatures features = 6;
|
|
inline bool GetTokensResponse::has_features() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::OutputFeatures& GetTokensResponse::_internal_features() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::OutputFeatures* p = _impl_.features_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::OutputFeatures&>(::tari::rpc::_OutputFeatures_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::OutputFeatures& GetTokensResponse::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensResponse.features)
|
|
return _internal_features();
|
|
}
|
|
inline void GetTokensResponse::unsafe_arena_set_allocated_features(
|
|
::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_);
|
|
}
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetTokensResponse.features)
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE GetTokensResponse::release_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
::tari::rpc::OutputFeatures* released = _impl_.features_;
|
|
_impl_.features_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE GetTokensResponse::unsafe_arena_release_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTokensResponse.features)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
::tari::rpc::OutputFeatures* temp = _impl_.features_;
|
|
_impl_.features_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NONNULL GetTokensResponse::_internal_mutable_features() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.features_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::OutputFeatures>(GetArena());
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(p);
|
|
}
|
|
return _impl_.features_;
|
|
}
|
|
inline ::tari::rpc::OutputFeatures* PROTOBUF_NONNULL GetTokensResponse::mutable_features()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
::tari::rpc::OutputFeatures* _msg = _internal_mutable_features();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTokensResponse.features)
|
|
return _msg;
|
|
}
|
|
inline void GetTokensResponse::set_allocated_features(::tari::rpc::OutputFeatures* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
|
|
_impl_.features_ = reinterpret_cast<::tari::rpc::OutputFeatures*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTokensResponse.features)
|
|
}
|
|
|
|
// bytes script = 7;
|
|
inline void GetTokensResponse::clear_script() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.script_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::script() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTokensResponse.script)
|
|
return _internal_script();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetTokensResponse::set_script(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.script_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTokensResponse.script)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::mutable_script()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_script();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTokensResponse.script)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTokensResponse::_internal_script() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.script_.Get();
|
|
}
|
|
inline void GetTokensResponse::_internal_set_script(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.script_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTokensResponse::_internal_mutable_script() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
return _impl_.script_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetTokensResponse::release_script() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTokensResponse.script)
|
|
if ((_impl_._has_bits_[0] & 0x00000010u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
auto* released = _impl_.script_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.script_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetTokensResponse::set_allocated_script(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
_impl_.script_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.script_.IsDefault()) {
|
|
_impl_.script_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTokensResponse.script)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SubmitBlockResponse
|
|
|
|
// bytes block_hash = 1;
|
|
inline void SubmitBlockResponse::clear_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.block_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& SubmitBlockResponse::block_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SubmitBlockResponse.block_hash)
|
|
return _internal_block_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void SubmitBlockResponse::set_block_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.block_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SubmitBlockResponse.block_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SubmitBlockResponse::mutable_block_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_block_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.SubmitBlockResponse.block_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& SubmitBlockResponse::_internal_block_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.block_hash_.Get();
|
|
}
|
|
inline void SubmitBlockResponse::_internal_set_block_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.block_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SubmitBlockResponse::_internal_mutable_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.block_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE SubmitBlockResponse::release_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.SubmitBlockResponse.block_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.block_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.block_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void SubmitBlockResponse::set_allocated_block_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.block_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.block_hash_.IsDefault()) {
|
|
_impl_.block_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.SubmitBlockResponse.block_hash)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BlockBlobRequest
|
|
|
|
// bytes header_blob = 1;
|
|
inline void BlockBlobRequest::clear_header_blob() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.header_blob_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& BlockBlobRequest::header_blob() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockBlobRequest.header_blob)
|
|
return _internal_header_blob();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BlockBlobRequest::set_header_blob(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.header_blob_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockBlobRequest.header_blob)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BlockBlobRequest::mutable_header_blob()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_header_blob();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.BlockBlobRequest.header_blob)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BlockBlobRequest::_internal_header_blob() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.header_blob_.Get();
|
|
}
|
|
inline void BlockBlobRequest::_internal_set_header_blob(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.header_blob_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BlockBlobRequest::_internal_mutable_header_blob() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.header_blob_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BlockBlobRequest::release_header_blob() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.BlockBlobRequest.header_blob)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.header_blob_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.header_blob_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BlockBlobRequest::set_allocated_header_blob(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.header_blob_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.header_blob_.IsDefault()) {
|
|
_impl_.header_blob_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.BlockBlobRequest.header_blob)
|
|
}
|
|
|
|
// bytes body_blob = 2;
|
|
inline void BlockBlobRequest::clear_body_blob() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.body_blob_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& BlockBlobRequest::body_blob() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockBlobRequest.body_blob)
|
|
return _internal_body_blob();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BlockBlobRequest::set_body_blob(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.body_blob_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockBlobRequest.body_blob)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BlockBlobRequest::mutable_body_blob()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_body_blob();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.BlockBlobRequest.body_blob)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BlockBlobRequest::_internal_body_blob() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.body_blob_.Get();
|
|
}
|
|
inline void BlockBlobRequest::_internal_set_body_blob(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.body_blob_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BlockBlobRequest::_internal_mutable_body_blob() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.body_blob_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BlockBlobRequest::release_body_blob() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.BlockBlobRequest.body_blob)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.body_blob_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.body_blob_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BlockBlobRequest::set_allocated_body_blob(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.body_blob_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.body_blob_.IsDefault()) {
|
|
_impl_.body_blob_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.BlockBlobRequest.body_blob)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TipInfoResponse
|
|
|
|
// .tari.rpc.MetaData metadata = 1;
|
|
inline bool TipInfoResponse::has_metadata() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.metadata_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void TipInfoResponse::clear_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.metadata_ != nullptr) _impl_.metadata_->Clear();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::tari::rpc::MetaData& TipInfoResponse::_internal_metadata() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::MetaData* p = _impl_.metadata_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::MetaData&>(::tari::rpc::_MetaData_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::MetaData& TipInfoResponse::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.TipInfoResponse.metadata)
|
|
return _internal_metadata();
|
|
}
|
|
inline void TipInfoResponse::unsafe_arena_set_allocated_metadata(
|
|
::tari::rpc::MetaData* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_);
|
|
}
|
|
_impl_.metadata_ = reinterpret_cast<::tari::rpc::MetaData*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.TipInfoResponse.metadata)
|
|
}
|
|
inline ::tari::rpc::MetaData* PROTOBUF_NULLABLE TipInfoResponse::release_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::MetaData* released = _impl_.metadata_;
|
|
_impl_.metadata_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::MetaData* PROTOBUF_NULLABLE TipInfoResponse::unsafe_arena_release_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.TipInfoResponse.metadata)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::MetaData* temp = _impl_.metadata_;
|
|
_impl_.metadata_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::MetaData* PROTOBUF_NONNULL TipInfoResponse::_internal_mutable_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.metadata_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::MetaData>(GetArena());
|
|
_impl_.metadata_ = reinterpret_cast<::tari::rpc::MetaData*>(p);
|
|
}
|
|
return _impl_.metadata_;
|
|
}
|
|
inline ::tari::rpc::MetaData* PROTOBUF_NONNULL TipInfoResponse::mutable_metadata()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::MetaData* _msg = _internal_mutable_metadata();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.TipInfoResponse.metadata)
|
|
return _msg;
|
|
}
|
|
inline void TipInfoResponse::set_allocated_metadata(::tari::rpc::MetaData* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.metadata_ = reinterpret_cast<::tari::rpc::MetaData*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.TipInfoResponse.metadata)
|
|
}
|
|
|
|
// bool initial_sync_achieved = 2;
|
|
inline void TipInfoResponse::clear_initial_sync_achieved() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.initial_sync_achieved_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline bool TipInfoResponse::initial_sync_achieved() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.TipInfoResponse.initial_sync_achieved)
|
|
return _internal_initial_sync_achieved();
|
|
}
|
|
inline void TipInfoResponse::set_initial_sync_achieved(bool value) {
|
|
_internal_set_initial_sync_achieved(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.TipInfoResponse.initial_sync_achieved)
|
|
}
|
|
inline bool TipInfoResponse::_internal_initial_sync_achieved() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.initial_sync_achieved_;
|
|
}
|
|
inline void TipInfoResponse::_internal_set_initial_sync_achieved(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.initial_sync_achieved_ = value;
|
|
}
|
|
|
|
// .tari.rpc.BaseNodeState base_node_state = 3;
|
|
inline void TipInfoResponse::clear_base_node_state() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.base_node_state_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::tari::rpc::BaseNodeState TipInfoResponse::base_node_state() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.TipInfoResponse.base_node_state)
|
|
return _internal_base_node_state();
|
|
}
|
|
inline void TipInfoResponse::set_base_node_state(::tari::rpc::BaseNodeState value) {
|
|
_internal_set_base_node_state(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.TipInfoResponse.base_node_state)
|
|
}
|
|
inline ::tari::rpc::BaseNodeState TipInfoResponse::_internal_base_node_state() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::tari::rpc::BaseNodeState>(_impl_.base_node_state_);
|
|
}
|
|
inline void TipInfoResponse::_internal_set_base_node_state(::tari::rpc::BaseNodeState value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.base_node_state_ = value;
|
|
}
|
|
|
|
// bool failed_checkpoints = 4;
|
|
inline void TipInfoResponse::clear_failed_checkpoints() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.failed_checkpoints_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline bool TipInfoResponse::failed_checkpoints() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.TipInfoResponse.failed_checkpoints)
|
|
return _internal_failed_checkpoints();
|
|
}
|
|
inline void TipInfoResponse::set_failed_checkpoints(bool value) {
|
|
_internal_set_failed_checkpoints(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.TipInfoResponse.failed_checkpoints)
|
|
}
|
|
inline bool TipInfoResponse::_internal_failed_checkpoints() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.failed_checkpoints_;
|
|
}
|
|
inline void TipInfoResponse::_internal_set_failed_checkpoints(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.failed_checkpoints_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ReadinessStatus
|
|
|
|
// .tari.rpc.ReadinessStatus.State state = 1;
|
|
inline bool ReadinessStatus::has_state() const {
|
|
return status_case() == kState;
|
|
}
|
|
inline void ReadinessStatus::set_has_state() {
|
|
_impl_._oneof_case_[0] = kState;
|
|
}
|
|
inline void ReadinessStatus::clear_state() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (status_case() == kState) {
|
|
_impl_.status_.state_ = 0;
|
|
clear_has_status();
|
|
}
|
|
}
|
|
inline ::tari::rpc::ReadinessStatus_State ReadinessStatus::state() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ReadinessStatus.state)
|
|
return _internal_state();
|
|
}
|
|
inline void ReadinessStatus::set_state(::tari::rpc::ReadinessStatus_State value) {
|
|
if (status_case() != kState) {
|
|
clear_status();
|
|
set_has_state();
|
|
}
|
|
_impl_.status_.state_ = value;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ReadinessStatus.state)
|
|
}
|
|
inline ::tari::rpc::ReadinessStatus_State ReadinessStatus::_internal_state() const {
|
|
if (status_case() == kState) {
|
|
return static_cast<::tari::rpc::ReadinessStatus_State>(_impl_.status_.state_);
|
|
}
|
|
return static_cast<::tari::rpc::ReadinessStatus_State>(0);
|
|
}
|
|
|
|
// .tari.rpc.MigrationProgress migration = 2;
|
|
inline bool ReadinessStatus::has_migration() const {
|
|
return status_case() == kMigration;
|
|
}
|
|
inline bool ReadinessStatus::_internal_has_migration() const {
|
|
return status_case() == kMigration;
|
|
}
|
|
inline void ReadinessStatus::set_has_migration() {
|
|
_impl_._oneof_case_[0] = kMigration;
|
|
}
|
|
inline void ReadinessStatus::clear_migration() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (status_case() == kMigration) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.status_.migration_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
::google::protobuf::internal::MaybePoisonAfterClear(_impl_.status_.migration_);
|
|
}
|
|
clear_has_status();
|
|
}
|
|
}
|
|
inline ::tari::rpc::MigrationProgress* PROTOBUF_NULLABLE ReadinessStatus::release_migration() {
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ReadinessStatus.migration)
|
|
if (status_case() == kMigration) {
|
|
clear_has_status();
|
|
auto* temp = _impl_.status_.migration_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.status_.migration_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::tari::rpc::MigrationProgress& ReadinessStatus::_internal_migration() const {
|
|
return status_case() == kMigration ? *_impl_.status_.migration_ : reinterpret_cast<::tari::rpc::MigrationProgress&>(::tari::rpc::_MigrationProgress_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::MigrationProgress& ReadinessStatus::migration() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ReadinessStatus.migration)
|
|
return _internal_migration();
|
|
}
|
|
inline ::tari::rpc::MigrationProgress* PROTOBUF_NULLABLE ReadinessStatus::unsafe_arena_release_migration() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:tari.rpc.ReadinessStatus.migration)
|
|
if (status_case() == kMigration) {
|
|
clear_has_status();
|
|
auto* temp = _impl_.status_.migration_;
|
|
_impl_.status_.migration_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ReadinessStatus::unsafe_arena_set_allocated_migration(
|
|
::tari::rpc::MigrationProgress* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_status();
|
|
if (value) {
|
|
set_has_migration();
|
|
_impl_.status_.migration_ = value;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.ReadinessStatus.migration)
|
|
}
|
|
inline ::tari::rpc::MigrationProgress* PROTOBUF_NONNULL ReadinessStatus::_internal_mutable_migration() {
|
|
if (status_case() != kMigration) {
|
|
clear_status();
|
|
set_has_migration();
|
|
_impl_.status_.migration_ =
|
|
::google::protobuf::Message::DefaultConstruct<::tari::rpc::MigrationProgress>(GetArena());
|
|
}
|
|
return _impl_.status_.migration_;
|
|
}
|
|
inline ::tari::rpc::MigrationProgress* PROTOBUF_NONNULL ReadinessStatus::mutable_migration()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::tari::rpc::MigrationProgress* _msg = _internal_mutable_migration();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ReadinessStatus.migration)
|
|
return _msg;
|
|
}
|
|
|
|
// uint64 timestamp = 6;
|
|
inline void ReadinessStatus::clear_timestamp() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.timestamp_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t ReadinessStatus::timestamp() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ReadinessStatus.timestamp)
|
|
return _internal_timestamp();
|
|
}
|
|
inline void ReadinessStatus::set_timestamp(::uint64_t value) {
|
|
_internal_set_timestamp(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ReadinessStatus.timestamp)
|
|
}
|
|
inline ::uint64_t ReadinessStatus::_internal_timestamp() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.timestamp_;
|
|
}
|
|
inline void ReadinessStatus::_internal_set_timestamp(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.timestamp_ = value;
|
|
}
|
|
|
|
inline bool ReadinessStatus::has_status() const {
|
|
return status_case() != STATUS_NOT_SET;
|
|
}
|
|
inline void ReadinessStatus::clear_has_status() {
|
|
_impl_._oneof_case_[0] = STATUS_NOT_SET;
|
|
}
|
|
inline ReadinessStatus::StatusCase ReadinessStatus::status_case() const {
|
|
return ReadinessStatus::StatusCase(_impl_._oneof_case_[0]);
|
|
}
|
|
// -------------------------------------------------------------------
|
|
|
|
// MigrationProgress
|
|
|
|
// uint64 current_block = 1;
|
|
inline void MigrationProgress::clear_current_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.current_block_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t MigrationProgress::current_block() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MigrationProgress.current_block)
|
|
return _internal_current_block();
|
|
}
|
|
inline void MigrationProgress::set_current_block(::uint64_t value) {
|
|
_internal_set_current_block(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MigrationProgress.current_block)
|
|
}
|
|
inline ::uint64_t MigrationProgress::_internal_current_block() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.current_block_;
|
|
}
|
|
inline void MigrationProgress::_internal_set_current_block(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.current_block_ = value;
|
|
}
|
|
|
|
// uint64 total_blocks = 2;
|
|
inline void MigrationProgress::clear_total_blocks() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_blocks_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t MigrationProgress::total_blocks() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MigrationProgress.total_blocks)
|
|
return _internal_total_blocks();
|
|
}
|
|
inline void MigrationProgress::set_total_blocks(::uint64_t value) {
|
|
_internal_set_total_blocks(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MigrationProgress.total_blocks)
|
|
}
|
|
inline ::uint64_t MigrationProgress::_internal_total_blocks() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.total_blocks_;
|
|
}
|
|
inline void MigrationProgress::_internal_set_total_blocks(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_blocks_ = value;
|
|
}
|
|
|
|
// double progress_percentage = 3;
|
|
inline void MigrationProgress::clear_progress_percentage() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.progress_percentage_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline double MigrationProgress::progress_percentage() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MigrationProgress.progress_percentage)
|
|
return _internal_progress_percentage();
|
|
}
|
|
inline void MigrationProgress::set_progress_percentage(double value) {
|
|
_internal_set_progress_percentage(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MigrationProgress.progress_percentage)
|
|
}
|
|
inline double MigrationProgress::_internal_progress_percentage() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.progress_percentage_;
|
|
}
|
|
inline void MigrationProgress::_internal_set_progress_percentage(double value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.progress_percentage_ = value;
|
|
}
|
|
|
|
// uint64 current_db_version = 4;
|
|
inline void MigrationProgress::clear_current_db_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.current_db_version_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::uint64_t MigrationProgress::current_db_version() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MigrationProgress.current_db_version)
|
|
return _internal_current_db_version();
|
|
}
|
|
inline void MigrationProgress::set_current_db_version(::uint64_t value) {
|
|
_internal_set_current_db_version(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MigrationProgress.current_db_version)
|
|
}
|
|
inline ::uint64_t MigrationProgress::_internal_current_db_version() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.current_db_version_;
|
|
}
|
|
inline void MigrationProgress::_internal_set_current_db_version(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.current_db_version_ = value;
|
|
}
|
|
|
|
// uint64 target_db_version = 5;
|
|
inline void MigrationProgress::clear_target_db_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.target_db_version_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline ::uint64_t MigrationProgress::target_db_version() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MigrationProgress.target_db_version)
|
|
return _internal_target_db_version();
|
|
}
|
|
inline void MigrationProgress::set_target_db_version(::uint64_t value) {
|
|
_internal_set_target_db_version(value);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MigrationProgress.target_db_version)
|
|
}
|
|
inline ::uint64_t MigrationProgress::_internal_target_db_version() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.target_db_version_;
|
|
}
|
|
inline void MigrationProgress::_internal_set_target_db_version(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.target_db_version_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// NewBlockTemplateResponse
|
|
|
|
// .tari.rpc.NewBlockTemplate new_block_template = 1;
|
|
inline bool NewBlockTemplateResponse::has_new_block_template() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.new_block_template_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::NewBlockTemplate& NewBlockTemplateResponse::_internal_new_block_template() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::NewBlockTemplate* p = _impl_.new_block_template_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::NewBlockTemplate&>(::tari::rpc::_NewBlockTemplate_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::NewBlockTemplate& NewBlockTemplateResponse::new_block_template() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockTemplateResponse.new_block_template)
|
|
return _internal_new_block_template();
|
|
}
|
|
inline void NewBlockTemplateResponse::unsafe_arena_set_allocated_new_block_template(
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_block_template_);
|
|
}
|
|
_impl_.new_block_template_ = reinterpret_cast<::tari::rpc::NewBlockTemplate*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.NewBlockTemplateResponse.new_block_template)
|
|
}
|
|
inline ::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE NewBlockTemplateResponse::release_new_block_template() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::NewBlockTemplate* released = _impl_.new_block_template_;
|
|
_impl_.new_block_template_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE NewBlockTemplateResponse::unsafe_arena_release_new_block_template() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.NewBlockTemplateResponse.new_block_template)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::NewBlockTemplate* temp = _impl_.new_block_template_;
|
|
_impl_.new_block_template_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::NewBlockTemplate* PROTOBUF_NONNULL NewBlockTemplateResponse::_internal_mutable_new_block_template() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.new_block_template_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::NewBlockTemplate>(GetArena());
|
|
_impl_.new_block_template_ = reinterpret_cast<::tari::rpc::NewBlockTemplate*>(p);
|
|
}
|
|
return _impl_.new_block_template_;
|
|
}
|
|
inline ::tari::rpc::NewBlockTemplate* PROTOBUF_NONNULL NewBlockTemplateResponse::mutable_new_block_template()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::NewBlockTemplate* _msg = _internal_mutable_new_block_template();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.NewBlockTemplateResponse.new_block_template)
|
|
return _msg;
|
|
}
|
|
inline void NewBlockTemplateResponse::set_allocated_new_block_template(::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_block_template_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.new_block_template_ = reinterpret_cast<::tari::rpc::NewBlockTemplate*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.NewBlockTemplateResponse.new_block_template)
|
|
}
|
|
|
|
// bool initial_sync_achieved = 3;
|
|
inline void NewBlockTemplateResponse::clear_initial_sync_achieved() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.initial_sync_achieved_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline bool NewBlockTemplateResponse::initial_sync_achieved() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockTemplateResponse.initial_sync_achieved)
|
|
return _internal_initial_sync_achieved();
|
|
}
|
|
inline void NewBlockTemplateResponse::set_initial_sync_achieved(bool value) {
|
|
_internal_set_initial_sync_achieved(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NewBlockTemplateResponse.initial_sync_achieved)
|
|
}
|
|
inline bool NewBlockTemplateResponse::_internal_initial_sync_achieved() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.initial_sync_achieved_;
|
|
}
|
|
inline void NewBlockTemplateResponse::_internal_set_initial_sync_achieved(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.initial_sync_achieved_ = value;
|
|
}
|
|
|
|
// .tari.rpc.MinerData miner_data = 4;
|
|
inline bool NewBlockTemplateResponse::has_miner_data() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.miner_data_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void NewBlockTemplateResponse::clear_miner_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.miner_data_ != nullptr) _impl_.miner_data_->Clear();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::tari::rpc::MinerData& NewBlockTemplateResponse::_internal_miner_data() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::MinerData* p = _impl_.miner_data_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::MinerData&>(::tari::rpc::_MinerData_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::MinerData& NewBlockTemplateResponse::miner_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockTemplateResponse.miner_data)
|
|
return _internal_miner_data();
|
|
}
|
|
inline void NewBlockTemplateResponse::unsafe_arena_set_allocated_miner_data(
|
|
::tari::rpc::MinerData* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.miner_data_);
|
|
}
|
|
_impl_.miner_data_ = reinterpret_cast<::tari::rpc::MinerData*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.NewBlockTemplateResponse.miner_data)
|
|
}
|
|
inline ::tari::rpc::MinerData* PROTOBUF_NULLABLE NewBlockTemplateResponse::release_miner_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
::tari::rpc::MinerData* released = _impl_.miner_data_;
|
|
_impl_.miner_data_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::MinerData* PROTOBUF_NULLABLE NewBlockTemplateResponse::unsafe_arena_release_miner_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.NewBlockTemplateResponse.miner_data)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
::tari::rpc::MinerData* temp = _impl_.miner_data_;
|
|
_impl_.miner_data_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::MinerData* PROTOBUF_NONNULL NewBlockTemplateResponse::_internal_mutable_miner_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.miner_data_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::MinerData>(GetArena());
|
|
_impl_.miner_data_ = reinterpret_cast<::tari::rpc::MinerData*>(p);
|
|
}
|
|
return _impl_.miner_data_;
|
|
}
|
|
inline ::tari::rpc::MinerData* PROTOBUF_NONNULL NewBlockTemplateResponse::mutable_miner_data()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
::tari::rpc::MinerData* _msg = _internal_mutable_miner_data();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.NewBlockTemplateResponse.miner_data)
|
|
return _msg;
|
|
}
|
|
inline void NewBlockTemplateResponse::set_allocated_miner_data(::tari::rpc::MinerData* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.miner_data_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
|
|
_impl_.miner_data_ = reinterpret_cast<::tari::rpc::MinerData*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.NewBlockTemplateResponse.miner_data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// NewBlockTemplateRequest
|
|
|
|
// .tari.rpc.PowAlgo algo = 1;
|
|
inline bool NewBlockTemplateRequest::has_algo() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.algo_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::PowAlgo& NewBlockTemplateRequest::_internal_algo() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::PowAlgo* p = _impl_.algo_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::PowAlgo&>(::tari::rpc::_PowAlgo_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::PowAlgo& NewBlockTemplateRequest::algo() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockTemplateRequest.algo)
|
|
return _internal_algo();
|
|
}
|
|
inline void NewBlockTemplateRequest::unsafe_arena_set_allocated_algo(
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.algo_);
|
|
}
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.NewBlockTemplateRequest.algo)
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE NewBlockTemplateRequest::release_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::PowAlgo* released = _impl_.algo_;
|
|
_impl_.algo_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE NewBlockTemplateRequest::unsafe_arena_release_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.NewBlockTemplateRequest.algo)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::PowAlgo* temp = _impl_.algo_;
|
|
_impl_.algo_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NONNULL NewBlockTemplateRequest::_internal_mutable_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.algo_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::PowAlgo>(GetArena());
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(p);
|
|
}
|
|
return _impl_.algo_;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NONNULL NewBlockTemplateRequest::mutable_algo()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::PowAlgo* _msg = _internal_mutable_algo();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.NewBlockTemplateRequest.algo)
|
|
return _msg;
|
|
}
|
|
inline void NewBlockTemplateRequest::set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.algo_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.NewBlockTemplateRequest.algo)
|
|
}
|
|
|
|
// uint64 max_weight = 2;
|
|
inline void NewBlockTemplateRequest::clear_max_weight() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.max_weight_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t NewBlockTemplateRequest::max_weight() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockTemplateRequest.max_weight)
|
|
return _internal_max_weight();
|
|
}
|
|
inline void NewBlockTemplateRequest::set_max_weight(::uint64_t value) {
|
|
_internal_set_max_weight(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NewBlockTemplateRequest.max_weight)
|
|
}
|
|
inline ::uint64_t NewBlockTemplateRequest::_internal_max_weight() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.max_weight_;
|
|
}
|
|
inline void NewBlockTemplateRequest::_internal_set_max_weight(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.max_weight_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetNewBlockTemplateWithCoinbasesRequest
|
|
|
|
// .tari.rpc.PowAlgo algo = 1;
|
|
inline bool GetNewBlockTemplateWithCoinbasesRequest::has_algo() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.algo_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::PowAlgo& GetNewBlockTemplateWithCoinbasesRequest::_internal_algo() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::PowAlgo* p = _impl_.algo_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::PowAlgo&>(::tari::rpc::_PowAlgo_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::PowAlgo& GetNewBlockTemplateWithCoinbasesRequest::algo() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.algo)
|
|
return _internal_algo();
|
|
}
|
|
inline void GetNewBlockTemplateWithCoinbasesRequest::unsafe_arena_set_allocated_algo(
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.algo_);
|
|
}
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.algo)
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE GetNewBlockTemplateWithCoinbasesRequest::release_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::PowAlgo* released = _impl_.algo_;
|
|
_impl_.algo_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE GetNewBlockTemplateWithCoinbasesRequest::unsafe_arena_release_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.algo)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::PowAlgo* temp = _impl_.algo_;
|
|
_impl_.algo_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NONNULL GetNewBlockTemplateWithCoinbasesRequest::_internal_mutable_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.algo_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::PowAlgo>(GetArena());
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(p);
|
|
}
|
|
return _impl_.algo_;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NONNULL GetNewBlockTemplateWithCoinbasesRequest::mutable_algo()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::PowAlgo* _msg = _internal_mutable_algo();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.algo)
|
|
return _msg;
|
|
}
|
|
inline void GetNewBlockTemplateWithCoinbasesRequest::set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.algo_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.algo)
|
|
}
|
|
|
|
// uint64 max_weight = 2;
|
|
inline void GetNewBlockTemplateWithCoinbasesRequest::clear_max_weight() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.max_weight_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t GetNewBlockTemplateWithCoinbasesRequest::max_weight() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.max_weight)
|
|
return _internal_max_weight();
|
|
}
|
|
inline void GetNewBlockTemplateWithCoinbasesRequest::set_max_weight(::uint64_t value) {
|
|
_internal_set_max_weight(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.max_weight)
|
|
}
|
|
inline ::uint64_t GetNewBlockTemplateWithCoinbasesRequest::_internal_max_weight() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.max_weight_;
|
|
}
|
|
inline void GetNewBlockTemplateWithCoinbasesRequest::_internal_set_max_weight(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.max_weight_ = value;
|
|
}
|
|
|
|
// repeated .tari.rpc.NewBlockCoinbase coinbases = 3;
|
|
inline int GetNewBlockTemplateWithCoinbasesRequest::_internal_coinbases_size() const {
|
|
return _internal_coinbases().size();
|
|
}
|
|
inline int GetNewBlockTemplateWithCoinbasesRequest::coinbases_size() const {
|
|
return _internal_coinbases_size();
|
|
}
|
|
inline void GetNewBlockTemplateWithCoinbasesRequest::clear_coinbases() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.coinbases_.Clear();
|
|
}
|
|
inline ::tari::rpc::NewBlockCoinbase* PROTOBUF_NONNULL GetNewBlockTemplateWithCoinbasesRequest::mutable_coinbases(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.coinbases)
|
|
return _internal_mutable_coinbases()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>* PROTOBUF_NONNULL GetNewBlockTemplateWithCoinbasesRequest::mutable_coinbases()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.coinbases)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_coinbases();
|
|
}
|
|
inline const ::tari::rpc::NewBlockCoinbase& GetNewBlockTemplateWithCoinbasesRequest::coinbases(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.coinbases)
|
|
return _internal_coinbases().Get(index);
|
|
}
|
|
inline ::tari::rpc::NewBlockCoinbase* PROTOBUF_NONNULL GetNewBlockTemplateWithCoinbasesRequest::add_coinbases()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::tari::rpc::NewBlockCoinbase* _add = _internal_mutable_coinbases()->Add();
|
|
// @@protoc_insertion_point(field_add:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.coinbases)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>& GetNewBlockTemplateWithCoinbasesRequest::coinbases() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.GetNewBlockTemplateWithCoinbasesRequest.coinbases)
|
|
return _internal_coinbases();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>&
|
|
GetNewBlockTemplateWithCoinbasesRequest::_internal_coinbases() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.coinbases_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>* PROTOBUF_NONNULL
|
|
GetNewBlockTemplateWithCoinbasesRequest::_internal_mutable_coinbases() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.coinbases_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetNewBlockWithCoinbasesRequest
|
|
|
|
// .tari.rpc.NewBlockTemplate new_template = 1;
|
|
inline bool GetNewBlockWithCoinbasesRequest::has_new_template() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.new_template_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::NewBlockTemplate& GetNewBlockWithCoinbasesRequest::_internal_new_template() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::NewBlockTemplate* p = _impl_.new_template_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::NewBlockTemplate&>(::tari::rpc::_NewBlockTemplate_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::NewBlockTemplate& GetNewBlockWithCoinbasesRequest::new_template() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockWithCoinbasesRequest.new_template)
|
|
return _internal_new_template();
|
|
}
|
|
inline void GetNewBlockWithCoinbasesRequest::unsafe_arena_set_allocated_new_template(
|
|
::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_template_);
|
|
}
|
|
_impl_.new_template_ = reinterpret_cast<::tari::rpc::NewBlockTemplate*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetNewBlockWithCoinbasesRequest.new_template)
|
|
}
|
|
inline ::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE GetNewBlockWithCoinbasesRequest::release_new_template() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::NewBlockTemplate* released = _impl_.new_template_;
|
|
_impl_.new_template_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE GetNewBlockWithCoinbasesRequest::unsafe_arena_release_new_template() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockWithCoinbasesRequest.new_template)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::NewBlockTemplate* temp = _impl_.new_template_;
|
|
_impl_.new_template_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::NewBlockTemplate* PROTOBUF_NONNULL GetNewBlockWithCoinbasesRequest::_internal_mutable_new_template() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.new_template_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::NewBlockTemplate>(GetArena());
|
|
_impl_.new_template_ = reinterpret_cast<::tari::rpc::NewBlockTemplate*>(p);
|
|
}
|
|
return _impl_.new_template_;
|
|
}
|
|
inline ::tari::rpc::NewBlockTemplate* PROTOBUF_NONNULL GetNewBlockWithCoinbasesRequest::mutable_new_template()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::NewBlockTemplate* _msg = _internal_mutable_new_template();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockWithCoinbasesRequest.new_template)
|
|
return _msg;
|
|
}
|
|
inline void GetNewBlockWithCoinbasesRequest::set_allocated_new_template(::tari::rpc::NewBlockTemplate* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_template_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.new_template_ = reinterpret_cast<::tari::rpc::NewBlockTemplate*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockWithCoinbasesRequest.new_template)
|
|
}
|
|
|
|
// repeated .tari.rpc.NewBlockCoinbase coinbases = 2;
|
|
inline int GetNewBlockWithCoinbasesRequest::_internal_coinbases_size() const {
|
|
return _internal_coinbases().size();
|
|
}
|
|
inline int GetNewBlockWithCoinbasesRequest::coinbases_size() const {
|
|
return _internal_coinbases_size();
|
|
}
|
|
inline void GetNewBlockWithCoinbasesRequest::clear_coinbases() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.coinbases_.Clear();
|
|
}
|
|
inline ::tari::rpc::NewBlockCoinbase* PROTOBUF_NONNULL GetNewBlockWithCoinbasesRequest::mutable_coinbases(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockWithCoinbasesRequest.coinbases)
|
|
return _internal_mutable_coinbases()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>* PROTOBUF_NONNULL GetNewBlockWithCoinbasesRequest::mutable_coinbases()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.GetNewBlockWithCoinbasesRequest.coinbases)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_coinbases();
|
|
}
|
|
inline const ::tari::rpc::NewBlockCoinbase& GetNewBlockWithCoinbasesRequest::coinbases(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockWithCoinbasesRequest.coinbases)
|
|
return _internal_coinbases().Get(index);
|
|
}
|
|
inline ::tari::rpc::NewBlockCoinbase* PROTOBUF_NONNULL GetNewBlockWithCoinbasesRequest::add_coinbases()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::tari::rpc::NewBlockCoinbase* _add = _internal_mutable_coinbases()->Add();
|
|
// @@protoc_insertion_point(field_add:tari.rpc.GetNewBlockWithCoinbasesRequest.coinbases)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>& GetNewBlockWithCoinbasesRequest::coinbases() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.GetNewBlockWithCoinbasesRequest.coinbases)
|
|
return _internal_coinbases();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>&
|
|
GetNewBlockWithCoinbasesRequest::_internal_coinbases() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.coinbases_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::NewBlockCoinbase>* PROTOBUF_NONNULL
|
|
GetNewBlockWithCoinbasesRequest::_internal_mutable_coinbases() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.coinbases_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// NewBlockCoinbase
|
|
|
|
// string address = 1;
|
|
inline void NewBlockCoinbase::clear_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.address_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& NewBlockCoinbase::address() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockCoinbase.address)
|
|
return _internal_address();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void NewBlockCoinbase::set_address(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.address_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NewBlockCoinbase.address)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL NewBlockCoinbase::mutable_address()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_address();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.NewBlockCoinbase.address)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& NewBlockCoinbase::_internal_address() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.address_.Get();
|
|
}
|
|
inline void NewBlockCoinbase::_internal_set_address(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.address_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL NewBlockCoinbase::_internal_mutable_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.address_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE NewBlockCoinbase::release_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.NewBlockCoinbase.address)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.address_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.address_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void NewBlockCoinbase::set_allocated_address(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.address_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.address_.IsDefault()) {
|
|
_impl_.address_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.NewBlockCoinbase.address)
|
|
}
|
|
|
|
// uint64 value = 2;
|
|
inline void NewBlockCoinbase::clear_value() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.value_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t NewBlockCoinbase::value() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockCoinbase.value)
|
|
return _internal_value();
|
|
}
|
|
inline void NewBlockCoinbase::set_value(::uint64_t value) {
|
|
_internal_set_value(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NewBlockCoinbase.value)
|
|
}
|
|
inline ::uint64_t NewBlockCoinbase::_internal_value() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.value_;
|
|
}
|
|
inline void NewBlockCoinbase::_internal_set_value(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.value_ = value;
|
|
}
|
|
|
|
// bool stealth_payment = 3;
|
|
inline void NewBlockCoinbase::clear_stealth_payment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.stealth_payment_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline bool NewBlockCoinbase::stealth_payment() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockCoinbase.stealth_payment)
|
|
return _internal_stealth_payment();
|
|
}
|
|
inline void NewBlockCoinbase::set_stealth_payment(bool value) {
|
|
_internal_set_stealth_payment(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NewBlockCoinbase.stealth_payment)
|
|
}
|
|
inline bool NewBlockCoinbase::_internal_stealth_payment() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.stealth_payment_;
|
|
}
|
|
inline void NewBlockCoinbase::_internal_set_stealth_payment(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.stealth_payment_ = value;
|
|
}
|
|
|
|
// bool revealed_value_proof = 4;
|
|
inline void NewBlockCoinbase::clear_revealed_value_proof() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.revealed_value_proof_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline bool NewBlockCoinbase::revealed_value_proof() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockCoinbase.revealed_value_proof)
|
|
return _internal_revealed_value_proof();
|
|
}
|
|
inline void NewBlockCoinbase::set_revealed_value_proof(bool value) {
|
|
_internal_set_revealed_value_proof(value);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NewBlockCoinbase.revealed_value_proof)
|
|
}
|
|
inline bool NewBlockCoinbase::_internal_revealed_value_proof() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.revealed_value_proof_;
|
|
}
|
|
inline void NewBlockCoinbase::_internal_set_revealed_value_proof(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.revealed_value_proof_ = value;
|
|
}
|
|
|
|
// bytes coinbase_extra = 5;
|
|
inline void NewBlockCoinbase::clear_coinbase_extra() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.coinbase_extra_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& NewBlockCoinbase::coinbase_extra() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NewBlockCoinbase.coinbase_extra)
|
|
return _internal_coinbase_extra();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void NewBlockCoinbase::set_coinbase_extra(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.coinbase_extra_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NewBlockCoinbase.coinbase_extra)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL NewBlockCoinbase::mutable_coinbase_extra()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_coinbase_extra();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.NewBlockCoinbase.coinbase_extra)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& NewBlockCoinbase::_internal_coinbase_extra() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.coinbase_extra_.Get();
|
|
}
|
|
inline void NewBlockCoinbase::_internal_set_coinbase_extra(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.coinbase_extra_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL NewBlockCoinbase::_internal_mutable_coinbase_extra() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.coinbase_extra_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE NewBlockCoinbase::release_coinbase_extra() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.NewBlockCoinbase.coinbase_extra)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.coinbase_extra_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.coinbase_extra_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void NewBlockCoinbase::set_allocated_coinbase_extra(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.coinbase_extra_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.coinbase_extra_.IsDefault()) {
|
|
_impl_.coinbase_extra_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.NewBlockCoinbase.coinbase_extra)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// NetworkDifficultyResponse
|
|
|
|
// uint64 difficulty = 1;
|
|
inline void NetworkDifficultyResponse::clear_difficulty() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.difficulty_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::difficulty() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.difficulty)
|
|
return _internal_difficulty();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_difficulty(::uint64_t value) {
|
|
_internal_set_difficulty(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.difficulty)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_difficulty() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.difficulty_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_difficulty(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.difficulty_ = value;
|
|
}
|
|
|
|
// uint64 estimated_hash_rate = 2;
|
|
inline void NetworkDifficultyResponse::clear_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.estimated_hash_rate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::estimated_hash_rate() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.estimated_hash_rate)
|
|
return _internal_estimated_hash_rate();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_estimated_hash_rate(::uint64_t value) {
|
|
_internal_set_estimated_hash_rate(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.estimated_hash_rate)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.estimated_hash_rate_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_estimated_hash_rate(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.estimated_hash_rate_ = value;
|
|
}
|
|
|
|
// uint64 height = 3;
|
|
inline void NetworkDifficultyResponse::clear_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.height)
|
|
return _internal_height();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_height(::uint64_t value) {
|
|
_internal_set_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.height)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.height_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.height_ = value;
|
|
}
|
|
|
|
// uint64 timestamp = 4;
|
|
inline void NetworkDifficultyResponse::clear_timestamp() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.timestamp_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::timestamp() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.timestamp)
|
|
return _internal_timestamp();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_timestamp(::uint64_t value) {
|
|
_internal_set_timestamp(value);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.timestamp)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_timestamp() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.timestamp_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_timestamp(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.timestamp_ = value;
|
|
}
|
|
|
|
// uint64 pow_algo = 5;
|
|
inline void NetworkDifficultyResponse::clear_pow_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.pow_algo_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::pow_algo() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.pow_algo)
|
|
return _internal_pow_algo();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_pow_algo(::uint64_t value) {
|
|
_internal_set_pow_algo(value);
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.pow_algo)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_pow_algo() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.pow_algo_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_pow_algo(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.pow_algo_ = value;
|
|
}
|
|
|
|
// uint64 sha3x_estimated_hash_rate = 6;
|
|
inline void NetworkDifficultyResponse::clear_sha3x_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sha3x_estimated_hash_rate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::sha3x_estimated_hash_rate() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.sha3x_estimated_hash_rate)
|
|
return _internal_sha3x_estimated_hash_rate();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_sha3x_estimated_hash_rate(::uint64_t value) {
|
|
_internal_set_sha3x_estimated_hash_rate(value);
|
|
_impl_._has_bits_[0] |= 0x00000040u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.sha3x_estimated_hash_rate)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_sha3x_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sha3x_estimated_hash_rate_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_sha3x_estimated_hash_rate(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sha3x_estimated_hash_rate_ = value;
|
|
}
|
|
|
|
// uint64 monero_randomx_estimated_hash_rate = 7;
|
|
inline void NetworkDifficultyResponse::clear_monero_randomx_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.monero_randomx_estimated_hash_rate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::monero_randomx_estimated_hash_rate() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.monero_randomx_estimated_hash_rate)
|
|
return _internal_monero_randomx_estimated_hash_rate();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_monero_randomx_estimated_hash_rate(::uint64_t value) {
|
|
_internal_set_monero_randomx_estimated_hash_rate(value);
|
|
_impl_._has_bits_[0] |= 0x00000080u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.monero_randomx_estimated_hash_rate)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_monero_randomx_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.monero_randomx_estimated_hash_rate_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_monero_randomx_estimated_hash_rate(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.monero_randomx_estimated_hash_rate_ = value;
|
|
}
|
|
|
|
// uint64 tari_randomx_estimated_hash_rate = 10;
|
|
inline void NetworkDifficultyResponse::clear_tari_randomx_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tari_randomx_estimated_hash_rate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000200u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::tari_randomx_estimated_hash_rate() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.tari_randomx_estimated_hash_rate)
|
|
return _internal_tari_randomx_estimated_hash_rate();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_tari_randomx_estimated_hash_rate(::uint64_t value) {
|
|
_internal_set_tari_randomx_estimated_hash_rate(value);
|
|
_impl_._has_bits_[0] |= 0x00000200u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.tari_randomx_estimated_hash_rate)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_tari_randomx_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.tari_randomx_estimated_hash_rate_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_tari_randomx_estimated_hash_rate(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tari_randomx_estimated_hash_rate_ = value;
|
|
}
|
|
|
|
// .tari.rpc.UDecimalValue cuckaroo_estimated_hash_rate = 11;
|
|
inline bool NetworkDifficultyResponse::has_cuckaroo_estimated_hash_rate() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.cuckaroo_estimated_hash_rate_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::UDecimalValue& NetworkDifficultyResponse::_internal_cuckaroo_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::UDecimalValue* p = _impl_.cuckaroo_estimated_hash_rate_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::UDecimalValue&>(::tari::rpc::_UDecimalValue_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::UDecimalValue& NetworkDifficultyResponse::cuckaroo_estimated_hash_rate() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.cuckaroo_estimated_hash_rate)
|
|
return _internal_cuckaroo_estimated_hash_rate();
|
|
}
|
|
inline void NetworkDifficultyResponse::unsafe_arena_set_allocated_cuckaroo_estimated_hash_rate(
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cuckaroo_estimated_hash_rate_);
|
|
}
|
|
_impl_.cuckaroo_estimated_hash_rate_ = reinterpret_cast<::tari::rpc::UDecimalValue*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.NetworkDifficultyResponse.cuckaroo_estimated_hash_rate)
|
|
}
|
|
inline ::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE NetworkDifficultyResponse::release_cuckaroo_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::UDecimalValue* released = _impl_.cuckaroo_estimated_hash_rate_;
|
|
_impl_.cuckaroo_estimated_hash_rate_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE NetworkDifficultyResponse::unsafe_arena_release_cuckaroo_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.NetworkDifficultyResponse.cuckaroo_estimated_hash_rate)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::UDecimalValue* temp = _impl_.cuckaroo_estimated_hash_rate_;
|
|
_impl_.cuckaroo_estimated_hash_rate_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::UDecimalValue* PROTOBUF_NONNULL NetworkDifficultyResponse::_internal_mutable_cuckaroo_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.cuckaroo_estimated_hash_rate_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::UDecimalValue>(GetArena());
|
|
_impl_.cuckaroo_estimated_hash_rate_ = reinterpret_cast<::tari::rpc::UDecimalValue*>(p);
|
|
}
|
|
return _impl_.cuckaroo_estimated_hash_rate_;
|
|
}
|
|
inline ::tari::rpc::UDecimalValue* PROTOBUF_NONNULL NetworkDifficultyResponse::mutable_cuckaroo_estimated_hash_rate()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::UDecimalValue* _msg = _internal_mutable_cuckaroo_estimated_hash_rate();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.NetworkDifficultyResponse.cuckaroo_estimated_hash_rate)
|
|
return _msg;
|
|
}
|
|
inline void NetworkDifficultyResponse::set_allocated_cuckaroo_estimated_hash_rate(::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cuckaroo_estimated_hash_rate_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.cuckaroo_estimated_hash_rate_ = reinterpret_cast<::tari::rpc::UDecimalValue*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.NetworkDifficultyResponse.cuckaroo_estimated_hash_rate)
|
|
}
|
|
|
|
// uint64 num_coinbases = 8;
|
|
inline void NetworkDifficultyResponse::clear_num_coinbases() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.num_coinbases_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::num_coinbases() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.num_coinbases)
|
|
return _internal_num_coinbases();
|
|
}
|
|
inline void NetworkDifficultyResponse::set_num_coinbases(::uint64_t value) {
|
|
_internal_set_num_coinbases(value);
|
|
_impl_._has_bits_[0] |= 0x00000100u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.num_coinbases)
|
|
}
|
|
inline ::uint64_t NetworkDifficultyResponse::_internal_num_coinbases() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.num_coinbases_;
|
|
}
|
|
inline void NetworkDifficultyResponse::_internal_set_num_coinbases(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.num_coinbases_ = value;
|
|
}
|
|
|
|
// repeated bytes coinbase_extras = 9;
|
|
inline int NetworkDifficultyResponse::_internal_coinbase_extras_size() const {
|
|
return _internal_coinbase_extras().size();
|
|
}
|
|
inline int NetworkDifficultyResponse::coinbase_extras_size() const {
|
|
return _internal_coinbase_extras_size();
|
|
}
|
|
inline void NetworkDifficultyResponse::clear_coinbase_extras() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.coinbase_extras_.Clear();
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL NetworkDifficultyResponse::add_coinbase_extras()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::std::string* _s = _internal_mutable_coinbase_extras()->Add();
|
|
// @@protoc_insertion_point(field_add_mutable:tari.rpc.NetworkDifficultyResponse.coinbase_extras)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& NetworkDifficultyResponse::coinbase_extras(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.NetworkDifficultyResponse.coinbase_extras)
|
|
return _internal_coinbase_extras().Get(index);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL NetworkDifficultyResponse::mutable_coinbase_extras(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.NetworkDifficultyResponse.coinbase_extras)
|
|
return _internal_mutable_coinbase_extras()->Mutable(index);
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void NetworkDifficultyResponse::set_coinbase_extras(int index, Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::AssignToString(*_internal_mutable_coinbase_extras()->Mutable(index), ::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_set:tari.rpc.NetworkDifficultyResponse.coinbase_extras)
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void NetworkDifficultyResponse::add_coinbase_extras(Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_coinbase_extras(),
|
|
::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_add:tari.rpc.NetworkDifficultyResponse.coinbase_extras)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>& NetworkDifficultyResponse::coinbase_extras()
|
|
const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.NetworkDifficultyResponse.coinbase_extras)
|
|
return _internal_coinbase_extras();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
NetworkDifficultyResponse::mutable_coinbase_extras() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.NetworkDifficultyResponse.coinbase_extras)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_coinbase_extras();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
|
|
NetworkDifficultyResponse::_internal_coinbase_extras() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.coinbase_extras_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
NetworkDifficultyResponse::_internal_mutable_coinbase_extras() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.coinbase_extras_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ValueAtHeightResponse
|
|
|
|
// uint64 circulating_supply = 1;
|
|
inline void ValueAtHeightResponse::clear_circulating_supply() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.circulating_supply_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::circulating_supply() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValueAtHeightResponse.circulating_supply)
|
|
return _internal_circulating_supply();
|
|
}
|
|
inline void ValueAtHeightResponse::set_circulating_supply(::uint64_t value) {
|
|
_internal_set_circulating_supply(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValueAtHeightResponse.circulating_supply)
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::_internal_circulating_supply() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.circulating_supply_;
|
|
}
|
|
inline void ValueAtHeightResponse::_internal_set_circulating_supply(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.circulating_supply_ = value;
|
|
}
|
|
|
|
// uint64 height = 3;
|
|
inline void ValueAtHeightResponse::clear_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValueAtHeightResponse.height)
|
|
return _internal_height();
|
|
}
|
|
inline void ValueAtHeightResponse::set_height(::uint64_t value) {
|
|
_internal_set_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValueAtHeightResponse.height)
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::_internal_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.height_;
|
|
}
|
|
inline void ValueAtHeightResponse::_internal_set_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.height_ = value;
|
|
}
|
|
|
|
// uint64 mined_rewards = 4;
|
|
inline void ValueAtHeightResponse::clear_mined_rewards() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_rewards_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::mined_rewards() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValueAtHeightResponse.mined_rewards)
|
|
return _internal_mined_rewards();
|
|
}
|
|
inline void ValueAtHeightResponse::set_mined_rewards(::uint64_t value) {
|
|
_internal_set_mined_rewards(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValueAtHeightResponse.mined_rewards)
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::_internal_mined_rewards() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mined_rewards_;
|
|
}
|
|
inline void ValueAtHeightResponse::_internal_set_mined_rewards(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_rewards_ = value;
|
|
}
|
|
|
|
// uint64 spendable_rewards = 5;
|
|
inline void ValueAtHeightResponse::clear_spendable_rewards() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spendable_rewards_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::spendable_rewards() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValueAtHeightResponse.spendable_rewards)
|
|
return _internal_spendable_rewards();
|
|
}
|
|
inline void ValueAtHeightResponse::set_spendable_rewards(::uint64_t value) {
|
|
_internal_set_spendable_rewards(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValueAtHeightResponse.spendable_rewards)
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::_internal_spendable_rewards() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.spendable_rewards_;
|
|
}
|
|
inline void ValueAtHeightResponse::_internal_set_spendable_rewards(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spendable_rewards_ = value;
|
|
}
|
|
|
|
// uint64 spendable_pre_mine = 6;
|
|
inline void ValueAtHeightResponse::clear_spendable_pre_mine() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spendable_pre_mine_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::spendable_pre_mine() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValueAtHeightResponse.spendable_pre_mine)
|
|
return _internal_spendable_pre_mine();
|
|
}
|
|
inline void ValueAtHeightResponse::set_spendable_pre_mine(::uint64_t value) {
|
|
_internal_set_spendable_pre_mine(value);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValueAtHeightResponse.spendable_pre_mine)
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::_internal_spendable_pre_mine() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.spendable_pre_mine_;
|
|
}
|
|
inline void ValueAtHeightResponse::_internal_set_spendable_pre_mine(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spendable_pre_mine_ = value;
|
|
}
|
|
|
|
// uint64 total_spendable = 7;
|
|
inline void ValueAtHeightResponse::clear_total_spendable() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_spendable_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::total_spendable() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValueAtHeightResponse.total_spendable)
|
|
return _internal_total_spendable();
|
|
}
|
|
inline void ValueAtHeightResponse::set_total_spendable(::uint64_t value) {
|
|
_internal_set_total_spendable(value);
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValueAtHeightResponse.total_spendable)
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::_internal_total_spendable() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.total_spendable_;
|
|
}
|
|
inline void ValueAtHeightResponse::_internal_set_total_spendable(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_spendable_ = value;
|
|
}
|
|
|
|
// uint64 total_pre_mine = 8;
|
|
inline void ValueAtHeightResponse::clear_total_pre_mine() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_pre_mine_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::total_pre_mine() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValueAtHeightResponse.total_pre_mine)
|
|
return _internal_total_pre_mine();
|
|
}
|
|
inline void ValueAtHeightResponse::set_total_pre_mine(::uint64_t value) {
|
|
_internal_set_total_pre_mine(value);
|
|
_impl_._has_bits_[0] |= 0x00000040u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValueAtHeightResponse.total_pre_mine)
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::_internal_total_pre_mine() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.total_pre_mine_;
|
|
}
|
|
inline void ValueAtHeightResponse::_internal_set_total_pre_mine(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_pre_mine_ = value;
|
|
}
|
|
|
|
// uint64 time_locked_pre_mine = 9;
|
|
inline void ValueAtHeightResponse::clear_time_locked_pre_mine() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.time_locked_pre_mine_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::time_locked_pre_mine() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValueAtHeightResponse.time_locked_pre_mine)
|
|
return _internal_time_locked_pre_mine();
|
|
}
|
|
inline void ValueAtHeightResponse::set_time_locked_pre_mine(::uint64_t value) {
|
|
_internal_set_time_locked_pre_mine(value);
|
|
_impl_._has_bits_[0] |= 0x00000080u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValueAtHeightResponse.time_locked_pre_mine)
|
|
}
|
|
inline ::uint64_t ValueAtHeightResponse::_internal_time_locked_pre_mine() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.time_locked_pre_mine_;
|
|
}
|
|
inline void ValueAtHeightResponse::_internal_set_time_locked_pre_mine(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.time_locked_pre_mine_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// IntegerValue
|
|
|
|
// uint64 value = 1;
|
|
inline void IntegerValue::clear_value() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.value_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t IntegerValue::value() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.IntegerValue.value)
|
|
return _internal_value();
|
|
}
|
|
inline void IntegerValue::set_value(::uint64_t value) {
|
|
_internal_set_value(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.IntegerValue.value)
|
|
}
|
|
inline ::uint64_t IntegerValue::_internal_value() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.value_;
|
|
}
|
|
inline void IntegerValue::_internal_set_value(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.value_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BaseNodeGetVersionResponse
|
|
|
|
// string version = 1;
|
|
inline void BaseNodeGetVersionResponse::clear_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.version_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& BaseNodeGetVersionResponse::version() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BaseNodeGetVersionResponse.version)
|
|
return _internal_version();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BaseNodeGetVersionResponse::set_version(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.version_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BaseNodeGetVersionResponse.version)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BaseNodeGetVersionResponse::mutable_version()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_version();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.BaseNodeGetVersionResponse.version)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BaseNodeGetVersionResponse::_internal_version() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.version_.Get();
|
|
}
|
|
inline void BaseNodeGetVersionResponse::_internal_set_version(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.version_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BaseNodeGetVersionResponse::_internal_mutable_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.version_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BaseNodeGetVersionResponse::release_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.BaseNodeGetVersionResponse.version)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.version_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.version_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BaseNodeGetVersionResponse::set_allocated_version(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.version_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.version_.IsDefault()) {
|
|
_impl_.version_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.BaseNodeGetVersionResponse.version)
|
|
}
|
|
|
|
// uint32 network = 2;
|
|
inline void BaseNodeGetVersionResponse::clear_network() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.network_ = 0u;
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint32_t BaseNodeGetVersionResponse::network() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BaseNodeGetVersionResponse.network)
|
|
return _internal_network();
|
|
}
|
|
inline void BaseNodeGetVersionResponse::set_network(::uint32_t value) {
|
|
_internal_set_network(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BaseNodeGetVersionResponse.network)
|
|
}
|
|
inline ::uint32_t BaseNodeGetVersionResponse::_internal_network() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.network_;
|
|
}
|
|
inline void BaseNodeGetVersionResponse::_internal_set_network(::uint32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.network_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BlockGroupRequest
|
|
|
|
// uint64 from_tip = 1;
|
|
inline void BlockGroupRequest::clear_from_tip() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.from_tip_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t BlockGroupRequest::from_tip() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockGroupRequest.from_tip)
|
|
return _internal_from_tip();
|
|
}
|
|
inline void BlockGroupRequest::set_from_tip(::uint64_t value) {
|
|
_internal_set_from_tip(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockGroupRequest.from_tip)
|
|
}
|
|
inline ::uint64_t BlockGroupRequest::_internal_from_tip() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.from_tip_;
|
|
}
|
|
inline void BlockGroupRequest::_internal_set_from_tip(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.from_tip_ = value;
|
|
}
|
|
|
|
// uint64 start_height = 2;
|
|
inline void BlockGroupRequest::clear_start_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.start_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t BlockGroupRequest::start_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockGroupRequest.start_height)
|
|
return _internal_start_height();
|
|
}
|
|
inline void BlockGroupRequest::set_start_height(::uint64_t value) {
|
|
_internal_set_start_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockGroupRequest.start_height)
|
|
}
|
|
inline ::uint64_t BlockGroupRequest::_internal_start_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.start_height_;
|
|
}
|
|
inline void BlockGroupRequest::_internal_set_start_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.start_height_ = value;
|
|
}
|
|
|
|
// uint64 end_height = 3;
|
|
inline void BlockGroupRequest::clear_end_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.end_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t BlockGroupRequest::end_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockGroupRequest.end_height)
|
|
return _internal_end_height();
|
|
}
|
|
inline void BlockGroupRequest::set_end_height(::uint64_t value) {
|
|
_internal_set_end_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockGroupRequest.end_height)
|
|
}
|
|
inline ::uint64_t BlockGroupRequest::_internal_end_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.end_height_;
|
|
}
|
|
inline void BlockGroupRequest::_internal_set_end_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.end_height_ = value;
|
|
}
|
|
|
|
// .tari.rpc.CalcType calc_type = 4;
|
|
inline void BlockGroupRequest::clear_calc_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.calc_type_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::tari::rpc::CalcType BlockGroupRequest::calc_type() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockGroupRequest.calc_type)
|
|
return _internal_calc_type();
|
|
}
|
|
inline void BlockGroupRequest::set_calc_type(::tari::rpc::CalcType value) {
|
|
_internal_set_calc_type(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockGroupRequest.calc_type)
|
|
}
|
|
inline ::tari::rpc::CalcType BlockGroupRequest::_internal_calc_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::tari::rpc::CalcType>(_impl_.calc_type_);
|
|
}
|
|
inline void BlockGroupRequest::_internal_set_calc_type(::tari::rpc::CalcType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.calc_type_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BlockGroupResponse
|
|
|
|
// repeated double value = 1;
|
|
inline int BlockGroupResponse::_internal_value_size() const {
|
|
return _internal_value().size();
|
|
}
|
|
inline int BlockGroupResponse::value_size() const {
|
|
return _internal_value_size();
|
|
}
|
|
inline void BlockGroupResponse::clear_value() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.value_.Clear();
|
|
}
|
|
inline double BlockGroupResponse::value(int index) const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockGroupResponse.value)
|
|
return _internal_value().Get(index);
|
|
}
|
|
inline void BlockGroupResponse::set_value(int index, double value) {
|
|
_internal_mutable_value()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockGroupResponse.value)
|
|
}
|
|
inline void BlockGroupResponse::add_value(double value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_value()->Add(value);
|
|
// @@protoc_insertion_point(field_add:tari.rpc.BlockGroupResponse.value)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<double>& BlockGroupResponse::value() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.BlockGroupResponse.value)
|
|
return _internal_value();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL BlockGroupResponse::mutable_value()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.BlockGroupResponse.value)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_value();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<double>&
|
|
BlockGroupResponse::_internal_value() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.value_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
|
|
BlockGroupResponse::_internal_mutable_value() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.value_;
|
|
}
|
|
|
|
// .tari.rpc.CalcType calc_type = 2;
|
|
inline void BlockGroupResponse::clear_calc_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.calc_type_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::tari::rpc::CalcType BlockGroupResponse::calc_type() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockGroupResponse.calc_type)
|
|
return _internal_calc_type();
|
|
}
|
|
inline void BlockGroupResponse::set_calc_type(::tari::rpc::CalcType value) {
|
|
_internal_set_calc_type(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockGroupResponse.calc_type)
|
|
}
|
|
inline ::tari::rpc::CalcType BlockGroupResponse::_internal_calc_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::tari::rpc::CalcType>(_impl_.calc_type_);
|
|
}
|
|
inline void BlockGroupResponse::_internal_set_calc_type(::tari::rpc::CalcType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.calc_type_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// HeightRequest
|
|
|
|
// uint64 from_tip = 1;
|
|
inline void HeightRequest::clear_from_tip() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.from_tip_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t HeightRequest::from_tip() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.HeightRequest.from_tip)
|
|
return _internal_from_tip();
|
|
}
|
|
inline void HeightRequest::set_from_tip(::uint64_t value) {
|
|
_internal_set_from_tip(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.HeightRequest.from_tip)
|
|
}
|
|
inline ::uint64_t HeightRequest::_internal_from_tip() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.from_tip_;
|
|
}
|
|
inline void HeightRequest::_internal_set_from_tip(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.from_tip_ = value;
|
|
}
|
|
|
|
// uint64 start_height = 2;
|
|
inline void HeightRequest::clear_start_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.start_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t HeightRequest::start_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.HeightRequest.start_height)
|
|
return _internal_start_height();
|
|
}
|
|
inline void HeightRequest::set_start_height(::uint64_t value) {
|
|
_internal_set_start_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.HeightRequest.start_height)
|
|
}
|
|
inline ::uint64_t HeightRequest::_internal_start_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.start_height_;
|
|
}
|
|
inline void HeightRequest::_internal_set_start_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.start_height_ = value;
|
|
}
|
|
|
|
// uint64 end_height = 3;
|
|
inline void HeightRequest::clear_end_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.end_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t HeightRequest::end_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.HeightRequest.end_height)
|
|
return _internal_end_height();
|
|
}
|
|
inline void HeightRequest::set_end_height(::uint64_t value) {
|
|
_internal_set_end_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.HeightRequest.end_height)
|
|
}
|
|
inline ::uint64_t HeightRequest::_internal_end_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.end_height_;
|
|
}
|
|
inline void HeightRequest::_internal_set_end_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.end_height_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BlockTimingResponse
|
|
|
|
// uint64 max = 1;
|
|
inline void BlockTimingResponse::clear_max() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.max_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t BlockTimingResponse::max() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockTimingResponse.max)
|
|
return _internal_max();
|
|
}
|
|
inline void BlockTimingResponse::set_max(::uint64_t value) {
|
|
_internal_set_max(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockTimingResponse.max)
|
|
}
|
|
inline ::uint64_t BlockTimingResponse::_internal_max() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.max_;
|
|
}
|
|
inline void BlockTimingResponse::_internal_set_max(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.max_ = value;
|
|
}
|
|
|
|
// uint64 min = 2;
|
|
inline void BlockTimingResponse::clear_min() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.min_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t BlockTimingResponse::min() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockTimingResponse.min)
|
|
return _internal_min();
|
|
}
|
|
inline void BlockTimingResponse::set_min(::uint64_t value) {
|
|
_internal_set_min(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockTimingResponse.min)
|
|
}
|
|
inline ::uint64_t BlockTimingResponse::_internal_min() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.min_;
|
|
}
|
|
inline void BlockTimingResponse::_internal_set_min(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.min_ = value;
|
|
}
|
|
|
|
// double avg = 3;
|
|
inline void BlockTimingResponse::clear_avg() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.avg_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline double BlockTimingResponse::avg() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockTimingResponse.avg)
|
|
return _internal_avg();
|
|
}
|
|
inline void BlockTimingResponse::set_avg(double value) {
|
|
_internal_set_avg(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockTimingResponse.avg)
|
|
}
|
|
inline double BlockTimingResponse::_internal_avg() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.avg_;
|
|
}
|
|
inline void BlockTimingResponse::_internal_set_avg(double value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.avg_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetHeaderByHashRequest
|
|
|
|
// bytes hash = 1;
|
|
inline void GetHeaderByHashRequest::clear_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetHeaderByHashRequest::hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetHeaderByHashRequest.hash)
|
|
return _internal_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetHeaderByHashRequest::set_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetHeaderByHashRequest.hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetHeaderByHashRequest::mutable_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetHeaderByHashRequest.hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetHeaderByHashRequest::_internal_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.hash_.Get();
|
|
}
|
|
inline void GetHeaderByHashRequest::_internal_set_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetHeaderByHashRequest::_internal_mutable_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetHeaderByHashRequest::release_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetHeaderByHashRequest.hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetHeaderByHashRequest::set_allocated_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.hash_.IsDefault()) {
|
|
_impl_.hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetHeaderByHashRequest.hash)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BlockHeaderResponse
|
|
|
|
// .tari.rpc.BlockHeader header = 1;
|
|
inline bool BlockHeaderResponse::has_header() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.header_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::BlockHeader& BlockHeaderResponse::_internal_header() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::BlockHeader* p = _impl_.header_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::BlockHeader&>(::tari::rpc::_BlockHeader_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::BlockHeader& BlockHeaderResponse::header() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockHeaderResponse.header)
|
|
return _internal_header();
|
|
}
|
|
inline void BlockHeaderResponse::unsafe_arena_set_allocated_header(
|
|
::tari::rpc::BlockHeader* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.header_);
|
|
}
|
|
_impl_.header_ = reinterpret_cast<::tari::rpc::BlockHeader*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.BlockHeaderResponse.header)
|
|
}
|
|
inline ::tari::rpc::BlockHeader* PROTOBUF_NULLABLE BlockHeaderResponse::release_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::BlockHeader* released = _impl_.header_;
|
|
_impl_.header_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::BlockHeader* PROTOBUF_NULLABLE BlockHeaderResponse::unsafe_arena_release_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.BlockHeaderResponse.header)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::BlockHeader* temp = _impl_.header_;
|
|
_impl_.header_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::BlockHeader* PROTOBUF_NONNULL BlockHeaderResponse::_internal_mutable_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.header_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::BlockHeader>(GetArena());
|
|
_impl_.header_ = reinterpret_cast<::tari::rpc::BlockHeader*>(p);
|
|
}
|
|
return _impl_.header_;
|
|
}
|
|
inline ::tari::rpc::BlockHeader* PROTOBUF_NONNULL BlockHeaderResponse::mutable_header()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::BlockHeader* _msg = _internal_mutable_header();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.BlockHeaderResponse.header)
|
|
return _msg;
|
|
}
|
|
inline void BlockHeaderResponse::set_allocated_header(::tari::rpc::BlockHeader* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.header_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.header_ = reinterpret_cast<::tari::rpc::BlockHeader*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.BlockHeaderResponse.header)
|
|
}
|
|
|
|
// uint64 confirmations = 2;
|
|
inline void BlockHeaderResponse::clear_confirmations() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.confirmations_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t BlockHeaderResponse::confirmations() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockHeaderResponse.confirmations)
|
|
return _internal_confirmations();
|
|
}
|
|
inline void BlockHeaderResponse::set_confirmations(::uint64_t value) {
|
|
_internal_set_confirmations(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockHeaderResponse.confirmations)
|
|
}
|
|
inline ::uint64_t BlockHeaderResponse::_internal_confirmations() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.confirmations_;
|
|
}
|
|
inline void BlockHeaderResponse::_internal_set_confirmations(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.confirmations_ = value;
|
|
}
|
|
|
|
// uint64 reward = 3;
|
|
inline void BlockHeaderResponse::clear_reward() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.reward_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t BlockHeaderResponse::reward() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockHeaderResponse.reward)
|
|
return _internal_reward();
|
|
}
|
|
inline void BlockHeaderResponse::set_reward(::uint64_t value) {
|
|
_internal_set_reward(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockHeaderResponse.reward)
|
|
}
|
|
inline ::uint64_t BlockHeaderResponse::_internal_reward() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.reward_;
|
|
}
|
|
inline void BlockHeaderResponse::_internal_set_reward(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.reward_ = value;
|
|
}
|
|
|
|
// uint64 difficulty = 4;
|
|
inline void BlockHeaderResponse::clear_difficulty() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.difficulty_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::uint64_t BlockHeaderResponse::difficulty() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockHeaderResponse.difficulty)
|
|
return _internal_difficulty();
|
|
}
|
|
inline void BlockHeaderResponse::set_difficulty(::uint64_t value) {
|
|
_internal_set_difficulty(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockHeaderResponse.difficulty)
|
|
}
|
|
inline ::uint64_t BlockHeaderResponse::_internal_difficulty() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.difficulty_;
|
|
}
|
|
inline void BlockHeaderResponse::_internal_set_difficulty(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.difficulty_ = value;
|
|
}
|
|
|
|
// uint32 num_transactions = 5;
|
|
inline void BlockHeaderResponse::clear_num_transactions() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.num_transactions_ = 0u;
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline ::uint32_t BlockHeaderResponse::num_transactions() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockHeaderResponse.num_transactions)
|
|
return _internal_num_transactions();
|
|
}
|
|
inline void BlockHeaderResponse::set_num_transactions(::uint32_t value) {
|
|
_internal_set_num_transactions(value);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockHeaderResponse.num_transactions)
|
|
}
|
|
inline ::uint32_t BlockHeaderResponse::_internal_num_transactions() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.num_transactions_;
|
|
}
|
|
inline void BlockHeaderResponse::_internal_set_num_transactions(::uint32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.num_transactions_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ListHeadersRequest
|
|
|
|
// uint64 from_height = 1;
|
|
inline void ListHeadersRequest::clear_from_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.from_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t ListHeadersRequest::from_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListHeadersRequest.from_height)
|
|
return _internal_from_height();
|
|
}
|
|
inline void ListHeadersRequest::set_from_height(::uint64_t value) {
|
|
_internal_set_from_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListHeadersRequest.from_height)
|
|
}
|
|
inline ::uint64_t ListHeadersRequest::_internal_from_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.from_height_;
|
|
}
|
|
inline void ListHeadersRequest::_internal_set_from_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.from_height_ = value;
|
|
}
|
|
|
|
// uint64 num_headers = 2;
|
|
inline void ListHeadersRequest::clear_num_headers() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.num_headers_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t ListHeadersRequest::num_headers() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListHeadersRequest.num_headers)
|
|
return _internal_num_headers();
|
|
}
|
|
inline void ListHeadersRequest::set_num_headers(::uint64_t value) {
|
|
_internal_set_num_headers(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListHeadersRequest.num_headers)
|
|
}
|
|
inline ::uint64_t ListHeadersRequest::_internal_num_headers() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.num_headers_;
|
|
}
|
|
inline void ListHeadersRequest::_internal_set_num_headers(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.num_headers_ = value;
|
|
}
|
|
|
|
// .tari.rpc.Sorting sorting = 3;
|
|
inline void ListHeadersRequest::clear_sorting() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sorting_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::tari::rpc::Sorting ListHeadersRequest::sorting() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ListHeadersRequest.sorting)
|
|
return _internal_sorting();
|
|
}
|
|
inline void ListHeadersRequest::set_sorting(::tari::rpc::Sorting value) {
|
|
_internal_set_sorting(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ListHeadersRequest.sorting)
|
|
}
|
|
inline ::tari::rpc::Sorting ListHeadersRequest::_internal_sorting() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::tari::rpc::Sorting>(_impl_.sorting_);
|
|
}
|
|
inline void ListHeadersRequest::_internal_set_sorting(::tari::rpc::Sorting value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sorting_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetBlocksRequest
|
|
|
|
// repeated uint64 heights = 1;
|
|
inline int GetBlocksRequest::_internal_heights_size() const {
|
|
return _internal_heights().size();
|
|
}
|
|
inline int GetBlocksRequest::heights_size() const {
|
|
return _internal_heights_size();
|
|
}
|
|
inline void GetBlocksRequest::clear_heights() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.heights_.Clear();
|
|
}
|
|
inline ::uint64_t GetBlocksRequest::heights(int index) const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetBlocksRequest.heights)
|
|
return _internal_heights().Get(index);
|
|
}
|
|
inline void GetBlocksRequest::set_heights(int index, ::uint64_t value) {
|
|
_internal_mutable_heights()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetBlocksRequest.heights)
|
|
}
|
|
inline void GetBlocksRequest::add_heights(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_heights()->Add(value);
|
|
// @@protoc_insertion_point(field_add:tari.rpc.GetBlocksRequest.heights)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::uint64_t>& GetBlocksRequest::heights() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.GetBlocksRequest.heights)
|
|
return _internal_heights();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL GetBlocksRequest::mutable_heights()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.GetBlocksRequest.heights)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_heights();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::uint64_t>&
|
|
GetBlocksRequest::_internal_heights() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.heights_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL
|
|
GetBlocksRequest::_internal_mutable_heights() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.heights_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetBlocksResponse
|
|
|
|
// repeated .tari.rpc.HistoricalBlock blocks = 1;
|
|
inline int GetBlocksResponse::_internal_blocks_size() const {
|
|
return _internal_blocks().size();
|
|
}
|
|
inline int GetBlocksResponse::blocks_size() const {
|
|
return _internal_blocks_size();
|
|
}
|
|
inline ::tari::rpc::HistoricalBlock* PROTOBUF_NONNULL GetBlocksResponse::mutable_blocks(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetBlocksResponse.blocks)
|
|
return _internal_mutable_blocks()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::HistoricalBlock>* PROTOBUF_NONNULL GetBlocksResponse::mutable_blocks()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.GetBlocksResponse.blocks)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_blocks();
|
|
}
|
|
inline const ::tari::rpc::HistoricalBlock& GetBlocksResponse::blocks(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetBlocksResponse.blocks)
|
|
return _internal_blocks().Get(index);
|
|
}
|
|
inline ::tari::rpc::HistoricalBlock* PROTOBUF_NONNULL GetBlocksResponse::add_blocks()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::tari::rpc::HistoricalBlock* _add = _internal_mutable_blocks()->Add();
|
|
// @@protoc_insertion_point(field_add:tari.rpc.GetBlocksResponse.blocks)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::HistoricalBlock>& GetBlocksResponse::blocks() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.GetBlocksResponse.blocks)
|
|
return _internal_blocks();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::HistoricalBlock>&
|
|
GetBlocksResponse::_internal_blocks() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.blocks_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::HistoricalBlock>* PROTOBUF_NONNULL
|
|
GetBlocksResponse::_internal_mutable_blocks() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.blocks_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// MetaData
|
|
|
|
// uint64 best_block_height = 1;
|
|
inline void MetaData::clear_best_block_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.best_block_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t MetaData::best_block_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MetaData.best_block_height)
|
|
return _internal_best_block_height();
|
|
}
|
|
inline void MetaData::set_best_block_height(::uint64_t value) {
|
|
_internal_set_best_block_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MetaData.best_block_height)
|
|
}
|
|
inline ::uint64_t MetaData::_internal_best_block_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.best_block_height_;
|
|
}
|
|
inline void MetaData::_internal_set_best_block_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.best_block_height_ = value;
|
|
}
|
|
|
|
// bytes best_block_hash = 2;
|
|
inline void MetaData::clear_best_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.best_block_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& MetaData::best_block_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MetaData.best_block_hash)
|
|
return _internal_best_block_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void MetaData::set_best_block_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.best_block_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MetaData.best_block_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MetaData::mutable_best_block_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_best_block_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.MetaData.best_block_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& MetaData::_internal_best_block_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.best_block_hash_.Get();
|
|
}
|
|
inline void MetaData::_internal_set_best_block_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.best_block_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MetaData::_internal_mutable_best_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.best_block_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE MetaData::release_best_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.MetaData.best_block_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.best_block_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.best_block_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void MetaData::set_allocated_best_block_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.best_block_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.best_block_hash_.IsDefault()) {
|
|
_impl_.best_block_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.MetaData.best_block_hash)
|
|
}
|
|
|
|
// bytes accumulated_difficulty = 5;
|
|
inline void MetaData::clear_accumulated_difficulty() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.accumulated_difficulty_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& MetaData::accumulated_difficulty() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MetaData.accumulated_difficulty)
|
|
return _internal_accumulated_difficulty();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void MetaData::set_accumulated_difficulty(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.accumulated_difficulty_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MetaData.accumulated_difficulty)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MetaData::mutable_accumulated_difficulty()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_accumulated_difficulty();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.MetaData.accumulated_difficulty)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& MetaData::_internal_accumulated_difficulty() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.accumulated_difficulty_.Get();
|
|
}
|
|
inline void MetaData::_internal_set_accumulated_difficulty(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.accumulated_difficulty_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MetaData::_internal_mutable_accumulated_difficulty() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.accumulated_difficulty_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE MetaData::release_accumulated_difficulty() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.MetaData.accumulated_difficulty)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.accumulated_difficulty_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.accumulated_difficulty_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void MetaData::set_allocated_accumulated_difficulty(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.accumulated_difficulty_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.accumulated_difficulty_.IsDefault()) {
|
|
_impl_.accumulated_difficulty_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.MetaData.accumulated_difficulty)
|
|
}
|
|
|
|
// uint64 pruned_height = 6;
|
|
inline void MetaData::clear_pruned_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.pruned_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::uint64_t MetaData::pruned_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MetaData.pruned_height)
|
|
return _internal_pruned_height();
|
|
}
|
|
inline void MetaData::set_pruned_height(::uint64_t value) {
|
|
_internal_set_pruned_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MetaData.pruned_height)
|
|
}
|
|
inline ::uint64_t MetaData::_internal_pruned_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.pruned_height_;
|
|
}
|
|
inline void MetaData::_internal_set_pruned_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.pruned_height_ = value;
|
|
}
|
|
|
|
// uint64 timestamp = 7;
|
|
inline void MetaData::clear_timestamp() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.timestamp_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline ::uint64_t MetaData::timestamp() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MetaData.timestamp)
|
|
return _internal_timestamp();
|
|
}
|
|
inline void MetaData::set_timestamp(::uint64_t value) {
|
|
_internal_set_timestamp(value);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MetaData.timestamp)
|
|
}
|
|
inline ::uint64_t MetaData::_internal_timestamp() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.timestamp_;
|
|
}
|
|
inline void MetaData::_internal_set_timestamp(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.timestamp_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SyncInfoResponse
|
|
|
|
// uint64 tip_height = 1;
|
|
inline void SyncInfoResponse::clear_tip_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tip_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t SyncInfoResponse::tip_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SyncInfoResponse.tip_height)
|
|
return _internal_tip_height();
|
|
}
|
|
inline void SyncInfoResponse::set_tip_height(::uint64_t value) {
|
|
_internal_set_tip_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SyncInfoResponse.tip_height)
|
|
}
|
|
inline ::uint64_t SyncInfoResponse::_internal_tip_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.tip_height_;
|
|
}
|
|
inline void SyncInfoResponse::_internal_set_tip_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tip_height_ = value;
|
|
}
|
|
|
|
// uint64 local_height = 2;
|
|
inline void SyncInfoResponse::clear_local_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.local_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t SyncInfoResponse::local_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SyncInfoResponse.local_height)
|
|
return _internal_local_height();
|
|
}
|
|
inline void SyncInfoResponse::set_local_height(::uint64_t value) {
|
|
_internal_set_local_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SyncInfoResponse.local_height)
|
|
}
|
|
inline ::uint64_t SyncInfoResponse::_internal_local_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.local_height_;
|
|
}
|
|
inline void SyncInfoResponse::_internal_set_local_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.local_height_ = value;
|
|
}
|
|
|
|
// repeated bytes peer_node_id = 3;
|
|
inline int SyncInfoResponse::_internal_peer_node_id_size() const {
|
|
return _internal_peer_node_id().size();
|
|
}
|
|
inline int SyncInfoResponse::peer_node_id_size() const {
|
|
return _internal_peer_node_id_size();
|
|
}
|
|
inline void SyncInfoResponse::clear_peer_node_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.peer_node_id_.Clear();
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SyncInfoResponse::add_peer_node_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::std::string* _s = _internal_mutable_peer_node_id()->Add();
|
|
// @@protoc_insertion_point(field_add_mutable:tari.rpc.SyncInfoResponse.peer_node_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& SyncInfoResponse::peer_node_id(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SyncInfoResponse.peer_node_id)
|
|
return _internal_peer_node_id().Get(index);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SyncInfoResponse::mutable_peer_node_id(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.SyncInfoResponse.peer_node_id)
|
|
return _internal_mutable_peer_node_id()->Mutable(index);
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void SyncInfoResponse::set_peer_node_id(int index, Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::AssignToString(*_internal_mutable_peer_node_id()->Mutable(index), ::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SyncInfoResponse.peer_node_id)
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void SyncInfoResponse::add_peer_node_id(Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_peer_node_id(),
|
|
::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_add:tari.rpc.SyncInfoResponse.peer_node_id)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>& SyncInfoResponse::peer_node_id()
|
|
const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.SyncInfoResponse.peer_node_id)
|
|
return _internal_peer_node_id();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
SyncInfoResponse::mutable_peer_node_id() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.SyncInfoResponse.peer_node_id)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_peer_node_id();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
|
|
SyncInfoResponse::_internal_peer_node_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.peer_node_id_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
SyncInfoResponse::_internal_mutable_peer_node_id() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.peer_node_id_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SyncProgressResponse
|
|
|
|
// uint64 tip_height = 1;
|
|
inline void SyncProgressResponse::clear_tip_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tip_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t SyncProgressResponse::tip_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SyncProgressResponse.tip_height)
|
|
return _internal_tip_height();
|
|
}
|
|
inline void SyncProgressResponse::set_tip_height(::uint64_t value) {
|
|
_internal_set_tip_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SyncProgressResponse.tip_height)
|
|
}
|
|
inline ::uint64_t SyncProgressResponse::_internal_tip_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.tip_height_;
|
|
}
|
|
inline void SyncProgressResponse::_internal_set_tip_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tip_height_ = value;
|
|
}
|
|
|
|
// uint64 local_height = 2;
|
|
inline void SyncProgressResponse::clear_local_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.local_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t SyncProgressResponse::local_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SyncProgressResponse.local_height)
|
|
return _internal_local_height();
|
|
}
|
|
inline void SyncProgressResponse::set_local_height(::uint64_t value) {
|
|
_internal_set_local_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SyncProgressResponse.local_height)
|
|
}
|
|
inline ::uint64_t SyncProgressResponse::_internal_local_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.local_height_;
|
|
}
|
|
inline void SyncProgressResponse::_internal_set_local_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.local_height_ = value;
|
|
}
|
|
|
|
// .tari.rpc.SyncState state = 3;
|
|
inline void SyncProgressResponse::clear_state() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.state_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline ::tari::rpc::SyncState SyncProgressResponse::state() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SyncProgressResponse.state)
|
|
return _internal_state();
|
|
}
|
|
inline void SyncProgressResponse::set_state(::tari::rpc::SyncState value) {
|
|
_internal_set_state(value);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SyncProgressResponse.state)
|
|
}
|
|
inline ::tari::rpc::SyncState SyncProgressResponse::_internal_state() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::tari::rpc::SyncState>(_impl_.state_);
|
|
}
|
|
inline void SyncProgressResponse::_internal_set_state(::tari::rpc::SyncState value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.state_ = value;
|
|
}
|
|
|
|
// string short_desc = 4;
|
|
inline void SyncProgressResponse::clear_short_desc() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.short_desc_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& SyncProgressResponse::short_desc() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SyncProgressResponse.short_desc)
|
|
return _internal_short_desc();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void SyncProgressResponse::set_short_desc(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.short_desc_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SyncProgressResponse.short_desc)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SyncProgressResponse::mutable_short_desc()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_short_desc();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.SyncProgressResponse.short_desc)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& SyncProgressResponse::_internal_short_desc() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.short_desc_.Get();
|
|
}
|
|
inline void SyncProgressResponse::_internal_set_short_desc(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.short_desc_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SyncProgressResponse::_internal_mutable_short_desc() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.short_desc_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE SyncProgressResponse::release_short_desc() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.SyncProgressResponse.short_desc)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.short_desc_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.short_desc_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void SyncProgressResponse::set_allocated_short_desc(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.short_desc_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.short_desc_.IsDefault()) {
|
|
_impl_.short_desc_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.SyncProgressResponse.short_desc)
|
|
}
|
|
|
|
// uint64 initial_connected_peers = 5;
|
|
inline void SyncProgressResponse::clear_initial_connected_peers() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.initial_connected_peers_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::uint64_t SyncProgressResponse::initial_connected_peers() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SyncProgressResponse.initial_connected_peers)
|
|
return _internal_initial_connected_peers();
|
|
}
|
|
inline void SyncProgressResponse::set_initial_connected_peers(::uint64_t value) {
|
|
_internal_set_initial_connected_peers(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SyncProgressResponse.initial_connected_peers)
|
|
}
|
|
inline ::uint64_t SyncProgressResponse::_internal_initial_connected_peers() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.initial_connected_peers_;
|
|
}
|
|
inline void SyncProgressResponse::_internal_set_initial_connected_peers(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.initial_connected_peers_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetNewBlockResult
|
|
|
|
// bytes block_hash = 1;
|
|
inline void GetNewBlockResult::clear_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.block_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetNewBlockResult::block_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockResult.block_hash)
|
|
return _internal_block_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockResult::set_block_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.block_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockResult.block_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockResult::mutable_block_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_block_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockResult.block_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockResult::_internal_block_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.block_hash_.Get();
|
|
}
|
|
inline void GetNewBlockResult::_internal_set_block_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.block_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockResult::_internal_mutable_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.block_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockResult::release_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockResult.block_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.block_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.block_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockResult::set_allocated_block_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.block_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.block_hash_.IsDefault()) {
|
|
_impl_.block_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockResult.block_hash)
|
|
}
|
|
|
|
// .tari.rpc.Block block = 2;
|
|
inline bool GetNewBlockResult::has_block() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.block_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::Block& GetNewBlockResult::_internal_block() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::Block* p = _impl_.block_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::Block&>(::tari::rpc::_Block_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::Block& GetNewBlockResult::block() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockResult.block)
|
|
return _internal_block();
|
|
}
|
|
inline void GetNewBlockResult::unsafe_arena_set_allocated_block(
|
|
::tari::rpc::Block* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.block_);
|
|
}
|
|
_impl_.block_ = reinterpret_cast<::tari::rpc::Block*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetNewBlockResult.block)
|
|
}
|
|
inline ::tari::rpc::Block* PROTOBUF_NULLABLE GetNewBlockResult::release_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
::tari::rpc::Block* released = _impl_.block_;
|
|
_impl_.block_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::Block* PROTOBUF_NULLABLE GetNewBlockResult::unsafe_arena_release_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockResult.block)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
::tari::rpc::Block* temp = _impl_.block_;
|
|
_impl_.block_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::Block* PROTOBUF_NONNULL GetNewBlockResult::_internal_mutable_block() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.block_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::Block>(GetArena());
|
|
_impl_.block_ = reinterpret_cast<::tari::rpc::Block*>(p);
|
|
}
|
|
return _impl_.block_;
|
|
}
|
|
inline ::tari::rpc::Block* PROTOBUF_NONNULL GetNewBlockResult::mutable_block()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
::tari::rpc::Block* _msg = _internal_mutable_block();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockResult.block)
|
|
return _msg;
|
|
}
|
|
inline void GetNewBlockResult::set_allocated_block(::tari::rpc::Block* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.block_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
|
|
_impl_.block_ = reinterpret_cast<::tari::rpc::Block*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockResult.block)
|
|
}
|
|
|
|
// bytes merge_mining_hash = 3;
|
|
inline void GetNewBlockResult::clear_merge_mining_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.merge_mining_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& GetNewBlockResult::merge_mining_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockResult.merge_mining_hash)
|
|
return _internal_merge_mining_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockResult::set_merge_mining_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.merge_mining_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockResult.merge_mining_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockResult::mutable_merge_mining_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_merge_mining_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockResult.merge_mining_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockResult::_internal_merge_mining_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.merge_mining_hash_.Get();
|
|
}
|
|
inline void GetNewBlockResult::_internal_set_merge_mining_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.merge_mining_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockResult::_internal_mutable_merge_mining_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.merge_mining_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockResult::release_merge_mining_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockResult.merge_mining_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.merge_mining_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.merge_mining_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockResult::set_allocated_merge_mining_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.merge_mining_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.merge_mining_hash_.IsDefault()) {
|
|
_impl_.merge_mining_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockResult.merge_mining_hash)
|
|
}
|
|
|
|
// bytes tari_unique_id = 4;
|
|
inline void GetNewBlockResult::clear_tari_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tari_unique_id_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const ::std::string& GetNewBlockResult::tari_unique_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockResult.tari_unique_id)
|
|
return _internal_tari_unique_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockResult::set_tari_unique_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.tari_unique_id_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockResult.tari_unique_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockResult::mutable_tari_unique_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_tari_unique_id();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockResult.tari_unique_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockResult::_internal_tari_unique_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.tari_unique_id_.Get();
|
|
}
|
|
inline void GetNewBlockResult::_internal_set_tari_unique_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.tari_unique_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockResult::_internal_mutable_tari_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
return _impl_.tari_unique_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockResult::release_tari_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockResult.tari_unique_id)
|
|
if ((_impl_._has_bits_[0] & 0x00000004u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
auto* released = _impl_.tari_unique_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.tari_unique_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockResult::set_allocated_tari_unique_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
_impl_.tari_unique_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tari_unique_id_.IsDefault()) {
|
|
_impl_.tari_unique_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockResult.tari_unique_id)
|
|
}
|
|
|
|
// .tari.rpc.MinerData miner_data = 5;
|
|
inline bool GetNewBlockResult::has_miner_data() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.miner_data_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void GetNewBlockResult::clear_miner_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.miner_data_ != nullptr) _impl_.miner_data_->Clear();
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline const ::tari::rpc::MinerData& GetNewBlockResult::_internal_miner_data() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::MinerData* p = _impl_.miner_data_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::MinerData&>(::tari::rpc::_MinerData_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::MinerData& GetNewBlockResult::miner_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockResult.miner_data)
|
|
return _internal_miner_data();
|
|
}
|
|
inline void GetNewBlockResult::unsafe_arena_set_allocated_miner_data(
|
|
::tari::rpc::MinerData* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.miner_data_);
|
|
}
|
|
_impl_.miner_data_ = reinterpret_cast<::tari::rpc::MinerData*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetNewBlockResult.miner_data)
|
|
}
|
|
inline ::tari::rpc::MinerData* PROTOBUF_NULLABLE GetNewBlockResult::release_miner_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
::tari::rpc::MinerData* released = _impl_.miner_data_;
|
|
_impl_.miner_data_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::MinerData* PROTOBUF_NULLABLE GetNewBlockResult::unsafe_arena_release_miner_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockResult.miner_data)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
::tari::rpc::MinerData* temp = _impl_.miner_data_;
|
|
_impl_.miner_data_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::MinerData* PROTOBUF_NONNULL GetNewBlockResult::_internal_mutable_miner_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.miner_data_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::MinerData>(GetArena());
|
|
_impl_.miner_data_ = reinterpret_cast<::tari::rpc::MinerData*>(p);
|
|
}
|
|
return _impl_.miner_data_;
|
|
}
|
|
inline ::tari::rpc::MinerData* PROTOBUF_NONNULL GetNewBlockResult::mutable_miner_data()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
::tari::rpc::MinerData* _msg = _internal_mutable_miner_data();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockResult.miner_data)
|
|
return _msg;
|
|
}
|
|
inline void GetNewBlockResult::set_allocated_miner_data(::tari::rpc::MinerData* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.miner_data_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
|
|
_impl_.miner_data_ = reinterpret_cast<::tari::rpc::MinerData*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockResult.miner_data)
|
|
}
|
|
|
|
// bytes vm_key = 6;
|
|
inline void GetNewBlockResult::clear_vm_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.vm_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const ::std::string& GetNewBlockResult::vm_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockResult.vm_key)
|
|
return _internal_vm_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockResult::set_vm_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.vm_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockResult.vm_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockResult::mutable_vm_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_vm_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockResult.vm_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockResult::_internal_vm_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.vm_key_.Get();
|
|
}
|
|
inline void GetNewBlockResult::_internal_set_vm_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.vm_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockResult::_internal_mutable_vm_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
return _impl_.vm_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockResult::release_vm_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockResult.vm_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000008u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
auto* released = _impl_.vm_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.vm_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockResult::set_allocated_vm_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
_impl_.vm_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.vm_key_.IsDefault()) {
|
|
_impl_.vm_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockResult.vm_key)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetNewBlockBlobResult
|
|
|
|
// bytes block_hash = 1;
|
|
inline void GetNewBlockBlobResult::clear_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.block_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::block_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockBlobResult.block_hash)
|
|
return _internal_block_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockBlobResult::set_block_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.block_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockBlobResult.block_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::mutable_block_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_block_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockBlobResult.block_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::_internal_block_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.block_hash_.Get();
|
|
}
|
|
inline void GetNewBlockBlobResult::_internal_set_block_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.block_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::_internal_mutable_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.block_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockBlobResult::release_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockBlobResult.block_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.block_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.block_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockBlobResult::set_allocated_block_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.block_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.block_hash_.IsDefault()) {
|
|
_impl_.block_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockBlobResult.block_hash)
|
|
}
|
|
|
|
// bytes header = 2;
|
|
inline void GetNewBlockBlobResult::clear_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.header_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::header() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockBlobResult.header)
|
|
return _internal_header();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockBlobResult::set_header(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.header_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockBlobResult.header)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::mutable_header()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_header();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockBlobResult.header)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::_internal_header() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.header_.Get();
|
|
}
|
|
inline void GetNewBlockBlobResult::_internal_set_header(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.header_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::_internal_mutable_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.header_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockBlobResult::release_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockBlobResult.header)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.header_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.header_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockBlobResult::set_allocated_header(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.header_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.header_.IsDefault()) {
|
|
_impl_.header_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockBlobResult.header)
|
|
}
|
|
|
|
// bytes block_body = 3;
|
|
inline void GetNewBlockBlobResult::clear_block_body() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.block_body_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::block_body() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockBlobResult.block_body)
|
|
return _internal_block_body();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockBlobResult::set_block_body(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.block_body_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockBlobResult.block_body)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::mutable_block_body()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_block_body();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockBlobResult.block_body)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::_internal_block_body() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.block_body_.Get();
|
|
}
|
|
inline void GetNewBlockBlobResult::_internal_set_block_body(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.block_body_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::_internal_mutable_block_body() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
return _impl_.block_body_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockBlobResult::release_block_body() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockBlobResult.block_body)
|
|
if ((_impl_._has_bits_[0] & 0x00000004u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
auto* released = _impl_.block_body_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.block_body_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockBlobResult::set_allocated_block_body(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
_impl_.block_body_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.block_body_.IsDefault()) {
|
|
_impl_.block_body_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockBlobResult.block_body)
|
|
}
|
|
|
|
// bytes merge_mining_hash = 4;
|
|
inline void GetNewBlockBlobResult::clear_merge_mining_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.merge_mining_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::merge_mining_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockBlobResult.merge_mining_hash)
|
|
return _internal_merge_mining_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockBlobResult::set_merge_mining_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.merge_mining_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockBlobResult.merge_mining_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::mutable_merge_mining_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_merge_mining_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockBlobResult.merge_mining_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::_internal_merge_mining_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.merge_mining_hash_.Get();
|
|
}
|
|
inline void GetNewBlockBlobResult::_internal_set_merge_mining_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.merge_mining_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::_internal_mutable_merge_mining_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
return _impl_.merge_mining_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockBlobResult::release_merge_mining_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockBlobResult.merge_mining_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000008u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
auto* released = _impl_.merge_mining_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.merge_mining_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockBlobResult::set_allocated_merge_mining_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
_impl_.merge_mining_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.merge_mining_hash_.IsDefault()) {
|
|
_impl_.merge_mining_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockBlobResult.merge_mining_hash)
|
|
}
|
|
|
|
// bytes utxo_mr = 5;
|
|
inline void GetNewBlockBlobResult::clear_utxo_mr() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.utxo_mr_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::utxo_mr() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockBlobResult.utxo_mr)
|
|
return _internal_utxo_mr();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockBlobResult::set_utxo_mr(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.utxo_mr_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockBlobResult.utxo_mr)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::mutable_utxo_mr()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_utxo_mr();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockBlobResult.utxo_mr)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::_internal_utxo_mr() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.utxo_mr_.Get();
|
|
}
|
|
inline void GetNewBlockBlobResult::_internal_set_utxo_mr(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.utxo_mr_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::_internal_mutable_utxo_mr() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
return _impl_.utxo_mr_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockBlobResult::release_utxo_mr() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockBlobResult.utxo_mr)
|
|
if ((_impl_._has_bits_[0] & 0x00000010u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
auto* released = _impl_.utxo_mr_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.utxo_mr_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockBlobResult::set_allocated_utxo_mr(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
_impl_.utxo_mr_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.utxo_mr_.IsDefault()) {
|
|
_impl_.utxo_mr_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockBlobResult.utxo_mr)
|
|
}
|
|
|
|
// bytes tari_unique_id = 6;
|
|
inline void GetNewBlockBlobResult::clear_tari_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tari_unique_id_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::tari_unique_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNewBlockBlobResult.tari_unique_id)
|
|
return _internal_tari_unique_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetNewBlockBlobResult::set_tari_unique_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
_impl_.tari_unique_id_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNewBlockBlobResult.tari_unique_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::mutable_tari_unique_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_tari_unique_id();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNewBlockBlobResult.tari_unique_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetNewBlockBlobResult::_internal_tari_unique_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.tari_unique_id_.Get();
|
|
}
|
|
inline void GetNewBlockBlobResult::_internal_set_tari_unique_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
_impl_.tari_unique_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetNewBlockBlobResult::_internal_mutable_tari_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
return _impl_.tari_unique_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetNewBlockBlobResult::release_tari_unique_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNewBlockBlobResult.tari_unique_id)
|
|
if ((_impl_._has_bits_[0] & 0x00000020u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
auto* released = _impl_.tari_unique_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.tari_unique_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetNewBlockBlobResult::set_allocated_tari_unique_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
_impl_.tari_unique_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tari_unique_id_.IsDefault()) {
|
|
_impl_.tari_unique_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNewBlockBlobResult.tari_unique_id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// MinerData
|
|
|
|
// .tari.rpc.PowAlgo algo = 1;
|
|
inline bool MinerData::has_algo() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.algo_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::PowAlgo& MinerData::_internal_algo() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::PowAlgo* p = _impl_.algo_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::PowAlgo&>(::tari::rpc::_PowAlgo_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::PowAlgo& MinerData::algo() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MinerData.algo)
|
|
return _internal_algo();
|
|
}
|
|
inline void MinerData::unsafe_arena_set_allocated_algo(
|
|
::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.algo_);
|
|
}
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.MinerData.algo)
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE MinerData::release_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::PowAlgo* released = _impl_.algo_;
|
|
_impl_.algo_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NULLABLE MinerData::unsafe_arena_release_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.MinerData.algo)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::PowAlgo* temp = _impl_.algo_;
|
|
_impl_.algo_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NONNULL MinerData::_internal_mutable_algo() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.algo_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::PowAlgo>(GetArena());
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(p);
|
|
}
|
|
return _impl_.algo_;
|
|
}
|
|
inline ::tari::rpc::PowAlgo* PROTOBUF_NONNULL MinerData::mutable_algo()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::PowAlgo* _msg = _internal_mutable_algo();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.MinerData.algo)
|
|
return _msg;
|
|
}
|
|
inline void MinerData::set_allocated_algo(::tari::rpc::PowAlgo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.algo_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.algo_ = reinterpret_cast<::tari::rpc::PowAlgo*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.MinerData.algo)
|
|
}
|
|
|
|
// uint64 target_difficulty = 2;
|
|
inline void MinerData::clear_target_difficulty() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.target_difficulty_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t MinerData::target_difficulty() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MinerData.target_difficulty)
|
|
return _internal_target_difficulty();
|
|
}
|
|
inline void MinerData::set_target_difficulty(::uint64_t value) {
|
|
_internal_set_target_difficulty(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MinerData.target_difficulty)
|
|
}
|
|
inline ::uint64_t MinerData::_internal_target_difficulty() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.target_difficulty_;
|
|
}
|
|
inline void MinerData::_internal_set_target_difficulty(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.target_difficulty_ = value;
|
|
}
|
|
|
|
// uint64 reward = 3;
|
|
inline void MinerData::clear_reward() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.reward_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t MinerData::reward() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MinerData.reward)
|
|
return _internal_reward();
|
|
}
|
|
inline void MinerData::set_reward(::uint64_t value) {
|
|
_internal_set_reward(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MinerData.reward)
|
|
}
|
|
inline ::uint64_t MinerData::_internal_reward() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.reward_;
|
|
}
|
|
inline void MinerData::_internal_set_reward(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.reward_ = value;
|
|
}
|
|
|
|
// uint64 total_fees = 5;
|
|
inline void MinerData::clear_total_fees() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_fees_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::uint64_t MinerData::total_fees() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MinerData.total_fees)
|
|
return _internal_total_fees();
|
|
}
|
|
inline void MinerData::set_total_fees(::uint64_t value) {
|
|
_internal_set_total_fees(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MinerData.total_fees)
|
|
}
|
|
inline ::uint64_t MinerData::_internal_total_fees() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.total_fees_;
|
|
}
|
|
inline void MinerData::_internal_set_total_fees(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_fees_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SearchKernelsRequest
|
|
|
|
// repeated .tari.rpc.Signature signatures = 1;
|
|
inline int SearchKernelsRequest::_internal_signatures_size() const {
|
|
return _internal_signatures().size();
|
|
}
|
|
inline int SearchKernelsRequest::signatures_size() const {
|
|
return _internal_signatures_size();
|
|
}
|
|
inline ::tari::rpc::Signature* PROTOBUF_NONNULL SearchKernelsRequest::mutable_signatures(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.SearchKernelsRequest.signatures)
|
|
return _internal_mutable_signatures()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::Signature>* PROTOBUF_NONNULL SearchKernelsRequest::mutable_signatures()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.SearchKernelsRequest.signatures)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_signatures();
|
|
}
|
|
inline const ::tari::rpc::Signature& SearchKernelsRequest::signatures(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SearchKernelsRequest.signatures)
|
|
return _internal_signatures().Get(index);
|
|
}
|
|
inline ::tari::rpc::Signature* PROTOBUF_NONNULL SearchKernelsRequest::add_signatures()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::tari::rpc::Signature* _add = _internal_mutable_signatures()->Add();
|
|
// @@protoc_insertion_point(field_add:tari.rpc.SearchKernelsRequest.signatures)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::Signature>& SearchKernelsRequest::signatures() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.SearchKernelsRequest.signatures)
|
|
return _internal_signatures();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::Signature>&
|
|
SearchKernelsRequest::_internal_signatures() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.signatures_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::Signature>* PROTOBUF_NONNULL
|
|
SearchKernelsRequest::_internal_mutable_signatures() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.signatures_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SearchUtxosRequest
|
|
|
|
// repeated bytes commitments = 1;
|
|
inline int SearchUtxosRequest::_internal_commitments_size() const {
|
|
return _internal_commitments().size();
|
|
}
|
|
inline int SearchUtxosRequest::commitments_size() const {
|
|
return _internal_commitments_size();
|
|
}
|
|
inline void SearchUtxosRequest::clear_commitments() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.commitments_.Clear();
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SearchUtxosRequest::add_commitments()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::std::string* _s = _internal_mutable_commitments()->Add();
|
|
// @@protoc_insertion_point(field_add_mutable:tari.rpc.SearchUtxosRequest.commitments)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& SearchUtxosRequest::commitments(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SearchUtxosRequest.commitments)
|
|
return _internal_commitments().Get(index);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SearchUtxosRequest::mutable_commitments(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.SearchUtxosRequest.commitments)
|
|
return _internal_mutable_commitments()->Mutable(index);
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void SearchUtxosRequest::set_commitments(int index, Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::AssignToString(*_internal_mutable_commitments()->Mutable(index), ::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SearchUtxosRequest.commitments)
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void SearchUtxosRequest::add_commitments(Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_commitments(),
|
|
::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_add:tari.rpc.SearchUtxosRequest.commitments)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>& SearchUtxosRequest::commitments()
|
|
const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.SearchUtxosRequest.commitments)
|
|
return _internal_commitments();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
SearchUtxosRequest::mutable_commitments() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.SearchUtxosRequest.commitments)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_commitments();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
|
|
SearchUtxosRequest::_internal_commitments() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.commitments_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
SearchUtxosRequest::_internal_mutable_commitments() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.commitments_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// FetchMatchingUtxosRequest
|
|
|
|
// repeated bytes hashes = 1;
|
|
inline int FetchMatchingUtxosRequest::_internal_hashes_size() const {
|
|
return _internal_hashes().size();
|
|
}
|
|
inline int FetchMatchingUtxosRequest::hashes_size() const {
|
|
return _internal_hashes_size();
|
|
}
|
|
inline void FetchMatchingUtxosRequest::clear_hashes() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.hashes_.Clear();
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL FetchMatchingUtxosRequest::add_hashes()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::std::string* _s = _internal_mutable_hashes()->Add();
|
|
// @@protoc_insertion_point(field_add_mutable:tari.rpc.FetchMatchingUtxosRequest.hashes)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& FetchMatchingUtxosRequest::hashes(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.FetchMatchingUtxosRequest.hashes)
|
|
return _internal_hashes().Get(index);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL FetchMatchingUtxosRequest::mutable_hashes(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.FetchMatchingUtxosRequest.hashes)
|
|
return _internal_mutable_hashes()->Mutable(index);
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void FetchMatchingUtxosRequest::set_hashes(int index, Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::AssignToString(*_internal_mutable_hashes()->Mutable(index), ::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_set:tari.rpc.FetchMatchingUtxosRequest.hashes)
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void FetchMatchingUtxosRequest::add_hashes(Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_hashes(),
|
|
::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_add:tari.rpc.FetchMatchingUtxosRequest.hashes)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>& FetchMatchingUtxosRequest::hashes()
|
|
const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.FetchMatchingUtxosRequest.hashes)
|
|
return _internal_hashes();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
FetchMatchingUtxosRequest::mutable_hashes() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.FetchMatchingUtxosRequest.hashes)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_hashes();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
|
|
FetchMatchingUtxosRequest::_internal_hashes() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.hashes_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
FetchMatchingUtxosRequest::_internal_mutable_hashes() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.hashes_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// FetchMatchingUtxosResponse
|
|
|
|
// .tari.rpc.TransactionOutput output = 1;
|
|
inline bool FetchMatchingUtxosResponse::has_output() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.output_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::TransactionOutput& FetchMatchingUtxosResponse::_internal_output() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::TransactionOutput* p = _impl_.output_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::TransactionOutput&>(::tari::rpc::_TransactionOutput_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::TransactionOutput& FetchMatchingUtxosResponse::output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.FetchMatchingUtxosResponse.output)
|
|
return _internal_output();
|
|
}
|
|
inline void FetchMatchingUtxosResponse::unsafe_arena_set_allocated_output(
|
|
::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_);
|
|
}
|
|
_impl_.output_ = reinterpret_cast<::tari::rpc::TransactionOutput*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.FetchMatchingUtxosResponse.output)
|
|
}
|
|
inline ::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE FetchMatchingUtxosResponse::release_output() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::TransactionOutput* released = _impl_.output_;
|
|
_impl_.output_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE FetchMatchingUtxosResponse::unsafe_arena_release_output() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.FetchMatchingUtxosResponse.output)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::TransactionOutput* temp = _impl_.output_;
|
|
_impl_.output_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::TransactionOutput* PROTOBUF_NONNULL FetchMatchingUtxosResponse::_internal_mutable_output() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.output_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::TransactionOutput>(GetArena());
|
|
_impl_.output_ = reinterpret_cast<::tari::rpc::TransactionOutput*>(p);
|
|
}
|
|
return _impl_.output_;
|
|
}
|
|
inline ::tari::rpc::TransactionOutput* PROTOBUF_NONNULL FetchMatchingUtxosResponse::mutable_output()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::TransactionOutput* _msg = _internal_mutable_output();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.FetchMatchingUtxosResponse.output)
|
|
return _msg;
|
|
}
|
|
inline void FetchMatchingUtxosResponse::set_allocated_output(::tari::rpc::TransactionOutput* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.output_ = reinterpret_cast<::tari::rpc::TransactionOutput*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.FetchMatchingUtxosResponse.output)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetPeersResponse
|
|
|
|
// .tari.rpc.Peer peer = 1;
|
|
inline bool GetPeersResponse::has_peer() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.peer_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::Peer& GetPeersResponse::_internal_peer() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::Peer* p = _impl_.peer_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::Peer&>(::tari::rpc::_Peer_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::Peer& GetPeersResponse::peer() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetPeersResponse.peer)
|
|
return _internal_peer();
|
|
}
|
|
inline void GetPeersResponse::unsafe_arena_set_allocated_peer(
|
|
::tari::rpc::Peer* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.peer_);
|
|
}
|
|
_impl_.peer_ = reinterpret_cast<::tari::rpc::Peer*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetPeersResponse.peer)
|
|
}
|
|
inline ::tari::rpc::Peer* PROTOBUF_NULLABLE GetPeersResponse::release_peer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::Peer* released = _impl_.peer_;
|
|
_impl_.peer_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::Peer* PROTOBUF_NULLABLE GetPeersResponse::unsafe_arena_release_peer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetPeersResponse.peer)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::Peer* temp = _impl_.peer_;
|
|
_impl_.peer_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::Peer* PROTOBUF_NONNULL GetPeersResponse::_internal_mutable_peer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.peer_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::Peer>(GetArena());
|
|
_impl_.peer_ = reinterpret_cast<::tari::rpc::Peer*>(p);
|
|
}
|
|
return _impl_.peer_;
|
|
}
|
|
inline ::tari::rpc::Peer* PROTOBUF_NONNULL GetPeersResponse::mutable_peer()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::Peer* _msg = _internal_mutable_peer();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetPeersResponse.peer)
|
|
return _msg;
|
|
}
|
|
inline void GetPeersResponse::set_allocated_peer(::tari::rpc::Peer* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.peer_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.peer_ = reinterpret_cast<::tari::rpc::Peer*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetPeersResponse.peer)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetPeersRequest
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SubmitTransactionRequest
|
|
|
|
// .tari.rpc.Transaction transaction = 1;
|
|
inline bool SubmitTransactionRequest::has_transaction() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.transaction_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::Transaction& SubmitTransactionRequest::_internal_transaction() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::Transaction* p = _impl_.transaction_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::Transaction&>(::tari::rpc::_Transaction_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::Transaction& SubmitTransactionRequest::transaction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SubmitTransactionRequest.transaction)
|
|
return _internal_transaction();
|
|
}
|
|
inline void SubmitTransactionRequest::unsafe_arena_set_allocated_transaction(
|
|
::tari::rpc::Transaction* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.transaction_);
|
|
}
|
|
_impl_.transaction_ = reinterpret_cast<::tari::rpc::Transaction*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.SubmitTransactionRequest.transaction)
|
|
}
|
|
inline ::tari::rpc::Transaction* PROTOBUF_NULLABLE SubmitTransactionRequest::release_transaction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::Transaction* released = _impl_.transaction_;
|
|
_impl_.transaction_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::Transaction* PROTOBUF_NULLABLE SubmitTransactionRequest::unsafe_arena_release_transaction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.SubmitTransactionRequest.transaction)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::Transaction* temp = _impl_.transaction_;
|
|
_impl_.transaction_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::Transaction* PROTOBUF_NONNULL SubmitTransactionRequest::_internal_mutable_transaction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.transaction_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::Transaction>(GetArena());
|
|
_impl_.transaction_ = reinterpret_cast<::tari::rpc::Transaction*>(p);
|
|
}
|
|
return _impl_.transaction_;
|
|
}
|
|
inline ::tari::rpc::Transaction* PROTOBUF_NONNULL SubmitTransactionRequest::mutable_transaction()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::Transaction* _msg = _internal_mutable_transaction();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.SubmitTransactionRequest.transaction)
|
|
return _msg;
|
|
}
|
|
inline void SubmitTransactionRequest::set_allocated_transaction(::tari::rpc::Transaction* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.transaction_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.transaction_ = reinterpret_cast<::tari::rpc::Transaction*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.SubmitTransactionRequest.transaction)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SubmitTransactionResponse
|
|
|
|
// .tari.rpc.SubmitTransactionResult result = 1;
|
|
inline void SubmitTransactionResponse::clear_result() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.result_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::tari::rpc::SubmitTransactionResult SubmitTransactionResponse::result() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SubmitTransactionResponse.result)
|
|
return _internal_result();
|
|
}
|
|
inline void SubmitTransactionResponse::set_result(::tari::rpc::SubmitTransactionResult value) {
|
|
_internal_set_result(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SubmitTransactionResponse.result)
|
|
}
|
|
inline ::tari::rpc::SubmitTransactionResult SubmitTransactionResponse::_internal_result() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::tari::rpc::SubmitTransactionResult>(_impl_.result_);
|
|
}
|
|
inline void SubmitTransactionResponse::_internal_set_result(::tari::rpc::SubmitTransactionResult value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.result_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetMempoolTransactionsRequest
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetMempoolTransactionsResponse
|
|
|
|
// .tari.rpc.Transaction transaction = 1;
|
|
inline bool GetMempoolTransactionsResponse::has_transaction() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.transaction_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::Transaction& GetMempoolTransactionsResponse::_internal_transaction() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::Transaction* p = _impl_.transaction_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::Transaction&>(::tari::rpc::_Transaction_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::Transaction& GetMempoolTransactionsResponse::transaction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetMempoolTransactionsResponse.transaction)
|
|
return _internal_transaction();
|
|
}
|
|
inline void GetMempoolTransactionsResponse::unsafe_arena_set_allocated_transaction(
|
|
::tari::rpc::Transaction* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.transaction_);
|
|
}
|
|
_impl_.transaction_ = reinterpret_cast<::tari::rpc::Transaction*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetMempoolTransactionsResponse.transaction)
|
|
}
|
|
inline ::tari::rpc::Transaction* PROTOBUF_NULLABLE GetMempoolTransactionsResponse::release_transaction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::Transaction* released = _impl_.transaction_;
|
|
_impl_.transaction_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::Transaction* PROTOBUF_NULLABLE GetMempoolTransactionsResponse::unsafe_arena_release_transaction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetMempoolTransactionsResponse.transaction)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::Transaction* temp = _impl_.transaction_;
|
|
_impl_.transaction_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::Transaction* PROTOBUF_NONNULL GetMempoolTransactionsResponse::_internal_mutable_transaction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.transaction_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::Transaction>(GetArena());
|
|
_impl_.transaction_ = reinterpret_cast<::tari::rpc::Transaction*>(p);
|
|
}
|
|
return _impl_.transaction_;
|
|
}
|
|
inline ::tari::rpc::Transaction* PROTOBUF_NONNULL GetMempoolTransactionsResponse::mutable_transaction()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::Transaction* _msg = _internal_mutable_transaction();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetMempoolTransactionsResponse.transaction)
|
|
return _msg;
|
|
}
|
|
inline void GetMempoolTransactionsResponse::set_allocated_transaction(::tari::rpc::Transaction* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.transaction_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.transaction_ = reinterpret_cast<::tari::rpc::Transaction*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetMempoolTransactionsResponse.transaction)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransactionStateRequest
|
|
|
|
// .tari.rpc.Signature excess_sig = 1;
|
|
inline bool TransactionStateRequest::has_excess_sig() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.excess_sig_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::Signature& TransactionStateRequest::_internal_excess_sig() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::Signature* p = _impl_.excess_sig_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::Signature&>(::tari::rpc::_Signature_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::Signature& TransactionStateRequest::excess_sig() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.TransactionStateRequest.excess_sig)
|
|
return _internal_excess_sig();
|
|
}
|
|
inline void TransactionStateRequest::unsafe_arena_set_allocated_excess_sig(
|
|
::tari::rpc::Signature* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.excess_sig_);
|
|
}
|
|
_impl_.excess_sig_ = reinterpret_cast<::tari::rpc::Signature*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.TransactionStateRequest.excess_sig)
|
|
}
|
|
inline ::tari::rpc::Signature* PROTOBUF_NULLABLE TransactionStateRequest::release_excess_sig() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::Signature* released = _impl_.excess_sig_;
|
|
_impl_.excess_sig_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::Signature* PROTOBUF_NULLABLE TransactionStateRequest::unsafe_arena_release_excess_sig() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.TransactionStateRequest.excess_sig)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::Signature* temp = _impl_.excess_sig_;
|
|
_impl_.excess_sig_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::Signature* PROTOBUF_NONNULL TransactionStateRequest::_internal_mutable_excess_sig() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.excess_sig_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::Signature>(GetArena());
|
|
_impl_.excess_sig_ = reinterpret_cast<::tari::rpc::Signature*>(p);
|
|
}
|
|
return _impl_.excess_sig_;
|
|
}
|
|
inline ::tari::rpc::Signature* PROTOBUF_NONNULL TransactionStateRequest::mutable_excess_sig()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::Signature* _msg = _internal_mutable_excess_sig();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.TransactionStateRequest.excess_sig)
|
|
return _msg;
|
|
}
|
|
inline void TransactionStateRequest::set_allocated_excess_sig(::tari::rpc::Signature* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.excess_sig_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.excess_sig_ = reinterpret_cast<::tari::rpc::Signature*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.TransactionStateRequest.excess_sig)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransactionStateResponse
|
|
|
|
// .tari.rpc.TransactionLocation result = 1;
|
|
inline void TransactionStateResponse::clear_result() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.result_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::tari::rpc::TransactionLocation TransactionStateResponse::result() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.TransactionStateResponse.result)
|
|
return _internal_result();
|
|
}
|
|
inline void TransactionStateResponse::set_result(::tari::rpc::TransactionLocation value) {
|
|
_internal_set_result(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.TransactionStateResponse.result)
|
|
}
|
|
inline ::tari::rpc::TransactionLocation TransactionStateResponse::_internal_result() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::tari::rpc::TransactionLocation>(_impl_.result_);
|
|
}
|
|
inline void TransactionStateResponse::_internal_set_result(::tari::rpc::TransactionLocation value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.result_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// MempoolStatsResponse
|
|
|
|
// uint64 unconfirmed_txs = 2;
|
|
inline void MempoolStatsResponse::clear_unconfirmed_txs() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.unconfirmed_txs_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline ::uint64_t MempoolStatsResponse::unconfirmed_txs() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MempoolStatsResponse.unconfirmed_txs)
|
|
return _internal_unconfirmed_txs();
|
|
}
|
|
inline void MempoolStatsResponse::set_unconfirmed_txs(::uint64_t value) {
|
|
_internal_set_unconfirmed_txs(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MempoolStatsResponse.unconfirmed_txs)
|
|
}
|
|
inline ::uint64_t MempoolStatsResponse::_internal_unconfirmed_txs() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.unconfirmed_txs_;
|
|
}
|
|
inline void MempoolStatsResponse::_internal_set_unconfirmed_txs(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.unconfirmed_txs_ = value;
|
|
}
|
|
|
|
// uint64 reorg_txs = 3;
|
|
inline void MempoolStatsResponse::clear_reorg_txs() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.reorg_txs_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t MempoolStatsResponse::reorg_txs() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MempoolStatsResponse.reorg_txs)
|
|
return _internal_reorg_txs();
|
|
}
|
|
inline void MempoolStatsResponse::set_reorg_txs(::uint64_t value) {
|
|
_internal_set_reorg_txs(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MempoolStatsResponse.reorg_txs)
|
|
}
|
|
inline ::uint64_t MempoolStatsResponse::_internal_reorg_txs() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.reorg_txs_;
|
|
}
|
|
inline void MempoolStatsResponse::_internal_set_reorg_txs(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.reorg_txs_ = value;
|
|
}
|
|
|
|
// uint64 unconfirmed_weight = 4;
|
|
inline void MempoolStatsResponse::clear_unconfirmed_weight() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.unconfirmed_weight_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t MempoolStatsResponse::unconfirmed_weight() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.MempoolStatsResponse.unconfirmed_weight)
|
|
return _internal_unconfirmed_weight();
|
|
}
|
|
inline void MempoolStatsResponse::set_unconfirmed_weight(::uint64_t value) {
|
|
_internal_set_unconfirmed_weight(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.MempoolStatsResponse.unconfirmed_weight)
|
|
}
|
|
inline ::uint64_t MempoolStatsResponse::_internal_unconfirmed_weight() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.unconfirmed_weight_;
|
|
}
|
|
inline void MempoolStatsResponse::_internal_set_unconfirmed_weight(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.unconfirmed_weight_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetActiveValidatorNodesRequest
|
|
|
|
// uint64 height = 1;
|
|
inline void GetActiveValidatorNodesRequest::clear_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t GetActiveValidatorNodesRequest::height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetActiveValidatorNodesRequest.height)
|
|
return _internal_height();
|
|
}
|
|
inline void GetActiveValidatorNodesRequest::set_height(::uint64_t value) {
|
|
_internal_set_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetActiveValidatorNodesRequest.height)
|
|
}
|
|
inline ::uint64_t GetActiveValidatorNodesRequest::_internal_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.height_;
|
|
}
|
|
inline void GetActiveValidatorNodesRequest::_internal_set_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.height_ = value;
|
|
}
|
|
|
|
// bytes sidechain_id = 2;
|
|
inline void GetActiveValidatorNodesRequest::clear_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sidechain_id_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetActiveValidatorNodesRequest::sidechain_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetActiveValidatorNodesRequest.sidechain_id)
|
|
return _internal_sidechain_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetActiveValidatorNodesRequest::set_sidechain_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.sidechain_id_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetActiveValidatorNodesRequest.sidechain_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetActiveValidatorNodesRequest::mutable_sidechain_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_sidechain_id();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetActiveValidatorNodesRequest.sidechain_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetActiveValidatorNodesRequest::_internal_sidechain_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sidechain_id_.Get();
|
|
}
|
|
inline void GetActiveValidatorNodesRequest::_internal_set_sidechain_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.sidechain_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetActiveValidatorNodesRequest::_internal_mutable_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.sidechain_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetActiveValidatorNodesRequest::release_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetActiveValidatorNodesRequest.sidechain_id)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.sidechain_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.sidechain_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetActiveValidatorNodesRequest::set_allocated_sidechain_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.sidechain_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.sidechain_id_.IsDefault()) {
|
|
_impl_.sidechain_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetActiveValidatorNodesRequest.sidechain_id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetActiveValidatorNodesResponse
|
|
|
|
// bytes shard_key = 1;
|
|
inline void GetActiveValidatorNodesResponse::clear_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.shard_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetActiveValidatorNodesResponse::shard_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetActiveValidatorNodesResponse.shard_key)
|
|
return _internal_shard_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetActiveValidatorNodesResponse::set_shard_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.shard_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetActiveValidatorNodesResponse.shard_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetActiveValidatorNodesResponse::mutable_shard_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_shard_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetActiveValidatorNodesResponse.shard_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetActiveValidatorNodesResponse::_internal_shard_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.shard_key_.Get();
|
|
}
|
|
inline void GetActiveValidatorNodesResponse::_internal_set_shard_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.shard_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetActiveValidatorNodesResponse::_internal_mutable_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.shard_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetActiveValidatorNodesResponse::release_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetActiveValidatorNodesResponse.shard_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.shard_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.shard_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetActiveValidatorNodesResponse::set_allocated_shard_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.shard_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.shard_key_.IsDefault()) {
|
|
_impl_.shard_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetActiveValidatorNodesResponse.shard_key)
|
|
}
|
|
|
|
// bytes public_key = 2;
|
|
inline void GetActiveValidatorNodesResponse::clear_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.public_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& GetActiveValidatorNodesResponse::public_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetActiveValidatorNodesResponse.public_key)
|
|
return _internal_public_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetActiveValidatorNodesResponse::set_public_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.public_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetActiveValidatorNodesResponse.public_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetActiveValidatorNodesResponse::mutable_public_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_public_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetActiveValidatorNodesResponse.public_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetActiveValidatorNodesResponse::_internal_public_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.public_key_.Get();
|
|
}
|
|
inline void GetActiveValidatorNodesResponse::_internal_set_public_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.public_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetActiveValidatorNodesResponse::_internal_mutable_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.public_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetActiveValidatorNodesResponse::release_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetActiveValidatorNodesResponse.public_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.public_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.public_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetActiveValidatorNodesResponse::set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.public_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.public_key_.IsDefault()) {
|
|
_impl_.public_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetActiveValidatorNodesResponse.public_key)
|
|
}
|
|
|
|
// bytes sidechain_id = 3;
|
|
inline void GetActiveValidatorNodesResponse::clear_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sidechain_id_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const ::std::string& GetActiveValidatorNodesResponse::sidechain_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetActiveValidatorNodesResponse.sidechain_id)
|
|
return _internal_sidechain_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetActiveValidatorNodesResponse::set_sidechain_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.sidechain_id_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetActiveValidatorNodesResponse.sidechain_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetActiveValidatorNodesResponse::mutable_sidechain_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_sidechain_id();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetActiveValidatorNodesResponse.sidechain_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetActiveValidatorNodesResponse::_internal_sidechain_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sidechain_id_.Get();
|
|
}
|
|
inline void GetActiveValidatorNodesResponse::_internal_set_sidechain_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.sidechain_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetActiveValidatorNodesResponse::_internal_mutable_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
return _impl_.sidechain_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetActiveValidatorNodesResponse::release_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetActiveValidatorNodesResponse.sidechain_id)
|
|
if ((_impl_._has_bits_[0] & 0x00000004u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
auto* released = _impl_.sidechain_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.sidechain_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetActiveValidatorNodesResponse::set_allocated_sidechain_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
_impl_.sidechain_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.sidechain_id_.IsDefault()) {
|
|
_impl_.sidechain_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetActiveValidatorNodesResponse.sidechain_id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetValidatorNodeChangesRequest
|
|
|
|
// uint64 epoch = 1;
|
|
inline void GetValidatorNodeChangesRequest::clear_epoch() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.epoch_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t GetValidatorNodeChangesRequest::epoch() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetValidatorNodeChangesRequest.epoch)
|
|
return _internal_epoch();
|
|
}
|
|
inline void GetValidatorNodeChangesRequest::set_epoch(::uint64_t value) {
|
|
_internal_set_epoch(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetValidatorNodeChangesRequest.epoch)
|
|
}
|
|
inline ::uint64_t GetValidatorNodeChangesRequest::_internal_epoch() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.epoch_;
|
|
}
|
|
inline void GetValidatorNodeChangesRequest::_internal_set_epoch(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.epoch_ = value;
|
|
}
|
|
|
|
// bytes sidechain_id = 2;
|
|
inline void GetValidatorNodeChangesRequest::clear_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sidechain_id_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetValidatorNodeChangesRequest::sidechain_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetValidatorNodeChangesRequest.sidechain_id)
|
|
return _internal_sidechain_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetValidatorNodeChangesRequest::set_sidechain_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.sidechain_id_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetValidatorNodeChangesRequest.sidechain_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetValidatorNodeChangesRequest::mutable_sidechain_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_sidechain_id();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetValidatorNodeChangesRequest.sidechain_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetValidatorNodeChangesRequest::_internal_sidechain_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sidechain_id_.Get();
|
|
}
|
|
inline void GetValidatorNodeChangesRequest::_internal_set_sidechain_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.sidechain_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetValidatorNodeChangesRequest::_internal_mutable_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.sidechain_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetValidatorNodeChangesRequest::release_sidechain_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetValidatorNodeChangesRequest.sidechain_id)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.sidechain_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.sidechain_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetValidatorNodeChangesRequest::set_allocated_sidechain_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.sidechain_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.sidechain_id_.IsDefault()) {
|
|
_impl_.sidechain_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetValidatorNodeChangesRequest.sidechain_id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ValidatorNodeChange
|
|
|
|
// .tari.rpc.ValidatorNodeChangeAdd add = 1;
|
|
inline bool ValidatorNodeChange::has_add() const {
|
|
return change_case() == kAdd;
|
|
}
|
|
inline bool ValidatorNodeChange::_internal_has_add() const {
|
|
return change_case() == kAdd;
|
|
}
|
|
inline void ValidatorNodeChange::set_has_add() {
|
|
_impl_._oneof_case_[0] = kAdd;
|
|
}
|
|
inline void ValidatorNodeChange::clear_add() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (change_case() == kAdd) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.change_.add_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
::google::protobuf::internal::MaybePoisonAfterClear(_impl_.change_.add_);
|
|
}
|
|
clear_has_change();
|
|
}
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NULLABLE ValidatorNodeChange::release_add() {
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ValidatorNodeChange.add)
|
|
if (change_case() == kAdd) {
|
|
clear_has_change();
|
|
auto* temp = _impl_.change_.add_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.change_.add_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::tari::rpc::ValidatorNodeChangeAdd& ValidatorNodeChange::_internal_add() const {
|
|
return change_case() == kAdd ? *_impl_.change_.add_ : reinterpret_cast<::tari::rpc::ValidatorNodeChangeAdd&>(::tari::rpc::_ValidatorNodeChangeAdd_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::ValidatorNodeChangeAdd& ValidatorNodeChange::add() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValidatorNodeChange.add)
|
|
return _internal_add();
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NULLABLE ValidatorNodeChange::unsafe_arena_release_add() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:tari.rpc.ValidatorNodeChange.add)
|
|
if (change_case() == kAdd) {
|
|
clear_has_change();
|
|
auto* temp = _impl_.change_.add_;
|
|
_impl_.change_.add_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ValidatorNodeChange::unsafe_arena_set_allocated_add(
|
|
::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_change();
|
|
if (value) {
|
|
set_has_add();
|
|
_impl_.change_.add_ = value;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.ValidatorNodeChange.add)
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NONNULL ValidatorNodeChange::_internal_mutable_add() {
|
|
if (change_case() != kAdd) {
|
|
clear_change();
|
|
set_has_add();
|
|
_impl_.change_.add_ =
|
|
::google::protobuf::Message::DefaultConstruct<::tari::rpc::ValidatorNodeChangeAdd>(GetArena());
|
|
}
|
|
return _impl_.change_.add_;
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChangeAdd* PROTOBUF_NONNULL ValidatorNodeChange::mutable_add()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::tari::rpc::ValidatorNodeChangeAdd* _msg = _internal_mutable_add();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ValidatorNodeChange.add)
|
|
return _msg;
|
|
}
|
|
|
|
// .tari.rpc.ValidatorNodeChangeRemove remove = 2;
|
|
inline bool ValidatorNodeChange::has_remove() const {
|
|
return change_case() == kRemove;
|
|
}
|
|
inline bool ValidatorNodeChange::_internal_has_remove() const {
|
|
return change_case() == kRemove;
|
|
}
|
|
inline void ValidatorNodeChange::set_has_remove() {
|
|
_impl_._oneof_case_[0] = kRemove;
|
|
}
|
|
inline void ValidatorNodeChange::clear_remove() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (change_case() == kRemove) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.change_.remove_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
::google::protobuf::internal::MaybePoisonAfterClear(_impl_.change_.remove_);
|
|
}
|
|
clear_has_change();
|
|
}
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NULLABLE ValidatorNodeChange::release_remove() {
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ValidatorNodeChange.remove)
|
|
if (change_case() == kRemove) {
|
|
clear_has_change();
|
|
auto* temp = _impl_.change_.remove_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.change_.remove_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::tari::rpc::ValidatorNodeChangeRemove& ValidatorNodeChange::_internal_remove() const {
|
|
return change_case() == kRemove ? *_impl_.change_.remove_ : reinterpret_cast<::tari::rpc::ValidatorNodeChangeRemove&>(::tari::rpc::_ValidatorNodeChangeRemove_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::ValidatorNodeChangeRemove& ValidatorNodeChange::remove() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValidatorNodeChange.remove)
|
|
return _internal_remove();
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NULLABLE ValidatorNodeChange::unsafe_arena_release_remove() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:tari.rpc.ValidatorNodeChange.remove)
|
|
if (change_case() == kRemove) {
|
|
clear_has_change();
|
|
auto* temp = _impl_.change_.remove_;
|
|
_impl_.change_.remove_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ValidatorNodeChange::unsafe_arena_set_allocated_remove(
|
|
::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_change();
|
|
if (value) {
|
|
set_has_remove();
|
|
_impl_.change_.remove_ = value;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.ValidatorNodeChange.remove)
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NONNULL ValidatorNodeChange::_internal_mutable_remove() {
|
|
if (change_case() != kRemove) {
|
|
clear_change();
|
|
set_has_remove();
|
|
_impl_.change_.remove_ =
|
|
::google::protobuf::Message::DefaultConstruct<::tari::rpc::ValidatorNodeChangeRemove>(GetArena());
|
|
}
|
|
return _impl_.change_.remove_;
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChangeRemove* PROTOBUF_NONNULL ValidatorNodeChange::mutable_remove()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::tari::rpc::ValidatorNodeChangeRemove* _msg = _internal_mutable_remove();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ValidatorNodeChange.remove)
|
|
return _msg;
|
|
}
|
|
|
|
inline bool ValidatorNodeChange::has_change() const {
|
|
return change_case() != CHANGE_NOT_SET;
|
|
}
|
|
inline void ValidatorNodeChange::clear_has_change() {
|
|
_impl_._oneof_case_[0] = CHANGE_NOT_SET;
|
|
}
|
|
inline ValidatorNodeChange::ChangeCase ValidatorNodeChange::change_case() const {
|
|
return ValidatorNodeChange::ChangeCase(_impl_._oneof_case_[0]);
|
|
}
|
|
// -------------------------------------------------------------------
|
|
|
|
// ValidatorNodeChangeAdd
|
|
|
|
// uint64 activation_epoch = 1;
|
|
inline void ValidatorNodeChangeAdd::clear_activation_epoch() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.activation_epoch_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t ValidatorNodeChangeAdd::activation_epoch() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValidatorNodeChangeAdd.activation_epoch)
|
|
return _internal_activation_epoch();
|
|
}
|
|
inline void ValidatorNodeChangeAdd::set_activation_epoch(::uint64_t value) {
|
|
_internal_set_activation_epoch(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValidatorNodeChangeAdd.activation_epoch)
|
|
}
|
|
inline ::uint64_t ValidatorNodeChangeAdd::_internal_activation_epoch() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.activation_epoch_;
|
|
}
|
|
inline void ValidatorNodeChangeAdd::_internal_set_activation_epoch(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.activation_epoch_ = value;
|
|
}
|
|
|
|
// .tari.rpc.ValidatorNodeRegistration registration = 2;
|
|
inline bool ValidatorNodeChangeAdd::has_registration() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.registration_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::ValidatorNodeRegistration& ValidatorNodeChangeAdd::_internal_registration() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::ValidatorNodeRegistration* p = _impl_.registration_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::ValidatorNodeRegistration&>(::tari::rpc::_ValidatorNodeRegistration_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::ValidatorNodeRegistration& ValidatorNodeChangeAdd::registration() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValidatorNodeChangeAdd.registration)
|
|
return _internal_registration();
|
|
}
|
|
inline void ValidatorNodeChangeAdd::unsafe_arena_set_allocated_registration(
|
|
::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.registration_);
|
|
}
|
|
_impl_.registration_ = reinterpret_cast<::tari::rpc::ValidatorNodeRegistration*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.ValidatorNodeChangeAdd.registration)
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE ValidatorNodeChangeAdd::release_registration() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
::tari::rpc::ValidatorNodeRegistration* released = _impl_.registration_;
|
|
_impl_.registration_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE ValidatorNodeChangeAdd::unsafe_arena_release_registration() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ValidatorNodeChangeAdd.registration)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
::tari::rpc::ValidatorNodeRegistration* temp = _impl_.registration_;
|
|
_impl_.registration_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NONNULL ValidatorNodeChangeAdd::_internal_mutable_registration() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.registration_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::ValidatorNodeRegistration>(GetArena());
|
|
_impl_.registration_ = reinterpret_cast<::tari::rpc::ValidatorNodeRegistration*>(p);
|
|
}
|
|
return _impl_.registration_;
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NONNULL ValidatorNodeChangeAdd::mutable_registration()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
::tari::rpc::ValidatorNodeRegistration* _msg = _internal_mutable_registration();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ValidatorNodeChangeAdd.registration)
|
|
return _msg;
|
|
}
|
|
inline void ValidatorNodeChangeAdd::set_allocated_registration(::tari::rpc::ValidatorNodeRegistration* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.registration_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
|
|
_impl_.registration_ = reinterpret_cast<::tari::rpc::ValidatorNodeRegistration*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ValidatorNodeChangeAdd.registration)
|
|
}
|
|
|
|
// uint64 minimum_value_promise = 3;
|
|
inline void ValidatorNodeChangeAdd::clear_minimum_value_promise() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.minimum_value_promise_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::uint64_t ValidatorNodeChangeAdd::minimum_value_promise() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValidatorNodeChangeAdd.minimum_value_promise)
|
|
return _internal_minimum_value_promise();
|
|
}
|
|
inline void ValidatorNodeChangeAdd::set_minimum_value_promise(::uint64_t value) {
|
|
_internal_set_minimum_value_promise(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValidatorNodeChangeAdd.minimum_value_promise)
|
|
}
|
|
inline ::uint64_t ValidatorNodeChangeAdd::_internal_minimum_value_promise() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.minimum_value_promise_;
|
|
}
|
|
inline void ValidatorNodeChangeAdd::_internal_set_minimum_value_promise(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.minimum_value_promise_ = value;
|
|
}
|
|
|
|
// bytes shard_key = 4;
|
|
inline void ValidatorNodeChangeAdd::clear_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.shard_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& ValidatorNodeChangeAdd::shard_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValidatorNodeChangeAdd.shard_key)
|
|
return _internal_shard_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ValidatorNodeChangeAdd::set_shard_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.shard_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValidatorNodeChangeAdd.shard_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ValidatorNodeChangeAdd::mutable_shard_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_shard_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ValidatorNodeChangeAdd.shard_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ValidatorNodeChangeAdd::_internal_shard_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.shard_key_.Get();
|
|
}
|
|
inline void ValidatorNodeChangeAdd::_internal_set_shard_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.shard_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ValidatorNodeChangeAdd::_internal_mutable_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.shard_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ValidatorNodeChangeAdd::release_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ValidatorNodeChangeAdd.shard_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.shard_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.shard_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ValidatorNodeChangeAdd::set_allocated_shard_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.shard_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.shard_key_.IsDefault()) {
|
|
_impl_.shard_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ValidatorNodeChangeAdd.shard_key)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ValidatorNodeChangeRemove
|
|
|
|
// bytes public_key = 1;
|
|
inline void ValidatorNodeChangeRemove::clear_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.public_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& ValidatorNodeChangeRemove::public_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.ValidatorNodeChangeRemove.public_key)
|
|
return _internal_public_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ValidatorNodeChangeRemove::set_public_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.public_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.ValidatorNodeChangeRemove.public_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ValidatorNodeChangeRemove::mutable_public_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_public_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.ValidatorNodeChangeRemove.public_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ValidatorNodeChangeRemove::_internal_public_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.public_key_.Get();
|
|
}
|
|
inline void ValidatorNodeChangeRemove::_internal_set_public_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.public_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ValidatorNodeChangeRemove::_internal_mutable_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.public_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ValidatorNodeChangeRemove::release_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.ValidatorNodeChangeRemove.public_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.public_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.public_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ValidatorNodeChangeRemove::set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.public_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.public_key_.IsDefault()) {
|
|
_impl_.public_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.ValidatorNodeChangeRemove.public_key)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetValidatorNodeChangesResponse
|
|
|
|
// repeated .tari.rpc.ValidatorNodeChange changes = 1;
|
|
inline int GetValidatorNodeChangesResponse::_internal_changes_size() const {
|
|
return _internal_changes().size();
|
|
}
|
|
inline int GetValidatorNodeChangesResponse::changes_size() const {
|
|
return _internal_changes_size();
|
|
}
|
|
inline void GetValidatorNodeChangesResponse::clear_changes() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.changes_.Clear();
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChange* PROTOBUF_NONNULL GetValidatorNodeChangesResponse::mutable_changes(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetValidatorNodeChangesResponse.changes)
|
|
return _internal_mutable_changes()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::ValidatorNodeChange>* PROTOBUF_NONNULL GetValidatorNodeChangesResponse::mutable_changes()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.GetValidatorNodeChangesResponse.changes)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_changes();
|
|
}
|
|
inline const ::tari::rpc::ValidatorNodeChange& GetValidatorNodeChangesResponse::changes(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetValidatorNodeChangesResponse.changes)
|
|
return _internal_changes().Get(index);
|
|
}
|
|
inline ::tari::rpc::ValidatorNodeChange* PROTOBUF_NONNULL GetValidatorNodeChangesResponse::add_changes()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::tari::rpc::ValidatorNodeChange* _add = _internal_mutable_changes()->Add();
|
|
// @@protoc_insertion_point(field_add:tari.rpc.GetValidatorNodeChangesResponse.changes)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::ValidatorNodeChange>& GetValidatorNodeChangesResponse::changes() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.GetValidatorNodeChangesResponse.changes)
|
|
return _internal_changes();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::ValidatorNodeChange>&
|
|
GetValidatorNodeChangesResponse::_internal_changes() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.changes_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::ValidatorNodeChange>* PROTOBUF_NONNULL
|
|
GetValidatorNodeChangesResponse::_internal_mutable_changes() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.changes_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetShardKeyRequest
|
|
|
|
// uint64 epoch = 1;
|
|
inline void GetShardKeyRequest::clear_epoch() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.epoch_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t GetShardKeyRequest::epoch() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetShardKeyRequest.epoch)
|
|
return _internal_epoch();
|
|
}
|
|
inline void GetShardKeyRequest::set_epoch(::uint64_t value) {
|
|
_internal_set_epoch(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetShardKeyRequest.epoch)
|
|
}
|
|
inline ::uint64_t GetShardKeyRequest::_internal_epoch() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.epoch_;
|
|
}
|
|
inline void GetShardKeyRequest::_internal_set_epoch(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.epoch_ = value;
|
|
}
|
|
|
|
// bytes public_key = 2;
|
|
inline void GetShardKeyRequest::clear_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.public_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetShardKeyRequest::public_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetShardKeyRequest.public_key)
|
|
return _internal_public_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetShardKeyRequest::set_public_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.public_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetShardKeyRequest.public_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetShardKeyRequest::mutable_public_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_public_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetShardKeyRequest.public_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetShardKeyRequest::_internal_public_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.public_key_.Get();
|
|
}
|
|
inline void GetShardKeyRequest::_internal_set_public_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.public_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetShardKeyRequest::_internal_mutable_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.public_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetShardKeyRequest::release_public_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetShardKeyRequest.public_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.public_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.public_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetShardKeyRequest::set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.public_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.public_key_.IsDefault()) {
|
|
_impl_.public_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetShardKeyRequest.public_key)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetShardKeyResponse
|
|
|
|
// bytes shard_key = 1;
|
|
inline void GetShardKeyResponse::clear_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.shard_key_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetShardKeyResponse::shard_key() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetShardKeyResponse.shard_key)
|
|
return _internal_shard_key();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetShardKeyResponse::set_shard_key(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.shard_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetShardKeyResponse.shard_key)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetShardKeyResponse::mutable_shard_key()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_shard_key();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetShardKeyResponse.shard_key)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetShardKeyResponse::_internal_shard_key() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.shard_key_.Get();
|
|
}
|
|
inline void GetShardKeyResponse::_internal_set_shard_key(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.shard_key_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetShardKeyResponse::_internal_mutable_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.shard_key_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetShardKeyResponse::release_shard_key() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetShardKeyResponse.shard_key)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.shard_key_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.shard_key_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetShardKeyResponse::set_allocated_shard_key(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.shard_key_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.shard_key_.IsDefault()) {
|
|
_impl_.shard_key_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetShardKeyResponse.shard_key)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetTemplateRegistrationsRequest
|
|
|
|
// bytes start_hash = 1;
|
|
inline void GetTemplateRegistrationsRequest::clear_start_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.start_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetTemplateRegistrationsRequest::start_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTemplateRegistrationsRequest.start_hash)
|
|
return _internal_start_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetTemplateRegistrationsRequest::set_start_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.start_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTemplateRegistrationsRequest.start_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTemplateRegistrationsRequest::mutable_start_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_start_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTemplateRegistrationsRequest.start_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTemplateRegistrationsRequest::_internal_start_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.start_hash_.Get();
|
|
}
|
|
inline void GetTemplateRegistrationsRequest::_internal_set_start_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.start_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTemplateRegistrationsRequest::_internal_mutable_start_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.start_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetTemplateRegistrationsRequest::release_start_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTemplateRegistrationsRequest.start_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.start_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.start_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetTemplateRegistrationsRequest::set_allocated_start_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.start_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.start_hash_.IsDefault()) {
|
|
_impl_.start_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTemplateRegistrationsRequest.start_hash)
|
|
}
|
|
|
|
// uint64 count = 2;
|
|
inline void GetTemplateRegistrationsRequest::clear_count() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.count_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t GetTemplateRegistrationsRequest::count() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTemplateRegistrationsRequest.count)
|
|
return _internal_count();
|
|
}
|
|
inline void GetTemplateRegistrationsRequest::set_count(::uint64_t value) {
|
|
_internal_set_count(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTemplateRegistrationsRequest.count)
|
|
}
|
|
inline ::uint64_t GetTemplateRegistrationsRequest::_internal_count() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.count_;
|
|
}
|
|
inline void GetTemplateRegistrationsRequest::_internal_set_count(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.count_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetTemplateRegistrationResponse
|
|
|
|
// bytes utxo_hash = 1;
|
|
inline void GetTemplateRegistrationResponse::clear_utxo_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.utxo_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetTemplateRegistrationResponse::utxo_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTemplateRegistrationResponse.utxo_hash)
|
|
return _internal_utxo_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetTemplateRegistrationResponse::set_utxo_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.utxo_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetTemplateRegistrationResponse.utxo_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTemplateRegistrationResponse::mutable_utxo_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_utxo_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTemplateRegistrationResponse.utxo_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetTemplateRegistrationResponse::_internal_utxo_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.utxo_hash_.Get();
|
|
}
|
|
inline void GetTemplateRegistrationResponse::_internal_set_utxo_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.utxo_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetTemplateRegistrationResponse::_internal_mutable_utxo_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.utxo_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetTemplateRegistrationResponse::release_utxo_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTemplateRegistrationResponse.utxo_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.utxo_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.utxo_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetTemplateRegistrationResponse::set_allocated_utxo_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.utxo_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.utxo_hash_.IsDefault()) {
|
|
_impl_.utxo_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTemplateRegistrationResponse.utxo_hash)
|
|
}
|
|
|
|
// .tari.rpc.TemplateRegistration registration = 2;
|
|
inline bool GetTemplateRegistrationResponse::has_registration() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.registration_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::TemplateRegistration& GetTemplateRegistrationResponse::_internal_registration() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::TemplateRegistration* p = _impl_.registration_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::TemplateRegistration&>(::tari::rpc::_TemplateRegistration_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::TemplateRegistration& GetTemplateRegistrationResponse::registration() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetTemplateRegistrationResponse.registration)
|
|
return _internal_registration();
|
|
}
|
|
inline void GetTemplateRegistrationResponse::unsafe_arena_set_allocated_registration(
|
|
::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.registration_);
|
|
}
|
|
_impl_.registration_ = reinterpret_cast<::tari::rpc::TemplateRegistration*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetTemplateRegistrationResponse.registration)
|
|
}
|
|
inline ::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE GetTemplateRegistrationResponse::release_registration() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
::tari::rpc::TemplateRegistration* released = _impl_.registration_;
|
|
_impl_.registration_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE GetTemplateRegistrationResponse::unsafe_arena_release_registration() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetTemplateRegistrationResponse.registration)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
::tari::rpc::TemplateRegistration* temp = _impl_.registration_;
|
|
_impl_.registration_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::TemplateRegistration* PROTOBUF_NONNULL GetTemplateRegistrationResponse::_internal_mutable_registration() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.registration_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::TemplateRegistration>(GetArena());
|
|
_impl_.registration_ = reinterpret_cast<::tari::rpc::TemplateRegistration*>(p);
|
|
}
|
|
return _impl_.registration_;
|
|
}
|
|
inline ::tari::rpc::TemplateRegistration* PROTOBUF_NONNULL GetTemplateRegistrationResponse::mutable_registration()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
::tari::rpc::TemplateRegistration* _msg = _internal_mutable_registration();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetTemplateRegistrationResponse.registration)
|
|
return _msg;
|
|
}
|
|
inline void GetTemplateRegistrationResponse::set_allocated_registration(::tari::rpc::TemplateRegistration* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.registration_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
|
|
_impl_.registration_ = reinterpret_cast<::tari::rpc::TemplateRegistration*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetTemplateRegistrationResponse.registration)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BlockInfo
|
|
|
|
// uint64 height = 1;
|
|
inline void BlockInfo::clear_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t BlockInfo::height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockInfo.height)
|
|
return _internal_height();
|
|
}
|
|
inline void BlockInfo::set_height(::uint64_t value) {
|
|
_internal_set_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockInfo.height)
|
|
}
|
|
inline ::uint64_t BlockInfo::_internal_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.height_;
|
|
}
|
|
inline void BlockInfo::_internal_set_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.height_ = value;
|
|
}
|
|
|
|
// bytes hash = 2;
|
|
inline void BlockInfo::clear_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& BlockInfo::hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockInfo.hash)
|
|
return _internal_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BlockInfo::set_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockInfo.hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BlockInfo::mutable_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.BlockInfo.hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BlockInfo::_internal_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.hash_.Get();
|
|
}
|
|
inline void BlockInfo::_internal_set_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BlockInfo::_internal_mutable_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BlockInfo::release_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.BlockInfo.hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BlockInfo::set_allocated_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.hash_.IsDefault()) {
|
|
_impl_.hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.BlockInfo.hash)
|
|
}
|
|
|
|
// bytes next_block_hash = 3;
|
|
inline void BlockInfo::clear_next_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.next_block_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& BlockInfo::next_block_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.BlockInfo.next_block_hash)
|
|
return _internal_next_block_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BlockInfo::set_next_block_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.next_block_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.BlockInfo.next_block_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BlockInfo::mutable_next_block_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_next_block_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.BlockInfo.next_block_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BlockInfo::_internal_next_block_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.next_block_hash_.Get();
|
|
}
|
|
inline void BlockInfo::_internal_set_next_block_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.next_block_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BlockInfo::_internal_mutable_next_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.next_block_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BlockInfo::release_next_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.BlockInfo.next_block_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.next_block_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.next_block_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BlockInfo::set_allocated_next_block_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.next_block_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.next_block_hash_.IsDefault()) {
|
|
_impl_.next_block_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.BlockInfo.next_block_hash)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetSideChainUtxosRequest
|
|
|
|
// bytes start_hash = 1;
|
|
inline void GetSideChainUtxosRequest::clear_start_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.start_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& GetSideChainUtxosRequest::start_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetSideChainUtxosRequest.start_hash)
|
|
return _internal_start_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void GetSideChainUtxosRequest::set_start_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.start_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetSideChainUtxosRequest.start_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetSideChainUtxosRequest::mutable_start_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_start_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetSideChainUtxosRequest.start_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& GetSideChainUtxosRequest::_internal_start_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.start_hash_.Get();
|
|
}
|
|
inline void GetSideChainUtxosRequest::_internal_set_start_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.start_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL GetSideChainUtxosRequest::_internal_mutable_start_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.start_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE GetSideChainUtxosRequest::release_start_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetSideChainUtxosRequest.start_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.start_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.start_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void GetSideChainUtxosRequest::set_allocated_start_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.start_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.start_hash_.IsDefault()) {
|
|
_impl_.start_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetSideChainUtxosRequest.start_hash)
|
|
}
|
|
|
|
// uint64 count = 2;
|
|
inline void GetSideChainUtxosRequest::clear_count() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.count_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t GetSideChainUtxosRequest::count() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetSideChainUtxosRequest.count)
|
|
return _internal_count();
|
|
}
|
|
inline void GetSideChainUtxosRequest::set_count(::uint64_t value) {
|
|
_internal_set_count(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetSideChainUtxosRequest.count)
|
|
}
|
|
inline ::uint64_t GetSideChainUtxosRequest::_internal_count() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.count_;
|
|
}
|
|
inline void GetSideChainUtxosRequest::_internal_set_count(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.count_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetSideChainUtxosResponse
|
|
|
|
// .tari.rpc.BlockInfo block_info = 1;
|
|
inline bool GetSideChainUtxosResponse::has_block_info() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.block_info_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void GetSideChainUtxosResponse::clear_block_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.block_info_ != nullptr) _impl_.block_info_->Clear();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::tari::rpc::BlockInfo& GetSideChainUtxosResponse::_internal_block_info() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::BlockInfo* p = _impl_.block_info_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::BlockInfo&>(::tari::rpc::_BlockInfo_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::BlockInfo& GetSideChainUtxosResponse::block_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetSideChainUtxosResponse.block_info)
|
|
return _internal_block_info();
|
|
}
|
|
inline void GetSideChainUtxosResponse::unsafe_arena_set_allocated_block_info(
|
|
::tari::rpc::BlockInfo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.block_info_);
|
|
}
|
|
_impl_.block_info_ = reinterpret_cast<::tari::rpc::BlockInfo*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetSideChainUtxosResponse.block_info)
|
|
}
|
|
inline ::tari::rpc::BlockInfo* PROTOBUF_NULLABLE GetSideChainUtxosResponse::release_block_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::BlockInfo* released = _impl_.block_info_;
|
|
_impl_.block_info_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::BlockInfo* PROTOBUF_NULLABLE GetSideChainUtxosResponse::unsafe_arena_release_block_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetSideChainUtxosResponse.block_info)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::BlockInfo* temp = _impl_.block_info_;
|
|
_impl_.block_info_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::BlockInfo* PROTOBUF_NONNULL GetSideChainUtxosResponse::_internal_mutable_block_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.block_info_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::BlockInfo>(GetArena());
|
|
_impl_.block_info_ = reinterpret_cast<::tari::rpc::BlockInfo*>(p);
|
|
}
|
|
return _impl_.block_info_;
|
|
}
|
|
inline ::tari::rpc::BlockInfo* PROTOBUF_NONNULL GetSideChainUtxosResponse::mutable_block_info()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::BlockInfo* _msg = _internal_mutable_block_info();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetSideChainUtxosResponse.block_info)
|
|
return _msg;
|
|
}
|
|
inline void GetSideChainUtxosResponse::set_allocated_block_info(::tari::rpc::BlockInfo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.block_info_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.block_info_ = reinterpret_cast<::tari::rpc::BlockInfo*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetSideChainUtxosResponse.block_info)
|
|
}
|
|
|
|
// repeated .tari.rpc.TransactionOutput outputs = 2;
|
|
inline int GetSideChainUtxosResponse::_internal_outputs_size() const {
|
|
return _internal_outputs().size();
|
|
}
|
|
inline int GetSideChainUtxosResponse::outputs_size() const {
|
|
return _internal_outputs_size();
|
|
}
|
|
inline ::tari::rpc::TransactionOutput* PROTOBUF_NONNULL GetSideChainUtxosResponse::mutable_outputs(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetSideChainUtxosResponse.outputs)
|
|
return _internal_mutable_outputs()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::TransactionOutput>* PROTOBUF_NONNULL GetSideChainUtxosResponse::mutable_outputs()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.GetSideChainUtxosResponse.outputs)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_outputs();
|
|
}
|
|
inline const ::tari::rpc::TransactionOutput& GetSideChainUtxosResponse::outputs(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetSideChainUtxosResponse.outputs)
|
|
return _internal_outputs().Get(index);
|
|
}
|
|
inline ::tari::rpc::TransactionOutput* PROTOBUF_NONNULL GetSideChainUtxosResponse::add_outputs()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::tari::rpc::TransactionOutput* _add = _internal_mutable_outputs()->Add();
|
|
// @@protoc_insertion_point(field_add:tari.rpc.GetSideChainUtxosResponse.outputs)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::TransactionOutput>& GetSideChainUtxosResponse::outputs() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.GetSideChainUtxosResponse.outputs)
|
|
return _internal_outputs();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::TransactionOutput>&
|
|
GetSideChainUtxosResponse::_internal_outputs() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.outputs_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::TransactionOutput>* PROTOBUF_NONNULL
|
|
GetSideChainUtxosResponse::_internal_mutable_outputs() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.outputs_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetNetworkStateRequest
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetNetworkStateResponse
|
|
|
|
// .tari.rpc.MetaData metadata = 1;
|
|
inline bool GetNetworkStateResponse::has_metadata() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.metadata_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void GetNetworkStateResponse::clear_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.metadata_ != nullptr) _impl_.metadata_->Clear();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::tari::rpc::MetaData& GetNetworkStateResponse::_internal_metadata() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::MetaData* p = _impl_.metadata_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::MetaData&>(::tari::rpc::_MetaData_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::MetaData& GetNetworkStateResponse::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.metadata)
|
|
return _internal_metadata();
|
|
}
|
|
inline void GetNetworkStateResponse::unsafe_arena_set_allocated_metadata(
|
|
::tari::rpc::MetaData* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_);
|
|
}
|
|
_impl_.metadata_ = reinterpret_cast<::tari::rpc::MetaData*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetNetworkStateResponse.metadata)
|
|
}
|
|
inline ::tari::rpc::MetaData* PROTOBUF_NULLABLE GetNetworkStateResponse::release_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::MetaData* released = _impl_.metadata_;
|
|
_impl_.metadata_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::MetaData* PROTOBUF_NULLABLE GetNetworkStateResponse::unsafe_arena_release_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNetworkStateResponse.metadata)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
::tari::rpc::MetaData* temp = _impl_.metadata_;
|
|
_impl_.metadata_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::MetaData* PROTOBUF_NONNULL GetNetworkStateResponse::_internal_mutable_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.metadata_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::MetaData>(GetArena());
|
|
_impl_.metadata_ = reinterpret_cast<::tari::rpc::MetaData*>(p);
|
|
}
|
|
return _impl_.metadata_;
|
|
}
|
|
inline ::tari::rpc::MetaData* PROTOBUF_NONNULL GetNetworkStateResponse::mutable_metadata()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
::tari::rpc::MetaData* _msg = _internal_mutable_metadata();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNetworkStateResponse.metadata)
|
|
return _msg;
|
|
}
|
|
inline void GetNetworkStateResponse::set_allocated_metadata(::tari::rpc::MetaData* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
|
|
_impl_.metadata_ = reinterpret_cast<::tari::rpc::MetaData*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNetworkStateResponse.metadata)
|
|
}
|
|
|
|
// bool initial_sync_achieved = 2;
|
|
inline void GetNetworkStateResponse::clear_initial_sync_achieved() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.initial_sync_achieved_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline bool GetNetworkStateResponse::initial_sync_achieved() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.initial_sync_achieved)
|
|
return _internal_initial_sync_achieved();
|
|
}
|
|
inline void GetNetworkStateResponse::set_initial_sync_achieved(bool value) {
|
|
_internal_set_initial_sync_achieved(value);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNetworkStateResponse.initial_sync_achieved)
|
|
}
|
|
inline bool GetNetworkStateResponse::_internal_initial_sync_achieved() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.initial_sync_achieved_;
|
|
}
|
|
inline void GetNetworkStateResponse::_internal_set_initial_sync_achieved(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.initial_sync_achieved_ = value;
|
|
}
|
|
|
|
// .tari.rpc.BaseNodeState base_node_state = 3;
|
|
inline void GetNetworkStateResponse::clear_base_node_state() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.base_node_state_ = 0;
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline ::tari::rpc::BaseNodeState GetNetworkStateResponse::base_node_state() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.base_node_state)
|
|
return _internal_base_node_state();
|
|
}
|
|
inline void GetNetworkStateResponse::set_base_node_state(::tari::rpc::BaseNodeState value) {
|
|
_internal_set_base_node_state(value);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNetworkStateResponse.base_node_state)
|
|
}
|
|
inline ::tari::rpc::BaseNodeState GetNetworkStateResponse::_internal_base_node_state() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::tari::rpc::BaseNodeState>(_impl_.base_node_state_);
|
|
}
|
|
inline void GetNetworkStateResponse::_internal_set_base_node_state(::tari::rpc::BaseNodeState value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.base_node_state_ = value;
|
|
}
|
|
|
|
// bool failed_checkpoints = 4;
|
|
inline void GetNetworkStateResponse::clear_failed_checkpoints() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.failed_checkpoints_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline bool GetNetworkStateResponse::failed_checkpoints() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.failed_checkpoints)
|
|
return _internal_failed_checkpoints();
|
|
}
|
|
inline void GetNetworkStateResponse::set_failed_checkpoints(bool value) {
|
|
_internal_set_failed_checkpoints(value);
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNetworkStateResponse.failed_checkpoints)
|
|
}
|
|
inline bool GetNetworkStateResponse::_internal_failed_checkpoints() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.failed_checkpoints_;
|
|
}
|
|
inline void GetNetworkStateResponse::_internal_set_failed_checkpoints(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.failed_checkpoints_ = value;
|
|
}
|
|
|
|
// uint64 reward = 5;
|
|
inline void GetNetworkStateResponse::clear_reward() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.reward_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::reward() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.reward)
|
|
return _internal_reward();
|
|
}
|
|
inline void GetNetworkStateResponse::set_reward(::uint64_t value) {
|
|
_internal_set_reward(value);
|
|
_impl_._has_bits_[0] |= 0x00000040u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNetworkStateResponse.reward)
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::_internal_reward() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.reward_;
|
|
}
|
|
inline void GetNetworkStateResponse::_internal_set_reward(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.reward_ = value;
|
|
}
|
|
|
|
// uint64 sha3x_estimated_hash_rate = 6;
|
|
inline void GetNetworkStateResponse::clear_sha3x_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sha3x_estimated_hash_rate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::sha3x_estimated_hash_rate() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.sha3x_estimated_hash_rate)
|
|
return _internal_sha3x_estimated_hash_rate();
|
|
}
|
|
inline void GetNetworkStateResponse::set_sha3x_estimated_hash_rate(::uint64_t value) {
|
|
_internal_set_sha3x_estimated_hash_rate(value);
|
|
_impl_._has_bits_[0] |= 0x00000080u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNetworkStateResponse.sha3x_estimated_hash_rate)
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::_internal_sha3x_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sha3x_estimated_hash_rate_;
|
|
}
|
|
inline void GetNetworkStateResponse::_internal_set_sha3x_estimated_hash_rate(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sha3x_estimated_hash_rate_ = value;
|
|
}
|
|
|
|
// uint64 monero_randomx_estimated_hash_rate = 7;
|
|
inline void GetNetworkStateResponse::clear_monero_randomx_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.monero_randomx_estimated_hash_rate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::monero_randomx_estimated_hash_rate() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.monero_randomx_estimated_hash_rate)
|
|
return _internal_monero_randomx_estimated_hash_rate();
|
|
}
|
|
inline void GetNetworkStateResponse::set_monero_randomx_estimated_hash_rate(::uint64_t value) {
|
|
_internal_set_monero_randomx_estimated_hash_rate(value);
|
|
_impl_._has_bits_[0] |= 0x00000100u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNetworkStateResponse.monero_randomx_estimated_hash_rate)
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::_internal_monero_randomx_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.monero_randomx_estimated_hash_rate_;
|
|
}
|
|
inline void GetNetworkStateResponse::_internal_set_monero_randomx_estimated_hash_rate(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.monero_randomx_estimated_hash_rate_ = value;
|
|
}
|
|
|
|
// uint64 tari_randomx_estimated_hash_rate = 10;
|
|
inline void GetNetworkStateResponse::clear_tari_randomx_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tari_randomx_estimated_hash_rate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000400u;
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::tari_randomx_estimated_hash_rate() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.tari_randomx_estimated_hash_rate)
|
|
return _internal_tari_randomx_estimated_hash_rate();
|
|
}
|
|
inline void GetNetworkStateResponse::set_tari_randomx_estimated_hash_rate(::uint64_t value) {
|
|
_internal_set_tari_randomx_estimated_hash_rate(value);
|
|
_impl_._has_bits_[0] |= 0x00000400u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNetworkStateResponse.tari_randomx_estimated_hash_rate)
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::_internal_tari_randomx_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.tari_randomx_estimated_hash_rate_;
|
|
}
|
|
inline void GetNetworkStateResponse::_internal_set_tari_randomx_estimated_hash_rate(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.tari_randomx_estimated_hash_rate_ = value;
|
|
}
|
|
|
|
// .tari.rpc.UDecimalValue cuckaroo_estimated_hash_rate = 12;
|
|
inline bool GetNetworkStateResponse::has_cuckaroo_estimated_hash_rate() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.cuckaroo_estimated_hash_rate_ != nullptr);
|
|
return value;
|
|
}
|
|
inline const ::tari::rpc::UDecimalValue& GetNetworkStateResponse::_internal_cuckaroo_estimated_hash_rate() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::UDecimalValue* p = _impl_.cuckaroo_estimated_hash_rate_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::UDecimalValue&>(::tari::rpc::_UDecimalValue_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::UDecimalValue& GetNetworkStateResponse::cuckaroo_estimated_hash_rate() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.cuckaroo_estimated_hash_rate)
|
|
return _internal_cuckaroo_estimated_hash_rate();
|
|
}
|
|
inline void GetNetworkStateResponse::unsafe_arena_set_allocated_cuckaroo_estimated_hash_rate(
|
|
::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cuckaroo_estimated_hash_rate_);
|
|
}
|
|
_impl_.cuckaroo_estimated_hash_rate_ = reinterpret_cast<::tari::rpc::UDecimalValue*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetNetworkStateResponse.cuckaroo_estimated_hash_rate)
|
|
}
|
|
inline ::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE GetNetworkStateResponse::release_cuckaroo_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
::tari::rpc::UDecimalValue* released = _impl_.cuckaroo_estimated_hash_rate_;
|
|
_impl_.cuckaroo_estimated_hash_rate_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE GetNetworkStateResponse::unsafe_arena_release_cuckaroo_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNetworkStateResponse.cuckaroo_estimated_hash_rate)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
::tari::rpc::UDecimalValue* temp = _impl_.cuckaroo_estimated_hash_rate_;
|
|
_impl_.cuckaroo_estimated_hash_rate_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::UDecimalValue* PROTOBUF_NONNULL GetNetworkStateResponse::_internal_mutable_cuckaroo_estimated_hash_rate() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.cuckaroo_estimated_hash_rate_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::UDecimalValue>(GetArena());
|
|
_impl_.cuckaroo_estimated_hash_rate_ = reinterpret_cast<::tari::rpc::UDecimalValue*>(p);
|
|
}
|
|
return _impl_.cuckaroo_estimated_hash_rate_;
|
|
}
|
|
inline ::tari::rpc::UDecimalValue* PROTOBUF_NONNULL GetNetworkStateResponse::mutable_cuckaroo_estimated_hash_rate()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
::tari::rpc::UDecimalValue* _msg = _internal_mutable_cuckaroo_estimated_hash_rate();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNetworkStateResponse.cuckaroo_estimated_hash_rate)
|
|
return _msg;
|
|
}
|
|
inline void GetNetworkStateResponse::set_allocated_cuckaroo_estimated_hash_rate(::tari::rpc::UDecimalValue* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cuckaroo_estimated_hash_rate_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
|
|
_impl_.cuckaroo_estimated_hash_rate_ = reinterpret_cast<::tari::rpc::UDecimalValue*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNetworkStateResponse.cuckaroo_estimated_hash_rate)
|
|
}
|
|
|
|
// uint64 num_connections = 8;
|
|
inline void GetNetworkStateResponse::clear_num_connections() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.num_connections_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000200u;
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::num_connections() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.num_connections)
|
|
return _internal_num_connections();
|
|
}
|
|
inline void GetNetworkStateResponse::set_num_connections(::uint64_t value) {
|
|
_internal_set_num_connections(value);
|
|
_impl_._has_bits_[0] |= 0x00000200u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.GetNetworkStateResponse.num_connections)
|
|
}
|
|
inline ::uint64_t GetNetworkStateResponse::_internal_num_connections() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.num_connections_;
|
|
}
|
|
inline void GetNetworkStateResponse::_internal_set_num_connections(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.num_connections_ = value;
|
|
}
|
|
|
|
// repeated .tari.rpc.LivenessResult liveness_results = 9;
|
|
inline int GetNetworkStateResponse::_internal_liveness_results_size() const {
|
|
return _internal_liveness_results().size();
|
|
}
|
|
inline int GetNetworkStateResponse::liveness_results_size() const {
|
|
return _internal_liveness_results_size();
|
|
}
|
|
inline void GetNetworkStateResponse::clear_liveness_results() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.liveness_results_.Clear();
|
|
}
|
|
inline ::tari::rpc::LivenessResult* PROTOBUF_NONNULL GetNetworkStateResponse::mutable_liveness_results(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNetworkStateResponse.liveness_results)
|
|
return _internal_mutable_liveness_results()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::LivenessResult>* PROTOBUF_NONNULL GetNetworkStateResponse::mutable_liveness_results()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.GetNetworkStateResponse.liveness_results)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_liveness_results();
|
|
}
|
|
inline const ::tari::rpc::LivenessResult& GetNetworkStateResponse::liveness_results(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.liveness_results)
|
|
return _internal_liveness_results().Get(index);
|
|
}
|
|
inline ::tari::rpc::LivenessResult* PROTOBUF_NONNULL GetNetworkStateResponse::add_liveness_results()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::tari::rpc::LivenessResult* _add = _internal_mutable_liveness_results()->Add();
|
|
// @@protoc_insertion_point(field_add:tari.rpc.GetNetworkStateResponse.liveness_results)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::LivenessResult>& GetNetworkStateResponse::liveness_results() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.GetNetworkStateResponse.liveness_results)
|
|
return _internal_liveness_results();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::tari::rpc::LivenessResult>&
|
|
GetNetworkStateResponse::_internal_liveness_results() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.liveness_results_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::tari::rpc::LivenessResult>* PROTOBUF_NONNULL
|
|
GetNetworkStateResponse::_internal_mutable_liveness_results() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.liveness_results_;
|
|
}
|
|
|
|
// .tari.rpc.ReadinessStatus readiness_status = 11;
|
|
inline bool GetNetworkStateResponse::has_readiness_status() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
|
|
PROTOBUF_ASSUME(!value || _impl_.readiness_status_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void GetNetworkStateResponse::clear_readiness_status() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.readiness_status_ != nullptr) _impl_.readiness_status_->Clear();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::tari::rpc::ReadinessStatus& GetNetworkStateResponse::_internal_readiness_status() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::tari::rpc::ReadinessStatus* p = _impl_.readiness_status_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::tari::rpc::ReadinessStatus&>(::tari::rpc::_ReadinessStatus_default_instance_);
|
|
}
|
|
inline const ::tari::rpc::ReadinessStatus& GetNetworkStateResponse::readiness_status() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.GetNetworkStateResponse.readiness_status)
|
|
return _internal_readiness_status();
|
|
}
|
|
inline void GetNetworkStateResponse::unsafe_arena_set_allocated_readiness_status(
|
|
::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.readiness_status_);
|
|
}
|
|
_impl_.readiness_status_ = reinterpret_cast<::tari::rpc::ReadinessStatus*>(value);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:tari.rpc.GetNetworkStateResponse.readiness_status)
|
|
}
|
|
inline ::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE GetNetworkStateResponse::release_readiness_status() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
::tari::rpc::ReadinessStatus* released = _impl_.readiness_status_;
|
|
_impl_.readiness_status_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE GetNetworkStateResponse::unsafe_arena_release_readiness_status() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.GetNetworkStateResponse.readiness_status)
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
::tari::rpc::ReadinessStatus* temp = _impl_.readiness_status_;
|
|
_impl_.readiness_status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::tari::rpc::ReadinessStatus* PROTOBUF_NONNULL GetNetworkStateResponse::_internal_mutable_readiness_status() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.readiness_status_ == nullptr) {
|
|
auto* p = ::google::protobuf::Message::DefaultConstruct<::tari::rpc::ReadinessStatus>(GetArena());
|
|
_impl_.readiness_status_ = reinterpret_cast<::tari::rpc::ReadinessStatus*>(p);
|
|
}
|
|
return _impl_.readiness_status_;
|
|
}
|
|
inline ::tari::rpc::ReadinessStatus* PROTOBUF_NONNULL GetNetworkStateResponse::mutable_readiness_status()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
::tari::rpc::ReadinessStatus* _msg = _internal_mutable_readiness_status();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.GetNetworkStateResponse.readiness_status)
|
|
return _msg;
|
|
}
|
|
inline void GetNetworkStateResponse::set_allocated_readiness_status(::tari::rpc::ReadinessStatus* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.readiness_status_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
|
|
_impl_.readiness_status_ = reinterpret_cast<::tari::rpc::ReadinessStatus*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.GetNetworkStateResponse.readiness_status)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// LivenessResult
|
|
|
|
// bytes peer_node_id = 1;
|
|
inline void LivenessResult::clear_peer_node_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.peer_node_id_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& LivenessResult::peer_node_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.LivenessResult.peer_node_id)
|
|
return _internal_peer_node_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void LivenessResult::set_peer_node_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.peer_node_id_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.LivenessResult.peer_node_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL LivenessResult::mutable_peer_node_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_peer_node_id();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.LivenessResult.peer_node_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& LivenessResult::_internal_peer_node_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.peer_node_id_.Get();
|
|
}
|
|
inline void LivenessResult::_internal_set_peer_node_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.peer_node_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL LivenessResult::_internal_mutable_peer_node_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.peer_node_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE LivenessResult::release_peer_node_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.LivenessResult.peer_node_id)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.peer_node_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.peer_node_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void LivenessResult::set_allocated_peer_node_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.peer_node_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.peer_node_id_.IsDefault()) {
|
|
_impl_.peer_node_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.LivenessResult.peer_node_id)
|
|
}
|
|
|
|
// uint64 discover_latency = 2;
|
|
inline void LivenessResult::clear_discover_latency() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.discover_latency_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::uint64_t LivenessResult::discover_latency() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.LivenessResult.discover_latency)
|
|
return _internal_discover_latency();
|
|
}
|
|
inline void LivenessResult::set_discover_latency(::uint64_t value) {
|
|
_internal_set_discover_latency(value);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.LivenessResult.discover_latency)
|
|
}
|
|
inline ::uint64_t LivenessResult::_internal_discover_latency() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.discover_latency_;
|
|
}
|
|
inline void LivenessResult::_internal_set_discover_latency(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.discover_latency_ = value;
|
|
}
|
|
|
|
// uint64 ping_latency = 3;
|
|
inline void LivenessResult::clear_ping_latency() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ping_latency_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::uint64_t LivenessResult::ping_latency() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.LivenessResult.ping_latency)
|
|
return _internal_ping_latency();
|
|
}
|
|
inline void LivenessResult::set_ping_latency(::uint64_t value) {
|
|
_internal_set_ping_latency(value);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.LivenessResult.ping_latency)
|
|
}
|
|
inline ::uint64_t LivenessResult::_internal_ping_latency() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ping_latency_;
|
|
}
|
|
inline void LivenessResult::_internal_set_ping_latency(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ping_latency_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SearchPaymentReferencesRequest
|
|
|
|
// repeated string payment_reference_hex = 1;
|
|
inline int SearchPaymentReferencesRequest::_internal_payment_reference_hex_size() const {
|
|
return _internal_payment_reference_hex().size();
|
|
}
|
|
inline int SearchPaymentReferencesRequest::payment_reference_hex_size() const {
|
|
return _internal_payment_reference_hex_size();
|
|
}
|
|
inline void SearchPaymentReferencesRequest::clear_payment_reference_hex() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.payment_reference_hex_.Clear();
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SearchPaymentReferencesRequest::add_payment_reference_hex()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::std::string* _s = _internal_mutable_payment_reference_hex()->Add();
|
|
// @@protoc_insertion_point(field_add_mutable:tari.rpc.SearchPaymentReferencesRequest.payment_reference_hex)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& SearchPaymentReferencesRequest::payment_reference_hex(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SearchPaymentReferencesRequest.payment_reference_hex)
|
|
return _internal_payment_reference_hex().Get(index);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SearchPaymentReferencesRequest::mutable_payment_reference_hex(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.SearchPaymentReferencesRequest.payment_reference_hex)
|
|
return _internal_mutable_payment_reference_hex()->Mutable(index);
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void SearchPaymentReferencesRequest::set_payment_reference_hex(int index, Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::AssignToString(*_internal_mutable_payment_reference_hex()->Mutable(index), ::std::forward<Arg_>(value),
|
|
args... );
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SearchPaymentReferencesRequest.payment_reference_hex)
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void SearchPaymentReferencesRequest::add_payment_reference_hex(Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_payment_reference_hex(),
|
|
::std::forward<Arg_>(value),
|
|
args... );
|
|
// @@protoc_insertion_point(field_add:tari.rpc.SearchPaymentReferencesRequest.payment_reference_hex)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>& SearchPaymentReferencesRequest::payment_reference_hex()
|
|
const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.SearchPaymentReferencesRequest.payment_reference_hex)
|
|
return _internal_payment_reference_hex();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
SearchPaymentReferencesRequest::mutable_payment_reference_hex() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.SearchPaymentReferencesRequest.payment_reference_hex)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_payment_reference_hex();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
|
|
SearchPaymentReferencesRequest::_internal_payment_reference_hex() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.payment_reference_hex_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
SearchPaymentReferencesRequest::_internal_mutable_payment_reference_hex() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.payment_reference_hex_;
|
|
}
|
|
|
|
// repeated bytes payment_reference_bytes = 2;
|
|
inline int SearchPaymentReferencesRequest::_internal_payment_reference_bytes_size() const {
|
|
return _internal_payment_reference_bytes().size();
|
|
}
|
|
inline int SearchPaymentReferencesRequest::payment_reference_bytes_size() const {
|
|
return _internal_payment_reference_bytes_size();
|
|
}
|
|
inline void SearchPaymentReferencesRequest::clear_payment_reference_bytes() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.payment_reference_bytes_.Clear();
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SearchPaymentReferencesRequest::add_payment_reference_bytes()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::std::string* _s = _internal_mutable_payment_reference_bytes()->Add();
|
|
// @@protoc_insertion_point(field_add_mutable:tari.rpc.SearchPaymentReferencesRequest.payment_reference_bytes)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& SearchPaymentReferencesRequest::payment_reference_bytes(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SearchPaymentReferencesRequest.payment_reference_bytes)
|
|
return _internal_payment_reference_bytes().Get(index);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SearchPaymentReferencesRequest::mutable_payment_reference_bytes(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.SearchPaymentReferencesRequest.payment_reference_bytes)
|
|
return _internal_mutable_payment_reference_bytes()->Mutable(index);
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void SearchPaymentReferencesRequest::set_payment_reference_bytes(int index, Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::AssignToString(*_internal_mutable_payment_reference_bytes()->Mutable(index), ::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SearchPaymentReferencesRequest.payment_reference_bytes)
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
inline void SearchPaymentReferencesRequest::add_payment_reference_bytes(Arg_&& value, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_payment_reference_bytes(),
|
|
::std::forward<Arg_>(value),
|
|
args... , ::google::protobuf::internal::BytesTag{});
|
|
// @@protoc_insertion_point(field_add:tari.rpc.SearchPaymentReferencesRequest.payment_reference_bytes)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>& SearchPaymentReferencesRequest::payment_reference_bytes()
|
|
const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:tari.rpc.SearchPaymentReferencesRequest.payment_reference_bytes)
|
|
return _internal_payment_reference_bytes();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
SearchPaymentReferencesRequest::mutable_payment_reference_bytes() ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable_list:tari.rpc.SearchPaymentReferencesRequest.payment_reference_bytes)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_payment_reference_bytes();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
|
|
SearchPaymentReferencesRequest::_internal_payment_reference_bytes() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.payment_reference_bytes_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
|
|
SearchPaymentReferencesRequest::_internal_mutable_payment_reference_bytes() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.payment_reference_bytes_;
|
|
}
|
|
|
|
// bool include_spent = 3;
|
|
inline void SearchPaymentReferencesRequest::clear_include_spent() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.include_spent_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline bool SearchPaymentReferencesRequest::include_spent() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.SearchPaymentReferencesRequest.include_spent)
|
|
return _internal_include_spent();
|
|
}
|
|
inline void SearchPaymentReferencesRequest::set_include_spent(bool value) {
|
|
_internal_set_include_spent(value);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.SearchPaymentReferencesRequest.include_spent)
|
|
}
|
|
inline bool SearchPaymentReferencesRequest::_internal_include_spent() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.include_spent_;
|
|
}
|
|
inline void SearchPaymentReferencesRequest::_internal_set_include_spent(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.include_spent_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PaymentReferenceResponse
|
|
|
|
// string payment_reference_hex = 1;
|
|
inline void PaymentReferenceResponse::clear_payment_reference_hex() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.payment_reference_hex_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::payment_reference_hex() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.payment_reference_hex)
|
|
return _internal_payment_reference_hex();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PaymentReferenceResponse::set_payment_reference_hex(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.payment_reference_hex_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.payment_reference_hex)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::mutable_payment_reference_hex()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_payment_reference_hex();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.PaymentReferenceResponse.payment_reference_hex)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::_internal_payment_reference_hex() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.payment_reference_hex_.Get();
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_payment_reference_hex(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.payment_reference_hex_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::_internal_mutable_payment_reference_hex() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.payment_reference_hex_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PaymentReferenceResponse::release_payment_reference_hex() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.PaymentReferenceResponse.payment_reference_hex)
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* released = _impl_.payment_reference_hex_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.payment_reference_hex_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PaymentReferenceResponse::set_allocated_payment_reference_hex(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.payment_reference_hex_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.payment_reference_hex_.IsDefault()) {
|
|
_impl_.payment_reference_hex_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.PaymentReferenceResponse.payment_reference_hex)
|
|
}
|
|
|
|
// uint64 block_height = 2;
|
|
inline void PaymentReferenceResponse::clear_block_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.block_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::block_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.block_height)
|
|
return _internal_block_height();
|
|
}
|
|
inline void PaymentReferenceResponse::set_block_height(::uint64_t value) {
|
|
_internal_set_block_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000020u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.block_height)
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::_internal_block_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.block_height_;
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_block_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.block_height_ = value;
|
|
}
|
|
|
|
// bytes block_hash = 3;
|
|
inline void PaymentReferenceResponse::clear_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.block_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::block_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.block_hash)
|
|
return _internal_block_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PaymentReferenceResponse::set_block_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.block_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.block_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::mutable_block_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_block_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.PaymentReferenceResponse.block_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::_internal_block_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.block_hash_.Get();
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_block_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.block_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::_internal_mutable_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.block_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PaymentReferenceResponse::release_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.PaymentReferenceResponse.block_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* released = _impl_.block_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.block_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PaymentReferenceResponse::set_allocated_block_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.block_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.block_hash_.IsDefault()) {
|
|
_impl_.block_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.PaymentReferenceResponse.block_hash)
|
|
}
|
|
|
|
// uint64 mined_timestamp = 4;
|
|
inline void PaymentReferenceResponse::clear_mined_timestamp() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_timestamp_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::mined_timestamp() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.mined_timestamp)
|
|
return _internal_mined_timestamp();
|
|
}
|
|
inline void PaymentReferenceResponse::set_mined_timestamp(::uint64_t value) {
|
|
_internal_set_mined_timestamp(value);
|
|
_impl_._has_bits_[0] |= 0x00000040u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.mined_timestamp)
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::_internal_mined_timestamp() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mined_timestamp_;
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_mined_timestamp(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mined_timestamp_ = value;
|
|
}
|
|
|
|
// bytes commitment = 5;
|
|
inline void PaymentReferenceResponse::clear_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.commitment_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::commitment() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.commitment)
|
|
return _internal_commitment();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PaymentReferenceResponse::set_commitment(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.commitment_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.commitment)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::mutable_commitment()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_commitment();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.PaymentReferenceResponse.commitment)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::_internal_commitment() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.commitment_.Get();
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_commitment(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.commitment_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::_internal_mutable_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
return _impl_.commitment_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PaymentReferenceResponse::release_commitment() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.PaymentReferenceResponse.commitment)
|
|
if ((_impl_._has_bits_[0] & 0x00000004u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
auto* released = _impl_.commitment_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.commitment_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PaymentReferenceResponse::set_allocated_commitment(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
_impl_.commitment_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.commitment_.IsDefault()) {
|
|
_impl_.commitment_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.PaymentReferenceResponse.commitment)
|
|
}
|
|
|
|
// bool is_spent = 6;
|
|
inline void PaymentReferenceResponse::clear_is_spent() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.is_spent_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000400u;
|
|
}
|
|
inline bool PaymentReferenceResponse::is_spent() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.is_spent)
|
|
return _internal_is_spent();
|
|
}
|
|
inline void PaymentReferenceResponse::set_is_spent(bool value) {
|
|
_internal_set_is_spent(value);
|
|
_impl_._has_bits_[0] |= 0x00000400u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.is_spent)
|
|
}
|
|
inline bool PaymentReferenceResponse::_internal_is_spent() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.is_spent_;
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_is_spent(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.is_spent_ = value;
|
|
}
|
|
|
|
// uint64 spent_height = 7;
|
|
inline void PaymentReferenceResponse::clear_spent_height() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spent_height_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::spent_height() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.spent_height)
|
|
return _internal_spent_height();
|
|
}
|
|
inline void PaymentReferenceResponse::set_spent_height(::uint64_t value) {
|
|
_internal_set_spent_height(value);
|
|
_impl_._has_bits_[0] |= 0x00000080u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.spent_height)
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::_internal_spent_height() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.spent_height_;
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_spent_height(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spent_height_ = value;
|
|
}
|
|
|
|
// bytes spent_block_hash = 8;
|
|
inline void PaymentReferenceResponse::clear_spent_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spent_block_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::spent_block_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.spent_block_hash)
|
|
return _internal_spent_block_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PaymentReferenceResponse::set_spent_block_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.spent_block_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.spent_block_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::mutable_spent_block_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_spent_block_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.PaymentReferenceResponse.spent_block_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::_internal_spent_block_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.spent_block_hash_.Get();
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_spent_block_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
_impl_.spent_block_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::_internal_mutable_spent_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
return _impl_.spent_block_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PaymentReferenceResponse::release_spent_block_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.PaymentReferenceResponse.spent_block_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000008u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
auto* released = _impl_.spent_block_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.spent_block_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PaymentReferenceResponse::set_allocated_spent_block_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
_impl_.spent_block_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.spent_block_hash_.IsDefault()) {
|
|
_impl_.spent_block_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.PaymentReferenceResponse.spent_block_hash)
|
|
}
|
|
|
|
// uint64 min_value_promise = 9;
|
|
inline void PaymentReferenceResponse::clear_min_value_promise() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.min_value_promise_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::min_value_promise() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.min_value_promise)
|
|
return _internal_min_value_promise();
|
|
}
|
|
inline void PaymentReferenceResponse::set_min_value_promise(::uint64_t value) {
|
|
_internal_set_min_value_promise(value);
|
|
_impl_._has_bits_[0] |= 0x00000100u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.min_value_promise)
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::_internal_min_value_promise() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.min_value_promise_;
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_min_value_promise(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.min_value_promise_ = value;
|
|
}
|
|
|
|
// uint64 spent_timestamp = 10;
|
|
inline void PaymentReferenceResponse::clear_spent_timestamp() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spent_timestamp_ = ::uint64_t{0u};
|
|
_impl_._has_bits_[0] &= ~0x00000200u;
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::spent_timestamp() const {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.spent_timestamp)
|
|
return _internal_spent_timestamp();
|
|
}
|
|
inline void PaymentReferenceResponse::set_spent_timestamp(::uint64_t value) {
|
|
_internal_set_spent_timestamp(value);
|
|
_impl_._has_bits_[0] |= 0x00000200u;
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.spent_timestamp)
|
|
}
|
|
inline ::uint64_t PaymentReferenceResponse::_internal_spent_timestamp() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.spent_timestamp_;
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_spent_timestamp(::uint64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.spent_timestamp_ = value;
|
|
}
|
|
|
|
// bytes output_hash = 11;
|
|
inline void PaymentReferenceResponse::clear_output_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.output_hash_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::output_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:tari.rpc.PaymentReferenceResponse.output_hash)
|
|
return _internal_output_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PaymentReferenceResponse::set_output_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.output_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:tari.rpc.PaymentReferenceResponse.output_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::mutable_output_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::std::string* _s = _internal_mutable_output_hash();
|
|
// @@protoc_insertion_point(field_mutable:tari.rpc.PaymentReferenceResponse.output_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PaymentReferenceResponse::_internal_output_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.output_hash_.Get();
|
|
}
|
|
inline void PaymentReferenceResponse::_internal_set_output_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
_impl_.output_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PaymentReferenceResponse::_internal_mutable_output_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
return _impl_.output_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PaymentReferenceResponse::release_output_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:tari.rpc.PaymentReferenceResponse.output_hash)
|
|
if ((_impl_._has_bits_[0] & 0x00000010u) == 0) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
auto* released = _impl_.output_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.output_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PaymentReferenceResponse::set_allocated_output_hash(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
_impl_.output_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.output_hash_.IsDefault()) {
|
|
_impl_.output_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:tari.rpc.PaymentReferenceResponse.output_hash)
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
} // namespace rpc
|
|
} // namespace tari
|
|
|
|
|
|
namespace google {
|
|
namespace protobuf {
|
|
|
|
template <>
|
|
struct is_proto_enum<::tari::rpc::ReadinessStatus_State> : std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::tari::rpc::ReadinessStatus_State>() {
|
|
return ::tari::rpc::ReadinessStatus_State_descriptor();
|
|
}
|
|
template <>
|
|
struct is_proto_enum<::tari::rpc::BaseNodeState> : std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::tari::rpc::BaseNodeState>() {
|
|
return ::tari::rpc::BaseNodeState_descriptor();
|
|
}
|
|
template <>
|
|
struct is_proto_enum<::tari::rpc::CalcType> : std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::tari::rpc::CalcType>() {
|
|
return ::tari::rpc::CalcType_descriptor();
|
|
}
|
|
template <>
|
|
struct is_proto_enum<::tari::rpc::Sorting> : std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::tari::rpc::Sorting>() {
|
|
return ::tari::rpc::Sorting_descriptor();
|
|
}
|
|
template <>
|
|
struct is_proto_enum<::tari::rpc::SyncState> : std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::tari::rpc::SyncState>() {
|
|
return ::tari::rpc::SyncState_descriptor();
|
|
}
|
|
template <>
|
|
struct is_proto_enum<::tari::rpc::SubmitTransactionResult> : std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::tari::rpc::SubmitTransactionResult>() {
|
|
return ::tari::rpc::SubmitTransactionResult_descriptor();
|
|
}
|
|
template <>
|
|
struct is_proto_enum<::tari::rpc::TransactionLocation> : std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::tari::rpc::TransactionLocation>() {
|
|
return ::tari::rpc::TransactionLocation_descriptor();
|
|
}
|
|
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include "google/protobuf/port_undef.inc"
|
|
|
|
#endif // base_5fnode_2eproto_2epb_2eh
|