chromium/out/Default/gen/third_party/perfetto/protos/perfetto/trace/android/network_trace.pb.h

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: protos/perfetto/trace/android/network_trace.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fperfetto_2ftrace_2fandroid_2fnetwork_5ftrace_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_protos_2fperfetto_2ftrace_2fandroid_2fnetwork_5ftrace_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_protos_2fperfetto_2ftrace_2fandroid_2fnetwork_5ftrace_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_protos_2fperfetto_2ftrace_2fandroid_2fnetwork_5ftrace_2eproto {};
namespace perfetto {
namespace protos {
class NetworkPacketBundle;
struct NetworkPacketBundleDefaultTypeInternal;
extern NetworkPacketBundleDefaultTypeInternal _NetworkPacketBundle_default_instance_;
class NetworkPacketContext;
struct NetworkPacketContextDefaultTypeInternal;
extern NetworkPacketContextDefaultTypeInternal _NetworkPacketContext_default_instance_;
class NetworkPacketEvent;
struct NetworkPacketEventDefaultTypeInternal;
extern NetworkPacketEventDefaultTypeInternal _NetworkPacketEvent_default_instance_;
}  // namespace protos
}  // namespace perfetto
PROTOBUF_NAMESPACE_OPEN
template<> ::perfetto::protos::NetworkPacketBundle* Arena::CreateMaybeMessage<::perfetto::protos::NetworkPacketBundle>(Arena*);
template<> ::perfetto::protos::NetworkPacketContext* Arena::CreateMaybeMessage<::perfetto::protos::NetworkPacketContext>(Arena*);
template<> ::perfetto::protos::NetworkPacketEvent* Arena::CreateMaybeMessage<::perfetto::protos::NetworkPacketEvent>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace perfetto {
namespace protos {

enum TrafficDirection : int {};
bool TrafficDirection_IsValid(int value);
constexpr TrafficDirection TrafficDirection_MIN =;
constexpr TrafficDirection TrafficDirection_MAX =;
constexpr int TrafficDirection_ARRAYSIZE =;

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

class NetworkPacketEvent final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.NetworkPacketEvent) */ {};
// -------------------------------------------------------------------

class NetworkPacketBundle final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.NetworkPacketBundle) */ {};
// -------------------------------------------------------------------

class NetworkPacketContext final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.NetworkPacketContext) */ {};
// ===================================================================


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

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

// optional .perfetto.protos.TrafficDirection direction = 1;
inline bool NetworkPacketEvent::_internal_has_direction() const {}
inline bool NetworkPacketEvent::has_direction() const {}
inline void NetworkPacketEvent::clear_direction() {}
inline ::perfetto::protos::TrafficDirection NetworkPacketEvent::_internal_direction() const {}
inline ::perfetto::protos::TrafficDirection NetworkPacketEvent::direction() const {}
inline void NetworkPacketEvent::_internal_set_direction(::perfetto::protos::TrafficDirection value) {}
inline void NetworkPacketEvent::set_direction(::perfetto::protos::TrafficDirection value) {}

// optional string interface = 2;
inline bool NetworkPacketEvent::_internal_has_interface() const {}
inline bool NetworkPacketEvent::has_interface() const {}
inline void NetworkPacketEvent::clear_interface() {}
inline const std::string& NetworkPacketEvent::interface() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void NetworkPacketEvent::set_interface(ArgT0&& arg0, ArgT... args) {}
inline std::string* NetworkPacketEvent::mutable_interface() {}
inline const std::string& NetworkPacketEvent::_internal_interface() const {}
inline void NetworkPacketEvent::_internal_set_interface(const std::string& value) {}
inline std::string* NetworkPacketEvent::_internal_mutable_interface() {}
inline std::string* NetworkPacketEvent::release_interface() {}
inline void NetworkPacketEvent::set_allocated_interface(std::string* interface) {}

