Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

neilisaac / torch   python

Repository URL to install this package:

Version: 1.8.0 

/ include / caffe2 / proto / predictor_consts.pb.h

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: caffe2/proto/predictor_consts.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_caffe2_2fproto_2fpredictor_5fconsts_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_caffe2_2fproto_2fpredictor_5fconsts_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3011000
#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 3011004 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_caffe2_2fproto_2fpredictor_5fconsts_2eproto TORCH_API
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TORCH_API TableStruct_caffe2_2fproto_2fpredictor_5fconsts_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern TORCH_API const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_caffe2_2fproto_2fpredictor_5fconsts_2eproto;
namespace caffe2 { const ::std::string& GetEmptyStringAlreadyInited(); 
class PredictorConsts;
class PredictorConstsDefaultTypeInternal;
TORCH_API extern PredictorConstsDefaultTypeInternal _PredictorConsts_default_instance_;
}  // namespace caffe2
PROTOBUF_NAMESPACE_OPEN
template<> TORCH_API ::caffe2::PredictorConsts* Arena::CreateMaybeMessage<::caffe2::PredictorConsts>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace caffe2 {

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

class TORCH_API PredictorConsts :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:caffe2.PredictorConsts) */ {
 public:
  PredictorConsts();
  virtual ~PredictorConsts();

  PredictorConsts(const PredictorConsts& from);
  PredictorConsts(PredictorConsts&& from) noexcept
    : PredictorConsts() {
    *this = ::std::move(from);
  }

