mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2036 lines
90 KiB
2036 lines
90 KiB
9 years ago
|
/*
|
||
|
*
|
||
|
* Copyright 2015, Google Inc.
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
* Redistribution and use in source and binary forms, with or without
|
||
|
* modification, are permitted provided that the following conditions are
|
||
|
* met:
|
||
|
*
|
||
|
* * Redistributions of source code must retain the above copyright
|
||
|
* notice, this list of conditions and the following disclaimer.
|
||
|
* * Redistributions in binary form must reproduce the above
|
||
|
* copyright notice, this list of conditions and the following disclaimer
|
||
|
* in the documentation and/or other materials provided with the
|
||
|
* distribution.
|
||
|
* * Neither the name of Google Inc. nor the names of its
|
||
|
* contributors may be used to endorse or promote products derived from
|
||
|
* this software without specific prior written permission.
|
||
|
*
|
||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||
|
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||
|
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
|
||
9 years ago
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
// source: reflection.proto
|
||
|
|
||
|
#ifndef PROTOBUF_reflection_2eproto__INCLUDED
|
||
|
#define PROTOBUF_reflection_2eproto__INCLUDED
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include <google/protobuf/stubs/common.h>
|
||
|
|
||
|
#if GOOGLE_PROTOBUF_VERSION < 3000000
|
||
|
#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 3000000 < GOOGLE_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/arena.h>
|
||
|
#include <google/protobuf/arenastring.h>
|
||
|
#include <google/protobuf/generated_message_util.h>
|
||
|
#include <google/protobuf/metadata.h>
|
||
9 years ago
|
#include <google/protobuf/message.h>
|
||
9 years ago
|
#include <google/protobuf/repeated_field.h>
|
||
9 years ago
|
#include <google/protobuf/extension_set.h>
|
||
9 years ago
|
#include <google/protobuf/unknown_field_set.h>
|
||
|
// @@protoc_insertion_point(includes)
|
||
|
|
||
|
namespace grpc {
|
||
|
namespace reflection {
|
||
|
namespace v1alpha {
|
||
|
|
||
|
// Internal implementation detail -- do not call these.
|
||
|
void protobuf_AddDesc_reflection_2eproto();
|
||
|
void protobuf_AssignDesc_reflection_2eproto();
|
||
|
void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
9 years ago
|
class ErrorResponse;
|
||
9 years ago
|
class ExtensionNumberResponse;
|
||
|
class ExtensionRequest;
|
||
9 years ago
|
class FileDescriptorResponse;
|
||
9 years ago
|
class ListServiceResponse;
|
||
9 years ago
|
class ServerReflectionRequest;
|
||
|
class ServerReflectionResponse;
|
||
|
class ServiceResponse;
|
||
9 years ago
|
|
||
|
// ===================================================================
|
||
|
|
||
9 years ago
|
class ServerReflectionRequest : public ::google::protobuf::Message {
|
||
9 years ago
|
public:
|
||
9 years ago
|
ServerReflectionRequest();
|
||
|
virtual ~ServerReflectionRequest();
|
||
9 years ago
|
|
||
9 years ago
|
ServerReflectionRequest(const ServerReflectionRequest& from);
|
||
9 years ago
|
|
||
9 years ago
|
inline ServerReflectionRequest& operator=(const ServerReflectionRequest& from) {
|
||
9 years ago
|
CopyFrom(from);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
static const ::google::protobuf::Descriptor* descriptor();
|
||
9 years ago
|
static const ServerReflectionRequest& default_instance();
|
||
9 years ago
|
|
||
9 years ago
|
enum MessageRequestCase {
|
||
|
kFileByFilename = 3,
|
||
|
kFileContainingSymbol = 4,
|
||
|
kFileContainingExtension = 5,
|
||
|
kAllExtensionNumbersOfType = 6,
|
||
|
kListServices = 7,
|
||
|
MESSAGE_REQUEST_NOT_SET = 0,
|
||
|
};
|
||
9 years ago
|
|
||
9 years ago
|
void Swap(ServerReflectionRequest* other);
|
||
9 years ago
|
|
||
|
// implements Message ----------------------------------------------
|
||
|
|
||
9 years ago
|
inline ServerReflectionRequest* New() const { return New(NULL); }
|
||
9 years ago
|
|
||
9 years ago
|
ServerReflectionRequest* New(::google::protobuf::Arena* arena) const;
|
||
9 years ago
|
void CopyFrom(const ::google::protobuf::Message& from);
|
||
|
void MergeFrom(const ::google::protobuf::Message& from);
|
||
9 years ago
|
void CopyFrom(const ServerReflectionRequest& from);
|
||
|
void MergeFrom(const ServerReflectionRequest& from);
|
||
9 years ago
|
void Clear();
|
||
|
bool IsInitialized() const;
|
||
|
|
||
|
int ByteSize() const;
|
||
|
bool MergePartialFromCodedStream(
|
||
|
::google::protobuf::io::CodedInputStream* input);
|
||
|
void SerializeWithCachedSizes(
|
||
|
::google::protobuf::io::CodedOutputStream* output) const;
|
||
9 years ago
|
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
||
9 years ago
|
int GetCachedSize() const { return _cached_size_; }
|
||
9 years ago
|
private:
|
||
9 years ago
|
void SharedCtor();
|
||
|
void SharedDtor();
|
||
|
void SetCachedSize(int size) const;
|
||
9 years ago
|
void InternalSwap(ServerReflectionRequest* other);
|
||
9 years ago
|
private:
|
||
9 years ago
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||
|
return _internal_metadata_.arena();
|
||
|
}
|
||
|
inline void* MaybeArenaPtr() const {
|
||
|
return _internal_metadata_.raw_arena_ptr();
|
||
|
}
|
||
9 years ago
|
public:
|
||
9 years ago
|
|
||
|
::google::protobuf::Metadata GetMetadata() const;
|
||
|
|
||
|
// nested types ----------------------------------------------------
|
||
|
|
||
|
// accessors -------------------------------------------------------
|
||
|
|
||
9 years ago
|
// optional string host = 1;
|
||
|
void clear_host();
|
||
|
static const int kHostFieldNumber = 1;
|
||
|
const ::std::string& host() const;
|
||
|
void set_host(const ::std::string& value);
|
||
|
void set_host(const char* value);
|
||
|
void set_host(const char* value, size_t size);
|
||
|
::std::string* mutable_host();
|
||
|
::std::string* release_host();
|
||
|
void set_allocated_host(::std::string* host);
|
||
|
|
||
|
// optional string file_by_filename = 3;
|
||
|
private:
|
||
|
bool has_file_by_filename() const;
|
||
|
public:
|
||
|
void clear_file_by_filename();
|
||
|
static const int kFileByFilenameFieldNumber = 3;
|
||
|
const ::std::string& file_by_filename() const;
|
||
|
void set_file_by_filename(const ::std::string& value);
|
||
|
void set_file_by_filename(const char* value);
|
||
|
void set_file_by_filename(const char* value, size_t size);
|
||
|
::std::string* mutable_file_by_filename();
|
||
|
::std::string* release_file_by_filename();
|
||
|
void set_allocated_file_by_filename(::std::string* file_by_filename);
|
||
|
|
||
|
// optional string file_containing_symbol = 4;
|
||
|
private:
|
||
|
bool has_file_containing_symbol() const;
|
||
|
public:
|
||
|
void clear_file_containing_symbol();
|
||
|
static const int kFileContainingSymbolFieldNumber = 4;
|
||
|
const ::std::string& file_containing_symbol() const;
|
||
|
void set_file_containing_symbol(const ::std::string& value);
|
||
|
void set_file_containing_symbol(const char* value);
|
||
|
void set_file_containing_symbol(const char* value, size_t size);
|
||
|
::std::string* mutable_file_containing_symbol();
|
||
|
::std::string* release_file_containing_symbol();
|
||
|
void set_allocated_file_containing_symbol(::std::string* file_containing_symbol);
|
||
|
|
||
|
// optional .grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5;
|
||
|
bool has_file_containing_extension() const;
|
||
|
void clear_file_containing_extension();
|
||
|
static const int kFileContainingExtensionFieldNumber = 5;
|
||
|
const ::grpc::reflection::v1alpha::ExtensionRequest& file_containing_extension() const;
|
||
|
::grpc::reflection::v1alpha::ExtensionRequest* mutable_file_containing_extension();
|
||
|
::grpc::reflection::v1alpha::ExtensionRequest* release_file_containing_extension();
|
||
|
void set_allocated_file_containing_extension(::grpc::reflection::v1alpha::ExtensionRequest* file_containing_extension);
|
||
|
|
||
|
// optional string all_extension_numbers_of_type = 6;
|
||
|
private:
|
||
|
bool has_all_extension_numbers_of_type() const;
|
||
|
public:
|
||
|
void clear_all_extension_numbers_of_type();
|
||
|
static const int kAllExtensionNumbersOfTypeFieldNumber = 6;
|
||
|
const ::std::string& all_extension_numbers_of_type() const;
|
||
|
void set_all_extension_numbers_of_type(const ::std::string& value);
|
||
|
void set_all_extension_numbers_of_type(const char* value);
|
||
|
void set_all_extension_numbers_of_type(const char* value, size_t size);
|
||
|
::std::string* mutable_all_extension_numbers_of_type();
|
||
|
::std::string* release_all_extension_numbers_of_type();
|
||
|
void set_allocated_all_extension_numbers_of_type(::std::string* all_extension_numbers_of_type);
|
||
|
|
||
|
// optional string list_services = 7;
|
||
|
private:
|
||
|
bool has_list_services() const;
|
||
|
public:
|
||
|
void clear_list_services();
|
||
|
static const int kListServicesFieldNumber = 7;
|
||
|
const ::std::string& list_services() const;
|
||
|
void set_list_services(const ::std::string& value);
|
||
|
void set_list_services(const char* value);
|
||
|
void set_list_services(const char* value, size_t size);
|
||
|
::std::string* mutable_list_services();
|
||
|
::std::string* release_list_services();
|
||
|
void set_allocated_list_services(::std::string* list_services);
|
||
|
|
||
|
MessageRequestCase message_request_case() const;
|
||
9 years ago
|
// @@protoc_insertion_point(class_scope:grpc.reflection.v1alpha.ServerReflectionRequest)
|
||
9 years ago
|
private:
|
||
9 years ago
|
inline void set_has_file_by_filename();
|
||
|
inline void set_has_file_containing_symbol();
|
||
|
inline void set_has_file_containing_extension();
|
||
|
inline void set_has_all_extension_numbers_of_type();
|
||
|
inline void set_has_list_services();
|
||
9 years ago
|
|
||
9 years ago
|
inline bool has_message_request() const;
|
||
|
void clear_message_request();
|
||
|
inline void clear_has_message_request();
|
||
9 years ago
|
|
||
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||
|
bool _is_default_instance_;
|
||
9 years ago
|
::google::protobuf::internal::ArenaStringPtr host_;
|
||
|
union MessageRequestUnion {
|
||
|
MessageRequestUnion() {}
|
||
|
::google::protobuf::internal::ArenaStringPtr file_by_filename_;
|
||
|
::google::protobuf::internal::ArenaStringPtr file_containing_symbol_;
|
||
|
::grpc::reflection::v1alpha::ExtensionRequest* file_containing_extension_;
|
||
|
::google::protobuf::internal::ArenaStringPtr all_extension_numbers_of_type_;
|
||
|
::google::protobuf::internal::ArenaStringPtr list_services_;
|
||
|
} message_request_;
|
||
9 years ago
|
mutable int _cached_size_;
|
||
9 years ago
|
::google::protobuf::uint32 _oneof_case_[1];
|
||
|
|
||
|
friend void protobuf_AddDesc_reflection_2eproto();
|
||
9 years ago
|
friend void protobuf_AssignDesc_reflection_2eproto();
|
||
|
friend void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
|
void InitAsDefaultInstance();
|
||
9 years ago
|
static ServerReflectionRequest* default_instance_;
|
||
9 years ago
|
};
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
|
class ExtensionRequest : public ::google::protobuf::Message {
|
||
|
public:
|
||
|
ExtensionRequest();
|
||
|
virtual ~ExtensionRequest();
|
||
|
|
||
|
ExtensionRequest(const ExtensionRequest& from);
|
||
|
|
||
|
inline ExtensionRequest& operator=(const ExtensionRequest& from) {
|
||
|
CopyFrom(from);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
static const ::google::protobuf::Descriptor* descriptor();
|
||
|
static const ExtensionRequest& default_instance();
|
||
|
|
||
|
void Swap(ExtensionRequest* other);
|
||
|
|
||
|
// implements Message ----------------------------------------------
|
||
|
|
||
|
inline ExtensionRequest* New() const { return New(NULL); }
|
||
|
|
||
|
ExtensionRequest* New(::google::protobuf::Arena* arena) const;
|
||
|
void CopyFrom(const ::google::protobuf::Message& from);
|
||
|
void MergeFrom(const ::google::protobuf::Message& from);
|
||
|
void CopyFrom(const ExtensionRequest& from);
|
||
|
void MergeFrom(const ExtensionRequest& from);
|
||
|
void Clear();
|
||
|
bool IsInitialized() const;
|
||
|
|
||
|
int ByteSize() const;
|
||
|
bool MergePartialFromCodedStream(
|
||
|
::google::protobuf::io::CodedInputStream* input);
|
||
|
void SerializeWithCachedSizes(
|
||
|
::google::protobuf::io::CodedOutputStream* output) const;
|
||
9 years ago
|
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
||
9 years ago
|
int GetCachedSize() const { return _cached_size_; }
|
||
9 years ago
|
private:
|
||
9 years ago
|
void SharedCtor();
|
||
|
void SharedDtor();
|
||
|
void SetCachedSize(int size) const;
|
||
|
void InternalSwap(ExtensionRequest* other);
|
||
9 years ago
|
private:
|
||
9 years ago
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||
|
return _internal_metadata_.arena();
|
||
|
}
|
||
|
inline void* MaybeArenaPtr() const {
|
||
|
return _internal_metadata_.raw_arena_ptr();
|
||
|
}
|
||
9 years ago
|
public:
|
||
9 years ago
|
|
||
|
::google::protobuf::Metadata GetMetadata() const;
|
||
|
|
||
|
// nested types ----------------------------------------------------
|
||
|
|
||
|
// accessors -------------------------------------------------------
|
||
|
|
||
|
// optional string containing_type = 1;
|
||
|
void clear_containing_type();
|
||
|
static const int kContainingTypeFieldNumber = 1;
|
||
|
const ::std::string& containing_type() const;
|
||
|
void set_containing_type(const ::std::string& value);
|
||
|
void set_containing_type(const char* value);
|
||
|
void set_containing_type(const char* value, size_t size);
|
||
|
::std::string* mutable_containing_type();
|
||
|
::std::string* release_containing_type();
|
||
|
void set_allocated_containing_type(::std::string* containing_type);
|
||
|
|
||
|
// optional int32 extension_number = 2;
|
||
|
void clear_extension_number();
|
||
|
static const int kExtensionNumberFieldNumber = 2;
|
||
|
::google::protobuf::int32 extension_number() const;
|
||
|
void set_extension_number(::google::protobuf::int32 value);
|
||
|
|
||
|
// @@protoc_insertion_point(class_scope:grpc.reflection.v1alpha.ExtensionRequest)
|
||
|
private:
|
||
9 years ago
|
|
||
9 years ago
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||
|
bool _is_default_instance_;
|
||
|
::google::protobuf::internal::ArenaStringPtr containing_type_;
|
||
|
::google::protobuf::int32 extension_number_;
|
||
|
mutable int _cached_size_;
|
||
9 years ago
|
friend void protobuf_AddDesc_reflection_2eproto();
|
||
9 years ago
|
friend void protobuf_AssignDesc_reflection_2eproto();
|
||
|
friend void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
|
void InitAsDefaultInstance();
|
||
|
static ExtensionRequest* default_instance_;
|
||
|
};
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
class ServerReflectionResponse : public ::google::protobuf::Message {
|
||
9 years ago
|
public:
|
||
9 years ago
|
ServerReflectionResponse();
|
||
|
virtual ~ServerReflectionResponse();
|
||
9 years ago
|
|
||
9 years ago
|
ServerReflectionResponse(const ServerReflectionResponse& from);
|
||
9 years ago
|
|
||
9 years ago
|
inline ServerReflectionResponse& operator=(const ServerReflectionResponse& from) {
|
||
9 years ago
|
CopyFrom(from);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
static const ::google::protobuf::Descriptor* descriptor();
|
||
9 years ago
|
static const ServerReflectionResponse& default_instance();
|
||
9 years ago
|
|
||
|
enum MessageResponseCase {
|
||
9 years ago
|
kFileDescriptorResponse = 4,
|
||
9 years ago
|
kAllExtensionNumbersResponse = 5,
|
||
|
kListServicesResponse = 6,
|
||
|
kErrorResponse = 7,
|
||
|
MESSAGE_RESPONSE_NOT_SET = 0,
|
||
|
};
|
||
9 years ago
|
|
||
9 years ago
|
void Swap(ServerReflectionResponse* other);
|
||
9 years ago
|
|
||
|
// implements Message ----------------------------------------------
|
||
|
|
||
9 years ago
|
inline ServerReflectionResponse* New() const { return New(NULL); }
|
||
9 years ago
|
|
||
9 years ago
|
ServerReflectionResponse* New(::google::protobuf::Arena* arena) const;
|
||
9 years ago
|
void CopyFrom(const ::google::protobuf::Message& from);
|
||
|
void MergeFrom(const ::google::protobuf::Message& from);
|
||
9 years ago
|
void CopyFrom(const ServerReflectionResponse& from);
|
||
|
void MergeFrom(const ServerReflectionResponse& from);
|
||
9 years ago
|
void Clear();
|
||
|
bool IsInitialized() const;
|
||
|
|
||
|
int ByteSize() const;
|
||
|
bool MergePartialFromCodedStream(
|
||
|
::google::protobuf::io::CodedInputStream* input);
|
||
|
void SerializeWithCachedSizes(
|
||
|
::google::protobuf::io::CodedOutputStream* output) const;
|
||
9 years ago
|
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
||
9 years ago
|
int GetCachedSize() const { return _cached_size_; }
|
||
9 years ago
|
private:
|
||
9 years ago
|
void SharedCtor();
|
||
|
void SharedDtor();
|
||
|
void SetCachedSize(int size) const;
|
||
9 years ago
|
void InternalSwap(ServerReflectionResponse* other);
|
||
9 years ago
|
private:
|
||
9 years ago
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||
|
return _internal_metadata_.arena();
|
||
|
}
|
||
|
inline void* MaybeArenaPtr() const {
|
||
|
return _internal_metadata_.raw_arena_ptr();
|
||
|
}
|
||
9 years ago
|
public:
|
||
9 years ago
|
|
||
|
::google::protobuf::Metadata GetMetadata() const;
|
||
|
|
||
|
// nested types ----------------------------------------------------
|
||
|
|
||
|
// accessors -------------------------------------------------------
|
||
|
|
||
9 years ago
|
// optional string valid_host = 1;
|
||
|
void clear_valid_host();
|
||
|
static const int kValidHostFieldNumber = 1;
|
||
|
const ::std::string& valid_host() const;
|
||
|
void set_valid_host(const ::std::string& value);
|
||
|
void set_valid_host(const char* value);
|
||
|
void set_valid_host(const char* value, size_t size);
|
||
|
::std::string* mutable_valid_host();
|
||
|
::std::string* release_valid_host();
|
||
|
void set_allocated_valid_host(::std::string* valid_host);
|
||
|
|
||
9 years ago
|
// optional .grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;
|
||
9 years ago
|
bool has_original_request() const;
|
||
|
void clear_original_request();
|
||
|
static const int kOriginalRequestFieldNumber = 2;
|
||
9 years ago
|
const ::grpc::reflection::v1alpha::ServerReflectionRequest& original_request() const;
|
||
|
::grpc::reflection::v1alpha::ServerReflectionRequest* mutable_original_request();
|
||
|
::grpc::reflection::v1alpha::ServerReflectionRequest* release_original_request();
|
||
|
void set_allocated_original_request(::grpc::reflection::v1alpha::ServerReflectionRequest* original_request);
|
||
|
|
||
|
// optional .grpc.reflection.v1alpha.FileDescriptorResponse file_descriptor_response = 4;
|
||
|
bool has_file_descriptor_response() const;
|
||
|
void clear_file_descriptor_response();
|
||
|
static const int kFileDescriptorResponseFieldNumber = 4;
|
||
|
const ::grpc::reflection::v1alpha::FileDescriptorResponse& file_descriptor_response() const;
|
||
|
::grpc::reflection::v1alpha::FileDescriptorResponse* mutable_file_descriptor_response();
|
||
|
::grpc::reflection::v1alpha::FileDescriptorResponse* release_file_descriptor_response();
|
||
|
void set_allocated_file_descriptor_response(::grpc::reflection::v1alpha::FileDescriptorResponse* file_descriptor_response);
|
||
9 years ago
|
|
||
|
// optional .grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;
|
||
|
bool has_all_extension_numbers_response() const;
|
||
|
void clear_all_extension_numbers_response();
|
||
|
static const int kAllExtensionNumbersResponseFieldNumber = 5;
|
||
|
const ::grpc::reflection::v1alpha::ExtensionNumberResponse& all_extension_numbers_response() const;
|
||
|
::grpc::reflection::v1alpha::ExtensionNumberResponse* mutable_all_extension_numbers_response();
|
||
|
::grpc::reflection::v1alpha::ExtensionNumberResponse* release_all_extension_numbers_response();
|
||
|
void set_allocated_all_extension_numbers_response(::grpc::reflection::v1alpha::ExtensionNumberResponse* all_extension_numbers_response);
|
||
|
|
||
|
// optional .grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;
|
||
|
bool has_list_services_response() const;
|
||
|
void clear_list_services_response();
|
||
|
static const int kListServicesResponseFieldNumber = 6;
|
||
|
const ::grpc::reflection::v1alpha::ListServiceResponse& list_services_response() const;
|
||
|
::grpc::reflection::v1alpha::ListServiceResponse* mutable_list_services_response();
|
||
|
::grpc::reflection::v1alpha::ListServiceResponse* release_list_services_response();
|
||
|
void set_allocated_list_services_response(::grpc::reflection::v1alpha::ListServiceResponse* list_services_response);
|
||
|
|
||
|
// optional .grpc.reflection.v1alpha.ErrorResponse error_response = 7;
|
||
|
bool has_error_response() const;
|
||
|
void clear_error_response();
|
||
|
static const int kErrorResponseFieldNumber = 7;
|
||
|
const ::grpc::reflection::v1alpha::ErrorResponse& error_response() const;
|
||
|
::grpc::reflection::v1alpha::ErrorResponse* mutable_error_response();
|
||
|
::grpc::reflection::v1alpha::ErrorResponse* release_error_response();
|
||
|
void set_allocated_error_response(::grpc::reflection::v1alpha::ErrorResponse* error_response);
|
||
|
|
||
|
MessageResponseCase message_response_case() const;
|
||
9 years ago
|
// @@protoc_insertion_point(class_scope:grpc.reflection.v1alpha.ServerReflectionResponse)
|
||
9 years ago
|
private:
|
||
9 years ago
|
inline void set_has_file_descriptor_response();
|
||
9 years ago
|
inline void set_has_all_extension_numbers_response();
|
||
|
inline void set_has_list_services_response();
|
||
|
inline void set_has_error_response();
|
||
|
|
||
|
inline bool has_message_response() const;
|
||
|
void clear_message_response();
|
||
|
inline void clear_has_message_response();
|
||
|
|
||
9 years ago
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||
|
bool _is_default_instance_;
|
||
9 years ago
|
::google::protobuf::internal::ArenaStringPtr valid_host_;
|
||
9 years ago
|
::grpc::reflection::v1alpha::ServerReflectionRequest* original_request_;
|
||
9 years ago
|
union MessageResponseUnion {
|
||
|
MessageResponseUnion() {}
|
||
9 years ago
|
::grpc::reflection::v1alpha::FileDescriptorResponse* file_descriptor_response_;
|
||
9 years ago
|
::grpc::reflection::v1alpha::ExtensionNumberResponse* all_extension_numbers_response_;
|
||
|
::grpc::reflection::v1alpha::ListServiceResponse* list_services_response_;
|
||
|
::grpc::reflection::v1alpha::ErrorResponse* error_response_;
|
||
|
} message_response_;
|
||
9 years ago
|
mutable int _cached_size_;
|
||
9 years ago
|
::google::protobuf::uint32 _oneof_case_[1];
|
||
|
|
||
|
friend void protobuf_AddDesc_reflection_2eproto();
|
||
9 years ago
|
friend void protobuf_AssignDesc_reflection_2eproto();
|
||
|
friend void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
|
void InitAsDefaultInstance();
|
||
9 years ago
|
static ServerReflectionResponse* default_instance_;
|
||
|
};
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
|
class FileDescriptorResponse : public ::google::protobuf::Message {
|
||
|
public:
|
||
|
FileDescriptorResponse();
|
||
|
virtual ~FileDescriptorResponse();
|
||
|
|
||
|
FileDescriptorResponse(const FileDescriptorResponse& from);
|
||
|
|
||
|
inline FileDescriptorResponse& operator=(const FileDescriptorResponse& from) {
|
||
|
CopyFrom(from);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
static const ::google::protobuf::Descriptor* descriptor();
|
||
|
static const FileDescriptorResponse& default_instance();
|
||
|
|
||
|
void Swap(FileDescriptorResponse* other);
|
||
|
|
||
|
// implements Message ----------------------------------------------
|
||
|
|
||
|
inline FileDescriptorResponse* New() const { return New(NULL); }
|
||
|
|
||
|
FileDescriptorResponse* New(::google::protobuf::Arena* arena) const;
|
||
|
void CopyFrom(const ::google::protobuf::Message& from);
|
||
|
void MergeFrom(const ::google::protobuf::Message& from);
|
||
|
void CopyFrom(const FileDescriptorResponse& from);
|
||
|
void MergeFrom(const FileDescriptorResponse& from);
|
||
|
void Clear();
|
||
|
bool IsInitialized() const;
|
||
|
|
||
|
int ByteSize() const;
|
||
|
bool MergePartialFromCodedStream(
|
||
|
::google::protobuf::io::CodedInputStream* input);
|
||
|
void SerializeWithCachedSizes(
|
||
|
::google::protobuf::io::CodedOutputStream* output) const;
|
||
|
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
||
|
int GetCachedSize() const { return _cached_size_; }
|
||
|
private:
|
||
|
void SharedCtor();
|
||
|
void SharedDtor();
|
||
|
void SetCachedSize(int size) const;
|
||
|
void InternalSwap(FileDescriptorResponse* other);
|
||
|
private:
|
||
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||
|
return _internal_metadata_.arena();
|
||
|
}
|
||
|
inline void* MaybeArenaPtr() const {
|
||
|
return _internal_metadata_.raw_arena_ptr();
|
||
|
}
|
||
|
public:
|
||
|
|
||
|
::google::protobuf::Metadata GetMetadata() const;
|
||
|
|
||
|
// nested types ----------------------------------------------------
|
||
|
|
||
|
// accessors -------------------------------------------------------
|
||
|
|
||
|
// repeated bytes file_descriptor_proto = 1;
|
||
|
int file_descriptor_proto_size() const;
|
||
|
void clear_file_descriptor_proto();
|
||
|
static const int kFileDescriptorProtoFieldNumber = 1;
|
||
|
const ::std::string& file_descriptor_proto(int index) const;
|
||
|
::std::string* mutable_file_descriptor_proto(int index);
|
||
|
void set_file_descriptor_proto(int index, const ::std::string& value);
|
||
|
void set_file_descriptor_proto(int index, const char* value);
|
||
|
void set_file_descriptor_proto(int index, const void* value, size_t size);
|
||
|
::std::string* add_file_descriptor_proto();
|
||
|
void add_file_descriptor_proto(const ::std::string& value);
|
||
|
void add_file_descriptor_proto(const char* value);
|
||
|
void add_file_descriptor_proto(const void* value, size_t size);
|
||
|
const ::google::protobuf::RepeatedPtrField< ::std::string>& file_descriptor_proto() const;
|
||
|
::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_descriptor_proto();
|
||
|
|
||
|
// @@protoc_insertion_point(class_scope:grpc.reflection.v1alpha.FileDescriptorResponse)
|
||
|
private:
|
||
|
|
||
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||
|
bool _is_default_instance_;
|
||
|
::google::protobuf::RepeatedPtrField< ::std::string> file_descriptor_proto_;
|
||
|
mutable int _cached_size_;
|
||
|
friend void protobuf_AddDesc_reflection_2eproto();
|
||
|
friend void protobuf_AssignDesc_reflection_2eproto();
|
||
|
friend void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
|
void InitAsDefaultInstance();
|
||
|
static FileDescriptorResponse* default_instance_;
|
||
9 years ago
|
};
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
class ExtensionNumberResponse : public ::google::protobuf::Message {
|
||
9 years ago
|
public:
|
||
9 years ago
|
ExtensionNumberResponse();
|
||
|
virtual ~ExtensionNumberResponse();
|
||
9 years ago
|
|
||
9 years ago
|
ExtensionNumberResponse(const ExtensionNumberResponse& from);
|
||
9 years ago
|
|
||
9 years ago
|
inline ExtensionNumberResponse& operator=(const ExtensionNumberResponse& from) {
|
||
9 years ago
|
CopyFrom(from);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
static const ::google::protobuf::Descriptor* descriptor();
|
||
9 years ago
|
static const ExtensionNumberResponse& default_instance();
|
||
9 years ago
|
|
||
9 years ago
|
void Swap(ExtensionNumberResponse* other);
|
||
9 years ago
|
|
||
|
// implements Message ----------------------------------------------
|
||
|
|
||
9 years ago
|
inline ExtensionNumberResponse* New() const { return New(NULL); }
|
||
9 years ago
|
|
||
9 years ago
|
ExtensionNumberResponse* New(::google::protobuf::Arena* arena) const;
|
||
9 years ago
|
void CopyFrom(const ::google::protobuf::Message& from);
|
||
|
void MergeFrom(const ::google::protobuf::Message& from);
|
||
9 years ago
|
void CopyFrom(const ExtensionNumberResponse& from);
|
||
|
void MergeFrom(const ExtensionNumberResponse& from);
|
||
9 years ago
|
void Clear();
|
||
|
bool IsInitialized() const;
|
||
|
|
||
|
int ByteSize() const;
|
||
|
bool MergePartialFromCodedStream(
|
||
|
::google::protobuf::io::CodedInputStream* input);
|
||
|
void SerializeWithCachedSizes(
|
||
|
::google::protobuf::io::CodedOutputStream* output) const;
|
||
9 years ago
|
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
||
9 years ago
|
int GetCachedSize() const { return _cached_size_; }
|
||
9 years ago
|
private:
|
||
9 years ago
|
void SharedCtor();
|
||
|
void SharedDtor();
|
||
|
void SetCachedSize(int size) const;
|
||
9 years ago
|
void InternalSwap(ExtensionNumberResponse* other);
|
||
|
private:
|
||
9 years ago
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||
|
return _internal_metadata_.arena();
|
||
|
}
|
||
|
inline void* MaybeArenaPtr() const {
|
||
|
return _internal_metadata_.raw_arena_ptr();
|
||
|
}
|
||
9 years ago
|
public:
|
||
9 years ago
|
|
||
|
::google::protobuf::Metadata GetMetadata() const;
|
||
|
|
||
|
// nested types ----------------------------------------------------
|
||
|
|
||
|
// accessors -------------------------------------------------------
|
||
|
|
||
9 years ago
|
// optional string base_type_name = 1;
|
||
|
void clear_base_type_name();
|
||
|
static const int kBaseTypeNameFieldNumber = 1;
|
||
|
const ::std::string& base_type_name() const;
|
||
|
void set_base_type_name(const ::std::string& value);
|
||
|
void set_base_type_name(const char* value);
|
||
|
void set_base_type_name(const char* value, size_t size);
|
||
|
::std::string* mutable_base_type_name();
|
||
|
::std::string* release_base_type_name();
|
||
|
void set_allocated_base_type_name(::std::string* base_type_name);
|
||
|
|
||
|
// repeated int32 extension_number = 2;
|
||
|
int extension_number_size() const;
|
||
|
void clear_extension_number();
|
||
|
static const int kExtensionNumberFieldNumber = 2;
|
||
|
::google::protobuf::int32 extension_number(int index) const;
|
||
|
void set_extension_number(int index, ::google::protobuf::int32 value);
|
||
|
void add_extension_number(::google::protobuf::int32 value);
|
||
|
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
||
|
extension_number() const;
|
||
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
||
|
mutable_extension_number();
|
||
9 years ago
|
|
||
9 years ago
|
// @@protoc_insertion_point(class_scope:grpc.reflection.v1alpha.ExtensionNumberResponse)
|
||
9 years ago
|
private:
|
||
9 years ago
|
|
||
9 years ago
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||
|
bool _is_default_instance_;
|
||
9 years ago
|
::google::protobuf::internal::ArenaStringPtr base_type_name_;
|
||
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 > extension_number_;
|
||
|
mutable int _extension_number_cached_byte_size_;
|
||
9 years ago
|
mutable int _cached_size_;
|
||
9 years ago
|
friend void protobuf_AddDesc_reflection_2eproto();
|
||
9 years ago
|
friend void protobuf_AssignDesc_reflection_2eproto();
|
||
|
friend void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
|
void InitAsDefaultInstance();
|
||
9 years ago
|
static ExtensionNumberResponse* default_instance_;
|
||
9 years ago
|
};
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
class ListServiceResponse : public ::google::protobuf::Message {
|
||
9 years ago
|
public:
|
||
9 years ago
|
ListServiceResponse();
|
||
|
virtual ~ListServiceResponse();
|
||
9 years ago
|
|
||
9 years ago
|
ListServiceResponse(const ListServiceResponse& from);
|
||
9 years ago
|
|
||
9 years ago
|
inline ListServiceResponse& operator=(const ListServiceResponse& from) {
|
||
9 years ago
|
CopyFrom(from);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
static const ::google::protobuf::Descriptor* descriptor();
|
||
9 years ago
|
static const ListServiceResponse& default_instance();
|
||
9 years ago
|
|
||
9 years ago
|
void Swap(ListServiceResponse* other);
|
||
9 years ago
|
|
||
|
// implements Message ----------------------------------------------
|
||
|
|
||
9 years ago
|
inline ListServiceResponse* New() const { return New(NULL); }
|
||
9 years ago
|
|
||
9 years ago
|
ListServiceResponse* New(::google::protobuf::Arena* arena) const;
|
||
9 years ago
|
void CopyFrom(const ::google::protobuf::Message& from);
|
||
|
void MergeFrom(const ::google::protobuf::Message& from);
|
||
9 years ago
|
void CopyFrom(const ListServiceResponse& from);
|
||
|
void MergeFrom(const ListServiceResponse& from);
|
||
9 years ago
|
void Clear();
|
||
|
bool IsInitialized() const;
|
||
|
|
||
|
int ByteSize() const;
|
||
|
bool MergePartialFromCodedStream(
|
||
|
::google::protobuf::io::CodedInputStream* input);
|
||
|
void SerializeWithCachedSizes(
|
||
|
::google::protobuf::io::CodedOutputStream* output) const;
|
||
9 years ago
|
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
||
9 years ago
|
int GetCachedSize() const { return _cached_size_; }
|
||
9 years ago
|
private:
|
||
9 years ago
|
void SharedCtor();
|
||
|
void SharedDtor();
|
||
|
void SetCachedSize(int size) const;
|
||
9 years ago
|
void InternalSwap(ListServiceResponse* other);
|
||
|
private:
|
||
9 years ago
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||
|
return _internal_metadata_.arena();
|
||
|
}
|
||
|
inline void* MaybeArenaPtr() const {
|
||
|
return _internal_metadata_.raw_arena_ptr();
|
||
|
}
|
||
9 years ago
|
public:
|
||
9 years ago
|
|
||
|
::google::protobuf::Metadata GetMetadata() const;
|
||
|
|
||
|
// nested types ----------------------------------------------------
|
||
|
|
||
|
// accessors -------------------------------------------------------
|
||
|
|
||
9 years ago
|
// repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
|
||
9 years ago
|
int service_size() const;
|
||
|
void clear_service();
|
||
|
static const int kServiceFieldNumber = 1;
|
||
9 years ago
|
const ::grpc::reflection::v1alpha::ServiceResponse& service(int index) const;
|
||
|
::grpc::reflection::v1alpha::ServiceResponse* mutable_service(int index);
|
||
|
::grpc::reflection::v1alpha::ServiceResponse* add_service();
|
||
|
::google::protobuf::RepeatedPtrField< ::grpc::reflection::v1alpha::ServiceResponse >*
|
||
|
mutable_service();
|
||
|
const ::google::protobuf::RepeatedPtrField< ::grpc::reflection::v1alpha::ServiceResponse >&
|
||
|
service() const;
|
||
9 years ago
|
|
||
9 years ago
|
// @@protoc_insertion_point(class_scope:grpc.reflection.v1alpha.ListServiceResponse)
|
||
9 years ago
|
private:
|
||
9 years ago
|
|
||
9 years ago
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||
|
bool _is_default_instance_;
|
||
9 years ago
|
::google::protobuf::RepeatedPtrField< ::grpc::reflection::v1alpha::ServiceResponse > service_;
|
||
9 years ago
|
mutable int _cached_size_;
|
||
9 years ago
|
friend void protobuf_AddDesc_reflection_2eproto();
|
||
9 years ago
|
friend void protobuf_AssignDesc_reflection_2eproto();
|
||
|
friend void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
|
void InitAsDefaultInstance();
|
||
9 years ago
|
static ListServiceResponse* default_instance_;
|
||
9 years ago
|
};
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
class ServiceResponse : public ::google::protobuf::Message {
|
||
|
public:
|
||
|
ServiceResponse();
|
||
|
virtual ~ServiceResponse();
|
||
|
|
||
|
ServiceResponse(const ServiceResponse& from);
|
||
|
|
||
|
inline ServiceResponse& operator=(const ServiceResponse& from) {
|
||
|
CopyFrom(from);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
static const ::google::protobuf::Descriptor* descriptor();
|
||
|
static const ServiceResponse& default_instance();
|
||
|
|
||
|
void Swap(ServiceResponse* other);
|
||
|
|
||
|
// implements Message ----------------------------------------------
|
||
|
|
||
|
inline ServiceResponse* New() const { return New(NULL); }
|
||
|
|
||
|
ServiceResponse* New(::google::protobuf::Arena* arena) const;
|
||
|
void CopyFrom(const ::google::protobuf::Message& from);
|
||
|
void MergeFrom(const ::google::protobuf::Message& from);
|
||
|
void CopyFrom(const ServiceResponse& from);
|
||
|
void MergeFrom(const ServiceResponse& from);
|
||
|
void Clear();
|
||
|
bool IsInitialized() const;
|
||
|
|
||
|
int ByteSize() const;
|
||
|
bool MergePartialFromCodedStream(
|
||
|
::google::protobuf::io::CodedInputStream* input);
|
||
|
void SerializeWithCachedSizes(
|
||
|
::google::protobuf::io::CodedOutputStream* output) const;
|
||
|
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
||
|
int GetCachedSize() const { return _cached_size_; }
|
||
|
private:
|
||
|
void SharedCtor();
|
||
|
void SharedDtor();
|
||
|
void SetCachedSize(int size) const;
|
||
|
void InternalSwap(ServiceResponse* other);
|
||
|
private:
|
||
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||
|
return _internal_metadata_.arena();
|
||
|
}
|
||
|
inline void* MaybeArenaPtr() const {
|
||
|
return _internal_metadata_.raw_arena_ptr();
|
||
|
}
|
||
|
public:
|
||
|
|
||
|
::google::protobuf::Metadata GetMetadata() const;
|
||
|
|
||
|
// nested types ----------------------------------------------------
|
||
|
|
||
|
// accessors -------------------------------------------------------
|
||
|
|
||
|
// optional string name = 1;
|
||
|
void clear_name();
|
||
|
static const int kNameFieldNumber = 1;
|
||
|
const ::std::string& name() const;
|
||
|
void set_name(const ::std::string& value);
|
||
|
void set_name(const char* value);
|
||
|
void set_name(const char* value, size_t size);
|
||
|
::std::string* mutable_name();
|
||
|
::std::string* release_name();
|
||
|
void set_allocated_name(::std::string* name);
|
||
|
|
||
|
// @@protoc_insertion_point(class_scope:grpc.reflection.v1alpha.ServiceResponse)
|
||
|
private:
|
||
|
|
||
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||
|
bool _is_default_instance_;
|
||
|
::google::protobuf::internal::ArenaStringPtr name_;
|
||
|
mutable int _cached_size_;
|
||
|
friend void protobuf_AddDesc_reflection_2eproto();
|
||
|
friend void protobuf_AssignDesc_reflection_2eproto();
|
||
|
friend void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
|
void InitAsDefaultInstance();
|
||
|
static ServiceResponse* default_instance_;
|
||
|
};
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
class ErrorResponse : public ::google::protobuf::Message {
|
||
9 years ago
|
public:
|
||
9 years ago
|
ErrorResponse();
|
||
|
virtual ~ErrorResponse();
|
||
9 years ago
|
|
||
9 years ago
|
ErrorResponse(const ErrorResponse& from);
|
||
9 years ago
|
|
||
9 years ago
|
inline ErrorResponse& operator=(const ErrorResponse& from) {
|
||
9 years ago
|
CopyFrom(from);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
static const ::google::protobuf::Descriptor* descriptor();
|
||
9 years ago
|
static const ErrorResponse& default_instance();
|
||
9 years ago
|
|
||
9 years ago
|
void Swap(ErrorResponse* other);
|
||
9 years ago
|
|
||
|
// implements Message ----------------------------------------------
|
||
|
|
||
9 years ago
|
inline ErrorResponse* New() const { return New(NULL); }
|
||
9 years ago
|
|
||
9 years ago
|
ErrorResponse* New(::google::protobuf::Arena* arena) const;
|
||
9 years ago
|
void CopyFrom(const ::google::protobuf::Message& from);
|
||
|
void MergeFrom(const ::google::protobuf::Message& from);
|
||
9 years ago
|
void CopyFrom(const ErrorResponse& from);
|
||
|
void MergeFrom(const ErrorResponse& from);
|
||
9 years ago
|
void Clear();
|
||
|
bool IsInitialized() const;
|
||
|
|
||
|
int ByteSize() const;
|
||
|
bool MergePartialFromCodedStream(
|
||
|
::google::protobuf::io::CodedInputStream* input);
|
||
|
void SerializeWithCachedSizes(
|
||
|
::google::protobuf::io::CodedOutputStream* output) const;
|
||
9 years ago
|
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
||
9 years ago
|
int GetCachedSize() const { return _cached_size_; }
|
||
9 years ago
|
private:
|
||
9 years ago
|
void SharedCtor();
|
||
|
void SharedDtor();
|
||
|
void SetCachedSize(int size) const;
|
||
9 years ago
|
void InternalSwap(ErrorResponse* other);
|
||
|
private:
|
||
9 years ago
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||
|
return _internal_metadata_.arena();
|
||
|
}
|
||
|
inline void* MaybeArenaPtr() const {
|
||
|
return _internal_metadata_.raw_arena_ptr();
|
||
|
}
|
||
9 years ago
|
public:
|
||
9 years ago
|
|
||
|
::google::protobuf::Metadata GetMetadata() const;
|
||
|
|
||
|
// nested types ----------------------------------------------------
|
||
|
|
||
|
// accessors -------------------------------------------------------
|
||
|
|
||
9 years ago
|
// optional int32 error_code = 1;
|
||
|
void clear_error_code();
|
||
|
static const int kErrorCodeFieldNumber = 1;
|
||
|
::google::protobuf::int32 error_code() const;
|
||
|
void set_error_code(::google::protobuf::int32 value);
|
||
|
|
||
|
// optional string error_message = 2;
|
||
|
void clear_error_message();
|
||
|
static const int kErrorMessageFieldNumber = 2;
|
||
|
const ::std::string& error_message() const;
|
||
|
void set_error_message(const ::std::string& value);
|
||
|
void set_error_message(const char* value);
|
||
|
void set_error_message(const char* value, size_t size);
|
||
|
::std::string* mutable_error_message();
|
||
|
::std::string* release_error_message();
|
||
|
void set_allocated_error_message(::std::string* error_message);
|
||
|
|
||
|
// @@protoc_insertion_point(class_scope:grpc.reflection.v1alpha.ErrorResponse)
|
||
9 years ago
|
private:
|
||
9 years ago
|
|
||
9 years ago
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||
|
bool _is_default_instance_;
|
||
9 years ago
|
::google::protobuf::internal::ArenaStringPtr error_message_;
|
||
|
::google::protobuf::int32 error_code_;
|
||
9 years ago
|
mutable int _cached_size_;
|
||
9 years ago
|
friend void protobuf_AddDesc_reflection_2eproto();
|
||
9 years ago
|
friend void protobuf_AssignDesc_reflection_2eproto();
|
||
|
friend void protobuf_ShutdownFile_reflection_2eproto();
|
||
|
|
||
|
void InitAsDefaultInstance();
|
||
9 years ago
|
static ErrorResponse* default_instance_;
|
||
9 years ago
|
};
|
||
|
// ===================================================================
|
||
|
|
||
9 years ago
|
|
||
9 years ago
|
// ===================================================================
|
||
|
|
||
|
#if !PROTOBUF_INLINE_NOT_IN_HEADERS
|
||
9 years ago
|
// ServerReflectionRequest
|
||
9 years ago
|
|
||
9 years ago
|
// optional string host = 1;
|
||
9 years ago
|
inline void ServerReflectionRequest::clear_host() {
|
||
9 years ago
|
host_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline const ::std::string& ServerReflectionRequest::host() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionRequest.host)
|
||
9 years ago
|
return host_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_host(const ::std::string& value) {
|
||
9 years ago
|
|
||
|
host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.host)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_host(const char* value) {
|
||
9 years ago
|
|
||
|
host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ServerReflectionRequest.host)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_host(const char* value, size_t size) {
|
||
9 years ago
|
|
||
|
host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
9 years ago
|
::std::string(reinterpret_cast<const char*>(value), size));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ServerReflectionRequest.host)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::mutable_host() {
|
||
9 years ago
|
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionRequest.host)
|
||
9 years ago
|
return host_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::release_host() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionRequest.host)
|
||
9 years ago
|
|
||
|
return host_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_allocated_host(::std::string* host) {
|
||
9 years ago
|
if (host != NULL) {
|
||
|
|
||
9 years ago
|
} else {
|
||
9 years ago
|
|
||
9 years ago
|
}
|
||
9 years ago
|
host_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), host);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionRequest.host)
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
// optional string file_by_filename = 3;
|
||
9 years ago
|
inline bool ServerReflectionRequest::has_file_by_filename() const {
|
||
9 years ago
|
return message_request_case() == kFileByFilename;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_has_file_by_filename() {
|
||
9 years ago
|
_oneof_case_[0] = kFileByFilename;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::clear_file_by_filename() {
|
||
9 years ago
|
if (has_file_by_filename()) {
|
||
|
message_request_.file_by_filename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
clear_has_message_request();
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline const ::std::string& ServerReflectionRequest::file_by_filename() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename)
|
||
9 years ago
|
if (has_file_by_filename()) {
|
||
|
return message_request_.file_by_filename_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_file_by_filename(const ::std::string& value) {
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename)
|
||
9 years ago
|
if (!has_file_by_filename()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_by_filename();
|
||
|
message_request_.file_by_filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.file_by_filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_file_by_filename(const char* value) {
|
||
9 years ago
|
if (!has_file_by_filename()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_by_filename();
|
||
|
message_request_.file_by_filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.file_by_filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
::std::string(value));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_file_by_filename(const char* value, size_t size) {
|
||
9 years ago
|
if (!has_file_by_filename()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_by_filename();
|
||
|
message_request_.file_by_filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.file_by_filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||
|
reinterpret_cast<const char*>(value), size));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::mutable_file_by_filename() {
|
||
9 years ago
|
if (!has_file_by_filename()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_by_filename();
|
||
|
message_request_.file_by_filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename)
|
||
9 years ago
|
return message_request_.file_by_filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::release_file_by_filename() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename)
|
||
9 years ago
|
if (has_file_by_filename()) {
|
||
|
clear_has_message_request();
|
||
|
return message_request_.file_by_filename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
} else {
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_allocated_file_by_filename(::std::string* file_by_filename) {
|
||
9 years ago
|
if (!has_file_by_filename()) {
|
||
|
message_request_.file_by_filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
clear_message_request();
|
||
|
if (file_by_filename != NULL) {
|
||
|
set_has_file_by_filename();
|
||
|
message_request_.file_by_filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
file_by_filename);
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename)
|
||
9 years ago
|
}
|
||
|
|
||
|
// optional string file_containing_symbol = 4;
|
||
9 years ago
|
inline bool ServerReflectionRequest::has_file_containing_symbol() const {
|
||
9 years ago
|
return message_request_case() == kFileContainingSymbol;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_has_file_containing_symbol() {
|
||
9 years ago
|
_oneof_case_[0] = kFileContainingSymbol;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::clear_file_containing_symbol() {
|
||
9 years ago
|
if (has_file_containing_symbol()) {
|
||
|
message_request_.file_containing_symbol_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
clear_has_message_request();
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline const ::std::string& ServerReflectionRequest::file_containing_symbol() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol)
|
||
9 years ago
|
if (has_file_containing_symbol()) {
|
||
|
return message_request_.file_containing_symbol_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_file_containing_symbol(const ::std::string& value) {
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol)
|
||
9 years ago
|
if (!has_file_containing_symbol()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_containing_symbol();
|
||
|
message_request_.file_containing_symbol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.file_containing_symbol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_file_containing_symbol(const char* value) {
|
||
9 years ago
|
if (!has_file_containing_symbol()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_containing_symbol();
|
||
|
message_request_.file_containing_symbol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.file_containing_symbol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
::std::string(value));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_file_containing_symbol(const char* value, size_t size) {
|
||
9 years ago
|
if (!has_file_containing_symbol()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_containing_symbol();
|
||
|
message_request_.file_containing_symbol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.file_containing_symbol_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||
|
reinterpret_cast<const char*>(value), size));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::mutable_file_containing_symbol() {
|
||
9 years ago
|
if (!has_file_containing_symbol()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_containing_symbol();
|
||
|
message_request_.file_containing_symbol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol)
|
||
9 years ago
|
return message_request_.file_containing_symbol_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::release_file_containing_symbol() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol)
|
||
9 years ago
|
if (has_file_containing_symbol()) {
|
||
|
clear_has_message_request();
|
||
|
return message_request_.file_containing_symbol_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
} else {
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_allocated_file_containing_symbol(::std::string* file_containing_symbol) {
|
||
9 years ago
|
if (!has_file_containing_symbol()) {
|
||
|
message_request_.file_containing_symbol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
clear_message_request();
|
||
|
if (file_containing_symbol != NULL) {
|
||
|
set_has_file_containing_symbol();
|
||
|
message_request_.file_containing_symbol_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
file_containing_symbol);
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol)
|
||
9 years ago
|
}
|
||
9 years ago
|
|
||
9 years ago
|
// optional .grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5;
|
||
9 years ago
|
inline bool ServerReflectionRequest::has_file_containing_extension() const {
|
||
9 years ago
|
return message_request_case() == kFileContainingExtension;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_has_file_containing_extension() {
|
||
9 years ago
|
_oneof_case_[0] = kFileContainingExtension;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::clear_file_containing_extension() {
|
||
9 years ago
|
if (has_file_containing_extension()) {
|
||
|
delete message_request_.file_containing_extension_;
|
||
|
clear_has_message_request();
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline const ::grpc::reflection::v1alpha::ExtensionRequest& ServerReflectionRequest::file_containing_extension() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_extension)
|
||
9 years ago
|
return has_file_containing_extension()
|
||
|
? *message_request_.file_containing_extension_
|
||
|
: ::grpc::reflection::v1alpha::ExtensionRequest::default_instance();
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ExtensionRequest* ServerReflectionRequest::mutable_file_containing_extension() {
|
||
9 years ago
|
if (!has_file_containing_extension()) {
|
||
|
clear_message_request();
|
||
|
set_has_file_containing_extension();
|
||
|
message_request_.file_containing_extension_ = new ::grpc::reflection::v1alpha::ExtensionRequest;
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_extension)
|
||
9 years ago
|
return message_request_.file_containing_extension_;
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ExtensionRequest* ServerReflectionRequest::release_file_containing_extension() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_extension)
|
||
9 years ago
|
if (has_file_containing_extension()) {
|
||
|
clear_has_message_request();
|
||
|
::grpc::reflection::v1alpha::ExtensionRequest* temp = message_request_.file_containing_extension_;
|
||
|
message_request_.file_containing_extension_ = NULL;
|
||
|
return temp;
|
||
|
} else {
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_allocated_file_containing_extension(::grpc::reflection::v1alpha::ExtensionRequest* file_containing_extension) {
|
||
9 years ago
|
clear_message_request();
|
||
|
if (file_containing_extension) {
|
||
|
set_has_file_containing_extension();
|
||
|
message_request_.file_containing_extension_ = file_containing_extension;
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_extension)
|
||
9 years ago
|
}
|
||
9 years ago
|
|
||
9 years ago
|
// optional string all_extension_numbers_of_type = 6;
|
||
9 years ago
|
inline bool ServerReflectionRequest::has_all_extension_numbers_of_type() const {
|
||
9 years ago
|
return message_request_case() == kAllExtensionNumbersOfType;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_has_all_extension_numbers_of_type() {
|
||
9 years ago
|
_oneof_case_[0] = kAllExtensionNumbersOfType;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::clear_all_extension_numbers_of_type() {
|
||
9 years ago
|
if (has_all_extension_numbers_of_type()) {
|
||
|
message_request_.all_extension_numbers_of_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
clear_has_message_request();
|
||
|
}
|
||
9 years ago
|
}
|
||
9 years ago
|
inline const ::std::string& ServerReflectionRequest::all_extension_numbers_of_type() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type)
|
||
9 years ago
|
if (has_all_extension_numbers_of_type()) {
|
||
|
return message_request_.all_extension_numbers_of_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_all_extension_numbers_of_type(const ::std::string& value) {
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type)
|
||
9 years ago
|
if (!has_all_extension_numbers_of_type()) {
|
||
|
clear_message_request();
|
||
|
set_has_all_extension_numbers_of_type();
|
||
|
message_request_.all_extension_numbers_of_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.all_extension_numbers_of_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_all_extension_numbers_of_type(const char* value) {
|
||
9 years ago
|
if (!has_all_extension_numbers_of_type()) {
|
||
|
clear_message_request();
|
||
|
set_has_all_extension_numbers_of_type();
|
||
|
message_request_.all_extension_numbers_of_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.all_extension_numbers_of_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
9 years ago
|
::std::string(value));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_all_extension_numbers_of_type(const char* value, size_t size) {
|
||
9 years ago
|
if (!has_all_extension_numbers_of_type()) {
|
||
|
clear_message_request();
|
||
|
set_has_all_extension_numbers_of_type();
|
||
|
message_request_.all_extension_numbers_of_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.all_extension_numbers_of_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||
|
reinterpret_cast<const char*>(value), size));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::mutable_all_extension_numbers_of_type() {
|
||
9 years ago
|
if (!has_all_extension_numbers_of_type()) {
|
||
|
clear_message_request();
|
||
|
set_has_all_extension_numbers_of_type();
|
||
|
message_request_.all_extension_numbers_of_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type)
|
||
9 years ago
|
return message_request_.all_extension_numbers_of_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::release_all_extension_numbers_of_type() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type)
|
||
9 years ago
|
if (has_all_extension_numbers_of_type()) {
|
||
|
clear_has_message_request();
|
||
|
return message_request_.all_extension_numbers_of_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
} else {
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_allocated_all_extension_numbers_of_type(::std::string* all_extension_numbers_of_type) {
|
||
9 years ago
|
if (!has_all_extension_numbers_of_type()) {
|
||
|
message_request_.all_extension_numbers_of_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
clear_message_request();
|
||
|
if (all_extension_numbers_of_type != NULL) {
|
||
|
set_has_all_extension_numbers_of_type();
|
||
|
message_request_.all_extension_numbers_of_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
all_extension_numbers_of_type);
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type)
|
||
9 years ago
|
}
|
||
|
|
||
|
// optional string list_services = 7;
|
||
9 years ago
|
inline bool ServerReflectionRequest::has_list_services() const {
|
||
9 years ago
|
return message_request_case() == kListServices;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_has_list_services() {
|
||
9 years ago
|
_oneof_case_[0] = kListServices;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::clear_list_services() {
|
||
9 years ago
|
if (has_list_services()) {
|
||
|
message_request_.list_services_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
clear_has_message_request();
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline const ::std::string& ServerReflectionRequest::list_services() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionRequest.list_services)
|
||
9 years ago
|
if (has_list_services()) {
|
||
|
return message_request_.list_services_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_list_services(const ::std::string& value) {
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.list_services)
|
||
9 years ago
|
if (!has_list_services()) {
|
||
|
clear_message_request();
|
||
|
set_has_list_services();
|
||
|
message_request_.list_services_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.list_services_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionRequest.list_services)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_list_services(const char* value) {
|
||
9 years ago
|
if (!has_list_services()) {
|
||
|
clear_message_request();
|
||
|
set_has_list_services();
|
||
|
message_request_.list_services_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.list_services_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
::std::string(value));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ServerReflectionRequest.list_services)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_list_services(const char* value, size_t size) {
|
||
9 years ago
|
if (!has_list_services()) {
|
||
|
clear_message_request();
|
||
|
set_has_list_services();
|
||
|
message_request_.list_services_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
message_request_.list_services_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
|
||
|
reinterpret_cast<const char*>(value), size));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ServerReflectionRequest.list_services)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::mutable_list_services() {
|
||
9 years ago
|
if (!has_list_services()) {
|
||
|
clear_message_request();
|
||
|
set_has_list_services();
|
||
|
message_request_.list_services_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionRequest.list_services)
|
||
9 years ago
|
return message_request_.list_services_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionRequest::release_list_services() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionRequest.list_services)
|
||
9 years ago
|
if (has_list_services()) {
|
||
|
clear_has_message_request();
|
||
|
return message_request_.list_services_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
} else {
|
||
9 years ago
|
return NULL;
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::set_allocated_list_services(::std::string* list_services) {
|
||
9 years ago
|
if (!has_list_services()) {
|
||
|
message_request_.list_services_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
clear_message_request();
|
||
|
if (list_services != NULL) {
|
||
|
set_has_list_services();
|
||
|
message_request_.list_services_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
list_services);
|
||
9 years ago
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionRequest.list_services)
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
inline bool ServerReflectionRequest::has_message_request() const {
|
||
9 years ago
|
return message_request_case() != MESSAGE_REQUEST_NOT_SET;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionRequest::clear_has_message_request() {
|
||
9 years ago
|
_oneof_case_[0] = MESSAGE_REQUEST_NOT_SET;
|
||
|
}
|
||
9 years ago
|
inline ServerReflectionRequest::MessageRequestCase ServerReflectionRequest::message_request_case() const {
|
||
|
return ServerReflectionRequest::MessageRequestCase(_oneof_case_[0]);
|
||
9 years ago
|
}
|
||
9 years ago
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// ExtensionRequest
|
||
|
|
||
|
// optional string containing_type = 1;
|
||
|
inline void ExtensionRequest::clear_containing_type() {
|
||
9 years ago
|
containing_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
|
inline const ::std::string& ExtensionRequest::containing_type() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ExtensionRequest.containing_type)
|
||
9 years ago
|
return containing_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
|
inline void ExtensionRequest::set_containing_type(const ::std::string& value) {
|
||
9 years ago
|
|
||
|
containing_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ExtensionRequest.containing_type)
|
||
|
}
|
||
|
inline void ExtensionRequest::set_containing_type(const char* value) {
|
||
9 years ago
|
|
||
|
containing_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ExtensionRequest.containing_type)
|
||
|
}
|
||
9 years ago
|
inline void ExtensionRequest::set_containing_type(const char* value, size_t size) {
|
||
|
|
||
|
containing_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
9 years ago
|
::std::string(reinterpret_cast<const char*>(value), size));
|
||
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ExtensionRequest.containing_type)
|
||
|
}
|
||
|
inline ::std::string* ExtensionRequest::mutable_containing_type() {
|
||
9 years ago
|
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ExtensionRequest.containing_type)
|
||
9 years ago
|
return containing_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
|
inline ::std::string* ExtensionRequest::release_containing_type() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ExtensionRequest.containing_type)
|
||
9 years ago
|
|
||
|
return containing_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ExtensionRequest::set_allocated_containing_type(::std::string* containing_type) {
|
||
9 years ago
|
if (containing_type != NULL) {
|
||
9 years ago
|
|
||
9 years ago
|
} else {
|
||
9 years ago
|
|
||
9 years ago
|
}
|
||
9 years ago
|
containing_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), containing_type);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ExtensionRequest.containing_type)
|
||
|
}
|
||
|
|
||
|
// optional int32 extension_number = 2;
|
||
|
inline void ExtensionRequest::clear_extension_number() {
|
||
|
extension_number_ = 0;
|
||
|
}
|
||
|
inline ::google::protobuf::int32 ExtensionRequest::extension_number() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ExtensionRequest.extension_number)
|
||
|
return extension_number_;
|
||
|
}
|
||
9 years ago
|
inline void ExtensionRequest::set_extension_number(::google::protobuf::int32 value) {
|
||
|
|
||
9 years ago
|
extension_number_ = value;
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ExtensionRequest.extension_number)
|
||
|
}
|
||
|
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
// ServerReflectionResponse
|
||
9 years ago
|
|
||
9 years ago
|
// optional string valid_host = 1;
|
||
9 years ago
|
inline void ServerReflectionResponse::clear_valid_host() {
|
||
9 years ago
|
valid_host_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline const ::std::string& ServerReflectionResponse::valid_host() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionResponse.valid_host)
|
||
9 years ago
|
return valid_host_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_valid_host(const ::std::string& value) {
|
||
9 years ago
|
|
||
|
valid_host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServerReflectionResponse.valid_host)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_valid_host(const char* value) {
|
||
9 years ago
|
|
||
|
valid_host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ServerReflectionResponse.valid_host)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_valid_host(const char* value, size_t size) {
|
||
9 years ago
|
|
||
|
valid_host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
::std::string(reinterpret_cast<const char*>(value), size));
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ServerReflectionResponse.valid_host)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionResponse::mutable_valid_host() {
|
||
9 years ago
|
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionResponse.valid_host)
|
||
9 years ago
|
return valid_host_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServerReflectionResponse::release_valid_host() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionResponse.valid_host)
|
||
9 years ago
|
|
||
|
return valid_host_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_allocated_valid_host(::std::string* valid_host) {
|
||
9 years ago
|
if (valid_host != NULL) {
|
||
|
|
||
9 years ago
|
} else {
|
||
9 years ago
|
|
||
9 years ago
|
}
|
||
9 years ago
|
valid_host_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), valid_host);
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionResponse.valid_host)
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
// optional .grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;
|
||
|
inline bool ServerReflectionResponse::has_original_request() const {
|
||
9 years ago
|
return !_is_default_instance_ && original_request_ != NULL;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::clear_original_request() {
|
||
9 years ago
|
if (GetArenaNoVirtual() == NULL && original_request_ != NULL) delete original_request_;
|
||
|
original_request_ = NULL;
|
||
|
}
|
||
9 years ago
|
inline const ::grpc::reflection::v1alpha::ServerReflectionRequest& ServerReflectionResponse::original_request() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionResponse.original_request)
|
||
9 years ago
|
return original_request_ != NULL ? *original_request_ : *default_instance_->original_request_;
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ServerReflectionRequest* ServerReflectionResponse::mutable_original_request() {
|
||
9 years ago
|
|
||
|
if (original_request_ == NULL) {
|
||
9 years ago
|
original_request_ = new ::grpc::reflection::v1alpha::ServerReflectionRequest;
|
||
9 years ago
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionResponse.original_request)
|
||
9 years ago
|
return original_request_;
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ServerReflectionRequest* ServerReflectionResponse::release_original_request() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionResponse.original_request)
|
||
9 years ago
|
|
||
9 years ago
|
::grpc::reflection::v1alpha::ServerReflectionRequest* temp = original_request_;
|
||
9 years ago
|
original_request_ = NULL;
|
||
|
return temp;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_allocated_original_request(::grpc::reflection::v1alpha::ServerReflectionRequest* original_request) {
|
||
9 years ago
|
delete original_request_;
|
||
|
original_request_ = original_request;
|
||
|
if (original_request) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionResponse.original_request)
|
||
9 years ago
|
}
|
||
9 years ago
|
|
||
9 years ago
|
// optional .grpc.reflection.v1alpha.FileDescriptorResponse file_descriptor_response = 4;
|
||
|
inline bool ServerReflectionResponse::has_file_descriptor_response() const {
|
||
|
return message_response_case() == kFileDescriptorResponse;
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_has_file_descriptor_response() {
|
||
|
_oneof_case_[0] = kFileDescriptorResponse;
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::clear_file_descriptor_response() {
|
||
|
if (has_file_descriptor_response()) {
|
||
|
delete message_response_.file_descriptor_response_;
|
||
9 years ago
|
clear_has_message_response();
|
||
|
}
|
||
9 years ago
|
}
|
||
9 years ago
|
inline const ::grpc::reflection::v1alpha::FileDescriptorResponse& ServerReflectionResponse::file_descriptor_response() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionResponse.file_descriptor_response)
|
||
|
return has_file_descriptor_response()
|
||
|
? *message_response_.file_descriptor_response_
|
||
|
: ::grpc::reflection::v1alpha::FileDescriptorResponse::default_instance();
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::FileDescriptorResponse* ServerReflectionResponse::mutable_file_descriptor_response() {
|
||
|
if (!has_file_descriptor_response()) {
|
||
9 years ago
|
clear_message_response();
|
||
9 years ago
|
set_has_file_descriptor_response();
|
||
|
message_response_.file_descriptor_response_ = new ::grpc::reflection::v1alpha::FileDescriptorResponse;
|
||
9 years ago
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionResponse.file_descriptor_response)
|
||
|
return message_response_.file_descriptor_response_;
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::FileDescriptorResponse* ServerReflectionResponse::release_file_descriptor_response() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionResponse.file_descriptor_response)
|
||
9 years ago
|
if (has_file_descriptor_response()) {
|
||
9 years ago
|
clear_has_message_response();
|
||
9 years ago
|
::grpc::reflection::v1alpha::FileDescriptorResponse* temp = message_response_.file_descriptor_response_;
|
||
|
message_response_.file_descriptor_response_ = NULL;
|
||
|
return temp;
|
||
9 years ago
|
} else {
|
||
|
return NULL;
|
||
|
}
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_allocated_file_descriptor_response(::grpc::reflection::v1alpha::FileDescriptorResponse* file_descriptor_response) {
|
||
9 years ago
|
clear_message_response();
|
||
9 years ago
|
if (file_descriptor_response) {
|
||
|
set_has_file_descriptor_response();
|
||
|
message_response_.file_descriptor_response_ = file_descriptor_response;
|
||
9 years ago
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionResponse.file_descriptor_response)
|
||
9 years ago
|
}
|
||
9 years ago
|
|
||
|
// optional .grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;
|
||
9 years ago
|
inline bool ServerReflectionResponse::has_all_extension_numbers_response() const {
|
||
9 years ago
|
return message_response_case() == kAllExtensionNumbersResponse;
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_has_all_extension_numbers_response() {
|
||
9 years ago
|
_oneof_case_[0] = kAllExtensionNumbersResponse;
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::clear_all_extension_numbers_response() {
|
||
9 years ago
|
if (has_all_extension_numbers_response()) {
|
||
|
delete message_response_.all_extension_numbers_response_;
|
||
|
clear_has_message_response();
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline const ::grpc::reflection::v1alpha::ExtensionNumberResponse& ServerReflectionResponse::all_extension_numbers_response() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionResponse.all_extension_numbers_response)
|
||
9 years ago
|
return has_all_extension_numbers_response()
|
||
|
? *message_response_.all_extension_numbers_response_
|
||
|
: ::grpc::reflection::v1alpha::ExtensionNumberResponse::default_instance();
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ExtensionNumberResponse* ServerReflectionResponse::mutable_all_extension_numbers_response() {
|
||
9 years ago
|
if (!has_all_extension_numbers_response()) {
|
||
|
clear_message_response();
|
||
|
set_has_all_extension_numbers_response();
|
||
|
message_response_.all_extension_numbers_response_ = new ::grpc::reflection::v1alpha::ExtensionNumberResponse;
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionResponse.all_extension_numbers_response)
|
||
9 years ago
|
return message_response_.all_extension_numbers_response_;
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ExtensionNumberResponse* ServerReflectionResponse::release_all_extension_numbers_response() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionResponse.all_extension_numbers_response)
|
||
9 years ago
|
if (has_all_extension_numbers_response()) {
|
||
|
clear_has_message_response();
|
||
|
::grpc::reflection::v1alpha::ExtensionNumberResponse* temp = message_response_.all_extension_numbers_response_;
|
||
|
message_response_.all_extension_numbers_response_ = NULL;
|
||
|
return temp;
|
||
|
} else {
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_allocated_all_extension_numbers_response(::grpc::reflection::v1alpha::ExtensionNumberResponse* all_extension_numbers_response) {
|
||
9 years ago
|
clear_message_response();
|
||
|
if (all_extension_numbers_response) {
|
||
|
set_has_all_extension_numbers_response();
|
||
|
message_response_.all_extension_numbers_response_ = all_extension_numbers_response;
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionResponse.all_extension_numbers_response)
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
// optional .grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;
|
||
9 years ago
|
inline bool ServerReflectionResponse::has_list_services_response() const {
|
||
9 years ago
|
return message_response_case() == kListServicesResponse;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_has_list_services_response() {
|
||
9 years ago
|
_oneof_case_[0] = kListServicesResponse;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::clear_list_services_response() {
|
||
9 years ago
|
if (has_list_services_response()) {
|
||
|
delete message_response_.list_services_response_;
|
||
|
clear_has_message_response();
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline const ::grpc::reflection::v1alpha::ListServiceResponse& ServerReflectionResponse::list_services_response() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionResponse.list_services_response)
|
||
9 years ago
|
return has_list_services_response()
|
||
|
? *message_response_.list_services_response_
|
||
|
: ::grpc::reflection::v1alpha::ListServiceResponse::default_instance();
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ListServiceResponse* ServerReflectionResponse::mutable_list_services_response() {
|
||
9 years ago
|
if (!has_list_services_response()) {
|
||
|
clear_message_response();
|
||
|
set_has_list_services_response();
|
||
|
message_response_.list_services_response_ = new ::grpc::reflection::v1alpha::ListServiceResponse;
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionResponse.list_services_response)
|
||
9 years ago
|
return message_response_.list_services_response_;
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ListServiceResponse* ServerReflectionResponse::release_list_services_response() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionResponse.list_services_response)
|
||
9 years ago
|
if (has_list_services_response()) {
|
||
|
clear_has_message_response();
|
||
|
::grpc::reflection::v1alpha::ListServiceResponse* temp = message_response_.list_services_response_;
|
||
|
message_response_.list_services_response_ = NULL;
|
||
|
return temp;
|
||
|
} else {
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_allocated_list_services_response(::grpc::reflection::v1alpha::ListServiceResponse* list_services_response) {
|
||
9 years ago
|
clear_message_response();
|
||
|
if (list_services_response) {
|
||
|
set_has_list_services_response();
|
||
|
message_response_.list_services_response_ = list_services_response;
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionResponse.list_services_response)
|
||
9 years ago
|
}
|
||
9 years ago
|
|
||
9 years ago
|
// optional .grpc.reflection.v1alpha.ErrorResponse error_response = 7;
|
||
9 years ago
|
inline bool ServerReflectionResponse::has_error_response() const {
|
||
9 years ago
|
return message_response_case() == kErrorResponse;
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_has_error_response() {
|
||
9 years ago
|
_oneof_case_[0] = kErrorResponse;
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::clear_error_response() {
|
||
9 years ago
|
if (has_error_response()) {
|
||
|
delete message_response_.error_response_;
|
||
|
clear_has_message_response();
|
||
|
}
|
||
9 years ago
|
}
|
||
9 years ago
|
inline const ::grpc::reflection::v1alpha::ErrorResponse& ServerReflectionResponse::error_response() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServerReflectionResponse.error_response)
|
||
9 years ago
|
return has_error_response()
|
||
|
? *message_response_.error_response_
|
||
|
: ::grpc::reflection::v1alpha::ErrorResponse::default_instance();
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ErrorResponse* ServerReflectionResponse::mutable_error_response() {
|
||
9 years ago
|
if (!has_error_response()) {
|
||
|
clear_message_response();
|
||
|
set_has_error_response();
|
||
|
message_response_.error_response_ = new ::grpc::reflection::v1alpha::ErrorResponse;
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServerReflectionResponse.error_response)
|
||
9 years ago
|
return message_response_.error_response_;
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ErrorResponse* ServerReflectionResponse::release_error_response() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServerReflectionResponse.error_response)
|
||
9 years ago
|
if (has_error_response()) {
|
||
|
clear_has_message_response();
|
||
|
::grpc::reflection::v1alpha::ErrorResponse* temp = message_response_.error_response_;
|
||
|
message_response_.error_response_ = NULL;
|
||
|
return temp;
|
||
9 years ago
|
} else {
|
||
9 years ago
|
return NULL;
|
||
9 years ago
|
}
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::set_allocated_error_response(::grpc::reflection::v1alpha::ErrorResponse* error_response) {
|
||
9 years ago
|
clear_message_response();
|
||
|
if (error_response) {
|
||
|
set_has_error_response();
|
||
|
message_response_.error_response_ = error_response;
|
||
|
}
|
||
9 years ago
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServerReflectionResponse.error_response)
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
inline bool ServerReflectionResponse::has_message_response() const {
|
||
9 years ago
|
return message_response_case() != MESSAGE_RESPONSE_NOT_SET;
|
||
|
}
|
||
9 years ago
|
inline void ServerReflectionResponse::clear_has_message_response() {
|
||
9 years ago
|
_oneof_case_[0] = MESSAGE_RESPONSE_NOT_SET;
|
||
|
}
|
||
9 years ago
|
inline ServerReflectionResponse::MessageResponseCase ServerReflectionResponse::message_response_case() const {
|
||
|
return ServerReflectionResponse::MessageResponseCase(_oneof_case_[0]);
|
||
|
}
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// FileDescriptorResponse
|
||
|
|
||
|
// repeated bytes file_descriptor_proto = 1;
|
||
|
inline int FileDescriptorResponse::file_descriptor_proto_size() const {
|
||
|
return file_descriptor_proto_.size();
|
||
|
}
|
||
|
inline void FileDescriptorResponse::clear_file_descriptor_proto() {
|
||
|
file_descriptor_proto_.Clear();
|
||
|
}
|
||
|
inline const ::std::string& FileDescriptorResponse::file_descriptor_proto(int index) const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
return file_descriptor_proto_.Get(index);
|
||
|
}
|
||
|
inline ::std::string* FileDescriptorResponse::mutable_file_descriptor_proto(int index) {
|
||
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
return file_descriptor_proto_.Mutable(index);
|
||
|
}
|
||
|
inline void FileDescriptorResponse::set_file_descriptor_proto(int index, const ::std::string& value) {
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
file_descriptor_proto_.Mutable(index)->assign(value);
|
||
|
}
|
||
|
inline void FileDescriptorResponse::set_file_descriptor_proto(int index, const char* value) {
|
||
|
file_descriptor_proto_.Mutable(index)->assign(value);
|
||
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
}
|
||
|
inline void FileDescriptorResponse::set_file_descriptor_proto(int index, const void* value, size_t size) {
|
||
|
file_descriptor_proto_.Mutable(index)->assign(
|
||
|
reinterpret_cast<const char*>(value), size);
|
||
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
}
|
||
|
inline ::std::string* FileDescriptorResponse::add_file_descriptor_proto() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_add_mutable:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
9 years ago
|
return file_descriptor_proto_.Add();
|
||
|
}
|
||
|
inline void FileDescriptorResponse::add_file_descriptor_proto(const ::std::string& value) {
|
||
|
file_descriptor_proto_.Add()->assign(value);
|
||
|
// @@protoc_insertion_point(field_add:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
}
|
||
|
inline void FileDescriptorResponse::add_file_descriptor_proto(const char* value) {
|
||
|
file_descriptor_proto_.Add()->assign(value);
|
||
|
// @@protoc_insertion_point(field_add_char:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
}
|
||
|
inline void FileDescriptorResponse::add_file_descriptor_proto(const void* value, size_t size) {
|
||
|
file_descriptor_proto_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
||
|
// @@protoc_insertion_point(field_add_pointer:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
}
|
||
|
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
|
||
|
FileDescriptorResponse::file_descriptor_proto() const {
|
||
|
// @@protoc_insertion_point(field_list:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
return file_descriptor_proto_;
|
||
|
}
|
||
|
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
|
||
|
FileDescriptorResponse::mutable_file_descriptor_proto() {
|
||
|
// @@protoc_insertion_point(field_mutable_list:grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto)
|
||
|
return &file_descriptor_proto_;
|
||
9 years ago
|
}
|
||
9 years ago
|
|
||
9 years ago
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// ExtensionNumberResponse
|
||
|
|
||
9 years ago
|
// optional string base_type_name = 1;
|
||
|
inline void ExtensionNumberResponse::clear_base_type_name() {
|
||
|
base_type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline const ::std::string& ExtensionNumberResponse::base_type_name() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ExtensionNumberResponse.base_type_name)
|
||
|
return base_type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline void ExtensionNumberResponse::set_base_type_name(const ::std::string& value) {
|
||
|
|
||
|
base_type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ExtensionNumberResponse.base_type_name)
|
||
|
}
|
||
|
inline void ExtensionNumberResponse::set_base_type_name(const char* value) {
|
||
|
|
||
|
base_type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ExtensionNumberResponse.base_type_name)
|
||
|
}
|
||
|
inline void ExtensionNumberResponse::set_base_type_name(const char* value, size_t size) {
|
||
|
|
||
|
base_type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
::std::string(reinterpret_cast<const char*>(value), size));
|
||
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ExtensionNumberResponse.base_type_name)
|
||
|
}
|
||
|
inline ::std::string* ExtensionNumberResponse::mutable_base_type_name() {
|
||
|
|
||
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ExtensionNumberResponse.base_type_name)
|
||
|
return base_type_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline ::std::string* ExtensionNumberResponse::release_base_type_name() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ExtensionNumberResponse.base_type_name)
|
||
9 years ago
|
|
||
|
return base_type_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline void ExtensionNumberResponse::set_allocated_base_type_name(::std::string* base_type_name) {
|
||
|
if (base_type_name != NULL) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
base_type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), base_type_name);
|
||
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ExtensionNumberResponse.base_type_name)
|
||
|
}
|
||
|
|
||
|
// repeated int32 extension_number = 2;
|
||
9 years ago
|
inline int ExtensionNumberResponse::extension_number_size() const {
|
||
|
return extension_number_.size();
|
||
|
}
|
||
|
inline void ExtensionNumberResponse::clear_extension_number() {
|
||
|
extension_number_.Clear();
|
||
|
}
|
||
9 years ago
|
inline ::google::protobuf::int32 ExtensionNumberResponse::extension_number(int index) const {
|
||
9 years ago
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ExtensionNumberResponse.extension_number)
|
||
|
return extension_number_.Get(index);
|
||
|
}
|
||
9 years ago
|
inline void ExtensionNumberResponse::set_extension_number(int index, ::google::protobuf::int32 value) {
|
||
9 years ago
|
extension_number_.Set(index, value);
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ExtensionNumberResponse.extension_number)
|
||
|
}
|
||
9 years ago
|
inline void ExtensionNumberResponse::add_extension_number(::google::protobuf::int32 value) {
|
||
9 years ago
|
extension_number_.Add(value);
|
||
|
// @@protoc_insertion_point(field_add:grpc.reflection.v1alpha.ExtensionNumberResponse.extension_number)
|
||
|
}
|
||
9 years ago
|
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
||
9 years ago
|
ExtensionNumberResponse::extension_number() const {
|
||
|
// @@protoc_insertion_point(field_list:grpc.reflection.v1alpha.ExtensionNumberResponse.extension_number)
|
||
|
return extension_number_;
|
||
|
}
|
||
9 years ago
|
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
||
9 years ago
|
ExtensionNumberResponse::mutable_extension_number() {
|
||
|
// @@protoc_insertion_point(field_mutable_list:grpc.reflection.v1alpha.ExtensionNumberResponse.extension_number)
|
||
|
return &extension_number_;
|
||
|
}
|
||
|
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
// ListServiceResponse
|
||
|
|
||
9 years ago
|
// repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
|
||
9 years ago
|
inline int ListServiceResponse::service_size() const {
|
||
|
return service_.size();
|
||
|
}
|
||
|
inline void ListServiceResponse::clear_service() {
|
||
|
service_.Clear();
|
||
|
}
|
||
9 years ago
|
inline const ::grpc::reflection::v1alpha::ServiceResponse& ListServiceResponse::service(int index) const {
|
||
9 years ago
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ListServiceResponse.service)
|
||
|
return service_.Get(index);
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ServiceResponse* ListServiceResponse::mutable_service(int index) {
|
||
9 years ago
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ListServiceResponse.service)
|
||
|
return service_.Mutable(index);
|
||
|
}
|
||
9 years ago
|
inline ::grpc::reflection::v1alpha::ServiceResponse* ListServiceResponse::add_service() {
|
||
|
// @@protoc_insertion_point(field_add:grpc.reflection.v1alpha.ListServiceResponse.service)
|
||
|
return service_.Add();
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::google::protobuf::RepeatedPtrField< ::grpc::reflection::v1alpha::ServiceResponse >*
|
||
|
ListServiceResponse::mutable_service() {
|
||
|
// @@protoc_insertion_point(field_mutable_list:grpc.reflection.v1alpha.ListServiceResponse.service)
|
||
|
return &service_;
|
||
9 years ago
|
}
|
||
9 years ago
|
inline const ::google::protobuf::RepeatedPtrField< ::grpc::reflection::v1alpha::ServiceResponse >&
|
||
|
ListServiceResponse::service() const {
|
||
|
// @@protoc_insertion_point(field_list:grpc.reflection.v1alpha.ListServiceResponse.service)
|
||
|
return service_;
|
||
9 years ago
|
}
|
||
9 years ago
|
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// ServiceResponse
|
||
|
|
||
|
// optional string name = 1;
|
||
|
inline void ServiceResponse::clear_name() {
|
||
|
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline const ::std::string& ServiceResponse::name() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ServiceResponse.name)
|
||
|
return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServiceResponse::set_name(const ::std::string& value) {
|
||
|
|
||
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ServiceResponse.name)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServiceResponse::set_name(const char* value) {
|
||
|
|
||
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ServiceResponse.name)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline void ServiceResponse::set_name(const char* value, size_t size) {
|
||
|
|
||
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
::std::string(reinterpret_cast<const char*>(value), size));
|
||
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ServiceResponse.name)
|
||
9 years ago
|
}
|
||
9 years ago
|
inline ::std::string* ServiceResponse::mutable_name() {
|
||
|
|
||
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ServiceResponse.name)
|
||
|
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline ::std::string* ServiceResponse::release_name() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ServiceResponse.name)
|
||
9 years ago
|
|
||
|
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline void ServiceResponse::set_allocated_name(::std::string* name) {
|
||
|
if (name != NULL) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
|
||
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ServiceResponse.name)
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
// ErrorResponse
|
||
|
|
||
|
// optional int32 error_code = 1;
|
||
|
inline void ErrorResponse::clear_error_code() {
|
||
|
error_code_ = 0;
|
||
|
}
|
||
|
inline ::google::protobuf::int32 ErrorResponse::error_code() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ErrorResponse.error_code)
|
||
|
return error_code_;
|
||
|
}
|
||
|
inline void ErrorResponse::set_error_code(::google::protobuf::int32 value) {
|
||
|
|
||
|
error_code_ = value;
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ErrorResponse.error_code)
|
||
|
}
|
||
|
|
||
|
// optional string error_message = 2;
|
||
|
inline void ErrorResponse::clear_error_message() {
|
||
|
error_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline const ::std::string& ErrorResponse::error_message() const {
|
||
|
// @@protoc_insertion_point(field_get:grpc.reflection.v1alpha.ErrorResponse.error_message)
|
||
|
return error_message_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline void ErrorResponse::set_error_message(const ::std::string& value) {
|
||
|
|
||
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||
|
// @@protoc_insertion_point(field_set:grpc.reflection.v1alpha.ErrorResponse.error_message)
|
||
|
}
|
||
|
inline void ErrorResponse::set_error_message(const char* value) {
|
||
|
|
||
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||
|
// @@protoc_insertion_point(field_set_char:grpc.reflection.v1alpha.ErrorResponse.error_message)
|
||
|
}
|
||
|
inline void ErrorResponse::set_error_message(const char* value, size_t size) {
|
||
|
|
||
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||
|
::std::string(reinterpret_cast<const char*>(value), size));
|
||
|
// @@protoc_insertion_point(field_set_pointer:grpc.reflection.v1alpha.ErrorResponse.error_message)
|
||
|
}
|
||
|
inline ::std::string* ErrorResponse::mutable_error_message() {
|
||
|
|
||
|
// @@protoc_insertion_point(field_mutable:grpc.reflection.v1alpha.ErrorResponse.error_message)
|
||
|
return error_message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline ::std::string* ErrorResponse::release_error_message() {
|
||
9 years ago
|
// @@protoc_insertion_point(field_release:grpc.reflection.v1alpha.ErrorResponse.error_message)
|
||
9 years ago
|
|
||
|
return error_message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||
|
}
|
||
|
inline void ErrorResponse::set_allocated_error_message(::std::string* error_message) {
|
||
|
if (error_message != NULL) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
error_message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_message);
|
||
|
// @@protoc_insertion_point(field_set_allocated:grpc.reflection.v1alpha.ErrorResponse.error_message)
|
||
|
}
|
||
|
|
||
|
#endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
|
||
9 years ago
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
// -------------------------------------------------------------------
|
||
|
|
||
|
// -------------------------------------------------------------------
|
||
|
|
||
9 years ago
|
|
||
9 years ago
|
// @@protoc_insertion_point(namespace_scope)
|
||
|
|
||
|
} // namespace v1alpha
|
||
|
} // namespace reflection
|
||
|
} // namespace grpc
|
||
|
|
||
|
// @@protoc_insertion_point(global_scope)
|
||
|
|
||
|
#endif // PROTOBUF_reflection_2eproto__INCLUDED
|