mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
12579 lines
508 KiB
C++
12579 lines
508 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: milvus.proto
|
|
|
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_milvus_2eproto
|
|
#define GOOGLE_PROTOBUF_INCLUDED_milvus_2eproto
|
|
|
|
#include <limits>
|
|
#include <string>
|
|
|
|
#include <google/protobuf/port_def.inc>
|
|
#if PROTOBUF_VERSION < 3009000
|
|
#error This file was generated by a newer version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
#error your headers.
|
|
#endif
|
|
#if 3009000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
#error This file was generated by an older version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
#error regenerate this file with a newer version of protoc.
|
|
#endif
|
|
|
|
#include <google/protobuf/port_undef.inc>
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
#include <google/protobuf/arena.h>
|
|
#include <google/protobuf/arenastring.h>
|
|
#include <google/protobuf/generated_message_table_driven.h>
|
|
#include <google/protobuf/generated_message_util.h>
|
|
#include <google/protobuf/inlined_string_field.h>
|
|
#include <google/protobuf/metadata.h>
|
|
#include <google/protobuf/generated_message_reflection.h>
|
|
#include <google/protobuf/message.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 "common.pb.h"
|
|
#include "schema.pb.h"
|
|
// @@protoc_insertion_point(includes)
|
|
#include <google/protobuf/port_def.inc>
|
|
#define PROTOBUF_INTERNAL_EXPORT_milvus_2eproto
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
namespace internal {
|
|
class AnyMetadata;
|
|
} // namespace internal
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// Internal implementation detail -- do not use these members.
|
|
struct TableStruct_milvus_2eproto {
|
|
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
|
|
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
|
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
|
|
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
|
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[40]
|
|
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
|
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
|
|
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
|
|
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
|
|
};
|
|
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_milvus_2eproto;
|
|
namespace milvus {
|
|
namespace proto {
|
|
namespace milvus {
|
|
class BoolResponse;
|
|
class BoolResponseDefaultTypeInternal;
|
|
extern BoolResponseDefaultTypeInternal _BoolResponse_default_instance_;
|
|
class CollectionStatsRequest;
|
|
class CollectionStatsRequestDefaultTypeInternal;
|
|
extern CollectionStatsRequestDefaultTypeInternal _CollectionStatsRequest_default_instance_;
|
|
class CollectionStatsResponse;
|
|
class CollectionStatsResponseDefaultTypeInternal;
|
|
extern CollectionStatsResponseDefaultTypeInternal _CollectionStatsResponse_default_instance_;
|
|
class CreateCollectionRequest;
|
|
class CreateCollectionRequestDefaultTypeInternal;
|
|
extern CreateCollectionRequestDefaultTypeInternal _CreateCollectionRequest_default_instance_;
|
|
class CreateIndexRequest;
|
|
class CreateIndexRequestDefaultTypeInternal;
|
|
extern CreateIndexRequestDefaultTypeInternal _CreateIndexRequest_default_instance_;
|
|
class CreatePartitionRequest;
|
|
class CreatePartitionRequestDefaultTypeInternal;
|
|
extern CreatePartitionRequestDefaultTypeInternal _CreatePartitionRequest_default_instance_;
|
|
class DescribeCollectionRequest;
|
|
class DescribeCollectionRequestDefaultTypeInternal;
|
|
extern DescribeCollectionRequestDefaultTypeInternal _DescribeCollectionRequest_default_instance_;
|
|
class DescribeCollectionResponse;
|
|
class DescribeCollectionResponseDefaultTypeInternal;
|
|
extern DescribeCollectionResponseDefaultTypeInternal _DescribeCollectionResponse_default_instance_;
|
|
class DescribeIndexRequest;
|
|
class DescribeIndexRequestDefaultTypeInternal;
|
|
extern DescribeIndexRequestDefaultTypeInternal _DescribeIndexRequest_default_instance_;
|
|
class DescribeIndexResponse;
|
|
class DescribeIndexResponseDefaultTypeInternal;
|
|
extern DescribeIndexResponseDefaultTypeInternal _DescribeIndexResponse_default_instance_;
|
|
class DescribeSegmentRequest;
|
|
class DescribeSegmentRequestDefaultTypeInternal;
|
|
extern DescribeSegmentRequestDefaultTypeInternal _DescribeSegmentRequest_default_instance_;
|
|
class DescribeSegmentResponse;
|
|
class DescribeSegmentResponseDefaultTypeInternal;
|
|
extern DescribeSegmentResponseDefaultTypeInternal _DescribeSegmentResponse_default_instance_;
|
|
class DropCollectionRequest;
|
|
class DropCollectionRequestDefaultTypeInternal;
|
|
extern DropCollectionRequestDefaultTypeInternal _DropCollectionRequest_default_instance_;
|
|
class DropPartitionRequest;
|
|
class DropPartitionRequestDefaultTypeInternal;
|
|
extern DropPartitionRequestDefaultTypeInternal _DropPartitionRequest_default_instance_;
|
|
class FlushRequest;
|
|
class FlushRequestDefaultTypeInternal;
|
|
extern FlushRequestDefaultTypeInternal _FlushRequest_default_instance_;
|
|
class HasCollectionRequest;
|
|
class HasCollectionRequestDefaultTypeInternal;
|
|
extern HasCollectionRequestDefaultTypeInternal _HasCollectionRequest_default_instance_;
|
|
class HasPartitionRequest;
|
|
class HasPartitionRequestDefaultTypeInternal;
|
|
extern HasPartitionRequestDefaultTypeInternal _HasPartitionRequest_default_instance_;
|
|
class Hits;
|
|
class HitsDefaultTypeInternal;
|
|
extern HitsDefaultTypeInternal _Hits_default_instance_;
|
|
class IndexDescription;
|
|
class IndexDescriptionDefaultTypeInternal;
|
|
extern IndexDescriptionDefaultTypeInternal _IndexDescription_default_instance_;
|
|
class IndexStateRequest;
|
|
class IndexStateRequestDefaultTypeInternal;
|
|
extern IndexStateRequestDefaultTypeInternal _IndexStateRequest_default_instance_;
|
|
class IndexStateResponse;
|
|
class IndexStateResponseDefaultTypeInternal;
|
|
extern IndexStateResponseDefaultTypeInternal _IndexStateResponse_default_instance_;
|
|
class InsertRequest;
|
|
class InsertRequestDefaultTypeInternal;
|
|
extern InsertRequestDefaultTypeInternal _InsertRequest_default_instance_;
|
|
class InsertResponse;
|
|
class InsertResponseDefaultTypeInternal;
|
|
extern InsertResponseDefaultTypeInternal _InsertResponse_default_instance_;
|
|
class LoadCollectionRequest;
|
|
class LoadCollectionRequestDefaultTypeInternal;
|
|
extern LoadCollectionRequestDefaultTypeInternal _LoadCollectionRequest_default_instance_;
|
|
class LoadPartitonRequest;
|
|
class LoadPartitonRequestDefaultTypeInternal;
|
|
extern LoadPartitonRequestDefaultTypeInternal _LoadPartitonRequest_default_instance_;
|
|
class PartitionStatsRequest;
|
|
class PartitionStatsRequestDefaultTypeInternal;
|
|
extern PartitionStatsRequestDefaultTypeInternal _PartitionStatsRequest_default_instance_;
|
|
class PartitionStatsResponse;
|
|
class PartitionStatsResponseDefaultTypeInternal;
|
|
extern PartitionStatsResponseDefaultTypeInternal _PartitionStatsResponse_default_instance_;
|
|
class PlaceholderGroup;
|
|
class PlaceholderGroupDefaultTypeInternal;
|
|
extern PlaceholderGroupDefaultTypeInternal _PlaceholderGroup_default_instance_;
|
|
class PlaceholderValue;
|
|
class PlaceholderValueDefaultTypeInternal;
|
|
extern PlaceholderValueDefaultTypeInternal _PlaceholderValue_default_instance_;
|
|
class ReleaseCollectionRequest;
|
|
class ReleaseCollectionRequestDefaultTypeInternal;
|
|
extern ReleaseCollectionRequestDefaultTypeInternal _ReleaseCollectionRequest_default_instance_;
|
|
class ReleasePartitionRequest;
|
|
class ReleasePartitionRequestDefaultTypeInternal;
|
|
extern ReleasePartitionRequestDefaultTypeInternal _ReleasePartitionRequest_default_instance_;
|
|
class SearchRequest;
|
|
class SearchRequestDefaultTypeInternal;
|
|
extern SearchRequestDefaultTypeInternal _SearchRequest_default_instance_;
|
|
class SearchResults;
|
|
class SearchResultsDefaultTypeInternal;
|
|
extern SearchResultsDefaultTypeInternal _SearchResults_default_instance_;
|
|
class ShowCollectionRequest;
|
|
class ShowCollectionRequestDefaultTypeInternal;
|
|
extern ShowCollectionRequestDefaultTypeInternal _ShowCollectionRequest_default_instance_;
|
|
class ShowCollectionResponse;
|
|
class ShowCollectionResponseDefaultTypeInternal;
|
|
extern ShowCollectionResponseDefaultTypeInternal _ShowCollectionResponse_default_instance_;
|
|
class ShowPartitionRequest;
|
|
class ShowPartitionRequestDefaultTypeInternal;
|
|
extern ShowPartitionRequestDefaultTypeInternal _ShowPartitionRequest_default_instance_;
|
|
class ShowPartitionResponse;
|
|
class ShowPartitionResponseDefaultTypeInternal;
|
|
extern ShowPartitionResponseDefaultTypeInternal _ShowPartitionResponse_default_instance_;
|
|
class ShowSegmentRequest;
|
|
class ShowSegmentRequestDefaultTypeInternal;
|
|
extern ShowSegmentRequestDefaultTypeInternal _ShowSegmentRequest_default_instance_;
|
|
class ShowSegmentResponse;
|
|
class ShowSegmentResponseDefaultTypeInternal;
|
|
extern ShowSegmentResponseDefaultTypeInternal _ShowSegmentResponse_default_instance_;
|
|
class StringResponse;
|
|
class StringResponseDefaultTypeInternal;
|
|
extern StringResponseDefaultTypeInternal _StringResponse_default_instance_;
|
|
} // namespace milvus
|
|
} // namespace proto
|
|
} // namespace milvus
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
template<> ::milvus::proto::milvus::BoolResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::BoolResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::CollectionStatsRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CollectionStatsRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::CollectionStatsResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::CollectionStatsResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::CreateCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreateCollectionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::CreateIndexRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreateIndexRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::CreatePartitionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreatePartitionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::DescribeCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeCollectionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::DescribeCollectionResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeCollectionResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::DescribeIndexRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeIndexRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::DescribeIndexResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeIndexResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::DescribeSegmentRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeSegmentRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::DescribeSegmentResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeSegmentResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::DropCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropCollectionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::DropPartitionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropPartitionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::FlushRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::FlushRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::HasCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::HasCollectionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::HasPartitionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::HasPartitionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::Hits* Arena::CreateMaybeMessage<::milvus::proto::milvus::Hits>(Arena*);
|
|
template<> ::milvus::proto::milvus::IndexDescription* Arena::CreateMaybeMessage<::milvus::proto::milvus::IndexDescription>(Arena*);
|
|
template<> ::milvus::proto::milvus::IndexStateRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::IndexStateRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::IndexStateResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::IndexStateResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::InsertRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::InsertRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::InsertResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::InsertResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::LoadCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::LoadCollectionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::LoadPartitonRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::LoadPartitonRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::PartitionStatsRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::PartitionStatsRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::PartitionStatsResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::PartitionStatsResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::PlaceholderGroup* Arena::CreateMaybeMessage<::milvus::proto::milvus::PlaceholderGroup>(Arena*);
|
|
template<> ::milvus::proto::milvus::PlaceholderValue* Arena::CreateMaybeMessage<::milvus::proto::milvus::PlaceholderValue>(Arena*);
|
|
template<> ::milvus::proto::milvus::ReleaseCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ReleaseCollectionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::ReleasePartitionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ReleasePartitionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::SearchRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::SearchRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::SearchResults* Arena::CreateMaybeMessage<::milvus::proto::milvus::SearchResults>(Arena*);
|
|
template<> ::milvus::proto::milvus::ShowCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ShowCollectionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::ShowCollectionResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::ShowCollectionResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::ShowPartitionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ShowPartitionRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::ShowPartitionResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::ShowPartitionResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::ShowSegmentRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ShowSegmentRequest>(Arena*);
|
|
template<> ::milvus::proto::milvus::ShowSegmentResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::ShowSegmentResponse>(Arena*);
|
|
template<> ::milvus::proto::milvus::StringResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::StringResponse>(Arena*);
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
namespace milvus {
|
|
namespace proto {
|
|
namespace milvus {
|
|
|
|
enum PlaceholderType : int {
|
|
NONE = 0,
|
|
VECTOR_BINARY = 100,
|
|
VECTOR_FLOAT = 101,
|
|
PlaceholderType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
|
|
PlaceholderType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
|
|
};
|
|
bool PlaceholderType_IsValid(int value);
|
|
constexpr PlaceholderType PlaceholderType_MIN = NONE;
|
|
constexpr PlaceholderType PlaceholderType_MAX = VECTOR_FLOAT;
|
|
constexpr int PlaceholderType_ARRAYSIZE = PlaceholderType_MAX + 1;
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlaceholderType_descriptor();
|
|
template<typename T>
|
|
inline const std::string& PlaceholderType_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, PlaceholderType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function PlaceholderType_Name.");
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
|
|
PlaceholderType_descriptor(), enum_t_value);
|
|
}
|
|
inline bool PlaceholderType_Parse(
|
|
const std::string& name, PlaceholderType* value) {
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlaceholderType>(
|
|
PlaceholderType_descriptor(), name, value);
|
|
}
|
|
// ===================================================================
|
|
|
|
class CreateCollectionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.CreateCollectionRequest) */ {
|
|
public:
|
|
CreateCollectionRequest();
|
|
virtual ~CreateCollectionRequest();
|
|
|
|
CreateCollectionRequest(const CreateCollectionRequest& from);
|
|
CreateCollectionRequest(CreateCollectionRequest&& from) noexcept
|
|
: CreateCollectionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline CreateCollectionRequest& operator=(const CreateCollectionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline CreateCollectionRequest& operator=(CreateCollectionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const CreateCollectionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const CreateCollectionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const CreateCollectionRequest*>(
|
|
&_CreateCollectionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
0;
|
|
|
|
friend void swap(CreateCollectionRequest& a, CreateCollectionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(CreateCollectionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CreateCollectionRequest* New() const final {
|
|
return CreateMaybeMessage<CreateCollectionRequest>(nullptr);
|
|
}
|
|
|
|
CreateCollectionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<CreateCollectionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const CreateCollectionRequest& from);
|
|
void MergeFrom(const CreateCollectionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(CreateCollectionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.CreateCollectionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kSchemaFieldNumber = 4,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// bytes schema = 4;
|
|
void clear_schema();
|
|
const std::string& schema() const;
|
|
void set_schema(const std::string& value);
|
|
void set_schema(std::string&& value);
|
|
void set_schema(const char* value);
|
|
void set_schema(const void* value, size_t size);
|
|
std::string* mutable_schema();
|
|
std::string* release_schema();
|
|
void set_allocated_schema(std::string* schema);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.CreateCollectionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr schema_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DropCollectionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DropCollectionRequest) */ {
|
|
public:
|
|
DropCollectionRequest();
|
|
virtual ~DropCollectionRequest();
|
|
|
|
DropCollectionRequest(const DropCollectionRequest& from);
|
|
DropCollectionRequest(DropCollectionRequest&& from) noexcept
|
|
: DropCollectionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DropCollectionRequest& operator=(const DropCollectionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DropCollectionRequest& operator=(DropCollectionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const DropCollectionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DropCollectionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const DropCollectionRequest*>(
|
|
&_DropCollectionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
1;
|
|
|
|
friend void swap(DropCollectionRequest& a, DropCollectionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DropCollectionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DropCollectionRequest* New() const final {
|
|
return CreateMaybeMessage<DropCollectionRequest>(nullptr);
|
|
}
|
|
|
|
DropCollectionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<DropCollectionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const DropCollectionRequest& from);
|
|
void MergeFrom(const DropCollectionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DropCollectionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.DropCollectionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DropCollectionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class HasCollectionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.HasCollectionRequest) */ {
|
|
public:
|
|
HasCollectionRequest();
|
|
virtual ~HasCollectionRequest();
|
|
|
|
HasCollectionRequest(const HasCollectionRequest& from);
|
|
HasCollectionRequest(HasCollectionRequest&& from) noexcept
|
|
: HasCollectionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline HasCollectionRequest& operator=(const HasCollectionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline HasCollectionRequest& operator=(HasCollectionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const HasCollectionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const HasCollectionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const HasCollectionRequest*>(
|
|
&_HasCollectionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
2;
|
|
|
|
friend void swap(HasCollectionRequest& a, HasCollectionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(HasCollectionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline HasCollectionRequest* New() const final {
|
|
return CreateMaybeMessage<HasCollectionRequest>(nullptr);
|
|
}
|
|
|
|
HasCollectionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<HasCollectionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const HasCollectionRequest& from);
|
|
void MergeFrom(const HasCollectionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(HasCollectionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.HasCollectionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.HasCollectionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class BoolResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.BoolResponse) */ {
|
|
public:
|
|
BoolResponse();
|
|
virtual ~BoolResponse();
|
|
|
|
BoolResponse(const BoolResponse& from);
|
|
BoolResponse(BoolResponse&& from) noexcept
|
|
: BoolResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline BoolResponse& operator=(const BoolResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BoolResponse& operator=(BoolResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const BoolResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const BoolResponse* internal_default_instance() {
|
|
return reinterpret_cast<const BoolResponse*>(
|
|
&_BoolResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
3;
|
|
|
|
friend void swap(BoolResponse& a, BoolResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(BoolResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline BoolResponse* New() const final {
|
|
return CreateMaybeMessage<BoolResponse>(nullptr);
|
|
}
|
|
|
|
BoolResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<BoolResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const BoolResponse& from);
|
|
void MergeFrom(const BoolResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(BoolResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.BoolResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kStatusFieldNumber = 1,
|
|
kValueFieldNumber = 2,
|
|
};
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// bool value = 2;
|
|
void clear_value();
|
|
bool value() const;
|
|
void set_value(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.BoolResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::milvus::proto::common::Status* status_;
|
|
bool value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class StringResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.StringResponse) */ {
|
|
public:
|
|
StringResponse();
|
|
virtual ~StringResponse();
|
|
|
|
StringResponse(const StringResponse& from);
|
|
StringResponse(StringResponse&& from) noexcept
|
|
: StringResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline StringResponse& operator=(const StringResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline StringResponse& operator=(StringResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const StringResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const StringResponse* internal_default_instance() {
|
|
return reinterpret_cast<const StringResponse*>(
|
|
&_StringResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
4;
|
|
|
|
friend void swap(StringResponse& a, StringResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(StringResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline StringResponse* New() const final {
|
|
return CreateMaybeMessage<StringResponse>(nullptr);
|
|
}
|
|
|
|
StringResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<StringResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const StringResponse& from);
|
|
void MergeFrom(const StringResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(StringResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.StringResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kValueFieldNumber = 2,
|
|
kStatusFieldNumber = 1,
|
|
};
|
|
// string value = 2;
|
|
void clear_value();
|
|
const std::string& value() const;
|
|
void set_value(const std::string& value);
|
|
void set_value(std::string&& value);
|
|
void set_value(const char* value);
|
|
void set_value(const char* value, size_t size);
|
|
std::string* mutable_value();
|
|
std::string* release_value();
|
|
void set_allocated_value(std::string* value);
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.StringResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
|
|
::milvus::proto::common::Status* status_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DescribeCollectionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DescribeCollectionRequest) */ {
|
|
public:
|
|
DescribeCollectionRequest();
|
|
virtual ~DescribeCollectionRequest();
|
|
|
|
DescribeCollectionRequest(const DescribeCollectionRequest& from);
|
|
DescribeCollectionRequest(DescribeCollectionRequest&& from) noexcept
|
|
: DescribeCollectionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DescribeCollectionRequest& operator=(const DescribeCollectionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DescribeCollectionRequest& operator=(DescribeCollectionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const DescribeCollectionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DescribeCollectionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const DescribeCollectionRequest*>(
|
|
&_DescribeCollectionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
5;
|
|
|
|
friend void swap(DescribeCollectionRequest& a, DescribeCollectionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DescribeCollectionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DescribeCollectionRequest* New() const final {
|
|
return CreateMaybeMessage<DescribeCollectionRequest>(nullptr);
|
|
}
|
|
|
|
DescribeCollectionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<DescribeCollectionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const DescribeCollectionRequest& from);
|
|
void MergeFrom(const DescribeCollectionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DescribeCollectionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.DescribeCollectionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeCollectionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DescribeCollectionResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DescribeCollectionResponse) */ {
|
|
public:
|
|
DescribeCollectionResponse();
|
|
virtual ~DescribeCollectionResponse();
|
|
|
|
DescribeCollectionResponse(const DescribeCollectionResponse& from);
|
|
DescribeCollectionResponse(DescribeCollectionResponse&& from) noexcept
|
|
: DescribeCollectionResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DescribeCollectionResponse& operator=(const DescribeCollectionResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DescribeCollectionResponse& operator=(DescribeCollectionResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const DescribeCollectionResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DescribeCollectionResponse* internal_default_instance() {
|
|
return reinterpret_cast<const DescribeCollectionResponse*>(
|
|
&_DescribeCollectionResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
6;
|
|
|
|
friend void swap(DescribeCollectionResponse& a, DescribeCollectionResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DescribeCollectionResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DescribeCollectionResponse* New() const final {
|
|
return CreateMaybeMessage<DescribeCollectionResponse>(nullptr);
|
|
}
|
|
|
|
DescribeCollectionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<DescribeCollectionResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const DescribeCollectionResponse& from);
|
|
void MergeFrom(const DescribeCollectionResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DescribeCollectionResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.DescribeCollectionResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kStatusFieldNumber = 1,
|
|
kSchemaFieldNumber = 2,
|
|
};
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// .milvus.proto.schema.CollectionSchema schema = 2;
|
|
bool has_schema() const;
|
|
void clear_schema();
|
|
const ::milvus::proto::schema::CollectionSchema& schema() const;
|
|
::milvus::proto::schema::CollectionSchema* release_schema();
|
|
::milvus::proto::schema::CollectionSchema* mutable_schema();
|
|
void set_allocated_schema(::milvus::proto::schema::CollectionSchema* schema);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeCollectionResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::milvus::proto::common::Status* status_;
|
|
::milvus::proto::schema::CollectionSchema* schema_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class LoadCollectionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.LoadCollectionRequest) */ {
|
|
public:
|
|
LoadCollectionRequest();
|
|
virtual ~LoadCollectionRequest();
|
|
|
|
LoadCollectionRequest(const LoadCollectionRequest& from);
|
|
LoadCollectionRequest(LoadCollectionRequest&& from) noexcept
|
|
: LoadCollectionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline LoadCollectionRequest& operator=(const LoadCollectionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline LoadCollectionRequest& operator=(LoadCollectionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const LoadCollectionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const LoadCollectionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const LoadCollectionRequest*>(
|
|
&_LoadCollectionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
7;
|
|
|
|
friend void swap(LoadCollectionRequest& a, LoadCollectionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(LoadCollectionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline LoadCollectionRequest* New() const final {
|
|
return CreateMaybeMessage<LoadCollectionRequest>(nullptr);
|
|
}
|
|
|
|
LoadCollectionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<LoadCollectionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const LoadCollectionRequest& from);
|
|
void MergeFrom(const LoadCollectionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(LoadCollectionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.LoadCollectionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.LoadCollectionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ReleaseCollectionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ReleaseCollectionRequest) */ {
|
|
public:
|
|
ReleaseCollectionRequest();
|
|
virtual ~ReleaseCollectionRequest();
|
|
|
|
ReleaseCollectionRequest(const ReleaseCollectionRequest& from);
|
|
ReleaseCollectionRequest(ReleaseCollectionRequest&& from) noexcept
|
|
: ReleaseCollectionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ReleaseCollectionRequest& operator=(const ReleaseCollectionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ReleaseCollectionRequest& operator=(ReleaseCollectionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ReleaseCollectionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ReleaseCollectionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ReleaseCollectionRequest*>(
|
|
&_ReleaseCollectionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
8;
|
|
|
|
friend void swap(ReleaseCollectionRequest& a, ReleaseCollectionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ReleaseCollectionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ReleaseCollectionRequest* New() const final {
|
|
return CreateMaybeMessage<ReleaseCollectionRequest>(nullptr);
|
|
}
|
|
|
|
ReleaseCollectionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ReleaseCollectionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ReleaseCollectionRequest& from);
|
|
void MergeFrom(const ReleaseCollectionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ReleaseCollectionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.ReleaseCollectionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ReleaseCollectionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CollectionStatsRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.CollectionStatsRequest) */ {
|
|
public:
|
|
CollectionStatsRequest();
|
|
virtual ~CollectionStatsRequest();
|
|
|
|
CollectionStatsRequest(const CollectionStatsRequest& from);
|
|
CollectionStatsRequest(CollectionStatsRequest&& from) noexcept
|
|
: CollectionStatsRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline CollectionStatsRequest& operator=(const CollectionStatsRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline CollectionStatsRequest& operator=(CollectionStatsRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const CollectionStatsRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const CollectionStatsRequest* internal_default_instance() {
|
|
return reinterpret_cast<const CollectionStatsRequest*>(
|
|
&_CollectionStatsRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
9;
|
|
|
|
friend void swap(CollectionStatsRequest& a, CollectionStatsRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(CollectionStatsRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CollectionStatsRequest* New() const final {
|
|
return CreateMaybeMessage<CollectionStatsRequest>(nullptr);
|
|
}
|
|
|
|
CollectionStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<CollectionStatsRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const CollectionStatsRequest& from);
|
|
void MergeFrom(const CollectionStatsRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(CollectionStatsRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.CollectionStatsRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.CollectionStatsRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CollectionStatsResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.CollectionStatsResponse) */ {
|
|
public:
|
|
CollectionStatsResponse();
|
|
virtual ~CollectionStatsResponse();
|
|
|
|
CollectionStatsResponse(const CollectionStatsResponse& from);
|
|
CollectionStatsResponse(CollectionStatsResponse&& from) noexcept
|
|
: CollectionStatsResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline CollectionStatsResponse& operator=(const CollectionStatsResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline CollectionStatsResponse& operator=(CollectionStatsResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const CollectionStatsResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const CollectionStatsResponse* internal_default_instance() {
|
|
return reinterpret_cast<const CollectionStatsResponse*>(
|
|
&_CollectionStatsResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
10;
|
|
|
|
friend void swap(CollectionStatsResponse& a, CollectionStatsResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(CollectionStatsResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CollectionStatsResponse* New() const final {
|
|
return CreateMaybeMessage<CollectionStatsResponse>(nullptr);
|
|
}
|
|
|
|
CollectionStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<CollectionStatsResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const CollectionStatsResponse& from);
|
|
void MergeFrom(const CollectionStatsResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(CollectionStatsResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.CollectionStatsResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kStatsFieldNumber = 2,
|
|
kStatusFieldNumber = 1,
|
|
};
|
|
// repeated .milvus.proto.common.KeyValuePair stats = 2;
|
|
int stats_size() const;
|
|
void clear_stats();
|
|
::milvus::proto::common::KeyValuePair* mutable_stats(int index);
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
|
|
mutable_stats();
|
|
const ::milvus::proto::common::KeyValuePair& stats(int index) const;
|
|
::milvus::proto::common::KeyValuePair* add_stats();
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
|
|
stats() const;
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.CollectionStatsResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair > stats_;
|
|
::milvus::proto::common::Status* status_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ShowCollectionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ShowCollectionRequest) */ {
|
|
public:
|
|
ShowCollectionRequest();
|
|
virtual ~ShowCollectionRequest();
|
|
|
|
ShowCollectionRequest(const ShowCollectionRequest& from);
|
|
ShowCollectionRequest(ShowCollectionRequest&& from) noexcept
|
|
: ShowCollectionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ShowCollectionRequest& operator=(const ShowCollectionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ShowCollectionRequest& operator=(ShowCollectionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ShowCollectionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ShowCollectionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ShowCollectionRequest*>(
|
|
&_ShowCollectionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
11;
|
|
|
|
friend void swap(ShowCollectionRequest& a, ShowCollectionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ShowCollectionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ShowCollectionRequest* New() const final {
|
|
return CreateMaybeMessage<ShowCollectionRequest>(nullptr);
|
|
}
|
|
|
|
ShowCollectionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ShowCollectionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ShowCollectionRequest& from);
|
|
void MergeFrom(const ShowCollectionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ShowCollectionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.ShowCollectionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ShowCollectionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ShowCollectionResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ShowCollectionResponse) */ {
|
|
public:
|
|
ShowCollectionResponse();
|
|
virtual ~ShowCollectionResponse();
|
|
|
|
ShowCollectionResponse(const ShowCollectionResponse& from);
|
|
ShowCollectionResponse(ShowCollectionResponse&& from) noexcept
|
|
: ShowCollectionResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ShowCollectionResponse& operator=(const ShowCollectionResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ShowCollectionResponse& operator=(ShowCollectionResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ShowCollectionResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ShowCollectionResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ShowCollectionResponse*>(
|
|
&_ShowCollectionResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
12;
|
|
|
|
friend void swap(ShowCollectionResponse& a, ShowCollectionResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ShowCollectionResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ShowCollectionResponse* New() const final {
|
|
return CreateMaybeMessage<ShowCollectionResponse>(nullptr);
|
|
}
|
|
|
|
ShowCollectionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ShowCollectionResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ShowCollectionResponse& from);
|
|
void MergeFrom(const ShowCollectionResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ShowCollectionResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.ShowCollectionResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kCollectionNamesFieldNumber = 2,
|
|
kStatusFieldNumber = 1,
|
|
};
|
|
// repeated string collection_names = 2;
|
|
int collection_names_size() const;
|
|
void clear_collection_names();
|
|
const std::string& collection_names(int index) const;
|
|
std::string* mutable_collection_names(int index);
|
|
void set_collection_names(int index, const std::string& value);
|
|
void set_collection_names(int index, std::string&& value);
|
|
void set_collection_names(int index, const char* value);
|
|
void set_collection_names(int index, const char* value, size_t size);
|
|
std::string* add_collection_names();
|
|
void add_collection_names(const std::string& value);
|
|
void add_collection_names(std::string&& value);
|
|
void add_collection_names(const char* value);
|
|
void add_collection_names(const char* value, size_t size);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& collection_names() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_collection_names();
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ShowCollectionResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> collection_names_;
|
|
::milvus::proto::common::Status* status_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CreatePartitionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.CreatePartitionRequest) */ {
|
|
public:
|
|
CreatePartitionRequest();
|
|
virtual ~CreatePartitionRequest();
|
|
|
|
CreatePartitionRequest(const CreatePartitionRequest& from);
|
|
CreatePartitionRequest(CreatePartitionRequest&& from) noexcept
|
|
: CreatePartitionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline CreatePartitionRequest& operator=(const CreatePartitionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline CreatePartitionRequest& operator=(CreatePartitionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const CreatePartitionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const CreatePartitionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const CreatePartitionRequest*>(
|
|
&_CreatePartitionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
13;
|
|
|
|
friend void swap(CreatePartitionRequest& a, CreatePartitionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(CreatePartitionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CreatePartitionRequest* New() const final {
|
|
return CreateMaybeMessage<CreatePartitionRequest>(nullptr);
|
|
}
|
|
|
|
CreatePartitionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<CreatePartitionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const CreatePartitionRequest& from);
|
|
void MergeFrom(const CreatePartitionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(CreatePartitionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.CreatePartitionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kPartitionNameFieldNumber = 4,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string partition_name = 4;
|
|
void clear_partition_name();
|
|
const std::string& partition_name() const;
|
|
void set_partition_name(const std::string& value);
|
|
void set_partition_name(std::string&& value);
|
|
void set_partition_name(const char* value);
|
|
void set_partition_name(const char* value, size_t size);
|
|
std::string* mutable_partition_name();
|
|
std::string* release_partition_name();
|
|
void set_allocated_partition_name(std::string* partition_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.CreatePartitionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr partition_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DropPartitionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DropPartitionRequest) */ {
|
|
public:
|
|
DropPartitionRequest();
|
|
virtual ~DropPartitionRequest();
|
|
|
|
DropPartitionRequest(const DropPartitionRequest& from);
|
|
DropPartitionRequest(DropPartitionRequest&& from) noexcept
|
|
: DropPartitionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DropPartitionRequest& operator=(const DropPartitionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DropPartitionRequest& operator=(DropPartitionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const DropPartitionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DropPartitionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const DropPartitionRequest*>(
|
|
&_DropPartitionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
14;
|
|
|
|
friend void swap(DropPartitionRequest& a, DropPartitionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DropPartitionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DropPartitionRequest* New() const final {
|
|
return CreateMaybeMessage<DropPartitionRequest>(nullptr);
|
|
}
|
|
|
|
DropPartitionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<DropPartitionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const DropPartitionRequest& from);
|
|
void MergeFrom(const DropPartitionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DropPartitionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.DropPartitionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kPartitionNameFieldNumber = 4,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string partition_name = 4;
|
|
void clear_partition_name();
|
|
const std::string& partition_name() const;
|
|
void set_partition_name(const std::string& value);
|
|
void set_partition_name(std::string&& value);
|
|
void set_partition_name(const char* value);
|
|
void set_partition_name(const char* value, size_t size);
|
|
std::string* mutable_partition_name();
|
|
std::string* release_partition_name();
|
|
void set_allocated_partition_name(std::string* partition_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DropPartitionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr partition_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class HasPartitionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.HasPartitionRequest) */ {
|
|
public:
|
|
HasPartitionRequest();
|
|
virtual ~HasPartitionRequest();
|
|
|
|
HasPartitionRequest(const HasPartitionRequest& from);
|
|
HasPartitionRequest(HasPartitionRequest&& from) noexcept
|
|
: HasPartitionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline HasPartitionRequest& operator=(const HasPartitionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline HasPartitionRequest& operator=(HasPartitionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const HasPartitionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const HasPartitionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const HasPartitionRequest*>(
|
|
&_HasPartitionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
15;
|
|
|
|
friend void swap(HasPartitionRequest& a, HasPartitionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(HasPartitionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline HasPartitionRequest* New() const final {
|
|
return CreateMaybeMessage<HasPartitionRequest>(nullptr);
|
|
}
|
|
|
|
HasPartitionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<HasPartitionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const HasPartitionRequest& from);
|
|
void MergeFrom(const HasPartitionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(HasPartitionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.HasPartitionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kPartitionNameFieldNumber = 4,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string partition_name = 4;
|
|
void clear_partition_name();
|
|
const std::string& partition_name() const;
|
|
void set_partition_name(const std::string& value);
|
|
void set_partition_name(std::string&& value);
|
|
void set_partition_name(const char* value);
|
|
void set_partition_name(const char* value, size_t size);
|
|
std::string* mutable_partition_name();
|
|
std::string* release_partition_name();
|
|
void set_allocated_partition_name(std::string* partition_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.HasPartitionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr partition_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class LoadPartitonRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.LoadPartitonRequest) */ {
|
|
public:
|
|
LoadPartitonRequest();
|
|
virtual ~LoadPartitonRequest();
|
|
|
|
LoadPartitonRequest(const LoadPartitonRequest& from);
|
|
LoadPartitonRequest(LoadPartitonRequest&& from) noexcept
|
|
: LoadPartitonRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline LoadPartitonRequest& operator=(const LoadPartitonRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline LoadPartitonRequest& operator=(LoadPartitonRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const LoadPartitonRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const LoadPartitonRequest* internal_default_instance() {
|
|
return reinterpret_cast<const LoadPartitonRequest*>(
|
|
&_LoadPartitonRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
16;
|
|
|
|
friend void swap(LoadPartitonRequest& a, LoadPartitonRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(LoadPartitonRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline LoadPartitonRequest* New() const final {
|
|
return CreateMaybeMessage<LoadPartitonRequest>(nullptr);
|
|
}
|
|
|
|
LoadPartitonRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<LoadPartitonRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const LoadPartitonRequest& from);
|
|
void MergeFrom(const LoadPartitonRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(LoadPartitonRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.LoadPartitonRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kPartitionNamesFieldNumber = 4,
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// repeated string partition_names = 4;
|
|
int partition_names_size() const;
|
|
void clear_partition_names();
|
|
const std::string& partition_names(int index) const;
|
|
std::string* mutable_partition_names(int index);
|
|
void set_partition_names(int index, const std::string& value);
|
|
void set_partition_names(int index, std::string&& value);
|
|
void set_partition_names(int index, const char* value);
|
|
void set_partition_names(int index, const char* value, size_t size);
|
|
std::string* add_partition_names();
|
|
void add_partition_names(const std::string& value);
|
|
void add_partition_names(std::string&& value);
|
|
void add_partition_names(const char* value);
|
|
void add_partition_names(const char* value, size_t size);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& partition_names() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_partition_names();
|
|
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.LoadPartitonRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> partition_names_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ReleasePartitionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ReleasePartitionRequest) */ {
|
|
public:
|
|
ReleasePartitionRequest();
|
|
virtual ~ReleasePartitionRequest();
|
|
|
|
ReleasePartitionRequest(const ReleasePartitionRequest& from);
|
|
ReleasePartitionRequest(ReleasePartitionRequest&& from) noexcept
|
|
: ReleasePartitionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ReleasePartitionRequest& operator=(const ReleasePartitionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ReleasePartitionRequest& operator=(ReleasePartitionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ReleasePartitionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ReleasePartitionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ReleasePartitionRequest*>(
|
|
&_ReleasePartitionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
17;
|
|
|
|
friend void swap(ReleasePartitionRequest& a, ReleasePartitionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ReleasePartitionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ReleasePartitionRequest* New() const final {
|
|
return CreateMaybeMessage<ReleasePartitionRequest>(nullptr);
|
|
}
|
|
|
|
ReleasePartitionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ReleasePartitionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ReleasePartitionRequest& from);
|
|
void MergeFrom(const ReleasePartitionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ReleasePartitionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.ReleasePartitionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kPartitionNamesFieldNumber = 4,
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// repeated string partition_names = 4;
|
|
int partition_names_size() const;
|
|
void clear_partition_names();
|
|
const std::string& partition_names(int index) const;
|
|
std::string* mutable_partition_names(int index);
|
|
void set_partition_names(int index, const std::string& value);
|
|
void set_partition_names(int index, std::string&& value);
|
|
void set_partition_names(int index, const char* value);
|
|
void set_partition_names(int index, const char* value, size_t size);
|
|
std::string* add_partition_names();
|
|
void add_partition_names(const std::string& value);
|
|
void add_partition_names(std::string&& value);
|
|
void add_partition_names(const char* value);
|
|
void add_partition_names(const char* value, size_t size);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& partition_names() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_partition_names();
|
|
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ReleasePartitionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> partition_names_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PartitionStatsRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.PartitionStatsRequest) */ {
|
|
public:
|
|
PartitionStatsRequest();
|
|
virtual ~PartitionStatsRequest();
|
|
|
|
PartitionStatsRequest(const PartitionStatsRequest& from);
|
|
PartitionStatsRequest(PartitionStatsRequest&& from) noexcept
|
|
: PartitionStatsRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline PartitionStatsRequest& operator=(const PartitionStatsRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PartitionStatsRequest& operator=(PartitionStatsRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const PartitionStatsRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const PartitionStatsRequest* internal_default_instance() {
|
|
return reinterpret_cast<const PartitionStatsRequest*>(
|
|
&_PartitionStatsRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
18;
|
|
|
|
friend void swap(PartitionStatsRequest& a, PartitionStatsRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(PartitionStatsRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline PartitionStatsRequest* New() const final {
|
|
return CreateMaybeMessage<PartitionStatsRequest>(nullptr);
|
|
}
|
|
|
|
PartitionStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<PartitionStatsRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const PartitionStatsRequest& from);
|
|
void MergeFrom(const PartitionStatsRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(PartitionStatsRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.PartitionStatsRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kPartitionNameFieldNumber = 4,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string partition_name = 4;
|
|
void clear_partition_name();
|
|
const std::string& partition_name() const;
|
|
void set_partition_name(const std::string& value);
|
|
void set_partition_name(std::string&& value);
|
|
void set_partition_name(const char* value);
|
|
void set_partition_name(const char* value, size_t size);
|
|
std::string* mutable_partition_name();
|
|
std::string* release_partition_name();
|
|
void set_allocated_partition_name(std::string* partition_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.PartitionStatsRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr partition_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PartitionStatsResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.PartitionStatsResponse) */ {
|
|
public:
|
|
PartitionStatsResponse();
|
|
virtual ~PartitionStatsResponse();
|
|
|
|
PartitionStatsResponse(const PartitionStatsResponse& from);
|
|
PartitionStatsResponse(PartitionStatsResponse&& from) noexcept
|
|
: PartitionStatsResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline PartitionStatsResponse& operator=(const PartitionStatsResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PartitionStatsResponse& operator=(PartitionStatsResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const PartitionStatsResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const PartitionStatsResponse* internal_default_instance() {
|
|
return reinterpret_cast<const PartitionStatsResponse*>(
|
|
&_PartitionStatsResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
19;
|
|
|
|
friend void swap(PartitionStatsResponse& a, PartitionStatsResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(PartitionStatsResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline PartitionStatsResponse* New() const final {
|
|
return CreateMaybeMessage<PartitionStatsResponse>(nullptr);
|
|
}
|
|
|
|
PartitionStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<PartitionStatsResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const PartitionStatsResponse& from);
|
|
void MergeFrom(const PartitionStatsResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(PartitionStatsResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.PartitionStatsResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kStatsFieldNumber = 2,
|
|
kStatusFieldNumber = 1,
|
|
};
|
|
// repeated .milvus.proto.common.KeyValuePair stats = 2;
|
|
int stats_size() const;
|
|
void clear_stats();
|
|
::milvus::proto::common::KeyValuePair* mutable_stats(int index);
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
|
|
mutable_stats();
|
|
const ::milvus::proto::common::KeyValuePair& stats(int index) const;
|
|
::milvus::proto::common::KeyValuePair* add_stats();
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
|
|
stats() const;
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.PartitionStatsResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair > stats_;
|
|
::milvus::proto::common::Status* status_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ShowPartitionRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ShowPartitionRequest) */ {
|
|
public:
|
|
ShowPartitionRequest();
|
|
virtual ~ShowPartitionRequest();
|
|
|
|
ShowPartitionRequest(const ShowPartitionRequest& from);
|
|
ShowPartitionRequest(ShowPartitionRequest&& from) noexcept
|
|
: ShowPartitionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ShowPartitionRequest& operator=(const ShowPartitionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ShowPartitionRequest& operator=(ShowPartitionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ShowPartitionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ShowPartitionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ShowPartitionRequest*>(
|
|
&_ShowPartitionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
20;
|
|
|
|
friend void swap(ShowPartitionRequest& a, ShowPartitionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ShowPartitionRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ShowPartitionRequest* New() const final {
|
|
return CreateMaybeMessage<ShowPartitionRequest>(nullptr);
|
|
}
|
|
|
|
ShowPartitionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ShowPartitionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ShowPartitionRequest& from);
|
|
void MergeFrom(const ShowPartitionRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ShowPartitionRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.ShowPartitionRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
kCollectionIDFieldNumber = 4,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// int64 collectionID = 4;
|
|
void clear_collectionid();
|
|
::PROTOBUF_NAMESPACE_ID::int64 collectionid() const;
|
|
void set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ShowPartitionRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
::PROTOBUF_NAMESPACE_ID::int64 collectionid_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ShowPartitionResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ShowPartitionResponse) */ {
|
|
public:
|
|
ShowPartitionResponse();
|
|
virtual ~ShowPartitionResponse();
|
|
|
|
ShowPartitionResponse(const ShowPartitionResponse& from);
|
|
ShowPartitionResponse(ShowPartitionResponse&& from) noexcept
|
|
: ShowPartitionResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ShowPartitionResponse& operator=(const ShowPartitionResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ShowPartitionResponse& operator=(ShowPartitionResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ShowPartitionResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ShowPartitionResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ShowPartitionResponse*>(
|
|
&_ShowPartitionResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
21;
|
|
|
|
friend void swap(ShowPartitionResponse& a, ShowPartitionResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ShowPartitionResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ShowPartitionResponse* New() const final {
|
|
return CreateMaybeMessage<ShowPartitionResponse>(nullptr);
|
|
}
|
|
|
|
ShowPartitionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ShowPartitionResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ShowPartitionResponse& from);
|
|
void MergeFrom(const ShowPartitionResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ShowPartitionResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.ShowPartitionResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kPartitionNamesFieldNumber = 2,
|
|
kPartitionIDsFieldNumber = 3,
|
|
kStatusFieldNumber = 1,
|
|
};
|
|
// repeated string partition_names = 2;
|
|
int partition_names_size() const;
|
|
void clear_partition_names();
|
|
const std::string& partition_names(int index) const;
|
|
std::string* mutable_partition_names(int index);
|
|
void set_partition_names(int index, const std::string& value);
|
|
void set_partition_names(int index, std::string&& value);
|
|
void set_partition_names(int index, const char* value);
|
|
void set_partition_names(int index, const char* value, size_t size);
|
|
std::string* add_partition_names();
|
|
void add_partition_names(const std::string& value);
|
|
void add_partition_names(std::string&& value);
|
|
void add_partition_names(const char* value);
|
|
void add_partition_names(const char* value, size_t size);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& partition_names() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_partition_names();
|
|
|
|
// repeated int64 partitionIDs = 3;
|
|
int partitionids_size() const;
|
|
void clear_partitionids();
|
|
::PROTOBUF_NAMESPACE_ID::int64 partitionids(int index) const;
|
|
void set_partitionids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
void add_partitionids(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
|
|
partitionids() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
|
|
mutable_partitionids();
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ShowPartitionResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> partition_names_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > partitionids_;
|
|
mutable std::atomic<int> _partitionids_cached_byte_size_;
|
|
::milvus::proto::common::Status* status_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DescribeSegmentRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DescribeSegmentRequest) */ {
|
|
public:
|
|
DescribeSegmentRequest();
|
|
virtual ~DescribeSegmentRequest();
|
|
|
|
DescribeSegmentRequest(const DescribeSegmentRequest& from);
|
|
DescribeSegmentRequest(DescribeSegmentRequest&& from) noexcept
|
|
: DescribeSegmentRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DescribeSegmentRequest& operator=(const DescribeSegmentRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DescribeSegmentRequest& operator=(DescribeSegmentRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const DescribeSegmentRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DescribeSegmentRequest* internal_default_instance() {
|
|
return reinterpret_cast<const DescribeSegmentRequest*>(
|
|
&_DescribeSegmentRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
22;
|
|
|
|
friend void swap(DescribeSegmentRequest& a, DescribeSegmentRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DescribeSegmentRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DescribeSegmentRequest* New() const final {
|
|
return CreateMaybeMessage<DescribeSegmentRequest>(nullptr);
|
|
}
|
|
|
|
DescribeSegmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<DescribeSegmentRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const DescribeSegmentRequest& from);
|
|
void MergeFrom(const DescribeSegmentRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DescribeSegmentRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.DescribeSegmentRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kBaseFieldNumber = 1,
|
|
kCollectionIDFieldNumber = 2,
|
|
kSegmentIDFieldNumber = 3,
|
|
};
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// int64 collectionID = 2;
|
|
void clear_collectionid();
|
|
::PROTOBUF_NAMESPACE_ID::int64 collectionid() const;
|
|
void set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
|
|
// int64 segmentID = 3;
|
|
void clear_segmentid();
|
|
::PROTOBUF_NAMESPACE_ID::int64 segmentid() const;
|
|
void set_segmentid(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeSegmentRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
::PROTOBUF_NAMESPACE_ID::int64 collectionid_;
|
|
::PROTOBUF_NAMESPACE_ID::int64 segmentid_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DescribeSegmentResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DescribeSegmentResponse) */ {
|
|
public:
|
|
DescribeSegmentResponse();
|
|
virtual ~DescribeSegmentResponse();
|
|
|
|
DescribeSegmentResponse(const DescribeSegmentResponse& from);
|
|
DescribeSegmentResponse(DescribeSegmentResponse&& from) noexcept
|
|
: DescribeSegmentResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DescribeSegmentResponse& operator=(const DescribeSegmentResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DescribeSegmentResponse& operator=(DescribeSegmentResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const DescribeSegmentResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DescribeSegmentResponse* internal_default_instance() {
|
|
return reinterpret_cast<const DescribeSegmentResponse*>(
|
|
&_DescribeSegmentResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
23;
|
|
|
|
friend void swap(DescribeSegmentResponse& a, DescribeSegmentResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DescribeSegmentResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DescribeSegmentResponse* New() const final {
|
|
return CreateMaybeMessage<DescribeSegmentResponse>(nullptr);
|
|
}
|
|
|
|
DescribeSegmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<DescribeSegmentResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const DescribeSegmentResponse& from);
|
|
void MergeFrom(const DescribeSegmentResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DescribeSegmentResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.DescribeSegmentResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kStatusFieldNumber = 1,
|
|
kIndexIDFieldNumber = 2,
|
|
};
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// int64 indexID = 2;
|
|
void clear_indexid();
|
|
::PROTOBUF_NAMESPACE_ID::int64 indexid() const;
|
|
void set_indexid(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeSegmentResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::milvus::proto::common::Status* status_;
|
|
::PROTOBUF_NAMESPACE_ID::int64 indexid_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ShowSegmentRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ShowSegmentRequest) */ {
|
|
public:
|
|
ShowSegmentRequest();
|
|
virtual ~ShowSegmentRequest();
|
|
|
|
ShowSegmentRequest(const ShowSegmentRequest& from);
|
|
ShowSegmentRequest(ShowSegmentRequest&& from) noexcept
|
|
: ShowSegmentRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ShowSegmentRequest& operator=(const ShowSegmentRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ShowSegmentRequest& operator=(ShowSegmentRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ShowSegmentRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ShowSegmentRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ShowSegmentRequest*>(
|
|
&_ShowSegmentRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
24;
|
|
|
|
friend void swap(ShowSegmentRequest& a, ShowSegmentRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ShowSegmentRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ShowSegmentRequest* New() const final {
|
|
return CreateMaybeMessage<ShowSegmentRequest>(nullptr);
|
|
}
|
|
|
|
ShowSegmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ShowSegmentRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ShowSegmentRequest& from);
|
|
void MergeFrom(const ShowSegmentRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ShowSegmentRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.ShowSegmentRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kBaseFieldNumber = 1,
|
|
kCollectionIDFieldNumber = 2,
|
|
kPartitionIDFieldNumber = 3,
|
|
};
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// int64 collectionID = 2;
|
|
void clear_collectionid();
|
|
::PROTOBUF_NAMESPACE_ID::int64 collectionid() const;
|
|
void set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
|
|
// int64 partitionID = 3;
|
|
void clear_partitionid();
|
|
::PROTOBUF_NAMESPACE_ID::int64 partitionid() const;
|
|
void set_partitionid(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ShowSegmentRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
::PROTOBUF_NAMESPACE_ID::int64 collectionid_;
|
|
::PROTOBUF_NAMESPACE_ID::int64 partitionid_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ShowSegmentResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ShowSegmentResponse) */ {
|
|
public:
|
|
ShowSegmentResponse();
|
|
virtual ~ShowSegmentResponse();
|
|
|
|
ShowSegmentResponse(const ShowSegmentResponse& from);
|
|
ShowSegmentResponse(ShowSegmentResponse&& from) noexcept
|
|
: ShowSegmentResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ShowSegmentResponse& operator=(const ShowSegmentResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ShowSegmentResponse& operator=(ShowSegmentResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ShowSegmentResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ShowSegmentResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ShowSegmentResponse*>(
|
|
&_ShowSegmentResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
25;
|
|
|
|
friend void swap(ShowSegmentResponse& a, ShowSegmentResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ShowSegmentResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ShowSegmentResponse* New() const final {
|
|
return CreateMaybeMessage<ShowSegmentResponse>(nullptr);
|
|
}
|
|
|
|
ShowSegmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ShowSegmentResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ShowSegmentResponse& from);
|
|
void MergeFrom(const ShowSegmentResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ShowSegmentResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.ShowSegmentResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kSegmentIDsFieldNumber = 2,
|
|
kStatusFieldNumber = 1,
|
|
};
|
|
// repeated int64 segmentIDs = 2;
|
|
int segmentids_size() const;
|
|
void clear_segmentids();
|
|
::PROTOBUF_NAMESPACE_ID::int64 segmentids(int index) const;
|
|
void set_segmentids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
void add_segmentids(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
|
|
segmentids() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
|
|
mutable_segmentids();
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ShowSegmentResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > segmentids_;
|
|
mutable std::atomic<int> _segmentids_cached_byte_size_;
|
|
::milvus::proto::common::Status* status_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CreateIndexRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.CreateIndexRequest) */ {
|
|
public:
|
|
CreateIndexRequest();
|
|
virtual ~CreateIndexRequest();
|
|
|
|
CreateIndexRequest(const CreateIndexRequest& from);
|
|
CreateIndexRequest(CreateIndexRequest&& from) noexcept
|
|
: CreateIndexRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline CreateIndexRequest& operator=(const CreateIndexRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline CreateIndexRequest& operator=(CreateIndexRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const CreateIndexRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const CreateIndexRequest* internal_default_instance() {
|
|
return reinterpret_cast<const CreateIndexRequest*>(
|
|
&_CreateIndexRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
26;
|
|
|
|
friend void swap(CreateIndexRequest& a, CreateIndexRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(CreateIndexRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CreateIndexRequest* New() const final {
|
|
return CreateMaybeMessage<CreateIndexRequest>(nullptr);
|
|
}
|
|
|
|
CreateIndexRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<CreateIndexRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const CreateIndexRequest& from);
|
|
void MergeFrom(const CreateIndexRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(CreateIndexRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.CreateIndexRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kExtraParamsFieldNumber = 5,
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kFieldNameFieldNumber = 4,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
|
|
int extra_params_size() const;
|
|
void clear_extra_params();
|
|
::milvus::proto::common::KeyValuePair* mutable_extra_params(int index);
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
|
|
mutable_extra_params();
|
|
const ::milvus::proto::common::KeyValuePair& extra_params(int index) const;
|
|
::milvus::proto::common::KeyValuePair* add_extra_params();
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
|
|
extra_params() const;
|
|
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string field_name = 4;
|
|
void clear_field_name();
|
|
const std::string& field_name() const;
|
|
void set_field_name(const std::string& value);
|
|
void set_field_name(std::string&& value);
|
|
void set_field_name(const char* value);
|
|
void set_field_name(const char* value, size_t size);
|
|
std::string* mutable_field_name();
|
|
std::string* release_field_name();
|
|
void set_allocated_field_name(std::string* field_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.CreateIndexRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair > extra_params_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DescribeIndexRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DescribeIndexRequest) */ {
|
|
public:
|
|
DescribeIndexRequest();
|
|
virtual ~DescribeIndexRequest();
|
|
|
|
DescribeIndexRequest(const DescribeIndexRequest& from);
|
|
DescribeIndexRequest(DescribeIndexRequest&& from) noexcept
|
|
: DescribeIndexRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DescribeIndexRequest& operator=(const DescribeIndexRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DescribeIndexRequest& operator=(DescribeIndexRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const DescribeIndexRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DescribeIndexRequest* internal_default_instance() {
|
|
return reinterpret_cast<const DescribeIndexRequest*>(
|
|
&_DescribeIndexRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
27;
|
|
|
|
friend void swap(DescribeIndexRequest& a, DescribeIndexRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DescribeIndexRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DescribeIndexRequest* New() const final {
|
|
return CreateMaybeMessage<DescribeIndexRequest>(nullptr);
|
|
}
|
|
|
|
DescribeIndexRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<DescribeIndexRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const DescribeIndexRequest& from);
|
|
void MergeFrom(const DescribeIndexRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DescribeIndexRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.DescribeIndexRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kFieldNameFieldNumber = 4,
|
|
kIndexNameFieldNumber = 5,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string field_name = 4;
|
|
void clear_field_name();
|
|
const std::string& field_name() const;
|
|
void set_field_name(const std::string& value);
|
|
void set_field_name(std::string&& value);
|
|
void set_field_name(const char* value);
|
|
void set_field_name(const char* value, size_t size);
|
|
std::string* mutable_field_name();
|
|
std::string* release_field_name();
|
|
void set_allocated_field_name(std::string* field_name);
|
|
|
|
// string index_name = 5;
|
|
void clear_index_name();
|
|
const std::string& index_name() const;
|
|
void set_index_name(const std::string& value);
|
|
void set_index_name(std::string&& value);
|
|
void set_index_name(const char* value);
|
|
void set_index_name(const char* value, size_t size);
|
|
std::string* mutable_index_name();
|
|
std::string* release_index_name();
|
|
void set_allocated_index_name(std::string* index_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeIndexRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr index_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class IndexDescription :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.IndexDescription) */ {
|
|
public:
|
|
IndexDescription();
|
|
virtual ~IndexDescription();
|
|
|
|
IndexDescription(const IndexDescription& from);
|
|
IndexDescription(IndexDescription&& from) noexcept
|
|
: IndexDescription() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline IndexDescription& operator=(const IndexDescription& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline IndexDescription& operator=(IndexDescription&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const IndexDescription& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const IndexDescription* internal_default_instance() {
|
|
return reinterpret_cast<const IndexDescription*>(
|
|
&_IndexDescription_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
28;
|
|
|
|
friend void swap(IndexDescription& a, IndexDescription& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(IndexDescription* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline IndexDescription* New() const final {
|
|
return CreateMaybeMessage<IndexDescription>(nullptr);
|
|
}
|
|
|
|
IndexDescription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<IndexDescription>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const IndexDescription& from);
|
|
void MergeFrom(const IndexDescription& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(IndexDescription* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.IndexDescription";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kParamsFieldNumber = 2,
|
|
kIndexNameFieldNumber = 1,
|
|
};
|
|
// repeated .milvus.proto.common.KeyValuePair params = 2;
|
|
int params_size() const;
|
|
void clear_params();
|
|
::milvus::proto::common::KeyValuePair* mutable_params(int index);
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
|
|
mutable_params();
|
|
const ::milvus::proto::common::KeyValuePair& params(int index) const;
|
|
::milvus::proto::common::KeyValuePair* add_params();
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
|
|
params() const;
|
|
|
|
// string index_name = 1;
|
|
void clear_index_name();
|
|
const std::string& index_name() const;
|
|
void set_index_name(const std::string& value);
|
|
void set_index_name(std::string&& value);
|
|
void set_index_name(const char* value);
|
|
void set_index_name(const char* value, size_t size);
|
|
std::string* mutable_index_name();
|
|
std::string* release_index_name();
|
|
void set_allocated_index_name(std::string* index_name);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.IndexDescription)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair > params_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr index_name_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DescribeIndexResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DescribeIndexResponse) */ {
|
|
public:
|
|
DescribeIndexResponse();
|
|
virtual ~DescribeIndexResponse();
|
|
|
|
DescribeIndexResponse(const DescribeIndexResponse& from);
|
|
DescribeIndexResponse(DescribeIndexResponse&& from) noexcept
|
|
: DescribeIndexResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DescribeIndexResponse& operator=(const DescribeIndexResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DescribeIndexResponse& operator=(DescribeIndexResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const DescribeIndexResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DescribeIndexResponse* internal_default_instance() {
|
|
return reinterpret_cast<const DescribeIndexResponse*>(
|
|
&_DescribeIndexResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
29;
|
|
|
|
friend void swap(DescribeIndexResponse& a, DescribeIndexResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DescribeIndexResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DescribeIndexResponse* New() const final {
|
|
return CreateMaybeMessage<DescribeIndexResponse>(nullptr);
|
|
}
|
|
|
|
DescribeIndexResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<DescribeIndexResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const DescribeIndexResponse& from);
|
|
void MergeFrom(const DescribeIndexResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DescribeIndexResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.DescribeIndexResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kIndexDescriptionsFieldNumber = 2,
|
|
kStatusFieldNumber = 1,
|
|
};
|
|
// repeated .milvus.proto.milvus.IndexDescription index_descriptions = 2;
|
|
int index_descriptions_size() const;
|
|
void clear_index_descriptions();
|
|
::milvus::proto::milvus::IndexDescription* mutable_index_descriptions(int index);
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::IndexDescription >*
|
|
mutable_index_descriptions();
|
|
const ::milvus::proto::milvus::IndexDescription& index_descriptions(int index) const;
|
|
::milvus::proto::milvus::IndexDescription* add_index_descriptions();
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::IndexDescription >&
|
|
index_descriptions() const;
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeIndexResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::IndexDescription > index_descriptions_;
|
|
::milvus::proto::common::Status* status_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class IndexStateRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.IndexStateRequest) */ {
|
|
public:
|
|
IndexStateRequest();
|
|
virtual ~IndexStateRequest();
|
|
|
|
IndexStateRequest(const IndexStateRequest& from);
|
|
IndexStateRequest(IndexStateRequest&& from) noexcept
|
|
: IndexStateRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline IndexStateRequest& operator=(const IndexStateRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline IndexStateRequest& operator=(IndexStateRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const IndexStateRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const IndexStateRequest* internal_default_instance() {
|
|
return reinterpret_cast<const IndexStateRequest*>(
|
|
&_IndexStateRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
30;
|
|
|
|
friend void swap(IndexStateRequest& a, IndexStateRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(IndexStateRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline IndexStateRequest* New() const final {
|
|
return CreateMaybeMessage<IndexStateRequest>(nullptr);
|
|
}
|
|
|
|
IndexStateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<IndexStateRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const IndexStateRequest& from);
|
|
void MergeFrom(const IndexStateRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(IndexStateRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.IndexStateRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kFieldNameFieldNumber = 4,
|
|
kIndexNameFieldNumber = 5,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string field_name = 4;
|
|
void clear_field_name();
|
|
const std::string& field_name() const;
|
|
void set_field_name(const std::string& value);
|
|
void set_field_name(std::string&& value);
|
|
void set_field_name(const char* value);
|
|
void set_field_name(const char* value, size_t size);
|
|
std::string* mutable_field_name();
|
|
std::string* release_field_name();
|
|
void set_allocated_field_name(std::string* field_name);
|
|
|
|
// string index_name = 5;
|
|
void clear_index_name();
|
|
const std::string& index_name() const;
|
|
void set_index_name(const std::string& value);
|
|
void set_index_name(std::string&& value);
|
|
void set_index_name(const char* value);
|
|
void set_index_name(const char* value, size_t size);
|
|
std::string* mutable_index_name();
|
|
std::string* release_index_name();
|
|
void set_allocated_index_name(std::string* index_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.IndexStateRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr index_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class IndexStateResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.IndexStateResponse) */ {
|
|
public:
|
|
IndexStateResponse();
|
|
virtual ~IndexStateResponse();
|
|
|
|
IndexStateResponse(const IndexStateResponse& from);
|
|
IndexStateResponse(IndexStateResponse&& from) noexcept
|
|
: IndexStateResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline IndexStateResponse& operator=(const IndexStateResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline IndexStateResponse& operator=(IndexStateResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const IndexStateResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const IndexStateResponse* internal_default_instance() {
|
|
return reinterpret_cast<const IndexStateResponse*>(
|
|
&_IndexStateResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
31;
|
|
|
|
friend void swap(IndexStateResponse& a, IndexStateResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(IndexStateResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline IndexStateResponse* New() const final {
|
|
return CreateMaybeMessage<IndexStateResponse>(nullptr);
|
|
}
|
|
|
|
IndexStateResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<IndexStateResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const IndexStateResponse& from);
|
|
void MergeFrom(const IndexStateResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(IndexStateResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.IndexStateResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kStatusFieldNumber = 1,
|
|
kStateFieldNumber = 2,
|
|
};
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// .milvus.proto.common.IndexState state = 2;
|
|
void clear_state();
|
|
::milvus::proto::common::IndexState state() const;
|
|
void set_state(::milvus::proto::common::IndexState value);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.IndexStateResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::milvus::proto::common::Status* status_;
|
|
int state_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class InsertRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.InsertRequest) */ {
|
|
public:
|
|
InsertRequest();
|
|
virtual ~InsertRequest();
|
|
|
|
InsertRequest(const InsertRequest& from);
|
|
InsertRequest(InsertRequest&& from) noexcept
|
|
: InsertRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline InsertRequest& operator=(const InsertRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline InsertRequest& operator=(InsertRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const InsertRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const InsertRequest* internal_default_instance() {
|
|
return reinterpret_cast<const InsertRequest*>(
|
|
&_InsertRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
32;
|
|
|
|
friend void swap(InsertRequest& a, InsertRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(InsertRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline InsertRequest* New() const final {
|
|
return CreateMaybeMessage<InsertRequest>(nullptr);
|
|
}
|
|
|
|
InsertRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<InsertRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const InsertRequest& from);
|
|
void MergeFrom(const InsertRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(InsertRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.InsertRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kRowDataFieldNumber = 5,
|
|
kHashKeysFieldNumber = 6,
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kPartitionNameFieldNumber = 4,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// repeated .milvus.proto.common.Blob row_data = 5;
|
|
int row_data_size() const;
|
|
void clear_row_data();
|
|
::milvus::proto::common::Blob* mutable_row_data(int index);
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::Blob >*
|
|
mutable_row_data();
|
|
const ::milvus::proto::common::Blob& row_data(int index) const;
|
|
::milvus::proto::common::Blob* add_row_data();
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::Blob >&
|
|
row_data() const;
|
|
|
|
// repeated uint32 hash_keys = 6;
|
|
int hash_keys_size() const;
|
|
void clear_hash_keys();
|
|
::PROTOBUF_NAMESPACE_ID::uint32 hash_keys(int index) const;
|
|
void set_hash_keys(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value);
|
|
void add_hash_keys(::PROTOBUF_NAMESPACE_ID::uint32 value);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
|
|
hash_keys() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
|
|
mutable_hash_keys();
|
|
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string partition_name = 4;
|
|
void clear_partition_name();
|
|
const std::string& partition_name() const;
|
|
void set_partition_name(const std::string& value);
|
|
void set_partition_name(std::string&& value);
|
|
void set_partition_name(const char* value);
|
|
void set_partition_name(const char* value, size_t size);
|
|
std::string* mutable_partition_name();
|
|
std::string* release_partition_name();
|
|
void set_allocated_partition_name(std::string* partition_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.InsertRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::Blob > row_data_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > hash_keys_;
|
|
mutable std::atomic<int> _hash_keys_cached_byte_size_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr partition_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class InsertResponse :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.InsertResponse) */ {
|
|
public:
|
|
InsertResponse();
|
|
virtual ~InsertResponse();
|
|
|
|
InsertResponse(const InsertResponse& from);
|
|
InsertResponse(InsertResponse&& from) noexcept
|
|
: InsertResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline InsertResponse& operator=(const InsertResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline InsertResponse& operator=(InsertResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const InsertResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const InsertResponse* internal_default_instance() {
|
|
return reinterpret_cast<const InsertResponse*>(
|
|
&_InsertResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
33;
|
|
|
|
friend void swap(InsertResponse& a, InsertResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(InsertResponse* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline InsertResponse* New() const final {
|
|
return CreateMaybeMessage<InsertResponse>(nullptr);
|
|
}
|
|
|
|
InsertResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<InsertResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const InsertResponse& from);
|
|
void MergeFrom(const InsertResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(InsertResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.InsertResponse";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kStatusFieldNumber = 1,
|
|
kRowIDBeginFieldNumber = 2,
|
|
kRowIDEndFieldNumber = 3,
|
|
};
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// int64 rowID_begin = 2;
|
|
void clear_rowid_begin();
|
|
::PROTOBUF_NAMESPACE_ID::int64 rowid_begin() const;
|
|
void set_rowid_begin(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
|
|
// int64 rowID_end = 3;
|
|
void clear_rowid_end();
|
|
::PROTOBUF_NAMESPACE_ID::int64 rowid_end() const;
|
|
void set_rowid_end(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.InsertResponse)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::milvus::proto::common::Status* status_;
|
|
::PROTOBUF_NAMESPACE_ID::int64 rowid_begin_;
|
|
::PROTOBUF_NAMESPACE_ID::int64 rowid_end_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PlaceholderValue :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.PlaceholderValue) */ {
|
|
public:
|
|
PlaceholderValue();
|
|
virtual ~PlaceholderValue();
|
|
|
|
PlaceholderValue(const PlaceholderValue& from);
|
|
PlaceholderValue(PlaceholderValue&& from) noexcept
|
|
: PlaceholderValue() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline PlaceholderValue& operator=(const PlaceholderValue& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PlaceholderValue& operator=(PlaceholderValue&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const PlaceholderValue& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const PlaceholderValue* internal_default_instance() {
|
|
return reinterpret_cast<const PlaceholderValue*>(
|
|
&_PlaceholderValue_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
34;
|
|
|
|
friend void swap(PlaceholderValue& a, PlaceholderValue& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(PlaceholderValue* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline PlaceholderValue* New() const final {
|
|
return CreateMaybeMessage<PlaceholderValue>(nullptr);
|
|
}
|
|
|
|
PlaceholderValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<PlaceholderValue>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const PlaceholderValue& from);
|
|
void MergeFrom(const PlaceholderValue& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(PlaceholderValue* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.PlaceholderValue";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kValuesFieldNumber = 3,
|
|
kTagFieldNumber = 1,
|
|
kTypeFieldNumber = 2,
|
|
};
|
|
// repeated bytes values = 3;
|
|
int values_size() const;
|
|
void clear_values();
|
|
const std::string& values(int index) const;
|
|
std::string* mutable_values(int index);
|
|
void set_values(int index, const std::string& value);
|
|
void set_values(int index, std::string&& value);
|
|
void set_values(int index, const char* value);
|
|
void set_values(int index, const void* value, size_t size);
|
|
std::string* add_values();
|
|
void add_values(const std::string& value);
|
|
void add_values(std::string&& value);
|
|
void add_values(const char* value);
|
|
void add_values(const void* value, size_t size);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& values() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_values();
|
|
|
|
// string tag = 1;
|
|
void clear_tag();
|
|
const std::string& tag() const;
|
|
void set_tag(const std::string& value);
|
|
void set_tag(std::string&& value);
|
|
void set_tag(const char* value);
|
|
void set_tag(const char* value, size_t size);
|
|
std::string* mutable_tag();
|
|
std::string* release_tag();
|
|
void set_allocated_tag(std::string* tag);
|
|
|
|
// .milvus.proto.milvus.PlaceholderType type = 2;
|
|
void clear_type();
|
|
::milvus::proto::milvus::PlaceholderType type() const;
|
|
void set_type(::milvus::proto::milvus::PlaceholderType value);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.PlaceholderValue)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> values_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_;
|
|
int type_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PlaceholderGroup :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.PlaceholderGroup) */ {
|
|
public:
|
|
PlaceholderGroup();
|
|
virtual ~PlaceholderGroup();
|
|
|
|
PlaceholderGroup(const PlaceholderGroup& from);
|
|
PlaceholderGroup(PlaceholderGroup&& from) noexcept
|
|
: PlaceholderGroup() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline PlaceholderGroup& operator=(const PlaceholderGroup& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PlaceholderGroup& operator=(PlaceholderGroup&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const PlaceholderGroup& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const PlaceholderGroup* internal_default_instance() {
|
|
return reinterpret_cast<const PlaceholderGroup*>(
|
|
&_PlaceholderGroup_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
35;
|
|
|
|
friend void swap(PlaceholderGroup& a, PlaceholderGroup& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(PlaceholderGroup* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline PlaceholderGroup* New() const final {
|
|
return CreateMaybeMessage<PlaceholderGroup>(nullptr);
|
|
}
|
|
|
|
PlaceholderGroup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<PlaceholderGroup>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const PlaceholderGroup& from);
|
|
void MergeFrom(const PlaceholderGroup& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(PlaceholderGroup* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.PlaceholderGroup";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kPlaceholdersFieldNumber = 1,
|
|
};
|
|
// repeated .milvus.proto.milvus.PlaceholderValue placeholders = 1;
|
|
int placeholders_size() const;
|
|
void clear_placeholders();
|
|
::milvus::proto::milvus::PlaceholderValue* mutable_placeholders(int index);
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::PlaceholderValue >*
|
|
mutable_placeholders();
|
|
const ::milvus::proto::milvus::PlaceholderValue& placeholders(int index) const;
|
|
::milvus::proto::milvus::PlaceholderValue* add_placeholders();
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::PlaceholderValue >&
|
|
placeholders() const;
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.PlaceholderGroup)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::PlaceholderValue > placeholders_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class SearchRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.SearchRequest) */ {
|
|
public:
|
|
SearchRequest();
|
|
virtual ~SearchRequest();
|
|
|
|
SearchRequest(const SearchRequest& from);
|
|
SearchRequest(SearchRequest&& from) noexcept
|
|
: SearchRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline SearchRequest& operator=(const SearchRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SearchRequest& operator=(SearchRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const SearchRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const SearchRequest* internal_default_instance() {
|
|
return reinterpret_cast<const SearchRequest*>(
|
|
&_SearchRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
36;
|
|
|
|
friend void swap(SearchRequest& a, SearchRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(SearchRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline SearchRequest* New() const final {
|
|
return CreateMaybeMessage<SearchRequest>(nullptr);
|
|
}
|
|
|
|
SearchRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<SearchRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const SearchRequest& from);
|
|
void MergeFrom(const SearchRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(SearchRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.SearchRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kPartitionNamesFieldNumber = 4,
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kDslFieldNumber = 5,
|
|
kPlaceholderGroupFieldNumber = 6,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// repeated string partition_names = 4;
|
|
int partition_names_size() const;
|
|
void clear_partition_names();
|
|
const std::string& partition_names(int index) const;
|
|
std::string* mutable_partition_names(int index);
|
|
void set_partition_names(int index, const std::string& value);
|
|
void set_partition_names(int index, std::string&& value);
|
|
void set_partition_names(int index, const char* value);
|
|
void set_partition_names(int index, const char* value, size_t size);
|
|
std::string* add_partition_names();
|
|
void add_partition_names(const std::string& value);
|
|
void add_partition_names(std::string&& value);
|
|
void add_partition_names(const char* value);
|
|
void add_partition_names(const char* value, size_t size);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& partition_names() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_partition_names();
|
|
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// string dsl = 5;
|
|
void clear_dsl();
|
|
const std::string& dsl() const;
|
|
void set_dsl(const std::string& value);
|
|
void set_dsl(std::string&& value);
|
|
void set_dsl(const char* value);
|
|
void set_dsl(const char* value, size_t size);
|
|
std::string* mutable_dsl();
|
|
std::string* release_dsl();
|
|
void set_allocated_dsl(std::string* dsl);
|
|
|
|
// bytes placeholder_group = 6;
|
|
void clear_placeholder_group();
|
|
const std::string& placeholder_group() const;
|
|
void set_placeholder_group(const std::string& value);
|
|
void set_placeholder_group(std::string&& value);
|
|
void set_placeholder_group(const char* value);
|
|
void set_placeholder_group(const void* value, size_t size);
|
|
std::string* mutable_placeholder_group();
|
|
std::string* release_placeholder_group();
|
|
void set_allocated_placeholder_group(std::string* placeholder_group);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.SearchRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> partition_names_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dsl_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr placeholder_group_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class Hits :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.Hits) */ {
|
|
public:
|
|
Hits();
|
|
virtual ~Hits();
|
|
|
|
Hits(const Hits& from);
|
|
Hits(Hits&& from) noexcept
|
|
: Hits() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline Hits& operator=(const Hits& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Hits& operator=(Hits&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const Hits& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const Hits* internal_default_instance() {
|
|
return reinterpret_cast<const Hits*>(
|
|
&_Hits_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
37;
|
|
|
|
friend void swap(Hits& a, Hits& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(Hits* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline Hits* New() const final {
|
|
return CreateMaybeMessage<Hits>(nullptr);
|
|
}
|
|
|
|
Hits* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<Hits>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const Hits& from);
|
|
void MergeFrom(const Hits& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(Hits* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.Hits";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kIDsFieldNumber = 1,
|
|
kRowDataFieldNumber = 2,
|
|
kScoresFieldNumber = 3,
|
|
};
|
|
// repeated int64 IDs = 1;
|
|
int ids_size() const;
|
|
void clear_ids();
|
|
::PROTOBUF_NAMESPACE_ID::int64 ids(int index) const;
|
|
void set_ids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
void add_ids(::PROTOBUF_NAMESPACE_ID::int64 value);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
|
|
ids() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
|
|
mutable_ids();
|
|
|
|
// repeated bytes row_data = 2;
|
|
int row_data_size() const;
|
|
void clear_row_data();
|
|
const std::string& row_data(int index) const;
|
|
std::string* mutable_row_data(int index);
|
|
void set_row_data(int index, const std::string& value);
|
|
void set_row_data(int index, std::string&& value);
|
|
void set_row_data(int index, const char* value);
|
|
void set_row_data(int index, const void* value, size_t size);
|
|
std::string* add_row_data();
|
|
void add_row_data(const std::string& value);
|
|
void add_row_data(std::string&& value);
|
|
void add_row_data(const char* value);
|
|
void add_row_data(const void* value, size_t size);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& row_data() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_row_data();
|
|
|
|
// repeated float scores = 3;
|
|
int scores_size() const;
|
|
void clear_scores();
|
|
float scores(int index) const;
|
|
void set_scores(int index, float value);
|
|
void add_scores(float value);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
|
|
scores() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
|
|
mutable_scores();
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.Hits)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > ids_;
|
|
mutable std::atomic<int> _ids_cached_byte_size_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> row_data_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< float > scores_;
|
|
mutable std::atomic<int> _scores_cached_byte_size_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class SearchResults :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.SearchResults) */ {
|
|
public:
|
|
SearchResults();
|
|
virtual ~SearchResults();
|
|
|
|
SearchResults(const SearchResults& from);
|
|
SearchResults(SearchResults&& from) noexcept
|
|
: SearchResults() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline SearchResults& operator=(const SearchResults& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SearchResults& operator=(SearchResults&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const SearchResults& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const SearchResults* internal_default_instance() {
|
|
return reinterpret_cast<const SearchResults*>(
|
|
&_SearchResults_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
38;
|
|
|
|
friend void swap(SearchResults& a, SearchResults& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(SearchResults* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline SearchResults* New() const final {
|
|
return CreateMaybeMessage<SearchResults>(nullptr);
|
|
}
|
|
|
|
SearchResults* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<SearchResults>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const SearchResults& from);
|
|
void MergeFrom(const SearchResults& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(SearchResults* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.SearchResults";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kHitsFieldNumber = 2,
|
|
kStatusFieldNumber = 1,
|
|
};
|
|
// repeated bytes hits = 2;
|
|
int hits_size() const;
|
|
void clear_hits();
|
|
const std::string& hits(int index) const;
|
|
std::string* mutable_hits(int index);
|
|
void set_hits(int index, const std::string& value);
|
|
void set_hits(int index, std::string&& value);
|
|
void set_hits(int index, const char* value);
|
|
void set_hits(int index, const void* value, size_t size);
|
|
std::string* add_hits();
|
|
void add_hits(const std::string& value);
|
|
void add_hits(std::string&& value);
|
|
void add_hits(const char* value);
|
|
void add_hits(const void* value, size_t size);
|
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& hits() const;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_hits();
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
bool has_status() const;
|
|
void clear_status();
|
|
const ::milvus::proto::common::Status& status() const;
|
|
::milvus::proto::common::Status* release_status();
|
|
::milvus::proto::common::Status* mutable_status();
|
|
void set_allocated_status(::milvus::proto::common::Status* status);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.SearchResults)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> hits_;
|
|
::milvus::proto::common::Status* status_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class FlushRequest :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.FlushRequest) */ {
|
|
public:
|
|
FlushRequest();
|
|
virtual ~FlushRequest();
|
|
|
|
FlushRequest(const FlushRequest& from);
|
|
FlushRequest(FlushRequest&& from) noexcept
|
|
: FlushRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline FlushRequest& operator=(const FlushRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline FlushRequest& operator=(FlushRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const FlushRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const FlushRequest* internal_default_instance() {
|
|
return reinterpret_cast<const FlushRequest*>(
|
|
&_FlushRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
39;
|
|
|
|
friend void swap(FlushRequest& a, FlushRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(FlushRequest* other) {
|
|
if (other == this) return;
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline FlushRequest* New() const final {
|
|
return CreateMaybeMessage<FlushRequest>(nullptr);
|
|
}
|
|
|
|
FlushRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<FlushRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const FlushRequest& from);
|
|
void MergeFrom(const FlushRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
#else
|
|
bool MergePartialFromCodedStream(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
|
|
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
void SerializeWithCachedSizes(
|
|
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(FlushRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "milvus.proto.milvus.FlushRequest";
|
|
}
|
|
private:
|
|
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
|
|
return nullptr;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return nullptr;
|
|
}
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto);
|
|
return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDbNameFieldNumber = 2,
|
|
kCollectionNameFieldNumber = 3,
|
|
kBaseFieldNumber = 1,
|
|
};
|
|
// string db_name = 2;
|
|
void clear_db_name();
|
|
const std::string& db_name() const;
|
|
void set_db_name(const std::string& value);
|
|
void set_db_name(std::string&& value);
|
|
void set_db_name(const char* value);
|
|
void set_db_name(const char* value, size_t size);
|
|
std::string* mutable_db_name();
|
|
std::string* release_db_name();
|
|
void set_allocated_db_name(std::string* db_name);
|
|
|
|
// string collection_name = 3;
|
|
void clear_collection_name();
|
|
const std::string& collection_name() const;
|
|
void set_collection_name(const std::string& value);
|
|
void set_collection_name(std::string&& value);
|
|
void set_collection_name(const char* value);
|
|
void set_collection_name(const char* value, size_t size);
|
|
std::string* mutable_collection_name();
|
|
std::string* release_collection_name();
|
|
void set_allocated_collection_name(std::string* collection_name);
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
bool has_base() const;
|
|
void clear_base();
|
|
const ::milvus::proto::common::MsgBase& base() const;
|
|
::milvus::proto::common::MsgBase* release_base();
|
|
::milvus::proto::common::MsgBase* mutable_base();
|
|
void set_allocated_base(::milvus::proto::common::MsgBase* base);
|
|
|
|
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.FlushRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_;
|
|
::milvus::proto::common::MsgBase* base_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
friend struct ::TableStruct_milvus_2eproto;
|
|
};
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// CreateCollectionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool CreateCollectionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& CreateCollectionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateCollectionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* CreateCollectionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateCollectionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* CreateCollectionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateCollectionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void CreateCollectionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateCollectionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void CreateCollectionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreateCollectionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateCollectionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void CreateCollectionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreateCollectionRequest.db_name)
|
|
}
|
|
inline void CreateCollectionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreateCollectionRequest.db_name)
|
|
}
|
|
inline void CreateCollectionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreateCollectionRequest.db_name)
|
|
}
|
|
inline void CreateCollectionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreateCollectionRequest.db_name)
|
|
}
|
|
inline std::string* CreateCollectionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateCollectionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreateCollectionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateCollectionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreateCollectionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateCollectionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void CreateCollectionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreateCollectionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateCollectionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void CreateCollectionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreateCollectionRequest.collection_name)
|
|
}
|
|
inline void CreateCollectionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreateCollectionRequest.collection_name)
|
|
}
|
|
inline void CreateCollectionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreateCollectionRequest.collection_name)
|
|
}
|
|
inline void CreateCollectionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreateCollectionRequest.collection_name)
|
|
}
|
|
inline std::string* CreateCollectionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateCollectionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreateCollectionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateCollectionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreateCollectionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateCollectionRequest.collection_name)
|
|
}
|
|
|
|
// bytes schema = 4;
|
|
inline void CreateCollectionRequest::clear_schema() {
|
|
schema_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreateCollectionRequest::schema() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateCollectionRequest.schema)
|
|
return schema_.GetNoArena();
|
|
}
|
|
inline void CreateCollectionRequest::set_schema(const std::string& value) {
|
|
|
|
schema_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreateCollectionRequest.schema)
|
|
}
|
|
inline void CreateCollectionRequest::set_schema(std::string&& value) {
|
|
|
|
schema_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreateCollectionRequest.schema)
|
|
}
|
|
inline void CreateCollectionRequest::set_schema(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
schema_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreateCollectionRequest.schema)
|
|
}
|
|
inline void CreateCollectionRequest::set_schema(const void* value, size_t size) {
|
|
|
|
schema_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreateCollectionRequest.schema)
|
|
}
|
|
inline std::string* CreateCollectionRequest::mutable_schema() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateCollectionRequest.schema)
|
|
return schema_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreateCollectionRequest::release_schema() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateCollectionRequest.schema)
|
|
|
|
return schema_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreateCollectionRequest::set_allocated_schema(std::string* schema) {
|
|
if (schema != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
schema_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), schema);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateCollectionRequest.schema)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DropCollectionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool DropCollectionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& DropCollectionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropCollectionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DropCollectionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropCollectionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DropCollectionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropCollectionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void DropCollectionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropCollectionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void DropCollectionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DropCollectionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropCollectionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void DropCollectionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropCollectionRequest.db_name)
|
|
}
|
|
inline void DropCollectionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropCollectionRequest.db_name)
|
|
}
|
|
inline void DropCollectionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropCollectionRequest.db_name)
|
|
}
|
|
inline void DropCollectionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropCollectionRequest.db_name)
|
|
}
|
|
inline std::string* DropCollectionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropCollectionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DropCollectionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropCollectionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DropCollectionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropCollectionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void DropCollectionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DropCollectionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropCollectionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void DropCollectionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropCollectionRequest.collection_name)
|
|
}
|
|
inline void DropCollectionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropCollectionRequest.collection_name)
|
|
}
|
|
inline void DropCollectionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropCollectionRequest.collection_name)
|
|
}
|
|
inline void DropCollectionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropCollectionRequest.collection_name)
|
|
}
|
|
inline std::string* DropCollectionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropCollectionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DropCollectionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropCollectionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DropCollectionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropCollectionRequest.collection_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// HasCollectionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool HasCollectionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& HasCollectionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.HasCollectionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* HasCollectionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.HasCollectionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* HasCollectionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.HasCollectionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void HasCollectionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.HasCollectionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void HasCollectionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& HasCollectionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.HasCollectionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void HasCollectionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.HasCollectionRequest.db_name)
|
|
}
|
|
inline void HasCollectionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.HasCollectionRequest.db_name)
|
|
}
|
|
inline void HasCollectionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.HasCollectionRequest.db_name)
|
|
}
|
|
inline void HasCollectionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.HasCollectionRequest.db_name)
|
|
}
|
|
inline std::string* HasCollectionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.HasCollectionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* HasCollectionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.HasCollectionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void HasCollectionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.HasCollectionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void HasCollectionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& HasCollectionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.HasCollectionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void HasCollectionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.HasCollectionRequest.collection_name)
|
|
}
|
|
inline void HasCollectionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.HasCollectionRequest.collection_name)
|
|
}
|
|
inline void HasCollectionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.HasCollectionRequest.collection_name)
|
|
}
|
|
inline void HasCollectionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.HasCollectionRequest.collection_name)
|
|
}
|
|
inline std::string* HasCollectionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.HasCollectionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* HasCollectionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.HasCollectionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void HasCollectionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.HasCollectionRequest.collection_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BoolResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool BoolResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& BoolResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.BoolResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* BoolResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.BoolResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* BoolResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.BoolResponse.status)
|
|
return status_;
|
|
}
|
|
inline void BoolResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.BoolResponse.status)
|
|
}
|
|
|
|
// bool value = 2;
|
|
inline void BoolResponse::clear_value() {
|
|
value_ = false;
|
|
}
|
|
inline bool BoolResponse::value() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.BoolResponse.value)
|
|
return value_;
|
|
}
|
|
inline void BoolResponse::set_value(bool value) {
|
|
|
|
value_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.BoolResponse.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// StringResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool StringResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& StringResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.StringResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* StringResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.StringResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* StringResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.StringResponse.status)
|
|
return status_;
|
|
}
|
|
inline void StringResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.StringResponse.status)
|
|
}
|
|
|
|
// string value = 2;
|
|
inline void StringResponse::clear_value() {
|
|
value_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& StringResponse::value() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.StringResponse.value)
|
|
return value_.GetNoArena();
|
|
}
|
|
inline void StringResponse::set_value(const std::string& value) {
|
|
|
|
value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.StringResponse.value)
|
|
}
|
|
inline void StringResponse::set_value(std::string&& value) {
|
|
|
|
value_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.StringResponse.value)
|
|
}
|
|
inline void StringResponse::set_value(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.StringResponse.value)
|
|
}
|
|
inline void StringResponse::set_value(const char* value, size_t size) {
|
|
|
|
value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.StringResponse.value)
|
|
}
|
|
inline std::string* StringResponse::mutable_value() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.StringResponse.value)
|
|
return value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* StringResponse::release_value() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.StringResponse.value)
|
|
|
|
return value_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void StringResponse::set_allocated_value(std::string* value) {
|
|
if (value != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
value_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.StringResponse.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DescribeCollectionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool DescribeCollectionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& DescribeCollectionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeCollectionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DescribeCollectionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeCollectionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DescribeCollectionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeCollectionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void DescribeCollectionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeCollectionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void DescribeCollectionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DescribeCollectionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeCollectionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void DescribeCollectionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeCollectionRequest.db_name)
|
|
}
|
|
inline void DescribeCollectionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DescribeCollectionRequest.db_name)
|
|
}
|
|
inline void DescribeCollectionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DescribeCollectionRequest.db_name)
|
|
}
|
|
inline void DescribeCollectionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DescribeCollectionRequest.db_name)
|
|
}
|
|
inline std::string* DescribeCollectionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeCollectionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DescribeCollectionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeCollectionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DescribeCollectionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeCollectionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void DescribeCollectionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DescribeCollectionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeCollectionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void DescribeCollectionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeCollectionRequest.collection_name)
|
|
}
|
|
inline void DescribeCollectionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DescribeCollectionRequest.collection_name)
|
|
}
|
|
inline void DescribeCollectionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DescribeCollectionRequest.collection_name)
|
|
}
|
|
inline void DescribeCollectionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DescribeCollectionRequest.collection_name)
|
|
}
|
|
inline std::string* DescribeCollectionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeCollectionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DescribeCollectionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeCollectionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DescribeCollectionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeCollectionRequest.collection_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DescribeCollectionResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool DescribeCollectionResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& DescribeCollectionResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeCollectionResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* DescribeCollectionResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeCollectionResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* DescribeCollectionResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeCollectionResponse.status)
|
|
return status_;
|
|
}
|
|
inline void DescribeCollectionResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeCollectionResponse.status)
|
|
}
|
|
|
|
// .milvus.proto.schema.CollectionSchema schema = 2;
|
|
inline bool DescribeCollectionResponse::has_schema() const {
|
|
return this != internal_default_instance() && schema_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::schema::CollectionSchema& DescribeCollectionResponse::schema() const {
|
|
const ::milvus::proto::schema::CollectionSchema* p = schema_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeCollectionResponse.schema)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::schema::CollectionSchema*>(
|
|
&::milvus::proto::schema::_CollectionSchema_default_instance_);
|
|
}
|
|
inline ::milvus::proto::schema::CollectionSchema* DescribeCollectionResponse::release_schema() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeCollectionResponse.schema)
|
|
|
|
::milvus::proto::schema::CollectionSchema* temp = schema_;
|
|
schema_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::schema::CollectionSchema* DescribeCollectionResponse::mutable_schema() {
|
|
|
|
if (schema_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::schema::CollectionSchema>(GetArenaNoVirtual());
|
|
schema_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeCollectionResponse.schema)
|
|
return schema_;
|
|
}
|
|
inline void DescribeCollectionResponse::set_allocated_schema(::milvus::proto::schema::CollectionSchema* schema) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(schema_);
|
|
}
|
|
if (schema) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
schema = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, schema, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
schema_ = schema;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeCollectionResponse.schema)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// LoadCollectionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool LoadCollectionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& LoadCollectionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.LoadCollectionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* LoadCollectionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.LoadCollectionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* LoadCollectionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.LoadCollectionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void LoadCollectionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.LoadCollectionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void LoadCollectionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& LoadCollectionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.LoadCollectionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void LoadCollectionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.LoadCollectionRequest.db_name)
|
|
}
|
|
inline void LoadCollectionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.LoadCollectionRequest.db_name)
|
|
}
|
|
inline void LoadCollectionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.LoadCollectionRequest.db_name)
|
|
}
|
|
inline void LoadCollectionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.LoadCollectionRequest.db_name)
|
|
}
|
|
inline std::string* LoadCollectionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.LoadCollectionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* LoadCollectionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.LoadCollectionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void LoadCollectionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.LoadCollectionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void LoadCollectionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& LoadCollectionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.LoadCollectionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void LoadCollectionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.LoadCollectionRequest.collection_name)
|
|
}
|
|
inline void LoadCollectionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.LoadCollectionRequest.collection_name)
|
|
}
|
|
inline void LoadCollectionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.LoadCollectionRequest.collection_name)
|
|
}
|
|
inline void LoadCollectionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.LoadCollectionRequest.collection_name)
|
|
}
|
|
inline std::string* LoadCollectionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.LoadCollectionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* LoadCollectionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.LoadCollectionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void LoadCollectionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.LoadCollectionRequest.collection_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ReleaseCollectionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool ReleaseCollectionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& ReleaseCollectionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ReleaseCollectionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ReleaseCollectionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ReleaseCollectionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ReleaseCollectionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ReleaseCollectionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void ReleaseCollectionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ReleaseCollectionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void ReleaseCollectionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& ReleaseCollectionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ReleaseCollectionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void ReleaseCollectionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ReleaseCollectionRequest.db_name)
|
|
}
|
|
inline void ReleaseCollectionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.ReleaseCollectionRequest.db_name)
|
|
}
|
|
inline void ReleaseCollectionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ReleaseCollectionRequest.db_name)
|
|
}
|
|
inline void ReleaseCollectionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ReleaseCollectionRequest.db_name)
|
|
}
|
|
inline std::string* ReleaseCollectionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ReleaseCollectionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* ReleaseCollectionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ReleaseCollectionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ReleaseCollectionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ReleaseCollectionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void ReleaseCollectionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& ReleaseCollectionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ReleaseCollectionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void ReleaseCollectionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ReleaseCollectionRequest.collection_name)
|
|
}
|
|
inline void ReleaseCollectionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.ReleaseCollectionRequest.collection_name)
|
|
}
|
|
inline void ReleaseCollectionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ReleaseCollectionRequest.collection_name)
|
|
}
|
|
inline void ReleaseCollectionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ReleaseCollectionRequest.collection_name)
|
|
}
|
|
inline std::string* ReleaseCollectionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ReleaseCollectionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* ReleaseCollectionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ReleaseCollectionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ReleaseCollectionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ReleaseCollectionRequest.collection_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// CollectionStatsRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool CollectionStatsRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& CollectionStatsRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CollectionStatsRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* CollectionStatsRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CollectionStatsRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* CollectionStatsRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CollectionStatsRequest.base)
|
|
return base_;
|
|
}
|
|
inline void CollectionStatsRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CollectionStatsRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void CollectionStatsRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CollectionStatsRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CollectionStatsRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void CollectionStatsRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CollectionStatsRequest.db_name)
|
|
}
|
|
inline void CollectionStatsRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CollectionStatsRequest.db_name)
|
|
}
|
|
inline void CollectionStatsRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CollectionStatsRequest.db_name)
|
|
}
|
|
inline void CollectionStatsRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CollectionStatsRequest.db_name)
|
|
}
|
|
inline std::string* CollectionStatsRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CollectionStatsRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CollectionStatsRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CollectionStatsRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CollectionStatsRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CollectionStatsRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void CollectionStatsRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CollectionStatsRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CollectionStatsRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void CollectionStatsRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CollectionStatsRequest.collection_name)
|
|
}
|
|
inline void CollectionStatsRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CollectionStatsRequest.collection_name)
|
|
}
|
|
inline void CollectionStatsRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CollectionStatsRequest.collection_name)
|
|
}
|
|
inline void CollectionStatsRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CollectionStatsRequest.collection_name)
|
|
}
|
|
inline std::string* CollectionStatsRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CollectionStatsRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CollectionStatsRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CollectionStatsRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CollectionStatsRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CollectionStatsRequest.collection_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// CollectionStatsResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool CollectionStatsResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& CollectionStatsResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CollectionStatsResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* CollectionStatsResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CollectionStatsResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* CollectionStatsResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CollectionStatsResponse.status)
|
|
return status_;
|
|
}
|
|
inline void CollectionStatsResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CollectionStatsResponse.status)
|
|
}
|
|
|
|
// repeated .milvus.proto.common.KeyValuePair stats = 2;
|
|
inline int CollectionStatsResponse::stats_size() const {
|
|
return stats_.size();
|
|
}
|
|
inline ::milvus::proto::common::KeyValuePair* CollectionStatsResponse::mutable_stats(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CollectionStatsResponse.stats)
|
|
return stats_.Mutable(index);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
|
|
CollectionStatsResponse::mutable_stats() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.CollectionStatsResponse.stats)
|
|
return &stats_;
|
|
}
|
|
inline const ::milvus::proto::common::KeyValuePair& CollectionStatsResponse::stats(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CollectionStatsResponse.stats)
|
|
return stats_.Get(index);
|
|
}
|
|
inline ::milvus::proto::common::KeyValuePair* CollectionStatsResponse::add_stats() {
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.CollectionStatsResponse.stats)
|
|
return stats_.Add();
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
|
|
CollectionStatsResponse::stats() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.CollectionStatsResponse.stats)
|
|
return stats_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ShowCollectionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool ShowCollectionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& ShowCollectionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowCollectionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ShowCollectionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowCollectionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ShowCollectionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowCollectionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void ShowCollectionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowCollectionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void ShowCollectionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& ShowCollectionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowCollectionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void ShowCollectionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowCollectionRequest.db_name)
|
|
}
|
|
inline void ShowCollectionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.ShowCollectionRequest.db_name)
|
|
}
|
|
inline void ShowCollectionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ShowCollectionRequest.db_name)
|
|
}
|
|
inline void ShowCollectionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ShowCollectionRequest.db_name)
|
|
}
|
|
inline std::string* ShowCollectionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowCollectionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* ShowCollectionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowCollectionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ShowCollectionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowCollectionRequest.db_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ShowCollectionResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool ShowCollectionResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& ShowCollectionResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowCollectionResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* ShowCollectionResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowCollectionResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* ShowCollectionResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowCollectionResponse.status)
|
|
return status_;
|
|
}
|
|
inline void ShowCollectionResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowCollectionResponse.status)
|
|
}
|
|
|
|
// repeated string collection_names = 2;
|
|
inline int ShowCollectionResponse::collection_names_size() const {
|
|
return collection_names_.size();
|
|
}
|
|
inline void ShowCollectionResponse::clear_collection_names() {
|
|
collection_names_.Clear();
|
|
}
|
|
inline const std::string& ShowCollectionResponse::collection_names(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
return collection_names_.Get(index);
|
|
}
|
|
inline std::string* ShowCollectionResponse::mutable_collection_names(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
return collection_names_.Mutable(index);
|
|
}
|
|
inline void ShowCollectionResponse::set_collection_names(int index, const std::string& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
collection_names_.Mutable(index)->assign(value);
|
|
}
|
|
inline void ShowCollectionResponse::set_collection_names(int index, std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
collection_names_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
inline void ShowCollectionResponse::set_collection_names(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
collection_names_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
}
|
|
inline void ShowCollectionResponse::set_collection_names(int index, const char* value, size_t size) {
|
|
collection_names_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
}
|
|
inline std::string* ShowCollectionResponse::add_collection_names() {
|
|
// @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
return collection_names_.Add();
|
|
}
|
|
inline void ShowCollectionResponse::add_collection_names(const std::string& value) {
|
|
collection_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
}
|
|
inline void ShowCollectionResponse::add_collection_names(std::string&& value) {
|
|
collection_names_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
}
|
|
inline void ShowCollectionResponse::add_collection_names(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
collection_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
}
|
|
inline void ShowCollectionResponse::add_collection_names(const char* value, size_t size) {
|
|
collection_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
|
|
ShowCollectionResponse::collection_names() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
return collection_names_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
|
|
ShowCollectionResponse::mutable_collection_names() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ShowCollectionResponse.collection_names)
|
|
return &collection_names_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// CreatePartitionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool CreatePartitionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& CreatePartitionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreatePartitionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* CreatePartitionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreatePartitionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* CreatePartitionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreatePartitionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void CreatePartitionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreatePartitionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void CreatePartitionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreatePartitionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreatePartitionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void CreatePartitionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreatePartitionRequest.db_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreatePartitionRequest.db_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreatePartitionRequest.db_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreatePartitionRequest.db_name)
|
|
}
|
|
inline std::string* CreatePartitionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreatePartitionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreatePartitionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreatePartitionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreatePartitionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreatePartitionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void CreatePartitionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreatePartitionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreatePartitionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void CreatePartitionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreatePartitionRequest.collection_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreatePartitionRequest.collection_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreatePartitionRequest.collection_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreatePartitionRequest.collection_name)
|
|
}
|
|
inline std::string* CreatePartitionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreatePartitionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreatePartitionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreatePartitionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreatePartitionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreatePartitionRequest.collection_name)
|
|
}
|
|
|
|
// string partition_name = 4;
|
|
inline void CreatePartitionRequest::clear_partition_name() {
|
|
partition_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreatePartitionRequest::partition_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreatePartitionRequest.partition_name)
|
|
return partition_name_.GetNoArena();
|
|
}
|
|
inline void CreatePartitionRequest::set_partition_name(const std::string& value) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreatePartitionRequest.partition_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_partition_name(std::string&& value) {
|
|
|
|
partition_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreatePartitionRequest.partition_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_partition_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreatePartitionRequest.partition_name)
|
|
}
|
|
inline void CreatePartitionRequest::set_partition_name(const char* value, size_t size) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreatePartitionRequest.partition_name)
|
|
}
|
|
inline std::string* CreatePartitionRequest::mutable_partition_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreatePartitionRequest.partition_name)
|
|
return partition_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreatePartitionRequest::release_partition_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreatePartitionRequest.partition_name)
|
|
|
|
return partition_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreatePartitionRequest::set_allocated_partition_name(std::string* partition_name) {
|
|
if (partition_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
partition_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), partition_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreatePartitionRequest.partition_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DropPartitionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool DropPartitionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& DropPartitionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropPartitionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DropPartitionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropPartitionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DropPartitionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropPartitionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void DropPartitionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropPartitionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void DropPartitionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DropPartitionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropPartitionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void DropPartitionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropPartitionRequest.db_name)
|
|
}
|
|
inline void DropPartitionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropPartitionRequest.db_name)
|
|
}
|
|
inline void DropPartitionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropPartitionRequest.db_name)
|
|
}
|
|
inline void DropPartitionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropPartitionRequest.db_name)
|
|
}
|
|
inline std::string* DropPartitionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropPartitionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DropPartitionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropPartitionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DropPartitionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropPartitionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void DropPartitionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DropPartitionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropPartitionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void DropPartitionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropPartitionRequest.collection_name)
|
|
}
|
|
inline void DropPartitionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropPartitionRequest.collection_name)
|
|
}
|
|
inline void DropPartitionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropPartitionRequest.collection_name)
|
|
}
|
|
inline void DropPartitionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropPartitionRequest.collection_name)
|
|
}
|
|
inline std::string* DropPartitionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropPartitionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DropPartitionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropPartitionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DropPartitionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropPartitionRequest.collection_name)
|
|
}
|
|
|
|
// string partition_name = 4;
|
|
inline void DropPartitionRequest::clear_partition_name() {
|
|
partition_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DropPartitionRequest::partition_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DropPartitionRequest.partition_name)
|
|
return partition_name_.GetNoArena();
|
|
}
|
|
inline void DropPartitionRequest::set_partition_name(const std::string& value) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DropPartitionRequest.partition_name)
|
|
}
|
|
inline void DropPartitionRequest::set_partition_name(std::string&& value) {
|
|
|
|
partition_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropPartitionRequest.partition_name)
|
|
}
|
|
inline void DropPartitionRequest::set_partition_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropPartitionRequest.partition_name)
|
|
}
|
|
inline void DropPartitionRequest::set_partition_name(const char* value, size_t size) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropPartitionRequest.partition_name)
|
|
}
|
|
inline std::string* DropPartitionRequest::mutable_partition_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropPartitionRequest.partition_name)
|
|
return partition_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DropPartitionRequest::release_partition_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DropPartitionRequest.partition_name)
|
|
|
|
return partition_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DropPartitionRequest::set_allocated_partition_name(std::string* partition_name) {
|
|
if (partition_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
partition_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), partition_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropPartitionRequest.partition_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// HasPartitionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool HasPartitionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& HasPartitionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.HasPartitionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* HasPartitionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.HasPartitionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* HasPartitionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.HasPartitionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void HasPartitionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.HasPartitionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void HasPartitionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& HasPartitionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.HasPartitionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void HasPartitionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.HasPartitionRequest.db_name)
|
|
}
|
|
inline void HasPartitionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.HasPartitionRequest.db_name)
|
|
}
|
|
inline void HasPartitionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.HasPartitionRequest.db_name)
|
|
}
|
|
inline void HasPartitionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.HasPartitionRequest.db_name)
|
|
}
|
|
inline std::string* HasPartitionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.HasPartitionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* HasPartitionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.HasPartitionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void HasPartitionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.HasPartitionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void HasPartitionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& HasPartitionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.HasPartitionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void HasPartitionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.HasPartitionRequest.collection_name)
|
|
}
|
|
inline void HasPartitionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.HasPartitionRequest.collection_name)
|
|
}
|
|
inline void HasPartitionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.HasPartitionRequest.collection_name)
|
|
}
|
|
inline void HasPartitionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.HasPartitionRequest.collection_name)
|
|
}
|
|
inline std::string* HasPartitionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.HasPartitionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* HasPartitionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.HasPartitionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void HasPartitionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.HasPartitionRequest.collection_name)
|
|
}
|
|
|
|
// string partition_name = 4;
|
|
inline void HasPartitionRequest::clear_partition_name() {
|
|
partition_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& HasPartitionRequest::partition_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.HasPartitionRequest.partition_name)
|
|
return partition_name_.GetNoArena();
|
|
}
|
|
inline void HasPartitionRequest::set_partition_name(const std::string& value) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.HasPartitionRequest.partition_name)
|
|
}
|
|
inline void HasPartitionRequest::set_partition_name(std::string&& value) {
|
|
|
|
partition_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.HasPartitionRequest.partition_name)
|
|
}
|
|
inline void HasPartitionRequest::set_partition_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.HasPartitionRequest.partition_name)
|
|
}
|
|
inline void HasPartitionRequest::set_partition_name(const char* value, size_t size) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.HasPartitionRequest.partition_name)
|
|
}
|
|
inline std::string* HasPartitionRequest::mutable_partition_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.HasPartitionRequest.partition_name)
|
|
return partition_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* HasPartitionRequest::release_partition_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.HasPartitionRequest.partition_name)
|
|
|
|
return partition_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void HasPartitionRequest::set_allocated_partition_name(std::string* partition_name) {
|
|
if (partition_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
partition_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), partition_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.HasPartitionRequest.partition_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// LoadPartitonRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool LoadPartitonRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& LoadPartitonRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.LoadPartitonRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* LoadPartitonRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.LoadPartitonRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* LoadPartitonRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.LoadPartitonRequest.base)
|
|
return base_;
|
|
}
|
|
inline void LoadPartitonRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.LoadPartitonRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void LoadPartitonRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& LoadPartitonRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.LoadPartitonRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void LoadPartitonRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.LoadPartitonRequest.db_name)
|
|
}
|
|
inline void LoadPartitonRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.LoadPartitonRequest.db_name)
|
|
}
|
|
inline void LoadPartitonRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.LoadPartitonRequest.db_name)
|
|
}
|
|
inline void LoadPartitonRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.LoadPartitonRequest.db_name)
|
|
}
|
|
inline std::string* LoadPartitonRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.LoadPartitonRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* LoadPartitonRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.LoadPartitonRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void LoadPartitonRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.LoadPartitonRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void LoadPartitonRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& LoadPartitonRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.LoadPartitonRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void LoadPartitonRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.LoadPartitonRequest.collection_name)
|
|
}
|
|
inline void LoadPartitonRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.LoadPartitonRequest.collection_name)
|
|
}
|
|
inline void LoadPartitonRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.LoadPartitonRequest.collection_name)
|
|
}
|
|
inline void LoadPartitonRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.LoadPartitonRequest.collection_name)
|
|
}
|
|
inline std::string* LoadPartitonRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.LoadPartitonRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* LoadPartitonRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.LoadPartitonRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void LoadPartitonRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.LoadPartitonRequest.collection_name)
|
|
}
|
|
|
|
// repeated string partition_names = 4;
|
|
inline int LoadPartitonRequest::partition_names_size() const {
|
|
return partition_names_.size();
|
|
}
|
|
inline void LoadPartitonRequest::clear_partition_names() {
|
|
partition_names_.Clear();
|
|
}
|
|
inline const std::string& LoadPartitonRequest::partition_names(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
return partition_names_.Get(index);
|
|
}
|
|
inline std::string* LoadPartitonRequest::mutable_partition_names(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
return partition_names_.Mutable(index);
|
|
}
|
|
inline void LoadPartitonRequest::set_partition_names(int index, const std::string& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
partition_names_.Mutable(index)->assign(value);
|
|
}
|
|
inline void LoadPartitonRequest::set_partition_names(int index, std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
partition_names_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
inline void LoadPartitonRequest::set_partition_names(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
partition_names_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
}
|
|
inline void LoadPartitonRequest::set_partition_names(int index, const char* value, size_t size) {
|
|
partition_names_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
}
|
|
inline std::string* LoadPartitonRequest::add_partition_names() {
|
|
// @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
return partition_names_.Add();
|
|
}
|
|
inline void LoadPartitonRequest::add_partition_names(const std::string& value) {
|
|
partition_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
}
|
|
inline void LoadPartitonRequest::add_partition_names(std::string&& value) {
|
|
partition_names_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
}
|
|
inline void LoadPartitonRequest::add_partition_names(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
partition_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
}
|
|
inline void LoadPartitonRequest::add_partition_names(const char* value, size_t size) {
|
|
partition_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
|
|
LoadPartitonRequest::partition_names() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
return partition_names_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
|
|
LoadPartitonRequest::mutable_partition_names() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.LoadPartitonRequest.partition_names)
|
|
return &partition_names_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ReleasePartitionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool ReleasePartitionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& ReleasePartitionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ReleasePartitionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ReleasePartitionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ReleasePartitionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ReleasePartitionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ReleasePartitionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void ReleasePartitionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ReleasePartitionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void ReleasePartitionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& ReleasePartitionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ReleasePartitionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void ReleasePartitionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ReleasePartitionRequest.db_name)
|
|
}
|
|
inline void ReleasePartitionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.ReleasePartitionRequest.db_name)
|
|
}
|
|
inline void ReleasePartitionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ReleasePartitionRequest.db_name)
|
|
}
|
|
inline void ReleasePartitionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ReleasePartitionRequest.db_name)
|
|
}
|
|
inline std::string* ReleasePartitionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ReleasePartitionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* ReleasePartitionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ReleasePartitionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ReleasePartitionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ReleasePartitionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void ReleasePartitionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& ReleasePartitionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ReleasePartitionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void ReleasePartitionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ReleasePartitionRequest.collection_name)
|
|
}
|
|
inline void ReleasePartitionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.ReleasePartitionRequest.collection_name)
|
|
}
|
|
inline void ReleasePartitionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ReleasePartitionRequest.collection_name)
|
|
}
|
|
inline void ReleasePartitionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ReleasePartitionRequest.collection_name)
|
|
}
|
|
inline std::string* ReleasePartitionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ReleasePartitionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* ReleasePartitionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ReleasePartitionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ReleasePartitionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ReleasePartitionRequest.collection_name)
|
|
}
|
|
|
|
// repeated string partition_names = 4;
|
|
inline int ReleasePartitionRequest::partition_names_size() const {
|
|
return partition_names_.size();
|
|
}
|
|
inline void ReleasePartitionRequest::clear_partition_names() {
|
|
partition_names_.Clear();
|
|
}
|
|
inline const std::string& ReleasePartitionRequest::partition_names(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
return partition_names_.Get(index);
|
|
}
|
|
inline std::string* ReleasePartitionRequest::mutable_partition_names(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
return partition_names_.Mutable(index);
|
|
}
|
|
inline void ReleasePartitionRequest::set_partition_names(int index, const std::string& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
partition_names_.Mutable(index)->assign(value);
|
|
}
|
|
inline void ReleasePartitionRequest::set_partition_names(int index, std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
partition_names_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
inline void ReleasePartitionRequest::set_partition_names(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
partition_names_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
}
|
|
inline void ReleasePartitionRequest::set_partition_names(int index, const char* value, size_t size) {
|
|
partition_names_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
}
|
|
inline std::string* ReleasePartitionRequest::add_partition_names() {
|
|
// @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
return partition_names_.Add();
|
|
}
|
|
inline void ReleasePartitionRequest::add_partition_names(const std::string& value) {
|
|
partition_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
}
|
|
inline void ReleasePartitionRequest::add_partition_names(std::string&& value) {
|
|
partition_names_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
}
|
|
inline void ReleasePartitionRequest::add_partition_names(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
partition_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
}
|
|
inline void ReleasePartitionRequest::add_partition_names(const char* value, size_t size) {
|
|
partition_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
|
|
ReleasePartitionRequest::partition_names() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
return partition_names_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
|
|
ReleasePartitionRequest::mutable_partition_names() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ReleasePartitionRequest.partition_names)
|
|
return &partition_names_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PartitionStatsRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool PartitionStatsRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& PartitionStatsRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PartitionStatsRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* PartitionStatsRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.PartitionStatsRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* PartitionStatsRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PartitionStatsRequest.base)
|
|
return base_;
|
|
}
|
|
inline void PartitionStatsRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.PartitionStatsRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void PartitionStatsRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& PartitionStatsRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PartitionStatsRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void PartitionStatsRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.PartitionStatsRequest.db_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.PartitionStatsRequest.db_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.PartitionStatsRequest.db_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.PartitionStatsRequest.db_name)
|
|
}
|
|
inline std::string* PartitionStatsRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PartitionStatsRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* PartitionStatsRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.PartitionStatsRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void PartitionStatsRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.PartitionStatsRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void PartitionStatsRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& PartitionStatsRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PartitionStatsRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void PartitionStatsRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.PartitionStatsRequest.collection_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.PartitionStatsRequest.collection_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.PartitionStatsRequest.collection_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.PartitionStatsRequest.collection_name)
|
|
}
|
|
inline std::string* PartitionStatsRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PartitionStatsRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* PartitionStatsRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.PartitionStatsRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void PartitionStatsRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.PartitionStatsRequest.collection_name)
|
|
}
|
|
|
|
// string partition_name = 4;
|
|
inline void PartitionStatsRequest::clear_partition_name() {
|
|
partition_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& PartitionStatsRequest::partition_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PartitionStatsRequest.partition_name)
|
|
return partition_name_.GetNoArena();
|
|
}
|
|
inline void PartitionStatsRequest::set_partition_name(const std::string& value) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.PartitionStatsRequest.partition_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_partition_name(std::string&& value) {
|
|
|
|
partition_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.PartitionStatsRequest.partition_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_partition_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.PartitionStatsRequest.partition_name)
|
|
}
|
|
inline void PartitionStatsRequest::set_partition_name(const char* value, size_t size) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.PartitionStatsRequest.partition_name)
|
|
}
|
|
inline std::string* PartitionStatsRequest::mutable_partition_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PartitionStatsRequest.partition_name)
|
|
return partition_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* PartitionStatsRequest::release_partition_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.PartitionStatsRequest.partition_name)
|
|
|
|
return partition_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void PartitionStatsRequest::set_allocated_partition_name(std::string* partition_name) {
|
|
if (partition_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
partition_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), partition_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.PartitionStatsRequest.partition_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PartitionStatsResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool PartitionStatsResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& PartitionStatsResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PartitionStatsResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* PartitionStatsResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.PartitionStatsResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* PartitionStatsResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PartitionStatsResponse.status)
|
|
return status_;
|
|
}
|
|
inline void PartitionStatsResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.PartitionStatsResponse.status)
|
|
}
|
|
|
|
// repeated .milvus.proto.common.KeyValuePair stats = 2;
|
|
inline int PartitionStatsResponse::stats_size() const {
|
|
return stats_.size();
|
|
}
|
|
inline ::milvus::proto::common::KeyValuePair* PartitionStatsResponse::mutable_stats(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PartitionStatsResponse.stats)
|
|
return stats_.Mutable(index);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
|
|
PartitionStatsResponse::mutable_stats() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.PartitionStatsResponse.stats)
|
|
return &stats_;
|
|
}
|
|
inline const ::milvus::proto::common::KeyValuePair& PartitionStatsResponse::stats(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PartitionStatsResponse.stats)
|
|
return stats_.Get(index);
|
|
}
|
|
inline ::milvus::proto::common::KeyValuePair* PartitionStatsResponse::add_stats() {
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.PartitionStatsResponse.stats)
|
|
return stats_.Add();
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
|
|
PartitionStatsResponse::stats() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.PartitionStatsResponse.stats)
|
|
return stats_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ShowPartitionRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool ShowPartitionRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& ShowPartitionRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ShowPartitionRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowPartitionRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ShowPartitionRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowPartitionRequest.base)
|
|
return base_;
|
|
}
|
|
inline void ShowPartitionRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowPartitionRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void ShowPartitionRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& ShowPartitionRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void ShowPartitionRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowPartitionRequest.db_name)
|
|
}
|
|
inline void ShowPartitionRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.ShowPartitionRequest.db_name)
|
|
}
|
|
inline void ShowPartitionRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ShowPartitionRequest.db_name)
|
|
}
|
|
inline void ShowPartitionRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ShowPartitionRequest.db_name)
|
|
}
|
|
inline std::string* ShowPartitionRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowPartitionRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* ShowPartitionRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowPartitionRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ShowPartitionRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowPartitionRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void ShowPartitionRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& ShowPartitionRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void ShowPartitionRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowPartitionRequest.collection_name)
|
|
}
|
|
inline void ShowPartitionRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.ShowPartitionRequest.collection_name)
|
|
}
|
|
inline void ShowPartitionRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ShowPartitionRequest.collection_name)
|
|
}
|
|
inline void ShowPartitionRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ShowPartitionRequest.collection_name)
|
|
}
|
|
inline std::string* ShowPartitionRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowPartitionRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* ShowPartitionRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowPartitionRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ShowPartitionRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowPartitionRequest.collection_name)
|
|
}
|
|
|
|
// int64 collectionID = 4;
|
|
inline void ShowPartitionRequest::clear_collectionid() {
|
|
collectionid_ = PROTOBUF_LONGLONG(0);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 ShowPartitionRequest::collectionid() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionRequest.collectionID)
|
|
return collectionid_;
|
|
}
|
|
inline void ShowPartitionRequest::set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
|
|
collectionid_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowPartitionRequest.collectionID)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ShowPartitionResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool ShowPartitionResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& ShowPartitionResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* ShowPartitionResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowPartitionResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* ShowPartitionResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowPartitionResponse.status)
|
|
return status_;
|
|
}
|
|
inline void ShowPartitionResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowPartitionResponse.status)
|
|
}
|
|
|
|
// repeated string partition_names = 2;
|
|
inline int ShowPartitionResponse::partition_names_size() const {
|
|
return partition_names_.size();
|
|
}
|
|
inline void ShowPartitionResponse::clear_partition_names() {
|
|
partition_names_.Clear();
|
|
}
|
|
inline const std::string& ShowPartitionResponse::partition_names(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
return partition_names_.Get(index);
|
|
}
|
|
inline std::string* ShowPartitionResponse::mutable_partition_names(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
return partition_names_.Mutable(index);
|
|
}
|
|
inline void ShowPartitionResponse::set_partition_names(int index, const std::string& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
partition_names_.Mutable(index)->assign(value);
|
|
}
|
|
inline void ShowPartitionResponse::set_partition_names(int index, std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
partition_names_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
inline void ShowPartitionResponse::set_partition_names(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
partition_names_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
}
|
|
inline void ShowPartitionResponse::set_partition_names(int index, const char* value, size_t size) {
|
|
partition_names_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
}
|
|
inline std::string* ShowPartitionResponse::add_partition_names() {
|
|
// @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
return partition_names_.Add();
|
|
}
|
|
inline void ShowPartitionResponse::add_partition_names(const std::string& value) {
|
|
partition_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
}
|
|
inline void ShowPartitionResponse::add_partition_names(std::string&& value) {
|
|
partition_names_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
}
|
|
inline void ShowPartitionResponse::add_partition_names(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
partition_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
}
|
|
inline void ShowPartitionResponse::add_partition_names(const char* value, size_t size) {
|
|
partition_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
|
|
ShowPartitionResponse::partition_names() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
return partition_names_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
|
|
ShowPartitionResponse::mutable_partition_names() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ShowPartitionResponse.partition_names)
|
|
return &partition_names_;
|
|
}
|
|
|
|
// repeated int64 partitionIDs = 3;
|
|
inline int ShowPartitionResponse::partitionids_size() const {
|
|
return partitionids_.size();
|
|
}
|
|
inline void ShowPartitionResponse::clear_partitionids() {
|
|
partitionids_.Clear();
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 ShowPartitionResponse::partitionids(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionResponse.partitionIDs)
|
|
return partitionids_.Get(index);
|
|
}
|
|
inline void ShowPartitionResponse::set_partitionids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
partitionids_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowPartitionResponse.partitionIDs)
|
|
}
|
|
inline void ShowPartitionResponse::add_partitionids(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
partitionids_.Add(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowPartitionResponse.partitionIDs)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
|
|
ShowPartitionResponse::partitionids() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.ShowPartitionResponse.partitionIDs)
|
|
return partitionids_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
|
|
ShowPartitionResponse::mutable_partitionids() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ShowPartitionResponse.partitionIDs)
|
|
return &partitionids_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DescribeSegmentRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool DescribeSegmentRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& DescribeSegmentRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeSegmentRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DescribeSegmentRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeSegmentRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DescribeSegmentRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeSegmentRequest.base)
|
|
return base_;
|
|
}
|
|
inline void DescribeSegmentRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeSegmentRequest.base)
|
|
}
|
|
|
|
// int64 collectionID = 2;
|
|
inline void DescribeSegmentRequest::clear_collectionid() {
|
|
collectionid_ = PROTOBUF_LONGLONG(0);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 DescribeSegmentRequest::collectionid() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeSegmentRequest.collectionID)
|
|
return collectionid_;
|
|
}
|
|
inline void DescribeSegmentRequest::set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
|
|
collectionid_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeSegmentRequest.collectionID)
|
|
}
|
|
|
|
// int64 segmentID = 3;
|
|
inline void DescribeSegmentRequest::clear_segmentid() {
|
|
segmentid_ = PROTOBUF_LONGLONG(0);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 DescribeSegmentRequest::segmentid() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeSegmentRequest.segmentID)
|
|
return segmentid_;
|
|
}
|
|
inline void DescribeSegmentRequest::set_segmentid(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
|
|
segmentid_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeSegmentRequest.segmentID)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DescribeSegmentResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool DescribeSegmentResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& DescribeSegmentResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeSegmentResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* DescribeSegmentResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeSegmentResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* DescribeSegmentResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeSegmentResponse.status)
|
|
return status_;
|
|
}
|
|
inline void DescribeSegmentResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeSegmentResponse.status)
|
|
}
|
|
|
|
// int64 indexID = 2;
|
|
inline void DescribeSegmentResponse::clear_indexid() {
|
|
indexid_ = PROTOBUF_LONGLONG(0);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 DescribeSegmentResponse::indexid() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeSegmentResponse.indexID)
|
|
return indexid_;
|
|
}
|
|
inline void DescribeSegmentResponse::set_indexid(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
|
|
indexid_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeSegmentResponse.indexID)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ShowSegmentRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool ShowSegmentRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& ShowSegmentRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowSegmentRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ShowSegmentRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowSegmentRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* ShowSegmentRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowSegmentRequest.base)
|
|
return base_;
|
|
}
|
|
inline void ShowSegmentRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowSegmentRequest.base)
|
|
}
|
|
|
|
// int64 collectionID = 2;
|
|
inline void ShowSegmentRequest::clear_collectionid() {
|
|
collectionid_ = PROTOBUF_LONGLONG(0);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 ShowSegmentRequest::collectionid() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowSegmentRequest.collectionID)
|
|
return collectionid_;
|
|
}
|
|
inline void ShowSegmentRequest::set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
|
|
collectionid_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowSegmentRequest.collectionID)
|
|
}
|
|
|
|
// int64 partitionID = 3;
|
|
inline void ShowSegmentRequest::clear_partitionid() {
|
|
partitionid_ = PROTOBUF_LONGLONG(0);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 ShowSegmentRequest::partitionid() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowSegmentRequest.partitionID)
|
|
return partitionid_;
|
|
}
|
|
inline void ShowSegmentRequest::set_partitionid(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
|
|
partitionid_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowSegmentRequest.partitionID)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ShowSegmentResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool ShowSegmentResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& ShowSegmentResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowSegmentResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* ShowSegmentResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.ShowSegmentResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* ShowSegmentResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ShowSegmentResponse.status)
|
|
return status_;
|
|
}
|
|
inline void ShowSegmentResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ShowSegmentResponse.status)
|
|
}
|
|
|
|
// repeated int64 segmentIDs = 2;
|
|
inline int ShowSegmentResponse::segmentids_size() const {
|
|
return segmentids_.size();
|
|
}
|
|
inline void ShowSegmentResponse::clear_segmentids() {
|
|
segmentids_.Clear();
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 ShowSegmentResponse::segmentids(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowSegmentResponse.segmentIDs)
|
|
return segmentids_.Get(index);
|
|
}
|
|
inline void ShowSegmentResponse::set_segmentids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
segmentids_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowSegmentResponse.segmentIDs)
|
|
}
|
|
inline void ShowSegmentResponse::add_segmentids(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
segmentids_.Add(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowSegmentResponse.segmentIDs)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
|
|
ShowSegmentResponse::segmentids() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.ShowSegmentResponse.segmentIDs)
|
|
return segmentids_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
|
|
ShowSegmentResponse::mutable_segmentids() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ShowSegmentResponse.segmentIDs)
|
|
return &segmentids_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// CreateIndexRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool CreateIndexRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& CreateIndexRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateIndexRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* CreateIndexRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateIndexRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* CreateIndexRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateIndexRequest.base)
|
|
return base_;
|
|
}
|
|
inline void CreateIndexRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateIndexRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void CreateIndexRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreateIndexRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateIndexRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void CreateIndexRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreateIndexRequest.db_name)
|
|
}
|
|
inline void CreateIndexRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreateIndexRequest.db_name)
|
|
}
|
|
inline void CreateIndexRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreateIndexRequest.db_name)
|
|
}
|
|
inline void CreateIndexRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreateIndexRequest.db_name)
|
|
}
|
|
inline std::string* CreateIndexRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateIndexRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreateIndexRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateIndexRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreateIndexRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateIndexRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void CreateIndexRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreateIndexRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateIndexRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void CreateIndexRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreateIndexRequest.collection_name)
|
|
}
|
|
inline void CreateIndexRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreateIndexRequest.collection_name)
|
|
}
|
|
inline void CreateIndexRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreateIndexRequest.collection_name)
|
|
}
|
|
inline void CreateIndexRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreateIndexRequest.collection_name)
|
|
}
|
|
inline std::string* CreateIndexRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateIndexRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreateIndexRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateIndexRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreateIndexRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateIndexRequest.collection_name)
|
|
}
|
|
|
|
// string field_name = 4;
|
|
inline void CreateIndexRequest::clear_field_name() {
|
|
field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& CreateIndexRequest::field_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateIndexRequest.field_name)
|
|
return field_name_.GetNoArena();
|
|
}
|
|
inline void CreateIndexRequest::set_field_name(const std::string& value) {
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.CreateIndexRequest.field_name)
|
|
}
|
|
inline void CreateIndexRequest::set_field_name(std::string&& value) {
|
|
|
|
field_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreateIndexRequest.field_name)
|
|
}
|
|
inline void CreateIndexRequest::set_field_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreateIndexRequest.field_name)
|
|
}
|
|
inline void CreateIndexRequest::set_field_name(const char* value, size_t size) {
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreateIndexRequest.field_name)
|
|
}
|
|
inline std::string* CreateIndexRequest::mutable_field_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateIndexRequest.field_name)
|
|
return field_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* CreateIndexRequest::release_field_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateIndexRequest.field_name)
|
|
|
|
return field_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CreateIndexRequest::set_allocated_field_name(std::string* field_name) {
|
|
if (field_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
field_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), field_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateIndexRequest.field_name)
|
|
}
|
|
|
|
// repeated .milvus.proto.common.KeyValuePair extra_params = 5;
|
|
inline int CreateIndexRequest::extra_params_size() const {
|
|
return extra_params_.size();
|
|
}
|
|
inline ::milvus::proto::common::KeyValuePair* CreateIndexRequest::mutable_extra_params(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateIndexRequest.extra_params)
|
|
return extra_params_.Mutable(index);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
|
|
CreateIndexRequest::mutable_extra_params() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.CreateIndexRequest.extra_params)
|
|
return &extra_params_;
|
|
}
|
|
inline const ::milvus::proto::common::KeyValuePair& CreateIndexRequest::extra_params(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateIndexRequest.extra_params)
|
|
return extra_params_.Get(index);
|
|
}
|
|
inline ::milvus::proto::common::KeyValuePair* CreateIndexRequest::add_extra_params() {
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.CreateIndexRequest.extra_params)
|
|
return extra_params_.Add();
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
|
|
CreateIndexRequest::extra_params() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.CreateIndexRequest.extra_params)
|
|
return extra_params_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DescribeIndexRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool DescribeIndexRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& DescribeIndexRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeIndexRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DescribeIndexRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeIndexRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* DescribeIndexRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeIndexRequest.base)
|
|
return base_;
|
|
}
|
|
inline void DescribeIndexRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeIndexRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void DescribeIndexRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DescribeIndexRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeIndexRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void DescribeIndexRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeIndexRequest.db_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DescribeIndexRequest.db_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DescribeIndexRequest.db_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DescribeIndexRequest.db_name)
|
|
}
|
|
inline std::string* DescribeIndexRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeIndexRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DescribeIndexRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeIndexRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DescribeIndexRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeIndexRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void DescribeIndexRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DescribeIndexRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeIndexRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void DescribeIndexRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeIndexRequest.collection_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DescribeIndexRequest.collection_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DescribeIndexRequest.collection_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DescribeIndexRequest.collection_name)
|
|
}
|
|
inline std::string* DescribeIndexRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeIndexRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DescribeIndexRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeIndexRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DescribeIndexRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeIndexRequest.collection_name)
|
|
}
|
|
|
|
// string field_name = 4;
|
|
inline void DescribeIndexRequest::clear_field_name() {
|
|
field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DescribeIndexRequest::field_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeIndexRequest.field_name)
|
|
return field_name_.GetNoArena();
|
|
}
|
|
inline void DescribeIndexRequest::set_field_name(const std::string& value) {
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeIndexRequest.field_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_field_name(std::string&& value) {
|
|
|
|
field_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DescribeIndexRequest.field_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_field_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DescribeIndexRequest.field_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_field_name(const char* value, size_t size) {
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DescribeIndexRequest.field_name)
|
|
}
|
|
inline std::string* DescribeIndexRequest::mutable_field_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeIndexRequest.field_name)
|
|
return field_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DescribeIndexRequest::release_field_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeIndexRequest.field_name)
|
|
|
|
return field_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DescribeIndexRequest::set_allocated_field_name(std::string* field_name) {
|
|
if (field_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
field_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), field_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeIndexRequest.field_name)
|
|
}
|
|
|
|
// string index_name = 5;
|
|
inline void DescribeIndexRequest::clear_index_name() {
|
|
index_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& DescribeIndexRequest::index_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeIndexRequest.index_name)
|
|
return index_name_.GetNoArena();
|
|
}
|
|
inline void DescribeIndexRequest::set_index_name(const std::string& value) {
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeIndexRequest.index_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_index_name(std::string&& value) {
|
|
|
|
index_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DescribeIndexRequest.index_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_index_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DescribeIndexRequest.index_name)
|
|
}
|
|
inline void DescribeIndexRequest::set_index_name(const char* value, size_t size) {
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DescribeIndexRequest.index_name)
|
|
}
|
|
inline std::string* DescribeIndexRequest::mutable_index_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeIndexRequest.index_name)
|
|
return index_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* DescribeIndexRequest::release_index_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeIndexRequest.index_name)
|
|
|
|
return index_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DescribeIndexRequest::set_allocated_index_name(std::string* index_name) {
|
|
if (index_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
index_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), index_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeIndexRequest.index_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// IndexDescription
|
|
|
|
// string index_name = 1;
|
|
inline void IndexDescription::clear_index_name() {
|
|
index_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& IndexDescription::index_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexDescription.index_name)
|
|
return index_name_.GetNoArena();
|
|
}
|
|
inline void IndexDescription::set_index_name(const std::string& value) {
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.IndexDescription.index_name)
|
|
}
|
|
inline void IndexDescription::set_index_name(std::string&& value) {
|
|
|
|
index_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.IndexDescription.index_name)
|
|
}
|
|
inline void IndexDescription::set_index_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.IndexDescription.index_name)
|
|
}
|
|
inline void IndexDescription::set_index_name(const char* value, size_t size) {
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.IndexDescription.index_name)
|
|
}
|
|
inline std::string* IndexDescription::mutable_index_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.IndexDescription.index_name)
|
|
return index_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* IndexDescription::release_index_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.IndexDescription.index_name)
|
|
|
|
return index_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void IndexDescription::set_allocated_index_name(std::string* index_name) {
|
|
if (index_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
index_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), index_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.IndexDescription.index_name)
|
|
}
|
|
|
|
// repeated .milvus.proto.common.KeyValuePair params = 2;
|
|
inline int IndexDescription::params_size() const {
|
|
return params_.size();
|
|
}
|
|
inline ::milvus::proto::common::KeyValuePair* IndexDescription::mutable_params(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.IndexDescription.params)
|
|
return params_.Mutable(index);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >*
|
|
IndexDescription::mutable_params() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.IndexDescription.params)
|
|
return ¶ms_;
|
|
}
|
|
inline const ::milvus::proto::common::KeyValuePair& IndexDescription::params(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexDescription.params)
|
|
return params_.Get(index);
|
|
}
|
|
inline ::milvus::proto::common::KeyValuePair* IndexDescription::add_params() {
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.IndexDescription.params)
|
|
return params_.Add();
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::KeyValuePair >&
|
|
IndexDescription::params() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.IndexDescription.params)
|
|
return params_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DescribeIndexResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool DescribeIndexResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& DescribeIndexResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeIndexResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* DescribeIndexResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeIndexResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* DescribeIndexResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeIndexResponse.status)
|
|
return status_;
|
|
}
|
|
inline void DescribeIndexResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeIndexResponse.status)
|
|
}
|
|
|
|
// repeated .milvus.proto.milvus.IndexDescription index_descriptions = 2;
|
|
inline int DescribeIndexResponse::index_descriptions_size() const {
|
|
return index_descriptions_.size();
|
|
}
|
|
inline void DescribeIndexResponse::clear_index_descriptions() {
|
|
index_descriptions_.Clear();
|
|
}
|
|
inline ::milvus::proto::milvus::IndexDescription* DescribeIndexResponse::mutable_index_descriptions(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeIndexResponse.index_descriptions)
|
|
return index_descriptions_.Mutable(index);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::IndexDescription >*
|
|
DescribeIndexResponse::mutable_index_descriptions() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.DescribeIndexResponse.index_descriptions)
|
|
return &index_descriptions_;
|
|
}
|
|
inline const ::milvus::proto::milvus::IndexDescription& DescribeIndexResponse::index_descriptions(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeIndexResponse.index_descriptions)
|
|
return index_descriptions_.Get(index);
|
|
}
|
|
inline ::milvus::proto::milvus::IndexDescription* DescribeIndexResponse::add_index_descriptions() {
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.DescribeIndexResponse.index_descriptions)
|
|
return index_descriptions_.Add();
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::IndexDescription >&
|
|
DescribeIndexResponse::index_descriptions() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.DescribeIndexResponse.index_descriptions)
|
|
return index_descriptions_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// IndexStateRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool IndexStateRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& IndexStateRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexStateRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* IndexStateRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.IndexStateRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* IndexStateRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.IndexStateRequest.base)
|
|
return base_;
|
|
}
|
|
inline void IndexStateRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.IndexStateRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void IndexStateRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& IndexStateRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexStateRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void IndexStateRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.IndexStateRequest.db_name)
|
|
}
|
|
inline void IndexStateRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.IndexStateRequest.db_name)
|
|
}
|
|
inline void IndexStateRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.IndexStateRequest.db_name)
|
|
}
|
|
inline void IndexStateRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.IndexStateRequest.db_name)
|
|
}
|
|
inline std::string* IndexStateRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.IndexStateRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* IndexStateRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.IndexStateRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void IndexStateRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.IndexStateRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void IndexStateRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& IndexStateRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexStateRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void IndexStateRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.IndexStateRequest.collection_name)
|
|
}
|
|
inline void IndexStateRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.IndexStateRequest.collection_name)
|
|
}
|
|
inline void IndexStateRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.IndexStateRequest.collection_name)
|
|
}
|
|
inline void IndexStateRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.IndexStateRequest.collection_name)
|
|
}
|
|
inline std::string* IndexStateRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.IndexStateRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* IndexStateRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.IndexStateRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void IndexStateRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.IndexStateRequest.collection_name)
|
|
}
|
|
|
|
// string field_name = 4;
|
|
inline void IndexStateRequest::clear_field_name() {
|
|
field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& IndexStateRequest::field_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexStateRequest.field_name)
|
|
return field_name_.GetNoArena();
|
|
}
|
|
inline void IndexStateRequest::set_field_name(const std::string& value) {
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.IndexStateRequest.field_name)
|
|
}
|
|
inline void IndexStateRequest::set_field_name(std::string&& value) {
|
|
|
|
field_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.IndexStateRequest.field_name)
|
|
}
|
|
inline void IndexStateRequest::set_field_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.IndexStateRequest.field_name)
|
|
}
|
|
inline void IndexStateRequest::set_field_name(const char* value, size_t size) {
|
|
|
|
field_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.IndexStateRequest.field_name)
|
|
}
|
|
inline std::string* IndexStateRequest::mutable_field_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.IndexStateRequest.field_name)
|
|
return field_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* IndexStateRequest::release_field_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.IndexStateRequest.field_name)
|
|
|
|
return field_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void IndexStateRequest::set_allocated_field_name(std::string* field_name) {
|
|
if (field_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
field_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), field_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.IndexStateRequest.field_name)
|
|
}
|
|
|
|
// string index_name = 5;
|
|
inline void IndexStateRequest::clear_index_name() {
|
|
index_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& IndexStateRequest::index_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexStateRequest.index_name)
|
|
return index_name_.GetNoArena();
|
|
}
|
|
inline void IndexStateRequest::set_index_name(const std::string& value) {
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.IndexStateRequest.index_name)
|
|
}
|
|
inline void IndexStateRequest::set_index_name(std::string&& value) {
|
|
|
|
index_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.IndexStateRequest.index_name)
|
|
}
|
|
inline void IndexStateRequest::set_index_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.IndexStateRequest.index_name)
|
|
}
|
|
inline void IndexStateRequest::set_index_name(const char* value, size_t size) {
|
|
|
|
index_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.IndexStateRequest.index_name)
|
|
}
|
|
inline std::string* IndexStateRequest::mutable_index_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.IndexStateRequest.index_name)
|
|
return index_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* IndexStateRequest::release_index_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.IndexStateRequest.index_name)
|
|
|
|
return index_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void IndexStateRequest::set_allocated_index_name(std::string* index_name) {
|
|
if (index_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
index_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), index_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.IndexStateRequest.index_name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// IndexStateResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool IndexStateResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& IndexStateResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexStateResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* IndexStateResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.IndexStateResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* IndexStateResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.IndexStateResponse.status)
|
|
return status_;
|
|
}
|
|
inline void IndexStateResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.IndexStateResponse.status)
|
|
}
|
|
|
|
// .milvus.proto.common.IndexState state = 2;
|
|
inline void IndexStateResponse::clear_state() {
|
|
state_ = 0;
|
|
}
|
|
inline ::milvus::proto::common::IndexState IndexStateResponse::state() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.IndexStateResponse.state)
|
|
return static_cast< ::milvus::proto::common::IndexState >(state_);
|
|
}
|
|
inline void IndexStateResponse::set_state(::milvus::proto::common::IndexState value) {
|
|
|
|
state_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.IndexStateResponse.state)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// InsertRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool InsertRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& InsertRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* InsertRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.InsertRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* InsertRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.InsertRequest.base)
|
|
return base_;
|
|
}
|
|
inline void InsertRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.InsertRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void InsertRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& InsertRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void InsertRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.InsertRequest.db_name)
|
|
}
|
|
inline void InsertRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.InsertRequest.db_name)
|
|
}
|
|
inline void InsertRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.InsertRequest.db_name)
|
|
}
|
|
inline void InsertRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.InsertRequest.db_name)
|
|
}
|
|
inline std::string* InsertRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.InsertRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* InsertRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.InsertRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void InsertRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.InsertRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void InsertRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& InsertRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void InsertRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.InsertRequest.collection_name)
|
|
}
|
|
inline void InsertRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.InsertRequest.collection_name)
|
|
}
|
|
inline void InsertRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.InsertRequest.collection_name)
|
|
}
|
|
inline void InsertRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.InsertRequest.collection_name)
|
|
}
|
|
inline std::string* InsertRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.InsertRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* InsertRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.InsertRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void InsertRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.InsertRequest.collection_name)
|
|
}
|
|
|
|
// string partition_name = 4;
|
|
inline void InsertRequest::clear_partition_name() {
|
|
partition_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& InsertRequest::partition_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertRequest.partition_name)
|
|
return partition_name_.GetNoArena();
|
|
}
|
|
inline void InsertRequest::set_partition_name(const std::string& value) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.InsertRequest.partition_name)
|
|
}
|
|
inline void InsertRequest::set_partition_name(std::string&& value) {
|
|
|
|
partition_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.InsertRequest.partition_name)
|
|
}
|
|
inline void InsertRequest::set_partition_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.InsertRequest.partition_name)
|
|
}
|
|
inline void InsertRequest::set_partition_name(const char* value, size_t size) {
|
|
|
|
partition_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.InsertRequest.partition_name)
|
|
}
|
|
inline std::string* InsertRequest::mutable_partition_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.InsertRequest.partition_name)
|
|
return partition_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* InsertRequest::release_partition_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.InsertRequest.partition_name)
|
|
|
|
return partition_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void InsertRequest::set_allocated_partition_name(std::string* partition_name) {
|
|
if (partition_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
partition_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), partition_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.InsertRequest.partition_name)
|
|
}
|
|
|
|
// repeated .milvus.proto.common.Blob row_data = 5;
|
|
inline int InsertRequest::row_data_size() const {
|
|
return row_data_.size();
|
|
}
|
|
inline ::milvus::proto::common::Blob* InsertRequest::mutable_row_data(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.InsertRequest.row_data)
|
|
return row_data_.Mutable(index);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::Blob >*
|
|
InsertRequest::mutable_row_data() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.InsertRequest.row_data)
|
|
return &row_data_;
|
|
}
|
|
inline const ::milvus::proto::common::Blob& InsertRequest::row_data(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertRequest.row_data)
|
|
return row_data_.Get(index);
|
|
}
|
|
inline ::milvus::proto::common::Blob* InsertRequest::add_row_data() {
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.InsertRequest.row_data)
|
|
return row_data_.Add();
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::common::Blob >&
|
|
InsertRequest::row_data() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.InsertRequest.row_data)
|
|
return row_data_;
|
|
}
|
|
|
|
// repeated uint32 hash_keys = 6;
|
|
inline int InsertRequest::hash_keys_size() const {
|
|
return hash_keys_.size();
|
|
}
|
|
inline void InsertRequest::clear_hash_keys() {
|
|
hash_keys_.Clear();
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::uint32 InsertRequest::hash_keys(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertRequest.hash_keys)
|
|
return hash_keys_.Get(index);
|
|
}
|
|
inline void InsertRequest::set_hash_keys(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) {
|
|
hash_keys_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.InsertRequest.hash_keys)
|
|
}
|
|
inline void InsertRequest::add_hash_keys(::PROTOBUF_NAMESPACE_ID::uint32 value) {
|
|
hash_keys_.Add(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.InsertRequest.hash_keys)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
|
|
InsertRequest::hash_keys() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.InsertRequest.hash_keys)
|
|
return hash_keys_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
|
|
InsertRequest::mutable_hash_keys() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.InsertRequest.hash_keys)
|
|
return &hash_keys_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// InsertResponse
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool InsertResponse::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& InsertResponse::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertResponse.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* InsertResponse::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.InsertResponse.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* InsertResponse::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.InsertResponse.status)
|
|
return status_;
|
|
}
|
|
inline void InsertResponse::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.InsertResponse.status)
|
|
}
|
|
|
|
// int64 rowID_begin = 2;
|
|
inline void InsertResponse::clear_rowid_begin() {
|
|
rowid_begin_ = PROTOBUF_LONGLONG(0);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 InsertResponse::rowid_begin() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertResponse.rowID_begin)
|
|
return rowid_begin_;
|
|
}
|
|
inline void InsertResponse::set_rowid_begin(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
|
|
rowid_begin_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.InsertResponse.rowID_begin)
|
|
}
|
|
|
|
// int64 rowID_end = 3;
|
|
inline void InsertResponse::clear_rowid_end() {
|
|
rowid_end_ = PROTOBUF_LONGLONG(0);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 InsertResponse::rowid_end() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.InsertResponse.rowID_end)
|
|
return rowid_end_;
|
|
}
|
|
inline void InsertResponse::set_rowid_end(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
|
|
rowid_end_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.InsertResponse.rowID_end)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PlaceholderValue
|
|
|
|
// string tag = 1;
|
|
inline void PlaceholderValue::clear_tag() {
|
|
tag_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& PlaceholderValue::tag() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PlaceholderValue.tag)
|
|
return tag_.GetNoArena();
|
|
}
|
|
inline void PlaceholderValue::set_tag(const std::string& value) {
|
|
|
|
tag_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.PlaceholderValue.tag)
|
|
}
|
|
inline void PlaceholderValue::set_tag(std::string&& value) {
|
|
|
|
tag_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.PlaceholderValue.tag)
|
|
}
|
|
inline void PlaceholderValue::set_tag(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
tag_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.PlaceholderValue.tag)
|
|
}
|
|
inline void PlaceholderValue::set_tag(const char* value, size_t size) {
|
|
|
|
tag_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.PlaceholderValue.tag)
|
|
}
|
|
inline std::string* PlaceholderValue::mutable_tag() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PlaceholderValue.tag)
|
|
return tag_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* PlaceholderValue::release_tag() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.PlaceholderValue.tag)
|
|
|
|
return tag_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void PlaceholderValue::set_allocated_tag(std::string* tag) {
|
|
if (tag != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
tag_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), tag);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.PlaceholderValue.tag)
|
|
}
|
|
|
|
// .milvus.proto.milvus.PlaceholderType type = 2;
|
|
inline void PlaceholderValue::clear_type() {
|
|
type_ = 0;
|
|
}
|
|
inline ::milvus::proto::milvus::PlaceholderType PlaceholderValue::type() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PlaceholderValue.type)
|
|
return static_cast< ::milvus::proto::milvus::PlaceholderType >(type_);
|
|
}
|
|
inline void PlaceholderValue::set_type(::milvus::proto::milvus::PlaceholderType value) {
|
|
|
|
type_ = value;
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.PlaceholderValue.type)
|
|
}
|
|
|
|
// repeated bytes values = 3;
|
|
inline int PlaceholderValue::values_size() const {
|
|
return values_.size();
|
|
}
|
|
inline void PlaceholderValue::clear_values() {
|
|
values_.Clear();
|
|
}
|
|
inline const std::string& PlaceholderValue::values(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PlaceholderValue.values)
|
|
return values_.Get(index);
|
|
}
|
|
inline std::string* PlaceholderValue::mutable_values(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PlaceholderValue.values)
|
|
return values_.Mutable(index);
|
|
}
|
|
inline void PlaceholderValue::set_values(int index, const std::string& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.PlaceholderValue.values)
|
|
values_.Mutable(index)->assign(value);
|
|
}
|
|
inline void PlaceholderValue::set_values(int index, std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.PlaceholderValue.values)
|
|
values_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
inline void PlaceholderValue::set_values(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
values_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.PlaceholderValue.values)
|
|
}
|
|
inline void PlaceholderValue::set_values(int index, const void* value, size_t size) {
|
|
values_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.PlaceholderValue.values)
|
|
}
|
|
inline std::string* PlaceholderValue::add_values() {
|
|
// @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.PlaceholderValue.values)
|
|
return values_.Add();
|
|
}
|
|
inline void PlaceholderValue::add_values(const std::string& value) {
|
|
values_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.PlaceholderValue.values)
|
|
}
|
|
inline void PlaceholderValue::add_values(std::string&& value) {
|
|
values_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.PlaceholderValue.values)
|
|
}
|
|
inline void PlaceholderValue::add_values(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
values_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:milvus.proto.milvus.PlaceholderValue.values)
|
|
}
|
|
inline void PlaceholderValue::add_values(const void* value, size_t size) {
|
|
values_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.PlaceholderValue.values)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
|
|
PlaceholderValue::values() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.PlaceholderValue.values)
|
|
return values_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
|
|
PlaceholderValue::mutable_values() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.PlaceholderValue.values)
|
|
return &values_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PlaceholderGroup
|
|
|
|
// repeated .milvus.proto.milvus.PlaceholderValue placeholders = 1;
|
|
inline int PlaceholderGroup::placeholders_size() const {
|
|
return placeholders_.size();
|
|
}
|
|
inline void PlaceholderGroup::clear_placeholders() {
|
|
placeholders_.Clear();
|
|
}
|
|
inline ::milvus::proto::milvus::PlaceholderValue* PlaceholderGroup::mutable_placeholders(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.PlaceholderGroup.placeholders)
|
|
return placeholders_.Mutable(index);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::PlaceholderValue >*
|
|
PlaceholderGroup::mutable_placeholders() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.PlaceholderGroup.placeholders)
|
|
return &placeholders_;
|
|
}
|
|
inline const ::milvus::proto::milvus::PlaceholderValue& PlaceholderGroup::placeholders(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.PlaceholderGroup.placeholders)
|
|
return placeholders_.Get(index);
|
|
}
|
|
inline ::milvus::proto::milvus::PlaceholderValue* PlaceholderGroup::add_placeholders() {
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.PlaceholderGroup.placeholders)
|
|
return placeholders_.Add();
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::PlaceholderValue >&
|
|
PlaceholderGroup::placeholders() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.PlaceholderGroup.placeholders)
|
|
return placeholders_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SearchRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool SearchRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& SearchRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.SearchRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* SearchRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.SearchRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* SearchRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.SearchRequest.base)
|
|
return base_;
|
|
}
|
|
inline void SearchRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.SearchRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void SearchRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& SearchRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.SearchRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void SearchRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.SearchRequest.db_name)
|
|
}
|
|
inline void SearchRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.SearchRequest.db_name)
|
|
}
|
|
inline void SearchRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.SearchRequest.db_name)
|
|
}
|
|
inline void SearchRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.SearchRequest.db_name)
|
|
}
|
|
inline std::string* SearchRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.SearchRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* SearchRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.SearchRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SearchRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.SearchRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void SearchRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& SearchRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.SearchRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void SearchRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.SearchRequest.collection_name)
|
|
}
|
|
inline void SearchRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.SearchRequest.collection_name)
|
|
}
|
|
inline void SearchRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.SearchRequest.collection_name)
|
|
}
|
|
inline void SearchRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.SearchRequest.collection_name)
|
|
}
|
|
inline std::string* SearchRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.SearchRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* SearchRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.SearchRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SearchRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.SearchRequest.collection_name)
|
|
}
|
|
|
|
// repeated string partition_names = 4;
|
|
inline int SearchRequest::partition_names_size() const {
|
|
return partition_names_.size();
|
|
}
|
|
inline void SearchRequest::clear_partition_names() {
|
|
partition_names_.Clear();
|
|
}
|
|
inline const std::string& SearchRequest::partition_names(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.SearchRequest.partition_names)
|
|
return partition_names_.Get(index);
|
|
}
|
|
inline std::string* SearchRequest::mutable_partition_names(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.SearchRequest.partition_names)
|
|
return partition_names_.Mutable(index);
|
|
}
|
|
inline void SearchRequest::set_partition_names(int index, const std::string& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.SearchRequest.partition_names)
|
|
partition_names_.Mutable(index)->assign(value);
|
|
}
|
|
inline void SearchRequest::set_partition_names(int index, std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.SearchRequest.partition_names)
|
|
partition_names_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
inline void SearchRequest::set_partition_names(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
partition_names_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.SearchRequest.partition_names)
|
|
}
|
|
inline void SearchRequest::set_partition_names(int index, const char* value, size_t size) {
|
|
partition_names_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.SearchRequest.partition_names)
|
|
}
|
|
inline std::string* SearchRequest::add_partition_names() {
|
|
// @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.SearchRequest.partition_names)
|
|
return partition_names_.Add();
|
|
}
|
|
inline void SearchRequest::add_partition_names(const std::string& value) {
|
|
partition_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.SearchRequest.partition_names)
|
|
}
|
|
inline void SearchRequest::add_partition_names(std::string&& value) {
|
|
partition_names_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.SearchRequest.partition_names)
|
|
}
|
|
inline void SearchRequest::add_partition_names(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
partition_names_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:milvus.proto.milvus.SearchRequest.partition_names)
|
|
}
|
|
inline void SearchRequest::add_partition_names(const char* value, size_t size) {
|
|
partition_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.SearchRequest.partition_names)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
|
|
SearchRequest::partition_names() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.SearchRequest.partition_names)
|
|
return partition_names_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
|
|
SearchRequest::mutable_partition_names() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.SearchRequest.partition_names)
|
|
return &partition_names_;
|
|
}
|
|
|
|
// string dsl = 5;
|
|
inline void SearchRequest::clear_dsl() {
|
|
dsl_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& SearchRequest::dsl() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.SearchRequest.dsl)
|
|
return dsl_.GetNoArena();
|
|
}
|
|
inline void SearchRequest::set_dsl(const std::string& value) {
|
|
|
|
dsl_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.SearchRequest.dsl)
|
|
}
|
|
inline void SearchRequest::set_dsl(std::string&& value) {
|
|
|
|
dsl_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.SearchRequest.dsl)
|
|
}
|
|
inline void SearchRequest::set_dsl(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
dsl_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.SearchRequest.dsl)
|
|
}
|
|
inline void SearchRequest::set_dsl(const char* value, size_t size) {
|
|
|
|
dsl_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.SearchRequest.dsl)
|
|
}
|
|
inline std::string* SearchRequest::mutable_dsl() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.SearchRequest.dsl)
|
|
return dsl_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* SearchRequest::release_dsl() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.SearchRequest.dsl)
|
|
|
|
return dsl_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SearchRequest::set_allocated_dsl(std::string* dsl) {
|
|
if (dsl != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
dsl_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), dsl);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.SearchRequest.dsl)
|
|
}
|
|
|
|
// bytes placeholder_group = 6;
|
|
inline void SearchRequest::clear_placeholder_group() {
|
|
placeholder_group_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& SearchRequest::placeholder_group() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.SearchRequest.placeholder_group)
|
|
return placeholder_group_.GetNoArena();
|
|
}
|
|
inline void SearchRequest::set_placeholder_group(const std::string& value) {
|
|
|
|
placeholder_group_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.SearchRequest.placeholder_group)
|
|
}
|
|
inline void SearchRequest::set_placeholder_group(std::string&& value) {
|
|
|
|
placeholder_group_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.SearchRequest.placeholder_group)
|
|
}
|
|
inline void SearchRequest::set_placeholder_group(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
placeholder_group_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.SearchRequest.placeholder_group)
|
|
}
|
|
inline void SearchRequest::set_placeholder_group(const void* value, size_t size) {
|
|
|
|
placeholder_group_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.SearchRequest.placeholder_group)
|
|
}
|
|
inline std::string* SearchRequest::mutable_placeholder_group() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.SearchRequest.placeholder_group)
|
|
return placeholder_group_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* SearchRequest::release_placeholder_group() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.SearchRequest.placeholder_group)
|
|
|
|
return placeholder_group_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SearchRequest::set_allocated_placeholder_group(std::string* placeholder_group) {
|
|
if (placeholder_group != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
placeholder_group_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), placeholder_group);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.SearchRequest.placeholder_group)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Hits
|
|
|
|
// repeated int64 IDs = 1;
|
|
inline int Hits::ids_size() const {
|
|
return ids_.size();
|
|
}
|
|
inline void Hits::clear_ids() {
|
|
ids_.Clear();
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::int64 Hits::ids(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.Hits.IDs)
|
|
return ids_.Get(index);
|
|
}
|
|
inline void Hits::set_ids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
ids_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.Hits.IDs)
|
|
}
|
|
inline void Hits::add_ids(::PROTOBUF_NAMESPACE_ID::int64 value) {
|
|
ids_.Add(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.Hits.IDs)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
|
|
Hits::ids() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.Hits.IDs)
|
|
return ids_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
|
|
Hits::mutable_ids() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.Hits.IDs)
|
|
return &ids_;
|
|
}
|
|
|
|
// repeated bytes row_data = 2;
|
|
inline int Hits::row_data_size() const {
|
|
return row_data_.size();
|
|
}
|
|
inline void Hits::clear_row_data() {
|
|
row_data_.Clear();
|
|
}
|
|
inline const std::string& Hits::row_data(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.Hits.row_data)
|
|
return row_data_.Get(index);
|
|
}
|
|
inline std::string* Hits::mutable_row_data(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.Hits.row_data)
|
|
return row_data_.Mutable(index);
|
|
}
|
|
inline void Hits::set_row_data(int index, const std::string& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.Hits.row_data)
|
|
row_data_.Mutable(index)->assign(value);
|
|
}
|
|
inline void Hits::set_row_data(int index, std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.Hits.row_data)
|
|
row_data_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
inline void Hits::set_row_data(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
row_data_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.Hits.row_data)
|
|
}
|
|
inline void Hits::set_row_data(int index, const void* value, size_t size) {
|
|
row_data_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.Hits.row_data)
|
|
}
|
|
inline std::string* Hits::add_row_data() {
|
|
// @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.Hits.row_data)
|
|
return row_data_.Add();
|
|
}
|
|
inline void Hits::add_row_data(const std::string& value) {
|
|
row_data_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.Hits.row_data)
|
|
}
|
|
inline void Hits::add_row_data(std::string&& value) {
|
|
row_data_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.Hits.row_data)
|
|
}
|
|
inline void Hits::add_row_data(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
row_data_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:milvus.proto.milvus.Hits.row_data)
|
|
}
|
|
inline void Hits::add_row_data(const void* value, size_t size) {
|
|
row_data_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.Hits.row_data)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
|
|
Hits::row_data() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.Hits.row_data)
|
|
return row_data_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
|
|
Hits::mutable_row_data() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.Hits.row_data)
|
|
return &row_data_;
|
|
}
|
|
|
|
// repeated float scores = 3;
|
|
inline int Hits::scores_size() const {
|
|
return scores_.size();
|
|
}
|
|
inline void Hits::clear_scores() {
|
|
scores_.Clear();
|
|
}
|
|
inline float Hits::scores(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.Hits.scores)
|
|
return scores_.Get(index);
|
|
}
|
|
inline void Hits::set_scores(int index, float value) {
|
|
scores_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.Hits.scores)
|
|
}
|
|
inline void Hits::add_scores(float value) {
|
|
scores_.Add(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.Hits.scores)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
|
|
Hits::scores() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.Hits.scores)
|
|
return scores_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
|
|
Hits::mutable_scores() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.Hits.scores)
|
|
return &scores_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SearchResults
|
|
|
|
// .milvus.proto.common.Status status = 1;
|
|
inline bool SearchResults::has_status() const {
|
|
return this != internal_default_instance() && status_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::Status& SearchResults::status() const {
|
|
const ::milvus::proto::common::Status* p = status_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.SearchResults.status)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::Status*>(
|
|
&::milvus::proto::common::_Status_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::Status* SearchResults::release_status() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.SearchResults.status)
|
|
|
|
::milvus::proto::common::Status* temp = status_;
|
|
status_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::Status* SearchResults::mutable_status() {
|
|
|
|
if (status_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual());
|
|
status_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.SearchResults.status)
|
|
return status_;
|
|
}
|
|
inline void SearchResults::set_allocated_status(::milvus::proto::common::Status* status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_);
|
|
}
|
|
if (status) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, status, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
status_ = status;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.SearchResults.status)
|
|
}
|
|
|
|
// repeated bytes hits = 2;
|
|
inline int SearchResults::hits_size() const {
|
|
return hits_.size();
|
|
}
|
|
inline void SearchResults::clear_hits() {
|
|
hits_.Clear();
|
|
}
|
|
inline const std::string& SearchResults::hits(int index) const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.SearchResults.hits)
|
|
return hits_.Get(index);
|
|
}
|
|
inline std::string* SearchResults::mutable_hits(int index) {
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.SearchResults.hits)
|
|
return hits_.Mutable(index);
|
|
}
|
|
inline void SearchResults::set_hits(int index, const std::string& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.SearchResults.hits)
|
|
hits_.Mutable(index)->assign(value);
|
|
}
|
|
inline void SearchResults::set_hits(int index, std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.SearchResults.hits)
|
|
hits_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
inline void SearchResults::set_hits(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
hits_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.SearchResults.hits)
|
|
}
|
|
inline void SearchResults::set_hits(int index, const void* value, size_t size) {
|
|
hits_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.SearchResults.hits)
|
|
}
|
|
inline std::string* SearchResults::add_hits() {
|
|
// @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.SearchResults.hits)
|
|
return hits_.Add();
|
|
}
|
|
inline void SearchResults::add_hits(const std::string& value) {
|
|
hits_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.SearchResults.hits)
|
|
}
|
|
inline void SearchResults::add_hits(std::string&& value) {
|
|
hits_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:milvus.proto.milvus.SearchResults.hits)
|
|
}
|
|
inline void SearchResults::add_hits(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
hits_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:milvus.proto.milvus.SearchResults.hits)
|
|
}
|
|
inline void SearchResults::add_hits(const void* value, size_t size) {
|
|
hits_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.SearchResults.hits)
|
|
}
|
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
|
|
SearchResults::hits() const {
|
|
// @@protoc_insertion_point(field_list:milvus.proto.milvus.SearchResults.hits)
|
|
return hits_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
|
|
SearchResults::mutable_hits() {
|
|
// @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.SearchResults.hits)
|
|
return &hits_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// FlushRequest
|
|
|
|
// .milvus.proto.common.MsgBase base = 1;
|
|
inline bool FlushRequest::has_base() const {
|
|
return this != internal_default_instance() && base_ != nullptr;
|
|
}
|
|
inline const ::milvus::proto::common::MsgBase& FlushRequest::base() const {
|
|
const ::milvus::proto::common::MsgBase* p = base_;
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.FlushRequest.base)
|
|
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::common::MsgBase*>(
|
|
&::milvus::proto::common::_MsgBase_default_instance_);
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* FlushRequest::release_base() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.FlushRequest.base)
|
|
|
|
::milvus::proto::common::MsgBase* temp = base_;
|
|
base_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::milvus::proto::common::MsgBase* FlushRequest::mutable_base() {
|
|
|
|
if (base_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual());
|
|
base_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.FlushRequest.base)
|
|
return base_;
|
|
}
|
|
inline void FlushRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
|
|
}
|
|
if (base) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
|
|
if (message_arena != submessage_arena) {
|
|
base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, base, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
base_ = base;
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.FlushRequest.base)
|
|
}
|
|
|
|
// string db_name = 2;
|
|
inline void FlushRequest::clear_db_name() {
|
|
db_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& FlushRequest::db_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.FlushRequest.db_name)
|
|
return db_name_.GetNoArena();
|
|
}
|
|
inline void FlushRequest::set_db_name(const std::string& value) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.FlushRequest.db_name)
|
|
}
|
|
inline void FlushRequest::set_db_name(std::string&& value) {
|
|
|
|
db_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.FlushRequest.db_name)
|
|
}
|
|
inline void FlushRequest::set_db_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.FlushRequest.db_name)
|
|
}
|
|
inline void FlushRequest::set_db_name(const char* value, size_t size) {
|
|
|
|
db_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.FlushRequest.db_name)
|
|
}
|
|
inline std::string* FlushRequest::mutable_db_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.FlushRequest.db_name)
|
|
return db_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* FlushRequest::release_db_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.FlushRequest.db_name)
|
|
|
|
return db_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void FlushRequest::set_allocated_db_name(std::string* db_name) {
|
|
if (db_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
db_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), db_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.FlushRequest.db_name)
|
|
}
|
|
|
|
// string collection_name = 3;
|
|
inline void FlushRequest::clear_collection_name() {
|
|
collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const std::string& FlushRequest::collection_name() const {
|
|
// @@protoc_insertion_point(field_get:milvus.proto.milvus.FlushRequest.collection_name)
|
|
return collection_name_.GetNoArena();
|
|
}
|
|
inline void FlushRequest::set_collection_name(const std::string& value) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:milvus.proto.milvus.FlushRequest.collection_name)
|
|
}
|
|
inline void FlushRequest::set_collection_name(std::string&& value) {
|
|
|
|
collection_name_.SetNoArena(
|
|
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.FlushRequest.collection_name)
|
|
}
|
|
inline void FlushRequest::set_collection_name(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:milvus.proto.milvus.FlushRequest.collection_name)
|
|
}
|
|
inline void FlushRequest::set_collection_name(const char* value, size_t size) {
|
|
|
|
collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.FlushRequest.collection_name)
|
|
}
|
|
inline std::string* FlushRequest::mutable_collection_name() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.FlushRequest.collection_name)
|
|
return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline std::string* FlushRequest::release_collection_name() {
|
|
// @@protoc_insertion_point(field_release:milvus.proto.milvus.FlushRequest.collection_name)
|
|
|
|
return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void FlushRequest::set_allocated_collection_name(std::string* collection_name) {
|
|
if (collection_name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name);
|
|
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.FlushRequest.collection_name)
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace milvus
|
|
} // namespace proto
|
|
} // namespace milvus
|
|
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
|
|
template <> struct is_proto_enum< ::milvus::proto::milvus::PlaceholderType> : ::std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* GetEnumDescriptor< ::milvus::proto::milvus::PlaceholderType>() {
|
|
return ::milvus::proto::milvus::PlaceholderType_descriptor();
|
|
}
|
|
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include <google/protobuf/port_undef.inc>
|
|
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_milvus_2eproto
|