chromium/out/Default/gen/components/optimization_guide/proto/common_types.pb.h

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: components/optimization_guide/proto/common_types.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fcommon_5ftypes_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fcommon_5ftypes_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#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 3021012 < 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_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_util.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2fcommon_5ftypes_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_components_2foptimization_5fguide_2fproto_2fcommon_5ftypes_2eproto {};
namespace optimization_guide {
namespace proto {
class Any;
struct AnyDefaultTypeInternal;
extern AnyDefaultTypeInternal _Any_default_instance_;
class Duration;
struct DurationDefaultTypeInternal;
extern DurationDefaultTypeInternal _Duration_default_instance_;
class FieldTrial;
struct FieldTrialDefaultTypeInternal;
extern FieldTrialDefaultTypeInternal _FieldTrial_default_instance_;
class OriginInfo;
struct OriginInfoDefaultTypeInternal;
extern OriginInfoDefaultTypeInternal _OriginInfo_default_instance_;
class Timestamp;
struct TimestampDefaultTypeInternal;
extern TimestampDefaultTypeInternal _Timestamp_default_instance_;
}  // namespace proto
}  // namespace optimization_guide
PROTOBUF_NAMESPACE_OPEN
template<> ::optimization_guide::proto::Any* Arena::CreateMaybeMessage<::optimization_guide::proto::Any>(Arena*);
template<> ::optimization_guide::proto::Duration* Arena::CreateMaybeMessage<::optimization_guide::proto::Duration>(Arena*);
template<> ::optimization_guide::proto::FieldTrial* Arena::CreateMaybeMessage<::optimization_guide::proto::FieldTrial>(Arena*);
template<> ::optimization_guide::proto::OriginInfo* Arena::CreateMaybeMessage<::optimization_guide::proto::OriginInfo>(Arena*);
template<> ::optimization_guide::proto::Timestamp* Arena::CreateMaybeMessage<::optimization_guide::proto::Timestamp>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace optimization_guide {
namespace proto {

enum RequestContext : int {};
bool RequestContext_IsValid(int value);
constexpr RequestContext RequestContext_MIN =;
constexpr RequestContext RequestContext_MAX =;
constexpr int RequestContext_ARRAYSIZE =;

const std::string& RequestContext_Name(RequestContext value);
template<typename T>
inline const std::string& RequestContext_Name(T enum_t_value) {}
bool RequestContext_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RequestContext* value);
enum Platform : int {};
bool Platform_IsValid(int value);
constexpr Platform Platform_MIN =;
constexpr Platform Platform_MAX =;
constexpr int Platform_ARRAYSIZE =;

const std::string& Platform_Name(Platform value);
template<typename T>
inline const std::string& Platform_Name(T enum_t_value) {}
bool Platform_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Platform* value);
// ===================================================================

class FieldTrial final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:optimization_guide.proto.FieldTrial) */ {};
// -------------------------------------------------------------------

class Duration final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:optimization_guide.proto.Duration) */ {};
// -------------------------------------------------------------------

class Timestamp final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:optimization_guide.proto.Timestamp) */ {};
// -------------------------------------------------------------------

class Any final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:optimization_guide.proto.Any) */ {};
// -------------------------------------------------------------------

class OriginInfo final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:optimization_guide.proto.OriginInfo) */ {};
// ===================================================================


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

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// FieldTrial

// optional uint32 name_hash = 1;
inline bool FieldTrial::_internal_has_name_hash() const {}
inline bool FieldTrial::has_name_hash() const {}
inline void FieldTrial::clear_name_hash() {}
inline uint32_t FieldTrial::_internal_name_hash() const {}
inline uint32_t FieldTrial::name_hash() const {}
inline void FieldTrial::_internal_set_name_hash(uint32_t value) {}
inline void FieldTrial::set_name_hash(uint32_t value) {}

// optional uint32 group_hash = 2;
inline bool FieldTrial::_internal_has_group_hash() const {}
inline bool FieldTrial::has_group_hash() const {}
inline void FieldTrial::clear_group_hash() {}
inline uint32_t FieldTrial::_internal_group_hash() const {}
inline uint32_t FieldTrial::group_hash() const {}
inline void FieldTrial::_internal_set_group_hash(uint32_t value) {}
inline void FieldTrial::set_group_hash(uint32_t value) {}