  inline PredictorConsts& operator=(const PredictorConsts& from) {
    CopyFrom(from);
    return *this;
  }
  inline PredictorConsts& operator=(PredictorConsts&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const PredictorConsts& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const PredictorConsts* internal_default_instance() {
    return reinterpret_cast<const PredictorConsts*>(
               &_PredictorConsts_default_instance_);
  }
  static int const kIndexInFileMessages =
    0;

  friend void swap(PredictorConsts& a, PredictorConsts& b) {
    a.Swap(&b);
  }
  inline void Swap(PredictorConsts* other) {
    if (other == this) return;
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline PredictorConsts* New() const final {
    return CreateMaybeMessage<PredictorConsts>(nullptr);
  }

  PredictorConsts* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<PredictorConsts>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const PredictorConsts& from);
  void MergeFrom(const PredictorConsts& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(PredictorConsts* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "caffe2.PredictorConsts";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_caffe2_2fproto_2fpredictor_5fconsts_2eproto);
    return ::descriptor_table_caffe2_2fproto_2fpredictor_5fconsts_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kMETANETDEFFieldNumber = 1,
    kPREDICTORDBREADERFieldNumber = 2,
    kPARAMETERSBLOBTYPEFieldNumber = 3,
    kINPUTSBLOBTYPEFieldNumber = 4,
    kOUTPUTSBLOBTYPEFieldNumber = 5,
    kGLOBALINITNETTYPEFieldNumber = 6,
    kPREDICTINITNETTYPEFieldNumber = 7,
    kPREDICTNETTYPEFieldNumber = 8,
    kSINGLEPREDICTORFieldNumber = 9,
    kMULTIPREDICTORFieldNumber = 10,
    kTRAININITPLANTYPEFieldNumber = 11,
    kTRAINPLANTYPEFieldNumber = 12,
    kSHAPEINFOBLOBFieldNumber = 13,
    kDEFERREDBLOBREADERFieldNumber = 14,
  };
  // optional string META_NET_DEF = 1 [default = "!!META_NET_DEF"];
  bool has_meta_net_def() const;
  private:
  bool _internal_has_meta_net_def() const;
  public:
  void clear_meta_net_def();
  const std::string& meta_net_def() const;
  void set_meta_net_def(const std::string& value);
  void set_meta_net_def(std::string&& value);
  void set_meta_net_def(const char* value);
  void set_meta_net_def(const char* value, size_t size);
  std::string* mutable_meta_net_def();
  std::string* release_meta_net_def();
  void set_allocated_meta_net_def(std::string* meta_net_def);
  private:
  const std::string& _internal_meta_net_def() const;
  void _internal_set_meta_net_def(const std::string& value);
  std::string* _internal_mutable_meta_net_def();
  public:

  // optional string PREDICTOR_DBREADER = 2 [default = "!!PREDICTOR_DBREADER"];
  bool has_predictor_dbreader() const;
  private:
  bool _internal_has_predictor_dbreader() const;
  public:
  void clear_predictor_dbreader();
  const std::string& predictor_dbreader() const;
  void set_predictor_dbreader(const std::string& value);
  void set_predictor_dbreader(std::string&& value);
  void set_predictor_dbreader(const char* value);
  void set_predictor_dbreader(const char* value, size_t size);
  std::string* mutable_predictor_dbreader();
  std::string* release_predictor_dbreader();
  void set_allocated_predictor_dbreader(std::string* predictor_dbreader);
  private:
  const std::string& _internal_predictor_dbreader() const;
  void _internal_set_predictor_dbreader(const std::string& value);
  std::string* _internal_mutable_predictor_dbreader();
  public:

  // optional string PARAMETERS_BLOB_TYPE = 3 [default = "PARAMETERS_BLOB_TYPE"];
  bool has_parameters_blob_type() const;
  private:
  bool _internal_has_parameters_blob_type() const;
  public:
  void clear_parameters_blob_type();
  const std::string& parameters_blob_type() const;
  void set_parameters_blob_type(const std::string& value);
  void set_parameters_blob_type(std::string&& value);
  void set_parameters_blob_type(const char* value);
  void set_parameters_blob_type(const char* value, size_t size);
  std::string* mutable_parameters_blob_type();
  std::string* release_parameters_blob_type();
  void set_allocated_parameters_blob_type(std::string* parameters_blob_type);
  private:
  const std::string& _internal_parameters_blob_type() const;
  void _internal_set_parameters_blob_type(const std::string& value);
  std::string* _internal_mutable_parameters_blob_type();
  public:

  // optional string INPUTS_BLOB_TYPE = 4 [default = "INPUTS_BLOB_TYPE"];
  bool has_inputs_blob_type() const;
  private:
  bool _internal_has_inputs_blob_type() const;
  public:
  void clear_inputs_blob_type();
  const std::string& inputs_blob_type() const;
  void set_inputs_blob_type(const std::string& value);
  void set_inputs_blob_type(std::string&& value);
  void set_inputs_blob_type(const char* value);
  void set_inputs_blob_type(const char* value, size_t size);
  std::string* mutable_inputs_blob_type();
  std::string* release_inputs_blob_type();
  void set_allocated_inputs_blob_type(std::string* inputs_blob_type);
  private:
  const std::string& _internal_inputs_blob_type() const;
  void _internal_set_inputs_blob_type(const std::string& value);
  std::string* _internal_mutable_inputs_blob_type();
  public:

  // optional string OUTPUTS_BLOB_TYPE = 5 [default = "OUTPUTS_BLOB_TYPE"];
  bool has_outputs_blob_type() const;
  private:
  bool _internal_has_outputs_blob_type() const;
  public:
  void clear_outputs_blob_type();
  const std::string& outputs_blob_type() const;
  void set_outputs_blob_type(const std::string& value);
  void set_outputs_blob_type(std::string&& value);
  void set_outputs_blob_type(const char* value);
  void set_outputs_blob_type(const char* value, size_t size);
  std::string* mutable_outputs_blob_type();
  std::string* release_outputs_blob_type();
  void set_allocated_outputs_blob_type(std::string* outputs_blob_type);
  private:
  const std::string& _internal_outputs_blob_type() const;
  void _internal_set_outputs_blob_type(const std::string& value);
  std::string* _internal_mutable_outputs_blob_type();
  public:

  // optional string GLOBAL_INIT_NET_TYPE = 6 [default = "GLOBAL_INIT_NET_TYPE"];
  bool has_global_init_net_type() const;
  private:
  bool _internal_has_global_init_net_type() const;
  public:
  void clear_global_init_net_type();
  const std::string& global_init_net_type() const;
  void set_global_init_net_type(const std::string& value);
  void set_global_init_net_type(std::string&& value);
  void set_global_init_net_type(const char* value);
  void set_global_init_net_type(const char* value, size_t size);
  std::string* mutable_global_init_net_type();
  std::string* release_global_init_net_type();
  void set_allocated_global_init_net_type(std::string* global_init_net_type);
  private:
  const std::string& _internal_global_init_net_type() const;
  void _internal_set_global_init_net_type(const std::string& value);
  std::string* _internal_mutable_global_init_net_type();
  public:

  // optional string PREDICT_INIT_NET_TYPE = 7 [default = "PREDICT_INIT_NET_TYPE"];
  bool has_predict_init_net_type() const;
  private:
  bool _internal_has_predict_init_net_type() const;
  public:
  void clear_predict_init_net_type();
  const std::string& predict_init_net_type() const;
  void set_predict_init_net_type(const std::string& value);
  void set_predict_init_net_type(std::string&& value);
  void set_predict_init_net_type(const char* value);
  void set_predict_init_net_type(const char* value, size_t size);
  std::string* mutable_predict_init_net_type();
  std::string* release_predict_init_net_type();
  void set_allocated_predict_init_net_type(std::string* predict_init_net_type);
  private:
  const std::string& _internal_predict_init_net_type() const;
  void _internal_set_predict_init_net_type(const std::string& value);
  std::string* _internal_mutable_predict_init_net_type();
  public:

  // optional string PREDICT_NET_TYPE = 8 [default = "PREDICT_NET_TYPE"];
  bool has_predict_net_type() const;
  private:
  bool _internal_has_predict_net_type() const;
  public:
  void clear_predict_net_type();
  const std::string& predict_net_type() const;
  void set_predict_net_type(const std::string& value);
  void set_predict_net_type(std::string&& value);
Loading ...