// optional uint32 length = 3;
inline bool NetworkPacketEvent::_internal_has_length() const {}
inline bool NetworkPacketEvent::has_length() const {}
inline void NetworkPacketEvent::clear_length() {}
inline uint32_t NetworkPacketEvent::_internal_length() const {}
inline uint32_t NetworkPacketEvent::length() const {}
inline void NetworkPacketEvent::_internal_set_length(uint32_t value) {}
inline void NetworkPacketEvent::set_length(uint32_t value) {}

// optional uint32 uid = 4;
inline bool NetworkPacketEvent::_internal_has_uid() const {}
inline bool NetworkPacketEvent::has_uid() const {}
inline void NetworkPacketEvent::clear_uid() {}
inline uint32_t NetworkPacketEvent::_internal_uid() const {}
inline uint32_t NetworkPacketEvent::uid() const {}
inline void NetworkPacketEvent::_internal_set_uid(uint32_t value) {}
inline void NetworkPacketEvent::set_uid(uint32_t value) {}

// optional uint32 tag = 5;
inline bool NetworkPacketEvent::_internal_has_tag() const {}
inline bool NetworkPacketEvent::has_tag() const {}
inline void NetworkPacketEvent::clear_tag() {}
inline uint32_t NetworkPacketEvent::_internal_tag() const {}
inline uint32_t NetworkPacketEvent::tag() const {}
inline void NetworkPacketEvent::_internal_set_tag(uint32_t value) {}
inline void NetworkPacketEvent::set_tag(uint32_t value) {}

// optional uint32 ip_proto = 6;
inline bool NetworkPacketEvent::_internal_has_ip_proto() const {}
inline bool NetworkPacketEvent::has_ip_proto() const {}
inline void NetworkPacketEvent::clear_ip_proto() {}
inline uint32_t NetworkPacketEvent::_internal_ip_proto() const {}
inline uint32_t NetworkPacketEvent::ip_proto() const {}
inline void NetworkPacketEvent::_internal_set_ip_proto(uint32_t value) {}
inline void NetworkPacketEvent::set_ip_proto(uint32_t value) {}

// optional uint32 tcp_flags = 7;
inline bool NetworkPacketEvent::_internal_has_tcp_flags() const {}
inline bool NetworkPacketEvent::has_tcp_flags() const {}
inline void NetworkPacketEvent::clear_tcp_flags() {}
inline uint32_t NetworkPacketEvent::_internal_tcp_flags() const {}
inline uint32_t NetworkPacketEvent::tcp_flags() const {}
inline void NetworkPacketEvent::_internal_set_tcp_flags(uint32_t value) {}
inline void NetworkPacketEvent::set_tcp_flags(uint32_t value) {}

// optional uint32 local_port = 8;
inline bool NetworkPacketEvent::_internal_has_local_port() const {}
inline bool NetworkPacketEvent::has_local_port() const {}
inline void NetworkPacketEvent::clear_local_port() {}
inline uint32_t NetworkPacketEvent::_internal_local_port() const {}
inline uint32_t NetworkPacketEvent::local_port() const {}
inline void NetworkPacketEvent::_internal_set_local_port(uint32_t value) {}
inline void NetworkPacketEvent::set_local_port(uint32_t value) {}

// optional uint32 remote_port = 9;
inline bool NetworkPacketEvent::_internal_has_remote_port() const {}
inline bool NetworkPacketEvent::has_remote_port() const {}
inline void NetworkPacketEvent::clear_remote_port() {}
inline uint32_t NetworkPacketEvent::_internal_remote_port() const {}
inline uint32_t NetworkPacketEvent::remote_port() const {}
inline void NetworkPacketEvent::_internal_set_remote_port(uint32_t value) {}
inline void NetworkPacketEvent::set_remote_port(uint32_t value) {}

// optional uint32 icmp_type = 10;
inline bool NetworkPacketEvent::_internal_has_icmp_type() const {}
inline bool NetworkPacketEvent::has_icmp_type() const {}
inline void NetworkPacketEvent::clear_icmp_type() {}
inline uint32_t NetworkPacketEvent::_internal_icmp_type() const {}
inline uint32_t NetworkPacketEvent::icmp_type() const {}
inline void NetworkPacketEvent::_internal_set_icmp_type(uint32_t value) {}
inline void NetworkPacketEvent::set_icmp_type(uint32_t value) {}