// -------------------------------------------------------------------

// Duration

// optional int64 seconds = 1;
inline bool Duration::_internal_has_seconds() const {}
inline bool Duration::has_seconds() const {}
inline void Duration::clear_seconds() {}
inline int64_t Duration::_internal_seconds() const {}
inline int64_t Duration::seconds() const {}
inline void Duration::_internal_set_seconds(int64_t value) {}
inline void Duration::set_seconds(int64_t value) {}

// optional int32 nanos = 2;
inline bool Duration::_internal_has_nanos() const {}
inline bool Duration::has_nanos() const {}
inline void Duration::clear_nanos() {}
inline int32_t Duration::_internal_nanos() const {}
inline int32_t Duration::nanos() const {}
inline void Duration::_internal_set_nanos(int32_t value) {}
inline void Duration::set_nanos(int32_t value) {}

// -------------------------------------------------------------------

// Timestamp

// optional int64 seconds = 1;
inline bool Timestamp::_internal_has_seconds() const {}
inline bool Timestamp::has_seconds() const {}
inline void Timestamp::clear_seconds() {}
inline int64_t Timestamp::_internal_seconds() const {}
inline int64_t Timestamp::seconds() const {}
inline void Timestamp::_internal_set_seconds(int64_t value) {}
inline void Timestamp::set_seconds(int64_t value) {}

// optional int32 nanos = 2;
inline bool Timestamp::_internal_has_nanos() const {}
inline bool Timestamp::has_nanos() const {}
inline void Timestamp::clear_nanos() {}
inline int32_t Timestamp::_internal_nanos() const {}
inline int32_t Timestamp::nanos() const {}
inline void Timestamp::_internal_set_nanos(int32_t value) {}
inline void Timestamp::set_nanos(int32_t value) {}

// -------------------------------------------------------------------

// Any

// optional string type_url = 1;
inline bool Any::_internal_has_type_url() const {}
inline bool Any::has_type_url() const {}
inline void Any::clear_type_url() {}
inline const std::string& Any::type_url() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Any::set_type_url(ArgT0&& arg0, ArgT... args) {}
inline std::string* Any::mutable_type_url() {}
inline const std::string& Any::_internal_type_url() const {}
inline void Any::_internal_set_type_url(const std::string& value) {}
inline std::string* Any::_internal_mutable_type_url() {}
inline std::string* Any::release_type_url() {}
inline void Any::set_allocated_type_url(std::string* type_url) {}

// optional bytes value = 2;
inline bool Any::_internal_has_value() const {}
inline bool Any::has_value() const {}
inline void Any::clear_value() {}
inline const std::string& Any::value() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Any::set_value(ArgT0&& arg0, ArgT... args) {}
inline std::string* Any::mutable_value() {}
inline const std::string& Any::_internal_value() const {}
inline void Any::_internal_set_value(const std::string& value) {}
inline std::string* Any::_internal_mutable_value() {}
inline std::string* Any::release_value() {}
inline void Any::set_allocated_value(std::string* value) {}

// -------------------------------------------------------------------

// OriginInfo

// optional .optimization_guide.proto.Platform platform = 1;
inline bool OriginInfo::_internal_has_platform() const {}
inline bool OriginInfo::has_platform() const {}
inline void OriginInfo::clear_platform() {}
inline ::optimization_guide::proto::Platform OriginInfo::_internal_platform() const {}
inline ::optimization_guide::proto::Platform OriginInfo::platform() const {}
inline void OriginInfo::_internal_set_platform(::optimization_guide::proto::Platform value) {}
inline void OriginInfo::set_platform(::optimization_guide::proto::Platform value) {}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace proto
}  // namespace optimization_guide

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::optimization_guide::proto::RequestContext> : ::std::true_type {};
template <> struct is_proto_enum< ::optimization_guide::proto::Platform> : ::std::true_type {};

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fcommon_5ftypes_2eproto