// optional uint32 icmp_code = 11;
inline bool NetworkPacketEvent::_internal_has_icmp_code() const {}
inline bool NetworkPacketEvent::has_icmp_code() const {}
inline void NetworkPacketEvent::clear_icmp_code() {}
inline uint32_t NetworkPacketEvent::_internal_icmp_code() const {}
inline uint32_t NetworkPacketEvent::icmp_code() const {}
inline void NetworkPacketEvent::_internal_set_icmp_code(uint32_t value) {}
inline void NetworkPacketEvent::set_icmp_code(uint32_t value) {}

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

// NetworkPacketBundle

// uint64 iid = 1;
inline bool NetworkPacketBundle::_internal_has_iid() const {}
inline bool NetworkPacketBundle::has_iid() const {}
inline void NetworkPacketBundle::set_has_iid() {}
inline void NetworkPacketBundle::clear_iid() {}
inline uint64_t NetworkPacketBundle::_internal_iid() const {}
inline void NetworkPacketBundle::_internal_set_iid(uint64_t value) {}
inline uint64_t NetworkPacketBundle::iid() const {}
inline void NetworkPacketBundle::set_iid(uint64_t value) {}

// .perfetto.protos.NetworkPacketEvent ctx = 2;
inline bool NetworkPacketBundle::_internal_has_ctx() const {}
inline bool NetworkPacketBundle::has_ctx() const {}
inline void NetworkPacketBundle::set_has_ctx() {}
inline void NetworkPacketBundle::clear_ctx() {}
inline ::perfetto::protos::NetworkPacketEvent* NetworkPacketBundle::release_ctx() {}
inline const ::perfetto::protos::NetworkPacketEvent& NetworkPacketBundle::_internal_ctx() const {}
inline const ::perfetto::protos::NetworkPacketEvent& NetworkPacketBundle::ctx() const {}
inline ::perfetto::protos::NetworkPacketEvent* NetworkPacketBundle::unsafe_arena_release_ctx() {}
inline void NetworkPacketBundle::unsafe_arena_set_allocated_ctx(::perfetto::protos::NetworkPacketEvent* ctx) {}
inline ::perfetto::protos::NetworkPacketEvent* NetworkPacketBundle::_internal_mutable_ctx() {}
inline ::perfetto::protos::NetworkPacketEvent* NetworkPacketBundle::mutable_ctx() {}

// repeated uint64 packet_timestamps = 3 [packed = true];
inline int NetworkPacketBundle::_internal_packet_timestamps_size() const {}
inline int NetworkPacketBundle::packet_timestamps_size() const {}
inline void NetworkPacketBundle::clear_packet_timestamps() {}
inline uint64_t NetworkPacketBundle::_internal_packet_timestamps(int index) const {}
inline uint64_t NetworkPacketBundle::packet_timestamps(int index) const {}
inline void NetworkPacketBundle::set_packet_timestamps(int index, uint64_t value) {}
inline void NetworkPacketBundle::_internal_add_packet_timestamps(uint64_t value) {}
inline void NetworkPacketBundle::add_packet_timestamps(uint64_t value) {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
NetworkPacketBundle::_internal_packet_timestamps() const {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
NetworkPacketBundle::packet_timestamps() const {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
NetworkPacketBundle::_internal_mutable_packet_timestamps() {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
NetworkPacketBundle::mutable_packet_timestamps() {}

// repeated uint32 packet_lengths = 4 [packed = true];
inline int NetworkPacketBundle::_internal_packet_lengths_size() const {}
inline int NetworkPacketBundle::packet_lengths_size() const {}
inline void NetworkPacketBundle::clear_packet_lengths() {}
inline uint32_t NetworkPacketBundle::_internal_packet_lengths(int index) const {}
inline uint32_t NetworkPacketBundle::packet_lengths(int index) const {}
inline void NetworkPacketBundle::set_packet_lengths(int index, uint32_t value) {}
inline void NetworkPacketBundle::_internal_add_packet_lengths(uint32_t value) {}
inline void NetworkPacketBundle::add_packet_lengths(uint32_t value) {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
NetworkPacketBundle::_internal_packet_lengths() const {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
NetworkPacketBundle::packet_lengths() const {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
NetworkPacketBundle::_internal_mutable_packet_lengths() {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
NetworkPacketBundle::mutable_packet_lengths() {}

// optional uint32 total_packets = 5;
inline bool NetworkPacketBundle::_internal_has_total_packets() const {}
inline bool NetworkPacketBundle::has_total_packets() const {}
inline void NetworkPacketBundle::clear_total_packets() {}
inline uint32_t NetworkPacketBundle::_internal_total_packets() const {}
inline uint32_t NetworkPacketBundle::total_packets() const {}
inline void NetworkPacketBundle::_internal_set_total_packets(uint32_t value) {}
inline void NetworkPacketBundle::set_total_packets(uint32_t value) {}

// optional uint64 total_duration = 6;
inline bool NetworkPacketBundle::_internal_has_total_duration() const {}
inline bool NetworkPacketBundle::has_total_duration() const {}
inline void NetworkPacketBundle::clear_total_duration() {}
inline uint64_t NetworkPacketBundle::_internal_total_duration() const {}
inline uint64_t NetworkPacketBundle::total_duration() const {}
inline void NetworkPacketBundle::_internal_set_total_duration(uint64_t value) {}
inline void NetworkPacketBundle::set_total_duration(uint64_t value) {}

// optional uint64 total_length = 7;
inline bool NetworkPacketBundle::_internal_has_total_length() const {}
inline bool NetworkPacketBundle::has_total_length() const {}
inline void NetworkPacketBundle::clear_total_length() {}
inline uint64_t NetworkPacketBundle::_internal_total_length() const {}
inline uint64_t NetworkPacketBundle::total_length() const {}
inline void NetworkPacketBundle::_internal_set_total_length(uint64_t value) {}
inline void NetworkPacketBundle::set_total_length(uint64_t value) {}

inline bool NetworkPacketBundle::has_packet_context() const {}
inline void NetworkPacketBundle::clear_has_packet_context() {}
inline NetworkPacketBundle::PacketContextCase NetworkPacketBundle::packet_context_case() const {}
// -------------------------------------------------------------------

// NetworkPacketContext

// optional uint64 iid = 1;
inline bool NetworkPacketContext::_internal_has_iid() const {}
inline bool NetworkPacketContext::has_iid() const {}
inline void NetworkPacketContext::clear_iid() {}
inline uint64_t NetworkPacketContext::_internal_iid() const {}
inline uint64_t NetworkPacketContext::iid() const {}
inline void NetworkPacketContext::_internal_set_iid(uint64_t value) {}
inline void NetworkPacketContext::set_iid(uint64_t value) {}

// optional .perfetto.protos.NetworkPacketEvent ctx = 2;
inline bool NetworkPacketContext::_internal_has_ctx() const {}
inline bool NetworkPacketContext::has_ctx() const {}
inline void NetworkPacketContext::clear_ctx() {}
inline const ::perfetto::protos::NetworkPacketEvent& NetworkPacketContext::_internal_ctx() const {}
inline const ::perfetto::protos::NetworkPacketEvent& NetworkPacketContext::ctx() const {}
inline void NetworkPacketContext::unsafe_arena_set_allocated_ctx(
    ::perfetto::protos::NetworkPacketEvent* ctx) {}
inline ::perfetto::protos::NetworkPacketEvent* NetworkPacketContext::release_ctx() {}
inline ::perfetto::protos::NetworkPacketEvent* NetworkPacketContext::unsafe_arena_release_ctx() {}
inline ::perfetto::protos::NetworkPacketEvent* NetworkPacketContext::_internal_mutable_ctx() {}
inline ::perfetto::protos::NetworkPacketEvent* NetworkPacketContext::mutable_ctx() {}
inline void NetworkPacketContext::set_allocated_ctx(::perfetto::protos::NetworkPacketEvent* ctx) {}

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace protos
}  // namespace perfetto

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::perfetto::protos::TrafficDirection> : ::std::true_type {};

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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