mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
Imported from GitHub PR https://github.com/google/nearby/pull/4395 …_enums.proto for WiFi Direct <!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. --> ## Summary Update proto definitions - offline_wire_formats.proto and connections_enums.proto for WiFi Direct ## How did you test this change? on test only update the proto definitions. Copybara import of the project: -- 71aa603d4557652d87667455dc3233b8f7fd262a by Edwin Wu <edwinwu@google.com>: Update proto definitions - offline_wire_formats.proto and connections_enums.proto for WiFi Direct Merging this change closes #4395 PiperOrigin-RevId: 929606397
21142 lines
1.0 MiB
Plaintext
21142 lines
1.0 MiB
Plaintext
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// NO CHECKED-IN PROTOBUF GENCODE
|
|
// source: connections/implementation/proto/offline_wire_formats.proto
|
|
// Protobuf C++ Version: 6.33.3
|
|
|
|
#ifndef connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto_2epb_2eh
|
|
#define connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto_2epb_2eh
|
|
|
|
#include <limits>
|
|
#include <string>
|
|
#include <type_traits>
|
|
#include <utility>
|
|
|
|
#include "google/protobuf/runtime_version.h"
|
|
#if PROTOBUF_VERSION != 6033003
|
|
#error "Protobuf C++ gencode is built with an incompatible version of"
|
|
#error "Protobuf C++ headers/runtime. See"
|
|
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
|
|
#endif
|
|
#include "google/protobuf/io/coded_stream.h"
|
|
#include "google/protobuf/arena.h"
|
|
#include "google/protobuf/arenastring.h"
|
|
#include "google/protobuf/generated_message_tctable_decl.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)
|
|
|
|
// Must be included last.
|
|
#include "google/protobuf/port_def.inc"
|
|
|
|
#define PROTOBUF_INTERNAL_EXPORT_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto
|
|
|
|
namespace google {
|
|
namespace protobuf {
|
|
namespace internal {
|
|
template <typename T>
|
|
::absl::string_view GetAnyMessageName();
|
|
} // namespace internal
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
// Internal implementation detail -- do not use these members.
|
|
struct TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto {
|
|
static const ::uint32_t offsets[];
|
|
};
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace connections {
|
|
enum AutoReconnectFrame_EventType : int;
|
|
extern const uint32_t AutoReconnectFrame_EventType_internal_data_[];
|
|
enum AutoResumeFrame_EventType : int;
|
|
extern const uint32_t AutoResumeFrame_EventType_internal_data_[];
|
|
enum BandwidthUpgradeNegotiationFrame_EventType : int;
|
|
extern const uint32_t BandwidthUpgradeNegotiationFrame_EventType_internal_data_[];
|
|
enum BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium : int;
|
|
extern const uint32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_internal_data_[];
|
|
enum BandwidthUpgradeRetryFrame_Medium : int;
|
|
extern const uint32_t BandwidthUpgradeRetryFrame_Medium_internal_data_[];
|
|
enum ConnectionRequestFrame_ConnectionMode : int;
|
|
extern const uint32_t ConnectionRequestFrame_ConnectionMode_internal_data_[];
|
|
enum ConnectionRequestFrame_Medium : int;
|
|
extern const uint32_t ConnectionRequestFrame_Medium_internal_data_[];
|
|
enum ConnectionResponseFrame_ResponseStatus : int;
|
|
extern const uint32_t ConnectionResponseFrame_ResponseStatus_internal_data_[];
|
|
enum EndpointType : int;
|
|
extern const uint32_t EndpointType_internal_data_[];
|
|
enum LocationStandard_Format : int;
|
|
extern const uint32_t LocationStandard_Format_internal_data_[];
|
|
enum MediumMetadata_WifiDirectAuthType : int;
|
|
extern const uint32_t MediumMetadata_WifiDirectAuthType_internal_data_[];
|
|
enum OfflineFrame_Version : int;
|
|
extern const uint32_t OfflineFrame_Version_internal_data_[];
|
|
enum OsInfo_OsType : int;
|
|
extern const uint32_t OsInfo_OsType_internal_data_[];
|
|
enum PayloadTransferFrame_ControlMessage_EventType : int;
|
|
extern const uint32_t PayloadTransferFrame_ControlMessage_EventType_internal_data_[];
|
|
enum PayloadTransferFrame_PacketType : int;
|
|
extern const uint32_t PayloadTransferFrame_PacketType_internal_data_[];
|
|
enum PayloadTransferFrame_PayloadChunk_Flags : int;
|
|
extern const uint32_t PayloadTransferFrame_PayloadChunk_Flags_internal_data_[];
|
|
enum PayloadTransferFrame_PayloadHeader_PayloadType : int;
|
|
extern const uint32_t PayloadTransferFrame_PayloadHeader_PayloadType_internal_data_[];
|
|
enum PresenceDevice_DeviceType : int;
|
|
extern const uint32_t PresenceDevice_DeviceType_internal_data_[];
|
|
enum V1Frame_FrameType : int;
|
|
extern const uint32_t V1Frame_FrameType_internal_data_[];
|
|
class AuthenticationMessageFrame;
|
|
struct AuthenticationMessageFrameDefaultTypeInternal;
|
|
extern AuthenticationMessageFrameDefaultTypeInternal _AuthenticationMessageFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<55> AuthenticationMessageFrame_class_data_;
|
|
class AuthenticationResultFrame;
|
|
struct AuthenticationResultFrameDefaultTypeInternal;
|
|
extern AuthenticationResultFrameDefaultTypeInternal _AuthenticationResultFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<54> AuthenticationResultFrame_class_data_;
|
|
class AutoReconnectFrame;
|
|
struct AutoReconnectFrameDefaultTypeInternal;
|
|
extern AutoReconnectFrameDefaultTypeInternal _AutoReconnectFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<47> AutoReconnectFrame_class_data_;
|
|
class AutoResumeFrame;
|
|
struct AutoResumeFrameDefaultTypeInternal;
|
|
extern AutoResumeFrameDefaultTypeInternal _AutoResumeFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<44> AutoResumeFrame_class_data_;
|
|
class AvailableChannels;
|
|
struct AvailableChannelsDefaultTypeInternal;
|
|
extern AvailableChannelsDefaultTypeInternal _AvailableChannels_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<46> AvailableChannels_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame;
|
|
struct BandwidthUpgradeNegotiationFrameDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrameDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<61> BandwidthUpgradeNegotiationFrame_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_ClientIntroduction;
|
|
struct BandwidthUpgradeNegotiationFrame_ClientIntroductionDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_ClientIntroductionDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_ClientIntroduction_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<80> BandwidthUpgradeNegotiationFrame_ClientIntroduction_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_ClientIntroductionAck;
|
|
struct BandwidthUpgradeNegotiationFrame_ClientIntroductionAckDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_ClientIntroductionAckDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_ClientIntroductionAck_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<83> BandwidthUpgradeNegotiationFrame_ClientIntroductionAck_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel;
|
|
struct BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<85> BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfoDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfoDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<77> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentialsDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<93> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentialsDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<98> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequestDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequestDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<96> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentialsDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<95> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentialsDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<98> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentialsDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<99> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentialsDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<100> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials_class_data_;
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket;
|
|
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocketDefaultTypeInternal;
|
|
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocketDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<91> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket_class_data_;
|
|
class BandwidthUpgradeRetryFrame;
|
|
struct BandwidthUpgradeRetryFrameDefaultTypeInternal;
|
|
extern BandwidthUpgradeRetryFrameDefaultTypeInternal _BandwidthUpgradeRetryFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<55> BandwidthUpgradeRetryFrame_class_data_;
|
|
class ConnectionRequestFrame;
|
|
struct ConnectionRequestFrameDefaultTypeInternal;
|
|
extern ConnectionRequestFrameDefaultTypeInternal _ConnectionRequestFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<51> ConnectionRequestFrame_class_data_;
|
|
class ConnectionResponseFrame;
|
|
struct ConnectionResponseFrameDefaultTypeInternal;
|
|
extern ConnectionResponseFrameDefaultTypeInternal _ConnectionResponseFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<52> ConnectionResponseFrame_class_data_;
|
|
class ConnectionsDevice;
|
|
struct ConnectionsDeviceDefaultTypeInternal;
|
|
extern ConnectionsDeviceDefaultTypeInternal _ConnectionsDevice_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<46> ConnectionsDevice_class_data_;
|
|
class DisconnectionFrame;
|
|
struct DisconnectionFrameDefaultTypeInternal;
|
|
extern DisconnectionFrameDefaultTypeInternal _DisconnectionFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<47> DisconnectionFrame_class_data_;
|
|
class KeepAliveFrame;
|
|
struct KeepAliveFrameDefaultTypeInternal;
|
|
extern KeepAliveFrameDefaultTypeInternal _KeepAliveFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> KeepAliveFrame_class_data_;
|
|
class LocationHint;
|
|
struct LocationHintDefaultTypeInternal;
|
|
extern LocationHintDefaultTypeInternal _LocationHint_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<41> LocationHint_class_data_;
|
|
class LocationStandard;
|
|
struct LocationStandardDefaultTypeInternal;
|
|
extern LocationStandardDefaultTypeInternal _LocationStandard_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<45> LocationStandard_class_data_;
|
|
class MediumMetadata;
|
|
struct MediumMetadataDefaultTypeInternal;
|
|
extern MediumMetadataDefaultTypeInternal _MediumMetadata_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> MediumMetadata_class_data_;
|
|
class MediumRole;
|
|
struct MediumRoleDefaultTypeInternal;
|
|
extern MediumRoleDefaultTypeInternal _MediumRole_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<39> MediumRole_class_data_;
|
|
class OfflineFrame;
|
|
struct OfflineFrameDefaultTypeInternal;
|
|
extern OfflineFrameDefaultTypeInternal _OfflineFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<41> OfflineFrame_class_data_;
|
|
class OsInfo;
|
|
struct OsInfoDefaultTypeInternal;
|
|
extern OsInfoDefaultTypeInternal _OsInfo_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<35> OsInfo_class_data_;
|
|
class PairedKeyEncryptionFrame;
|
|
struct PairedKeyEncryptionFrameDefaultTypeInternal;
|
|
extern PairedKeyEncryptionFrameDefaultTypeInternal _PairedKeyEncryptionFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<53> PairedKeyEncryptionFrame_class_data_;
|
|
class PayloadTransferFrame;
|
|
struct PayloadTransferFrameDefaultTypeInternal;
|
|
extern PayloadTransferFrameDefaultTypeInternal _PayloadTransferFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<49> PayloadTransferFrame_class_data_;
|
|
class PayloadTransferFrame_ControlMessage;
|
|
struct PayloadTransferFrame_ControlMessageDefaultTypeInternal;
|
|
extern PayloadTransferFrame_ControlMessageDefaultTypeInternal _PayloadTransferFrame_ControlMessage_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<64> PayloadTransferFrame_ControlMessage_class_data_;
|
|
class PayloadTransferFrame_PayloadChunk;
|
|
struct PayloadTransferFrame_PayloadChunkDefaultTypeInternal;
|
|
extern PayloadTransferFrame_PayloadChunkDefaultTypeInternal _PayloadTransferFrame_PayloadChunk_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<62> PayloadTransferFrame_PayloadChunk_class_data_;
|
|
class PayloadTransferFrame_PayloadHeader;
|
|
struct PayloadTransferFrame_PayloadHeaderDefaultTypeInternal;
|
|
extern PayloadTransferFrame_PayloadHeaderDefaultTypeInternal _PayloadTransferFrame_PayloadHeader_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<63> PayloadTransferFrame_PayloadHeader_class_data_;
|
|
class PresenceDevice;
|
|
struct PresenceDeviceDefaultTypeInternal;
|
|
extern PresenceDeviceDefaultTypeInternal _PresenceDevice_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> PresenceDevice_class_data_;
|
|
class ServiceAddress;
|
|
struct ServiceAddressDefaultTypeInternal;
|
|
extern ServiceAddressDefaultTypeInternal _ServiceAddress_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> ServiceAddress_class_data_;
|
|
class V1Frame;
|
|
struct V1FrameDefaultTypeInternal;
|
|
extern V1FrameDefaultTypeInternal _V1Frame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<36> V1Frame_class_data_;
|
|
class WifiAwareUsableChannels;
|
|
struct WifiAwareUsableChannelsDefaultTypeInternal;
|
|
extern WifiAwareUsableChannelsDefaultTypeInternal _WifiAwareUsableChannels_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<52> WifiAwareUsableChannels_class_data_;
|
|
class WifiDirectCliUsableChannels;
|
|
struct WifiDirectCliUsableChannelsDefaultTypeInternal;
|
|
extern WifiDirectCliUsableChannelsDefaultTypeInternal _WifiDirectCliUsableChannels_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<56> WifiDirectCliUsableChannels_class_data_;
|
|
class WifiHotspotStaUsableChannels;
|
|
struct WifiHotspotStaUsableChannelsDefaultTypeInternal;
|
|
extern WifiHotspotStaUsableChannelsDefaultTypeInternal _WifiHotspotStaUsableChannels_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<57> WifiHotspotStaUsableChannels_class_data_;
|
|
class WifiLanUsableChannels;
|
|
struct WifiLanUsableChannelsDefaultTypeInternal;
|
|
extern WifiLanUsableChannelsDefaultTypeInternal _WifiLanUsableChannels_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<50> WifiLanUsableChannels_class_data_;
|
|
} // namespace connections
|
|
} // namespace nearby
|
|
} // namespace location
|
|
namespace google {
|
|
namespace protobuf {
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::AutoReconnectFrame_EventType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::AutoReconnectFrame_EventType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::AutoResumeFrame_EventType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::AutoResumeFrame_EventType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::ConnectionRequestFrame_ConnectionMode_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::ConnectionRequestFrame_ConnectionMode>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::ConnectionRequestFrame_Medium_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::ConnectionRequestFrame_Medium>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::ConnectionResponseFrame_ResponseStatus_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::ConnectionResponseFrame_ResponseStatus>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::EndpointType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::EndpointType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::LocationStandard_Format_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::LocationStandard_Format>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::MediumMetadata_WifiDirectAuthType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::MediumMetadata_WifiDirectAuthType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::OfflineFrame_Version_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::OfflineFrame_Version>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::OsInfo_OsType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::OsInfo_OsType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::PayloadTransferFrame_PacketType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::PayloadTransferFrame_PacketType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::PayloadTransferFrame_PayloadChunk_Flags_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::PayloadTransferFrame_PayloadChunk_Flags>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::PresenceDevice_DeviceType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::PresenceDevice_DeviceType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::connections::V1Frame_FrameType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::connections::V1Frame_FrameType>;
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace connections {
|
|
enum OfflineFrame_Version : int {
|
|
OfflineFrame_Version_UNKNOWN_VERSION = 0,
|
|
OfflineFrame_Version_V1 = 1,
|
|
};
|
|
|
|
extern const uint32_t OfflineFrame_Version_internal_data_[];
|
|
inline constexpr OfflineFrame_Version OfflineFrame_Version_Version_MIN =
|
|
static_cast<OfflineFrame_Version>(0);
|
|
inline constexpr OfflineFrame_Version OfflineFrame_Version_Version_MAX =
|
|
static_cast<OfflineFrame_Version>(1);
|
|
inline bool OfflineFrame_Version_IsValid(int value) {
|
|
return 0 <= value && value <= 1;
|
|
}
|
|
inline constexpr int OfflineFrame_Version_Version_ARRAYSIZE = 1 + 1;
|
|
const ::std::string& OfflineFrame_Version_Name(OfflineFrame_Version value);
|
|
template <typename T>
|
|
const ::std::string& OfflineFrame_Version_Name(T value) {
|
|
static_assert(::std::is_same<T, OfflineFrame_Version>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to Version_Name().");
|
|
return OfflineFrame_Version_Name(static_cast<OfflineFrame_Version>(value));
|
|
}
|
|
bool OfflineFrame_Version_Parse(
|
|
::absl::string_view name, OfflineFrame_Version* PROTOBUF_NONNULL value);
|
|
enum V1Frame_FrameType : int {
|
|
V1Frame_FrameType_UNKNOWN_FRAME_TYPE = 0,
|
|
V1Frame_FrameType_CONNECTION_REQUEST = 1,
|
|
V1Frame_FrameType_CONNECTION_RESPONSE = 2,
|
|
V1Frame_FrameType_PAYLOAD_TRANSFER = 3,
|
|
V1Frame_FrameType_BANDWIDTH_UPGRADE_NEGOTIATION = 4,
|
|
V1Frame_FrameType_KEEP_ALIVE = 5,
|
|
V1Frame_FrameType_DISCONNECTION = 6,
|
|
V1Frame_FrameType_PAIRED_KEY_ENCRYPTION = 7,
|
|
V1Frame_FrameType_AUTHENTICATION_MESSAGE = 8,
|
|
V1Frame_FrameType_AUTHENTICATION_RESULT = 9,
|
|
V1Frame_FrameType_AUTO_RESUME = 10,
|
|
V1Frame_FrameType_AUTO_RECONNECT = 11,
|
|
V1Frame_FrameType_BANDWIDTH_UPGRADE_RETRY = 12,
|
|
};
|
|
|
|
extern const uint32_t V1Frame_FrameType_internal_data_[];
|
|
inline constexpr V1Frame_FrameType V1Frame_FrameType_FrameType_MIN =
|
|
static_cast<V1Frame_FrameType>(0);
|
|
inline constexpr V1Frame_FrameType V1Frame_FrameType_FrameType_MAX =
|
|
static_cast<V1Frame_FrameType>(12);
|
|
inline bool V1Frame_FrameType_IsValid(int value) {
|
|
return 0 <= value && value <= 12;
|
|
}
|
|
inline constexpr int V1Frame_FrameType_FrameType_ARRAYSIZE = 12 + 1;
|
|
const ::std::string& V1Frame_FrameType_Name(V1Frame_FrameType value);
|
|
template <typename T>
|
|
const ::std::string& V1Frame_FrameType_Name(T value) {
|
|
static_assert(::std::is_same<T, V1Frame_FrameType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to FrameType_Name().");
|
|
return V1Frame_FrameType_Name(static_cast<V1Frame_FrameType>(value));
|
|
}
|
|
bool V1Frame_FrameType_Parse(
|
|
::absl::string_view name, V1Frame_FrameType* PROTOBUF_NONNULL value);
|
|
enum ConnectionRequestFrame_Medium : int {
|
|
ConnectionRequestFrame_Medium_UNKNOWN_MEDIUM = 0,
|
|
ConnectionRequestFrame_Medium_MDNS [[deprecated]] = 1,
|
|
ConnectionRequestFrame_Medium_BLUETOOTH = 2,
|
|
ConnectionRequestFrame_Medium_WIFI_HOTSPOT = 3,
|
|
ConnectionRequestFrame_Medium_BLE = 4,
|
|
ConnectionRequestFrame_Medium_WIFI_LAN = 5,
|
|
ConnectionRequestFrame_Medium_WIFI_AWARE = 6,
|
|
ConnectionRequestFrame_Medium_NFC = 7,
|
|
ConnectionRequestFrame_Medium_WIFI_DIRECT = 8,
|
|
ConnectionRequestFrame_Medium_WEB_RTC = 9,
|
|
ConnectionRequestFrame_Medium_BLE_L2CAP = 10,
|
|
ConnectionRequestFrame_Medium_USB = 11,
|
|
ConnectionRequestFrame_Medium_WEB_RTC_NON_CELLULAR = 12,
|
|
ConnectionRequestFrame_Medium_AWDL = 13,
|
|
};
|
|
|
|
extern const uint32_t ConnectionRequestFrame_Medium_internal_data_[];
|
|
inline constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame_Medium_Medium_MIN =
|
|
static_cast<ConnectionRequestFrame_Medium>(0);
|
|
inline constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame_Medium_Medium_MAX =
|
|
static_cast<ConnectionRequestFrame_Medium>(13);
|
|
inline bool ConnectionRequestFrame_Medium_IsValid(int value) {
|
|
return 0 <= value && value <= 13;
|
|
}
|
|
inline constexpr int ConnectionRequestFrame_Medium_Medium_ARRAYSIZE = 13 + 1;
|
|
const ::std::string& ConnectionRequestFrame_Medium_Name(ConnectionRequestFrame_Medium value);
|
|
template <typename T>
|
|
const ::std::string& ConnectionRequestFrame_Medium_Name(T value) {
|
|
static_assert(::std::is_same<T, ConnectionRequestFrame_Medium>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to Medium_Name().");
|
|
return ConnectionRequestFrame_Medium_Name(static_cast<ConnectionRequestFrame_Medium>(value));
|
|
}
|
|
bool ConnectionRequestFrame_Medium_Parse(
|
|
::absl::string_view name, ConnectionRequestFrame_Medium* PROTOBUF_NONNULL value);
|
|
enum ConnectionRequestFrame_ConnectionMode : int {
|
|
ConnectionRequestFrame_ConnectionMode_LEGACY = 0,
|
|
ConnectionRequestFrame_ConnectionMode_INSTANT = 1,
|
|
};
|
|
|
|
extern const uint32_t ConnectionRequestFrame_ConnectionMode_internal_data_[];
|
|
inline constexpr ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame_ConnectionMode_ConnectionMode_MIN =
|
|
static_cast<ConnectionRequestFrame_ConnectionMode>(0);
|
|
inline constexpr ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame_ConnectionMode_ConnectionMode_MAX =
|
|
static_cast<ConnectionRequestFrame_ConnectionMode>(1);
|
|
inline bool ConnectionRequestFrame_ConnectionMode_IsValid(int value) {
|
|
return 0 <= value && value <= 1;
|
|
}
|
|
inline constexpr int ConnectionRequestFrame_ConnectionMode_ConnectionMode_ARRAYSIZE = 1 + 1;
|
|
const ::std::string& ConnectionRequestFrame_ConnectionMode_Name(ConnectionRequestFrame_ConnectionMode value);
|
|
template <typename T>
|
|
const ::std::string& ConnectionRequestFrame_ConnectionMode_Name(T value) {
|
|
static_assert(::std::is_same<T, ConnectionRequestFrame_ConnectionMode>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to ConnectionMode_Name().");
|
|
return ConnectionRequestFrame_ConnectionMode_Name(static_cast<ConnectionRequestFrame_ConnectionMode>(value));
|
|
}
|
|
bool ConnectionRequestFrame_ConnectionMode_Parse(
|
|
::absl::string_view name, ConnectionRequestFrame_ConnectionMode* PROTOBUF_NONNULL value);
|
|
enum ConnectionResponseFrame_ResponseStatus : int {
|
|
ConnectionResponseFrame_ResponseStatus_UNKNOWN_RESPONSE_STATUS = 0,
|
|
ConnectionResponseFrame_ResponseStatus_ACCEPT = 1,
|
|
ConnectionResponseFrame_ResponseStatus_REJECT = 2,
|
|
};
|
|
|
|
extern const uint32_t ConnectionResponseFrame_ResponseStatus_internal_data_[];
|
|
inline constexpr ConnectionResponseFrame_ResponseStatus ConnectionResponseFrame_ResponseStatus_ResponseStatus_MIN =
|
|
static_cast<ConnectionResponseFrame_ResponseStatus>(0);
|
|
inline constexpr ConnectionResponseFrame_ResponseStatus ConnectionResponseFrame_ResponseStatus_ResponseStatus_MAX =
|
|
static_cast<ConnectionResponseFrame_ResponseStatus>(2);
|
|
inline bool ConnectionResponseFrame_ResponseStatus_IsValid(int value) {
|
|
return 0 <= value && value <= 2;
|
|
}
|
|
inline constexpr int ConnectionResponseFrame_ResponseStatus_ResponseStatus_ARRAYSIZE = 2 + 1;
|
|
const ::std::string& ConnectionResponseFrame_ResponseStatus_Name(ConnectionResponseFrame_ResponseStatus value);
|
|
template <typename T>
|
|
const ::std::string& ConnectionResponseFrame_ResponseStatus_Name(T value) {
|
|
static_assert(::std::is_same<T, ConnectionResponseFrame_ResponseStatus>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to ResponseStatus_Name().");
|
|
return ConnectionResponseFrame_ResponseStatus_Name(static_cast<ConnectionResponseFrame_ResponseStatus>(value));
|
|
}
|
|
bool ConnectionResponseFrame_ResponseStatus_Parse(
|
|
::absl::string_view name, ConnectionResponseFrame_ResponseStatus* PROTOBUF_NONNULL value);
|
|
enum PayloadTransferFrame_PayloadHeader_PayloadType : int {
|
|
PayloadTransferFrame_PayloadHeader_PayloadType_UNKNOWN_PAYLOAD_TYPE = 0,
|
|
PayloadTransferFrame_PayloadHeader_PayloadType_BYTES = 1,
|
|
PayloadTransferFrame_PayloadHeader_PayloadType_FILE = 2,
|
|
PayloadTransferFrame_PayloadHeader_PayloadType_STREAM = 3,
|
|
};
|
|
|
|
extern const uint32_t PayloadTransferFrame_PayloadHeader_PayloadType_internal_data_[];
|
|
inline constexpr PayloadTransferFrame_PayloadHeader_PayloadType PayloadTransferFrame_PayloadHeader_PayloadType_PayloadType_MIN =
|
|
static_cast<PayloadTransferFrame_PayloadHeader_PayloadType>(0);
|
|
inline constexpr PayloadTransferFrame_PayloadHeader_PayloadType PayloadTransferFrame_PayloadHeader_PayloadType_PayloadType_MAX =
|
|
static_cast<PayloadTransferFrame_PayloadHeader_PayloadType>(3);
|
|
inline bool PayloadTransferFrame_PayloadHeader_PayloadType_IsValid(int value) {
|
|
return 0 <= value && value <= 3;
|
|
}
|
|
inline constexpr int PayloadTransferFrame_PayloadHeader_PayloadType_PayloadType_ARRAYSIZE = 3 + 1;
|
|
const ::std::string& PayloadTransferFrame_PayloadHeader_PayloadType_Name(PayloadTransferFrame_PayloadHeader_PayloadType value);
|
|
template <typename T>
|
|
const ::std::string& PayloadTransferFrame_PayloadHeader_PayloadType_Name(T value) {
|
|
static_assert(::std::is_same<T, PayloadTransferFrame_PayloadHeader_PayloadType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to PayloadType_Name().");
|
|
return PayloadTransferFrame_PayloadHeader_PayloadType_Name(static_cast<PayloadTransferFrame_PayloadHeader_PayloadType>(value));
|
|
}
|
|
bool PayloadTransferFrame_PayloadHeader_PayloadType_Parse(
|
|
::absl::string_view name, PayloadTransferFrame_PayloadHeader_PayloadType* PROTOBUF_NONNULL value);
|
|
enum PayloadTransferFrame_PayloadChunk_Flags : int {
|
|
PayloadTransferFrame_PayloadChunk_Flags_LAST_CHUNK = 1,
|
|
};
|
|
|
|
extern const uint32_t PayloadTransferFrame_PayloadChunk_Flags_internal_data_[];
|
|
inline constexpr PayloadTransferFrame_PayloadChunk_Flags PayloadTransferFrame_PayloadChunk_Flags_Flags_MIN =
|
|
static_cast<PayloadTransferFrame_PayloadChunk_Flags>(1);
|
|
inline constexpr PayloadTransferFrame_PayloadChunk_Flags PayloadTransferFrame_PayloadChunk_Flags_Flags_MAX =
|
|
static_cast<PayloadTransferFrame_PayloadChunk_Flags>(1);
|
|
inline bool PayloadTransferFrame_PayloadChunk_Flags_IsValid(int value) {
|
|
return 1 <= value && value <= 1;
|
|
}
|
|
inline constexpr int PayloadTransferFrame_PayloadChunk_Flags_Flags_ARRAYSIZE = 1 + 1;
|
|
const ::std::string& PayloadTransferFrame_PayloadChunk_Flags_Name(PayloadTransferFrame_PayloadChunk_Flags value);
|
|
template <typename T>
|
|
const ::std::string& PayloadTransferFrame_PayloadChunk_Flags_Name(T value) {
|
|
static_assert(::std::is_same<T, PayloadTransferFrame_PayloadChunk_Flags>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to Flags_Name().");
|
|
return PayloadTransferFrame_PayloadChunk_Flags_Name(static_cast<PayloadTransferFrame_PayloadChunk_Flags>(value));
|
|
}
|
|
bool PayloadTransferFrame_PayloadChunk_Flags_Parse(
|
|
::absl::string_view name, PayloadTransferFrame_PayloadChunk_Flags* PROTOBUF_NONNULL value);
|
|
enum PayloadTransferFrame_ControlMessage_EventType : int {
|
|
PayloadTransferFrame_ControlMessage_EventType_UNKNOWN_EVENT_TYPE = 0,
|
|
PayloadTransferFrame_ControlMessage_EventType_PAYLOAD_ERROR = 1,
|
|
PayloadTransferFrame_ControlMessage_EventType_PAYLOAD_CANCELED = 2,
|
|
PayloadTransferFrame_ControlMessage_EventType_PAYLOAD_RECEIVED_ACK [[deprecated]] = 3,
|
|
};
|
|
|
|
extern const uint32_t PayloadTransferFrame_ControlMessage_EventType_internal_data_[];
|
|
inline constexpr PayloadTransferFrame_ControlMessage_EventType PayloadTransferFrame_ControlMessage_EventType_EventType_MIN =
|
|
static_cast<PayloadTransferFrame_ControlMessage_EventType>(0);
|
|
inline constexpr PayloadTransferFrame_ControlMessage_EventType PayloadTransferFrame_ControlMessage_EventType_EventType_MAX =
|
|
static_cast<PayloadTransferFrame_ControlMessage_EventType>(3);
|
|
inline bool PayloadTransferFrame_ControlMessage_EventType_IsValid(int value) {
|
|
return 0 <= value && value <= 3;
|
|
}
|
|
inline constexpr int PayloadTransferFrame_ControlMessage_EventType_EventType_ARRAYSIZE = 3 + 1;
|
|
const ::std::string& PayloadTransferFrame_ControlMessage_EventType_Name(PayloadTransferFrame_ControlMessage_EventType value);
|
|
template <typename T>
|
|
const ::std::string& PayloadTransferFrame_ControlMessage_EventType_Name(T value) {
|
|
static_assert(::std::is_same<T, PayloadTransferFrame_ControlMessage_EventType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to EventType_Name().");
|
|
return PayloadTransferFrame_ControlMessage_EventType_Name(static_cast<PayloadTransferFrame_ControlMessage_EventType>(value));
|
|
}
|
|
bool PayloadTransferFrame_ControlMessage_EventType_Parse(
|
|
::absl::string_view name, PayloadTransferFrame_ControlMessage_EventType* PROTOBUF_NONNULL value);
|
|
enum PayloadTransferFrame_PacketType : int {
|
|
PayloadTransferFrame_PacketType_UNKNOWN_PACKET_TYPE = 0,
|
|
PayloadTransferFrame_PacketType_DATA = 1,
|
|
PayloadTransferFrame_PacketType_CONTROL = 2,
|
|
PayloadTransferFrame_PacketType_PAYLOAD_ACK = 3,
|
|
};
|
|
|
|
extern const uint32_t PayloadTransferFrame_PacketType_internal_data_[];
|
|
inline constexpr PayloadTransferFrame_PacketType PayloadTransferFrame_PacketType_PacketType_MIN =
|
|
static_cast<PayloadTransferFrame_PacketType>(0);
|
|
inline constexpr PayloadTransferFrame_PacketType PayloadTransferFrame_PacketType_PacketType_MAX =
|
|
static_cast<PayloadTransferFrame_PacketType>(3);
|
|
inline bool PayloadTransferFrame_PacketType_IsValid(int value) {
|
|
return 0 <= value && value <= 3;
|
|
}
|
|
inline constexpr int PayloadTransferFrame_PacketType_PacketType_ARRAYSIZE = 3 + 1;
|
|
const ::std::string& PayloadTransferFrame_PacketType_Name(PayloadTransferFrame_PacketType value);
|
|
template <typename T>
|
|
const ::std::string& PayloadTransferFrame_PacketType_Name(T value) {
|
|
static_assert(::std::is_same<T, PayloadTransferFrame_PacketType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to PacketType_Name().");
|
|
return PayloadTransferFrame_PacketType_Name(static_cast<PayloadTransferFrame_PacketType>(value));
|
|
}
|
|
bool PayloadTransferFrame_PacketType_Parse(
|
|
::absl::string_view name, PayloadTransferFrame_PacketType* PROTOBUF_NONNULL value);
|
|
enum BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium : int {
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_UNKNOWN_MEDIUM = 0,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_MDNS [[deprecated]] = 1,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_BLUETOOTH = 2,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_HOTSPOT = 3,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_BLE = 4,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_LAN = 5,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_AWARE = 6,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_NFC = 7,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_DIRECT = 8,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC = 9,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_USB = 11,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC_NON_CELLULAR = 12,
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_AWDL = 13,
|
|
};
|
|
|
|
extern const uint32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_internal_data_[];
|
|
inline constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_MIN =
|
|
static_cast<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium>(0);
|
|
inline constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_MAX =
|
|
static_cast<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium>(13);
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_IsValid(int value) {
|
|
return 0 <= value && value <= 13 && ((15359u >> value) & 1) != 0;
|
|
}
|
|
inline constexpr int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_ARRAYSIZE = 13 + 1;
|
|
const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Name(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value);
|
|
template <typename T>
|
|
const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Name(T value) {
|
|
static_assert(::std::is_same<T, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to Medium_Name().");
|
|
return BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Name(static_cast<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium>(value));
|
|
}
|
|
bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Parse(
|
|
::absl::string_view name, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium* PROTOBUF_NONNULL value);
|
|
enum BandwidthUpgradeNegotiationFrame_EventType : int {
|
|
BandwidthUpgradeNegotiationFrame_EventType_UNKNOWN_EVENT_TYPE = 0,
|
|
BandwidthUpgradeNegotiationFrame_EventType_UPGRADE_PATH_AVAILABLE = 1,
|
|
BandwidthUpgradeNegotiationFrame_EventType_LAST_WRITE_TO_PRIOR_CHANNEL = 2,
|
|
BandwidthUpgradeNegotiationFrame_EventType_SAFE_TO_CLOSE_PRIOR_CHANNEL = 3,
|
|
BandwidthUpgradeNegotiationFrame_EventType_CLIENT_INTRODUCTION = 4,
|
|
BandwidthUpgradeNegotiationFrame_EventType_UPGRADE_FAILURE = 5,
|
|
BandwidthUpgradeNegotiationFrame_EventType_CLIENT_INTRODUCTION_ACK = 6,
|
|
BandwidthUpgradeNegotiationFrame_EventType_UPGRADE_PATH_REQUEST = 7,
|
|
};
|
|
|
|
extern const uint32_t BandwidthUpgradeNegotiationFrame_EventType_internal_data_[];
|
|
inline constexpr BandwidthUpgradeNegotiationFrame_EventType BandwidthUpgradeNegotiationFrame_EventType_EventType_MIN =
|
|
static_cast<BandwidthUpgradeNegotiationFrame_EventType>(0);
|
|
inline constexpr BandwidthUpgradeNegotiationFrame_EventType BandwidthUpgradeNegotiationFrame_EventType_EventType_MAX =
|
|
static_cast<BandwidthUpgradeNegotiationFrame_EventType>(7);
|
|
inline bool BandwidthUpgradeNegotiationFrame_EventType_IsValid(int value) {
|
|
return 0 <= value && value <= 7;
|
|
}
|
|
inline constexpr int BandwidthUpgradeNegotiationFrame_EventType_EventType_ARRAYSIZE = 7 + 1;
|
|
const ::std::string& BandwidthUpgradeNegotiationFrame_EventType_Name(BandwidthUpgradeNegotiationFrame_EventType value);
|
|
template <typename T>
|
|
const ::std::string& BandwidthUpgradeNegotiationFrame_EventType_Name(T value) {
|
|
static_assert(::std::is_same<T, BandwidthUpgradeNegotiationFrame_EventType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to EventType_Name().");
|
|
return BandwidthUpgradeNegotiationFrame_EventType_Name(static_cast<BandwidthUpgradeNegotiationFrame_EventType>(value));
|
|
}
|
|
bool BandwidthUpgradeNegotiationFrame_EventType_Parse(
|
|
::absl::string_view name, BandwidthUpgradeNegotiationFrame_EventType* PROTOBUF_NONNULL value);
|
|
enum BandwidthUpgradeRetryFrame_Medium : int {
|
|
BandwidthUpgradeRetryFrame_Medium_UNKNOWN_MEDIUM = 0,
|
|
BandwidthUpgradeRetryFrame_Medium_BLUETOOTH = 2,
|
|
BandwidthUpgradeRetryFrame_Medium_WIFI_HOTSPOT = 3,
|
|
BandwidthUpgradeRetryFrame_Medium_BLE = 4,
|
|
BandwidthUpgradeRetryFrame_Medium_WIFI_LAN = 5,
|
|
BandwidthUpgradeRetryFrame_Medium_WIFI_AWARE = 6,
|
|
BandwidthUpgradeRetryFrame_Medium_NFC = 7,
|
|
BandwidthUpgradeRetryFrame_Medium_WIFI_DIRECT = 8,
|
|
BandwidthUpgradeRetryFrame_Medium_WEB_RTC = 9,
|
|
BandwidthUpgradeRetryFrame_Medium_BLE_L2CAP = 10,
|
|
BandwidthUpgradeRetryFrame_Medium_USB = 11,
|
|
BandwidthUpgradeRetryFrame_Medium_WEB_RTC_NON_CELLULAR = 12,
|
|
BandwidthUpgradeRetryFrame_Medium_AWDL = 13,
|
|
};
|
|
|
|
extern const uint32_t BandwidthUpgradeRetryFrame_Medium_internal_data_[];
|
|
inline constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame_Medium_Medium_MIN =
|
|
static_cast<BandwidthUpgradeRetryFrame_Medium>(0);
|
|
inline constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame_Medium_Medium_MAX =
|
|
static_cast<BandwidthUpgradeRetryFrame_Medium>(13);
|
|
inline bool BandwidthUpgradeRetryFrame_Medium_IsValid(int value) {
|
|
return 0 <= value && value <= 13 && ((16381u >> value) & 1) != 0;
|
|
}
|
|
inline constexpr int BandwidthUpgradeRetryFrame_Medium_Medium_ARRAYSIZE = 13 + 1;
|
|
const ::std::string& BandwidthUpgradeRetryFrame_Medium_Name(BandwidthUpgradeRetryFrame_Medium value);
|
|
template <typename T>
|
|
const ::std::string& BandwidthUpgradeRetryFrame_Medium_Name(T value) {
|
|
static_assert(::std::is_same<T, BandwidthUpgradeRetryFrame_Medium>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to Medium_Name().");
|
|
return BandwidthUpgradeRetryFrame_Medium_Name(static_cast<BandwidthUpgradeRetryFrame_Medium>(value));
|
|
}
|
|
bool BandwidthUpgradeRetryFrame_Medium_Parse(
|
|
::absl::string_view name, BandwidthUpgradeRetryFrame_Medium* PROTOBUF_NONNULL value);
|
|
enum AutoResumeFrame_EventType : int {
|
|
AutoResumeFrame_EventType_UNKNOWN_AUTO_RESUME_EVENT_TYPE = 0,
|
|
AutoResumeFrame_EventType_PAYLOAD_RESUME_TRANSFER_START = 1,
|
|
AutoResumeFrame_EventType_PAYLOAD_RESUME_TRANSFER_ACK = 2,
|
|
};
|
|
|
|
extern const uint32_t AutoResumeFrame_EventType_internal_data_[];
|
|
inline constexpr AutoResumeFrame_EventType AutoResumeFrame_EventType_EventType_MIN =
|
|
static_cast<AutoResumeFrame_EventType>(0);
|
|
inline constexpr AutoResumeFrame_EventType AutoResumeFrame_EventType_EventType_MAX =
|
|
static_cast<AutoResumeFrame_EventType>(2);
|
|
inline bool AutoResumeFrame_EventType_IsValid(int value) {
|
|
return 0 <= value && value <= 2;
|
|
}
|
|
inline constexpr int AutoResumeFrame_EventType_EventType_ARRAYSIZE = 2 + 1;
|
|
const ::std::string& AutoResumeFrame_EventType_Name(AutoResumeFrame_EventType value);
|
|
template <typename T>
|
|
const ::std::string& AutoResumeFrame_EventType_Name(T value) {
|
|
static_assert(::std::is_same<T, AutoResumeFrame_EventType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to EventType_Name().");
|
|
return AutoResumeFrame_EventType_Name(static_cast<AutoResumeFrame_EventType>(value));
|
|
}
|
|
bool AutoResumeFrame_EventType_Parse(
|
|
::absl::string_view name, AutoResumeFrame_EventType* PROTOBUF_NONNULL value);
|
|
enum AutoReconnectFrame_EventType : int {
|
|
AutoReconnectFrame_EventType_UNKNOWN_EVENT_TYPE = 0,
|
|
AutoReconnectFrame_EventType_CLIENT_INTRODUCTION = 1,
|
|
AutoReconnectFrame_EventType_CLIENT_INTRODUCTION_ACK = 2,
|
|
};
|
|
|
|
extern const uint32_t AutoReconnectFrame_EventType_internal_data_[];
|
|
inline constexpr AutoReconnectFrame_EventType AutoReconnectFrame_EventType_EventType_MIN =
|
|
static_cast<AutoReconnectFrame_EventType>(0);
|
|
inline constexpr AutoReconnectFrame_EventType AutoReconnectFrame_EventType_EventType_MAX =
|
|
static_cast<AutoReconnectFrame_EventType>(2);
|
|
inline bool AutoReconnectFrame_EventType_IsValid(int value) {
|
|
return 0 <= value && value <= 2;
|
|
}
|
|
inline constexpr int AutoReconnectFrame_EventType_EventType_ARRAYSIZE = 2 + 1;
|
|
const ::std::string& AutoReconnectFrame_EventType_Name(AutoReconnectFrame_EventType value);
|
|
template <typename T>
|
|
const ::std::string& AutoReconnectFrame_EventType_Name(T value) {
|
|
static_assert(::std::is_same<T, AutoReconnectFrame_EventType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to EventType_Name().");
|
|
return AutoReconnectFrame_EventType_Name(static_cast<AutoReconnectFrame_EventType>(value));
|
|
}
|
|
bool AutoReconnectFrame_EventType_Parse(
|
|
::absl::string_view name, AutoReconnectFrame_EventType* PROTOBUF_NONNULL value);
|
|
enum MediumMetadata_WifiDirectAuthType : int {
|
|
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_TYPE_UNKNOWN = 0,
|
|
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PASSWORD = 1,
|
|
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PIN [[deprecated]] = 2,
|
|
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_DEVICE_NAME = 3,
|
|
};
|
|
|
|
extern const uint32_t MediumMetadata_WifiDirectAuthType_internal_data_[];
|
|
inline constexpr MediumMetadata_WifiDirectAuthType MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_MIN =
|
|
static_cast<MediumMetadata_WifiDirectAuthType>(0);
|
|
inline constexpr MediumMetadata_WifiDirectAuthType MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_MAX =
|
|
static_cast<MediumMetadata_WifiDirectAuthType>(3);
|
|
inline bool MediumMetadata_WifiDirectAuthType_IsValid(int value) {
|
|
return 0 <= value && value <= 3;
|
|
}
|
|
inline constexpr int MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_ARRAYSIZE = 3 + 1;
|
|
const ::std::string& MediumMetadata_WifiDirectAuthType_Name(MediumMetadata_WifiDirectAuthType value);
|
|
template <typename T>
|
|
const ::std::string& MediumMetadata_WifiDirectAuthType_Name(T value) {
|
|
static_assert(::std::is_same<T, MediumMetadata_WifiDirectAuthType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to WifiDirectAuthType_Name().");
|
|
return MediumMetadata_WifiDirectAuthType_Name(static_cast<MediumMetadata_WifiDirectAuthType>(value));
|
|
}
|
|
bool MediumMetadata_WifiDirectAuthType_Parse(
|
|
::absl::string_view name, MediumMetadata_WifiDirectAuthType* PROTOBUF_NONNULL value);
|
|
enum LocationStandard_Format : int {
|
|
LocationStandard_Format_UNKNOWN = 0,
|
|
LocationStandard_Format_E164_CALLING = 1,
|
|
LocationStandard_Format_ISO_3166_1_ALPHA_2 = 2,
|
|
};
|
|
|
|
extern const uint32_t LocationStandard_Format_internal_data_[];
|
|
inline constexpr LocationStandard_Format LocationStandard_Format_Format_MIN =
|
|
static_cast<LocationStandard_Format>(0);
|
|
inline constexpr LocationStandard_Format LocationStandard_Format_Format_MAX =
|
|
static_cast<LocationStandard_Format>(2);
|
|
inline bool LocationStandard_Format_IsValid(int value) {
|
|
return 0 <= value && value <= 2;
|
|
}
|
|
inline constexpr int LocationStandard_Format_Format_ARRAYSIZE = 2 + 1;
|
|
const ::std::string& LocationStandard_Format_Name(LocationStandard_Format value);
|
|
template <typename T>
|
|
const ::std::string& LocationStandard_Format_Name(T value) {
|
|
static_assert(::std::is_same<T, LocationStandard_Format>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to Format_Name().");
|
|
return LocationStandard_Format_Name(static_cast<LocationStandard_Format>(value));
|
|
}
|
|
bool LocationStandard_Format_Parse(
|
|
::absl::string_view name, LocationStandard_Format* PROTOBUF_NONNULL value);
|
|
enum OsInfo_OsType : int {
|
|
OsInfo_OsType_UNKNOWN_OS_TYPE = 0,
|
|
OsInfo_OsType_ANDROID = 1,
|
|
OsInfo_OsType_CHROME_OS = 2,
|
|
OsInfo_OsType_WINDOWS = 3,
|
|
OsInfo_OsType_APPLE = 4,
|
|
OsInfo_OsType_LINUX = 100,
|
|
};
|
|
|
|
extern const uint32_t OsInfo_OsType_internal_data_[];
|
|
inline constexpr OsInfo_OsType OsInfo_OsType_OsType_MIN =
|
|
static_cast<OsInfo_OsType>(0);
|
|
inline constexpr OsInfo_OsType OsInfo_OsType_OsType_MAX =
|
|
static_cast<OsInfo_OsType>(100);
|
|
inline bool OsInfo_OsType_IsValid(int value) {
|
|
return ::google::protobuf::internal::ValidateEnum(value, OsInfo_OsType_internal_data_);
|
|
}
|
|
inline constexpr int OsInfo_OsType_OsType_ARRAYSIZE = 100 + 1;
|
|
const ::std::string& OsInfo_OsType_Name(OsInfo_OsType value);
|
|
template <typename T>
|
|
const ::std::string& OsInfo_OsType_Name(T value) {
|
|
static_assert(::std::is_same<T, OsInfo_OsType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to OsType_Name().");
|
|
return OsInfo_OsType_Name(static_cast<OsInfo_OsType>(value));
|
|
}
|
|
bool OsInfo_OsType_Parse(
|
|
::absl::string_view name, OsInfo_OsType* PROTOBUF_NONNULL value);
|
|
enum PresenceDevice_DeviceType : int {
|
|
PresenceDevice_DeviceType_UNKNOWN = 0,
|
|
PresenceDevice_DeviceType_PHONE = 1,
|
|
PresenceDevice_DeviceType_TABLET = 2,
|
|
PresenceDevice_DeviceType_DISPLAY = 3,
|
|
PresenceDevice_DeviceType_LAPTOP = 4,
|
|
PresenceDevice_DeviceType_TV = 5,
|
|
PresenceDevice_DeviceType_WATCH = 6,
|
|
};
|
|
|
|
extern const uint32_t PresenceDevice_DeviceType_internal_data_[];
|
|
inline constexpr PresenceDevice_DeviceType PresenceDevice_DeviceType_DeviceType_MIN =
|
|
static_cast<PresenceDevice_DeviceType>(0);
|
|
inline constexpr PresenceDevice_DeviceType PresenceDevice_DeviceType_DeviceType_MAX =
|
|
static_cast<PresenceDevice_DeviceType>(6);
|
|
inline bool PresenceDevice_DeviceType_IsValid(int value) {
|
|
return 0 <= value && value <= 6;
|
|
}
|
|
inline constexpr int PresenceDevice_DeviceType_DeviceType_ARRAYSIZE = 6 + 1;
|
|
const ::std::string& PresenceDevice_DeviceType_Name(PresenceDevice_DeviceType value);
|
|
template <typename T>
|
|
const ::std::string& PresenceDevice_DeviceType_Name(T value) {
|
|
static_assert(::std::is_same<T, PresenceDevice_DeviceType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to DeviceType_Name().");
|
|
return PresenceDevice_DeviceType_Name(static_cast<PresenceDevice_DeviceType>(value));
|
|
}
|
|
bool PresenceDevice_DeviceType_Parse(
|
|
::absl::string_view name, PresenceDevice_DeviceType* PROTOBUF_NONNULL value);
|
|
enum EndpointType : int {
|
|
UNKNOWN_ENDPOINT = 0,
|
|
CONNECTIONS_ENDPOINT = 1,
|
|
PRESENCE_ENDPOINT = 2,
|
|
};
|
|
|
|
extern const uint32_t EndpointType_internal_data_[];
|
|
inline constexpr EndpointType EndpointType_MIN =
|
|
static_cast<EndpointType>(0);
|
|
inline constexpr EndpointType EndpointType_MAX =
|
|
static_cast<EndpointType>(2);
|
|
inline bool EndpointType_IsValid(int value) {
|
|
return 0 <= value && value <= 2;
|
|
}
|
|
inline constexpr int EndpointType_ARRAYSIZE = 2 + 1;
|
|
const ::std::string& EndpointType_Name(EndpointType value);
|
|
template <typename T>
|
|
const ::std::string& EndpointType_Name(T value) {
|
|
static_assert(::std::is_same<T, EndpointType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to EndpointType_Name().");
|
|
return EndpointType_Name(static_cast<EndpointType>(value));
|
|
}
|
|
bool EndpointType_Parse(
|
|
::absl::string_view name, EndpointType* PROTOBUF_NONNULL value);
|
|
|
|
// ===================================================================
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
class WifiLanUsableChannels final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.WifiLanUsableChannels) */ {
|
|
public:
|
|
inline WifiLanUsableChannels() : WifiLanUsableChannels(nullptr) {}
|
|
~WifiLanUsableChannels() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(WifiLanUsableChannels* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(WifiLanUsableChannels));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR WifiLanUsableChannels(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline WifiLanUsableChannels(const WifiLanUsableChannels& from) : WifiLanUsableChannels(nullptr, from) {}
|
|
inline WifiLanUsableChannels(WifiLanUsableChannels&& from) noexcept
|
|
: WifiLanUsableChannels(nullptr, ::std::move(from)) {}
|
|
inline WifiLanUsableChannels& operator=(const WifiLanUsableChannels& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline WifiLanUsableChannels& operator=(WifiLanUsableChannels&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const WifiLanUsableChannels& default_instance() {
|
|
return *reinterpret_cast<const WifiLanUsableChannels*>(
|
|
&_WifiLanUsableChannels_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 33;
|
|
friend void swap(WifiLanUsableChannels& a, WifiLanUsableChannels& b) { a.Swap(&b); }
|
|
inline void Swap(WifiLanUsableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(WifiLanUsableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
WifiLanUsableChannels* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<WifiLanUsableChannels>(arena);
|
|
}
|
|
void CopyFrom(const WifiLanUsableChannels& from);
|
|
void MergeFrom(const WifiLanUsableChannels& from) { WifiLanUsableChannels::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(WifiLanUsableChannels* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.WifiLanUsableChannels"; }
|
|
|
|
explicit WifiLanUsableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
WifiLanUsableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WifiLanUsableChannels& from);
|
|
WifiLanUsableChannels(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WifiLanUsableChannels&& from) noexcept
|
|
: WifiLanUsableChannels(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kChannelsFieldNumber = 1,
|
|
};
|
|
// repeated int32 channels = 1 [packed = true];
|
|
int channels_size() const;
|
|
private:
|
|
int _internal_channels_size() const;
|
|
|
|
public:
|
|
void clear_channels() ;
|
|
::int32_t channels(int index) const;
|
|
void set_channels(int index, ::int32_t value);
|
|
void add_channels(::int32_t value);
|
|
const ::google::protobuf::RepeatedField<::int32_t>& channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_channels();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<::int32_t>& _internal_channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_channels();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.WifiLanUsableChannels)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const WifiLanUsableChannels& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<::int32_t> channels_;
|
|
::google::protobuf::internal::CachedSize _channels_cached_byte_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<50> WifiLanUsableChannels_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class WifiHotspotStaUsableChannels final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.WifiHotspotStaUsableChannels) */ {
|
|
public:
|
|
inline WifiHotspotStaUsableChannels() : WifiHotspotStaUsableChannels(nullptr) {}
|
|
~WifiHotspotStaUsableChannels() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(WifiHotspotStaUsableChannels* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(WifiHotspotStaUsableChannels));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR WifiHotspotStaUsableChannels(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline WifiHotspotStaUsableChannels(const WifiHotspotStaUsableChannels& from) : WifiHotspotStaUsableChannels(nullptr, from) {}
|
|
inline WifiHotspotStaUsableChannels(WifiHotspotStaUsableChannels&& from) noexcept
|
|
: WifiHotspotStaUsableChannels(nullptr, ::std::move(from)) {}
|
|
inline WifiHotspotStaUsableChannels& operator=(const WifiHotspotStaUsableChannels& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline WifiHotspotStaUsableChannels& operator=(WifiHotspotStaUsableChannels&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const WifiHotspotStaUsableChannels& default_instance() {
|
|
return *reinterpret_cast<const WifiHotspotStaUsableChannels*>(
|
|
&_WifiHotspotStaUsableChannels_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 35;
|
|
friend void swap(WifiHotspotStaUsableChannels& a, WifiHotspotStaUsableChannels& b) { a.Swap(&b); }
|
|
inline void Swap(WifiHotspotStaUsableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(WifiHotspotStaUsableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
WifiHotspotStaUsableChannels* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<WifiHotspotStaUsableChannels>(arena);
|
|
}
|
|
void CopyFrom(const WifiHotspotStaUsableChannels& from);
|
|
void MergeFrom(const WifiHotspotStaUsableChannels& from) { WifiHotspotStaUsableChannels::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(WifiHotspotStaUsableChannels* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.WifiHotspotStaUsableChannels"; }
|
|
|
|
explicit WifiHotspotStaUsableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
WifiHotspotStaUsableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WifiHotspotStaUsableChannels& from);
|
|
WifiHotspotStaUsableChannels(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WifiHotspotStaUsableChannels&& from) noexcept
|
|
: WifiHotspotStaUsableChannels(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kChannelsFieldNumber = 1,
|
|
};
|
|
// repeated int32 channels = 1 [packed = true];
|
|
int channels_size() const;
|
|
private:
|
|
int _internal_channels_size() const;
|
|
|
|
public:
|
|
void clear_channels() ;
|
|
::int32_t channels(int index) const;
|
|
void set_channels(int index, ::int32_t value);
|
|
void add_channels(::int32_t value);
|
|
const ::google::protobuf::RepeatedField<::int32_t>& channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_channels();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<::int32_t>& _internal_channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_channels();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.WifiHotspotStaUsableChannels)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const WifiHotspotStaUsableChannels& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<::int32_t> channels_;
|
|
::google::protobuf::internal::CachedSize _channels_cached_byte_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<57> WifiHotspotStaUsableChannels_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class WifiDirectCliUsableChannels final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.WifiDirectCliUsableChannels) */ {
|
|
public:
|
|
inline WifiDirectCliUsableChannels() : WifiDirectCliUsableChannels(nullptr) {}
|
|
~WifiDirectCliUsableChannels() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(WifiDirectCliUsableChannels* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(WifiDirectCliUsableChannels));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR WifiDirectCliUsableChannels(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline WifiDirectCliUsableChannels(const WifiDirectCliUsableChannels& from) : WifiDirectCliUsableChannels(nullptr, from) {}
|
|
inline WifiDirectCliUsableChannels(WifiDirectCliUsableChannels&& from) noexcept
|
|
: WifiDirectCliUsableChannels(nullptr, ::std::move(from)) {}
|
|
inline WifiDirectCliUsableChannels& operator=(const WifiDirectCliUsableChannels& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline WifiDirectCliUsableChannels& operator=(WifiDirectCliUsableChannels&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const WifiDirectCliUsableChannels& default_instance() {
|
|
return *reinterpret_cast<const WifiDirectCliUsableChannels*>(
|
|
&_WifiDirectCliUsableChannels_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 32;
|
|
friend void swap(WifiDirectCliUsableChannels& a, WifiDirectCliUsableChannels& b) { a.Swap(&b); }
|
|
inline void Swap(WifiDirectCliUsableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(WifiDirectCliUsableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
WifiDirectCliUsableChannels* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<WifiDirectCliUsableChannels>(arena);
|
|
}
|
|
void CopyFrom(const WifiDirectCliUsableChannels& from);
|
|
void MergeFrom(const WifiDirectCliUsableChannels& from) { WifiDirectCliUsableChannels::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(WifiDirectCliUsableChannels* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.WifiDirectCliUsableChannels"; }
|
|
|
|
explicit WifiDirectCliUsableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
WifiDirectCliUsableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WifiDirectCliUsableChannels& from);
|
|
WifiDirectCliUsableChannels(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WifiDirectCliUsableChannels&& from) noexcept
|
|
: WifiDirectCliUsableChannels(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kChannelsFieldNumber = 1,
|
|
};
|
|
// repeated int32 channels = 1 [packed = true];
|
|
int channels_size() const;
|
|
private:
|
|
int _internal_channels_size() const;
|
|
|
|
public:
|
|
void clear_channels() ;
|
|
::int32_t channels(int index) const;
|
|
void set_channels(int index, ::int32_t value);
|
|
void add_channels(::int32_t value);
|
|
const ::google::protobuf::RepeatedField<::int32_t>& channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_channels();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<::int32_t>& _internal_channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_channels();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.WifiDirectCliUsableChannels)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const WifiDirectCliUsableChannels& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<::int32_t> channels_;
|
|
::google::protobuf::internal::CachedSize _channels_cached_byte_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<56> WifiDirectCliUsableChannels_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class WifiAwareUsableChannels final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.WifiAwareUsableChannels) */ {
|
|
public:
|
|
inline WifiAwareUsableChannels() : WifiAwareUsableChannels(nullptr) {}
|
|
~WifiAwareUsableChannels() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(WifiAwareUsableChannels* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(WifiAwareUsableChannels));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR WifiAwareUsableChannels(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline WifiAwareUsableChannels(const WifiAwareUsableChannels& from) : WifiAwareUsableChannels(nullptr, from) {}
|
|
inline WifiAwareUsableChannels(WifiAwareUsableChannels&& from) noexcept
|
|
: WifiAwareUsableChannels(nullptr, ::std::move(from)) {}
|
|
inline WifiAwareUsableChannels& operator=(const WifiAwareUsableChannels& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline WifiAwareUsableChannels& operator=(WifiAwareUsableChannels&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const WifiAwareUsableChannels& default_instance() {
|
|
return *reinterpret_cast<const WifiAwareUsableChannels*>(
|
|
&_WifiAwareUsableChannels_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 34;
|
|
friend void swap(WifiAwareUsableChannels& a, WifiAwareUsableChannels& b) { a.Swap(&b); }
|
|
inline void Swap(WifiAwareUsableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(WifiAwareUsableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
WifiAwareUsableChannels* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<WifiAwareUsableChannels>(arena);
|
|
}
|
|
void CopyFrom(const WifiAwareUsableChannels& from);
|
|
void MergeFrom(const WifiAwareUsableChannels& from) { WifiAwareUsableChannels::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(WifiAwareUsableChannels* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.WifiAwareUsableChannels"; }
|
|
|
|
explicit WifiAwareUsableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
WifiAwareUsableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WifiAwareUsableChannels& from);
|
|
WifiAwareUsableChannels(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WifiAwareUsableChannels&& from) noexcept
|
|
: WifiAwareUsableChannels(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kChannelsFieldNumber = 1,
|
|
};
|
|
// repeated int32 channels = 1 [packed = true];
|
|
int channels_size() const;
|
|
private:
|
|
int _internal_channels_size() const;
|
|
|
|
public:
|
|
void clear_channels() ;
|
|
::int32_t channels(int index) const;
|
|
void set_channels(int index, ::int32_t value);
|
|
void add_channels(::int32_t value);
|
|
const ::google::protobuf::RepeatedField<::int32_t>& channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_channels();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<::int32_t>& _internal_channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_channels();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.WifiAwareUsableChannels)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const WifiAwareUsableChannels& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<::int32_t> channels_;
|
|
::google::protobuf::internal::CachedSize _channels_cached_byte_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<52> WifiAwareUsableChannels_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ServiceAddress final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.ServiceAddress) */ {
|
|
public:
|
|
inline ServiceAddress() : ServiceAddress(nullptr) {}
|
|
~ServiceAddress() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ServiceAddress* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ServiceAddress));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ServiceAddress(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ServiceAddress(const ServiceAddress& from) : ServiceAddress(nullptr, from) {}
|
|
inline ServiceAddress(ServiceAddress&& from) noexcept
|
|
: ServiceAddress(nullptr, ::std::move(from)) {}
|
|
inline ServiceAddress& operator=(const ServiceAddress& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ServiceAddress& operator=(ServiceAddress&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const ServiceAddress& default_instance() {
|
|
return *reinterpret_cast<const ServiceAddress*>(
|
|
&_ServiceAddress_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 8;
|
|
friend void swap(ServiceAddress& a, ServiceAddress& b) { a.Swap(&b); }
|
|
inline void Swap(ServiceAddress* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ServiceAddress* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ServiceAddress* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<ServiceAddress>(arena);
|
|
}
|
|
void CopyFrom(const ServiceAddress& from);
|
|
void MergeFrom(const ServiceAddress& from) { ServiceAddress::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ServiceAddress* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.ServiceAddress"; }
|
|
|
|
explicit ServiceAddress(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ServiceAddress(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ServiceAddress& from);
|
|
ServiceAddress(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ServiceAddress&& from) noexcept
|
|
: ServiceAddress(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kIpAddressFieldNumber = 1,
|
|
kPortFieldNumber = 2,
|
|
};
|
|
// optional bytes ip_address = 1;
|
|
bool has_ip_address() const;
|
|
void clear_ip_address() ;
|
|
const ::std::string& ip_address() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_ip_address(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_ip_address();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ip_address();
|
|
void set_allocated_ip_address(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_ip_address() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_ip_address(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_ip_address();
|
|
|
|
public:
|
|
// optional int32 port = 2;
|
|
bool has_port() const;
|
|
void clear_port() ;
|
|
::int32_t port() const;
|
|
void set_port(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_port() const;
|
|
void _internal_set_port(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.ServiceAddress)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ServiceAddress& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr ip_address_;
|
|
::int32_t port_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> ServiceAddress_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class PresenceDevice final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.PresenceDevice) */ {
|
|
public:
|
|
inline PresenceDevice() : PresenceDevice(nullptr) {}
|
|
~PresenceDevice() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PresenceDevice* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PresenceDevice));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PresenceDevice(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PresenceDevice(const PresenceDevice& from) : PresenceDevice(nullptr, from) {}
|
|
inline PresenceDevice(PresenceDevice&& from) noexcept
|
|
: PresenceDevice(nullptr, ::std::move(from)) {}
|
|
inline PresenceDevice& operator=(const PresenceDevice& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PresenceDevice& operator=(PresenceDevice&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const PresenceDevice& default_instance() {
|
|
return *reinterpret_cast<const PresenceDevice*>(
|
|
&_PresenceDevice_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 41;
|
|
friend void swap(PresenceDevice& a, PresenceDevice& b) { a.Swap(&b); }
|
|
inline void Swap(PresenceDevice* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(PresenceDevice* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PresenceDevice* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<PresenceDevice>(arena);
|
|
}
|
|
void CopyFrom(const PresenceDevice& from);
|
|
void MergeFrom(const PresenceDevice& from) { PresenceDevice::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(PresenceDevice* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.PresenceDevice"; }
|
|
|
|
explicit PresenceDevice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PresenceDevice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PresenceDevice& from);
|
|
PresenceDevice(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PresenceDevice&& from) noexcept
|
|
: PresenceDevice(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using DeviceType = PresenceDevice_DeviceType;
|
|
static constexpr DeviceType UNKNOWN = PresenceDevice_DeviceType_UNKNOWN;
|
|
static constexpr DeviceType PHONE = PresenceDevice_DeviceType_PHONE;
|
|
static constexpr DeviceType TABLET = PresenceDevice_DeviceType_TABLET;
|
|
static constexpr DeviceType DISPLAY = PresenceDevice_DeviceType_DISPLAY;
|
|
static constexpr DeviceType LAPTOP = PresenceDevice_DeviceType_LAPTOP;
|
|
static constexpr DeviceType TV = PresenceDevice_DeviceType_TV;
|
|
static constexpr DeviceType WATCH = PresenceDevice_DeviceType_WATCH;
|
|
static inline bool DeviceType_IsValid(int value) {
|
|
return PresenceDevice_DeviceType_IsValid(value);
|
|
}
|
|
static constexpr DeviceType DeviceType_MIN = PresenceDevice_DeviceType_DeviceType_MIN;
|
|
static constexpr DeviceType DeviceType_MAX = PresenceDevice_DeviceType_DeviceType_MAX;
|
|
static constexpr int DeviceType_ARRAYSIZE = PresenceDevice_DeviceType_DeviceType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& DeviceType_Name(T value) {
|
|
return PresenceDevice_DeviceType_Name(value);
|
|
}
|
|
static inline bool DeviceType_Parse(
|
|
::absl::string_view name, DeviceType* PROTOBUF_NONNULL value) {
|
|
return PresenceDevice_DeviceType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kDiscoveryMediumFieldNumber = 8,
|
|
kActionsFieldNumber = 9,
|
|
kIdentityTypeFieldNumber = 10,
|
|
kEndpointIdFieldNumber = 1,
|
|
kConnectivityInfoListFieldNumber = 3,
|
|
kDeviceNameFieldNumber = 5,
|
|
kDeviceImageUrlFieldNumber = 7,
|
|
kDeviceIdFieldNumber = 4,
|
|
kEndpointTypeFieldNumber = 2,
|
|
kDeviceTypeFieldNumber = 6,
|
|
};
|
|
// repeated .location.nearby.connections.ConnectionRequestFrame.Medium discovery_medium = 8 [packed = true];
|
|
int discovery_medium_size() const;
|
|
private:
|
|
int _internal_discovery_medium_size() const;
|
|
|
|
public:
|
|
void clear_discovery_medium() ;
|
|
public:
|
|
::location::nearby::connections::ConnectionRequestFrame_Medium discovery_medium(int index) const;
|
|
void set_discovery_medium(int index, ::location::nearby::connections::ConnectionRequestFrame_Medium value);
|
|
void add_discovery_medium(::location::nearby::connections::ConnectionRequestFrame_Medium value);
|
|
const ::google::protobuf::RepeatedField<int>& discovery_medium() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_discovery_medium();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<int>& _internal_discovery_medium() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_discovery_medium();
|
|
|
|
public:
|
|
// repeated int32 actions = 9 [packed = true];
|
|
int actions_size() const;
|
|
private:
|
|
int _internal_actions_size() const;
|
|
|
|
public:
|
|
void clear_actions() ;
|
|
::int32_t actions(int index) const;
|
|
void set_actions(int index, ::int32_t value);
|
|
void add_actions(::int32_t value);
|
|
const ::google::protobuf::RepeatedField<::int32_t>& actions() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_actions();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<::int32_t>& _internal_actions() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_actions();
|
|
|
|
public:
|
|
// repeated int64 identity_type = 10 [packed = true];
|
|
int identity_type_size() const;
|
|
private:
|
|
int _internal_identity_type_size() const;
|
|
|
|
public:
|
|
void clear_identity_type() ;
|
|
::int64_t identity_type(int index) const;
|
|
void set_identity_type(int index, ::int64_t value);
|
|
void add_identity_type(::int64_t value);
|
|
const ::google::protobuf::RepeatedField<::int64_t>& identity_type() const;
|
|
::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_identity_type();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<::int64_t>& _internal_identity_type() const;
|
|
::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_identity_type();
|
|
|
|
public:
|
|
// optional string endpoint_id = 1;
|
|
bool has_endpoint_id() const;
|
|
void clear_endpoint_id() ;
|
|
const ::std::string& endpoint_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_endpoint_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_endpoint_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_id();
|
|
void set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_endpoint_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_id();
|
|
|
|
public:
|
|
// optional bytes connectivity_info_list = 3;
|
|
bool has_connectivity_info_list() const;
|
|
void clear_connectivity_info_list() ;
|
|
const ::std::string& connectivity_info_list() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_connectivity_info_list(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_connectivity_info_list();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_connectivity_info_list();
|
|
void set_allocated_connectivity_info_list(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_connectivity_info_list() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_connectivity_info_list(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_connectivity_info_list();
|
|
|
|
public:
|
|
// optional string device_name = 5;
|
|
bool has_device_name() const;
|
|
void clear_device_name() ;
|
|
const ::std::string& device_name() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_device_name(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_device_name();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_device_name();
|
|
void set_allocated_device_name(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_device_name() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_device_name(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_device_name();
|
|
|
|
public:
|
|
// optional string device_image_url = 7;
|
|
bool has_device_image_url() const;
|
|
void clear_device_image_url() ;
|
|
const ::std::string& device_image_url() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_device_image_url(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_device_image_url();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_device_image_url();
|
|
void set_allocated_device_image_url(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_device_image_url() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_device_image_url(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_device_image_url();
|
|
|
|
public:
|
|
// optional int64 device_id = 4;
|
|
bool has_device_id() const;
|
|
void clear_device_id() ;
|
|
::int64_t device_id() const;
|
|
void set_device_id(::int64_t value);
|
|
|
|
private:
|
|
::int64_t _internal_device_id() const;
|
|
void _internal_set_device_id(::int64_t value);
|
|
|
|
public:
|
|
// optional .location.nearby.connections.EndpointType endpoint_type = 2;
|
|
bool has_endpoint_type() const;
|
|
void clear_endpoint_type() ;
|
|
::location::nearby::connections::EndpointType endpoint_type() const;
|
|
void set_endpoint_type(::location::nearby::connections::EndpointType value);
|
|
|
|
private:
|
|
::location::nearby::connections::EndpointType _internal_endpoint_type() const;
|
|
void _internal_set_endpoint_type(::location::nearby::connections::EndpointType value);
|
|
|
|
public:
|
|
// optional .location.nearby.connections.PresenceDevice.DeviceType device_type = 6;
|
|
bool has_device_type() const;
|
|
void clear_device_type() ;
|
|
::location::nearby::connections::PresenceDevice_DeviceType device_type() const;
|
|
void set_device_type(::location::nearby::connections::PresenceDevice_DeviceType value);
|
|
|
|
private:
|
|
::location::nearby::connections::PresenceDevice_DeviceType _internal_device_type() const;
|
|
void _internal_set_device_type(::location::nearby::connections::PresenceDevice_DeviceType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.PresenceDevice)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 10,
|
|
3, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const PresenceDevice& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<int> discovery_medium_;
|
|
::google::protobuf::internal::CachedSize _discovery_medium_cached_byte_size_;
|
|
::google::protobuf::RepeatedField<::int32_t> actions_;
|
|
::google::protobuf::internal::CachedSize _actions_cached_byte_size_;
|
|
::google::protobuf::RepeatedField<::int64_t> identity_type_;
|
|
::google::protobuf::internal::CachedSize _identity_type_cached_byte_size_;
|
|
::google::protobuf::internal::ArenaStringPtr endpoint_id_;
|
|
::google::protobuf::internal::ArenaStringPtr connectivity_info_list_;
|
|
::google::protobuf::internal::ArenaStringPtr device_name_;
|
|
::google::protobuf::internal::ArenaStringPtr device_image_url_;
|
|
::int64_t device_id_;
|
|
int endpoint_type_;
|
|
int device_type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> PresenceDevice_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class PayloadTransferFrame_PayloadHeader final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.PayloadTransferFrame.PayloadHeader) */ {
|
|
public:
|
|
inline PayloadTransferFrame_PayloadHeader() : PayloadTransferFrame_PayloadHeader(nullptr) {}
|
|
~PayloadTransferFrame_PayloadHeader() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PayloadTransferFrame_PayloadHeader));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PayloadTransferFrame_PayloadHeader(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PayloadTransferFrame_PayloadHeader(const PayloadTransferFrame_PayloadHeader& from) : PayloadTransferFrame_PayloadHeader(nullptr, from) {}
|
|
inline PayloadTransferFrame_PayloadHeader(PayloadTransferFrame_PayloadHeader&& from) noexcept
|
|
: PayloadTransferFrame_PayloadHeader(nullptr, ::std::move(from)) {}
|
|
inline PayloadTransferFrame_PayloadHeader& operator=(const PayloadTransferFrame_PayloadHeader& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PayloadTransferFrame_PayloadHeader& operator=(PayloadTransferFrame_PayloadHeader&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const PayloadTransferFrame_PayloadHeader& default_instance() {
|
|
return *reinterpret_cast<const PayloadTransferFrame_PayloadHeader*>(
|
|
&_PayloadTransferFrame_PayloadHeader_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 4;
|
|
friend void swap(PayloadTransferFrame_PayloadHeader& a, PayloadTransferFrame_PayloadHeader& b) { a.Swap(&b); }
|
|
inline void Swap(PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<PayloadTransferFrame_PayloadHeader>(arena);
|
|
}
|
|
void CopyFrom(const PayloadTransferFrame_PayloadHeader& from);
|
|
void MergeFrom(const PayloadTransferFrame_PayloadHeader& from) { PayloadTransferFrame_PayloadHeader::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.PayloadTransferFrame.PayloadHeader"; }
|
|
|
|
explicit PayloadTransferFrame_PayloadHeader(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PayloadTransferFrame_PayloadHeader(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PayloadTransferFrame_PayloadHeader& from);
|
|
PayloadTransferFrame_PayloadHeader(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PayloadTransferFrame_PayloadHeader&& from) noexcept
|
|
: PayloadTransferFrame_PayloadHeader(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using PayloadType = PayloadTransferFrame_PayloadHeader_PayloadType;
|
|
static constexpr PayloadType UNKNOWN_PAYLOAD_TYPE = PayloadTransferFrame_PayloadHeader_PayloadType_UNKNOWN_PAYLOAD_TYPE;
|
|
static constexpr PayloadType BYTES = PayloadTransferFrame_PayloadHeader_PayloadType_BYTES;
|
|
static constexpr PayloadType FILE = PayloadTransferFrame_PayloadHeader_PayloadType_FILE;
|
|
static constexpr PayloadType STREAM = PayloadTransferFrame_PayloadHeader_PayloadType_STREAM;
|
|
static inline bool PayloadType_IsValid(int value) {
|
|
return PayloadTransferFrame_PayloadHeader_PayloadType_IsValid(value);
|
|
}
|
|
static constexpr PayloadType PayloadType_MIN = PayloadTransferFrame_PayloadHeader_PayloadType_PayloadType_MIN;
|
|
static constexpr PayloadType PayloadType_MAX = PayloadTransferFrame_PayloadHeader_PayloadType_PayloadType_MAX;
|
|
static constexpr int PayloadType_ARRAYSIZE = PayloadTransferFrame_PayloadHeader_PayloadType_PayloadType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& PayloadType_Name(T value) {
|
|
return PayloadTransferFrame_PayloadHeader_PayloadType_Name(value);
|
|
}
|
|
static inline bool PayloadType_Parse(
|
|
::absl::string_view name, PayloadType* PROTOBUF_NONNULL value) {
|
|
return PayloadTransferFrame_PayloadHeader_PayloadType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kFileNameFieldNumber = 5,
|
|
kParentFolderFieldNumber = 6,
|
|
kIdFieldNumber = 1,
|
|
kTotalSizeFieldNumber = 3,
|
|
kTypeFieldNumber = 2,
|
|
kIsSensitiveFieldNumber = 4,
|
|
kLastModifiedTimestampMillisFieldNumber = 7,
|
|
};
|
|
// optional string file_name = 5;
|
|
bool has_file_name() const;
|
|
void clear_file_name() ;
|
|
const ::std::string& file_name() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_file_name(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_file_name();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_file_name();
|
|
void set_allocated_file_name(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_file_name() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_file_name(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_file_name();
|
|
|
|
public:
|
|
// optional string parent_folder = 6;
|
|
bool has_parent_folder() const;
|
|
void clear_parent_folder() ;
|
|
const ::std::string& parent_folder() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_parent_folder(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_parent_folder();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_parent_folder();
|
|
void set_allocated_parent_folder(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_parent_folder() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_parent_folder(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_parent_folder();
|
|
|
|
public:
|
|
// optional int64 id = 1;
|
|
bool has_id() const;
|
|
void clear_id() ;
|
|
::int64_t id() const;
|
|
void set_id(::int64_t value);
|
|
|
|
private:
|
|
::int64_t _internal_id() const;
|
|
void _internal_set_id(::int64_t value);
|
|
|
|
public:
|
|
// optional int64 total_size = 3;
|
|
bool has_total_size() const;
|
|
void clear_total_size() ;
|
|
::int64_t total_size() const;
|
|
void set_total_size(::int64_t value);
|
|
|
|
private:
|
|
::int64_t _internal_total_size() const;
|
|
void _internal_set_total_size(::int64_t value);
|
|
|
|
public:
|
|
// optional .location.nearby.connections.PayloadTransferFrame.PayloadHeader.PayloadType type = 2;
|
|
bool has_type() const;
|
|
void clear_type() ;
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType type() const;
|
|
void set_type(::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType value);
|
|
|
|
private:
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType _internal_type() const;
|
|
void _internal_set_type(::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType value);
|
|
|
|
public:
|
|
// optional bool is_sensitive = 4;
|
|
bool has_is_sensitive() const;
|
|
void clear_is_sensitive() ;
|
|
bool is_sensitive() const;
|
|
void set_is_sensitive(bool value);
|
|
|
|
private:
|
|
bool _internal_is_sensitive() const;
|
|
void _internal_set_is_sensitive(bool value);
|
|
|
|
public:
|
|
// optional int64 last_modified_timestamp_millis = 7;
|
|
bool has_last_modified_timestamp_millis() const;
|
|
void clear_last_modified_timestamp_millis() ;
|
|
::int64_t last_modified_timestamp_millis() const;
|
|
void set_last_modified_timestamp_millis(::int64_t value);
|
|
|
|
private:
|
|
::int64_t _internal_last_modified_timestamp_millis() const;
|
|
void _internal_set_last_modified_timestamp_millis(::int64_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.PayloadTransferFrame.PayloadHeader)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 7,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const PayloadTransferFrame_PayloadHeader& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr file_name_;
|
|
::google::protobuf::internal::ArenaStringPtr parent_folder_;
|
|
::int64_t id_;
|
|
::int64_t total_size_;
|
|
int type_;
|
|
bool is_sensitive_;
|
|
::int64_t last_modified_timestamp_millis_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<63> PayloadTransferFrame_PayloadHeader_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class PayloadTransferFrame_PayloadChunk final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.PayloadTransferFrame.PayloadChunk) */ {
|
|
public:
|
|
inline PayloadTransferFrame_PayloadChunk() : PayloadTransferFrame_PayloadChunk(nullptr) {}
|
|
~PayloadTransferFrame_PayloadChunk() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PayloadTransferFrame_PayloadChunk));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PayloadTransferFrame_PayloadChunk(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PayloadTransferFrame_PayloadChunk(const PayloadTransferFrame_PayloadChunk& from) : PayloadTransferFrame_PayloadChunk(nullptr, from) {}
|
|
inline PayloadTransferFrame_PayloadChunk(PayloadTransferFrame_PayloadChunk&& from) noexcept
|
|
: PayloadTransferFrame_PayloadChunk(nullptr, ::std::move(from)) {}
|
|
inline PayloadTransferFrame_PayloadChunk& operator=(const PayloadTransferFrame_PayloadChunk& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PayloadTransferFrame_PayloadChunk& operator=(PayloadTransferFrame_PayloadChunk&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const PayloadTransferFrame_PayloadChunk& default_instance() {
|
|
return *reinterpret_cast<const PayloadTransferFrame_PayloadChunk*>(
|
|
&_PayloadTransferFrame_PayloadChunk_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 5;
|
|
friend void swap(PayloadTransferFrame_PayloadChunk& a, PayloadTransferFrame_PayloadChunk& b) { a.Swap(&b); }
|
|
inline void Swap(PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<PayloadTransferFrame_PayloadChunk>(arena);
|
|
}
|
|
void CopyFrom(const PayloadTransferFrame_PayloadChunk& from);
|
|
void MergeFrom(const PayloadTransferFrame_PayloadChunk& from) { PayloadTransferFrame_PayloadChunk::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.PayloadTransferFrame.PayloadChunk"; }
|
|
|
|
explicit PayloadTransferFrame_PayloadChunk(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PayloadTransferFrame_PayloadChunk(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PayloadTransferFrame_PayloadChunk& from);
|
|
PayloadTransferFrame_PayloadChunk(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PayloadTransferFrame_PayloadChunk&& from) noexcept
|
|
: PayloadTransferFrame_PayloadChunk(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using Flags = PayloadTransferFrame_PayloadChunk_Flags;
|
|
static constexpr Flags LAST_CHUNK = PayloadTransferFrame_PayloadChunk_Flags_LAST_CHUNK;
|
|
static inline bool Flags_IsValid(int value) {
|
|
return PayloadTransferFrame_PayloadChunk_Flags_IsValid(value);
|
|
}
|
|
static constexpr Flags Flags_MIN = PayloadTransferFrame_PayloadChunk_Flags_Flags_MIN;
|
|
static constexpr Flags Flags_MAX = PayloadTransferFrame_PayloadChunk_Flags_Flags_MAX;
|
|
static constexpr int Flags_ARRAYSIZE = PayloadTransferFrame_PayloadChunk_Flags_Flags_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& Flags_Name(T value) {
|
|
return PayloadTransferFrame_PayloadChunk_Flags_Name(value);
|
|
}
|
|
static inline bool Flags_Parse(
|
|
::absl::string_view name, Flags* PROTOBUF_NONNULL value) {
|
|
return PayloadTransferFrame_PayloadChunk_Flags_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kBodyFieldNumber = 3,
|
|
kOffsetFieldNumber = 2,
|
|
kFlagsFieldNumber = 1,
|
|
kIndexFieldNumber = 4,
|
|
};
|
|
// optional bytes body = 3;
|
|
bool has_body() const;
|
|
void clear_body() ;
|
|
const ::std::string& body() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_body(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_body();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_body();
|
|
void set_allocated_body(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_body() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_body(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_body();
|
|
|
|
public:
|
|
// optional int64 offset = 2;
|
|
bool has_offset() const;
|
|
void clear_offset() ;
|
|
::int64_t offset() const;
|
|
void set_offset(::int64_t value);
|
|
|
|
private:
|
|
::int64_t _internal_offset() const;
|
|
void _internal_set_offset(::int64_t value);
|
|
|
|
public:
|
|
// optional int32 flags = 1;
|
|
bool has_flags() const;
|
|
void clear_flags() ;
|
|
::int32_t flags() const;
|
|
void set_flags(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_flags() const;
|
|
void _internal_set_flags(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 index = 4;
|
|
bool has_index() const;
|
|
void clear_index() ;
|
|
::int32_t index() const;
|
|
void set_index(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_index() const;
|
|
void _internal_set_index(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.PayloadTransferFrame.PayloadChunk)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 4,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const PayloadTransferFrame_PayloadChunk& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr body_;
|
|
::int64_t offset_;
|
|
::int32_t flags_;
|
|
::int32_t index_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<62> PayloadTransferFrame_PayloadChunk_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class PayloadTransferFrame_ControlMessage final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.PayloadTransferFrame.ControlMessage) */ {
|
|
public:
|
|
inline PayloadTransferFrame_ControlMessage() : PayloadTransferFrame_ControlMessage(nullptr) {}
|
|
~PayloadTransferFrame_ControlMessage() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PayloadTransferFrame_ControlMessage));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PayloadTransferFrame_ControlMessage(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PayloadTransferFrame_ControlMessage(const PayloadTransferFrame_ControlMessage& from) : PayloadTransferFrame_ControlMessage(nullptr, from) {}
|
|
inline PayloadTransferFrame_ControlMessage(PayloadTransferFrame_ControlMessage&& from) noexcept
|
|
: PayloadTransferFrame_ControlMessage(nullptr, ::std::move(from)) {}
|
|
inline PayloadTransferFrame_ControlMessage& operator=(const PayloadTransferFrame_ControlMessage& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PayloadTransferFrame_ControlMessage& operator=(PayloadTransferFrame_ControlMessage&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const PayloadTransferFrame_ControlMessage& default_instance() {
|
|
return *reinterpret_cast<const PayloadTransferFrame_ControlMessage*>(
|
|
&_PayloadTransferFrame_ControlMessage_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 6;
|
|
friend void swap(PayloadTransferFrame_ControlMessage& a, PayloadTransferFrame_ControlMessage& b) { a.Swap(&b); }
|
|
inline void Swap(PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<PayloadTransferFrame_ControlMessage>(arena);
|
|
}
|
|
void CopyFrom(const PayloadTransferFrame_ControlMessage& from);
|
|
void MergeFrom(const PayloadTransferFrame_ControlMessage& from) { PayloadTransferFrame_ControlMessage::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.PayloadTransferFrame.ControlMessage"; }
|
|
|
|
explicit PayloadTransferFrame_ControlMessage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PayloadTransferFrame_ControlMessage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PayloadTransferFrame_ControlMessage& from);
|
|
PayloadTransferFrame_ControlMessage(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PayloadTransferFrame_ControlMessage&& from) noexcept
|
|
: PayloadTransferFrame_ControlMessage(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using EventType = PayloadTransferFrame_ControlMessage_EventType;
|
|
static constexpr EventType UNKNOWN_EVENT_TYPE = PayloadTransferFrame_ControlMessage_EventType_UNKNOWN_EVENT_TYPE;
|
|
static constexpr EventType PAYLOAD_ERROR = PayloadTransferFrame_ControlMessage_EventType_PAYLOAD_ERROR;
|
|
static constexpr EventType PAYLOAD_CANCELED = PayloadTransferFrame_ControlMessage_EventType_PAYLOAD_CANCELED;
|
|
[[deprecated]] static constexpr EventType PAYLOAD_RECEIVED_ACK = PayloadTransferFrame_ControlMessage_EventType_PAYLOAD_RECEIVED_ACK;
|
|
static inline bool EventType_IsValid(int value) {
|
|
return PayloadTransferFrame_ControlMessage_EventType_IsValid(value);
|
|
}
|
|
static constexpr EventType EventType_MIN = PayloadTransferFrame_ControlMessage_EventType_EventType_MIN;
|
|
static constexpr EventType EventType_MAX = PayloadTransferFrame_ControlMessage_EventType_EventType_MAX;
|
|
static constexpr int EventType_ARRAYSIZE = PayloadTransferFrame_ControlMessage_EventType_EventType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& EventType_Name(T value) {
|
|
return PayloadTransferFrame_ControlMessage_EventType_Name(value);
|
|
}
|
|
static inline bool EventType_Parse(
|
|
::absl::string_view name, EventType* PROTOBUF_NONNULL value) {
|
|
return PayloadTransferFrame_ControlMessage_EventType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kOffsetFieldNumber = 2,
|
|
kEventFieldNumber = 1,
|
|
};
|
|
// optional int64 offset = 2;
|
|
bool has_offset() const;
|
|
void clear_offset() ;
|
|
::int64_t offset() const;
|
|
void set_offset(::int64_t value);
|
|
|
|
private:
|
|
::int64_t _internal_offset() const;
|
|
void _internal_set_offset(::int64_t value);
|
|
|
|
public:
|
|
// optional .location.nearby.connections.PayloadTransferFrame.ControlMessage.EventType event = 1;
|
|
bool has_event() const;
|
|
void clear_event() ;
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType event() const;
|
|
void set_event(::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType value);
|
|
|
|
private:
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType _internal_event() const;
|
|
void _internal_set_event(::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.PayloadTransferFrame.ControlMessage)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const PayloadTransferFrame_ControlMessage& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::int64_t offset_;
|
|
int event_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<64> PayloadTransferFrame_ControlMessage_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class PairedKeyEncryptionFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.PairedKeyEncryptionFrame) */ {
|
|
public:
|
|
inline PairedKeyEncryptionFrame() : PairedKeyEncryptionFrame(nullptr) {}
|
|
~PairedKeyEncryptionFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PairedKeyEncryptionFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PairedKeyEncryptionFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PairedKeyEncryptionFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PairedKeyEncryptionFrame(const PairedKeyEncryptionFrame& from) : PairedKeyEncryptionFrame(nullptr, from) {}
|
|
inline PairedKeyEncryptionFrame(PairedKeyEncryptionFrame&& from) noexcept
|
|
: PairedKeyEncryptionFrame(nullptr, ::std::move(from)) {}
|
|
inline PairedKeyEncryptionFrame& operator=(const PairedKeyEncryptionFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PairedKeyEncryptionFrame& operator=(PairedKeyEncryptionFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const PairedKeyEncryptionFrame& default_instance() {
|
|
return *reinterpret_cast<const PairedKeyEncryptionFrame*>(
|
|
&_PairedKeyEncryptionFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 25;
|
|
friend void swap(PairedKeyEncryptionFrame& a, PairedKeyEncryptionFrame& b) { a.Swap(&b); }
|
|
inline void Swap(PairedKeyEncryptionFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(PairedKeyEncryptionFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PairedKeyEncryptionFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<PairedKeyEncryptionFrame>(arena);
|
|
}
|
|
void CopyFrom(const PairedKeyEncryptionFrame& from);
|
|
void MergeFrom(const PairedKeyEncryptionFrame& from) { PairedKeyEncryptionFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(PairedKeyEncryptionFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.PairedKeyEncryptionFrame"; }
|
|
|
|
explicit PairedKeyEncryptionFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PairedKeyEncryptionFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PairedKeyEncryptionFrame& from);
|
|
PairedKeyEncryptionFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PairedKeyEncryptionFrame&& from) noexcept
|
|
: PairedKeyEncryptionFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSignedDataFieldNumber = 1,
|
|
};
|
|
// optional bytes signed_data = 1;
|
|
bool has_signed_data() const;
|
|
void clear_signed_data() ;
|
|
const ::std::string& signed_data() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_signed_data(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_signed_data();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_signed_data();
|
|
void set_allocated_signed_data(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_signed_data() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_signed_data(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_signed_data();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.PairedKeyEncryptionFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const PairedKeyEncryptionFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr signed_data_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<53> PairedKeyEncryptionFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class OsInfo final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.OsInfo) */ {
|
|
public:
|
|
inline OsInfo() : OsInfo(nullptr) {}
|
|
~OsInfo() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(OsInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(OsInfo));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR OsInfo(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline OsInfo(const OsInfo& from) : OsInfo(nullptr, from) {}
|
|
inline OsInfo(OsInfo&& from) noexcept
|
|
: OsInfo(nullptr, ::std::move(from)) {}
|
|
inline OsInfo& operator=(const OsInfo& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline OsInfo& operator=(OsInfo&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const OsInfo& default_instance() {
|
|
return *reinterpret_cast<const OsInfo*>(
|
|
&_OsInfo_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 39;
|
|
friend void swap(OsInfo& a, OsInfo& b) { a.Swap(&b); }
|
|
inline void Swap(OsInfo* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(OsInfo* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
OsInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<OsInfo>(arena);
|
|
}
|
|
void CopyFrom(const OsInfo& from);
|
|
void MergeFrom(const OsInfo& from) { OsInfo::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(OsInfo* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.OsInfo"; }
|
|
|
|
explicit OsInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
OsInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OsInfo& from);
|
|
OsInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OsInfo&& from) noexcept
|
|
: OsInfo(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using OsType = OsInfo_OsType;
|
|
static constexpr OsType UNKNOWN_OS_TYPE = OsInfo_OsType_UNKNOWN_OS_TYPE;
|
|
static constexpr OsType ANDROID = OsInfo_OsType_ANDROID;
|
|
static constexpr OsType CHROME_OS = OsInfo_OsType_CHROME_OS;
|
|
static constexpr OsType WINDOWS = OsInfo_OsType_WINDOWS;
|
|
static constexpr OsType APPLE = OsInfo_OsType_APPLE;
|
|
static constexpr OsType LINUX = OsInfo_OsType_LINUX;
|
|
static inline bool OsType_IsValid(int value) {
|
|
return OsInfo_OsType_IsValid(value);
|
|
}
|
|
static constexpr OsType OsType_MIN = OsInfo_OsType_OsType_MIN;
|
|
static constexpr OsType OsType_MAX = OsInfo_OsType_OsType_MAX;
|
|
static constexpr int OsType_ARRAYSIZE = OsInfo_OsType_OsType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& OsType_Name(T value) {
|
|
return OsInfo_OsType_Name(value);
|
|
}
|
|
static inline bool OsType_Parse(
|
|
::absl::string_view name, OsType* PROTOBUF_NONNULL value) {
|
|
return OsInfo_OsType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kTypeFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.connections.OsInfo.OsType type = 1;
|
|
bool has_type() const;
|
|
void clear_type() ;
|
|
::location::nearby::connections::OsInfo_OsType type() const;
|
|
void set_type(::location::nearby::connections::OsInfo_OsType value);
|
|
|
|
private:
|
|
::location::nearby::connections::OsInfo_OsType _internal_type() const;
|
|
void _internal_set_type(::location::nearby::connections::OsInfo_OsType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.OsInfo)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const OsInfo& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
int type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<35> OsInfo_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MediumRole final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.MediumRole) */ {
|
|
public:
|
|
inline MediumRole() : MediumRole(nullptr) {}
|
|
~MediumRole() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MediumRole* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MediumRole));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MediumRole(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MediumRole(const MediumRole& from) : MediumRole(nullptr, from) {}
|
|
inline MediumRole(MediumRole&& from) noexcept
|
|
: MediumRole(nullptr, ::std::move(from)) {}
|
|
inline MediumRole& operator=(const MediumRole& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MediumRole& operator=(MediumRole&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const MediumRole& default_instance() {
|
|
return *reinterpret_cast<const MediumRole*>(
|
|
&_MediumRole_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 36;
|
|
friend void swap(MediumRole& a, MediumRole& b) { a.Swap(&b); }
|
|
inline void Swap(MediumRole* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(MediumRole* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MediumRole* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<MediumRole>(arena);
|
|
}
|
|
void CopyFrom(const MediumRole& from);
|
|
void MergeFrom(const MediumRole& from) { MediumRole::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(MediumRole* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.MediumRole"; }
|
|
|
|
explicit MediumRole(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MediumRole(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MediumRole& from);
|
|
MediumRole(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MediumRole&& from) noexcept
|
|
: MediumRole(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSupportWifiDirectGroupOwnerFieldNumber = 1,
|
|
kSupportWifiDirectGroupClientFieldNumber = 2,
|
|
kSupportWifiHotspotHostFieldNumber = 3,
|
|
kSupportWifiHotspotClientFieldNumber = 4,
|
|
kSupportWifiAwarePublisherFieldNumber = 5,
|
|
kSupportWifiAwareSubscriberFieldNumber = 6,
|
|
kSupportAwdlPublisherFieldNumber = 7,
|
|
kSupportAwdlSubscriberFieldNumber = 8,
|
|
};
|
|
// optional bool support_wifi_direct_group_owner = 1;
|
|
bool has_support_wifi_direct_group_owner() const;
|
|
void clear_support_wifi_direct_group_owner() ;
|
|
bool support_wifi_direct_group_owner() const;
|
|
void set_support_wifi_direct_group_owner(bool value);
|
|
|
|
private:
|
|
bool _internal_support_wifi_direct_group_owner() const;
|
|
void _internal_set_support_wifi_direct_group_owner(bool value);
|
|
|
|
public:
|
|
// optional bool support_wifi_direct_group_client = 2;
|
|
bool has_support_wifi_direct_group_client() const;
|
|
void clear_support_wifi_direct_group_client() ;
|
|
bool support_wifi_direct_group_client() const;
|
|
void set_support_wifi_direct_group_client(bool value);
|
|
|
|
private:
|
|
bool _internal_support_wifi_direct_group_client() const;
|
|
void _internal_set_support_wifi_direct_group_client(bool value);
|
|
|
|
public:
|
|
// optional bool support_wifi_hotspot_host = 3;
|
|
bool has_support_wifi_hotspot_host() const;
|
|
void clear_support_wifi_hotspot_host() ;
|
|
bool support_wifi_hotspot_host() const;
|
|
void set_support_wifi_hotspot_host(bool value);
|
|
|
|
private:
|
|
bool _internal_support_wifi_hotspot_host() const;
|
|
void _internal_set_support_wifi_hotspot_host(bool value);
|
|
|
|
public:
|
|
// optional bool support_wifi_hotspot_client = 4;
|
|
bool has_support_wifi_hotspot_client() const;
|
|
void clear_support_wifi_hotspot_client() ;
|
|
bool support_wifi_hotspot_client() const;
|
|
void set_support_wifi_hotspot_client(bool value);
|
|
|
|
private:
|
|
bool _internal_support_wifi_hotspot_client() const;
|
|
void _internal_set_support_wifi_hotspot_client(bool value);
|
|
|
|
public:
|
|
// optional bool support_wifi_aware_publisher = 5;
|
|
bool has_support_wifi_aware_publisher() const;
|
|
void clear_support_wifi_aware_publisher() ;
|
|
bool support_wifi_aware_publisher() const;
|
|
void set_support_wifi_aware_publisher(bool value);
|
|
|
|
private:
|
|
bool _internal_support_wifi_aware_publisher() const;
|
|
void _internal_set_support_wifi_aware_publisher(bool value);
|
|
|
|
public:
|
|
// optional bool support_wifi_aware_subscriber = 6;
|
|
bool has_support_wifi_aware_subscriber() const;
|
|
void clear_support_wifi_aware_subscriber() ;
|
|
bool support_wifi_aware_subscriber() const;
|
|
void set_support_wifi_aware_subscriber(bool value);
|
|
|
|
private:
|
|
bool _internal_support_wifi_aware_subscriber() const;
|
|
void _internal_set_support_wifi_aware_subscriber(bool value);
|
|
|
|
public:
|
|
// optional bool support_awdl_publisher = 7;
|
|
bool has_support_awdl_publisher() const;
|
|
void clear_support_awdl_publisher() ;
|
|
bool support_awdl_publisher() const;
|
|
void set_support_awdl_publisher(bool value);
|
|
|
|
private:
|
|
bool _internal_support_awdl_publisher() const;
|
|
void _internal_set_support_awdl_publisher(bool value);
|
|
|
|
public:
|
|
// optional bool support_awdl_subscriber = 8;
|
|
bool has_support_awdl_subscriber() const;
|
|
void clear_support_awdl_subscriber() ;
|
|
bool support_awdl_subscriber() const;
|
|
void set_support_awdl_subscriber(bool value);
|
|
|
|
private:
|
|
bool _internal_support_awdl_subscriber() const;
|
|
void _internal_set_support_awdl_subscriber(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.MediumRole)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 8,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const MediumRole& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
bool support_wifi_direct_group_owner_;
|
|
bool support_wifi_direct_group_client_;
|
|
bool support_wifi_hotspot_host_;
|
|
bool support_wifi_hotspot_client_;
|
|
bool support_wifi_aware_publisher_;
|
|
bool support_wifi_aware_subscriber_;
|
|
bool support_awdl_publisher_;
|
|
bool support_awdl_subscriber_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<39> MediumRole_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class LocationStandard final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.LocationStandard) */ {
|
|
public:
|
|
inline LocationStandard() : LocationStandard(nullptr) {}
|
|
~LocationStandard() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(LocationStandard* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(LocationStandard));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR LocationStandard(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline LocationStandard(const LocationStandard& from) : LocationStandard(nullptr, from) {}
|
|
inline LocationStandard(LocationStandard&& from) noexcept
|
|
: LocationStandard(nullptr, ::std::move(from)) {}
|
|
inline LocationStandard& operator=(const LocationStandard& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline LocationStandard& operator=(LocationStandard&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const LocationStandard& default_instance() {
|
|
return *reinterpret_cast<const LocationStandard*>(
|
|
&_LocationStandard_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 38;
|
|
friend void swap(LocationStandard& a, LocationStandard& b) { a.Swap(&b); }
|
|
inline void Swap(LocationStandard* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(LocationStandard* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
LocationStandard* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<LocationStandard>(arena);
|
|
}
|
|
void CopyFrom(const LocationStandard& from);
|
|
void MergeFrom(const LocationStandard& from) { LocationStandard::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(LocationStandard* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.LocationStandard"; }
|
|
|
|
explicit LocationStandard(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
LocationStandard(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocationStandard& from);
|
|
LocationStandard(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocationStandard&& from) noexcept
|
|
: LocationStandard(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using Format = LocationStandard_Format;
|
|
static constexpr Format UNKNOWN = LocationStandard_Format_UNKNOWN;
|
|
static constexpr Format E164_CALLING = LocationStandard_Format_E164_CALLING;
|
|
static constexpr Format ISO_3166_1_ALPHA_2 = LocationStandard_Format_ISO_3166_1_ALPHA_2;
|
|
static inline bool Format_IsValid(int value) {
|
|
return LocationStandard_Format_IsValid(value);
|
|
}
|
|
static constexpr Format Format_MIN = LocationStandard_Format_Format_MIN;
|
|
static constexpr Format Format_MAX = LocationStandard_Format_Format_MAX;
|
|
static constexpr int Format_ARRAYSIZE = LocationStandard_Format_Format_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& Format_Name(T value) {
|
|
return LocationStandard_Format_Name(value);
|
|
}
|
|
static inline bool Format_Parse(
|
|
::absl::string_view name, Format* PROTOBUF_NONNULL value) {
|
|
return LocationStandard_Format_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.LocationStandard)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 0,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const LocationStandard& from_msg);
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<45> LocationStandard_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class LocationHint final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.LocationHint) */ {
|
|
public:
|
|
inline LocationHint() : LocationHint(nullptr) {}
|
|
~LocationHint() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(LocationHint* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(LocationHint));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR LocationHint(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline LocationHint(const LocationHint& from) : LocationHint(nullptr, from) {}
|
|
inline LocationHint(LocationHint&& from) noexcept
|
|
: LocationHint(nullptr, ::std::move(from)) {}
|
|
inline LocationHint& operator=(const LocationHint& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline LocationHint& operator=(LocationHint&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const LocationHint& default_instance() {
|
|
return *reinterpret_cast<const LocationHint*>(
|
|
&_LocationHint_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 37;
|
|
friend void swap(LocationHint& a, LocationHint& b) { a.Swap(&b); }
|
|
inline void Swap(LocationHint* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(LocationHint* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
LocationHint* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<LocationHint>(arena);
|
|
}
|
|
void CopyFrom(const LocationHint& from);
|
|
void MergeFrom(const LocationHint& from) { LocationHint::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(LocationHint* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.LocationHint"; }
|
|
|
|
explicit LocationHint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
LocationHint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocationHint& from);
|
|
LocationHint(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocationHint&& from) noexcept
|
|
: LocationHint(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kLocationFieldNumber = 1,
|
|
kFormatFieldNumber = 2,
|
|
};
|
|
// optional string location = 1;
|
|
bool has_location() const;
|
|
void clear_location() ;
|
|
const ::std::string& location() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_location(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_location();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_location();
|
|
void set_allocated_location(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_location() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_location(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_location();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.LocationStandard.Format format = 2;
|
|
bool has_format() const;
|
|
void clear_format() ;
|
|
::location::nearby::connections::LocationStandard_Format format() const;
|
|
void set_format(::location::nearby::connections::LocationStandard_Format value);
|
|
|
|
private:
|
|
::location::nearby::connections::LocationStandard_Format _internal_format() const;
|
|
void _internal_set_format(::location::nearby::connections::LocationStandard_Format value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.LocationHint)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const LocationHint& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr location_;
|
|
int format_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<41> LocationHint_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class KeepAliveFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.KeepAliveFrame) */ {
|
|
public:
|
|
inline KeepAliveFrame() : KeepAliveFrame(nullptr) {}
|
|
~KeepAliveFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(KeepAliveFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(KeepAliveFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR KeepAliveFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline KeepAliveFrame(const KeepAliveFrame& from) : KeepAliveFrame(nullptr, from) {}
|
|
inline KeepAliveFrame(KeepAliveFrame&& from) noexcept
|
|
: KeepAliveFrame(nullptr, ::std::move(from)) {}
|
|
inline KeepAliveFrame& operator=(const KeepAliveFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline KeepAliveFrame& operator=(KeepAliveFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const KeepAliveFrame& default_instance() {
|
|
return *reinterpret_cast<const KeepAliveFrame*>(
|
|
&_KeepAliveFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 23;
|
|
friend void swap(KeepAliveFrame& a, KeepAliveFrame& b) { a.Swap(&b); }
|
|
inline void Swap(KeepAliveFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(KeepAliveFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
KeepAliveFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<KeepAliveFrame>(arena);
|
|
}
|
|
void CopyFrom(const KeepAliveFrame& from);
|
|
void MergeFrom(const KeepAliveFrame& from) { KeepAliveFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(KeepAliveFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.KeepAliveFrame"; }
|
|
|
|
explicit KeepAliveFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
KeepAliveFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const KeepAliveFrame& from);
|
|
KeepAliveFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, KeepAliveFrame&& from) noexcept
|
|
: KeepAliveFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAckFieldNumber = 1,
|
|
kSeqNumFieldNumber = 2,
|
|
};
|
|
// optional bool ack = 1;
|
|
bool has_ack() const;
|
|
void clear_ack() ;
|
|
bool ack() const;
|
|
void set_ack(bool value);
|
|
|
|
private:
|
|
bool _internal_ack() const;
|
|
void _internal_set_ack(bool value);
|
|
|
|
public:
|
|
// optional uint32 seq_num = 2;
|
|
bool has_seq_num() const;
|
|
void clear_seq_num() ;
|
|
::uint32_t seq_num() const;
|
|
void set_seq_num(::uint32_t value);
|
|
|
|
private:
|
|
::uint32_t _internal_seq_num() const;
|
|
void _internal_set_seq_num(::uint32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.KeepAliveFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const KeepAliveFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
bool ack_;
|
|
::uint32_t seq_num_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> KeepAliveFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class DisconnectionFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.DisconnectionFrame) */ {
|
|
public:
|
|
inline DisconnectionFrame() : DisconnectionFrame(nullptr) {}
|
|
~DisconnectionFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(DisconnectionFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(DisconnectionFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR DisconnectionFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline DisconnectionFrame(const DisconnectionFrame& from) : DisconnectionFrame(nullptr, from) {}
|
|
inline DisconnectionFrame(DisconnectionFrame&& from) noexcept
|
|
: DisconnectionFrame(nullptr, ::std::move(from)) {}
|
|
inline DisconnectionFrame& operator=(const DisconnectionFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DisconnectionFrame& operator=(DisconnectionFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const DisconnectionFrame& default_instance() {
|
|
return *reinterpret_cast<const DisconnectionFrame*>(
|
|
&_DisconnectionFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 24;
|
|
friend void swap(DisconnectionFrame& a, DisconnectionFrame& b) { a.Swap(&b); }
|
|
inline void Swap(DisconnectionFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(DisconnectionFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
DisconnectionFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<DisconnectionFrame>(arena);
|
|
}
|
|
void CopyFrom(const DisconnectionFrame& from);
|
|
void MergeFrom(const DisconnectionFrame& from) { DisconnectionFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(DisconnectionFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.DisconnectionFrame"; }
|
|
|
|
explicit DisconnectionFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
DisconnectionFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DisconnectionFrame& from);
|
|
DisconnectionFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DisconnectionFrame&& from) noexcept
|
|
: DisconnectionFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kRequestSafeToDisconnectFieldNumber = 1,
|
|
kAckSafeToDisconnectFieldNumber = 2,
|
|
};
|
|
// optional bool request_safe_to_disconnect = 1;
|
|
bool has_request_safe_to_disconnect() const;
|
|
void clear_request_safe_to_disconnect() ;
|
|
bool request_safe_to_disconnect() const;
|
|
void set_request_safe_to_disconnect(bool value);
|
|
|
|
private:
|
|
bool _internal_request_safe_to_disconnect() const;
|
|
void _internal_set_request_safe_to_disconnect(bool value);
|
|
|
|
public:
|
|
// optional bool ack_safe_to_disconnect = 2;
|
|
bool has_ack_safe_to_disconnect() const;
|
|
void clear_ack_safe_to_disconnect() ;
|
|
bool ack_safe_to_disconnect() const;
|
|
void set_ack_safe_to_disconnect(bool value);
|
|
|
|
private:
|
|
bool _internal_ack_safe_to_disconnect() const;
|
|
void _internal_set_ack_safe_to_disconnect(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.DisconnectionFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const DisconnectionFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
bool request_safe_to_disconnect_;
|
|
bool ack_safe_to_disconnect_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<47> DisconnectionFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ConnectionsDevice final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.ConnectionsDevice) */ {
|
|
public:
|
|
inline ConnectionsDevice() : ConnectionsDevice(nullptr) {}
|
|
~ConnectionsDevice() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ConnectionsDevice* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ConnectionsDevice));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ConnectionsDevice(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ConnectionsDevice(const ConnectionsDevice& from) : ConnectionsDevice(nullptr, from) {}
|
|
inline ConnectionsDevice(ConnectionsDevice&& from) noexcept
|
|
: ConnectionsDevice(nullptr, ::std::move(from)) {}
|
|
inline ConnectionsDevice& operator=(const ConnectionsDevice& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ConnectionsDevice& operator=(ConnectionsDevice&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const ConnectionsDevice& default_instance() {
|
|
return *reinterpret_cast<const ConnectionsDevice*>(
|
|
&_ConnectionsDevice_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 40;
|
|
friend void swap(ConnectionsDevice& a, ConnectionsDevice& b) { a.Swap(&b); }
|
|
inline void Swap(ConnectionsDevice* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ConnectionsDevice* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ConnectionsDevice* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<ConnectionsDevice>(arena);
|
|
}
|
|
void CopyFrom(const ConnectionsDevice& from);
|
|
void MergeFrom(const ConnectionsDevice& from) { ConnectionsDevice::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ConnectionsDevice* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.ConnectionsDevice"; }
|
|
|
|
explicit ConnectionsDevice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ConnectionsDevice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ConnectionsDevice& from);
|
|
ConnectionsDevice(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ConnectionsDevice&& from) noexcept
|
|
: ConnectionsDevice(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kEndpointIdFieldNumber = 1,
|
|
kConnectivityInfoListFieldNumber = 3,
|
|
kEndpointInfoFieldNumber = 4,
|
|
kEndpointTypeFieldNumber = 2,
|
|
};
|
|
// optional string endpoint_id = 1;
|
|
bool has_endpoint_id() const;
|
|
void clear_endpoint_id() ;
|
|
const ::std::string& endpoint_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_endpoint_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_endpoint_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_id();
|
|
void set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_endpoint_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_id();
|
|
|
|
public:
|
|
// optional bytes connectivity_info_list = 3;
|
|
bool has_connectivity_info_list() const;
|
|
void clear_connectivity_info_list() ;
|
|
const ::std::string& connectivity_info_list() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_connectivity_info_list(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_connectivity_info_list();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_connectivity_info_list();
|
|
void set_allocated_connectivity_info_list(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_connectivity_info_list() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_connectivity_info_list(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_connectivity_info_list();
|
|
|
|
public:
|
|
// optional bytes endpoint_info = 4;
|
|
bool has_endpoint_info() const;
|
|
void clear_endpoint_info() ;
|
|
const ::std::string& endpoint_info() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_endpoint_info(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_endpoint_info();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_info();
|
|
void set_allocated_endpoint_info(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_endpoint_info() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_info(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_info();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.EndpointType endpoint_type = 2;
|
|
bool has_endpoint_type() const;
|
|
void clear_endpoint_type() ;
|
|
::location::nearby::connections::EndpointType endpoint_type() const;
|
|
void set_endpoint_type(::location::nearby::connections::EndpointType value);
|
|
|
|
private:
|
|
::location::nearby::connections::EndpointType _internal_endpoint_type() const;
|
|
void _internal_set_endpoint_type(::location::nearby::connections::EndpointType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.ConnectionsDevice)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 4,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ConnectionsDevice& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr endpoint_id_;
|
|
::google::protobuf::internal::ArenaStringPtr connectivity_info_list_;
|
|
::google::protobuf::internal::ArenaStringPtr endpoint_info_;
|
|
int endpoint_type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<46> ConnectionsDevice_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeRetryFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeRetryFrame) */ {
|
|
public:
|
|
inline BandwidthUpgradeRetryFrame() : BandwidthUpgradeRetryFrame(nullptr) {}
|
|
~BandwidthUpgradeRetryFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeRetryFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeRetryFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeRetryFrame(const BandwidthUpgradeRetryFrame& from) : BandwidthUpgradeRetryFrame(nullptr, from) {}
|
|
inline BandwidthUpgradeRetryFrame(BandwidthUpgradeRetryFrame&& from) noexcept
|
|
: BandwidthUpgradeRetryFrame(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeRetryFrame& operator=(const BandwidthUpgradeRetryFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeRetryFrame& operator=(BandwidthUpgradeRetryFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeRetryFrame& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeRetryFrame*>(
|
|
&_BandwidthUpgradeRetryFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 22;
|
|
friend void swap(BandwidthUpgradeRetryFrame& a, BandwidthUpgradeRetryFrame& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeRetryFrame>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeRetryFrame& from);
|
|
void MergeFrom(const BandwidthUpgradeRetryFrame& from) { BandwidthUpgradeRetryFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeRetryFrame"; }
|
|
|
|
explicit BandwidthUpgradeRetryFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeRetryFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeRetryFrame& from);
|
|
BandwidthUpgradeRetryFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeRetryFrame&& from) noexcept
|
|
: BandwidthUpgradeRetryFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using Medium = BandwidthUpgradeRetryFrame_Medium;
|
|
static constexpr Medium UNKNOWN_MEDIUM = BandwidthUpgradeRetryFrame_Medium_UNKNOWN_MEDIUM;
|
|
static constexpr Medium BLUETOOTH = BandwidthUpgradeRetryFrame_Medium_BLUETOOTH;
|
|
static constexpr Medium WIFI_HOTSPOT = BandwidthUpgradeRetryFrame_Medium_WIFI_HOTSPOT;
|
|
static constexpr Medium BLE = BandwidthUpgradeRetryFrame_Medium_BLE;
|
|
static constexpr Medium WIFI_LAN = BandwidthUpgradeRetryFrame_Medium_WIFI_LAN;
|
|
static constexpr Medium WIFI_AWARE = BandwidthUpgradeRetryFrame_Medium_WIFI_AWARE;
|
|
static constexpr Medium NFC = BandwidthUpgradeRetryFrame_Medium_NFC;
|
|
static constexpr Medium WIFI_DIRECT = BandwidthUpgradeRetryFrame_Medium_WIFI_DIRECT;
|
|
static constexpr Medium WEB_RTC = BandwidthUpgradeRetryFrame_Medium_WEB_RTC;
|
|
static constexpr Medium BLE_L2CAP = BandwidthUpgradeRetryFrame_Medium_BLE_L2CAP;
|
|
static constexpr Medium USB = BandwidthUpgradeRetryFrame_Medium_USB;
|
|
static constexpr Medium WEB_RTC_NON_CELLULAR = BandwidthUpgradeRetryFrame_Medium_WEB_RTC_NON_CELLULAR;
|
|
static constexpr Medium AWDL = BandwidthUpgradeRetryFrame_Medium_AWDL;
|
|
static inline bool Medium_IsValid(int value) {
|
|
return BandwidthUpgradeRetryFrame_Medium_IsValid(value);
|
|
}
|
|
static constexpr Medium Medium_MIN = BandwidthUpgradeRetryFrame_Medium_Medium_MIN;
|
|
static constexpr Medium Medium_MAX = BandwidthUpgradeRetryFrame_Medium_Medium_MAX;
|
|
static constexpr int Medium_ARRAYSIZE = BandwidthUpgradeRetryFrame_Medium_Medium_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& Medium_Name(T value) {
|
|
return BandwidthUpgradeRetryFrame_Medium_Name(value);
|
|
}
|
|
static inline bool Medium_Parse(
|
|
::absl::string_view name, Medium* PROTOBUF_NONNULL value) {
|
|
return BandwidthUpgradeRetryFrame_Medium_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSupportedMediumFieldNumber = 1,
|
|
kIsRequestFieldNumber = 2,
|
|
};
|
|
// repeated .location.nearby.connections.BandwidthUpgradeRetryFrame.Medium supported_medium = 1;
|
|
int supported_medium_size() const;
|
|
private:
|
|
int _internal_supported_medium_size() const;
|
|
|
|
public:
|
|
void clear_supported_medium() ;
|
|
public:
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium supported_medium(int index) const;
|
|
void set_supported_medium(int index, ::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium value);
|
|
void add_supported_medium(::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium value);
|
|
const ::google::protobuf::RepeatedField<int>& supported_medium() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_supported_medium();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<int>& _internal_supported_medium() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_supported_medium();
|
|
|
|
public:
|
|
// optional bool is_request = 2;
|
|
bool has_is_request() const;
|
|
void clear_is_request() ;
|
|
bool is_request() const;
|
|
void set_is_request(bool value);
|
|
|
|
private:
|
|
bool _internal_is_request() const;
|
|
void _internal_set_is_request(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeRetryFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeRetryFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<int> supported_medium_;
|
|
bool is_request_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<55> BandwidthUpgradeRetryFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 13;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSsidFieldNumber = 1,
|
|
kPasswordFieldNumber = 2,
|
|
kGatewayFieldNumber = 5,
|
|
kIpV6AddressFieldNumber = 6,
|
|
kServiceNameFieldNumber = 7,
|
|
kPinFieldNumber = 8,
|
|
kDeviceNameFieldNumber = 9,
|
|
kPortFieldNumber = 3,
|
|
kFrequencyFieldNumber = 4,
|
|
};
|
|
// optional string ssid = 1;
|
|
bool has_ssid() const;
|
|
void clear_ssid() ;
|
|
const ::std::string& ssid() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_ssid(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_ssid();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ssid();
|
|
void set_allocated_ssid(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_ssid() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_ssid(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_ssid();
|
|
|
|
public:
|
|
// optional string password = 2;
|
|
bool has_password() const;
|
|
void clear_password() ;
|
|
const ::std::string& password() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_password(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_password();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_password();
|
|
void set_allocated_password(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_password() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_password(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_password();
|
|
|
|
public:
|
|
// optional string gateway = 5 [default = "0.0.0.0"];
|
|
bool has_gateway() const;
|
|
void clear_gateway() ;
|
|
const ::std::string& gateway() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_gateway(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_gateway();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_gateway();
|
|
void set_allocated_gateway(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_gateway() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_gateway(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_gateway();
|
|
|
|
public:
|
|
// optional bytes ip_v6_address = 6;
|
|
bool has_ip_v6_address() const;
|
|
void clear_ip_v6_address() ;
|
|
const ::std::string& ip_v6_address() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_ip_v6_address(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_ip_v6_address();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ip_v6_address();
|
|
void set_allocated_ip_v6_address(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_ip_v6_address() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_ip_v6_address(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_ip_v6_address();
|
|
|
|
public:
|
|
// optional string service_name = 7 [deprecated = true];
|
|
[[deprecated]] bool has_service_name() const;
|
|
[[deprecated]] void clear_service_name() ;
|
|
[[deprecated]] const ::std::string& service_name() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
[[deprecated]] void set_service_name(Arg_&& arg, Args_... args);
|
|
[[deprecated]] ::std::string* PROTOBUF_NONNULL mutable_service_name();
|
|
[[deprecated]] [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_name();
|
|
[[deprecated]] void set_allocated_service_name(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_name() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_name(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_name();
|
|
|
|
public:
|
|
// optional string pin = 8;
|
|
bool has_pin() const;
|
|
void clear_pin() ;
|
|
const ::std::string& pin() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_pin(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_pin();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_pin();
|
|
void set_allocated_pin(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_pin() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_pin(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_pin();
|
|
|
|
public:
|
|
// optional string device_name = 9;
|
|
bool has_device_name() const;
|
|
void clear_device_name() ;
|
|
const ::std::string& device_name() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_device_name(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_device_name();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_device_name();
|
|
void set_allocated_device_name(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_device_name() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_device_name(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_device_name();
|
|
|
|
public:
|
|
// optional int32 port = 3;
|
|
bool has_port() const;
|
|
void clear_port() ;
|
|
::int32_t port() const;
|
|
void set_port(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_port() const;
|
|
void _internal_set_port(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 frequency = 4;
|
|
bool has_frequency() const;
|
|
void clear_frequency() ;
|
|
::int32_t frequency() const;
|
|
void set_frequency(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_frequency() const;
|
|
void _internal_set_frequency(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 9,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr ssid_;
|
|
::google::protobuf::internal::ArenaStringPtr password_;
|
|
static const ::google::protobuf::internal::LazyString _i_give_permission_to_break_this_code_default_gateway_;
|
|
::google::protobuf::internal::ArenaStringPtr gateway_;
|
|
::google::protobuf::internal::ArenaStringPtr ip_v6_address_;
|
|
::google::protobuf::internal::ArenaStringPtr service_name_;
|
|
::google::protobuf::internal::ArenaStringPtr pin_;
|
|
::google::protobuf::internal::ArenaStringPtr device_name_;
|
|
::int32_t port_;
|
|
::int32_t frequency_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<99> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 12;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kServiceIdFieldNumber = 1,
|
|
kServiceInfoFieldNumber = 2,
|
|
kPasswordFieldNumber = 3,
|
|
};
|
|
// optional string service_id = 1;
|
|
bool has_service_id() const;
|
|
void clear_service_id() ;
|
|
const ::std::string& service_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_id();
|
|
void set_allocated_service_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_id();
|
|
|
|
public:
|
|
// optional bytes service_info = 2;
|
|
bool has_service_info() const;
|
|
void clear_service_info() ;
|
|
const ::std::string& service_info() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_info(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_info();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_info();
|
|
void set_allocated_service_info(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_info() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_info(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_info();
|
|
|
|
public:
|
|
// optional string password = 3;
|
|
bool has_password() const;
|
|
void clear_password() ;
|
|
const ::std::string& password() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_password(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_password();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_password();
|
|
void set_allocated_password(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_password() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_password(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_password();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr service_id_;
|
|
::google::protobuf::internal::ArenaStringPtr service_info_;
|
|
::google::protobuf::internal::ArenaStringPtr password_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<98> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 11;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kServiceNameFieldNumber = 1,
|
|
kMacAddressFieldNumber = 2,
|
|
};
|
|
// optional string service_name = 1;
|
|
bool has_service_name() const;
|
|
void clear_service_name() ;
|
|
const ::std::string& service_name() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_name(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_name();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_name();
|
|
void set_allocated_service_name(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_name() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_name(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_name();
|
|
|
|
public:
|
|
// optional string mac_address = 2;
|
|
bool has_mac_address() const;
|
|
void clear_mac_address() ;
|
|
const ::std::string& mac_address() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_mac_address(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_mac_address();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_mac_address();
|
|
void set_allocated_mac_address(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_mac_address() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_mac_address(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_mac_address();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr service_name_;
|
|
::google::protobuf::internal::ArenaStringPtr mac_address_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<98> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 15;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kServiceNameFieldNumber = 1,
|
|
kServiceTypeFieldNumber = 2,
|
|
kPasswordFieldNumber = 3,
|
|
};
|
|
// optional string service_name = 1;
|
|
bool has_service_name() const;
|
|
void clear_service_name() ;
|
|
const ::std::string& service_name() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_name(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_name();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_name();
|
|
void set_allocated_service_name(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_name() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_name(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_name();
|
|
|
|
public:
|
|
// optional string service_type = 2;
|
|
bool has_service_type() const;
|
|
void clear_service_type() ;
|
|
const ::std::string& service_type() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_type(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_type();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_type();
|
|
void set_allocated_service_type(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_type() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_type(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_type();
|
|
|
|
public:
|
|
// optional string password = 3;
|
|
bool has_password() const;
|
|
void clear_password() ;
|
|
const ::std::string& password() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_password(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_password();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_password();
|
|
void set_allocated_password(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_password() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_password(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_password();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr service_name_;
|
|
::google::protobuf::internal::ArenaStringPtr service_type_;
|
|
::google::protobuf::internal::ArenaStringPtr password_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<93> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel() : BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from) : BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& operator=(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& operator=(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel*>(
|
|
&_BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 18;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& a, BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from) { BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from);
|
|
BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kStaFrequencyFieldNumber = 1,
|
|
};
|
|
// optional int32 sta_frequency = 1;
|
|
bool has_sta_frequency() const;
|
|
void clear_sta_frequency() ;
|
|
::int32_t sta_frequency() const;
|
|
void set_sta_frequency(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_sta_frequency() const;
|
|
void _internal_set_sta_frequency(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::int32_t sta_frequency_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<85> BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_ClientIntroductionAck final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroductionAck) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroductionAck() : BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_ClientIntroductionAck() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(const BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& from) : BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& operator=(const BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& operator=(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_ClientIntroductionAck*>(
|
|
&_BandwidthUpgradeNegotiationFrame_ClientIntroductionAck_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 20;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& a, BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_ClientIntroductionAck>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& from) { BandwidthUpgradeNegotiationFrame_ClientIntroductionAck::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroductionAck"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& from);
|
|
BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_ClientIntroductionAck&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_ClientIntroductionAck(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroductionAck)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 0,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& from_msg);
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<83> BandwidthUpgradeNegotiationFrame_ClientIntroductionAck_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_ClientIntroduction final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroduction() : BandwidthUpgradeNegotiationFrame_ClientIntroduction(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_ClientIntroduction() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_ClientIntroduction));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_ClientIntroduction(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroduction(const BandwidthUpgradeNegotiationFrame_ClientIntroduction& from) : BandwidthUpgradeNegotiationFrame_ClientIntroduction(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroduction(BandwidthUpgradeNegotiationFrame_ClientIntroduction&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_ClientIntroduction(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroduction& operator=(const BandwidthUpgradeNegotiationFrame_ClientIntroduction& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_ClientIntroduction& operator=(BandwidthUpgradeNegotiationFrame_ClientIntroduction&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_ClientIntroduction& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_ClientIntroduction*>(
|
|
&_BandwidthUpgradeNegotiationFrame_ClientIntroduction_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 19;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_ClientIntroduction& a, BandwidthUpgradeNegotiationFrame_ClientIntroduction& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_ClientIntroduction>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_ClientIntroduction& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_ClientIntroduction& from) { BandwidthUpgradeNegotiationFrame_ClientIntroduction::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_ClientIntroduction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_ClientIntroduction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_ClientIntroduction& from);
|
|
BandwidthUpgradeNegotiationFrame_ClientIntroduction(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_ClientIntroduction&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_ClientIntroduction(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kEndpointIdFieldNumber = 1,
|
|
kLastEndpointIdFieldNumber = 3,
|
|
kSupportsDisablingEncryptionFieldNumber = 2,
|
|
};
|
|
// optional string endpoint_id = 1;
|
|
bool has_endpoint_id() const;
|
|
void clear_endpoint_id() ;
|
|
const ::std::string& endpoint_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_endpoint_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_endpoint_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_id();
|
|
void set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_endpoint_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_id();
|
|
|
|
public:
|
|
// optional string last_endpoint_id = 3;
|
|
bool has_last_endpoint_id() const;
|
|
void clear_last_endpoint_id() ;
|
|
const ::std::string& last_endpoint_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_last_endpoint_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_last_endpoint_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_last_endpoint_id();
|
|
void set_allocated_last_endpoint_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_last_endpoint_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_last_endpoint_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_last_endpoint_id();
|
|
|
|
public:
|
|
// optional bool supports_disabling_encryption = 2;
|
|
bool has_supports_disabling_encryption() const;
|
|
void clear_supports_disabling_encryption() ;
|
|
bool supports_disabling_encryption() const;
|
|
void set_supports_disabling_encryption(bool value);
|
|
|
|
private:
|
|
bool _internal_supports_disabling_encryption() const;
|
|
void _internal_set_supports_disabling_encryption(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_ClientIntroduction& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr endpoint_id_;
|
|
::google::protobuf::internal::ArenaStringPtr last_endpoint_id_;
|
|
bool supports_disabling_encryption_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<80> BandwidthUpgradeNegotiationFrame_ClientIntroduction_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class AvailableChannels final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.AvailableChannels) */ {
|
|
public:
|
|
inline AvailableChannels() : AvailableChannels(nullptr) {}
|
|
~AvailableChannels() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(AvailableChannels* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(AvailableChannels));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR AvailableChannels(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline AvailableChannels(const AvailableChannels& from) : AvailableChannels(nullptr, from) {}
|
|
inline AvailableChannels(AvailableChannels&& from) noexcept
|
|
: AvailableChannels(nullptr, ::std::move(from)) {}
|
|
inline AvailableChannels& operator=(const AvailableChannels& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline AvailableChannels& operator=(AvailableChannels&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const AvailableChannels& default_instance() {
|
|
return *reinterpret_cast<const AvailableChannels*>(
|
|
&_AvailableChannels_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 31;
|
|
friend void swap(AvailableChannels& a, AvailableChannels& b) { a.Swap(&b); }
|
|
inline void Swap(AvailableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(AvailableChannels* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
AvailableChannels* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<AvailableChannels>(arena);
|
|
}
|
|
void CopyFrom(const AvailableChannels& from);
|
|
void MergeFrom(const AvailableChannels& from) { AvailableChannels::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(AvailableChannels* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.AvailableChannels"; }
|
|
|
|
explicit AvailableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
AvailableChannels(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AvailableChannels& from);
|
|
AvailableChannels(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AvailableChannels&& from) noexcept
|
|
: AvailableChannels(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kChannelsFieldNumber = 1,
|
|
};
|
|
// repeated int32 channels = 1 [packed = true];
|
|
int channels_size() const;
|
|
private:
|
|
int _internal_channels_size() const;
|
|
|
|
public:
|
|
void clear_channels() ;
|
|
::int32_t channels(int index) const;
|
|
void set_channels(int index, ::int32_t value);
|
|
void add_channels(::int32_t value);
|
|
const ::google::protobuf::RepeatedField<::int32_t>& channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_channels();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<::int32_t>& _internal_channels() const;
|
|
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_channels();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.AvailableChannels)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const AvailableChannels& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<::int32_t> channels_;
|
|
::google::protobuf::internal::CachedSize _channels_cached_byte_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<46> AvailableChannels_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class AutoResumeFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.AutoResumeFrame) */ {
|
|
public:
|
|
inline AutoResumeFrame() : AutoResumeFrame(nullptr) {}
|
|
~AutoResumeFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(AutoResumeFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(AutoResumeFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR AutoResumeFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline AutoResumeFrame(const AutoResumeFrame& from) : AutoResumeFrame(nullptr, from) {}
|
|
inline AutoResumeFrame(AutoResumeFrame&& from) noexcept
|
|
: AutoResumeFrame(nullptr, ::std::move(from)) {}
|
|
inline AutoResumeFrame& operator=(const AutoResumeFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline AutoResumeFrame& operator=(AutoResumeFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const AutoResumeFrame& default_instance() {
|
|
return *reinterpret_cast<const AutoResumeFrame*>(
|
|
&_AutoResumeFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 28;
|
|
friend void swap(AutoResumeFrame& a, AutoResumeFrame& b) { a.Swap(&b); }
|
|
inline void Swap(AutoResumeFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(AutoResumeFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
AutoResumeFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<AutoResumeFrame>(arena);
|
|
}
|
|
void CopyFrom(const AutoResumeFrame& from);
|
|
void MergeFrom(const AutoResumeFrame& from) { AutoResumeFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(AutoResumeFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.AutoResumeFrame"; }
|
|
|
|
explicit AutoResumeFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
AutoResumeFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AutoResumeFrame& from);
|
|
AutoResumeFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AutoResumeFrame&& from) noexcept
|
|
: AutoResumeFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using EventType = AutoResumeFrame_EventType;
|
|
static constexpr EventType UNKNOWN_AUTO_RESUME_EVENT_TYPE = AutoResumeFrame_EventType_UNKNOWN_AUTO_RESUME_EVENT_TYPE;
|
|
static constexpr EventType PAYLOAD_RESUME_TRANSFER_START = AutoResumeFrame_EventType_PAYLOAD_RESUME_TRANSFER_START;
|
|
static constexpr EventType PAYLOAD_RESUME_TRANSFER_ACK = AutoResumeFrame_EventType_PAYLOAD_RESUME_TRANSFER_ACK;
|
|
static inline bool EventType_IsValid(int value) {
|
|
return AutoResumeFrame_EventType_IsValid(value);
|
|
}
|
|
static constexpr EventType EventType_MIN = AutoResumeFrame_EventType_EventType_MIN;
|
|
static constexpr EventType EventType_MAX = AutoResumeFrame_EventType_EventType_MAX;
|
|
static constexpr int EventType_ARRAYSIZE = AutoResumeFrame_EventType_EventType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& EventType_Name(T value) {
|
|
return AutoResumeFrame_EventType_Name(value);
|
|
}
|
|
static inline bool EventType_Parse(
|
|
::absl::string_view name, EventType* PROTOBUF_NONNULL value) {
|
|
return AutoResumeFrame_EventType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPendingPayloadIdFieldNumber = 2,
|
|
kEventTypeFieldNumber = 1,
|
|
kNextPayloadChunkIndexFieldNumber = 3,
|
|
kVersionFieldNumber = 4,
|
|
};
|
|
// optional int64 pending_payload_id = 2;
|
|
bool has_pending_payload_id() const;
|
|
void clear_pending_payload_id() ;
|
|
::int64_t pending_payload_id() const;
|
|
void set_pending_payload_id(::int64_t value);
|
|
|
|
private:
|
|
::int64_t _internal_pending_payload_id() const;
|
|
void _internal_set_pending_payload_id(::int64_t value);
|
|
|
|
public:
|
|
// optional .location.nearby.connections.AutoResumeFrame.EventType event_type = 1;
|
|
bool has_event_type() const;
|
|
void clear_event_type() ;
|
|
::location::nearby::connections::AutoResumeFrame_EventType event_type() const;
|
|
void set_event_type(::location::nearby::connections::AutoResumeFrame_EventType value);
|
|
|
|
private:
|
|
::location::nearby::connections::AutoResumeFrame_EventType _internal_event_type() const;
|
|
void _internal_set_event_type(::location::nearby::connections::AutoResumeFrame_EventType value);
|
|
|
|
public:
|
|
// optional int32 next_payload_chunk_index = 3;
|
|
bool has_next_payload_chunk_index() const;
|
|
void clear_next_payload_chunk_index() ;
|
|
::int32_t next_payload_chunk_index() const;
|
|
void set_next_payload_chunk_index(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_next_payload_chunk_index() const;
|
|
void _internal_set_next_payload_chunk_index(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 version = 4;
|
|
bool has_version() const;
|
|
void clear_version() ;
|
|
::int32_t version() const;
|
|
void set_version(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_version() const;
|
|
void _internal_set_version(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.AutoResumeFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 4,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const AutoResumeFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::int64_t pending_payload_id_;
|
|
int event_type_;
|
|
::int32_t next_payload_chunk_index_;
|
|
::int32_t version_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<44> AutoResumeFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class AutoReconnectFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.AutoReconnectFrame) */ {
|
|
public:
|
|
inline AutoReconnectFrame() : AutoReconnectFrame(nullptr) {}
|
|
~AutoReconnectFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(AutoReconnectFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(AutoReconnectFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR AutoReconnectFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline AutoReconnectFrame(const AutoReconnectFrame& from) : AutoReconnectFrame(nullptr, from) {}
|
|
inline AutoReconnectFrame(AutoReconnectFrame&& from) noexcept
|
|
: AutoReconnectFrame(nullptr, ::std::move(from)) {}
|
|
inline AutoReconnectFrame& operator=(const AutoReconnectFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline AutoReconnectFrame& operator=(AutoReconnectFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const AutoReconnectFrame& default_instance() {
|
|
return *reinterpret_cast<const AutoReconnectFrame*>(
|
|
&_AutoReconnectFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 29;
|
|
friend void swap(AutoReconnectFrame& a, AutoReconnectFrame& b) { a.Swap(&b); }
|
|
inline void Swap(AutoReconnectFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(AutoReconnectFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
AutoReconnectFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<AutoReconnectFrame>(arena);
|
|
}
|
|
void CopyFrom(const AutoReconnectFrame& from);
|
|
void MergeFrom(const AutoReconnectFrame& from) { AutoReconnectFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(AutoReconnectFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.AutoReconnectFrame"; }
|
|
|
|
explicit AutoReconnectFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
AutoReconnectFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AutoReconnectFrame& from);
|
|
AutoReconnectFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AutoReconnectFrame&& from) noexcept
|
|
: AutoReconnectFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using EventType = AutoReconnectFrame_EventType;
|
|
static constexpr EventType UNKNOWN_EVENT_TYPE = AutoReconnectFrame_EventType_UNKNOWN_EVENT_TYPE;
|
|
static constexpr EventType CLIENT_INTRODUCTION = AutoReconnectFrame_EventType_CLIENT_INTRODUCTION;
|
|
static constexpr EventType CLIENT_INTRODUCTION_ACK = AutoReconnectFrame_EventType_CLIENT_INTRODUCTION_ACK;
|
|
static inline bool EventType_IsValid(int value) {
|
|
return AutoReconnectFrame_EventType_IsValid(value);
|
|
}
|
|
static constexpr EventType EventType_MIN = AutoReconnectFrame_EventType_EventType_MIN;
|
|
static constexpr EventType EventType_MAX = AutoReconnectFrame_EventType_EventType_MAX;
|
|
static constexpr int EventType_ARRAYSIZE = AutoReconnectFrame_EventType_EventType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& EventType_Name(T value) {
|
|
return AutoReconnectFrame_EventType_Name(value);
|
|
}
|
|
static inline bool EventType_Parse(
|
|
::absl::string_view name, EventType* PROTOBUF_NONNULL value) {
|
|
return AutoReconnectFrame_EventType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kEndpointIdFieldNumber = 1,
|
|
kLastEndpointIdFieldNumber = 3,
|
|
kEventTypeFieldNumber = 2,
|
|
};
|
|
// optional string endpoint_id = 1;
|
|
bool has_endpoint_id() const;
|
|
void clear_endpoint_id() ;
|
|
const ::std::string& endpoint_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_endpoint_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_endpoint_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_id();
|
|
void set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_endpoint_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_id();
|
|
|
|
public:
|
|
// optional string last_endpoint_id = 3;
|
|
bool has_last_endpoint_id() const;
|
|
void clear_last_endpoint_id() ;
|
|
const ::std::string& last_endpoint_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_last_endpoint_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_last_endpoint_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_last_endpoint_id();
|
|
void set_allocated_last_endpoint_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_last_endpoint_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_last_endpoint_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_last_endpoint_id();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.AutoReconnectFrame.EventType event_type = 2;
|
|
bool has_event_type() const;
|
|
void clear_event_type() ;
|
|
::location::nearby::connections::AutoReconnectFrame_EventType event_type() const;
|
|
void set_event_type(::location::nearby::connections::AutoReconnectFrame_EventType value);
|
|
|
|
private:
|
|
::location::nearby::connections::AutoReconnectFrame_EventType _internal_event_type() const;
|
|
void _internal_set_event_type(::location::nearby::connections::AutoReconnectFrame_EventType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.AutoReconnectFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const AutoReconnectFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr endpoint_id_;
|
|
::google::protobuf::internal::ArenaStringPtr last_endpoint_id_;
|
|
int event_type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<47> AutoReconnectFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class AuthenticationResultFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.AuthenticationResultFrame) */ {
|
|
public:
|
|
inline AuthenticationResultFrame() : AuthenticationResultFrame(nullptr) {}
|
|
~AuthenticationResultFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(AuthenticationResultFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(AuthenticationResultFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR AuthenticationResultFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline AuthenticationResultFrame(const AuthenticationResultFrame& from) : AuthenticationResultFrame(nullptr, from) {}
|
|
inline AuthenticationResultFrame(AuthenticationResultFrame&& from) noexcept
|
|
: AuthenticationResultFrame(nullptr, ::std::move(from)) {}
|
|
inline AuthenticationResultFrame& operator=(const AuthenticationResultFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline AuthenticationResultFrame& operator=(AuthenticationResultFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const AuthenticationResultFrame& default_instance() {
|
|
return *reinterpret_cast<const AuthenticationResultFrame*>(
|
|
&_AuthenticationResultFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 27;
|
|
friend void swap(AuthenticationResultFrame& a, AuthenticationResultFrame& b) { a.Swap(&b); }
|
|
inline void Swap(AuthenticationResultFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(AuthenticationResultFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
AuthenticationResultFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<AuthenticationResultFrame>(arena);
|
|
}
|
|
void CopyFrom(const AuthenticationResultFrame& from);
|
|
void MergeFrom(const AuthenticationResultFrame& from) { AuthenticationResultFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(AuthenticationResultFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.AuthenticationResultFrame"; }
|
|
|
|
explicit AuthenticationResultFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
AuthenticationResultFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AuthenticationResultFrame& from);
|
|
AuthenticationResultFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AuthenticationResultFrame&& from) noexcept
|
|
: AuthenticationResultFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kResultFieldNumber = 1,
|
|
};
|
|
// optional int32 result = 1;
|
|
bool has_result() const;
|
|
void clear_result() ;
|
|
::int32_t result() const;
|
|
void set_result(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_result() const;
|
|
void _internal_set_result(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.AuthenticationResultFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const AuthenticationResultFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::int32_t result_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<54> AuthenticationResultFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class AuthenticationMessageFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.AuthenticationMessageFrame) */ {
|
|
public:
|
|
inline AuthenticationMessageFrame() : AuthenticationMessageFrame(nullptr) {}
|
|
~AuthenticationMessageFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(AuthenticationMessageFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(AuthenticationMessageFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR AuthenticationMessageFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline AuthenticationMessageFrame(const AuthenticationMessageFrame& from) : AuthenticationMessageFrame(nullptr, from) {}
|
|
inline AuthenticationMessageFrame(AuthenticationMessageFrame&& from) noexcept
|
|
: AuthenticationMessageFrame(nullptr, ::std::move(from)) {}
|
|
inline AuthenticationMessageFrame& operator=(const AuthenticationMessageFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline AuthenticationMessageFrame& operator=(AuthenticationMessageFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const AuthenticationMessageFrame& default_instance() {
|
|
return *reinterpret_cast<const AuthenticationMessageFrame*>(
|
|
&_AuthenticationMessageFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 26;
|
|
friend void swap(AuthenticationMessageFrame& a, AuthenticationMessageFrame& b) { a.Swap(&b); }
|
|
inline void Swap(AuthenticationMessageFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(AuthenticationMessageFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
AuthenticationMessageFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<AuthenticationMessageFrame>(arena);
|
|
}
|
|
void CopyFrom(const AuthenticationMessageFrame& from);
|
|
void MergeFrom(const AuthenticationMessageFrame& from) { AuthenticationMessageFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(AuthenticationMessageFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.AuthenticationMessageFrame"; }
|
|
|
|
explicit AuthenticationMessageFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
AuthenticationMessageFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AuthenticationMessageFrame& from);
|
|
AuthenticationMessageFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AuthenticationMessageFrame&& from) noexcept
|
|
: AuthenticationMessageFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAuthMessageFieldNumber = 1,
|
|
};
|
|
// optional bytes auth_message = 1;
|
|
bool has_auth_message() const;
|
|
void clear_auth_message() ;
|
|
const ::std::string& auth_message() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_auth_message(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_auth_message();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_auth_message();
|
|
void set_allocated_auth_message(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_auth_message() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_auth_message(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_auth_message();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.AuthenticationMessageFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const AuthenticationMessageFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr auth_message_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<55> AuthenticationMessageFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class PayloadTransferFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.PayloadTransferFrame) */ {
|
|
public:
|
|
inline PayloadTransferFrame() : PayloadTransferFrame(nullptr) {}
|
|
~PayloadTransferFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PayloadTransferFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PayloadTransferFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PayloadTransferFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PayloadTransferFrame(const PayloadTransferFrame& from) : PayloadTransferFrame(nullptr, from) {}
|
|
inline PayloadTransferFrame(PayloadTransferFrame&& from) noexcept
|
|
: PayloadTransferFrame(nullptr, ::std::move(from)) {}
|
|
inline PayloadTransferFrame& operator=(const PayloadTransferFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PayloadTransferFrame& operator=(PayloadTransferFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const PayloadTransferFrame& default_instance() {
|
|
return *reinterpret_cast<const PayloadTransferFrame*>(
|
|
&_PayloadTransferFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 7;
|
|
friend void swap(PayloadTransferFrame& a, PayloadTransferFrame& b) { a.Swap(&b); }
|
|
inline void Swap(PayloadTransferFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(PayloadTransferFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PayloadTransferFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<PayloadTransferFrame>(arena);
|
|
}
|
|
void CopyFrom(const PayloadTransferFrame& from);
|
|
void MergeFrom(const PayloadTransferFrame& from) { PayloadTransferFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(PayloadTransferFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.PayloadTransferFrame"; }
|
|
|
|
explicit PayloadTransferFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PayloadTransferFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PayloadTransferFrame& from);
|
|
PayloadTransferFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PayloadTransferFrame&& from) noexcept
|
|
: PayloadTransferFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using PayloadHeader = PayloadTransferFrame_PayloadHeader;
|
|
using PayloadChunk = PayloadTransferFrame_PayloadChunk;
|
|
using ControlMessage = PayloadTransferFrame_ControlMessage;
|
|
using PacketType = PayloadTransferFrame_PacketType;
|
|
static constexpr PacketType UNKNOWN_PACKET_TYPE = PayloadTransferFrame_PacketType_UNKNOWN_PACKET_TYPE;
|
|
static constexpr PacketType DATA = PayloadTransferFrame_PacketType_DATA;
|
|
static constexpr PacketType CONTROL = PayloadTransferFrame_PacketType_CONTROL;
|
|
static constexpr PacketType PAYLOAD_ACK = PayloadTransferFrame_PacketType_PAYLOAD_ACK;
|
|
static inline bool PacketType_IsValid(int value) {
|
|
return PayloadTransferFrame_PacketType_IsValid(value);
|
|
}
|
|
static constexpr PacketType PacketType_MIN = PayloadTransferFrame_PacketType_PacketType_MIN;
|
|
static constexpr PacketType PacketType_MAX = PayloadTransferFrame_PacketType_PacketType_MAX;
|
|
static constexpr int PacketType_ARRAYSIZE = PayloadTransferFrame_PacketType_PacketType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& PacketType_Name(T value) {
|
|
return PayloadTransferFrame_PacketType_Name(value);
|
|
}
|
|
static inline bool PacketType_Parse(
|
|
::absl::string_view name, PacketType* PROTOBUF_NONNULL value) {
|
|
return PayloadTransferFrame_PacketType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPayloadHeaderFieldNumber = 2,
|
|
kPayloadChunkFieldNumber = 3,
|
|
kControlMessageFieldNumber = 4,
|
|
kPacketTypeFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.connections.PayloadTransferFrame.PayloadHeader payload_header = 2;
|
|
bool has_payload_header() const;
|
|
void clear_payload_header() ;
|
|
const ::location::nearby::connections::PayloadTransferFrame_PayloadHeader& payload_header() const;
|
|
[[nodiscard]] ::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE release_payload_header();
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL mutable_payload_header();
|
|
void set_allocated_payload_header(::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_payload_header(::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE unsafe_arena_release_payload_header();
|
|
|
|
private:
|
|
const ::location::nearby::connections::PayloadTransferFrame_PayloadHeader& _internal_payload_header() const;
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL _internal_mutable_payload_header();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.PayloadTransferFrame.PayloadChunk payload_chunk = 3;
|
|
bool has_payload_chunk() const;
|
|
void clear_payload_chunk() ;
|
|
const ::location::nearby::connections::PayloadTransferFrame_PayloadChunk& payload_chunk() const;
|
|
[[nodiscard]] ::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE release_payload_chunk();
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL mutable_payload_chunk();
|
|
void set_allocated_payload_chunk(::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_payload_chunk(::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE unsafe_arena_release_payload_chunk();
|
|
|
|
private:
|
|
const ::location::nearby::connections::PayloadTransferFrame_PayloadChunk& _internal_payload_chunk() const;
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL _internal_mutable_payload_chunk();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.PayloadTransferFrame.ControlMessage control_message = 4;
|
|
bool has_control_message() const;
|
|
void clear_control_message() ;
|
|
const ::location::nearby::connections::PayloadTransferFrame_ControlMessage& control_message() const;
|
|
[[nodiscard]] ::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE release_control_message();
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL mutable_control_message();
|
|
void set_allocated_control_message(::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_control_message(::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE unsafe_arena_release_control_message();
|
|
|
|
private:
|
|
const ::location::nearby::connections::PayloadTransferFrame_ControlMessage& _internal_control_message() const;
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL _internal_mutable_control_message();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.PayloadTransferFrame.PacketType packet_type = 1;
|
|
bool has_packet_type() const;
|
|
void clear_packet_type() ;
|
|
::location::nearby::connections::PayloadTransferFrame_PacketType packet_type() const;
|
|
void set_packet_type(::location::nearby::connections::PayloadTransferFrame_PacketType value);
|
|
|
|
private:
|
|
::location::nearby::connections::PayloadTransferFrame_PacketType _internal_packet_type() const;
|
|
void _internal_set_packet_type(::location::nearby::connections::PayloadTransferFrame_PacketType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.PayloadTransferFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 4,
|
|
4, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const PayloadTransferFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE payload_header_;
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE payload_chunk_;
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE control_message_;
|
|
int packet_type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<49> PayloadTransferFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MediumMetadata final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.MediumMetadata) */ {
|
|
public:
|
|
inline MediumMetadata() : MediumMetadata(nullptr) {}
|
|
~MediumMetadata() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MediumMetadata* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MediumMetadata));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MediumMetadata(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MediumMetadata(const MediumMetadata& from) : MediumMetadata(nullptr, from) {}
|
|
inline MediumMetadata(MediumMetadata&& from) noexcept
|
|
: MediumMetadata(nullptr, ::std::move(from)) {}
|
|
inline MediumMetadata& operator=(const MediumMetadata& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MediumMetadata& operator=(MediumMetadata&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const MediumMetadata& default_instance() {
|
|
return *reinterpret_cast<const MediumMetadata*>(
|
|
&_MediumMetadata_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 30;
|
|
friend void swap(MediumMetadata& a, MediumMetadata& b) { a.Swap(&b); }
|
|
inline void Swap(MediumMetadata* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(MediumMetadata* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MediumMetadata* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<MediumMetadata>(arena);
|
|
}
|
|
void CopyFrom(const MediumMetadata& from);
|
|
void MergeFrom(const MediumMetadata& from) { MediumMetadata::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(MediumMetadata* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.MediumMetadata"; }
|
|
|
|
explicit MediumMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MediumMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MediumMetadata& from);
|
|
MediumMetadata(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MediumMetadata&& from) noexcept
|
|
: MediumMetadata(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using WifiDirectAuthType = MediumMetadata_WifiDirectAuthType;
|
|
static constexpr WifiDirectAuthType WIFI_DIRECT_TYPE_UNKNOWN = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_TYPE_UNKNOWN;
|
|
static constexpr WifiDirectAuthType WIFI_DIRECT_WITH_PASSWORD = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PASSWORD;
|
|
[[deprecated]] static constexpr WifiDirectAuthType WIFI_DIRECT_WITH_PIN = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PIN;
|
|
static constexpr WifiDirectAuthType WIFI_DIRECT_WITH_DEVICE_NAME = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_DEVICE_NAME;
|
|
static inline bool WifiDirectAuthType_IsValid(int value) {
|
|
return MediumMetadata_WifiDirectAuthType_IsValid(value);
|
|
}
|
|
static constexpr WifiDirectAuthType WifiDirectAuthType_MIN = MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_MIN;
|
|
static constexpr WifiDirectAuthType WifiDirectAuthType_MAX = MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_MAX;
|
|
static constexpr int WifiDirectAuthType_ARRAYSIZE = MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& WifiDirectAuthType_Name(T value) {
|
|
return MediumMetadata_WifiDirectAuthType_Name(value);
|
|
}
|
|
static inline bool WifiDirectAuthType_Parse(
|
|
::absl::string_view name, WifiDirectAuthType* PROTOBUF_NONNULL value) {
|
|
return MediumMetadata_WifiDirectAuthType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSupportedWifiDirectAuthTypesFieldNumber = 13,
|
|
kBssidFieldNumber = 2,
|
|
kIpAddressFieldNumber = 3,
|
|
kAvailableChannelsFieldNumber = 7,
|
|
kWifiDirectCliUsableChannelsFieldNumber = 8,
|
|
kWifiLanUsableChannelsFieldNumber = 9,
|
|
kWifiAwareUsableChannelsFieldNumber = 10,
|
|
kWifiHotspotStaUsableChannelsFieldNumber = 11,
|
|
kMediumRoleFieldNumber = 12,
|
|
kSupports5GhzFieldNumber = 1,
|
|
kSupports6GhzFieldNumber = 4,
|
|
kMobileRadioFieldNumber = 5,
|
|
kApFrequencyFieldNumber = 6,
|
|
};
|
|
// repeated .location.nearby.connections.MediumMetadata.WifiDirectAuthType supported_wifi_direct_auth_types = 13 [packed = true];
|
|
int supported_wifi_direct_auth_types_size() const;
|
|
private:
|
|
int _internal_supported_wifi_direct_auth_types_size() const;
|
|
|
|
public:
|
|
void clear_supported_wifi_direct_auth_types() ;
|
|
public:
|
|
::location::nearby::connections::MediumMetadata_WifiDirectAuthType supported_wifi_direct_auth_types(int index) const;
|
|
void set_supported_wifi_direct_auth_types(int index, ::location::nearby::connections::MediumMetadata_WifiDirectAuthType value);
|
|
void add_supported_wifi_direct_auth_types(::location::nearby::connections::MediumMetadata_WifiDirectAuthType value);
|
|
const ::google::protobuf::RepeatedField<int>& supported_wifi_direct_auth_types() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_supported_wifi_direct_auth_types();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<int>& _internal_supported_wifi_direct_auth_types() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_supported_wifi_direct_auth_types();
|
|
|
|
public:
|
|
// optional string bssid = 2;
|
|
bool has_bssid() const;
|
|
void clear_bssid() ;
|
|
const ::std::string& bssid() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_bssid(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_bssid();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_bssid();
|
|
void set_allocated_bssid(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_bssid() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_bssid(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_bssid();
|
|
|
|
public:
|
|
// optional bytes ip_address = 3;
|
|
bool has_ip_address() const;
|
|
void clear_ip_address() ;
|
|
const ::std::string& ip_address() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_ip_address(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_ip_address();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ip_address();
|
|
void set_allocated_ip_address(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_ip_address() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_ip_address(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_ip_address();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.AvailableChannels available_channels = 7;
|
|
bool has_available_channels() const;
|
|
void clear_available_channels() ;
|
|
const ::location::nearby::connections::AvailableChannels& available_channels() const;
|
|
[[nodiscard]] ::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE release_available_channels();
|
|
::location::nearby::connections::AvailableChannels* PROTOBUF_NONNULL mutable_available_channels();
|
|
void set_allocated_available_channels(::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_available_channels(::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE unsafe_arena_release_available_channels();
|
|
|
|
private:
|
|
const ::location::nearby::connections::AvailableChannels& _internal_available_channels() const;
|
|
::location::nearby::connections::AvailableChannels* PROTOBUF_NONNULL _internal_mutable_available_channels();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.WifiDirectCliUsableChannels wifi_direct_cli_usable_channels = 8;
|
|
bool has_wifi_direct_cli_usable_channels() const;
|
|
void clear_wifi_direct_cli_usable_channels() ;
|
|
const ::location::nearby::connections::WifiDirectCliUsableChannels& wifi_direct_cli_usable_channels() const;
|
|
[[nodiscard]] ::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE release_wifi_direct_cli_usable_channels();
|
|
::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NONNULL mutable_wifi_direct_cli_usable_channels();
|
|
void set_allocated_wifi_direct_cli_usable_channels(::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_wifi_direct_cli_usable_channels(::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE unsafe_arena_release_wifi_direct_cli_usable_channels();
|
|
|
|
private:
|
|
const ::location::nearby::connections::WifiDirectCliUsableChannels& _internal_wifi_direct_cli_usable_channels() const;
|
|
::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NONNULL _internal_mutable_wifi_direct_cli_usable_channels();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.WifiLanUsableChannels wifi_lan_usable_channels = 9;
|
|
bool has_wifi_lan_usable_channels() const;
|
|
void clear_wifi_lan_usable_channels() ;
|
|
const ::location::nearby::connections::WifiLanUsableChannels& wifi_lan_usable_channels() const;
|
|
[[nodiscard]] ::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE release_wifi_lan_usable_channels();
|
|
::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NONNULL mutable_wifi_lan_usable_channels();
|
|
void set_allocated_wifi_lan_usable_channels(::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_wifi_lan_usable_channels(::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE unsafe_arena_release_wifi_lan_usable_channels();
|
|
|
|
private:
|
|
const ::location::nearby::connections::WifiLanUsableChannels& _internal_wifi_lan_usable_channels() const;
|
|
::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NONNULL _internal_mutable_wifi_lan_usable_channels();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.WifiAwareUsableChannels wifi_aware_usable_channels = 10;
|
|
bool has_wifi_aware_usable_channels() const;
|
|
void clear_wifi_aware_usable_channels() ;
|
|
const ::location::nearby::connections::WifiAwareUsableChannels& wifi_aware_usable_channels() const;
|
|
[[nodiscard]] ::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE release_wifi_aware_usable_channels();
|
|
::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NONNULL mutable_wifi_aware_usable_channels();
|
|
void set_allocated_wifi_aware_usable_channels(::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_wifi_aware_usable_channels(::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE unsafe_arena_release_wifi_aware_usable_channels();
|
|
|
|
private:
|
|
const ::location::nearby::connections::WifiAwareUsableChannels& _internal_wifi_aware_usable_channels() const;
|
|
::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NONNULL _internal_mutable_wifi_aware_usable_channels();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.WifiHotspotStaUsableChannels wifi_hotspot_sta_usable_channels = 11;
|
|
bool has_wifi_hotspot_sta_usable_channels() const;
|
|
void clear_wifi_hotspot_sta_usable_channels() ;
|
|
const ::location::nearby::connections::WifiHotspotStaUsableChannels& wifi_hotspot_sta_usable_channels() const;
|
|
[[nodiscard]] ::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE release_wifi_hotspot_sta_usable_channels();
|
|
::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NONNULL mutable_wifi_hotspot_sta_usable_channels();
|
|
void set_allocated_wifi_hotspot_sta_usable_channels(::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_wifi_hotspot_sta_usable_channels(::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE unsafe_arena_release_wifi_hotspot_sta_usable_channels();
|
|
|
|
private:
|
|
const ::location::nearby::connections::WifiHotspotStaUsableChannels& _internal_wifi_hotspot_sta_usable_channels() const;
|
|
::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NONNULL _internal_mutable_wifi_hotspot_sta_usable_channels();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.MediumRole medium_role = 12;
|
|
bool has_medium_role() const;
|
|
void clear_medium_role() ;
|
|
const ::location::nearby::connections::MediumRole& medium_role() const;
|
|
[[nodiscard]] ::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE release_medium_role();
|
|
::location::nearby::connections::MediumRole* PROTOBUF_NONNULL mutable_medium_role();
|
|
void set_allocated_medium_role(::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_medium_role(::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE unsafe_arena_release_medium_role();
|
|
|
|
private:
|
|
const ::location::nearby::connections::MediumRole& _internal_medium_role() const;
|
|
::location::nearby::connections::MediumRole* PROTOBUF_NONNULL _internal_mutable_medium_role();
|
|
|
|
public:
|
|
// optional bool supports_5_ghz = 1;
|
|
bool has_supports_5_ghz() const;
|
|
void clear_supports_5_ghz() ;
|
|
bool supports_5_ghz() const;
|
|
void set_supports_5_ghz(bool value);
|
|
|
|
private:
|
|
bool _internal_supports_5_ghz() const;
|
|
void _internal_set_supports_5_ghz(bool value);
|
|
|
|
public:
|
|
// optional bool supports_6_ghz = 4;
|
|
bool has_supports_6_ghz() const;
|
|
void clear_supports_6_ghz() ;
|
|
bool supports_6_ghz() const;
|
|
void set_supports_6_ghz(bool value);
|
|
|
|
private:
|
|
bool _internal_supports_6_ghz() const;
|
|
void _internal_set_supports_6_ghz(bool value);
|
|
|
|
public:
|
|
// optional bool mobile_radio = 5;
|
|
bool has_mobile_radio() const;
|
|
void clear_mobile_radio() ;
|
|
bool mobile_radio() const;
|
|
void set_mobile_radio(bool value);
|
|
|
|
private:
|
|
bool _internal_mobile_radio() const;
|
|
void _internal_set_mobile_radio(bool value);
|
|
|
|
public:
|
|
// optional int32 ap_frequency = 6 [default = -1];
|
|
bool has_ap_frequency() const;
|
|
void clear_ap_frequency() ;
|
|
::int32_t ap_frequency() const;
|
|
void set_ap_frequency(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_ap_frequency() const;
|
|
void _internal_set_ap_frequency(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.MediumMetadata)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 13,
|
|
7, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const MediumMetadata& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<int> supported_wifi_direct_auth_types_;
|
|
::google::protobuf::internal::CachedSize _supported_wifi_direct_auth_types_cached_byte_size_;
|
|
::google::protobuf::internal::ArenaStringPtr bssid_;
|
|
::google::protobuf::internal::ArenaStringPtr ip_address_;
|
|
::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE available_channels_;
|
|
::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE wifi_direct_cli_usable_channels_;
|
|
::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE wifi_lan_usable_channels_;
|
|
::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE wifi_aware_usable_channels_;
|
|
::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE wifi_hotspot_sta_usable_channels_;
|
|
::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE medium_role_;
|
|
bool supports_5_ghz_;
|
|
bool supports_6_ghz_;
|
|
bool mobile_radio_;
|
|
::int32_t ap_frequency_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> MediumMetadata_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ConnectionResponseFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.ConnectionResponseFrame) */ {
|
|
public:
|
|
inline ConnectionResponseFrame() : ConnectionResponseFrame(nullptr) {}
|
|
~ConnectionResponseFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ConnectionResponseFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ConnectionResponseFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ConnectionResponseFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ConnectionResponseFrame(const ConnectionResponseFrame& from) : ConnectionResponseFrame(nullptr, from) {}
|
|
inline ConnectionResponseFrame(ConnectionResponseFrame&& from) noexcept
|
|
: ConnectionResponseFrame(nullptr, ::std::move(from)) {}
|
|
inline ConnectionResponseFrame& operator=(const ConnectionResponseFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ConnectionResponseFrame& operator=(ConnectionResponseFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const ConnectionResponseFrame& default_instance() {
|
|
return *reinterpret_cast<const ConnectionResponseFrame*>(
|
|
&_ConnectionResponseFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 3;
|
|
friend void swap(ConnectionResponseFrame& a, ConnectionResponseFrame& b) { a.Swap(&b); }
|
|
inline void Swap(ConnectionResponseFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ConnectionResponseFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ConnectionResponseFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<ConnectionResponseFrame>(arena);
|
|
}
|
|
void CopyFrom(const ConnectionResponseFrame& from);
|
|
void MergeFrom(const ConnectionResponseFrame& from) { ConnectionResponseFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ConnectionResponseFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.ConnectionResponseFrame"; }
|
|
|
|
explicit ConnectionResponseFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ConnectionResponseFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ConnectionResponseFrame& from);
|
|
ConnectionResponseFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ConnectionResponseFrame&& from) noexcept
|
|
: ConnectionResponseFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using ResponseStatus = ConnectionResponseFrame_ResponseStatus;
|
|
static constexpr ResponseStatus UNKNOWN_RESPONSE_STATUS = ConnectionResponseFrame_ResponseStatus_UNKNOWN_RESPONSE_STATUS;
|
|
static constexpr ResponseStatus ACCEPT = ConnectionResponseFrame_ResponseStatus_ACCEPT;
|
|
static constexpr ResponseStatus REJECT = ConnectionResponseFrame_ResponseStatus_REJECT;
|
|
static inline bool ResponseStatus_IsValid(int value) {
|
|
return ConnectionResponseFrame_ResponseStatus_IsValid(value);
|
|
}
|
|
static constexpr ResponseStatus ResponseStatus_MIN = ConnectionResponseFrame_ResponseStatus_ResponseStatus_MIN;
|
|
static constexpr ResponseStatus ResponseStatus_MAX = ConnectionResponseFrame_ResponseStatus_ResponseStatus_MAX;
|
|
static constexpr int ResponseStatus_ARRAYSIZE = ConnectionResponseFrame_ResponseStatus_ResponseStatus_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& ResponseStatus_Name(T value) {
|
|
return ConnectionResponseFrame_ResponseStatus_Name(value);
|
|
}
|
|
static inline bool ResponseStatus_Parse(
|
|
::absl::string_view name, ResponseStatus* PROTOBUF_NONNULL value) {
|
|
return ConnectionResponseFrame_ResponseStatus_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kHandshakeDataFieldNumber = 2,
|
|
kOsInfoFieldNumber = 4,
|
|
kLocationHintFieldNumber = 8,
|
|
kStatusFieldNumber = 1,
|
|
kResponseFieldNumber = 3,
|
|
kMultiplexSocketBitmaskFieldNumber = 5,
|
|
kNearbyConnectionsVersionFieldNumber = 6,
|
|
kSafeToDisconnectVersionFieldNumber = 7,
|
|
kKeepAliveTimeoutMillisFieldNumber = 9,
|
|
};
|
|
// optional bytes handshake_data = 2;
|
|
bool has_handshake_data() const;
|
|
void clear_handshake_data() ;
|
|
const ::std::string& handshake_data() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_handshake_data(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_handshake_data();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_handshake_data();
|
|
void set_allocated_handshake_data(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_handshake_data() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_handshake_data(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_handshake_data();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.OsInfo os_info = 4;
|
|
bool has_os_info() const;
|
|
void clear_os_info() ;
|
|
const ::location::nearby::connections::OsInfo& os_info() const;
|
|
[[nodiscard]] ::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE release_os_info();
|
|
::location::nearby::connections::OsInfo* PROTOBUF_NONNULL mutable_os_info();
|
|
void set_allocated_os_info(::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_os_info(::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE unsafe_arena_release_os_info();
|
|
|
|
private:
|
|
const ::location::nearby::connections::OsInfo& _internal_os_info() const;
|
|
::location::nearby::connections::OsInfo* PROTOBUF_NONNULL _internal_mutable_os_info();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.LocationHint location_hint = 8;
|
|
bool has_location_hint() const;
|
|
void clear_location_hint() ;
|
|
const ::location::nearby::connections::LocationHint& location_hint() const;
|
|
[[nodiscard]] ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE release_location_hint();
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NONNULL mutable_location_hint();
|
|
void set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE unsafe_arena_release_location_hint();
|
|
|
|
private:
|
|
const ::location::nearby::connections::LocationHint& _internal_location_hint() const;
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NONNULL _internal_mutable_location_hint();
|
|
|
|
public:
|
|
// optional int32 status = 1 [deprecated = true];
|
|
[[deprecated]] bool has_status() const;
|
|
[[deprecated]] void clear_status() ;
|
|
[[deprecated]] ::int32_t status() const;
|
|
[[deprecated]] void set_status(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_status() const;
|
|
void _internal_set_status(::int32_t value);
|
|
|
|
public:
|
|
// optional .location.nearby.connections.ConnectionResponseFrame.ResponseStatus response = 3;
|
|
bool has_response() const;
|
|
void clear_response() ;
|
|
::location::nearby::connections::ConnectionResponseFrame_ResponseStatus response() const;
|
|
void set_response(::location::nearby::connections::ConnectionResponseFrame_ResponseStatus value);
|
|
|
|
private:
|
|
::location::nearby::connections::ConnectionResponseFrame_ResponseStatus _internal_response() const;
|
|
void _internal_set_response(::location::nearby::connections::ConnectionResponseFrame_ResponseStatus value);
|
|
|
|
public:
|
|
// optional int32 multiplex_socket_bitmask = 5;
|
|
bool has_multiplex_socket_bitmask() const;
|
|
void clear_multiplex_socket_bitmask() ;
|
|
::int32_t multiplex_socket_bitmask() const;
|
|
void set_multiplex_socket_bitmask(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_multiplex_socket_bitmask() const;
|
|
void _internal_set_multiplex_socket_bitmask(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 nearby_connections_version = 6 [deprecated = true];
|
|
[[deprecated]] bool has_nearby_connections_version() const;
|
|
[[deprecated]] void clear_nearby_connections_version() ;
|
|
[[deprecated]] ::int32_t nearby_connections_version() const;
|
|
[[deprecated]] void set_nearby_connections_version(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_nearby_connections_version() const;
|
|
void _internal_set_nearby_connections_version(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 safe_to_disconnect_version = 7;
|
|
bool has_safe_to_disconnect_version() const;
|
|
void clear_safe_to_disconnect_version() ;
|
|
::int32_t safe_to_disconnect_version() const;
|
|
void set_safe_to_disconnect_version(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_safe_to_disconnect_version() const;
|
|
void _internal_set_safe_to_disconnect_version(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 keep_alive_timeout_millis = 9;
|
|
bool has_keep_alive_timeout_millis() const;
|
|
void clear_keep_alive_timeout_millis() ;
|
|
::int32_t keep_alive_timeout_millis() const;
|
|
void set_keep_alive_timeout_millis(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_keep_alive_timeout_millis() const;
|
|
void _internal_set_keep_alive_timeout_millis(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.ConnectionResponseFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 9,
|
|
3, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ConnectionResponseFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr handshake_data_;
|
|
::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE os_info_;
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE location_hint_;
|
|
::int32_t status_;
|
|
int response_;
|
|
::int32_t multiplex_socket_bitmask_;
|
|
::int32_t nearby_connections_version_;
|
|
::int32_t safe_to_disconnect_version_;
|
|
::int32_t keep_alive_timeout_millis_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<52> ConnectionResponseFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 10;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAddressCandidatesFieldNumber = 3,
|
|
kIpAddressFieldNumber = 1,
|
|
kWifiPortFieldNumber = 2,
|
|
};
|
|
// repeated .location.nearby.connections.ServiceAddress address_candidates = 3;
|
|
int address_candidates_size() const;
|
|
private:
|
|
int _internal_address_candidates_size() const;
|
|
|
|
public:
|
|
void clear_address_candidates() ;
|
|
::location::nearby::connections::ServiceAddress* PROTOBUF_NONNULL mutable_address_candidates(int index);
|
|
::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>* PROTOBUF_NONNULL mutable_address_candidates();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>& _internal_address_candidates() const;
|
|
::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>* PROTOBUF_NONNULL _internal_mutable_address_candidates();
|
|
public:
|
|
const ::location::nearby::connections::ServiceAddress& address_candidates(int index) const;
|
|
::location::nearby::connections::ServiceAddress* PROTOBUF_NONNULL add_address_candidates();
|
|
const ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>& address_candidates() const;
|
|
// optional bytes ip_address = 1;
|
|
bool has_ip_address() const;
|
|
void clear_ip_address() ;
|
|
const ::std::string& ip_address() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_ip_address(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_ip_address();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ip_address();
|
|
void set_allocated_ip_address(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_ip_address() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_ip_address(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_ip_address();
|
|
|
|
public:
|
|
// optional int32 wifi_port = 2;
|
|
bool has_wifi_port() const;
|
|
void clear_wifi_port() ;
|
|
::int32_t wifi_port() const;
|
|
void set_wifi_port(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_wifi_port() const;
|
|
void _internal_set_wifi_port(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::location::nearby::connections::ServiceAddress > address_candidates_;
|
|
::google::protobuf::internal::ArenaStringPtr ip_address_;
|
|
::int32_t wifi_port_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<91> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 9;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kAddressCandidatesFieldNumber = 6,
|
|
kSsidFieldNumber = 1,
|
|
kPasswordFieldNumber = 2,
|
|
kGatewayFieldNumber = 4,
|
|
kPortFieldNumber = 3,
|
|
kFrequencyFieldNumber = 5,
|
|
};
|
|
// repeated .location.nearby.connections.ServiceAddress address_candidates = 6;
|
|
int address_candidates_size() const;
|
|
private:
|
|
int _internal_address_candidates_size() const;
|
|
|
|
public:
|
|
void clear_address_candidates() ;
|
|
::location::nearby::connections::ServiceAddress* PROTOBUF_NONNULL mutable_address_candidates(int index);
|
|
::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>* PROTOBUF_NONNULL mutable_address_candidates();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>& _internal_address_candidates() const;
|
|
::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>* PROTOBUF_NONNULL _internal_mutable_address_candidates();
|
|
public:
|
|
const ::location::nearby::connections::ServiceAddress& address_candidates(int index) const;
|
|
::location::nearby::connections::ServiceAddress* PROTOBUF_NONNULL add_address_candidates();
|
|
const ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>& address_candidates() const;
|
|
// optional string ssid = 1;
|
|
bool has_ssid() const;
|
|
void clear_ssid() ;
|
|
const ::std::string& ssid() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_ssid(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_ssid();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ssid();
|
|
void set_allocated_ssid(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_ssid() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_ssid(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_ssid();
|
|
|
|
public:
|
|
// optional string password = 2;
|
|
bool has_password() const;
|
|
void clear_password() ;
|
|
const ::std::string& password() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_password(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_password();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_password();
|
|
void set_allocated_password(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_password() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_password(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_password();
|
|
|
|
public:
|
|
// optional string gateway = 4 [default = "0.0.0.0"];
|
|
bool has_gateway() const;
|
|
void clear_gateway() ;
|
|
const ::std::string& gateway() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_gateway(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_gateway();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_gateway();
|
|
void set_allocated_gateway(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_gateway() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_gateway(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_gateway();
|
|
|
|
public:
|
|
// optional int32 port = 3;
|
|
bool has_port() const;
|
|
void clear_port() ;
|
|
::int32_t port() const;
|
|
void set_port(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_port() const;
|
|
void _internal_set_port(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 frequency = 5 [default = -1];
|
|
bool has_frequency() const;
|
|
void clear_frequency() ;
|
|
::int32_t frequency() const;
|
|
void set_frequency(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_frequency() const;
|
|
void _internal_set_frequency(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 6,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::location::nearby::connections::ServiceAddress > address_candidates_;
|
|
::google::protobuf::internal::ArenaStringPtr ssid_;
|
|
::google::protobuf::internal::ArenaStringPtr password_;
|
|
static const ::google::protobuf::internal::LazyString _i_give_permission_to_break_this_code_default_gateway_;
|
|
::google::protobuf::internal::ArenaStringPtr gateway_;
|
|
::int32_t port_;
|
|
::int32_t frequency_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<100> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 14;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kPeerIdFieldNumber = 1,
|
|
kLocationHintFieldNumber = 2,
|
|
};
|
|
// optional string peer_id = 1;
|
|
bool has_peer_id() const;
|
|
void clear_peer_id() ;
|
|
const ::std::string& peer_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_peer_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_peer_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_peer_id();
|
|
void set_allocated_peer_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_peer_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_peer_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_peer_id();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.LocationHint location_hint = 2;
|
|
bool has_location_hint() const;
|
|
void clear_location_hint() ;
|
|
const ::location::nearby::connections::LocationHint& location_hint() const;
|
|
[[nodiscard]] ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE release_location_hint();
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NONNULL mutable_location_hint();
|
|
void set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE unsafe_arena_release_location_hint();
|
|
|
|
private:
|
|
const ::location::nearby::connections::LocationHint& _internal_location_hint() const;
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NONNULL _internal_mutable_location_hint();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr peer_id_;
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE location_hint_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<95> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ConnectionRequestFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.ConnectionRequestFrame) */ {
|
|
public:
|
|
inline ConnectionRequestFrame() : ConnectionRequestFrame(nullptr) {}
|
|
~ConnectionRequestFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ConnectionRequestFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ConnectionRequestFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ConnectionRequestFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ConnectionRequestFrame(const ConnectionRequestFrame& from) : ConnectionRequestFrame(nullptr, from) {}
|
|
inline ConnectionRequestFrame(ConnectionRequestFrame&& from) noexcept
|
|
: ConnectionRequestFrame(nullptr, ::std::move(from)) {}
|
|
inline ConnectionRequestFrame& operator=(const ConnectionRequestFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ConnectionRequestFrame& operator=(ConnectionRequestFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const ConnectionRequestFrame& default_instance() {
|
|
return *reinterpret_cast<const ConnectionRequestFrame*>(
|
|
&_ConnectionRequestFrame_default_instance_);
|
|
}
|
|
enum DeviceCase {
|
|
kConnectionsDevice = 12,
|
|
kPresenceDevice = 13,
|
|
DEVICE_NOT_SET = 0,
|
|
};
|
|
static constexpr int kIndexInFileMessages = 2;
|
|
friend void swap(ConnectionRequestFrame& a, ConnectionRequestFrame& b) { a.Swap(&b); }
|
|
inline void Swap(ConnectionRequestFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ConnectionRequestFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ConnectionRequestFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<ConnectionRequestFrame>(arena);
|
|
}
|
|
void CopyFrom(const ConnectionRequestFrame& from);
|
|
void MergeFrom(const ConnectionRequestFrame& from) { ConnectionRequestFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(ConnectionRequestFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.ConnectionRequestFrame"; }
|
|
|
|
explicit ConnectionRequestFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ConnectionRequestFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ConnectionRequestFrame& from);
|
|
ConnectionRequestFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ConnectionRequestFrame&& from) noexcept
|
|
: ConnectionRequestFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using Medium = ConnectionRequestFrame_Medium;
|
|
static constexpr Medium UNKNOWN_MEDIUM = ConnectionRequestFrame_Medium_UNKNOWN_MEDIUM;
|
|
[[deprecated]] static constexpr Medium MDNS = ConnectionRequestFrame_Medium_MDNS;
|
|
static constexpr Medium BLUETOOTH = ConnectionRequestFrame_Medium_BLUETOOTH;
|
|
static constexpr Medium WIFI_HOTSPOT = ConnectionRequestFrame_Medium_WIFI_HOTSPOT;
|
|
static constexpr Medium BLE = ConnectionRequestFrame_Medium_BLE;
|
|
static constexpr Medium WIFI_LAN = ConnectionRequestFrame_Medium_WIFI_LAN;
|
|
static constexpr Medium WIFI_AWARE = ConnectionRequestFrame_Medium_WIFI_AWARE;
|
|
static constexpr Medium NFC = ConnectionRequestFrame_Medium_NFC;
|
|
static constexpr Medium WIFI_DIRECT = ConnectionRequestFrame_Medium_WIFI_DIRECT;
|
|
static constexpr Medium WEB_RTC = ConnectionRequestFrame_Medium_WEB_RTC;
|
|
static constexpr Medium BLE_L2CAP = ConnectionRequestFrame_Medium_BLE_L2CAP;
|
|
static constexpr Medium USB = ConnectionRequestFrame_Medium_USB;
|
|
static constexpr Medium WEB_RTC_NON_CELLULAR = ConnectionRequestFrame_Medium_WEB_RTC_NON_CELLULAR;
|
|
static constexpr Medium AWDL = ConnectionRequestFrame_Medium_AWDL;
|
|
static inline bool Medium_IsValid(int value) {
|
|
return ConnectionRequestFrame_Medium_IsValid(value);
|
|
}
|
|
static constexpr Medium Medium_MIN = ConnectionRequestFrame_Medium_Medium_MIN;
|
|
static constexpr Medium Medium_MAX = ConnectionRequestFrame_Medium_Medium_MAX;
|
|
static constexpr int Medium_ARRAYSIZE = ConnectionRequestFrame_Medium_Medium_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& Medium_Name(T value) {
|
|
return ConnectionRequestFrame_Medium_Name(value);
|
|
}
|
|
static inline bool Medium_Parse(
|
|
::absl::string_view name, Medium* PROTOBUF_NONNULL value) {
|
|
return ConnectionRequestFrame_Medium_Parse(name, value);
|
|
}
|
|
using ConnectionMode = ConnectionRequestFrame_ConnectionMode;
|
|
static constexpr ConnectionMode LEGACY = ConnectionRequestFrame_ConnectionMode_LEGACY;
|
|
static constexpr ConnectionMode INSTANT = ConnectionRequestFrame_ConnectionMode_INSTANT;
|
|
static inline bool ConnectionMode_IsValid(int value) {
|
|
return ConnectionRequestFrame_ConnectionMode_IsValid(value);
|
|
}
|
|
static constexpr ConnectionMode ConnectionMode_MIN = ConnectionRequestFrame_ConnectionMode_ConnectionMode_MIN;
|
|
static constexpr ConnectionMode ConnectionMode_MAX = ConnectionRequestFrame_ConnectionMode_ConnectionMode_MAX;
|
|
static constexpr int ConnectionMode_ARRAYSIZE = ConnectionRequestFrame_ConnectionMode_ConnectionMode_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& ConnectionMode_Name(T value) {
|
|
return ConnectionRequestFrame_ConnectionMode_Name(value);
|
|
}
|
|
static inline bool ConnectionMode_Parse(
|
|
::absl::string_view name, ConnectionMode* PROTOBUF_NONNULL value) {
|
|
return ConnectionRequestFrame_ConnectionMode_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kMediumsFieldNumber = 5,
|
|
kEndpointIdFieldNumber = 1,
|
|
kEndpointNameFieldNumber = 2,
|
|
kHandshakeDataFieldNumber = 3,
|
|
kEndpointInfoFieldNumber = 6,
|
|
kDeviceInfoFieldNumber = 11,
|
|
kMediumMetadataFieldNumber = 7,
|
|
kLocationHintFieldNumber = 15,
|
|
kNonceFieldNumber = 4,
|
|
kKeepAliveIntervalMillisFieldNumber = 8,
|
|
kKeepAliveTimeoutMillisFieldNumber = 9,
|
|
kDeviceTypeFieldNumber = 10,
|
|
kConnectionModeFieldNumber = 14,
|
|
kConnectionsDeviceFieldNumber = 12,
|
|
kPresenceDeviceFieldNumber = 13,
|
|
};
|
|
// repeated .location.nearby.connections.ConnectionRequestFrame.Medium mediums = 5;
|
|
int mediums_size() const;
|
|
private:
|
|
int _internal_mediums_size() const;
|
|
|
|
public:
|
|
void clear_mediums() ;
|
|
public:
|
|
::location::nearby::connections::ConnectionRequestFrame_Medium mediums(int index) const;
|
|
void set_mediums(int index, ::location::nearby::connections::ConnectionRequestFrame_Medium value);
|
|
void add_mediums(::location::nearby::connections::ConnectionRequestFrame_Medium value);
|
|
const ::google::protobuf::RepeatedField<int>& mediums() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_mediums();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<int>& _internal_mediums() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_mediums();
|
|
|
|
public:
|
|
// optional string endpoint_id = 1;
|
|
bool has_endpoint_id() const;
|
|
void clear_endpoint_id() ;
|
|
const ::std::string& endpoint_id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_endpoint_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_endpoint_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_id();
|
|
void set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_endpoint_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_id();
|
|
|
|
public:
|
|
// optional string endpoint_name = 2;
|
|
bool has_endpoint_name() const;
|
|
void clear_endpoint_name() ;
|
|
const ::std::string& endpoint_name() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_endpoint_name(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_endpoint_name();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_name();
|
|
void set_allocated_endpoint_name(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_endpoint_name() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_name(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_name();
|
|
|
|
public:
|
|
// optional bytes handshake_data = 3;
|
|
bool has_handshake_data() const;
|
|
void clear_handshake_data() ;
|
|
const ::std::string& handshake_data() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_handshake_data(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_handshake_data();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_handshake_data();
|
|
void set_allocated_handshake_data(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_handshake_data() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_handshake_data(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_handshake_data();
|
|
|
|
public:
|
|
// optional bytes endpoint_info = 6;
|
|
bool has_endpoint_info() const;
|
|
void clear_endpoint_info() ;
|
|
const ::std::string& endpoint_info() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_endpoint_info(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_endpoint_info();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_info();
|
|
void set_allocated_endpoint_info(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_endpoint_info() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_info(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_info();
|
|
|
|
public:
|
|
// optional bytes device_info = 11 [deprecated = true];
|
|
[[deprecated]] bool has_device_info() const;
|
|
[[deprecated]] void clear_device_info() ;
|
|
[[deprecated]] const ::std::string& device_info() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
[[deprecated]] void set_device_info(Arg_&& arg, Args_... args);
|
|
[[deprecated]] ::std::string* PROTOBUF_NONNULL mutable_device_info();
|
|
[[deprecated]] [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_device_info();
|
|
[[deprecated]] void set_allocated_device_info(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_device_info() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_device_info(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_device_info();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.MediumMetadata medium_metadata = 7;
|
|
bool has_medium_metadata() const;
|
|
void clear_medium_metadata() ;
|
|
const ::location::nearby::connections::MediumMetadata& medium_metadata() const;
|
|
[[nodiscard]] ::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE release_medium_metadata();
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NONNULL mutable_medium_metadata();
|
|
void set_allocated_medium_metadata(::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_medium_metadata(::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE unsafe_arena_release_medium_metadata();
|
|
|
|
private:
|
|
const ::location::nearby::connections::MediumMetadata& _internal_medium_metadata() const;
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NONNULL _internal_mutable_medium_metadata();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.LocationHint location_hint = 15;
|
|
bool has_location_hint() const;
|
|
void clear_location_hint() ;
|
|
const ::location::nearby::connections::LocationHint& location_hint() const;
|
|
[[nodiscard]] ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE release_location_hint();
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NONNULL mutable_location_hint();
|
|
void set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE unsafe_arena_release_location_hint();
|
|
|
|
private:
|
|
const ::location::nearby::connections::LocationHint& _internal_location_hint() const;
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NONNULL _internal_mutable_location_hint();
|
|
|
|
public:
|
|
// optional int32 nonce = 4;
|
|
bool has_nonce() const;
|
|
void clear_nonce() ;
|
|
::int32_t nonce() const;
|
|
void set_nonce(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_nonce() const;
|
|
void _internal_set_nonce(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 keep_alive_interval_millis = 8;
|
|
bool has_keep_alive_interval_millis() const;
|
|
void clear_keep_alive_interval_millis() ;
|
|
::int32_t keep_alive_interval_millis() const;
|
|
void set_keep_alive_interval_millis(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_keep_alive_interval_millis() const;
|
|
void _internal_set_keep_alive_interval_millis(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 keep_alive_timeout_millis = 9;
|
|
bool has_keep_alive_timeout_millis() const;
|
|
void clear_keep_alive_timeout_millis() ;
|
|
::int32_t keep_alive_timeout_millis() const;
|
|
void set_keep_alive_timeout_millis(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_keep_alive_timeout_millis() const;
|
|
void _internal_set_keep_alive_timeout_millis(::int32_t value);
|
|
|
|
public:
|
|
// optional int32 device_type = 10 [default = 0, deprecated = true];
|
|
[[deprecated]] bool has_device_type() const;
|
|
[[deprecated]] void clear_device_type() ;
|
|
[[deprecated]] ::int32_t device_type() const;
|
|
[[deprecated]] void set_device_type(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_device_type() const;
|
|
void _internal_set_device_type(::int32_t value);
|
|
|
|
public:
|
|
// optional .location.nearby.connections.ConnectionRequestFrame.ConnectionMode connection_mode = 14;
|
|
bool has_connection_mode() const;
|
|
void clear_connection_mode() ;
|
|
::location::nearby::connections::ConnectionRequestFrame_ConnectionMode connection_mode() const;
|
|
void set_connection_mode(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode value);
|
|
|
|
private:
|
|
::location::nearby::connections::ConnectionRequestFrame_ConnectionMode _internal_connection_mode() const;
|
|
void _internal_set_connection_mode(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode value);
|
|
|
|
public:
|
|
// .location.nearby.connections.ConnectionsDevice connections_device = 12;
|
|
bool has_connections_device() const;
|
|
private:
|
|
bool _internal_has_connections_device() const;
|
|
|
|
public:
|
|
void clear_connections_device() ;
|
|
const ::location::nearby::connections::ConnectionsDevice& connections_device() const;
|
|
[[nodiscard]] ::location::nearby::connections::ConnectionsDevice* PROTOBUF_NULLABLE release_connections_device();
|
|
::location::nearby::connections::ConnectionsDevice* PROTOBUF_NONNULL mutable_connections_device();
|
|
void set_allocated_connections_device(::location::nearby::connections::ConnectionsDevice* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_connections_device(::location::nearby::connections::ConnectionsDevice* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::ConnectionsDevice* PROTOBUF_NULLABLE unsafe_arena_release_connections_device();
|
|
|
|
private:
|
|
const ::location::nearby::connections::ConnectionsDevice& _internal_connections_device() const;
|
|
::location::nearby::connections::ConnectionsDevice* PROTOBUF_NONNULL _internal_mutable_connections_device();
|
|
|
|
public:
|
|
// .location.nearby.connections.PresenceDevice presence_device = 13;
|
|
bool has_presence_device() const;
|
|
private:
|
|
bool _internal_has_presence_device() const;
|
|
|
|
public:
|
|
void clear_presence_device() ;
|
|
const ::location::nearby::connections::PresenceDevice& presence_device() const;
|
|
[[nodiscard]] ::location::nearby::connections::PresenceDevice* PROTOBUF_NULLABLE release_presence_device();
|
|
::location::nearby::connections::PresenceDevice* PROTOBUF_NONNULL mutable_presence_device();
|
|
void set_allocated_presence_device(::location::nearby::connections::PresenceDevice* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_presence_device(::location::nearby::connections::PresenceDevice* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::PresenceDevice* PROTOBUF_NULLABLE unsafe_arena_release_presence_device();
|
|
|
|
private:
|
|
const ::location::nearby::connections::PresenceDevice& _internal_presence_device() const;
|
|
::location::nearby::connections::PresenceDevice* PROTOBUF_NONNULL _internal_mutable_presence_device();
|
|
|
|
public:
|
|
void clear_Device();
|
|
DeviceCase Device_case() const;
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.ConnectionRequestFrame)
|
|
private:
|
|
class _Internal;
|
|
void set_has_connections_device();
|
|
void set_has_presence_device();
|
|
inline bool has_Device() const;
|
|
inline void clear_has_Device();
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 15,
|
|
6, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const ConnectionRequestFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<int> mediums_;
|
|
::google::protobuf::internal::ArenaStringPtr endpoint_id_;
|
|
::google::protobuf::internal::ArenaStringPtr endpoint_name_;
|
|
::google::protobuf::internal::ArenaStringPtr handshake_data_;
|
|
::google::protobuf::internal::ArenaStringPtr endpoint_info_;
|
|
::google::protobuf::internal::ArenaStringPtr device_info_;
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE medium_metadata_;
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE location_hint_;
|
|
::int32_t nonce_;
|
|
::int32_t keep_alive_interval_millis_;
|
|
::int32_t keep_alive_timeout_millis_;
|
|
::int32_t device_type_;
|
|
int connection_mode_;
|
|
union DeviceUnion {
|
|
constexpr DeviceUnion() : _constinit_{} {}
|
|
::google::protobuf::internal::ConstantInitialized _constinit_;
|
|
::location::nearby::connections::ConnectionsDevice* PROTOBUF_NULLABLE connections_device_;
|
|
::location::nearby::connections::PresenceDevice* PROTOBUF_NULLABLE presence_device_;
|
|
} Device_;
|
|
::uint32_t _oneof_case_[1];
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<51> ConnectionRequestFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 16;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kMediumsFieldNumber = 1,
|
|
kMediumMetaDataFieldNumber = 2,
|
|
};
|
|
// repeated .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium mediums = 1 [packed = true];
|
|
int mediums_size() const;
|
|
private:
|
|
int _internal_mediums_size() const;
|
|
|
|
public:
|
|
void clear_mediums() ;
|
|
public:
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium mediums(int index) const;
|
|
void set_mediums(int index, ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value);
|
|
void add_mediums(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value);
|
|
const ::google::protobuf::RepeatedField<int>& mediums() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_mediums();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedField<int>& _internal_mediums() const;
|
|
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_mediums();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.MediumMetadata medium_meta_data = 2;
|
|
bool has_medium_meta_data() const;
|
|
void clear_medium_meta_data() ;
|
|
const ::location::nearby::connections::MediumMetadata& medium_meta_data() const;
|
|
[[nodiscard]] ::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE release_medium_meta_data();
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NONNULL mutable_medium_meta_data();
|
|
void set_allocated_medium_meta_data(::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_medium_meta_data(::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE unsafe_arena_release_medium_meta_data();
|
|
|
|
private:
|
|
const ::location::nearby::connections::MediumMetadata& _internal_medium_meta_data() const;
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NONNULL _internal_mutable_medium_meta_data();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
2, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedField<int> mediums_;
|
|
::google::protobuf::internal::CachedSize _mediums_cached_byte_size_;
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE medium_meta_data_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<96> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame_UpgradePathInfo(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo& from) : BandwidthUpgradeNegotiationFrame_UpgradePathInfo(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo(BandwidthUpgradeNegotiationFrame_UpgradePathInfo&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo*>(
|
|
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 17;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame_UpgradePathInfo>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo& from) { BandwidthUpgradeNegotiationFrame_UpgradePathInfo::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame_UpgradePathInfo& from);
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame_UpgradePathInfo&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using WifiHotspotCredentials = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials;
|
|
using WifiLanSocket = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket;
|
|
using BluetoothCredentials = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials;
|
|
using WifiAwareCredentials = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials;
|
|
using WifiDirectCredentials = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials;
|
|
using WebRtcCredentials = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials;
|
|
using AwdlCredentials = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials;
|
|
using UpgradePathRequest = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest;
|
|
using Medium = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium;
|
|
static constexpr Medium UNKNOWN_MEDIUM = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_UNKNOWN_MEDIUM;
|
|
[[deprecated]] static constexpr Medium MDNS = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_MDNS;
|
|
static constexpr Medium BLUETOOTH = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_BLUETOOTH;
|
|
static constexpr Medium WIFI_HOTSPOT = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_HOTSPOT;
|
|
static constexpr Medium BLE = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_BLE;
|
|
static constexpr Medium WIFI_LAN = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_LAN;
|
|
static constexpr Medium WIFI_AWARE = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_AWARE;
|
|
static constexpr Medium NFC = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_NFC;
|
|
static constexpr Medium WIFI_DIRECT = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_DIRECT;
|
|
static constexpr Medium WEB_RTC = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC;
|
|
static constexpr Medium USB = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_USB;
|
|
static constexpr Medium WEB_RTC_NON_CELLULAR = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC_NON_CELLULAR;
|
|
static constexpr Medium AWDL = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_AWDL;
|
|
static inline bool Medium_IsValid(int value) {
|
|
return BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_IsValid(value);
|
|
}
|
|
static constexpr Medium Medium_MIN = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_MIN;
|
|
static constexpr Medium Medium_MAX = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_MAX;
|
|
static constexpr int Medium_ARRAYSIZE = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& Medium_Name(T value) {
|
|
return BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Name(value);
|
|
}
|
|
static inline bool Medium_Parse(
|
|
::absl::string_view name, Medium* PROTOBUF_NONNULL value) {
|
|
return BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kWifiHotspotCredentialsFieldNumber = 2,
|
|
kWifiLanSocketFieldNumber = 3,
|
|
kBluetoothCredentialsFieldNumber = 4,
|
|
kWifiAwareCredentialsFieldNumber = 5,
|
|
kWifiDirectCredentialsFieldNumber = 6,
|
|
kWebRtcCredentialsFieldNumber = 8,
|
|
kUpgradePathRequestFieldNumber = 10,
|
|
kAwdlCredentialsFieldNumber = 11,
|
|
kMediumFieldNumber = 1,
|
|
kSupportsDisablingEncryptionFieldNumber = 7,
|
|
kSupportsClientIntroductionAckFieldNumber = 9,
|
|
};
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials wifi_hotspot_credentials = 2;
|
|
bool has_wifi_hotspot_credentials() const;
|
|
void clear_wifi_hotspot_credentials() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& wifi_hotspot_credentials() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE release_wifi_hotspot_credentials();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL mutable_wifi_hotspot_credentials();
|
|
void set_allocated_wifi_hotspot_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_wifi_hotspot_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE unsafe_arena_release_wifi_hotspot_credentials();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& _internal_wifi_hotspot_credentials() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL _internal_mutable_wifi_hotspot_credentials();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket wifi_lan_socket = 3;
|
|
bool has_wifi_lan_socket() const;
|
|
void clear_wifi_lan_socket() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& wifi_lan_socket() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE release_wifi_lan_socket();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL mutable_wifi_lan_socket();
|
|
void set_allocated_wifi_lan_socket(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_wifi_lan_socket(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE unsafe_arena_release_wifi_lan_socket();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& _internal_wifi_lan_socket() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL _internal_mutable_wifi_lan_socket();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials bluetooth_credentials = 4;
|
|
bool has_bluetooth_credentials() const;
|
|
void clear_bluetooth_credentials() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& bluetooth_credentials() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE release_bluetooth_credentials();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL mutable_bluetooth_credentials();
|
|
void set_allocated_bluetooth_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_bluetooth_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE unsafe_arena_release_bluetooth_credentials();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& _internal_bluetooth_credentials() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL _internal_mutable_bluetooth_credentials();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials wifi_aware_credentials = 5;
|
|
bool has_wifi_aware_credentials() const;
|
|
void clear_wifi_aware_credentials() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& wifi_aware_credentials() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE release_wifi_aware_credentials();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL mutable_wifi_aware_credentials();
|
|
void set_allocated_wifi_aware_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_wifi_aware_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE unsafe_arena_release_wifi_aware_credentials();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& _internal_wifi_aware_credentials() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL _internal_mutable_wifi_aware_credentials();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials wifi_direct_credentials = 6;
|
|
bool has_wifi_direct_credentials() const;
|
|
void clear_wifi_direct_credentials() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& wifi_direct_credentials() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE release_wifi_direct_credentials();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL mutable_wifi_direct_credentials();
|
|
void set_allocated_wifi_direct_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_wifi_direct_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE unsafe_arena_release_wifi_direct_credentials();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& _internal_wifi_direct_credentials() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL _internal_mutable_wifi_direct_credentials();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials web_rtc_credentials = 8;
|
|
bool has_web_rtc_credentials() const;
|
|
void clear_web_rtc_credentials() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& web_rtc_credentials() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE release_web_rtc_credentials();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL mutable_web_rtc_credentials();
|
|
void set_allocated_web_rtc_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_web_rtc_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE unsafe_arena_release_web_rtc_credentials();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& _internal_web_rtc_credentials() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL _internal_mutable_web_rtc_credentials();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest upgrade_path_request = 10;
|
|
bool has_upgrade_path_request() const;
|
|
void clear_upgrade_path_request() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& upgrade_path_request() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE release_upgrade_path_request();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL mutable_upgrade_path_request();
|
|
void set_allocated_upgrade_path_request(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_upgrade_path_request(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE unsafe_arena_release_upgrade_path_request();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& _internal_upgrade_path_request() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL _internal_mutable_upgrade_path_request();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials awdl_credentials = 11;
|
|
bool has_awdl_credentials() const;
|
|
void clear_awdl_credentials() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& awdl_credentials() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE release_awdl_credentials();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL mutable_awdl_credentials();
|
|
void set_allocated_awdl_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_awdl_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE unsafe_arena_release_awdl_credentials();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& _internal_awdl_credentials() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL _internal_mutable_awdl_credentials();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium medium = 1;
|
|
bool has_medium() const;
|
|
void clear_medium() ;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium medium() const;
|
|
void set_medium(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value);
|
|
|
|
private:
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium _internal_medium() const;
|
|
void _internal_set_medium(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value);
|
|
|
|
public:
|
|
// optional bool supports_disabling_encryption = 7;
|
|
bool has_supports_disabling_encryption() const;
|
|
void clear_supports_disabling_encryption() ;
|
|
bool supports_disabling_encryption() const;
|
|
void set_supports_disabling_encryption(bool value);
|
|
|
|
private:
|
|
bool _internal_supports_disabling_encryption() const;
|
|
void _internal_set_supports_disabling_encryption(bool value);
|
|
|
|
public:
|
|
// optional bool supports_client_introduction_ack = 9;
|
|
bool has_supports_client_introduction_ack() const;
|
|
void clear_supports_client_introduction_ack() ;
|
|
bool supports_client_introduction_ack() const;
|
|
void set_supports_client_introduction_ack(bool value);
|
|
|
|
private:
|
|
bool _internal_supports_client_introduction_ack() const;
|
|
void _internal_set_supports_client_introduction_ack(bool value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 11,
|
|
9, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame_UpgradePathInfo& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE wifi_hotspot_credentials_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE wifi_lan_socket_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE bluetooth_credentials_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE wifi_aware_credentials_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE wifi_direct_credentials_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE web_rtc_credentials_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE upgrade_path_request_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE awdl_credentials_;
|
|
int medium_;
|
|
bool supports_disabling_encryption_;
|
|
bool supports_client_introduction_ack_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<77> BandwidthUpgradeNegotiationFrame_UpgradePathInfo_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class BandwidthUpgradeNegotiationFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame) */ {
|
|
public:
|
|
inline BandwidthUpgradeNegotiationFrame() : BandwidthUpgradeNegotiationFrame(nullptr) {}
|
|
~BandwidthUpgradeNegotiationFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(BandwidthUpgradeNegotiationFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR BandwidthUpgradeNegotiationFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline BandwidthUpgradeNegotiationFrame(const BandwidthUpgradeNegotiationFrame& from) : BandwidthUpgradeNegotiationFrame(nullptr, from) {}
|
|
inline BandwidthUpgradeNegotiationFrame(BandwidthUpgradeNegotiationFrame&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame(nullptr, ::std::move(from)) {}
|
|
inline BandwidthUpgradeNegotiationFrame& operator=(const BandwidthUpgradeNegotiationFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BandwidthUpgradeNegotiationFrame& operator=(BandwidthUpgradeNegotiationFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const BandwidthUpgradeNegotiationFrame& default_instance() {
|
|
return *reinterpret_cast<const BandwidthUpgradeNegotiationFrame*>(
|
|
&_BandwidthUpgradeNegotiationFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 21;
|
|
friend void swap(BandwidthUpgradeNegotiationFrame& a, BandwidthUpgradeNegotiationFrame& b) { a.Swap(&b); }
|
|
inline void Swap(BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<BandwidthUpgradeNegotiationFrame>(arena);
|
|
}
|
|
void CopyFrom(const BandwidthUpgradeNegotiationFrame& from);
|
|
void MergeFrom(const BandwidthUpgradeNegotiationFrame& from) { BandwidthUpgradeNegotiationFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.BandwidthUpgradeNegotiationFrame"; }
|
|
|
|
explicit BandwidthUpgradeNegotiationFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
BandwidthUpgradeNegotiationFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BandwidthUpgradeNegotiationFrame& from);
|
|
BandwidthUpgradeNegotiationFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BandwidthUpgradeNegotiationFrame&& from) noexcept
|
|
: BandwidthUpgradeNegotiationFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using UpgradePathInfo = BandwidthUpgradeNegotiationFrame_UpgradePathInfo;
|
|
using SafeToClosePriorChannel = BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel;
|
|
using ClientIntroduction = BandwidthUpgradeNegotiationFrame_ClientIntroduction;
|
|
using ClientIntroductionAck = BandwidthUpgradeNegotiationFrame_ClientIntroductionAck;
|
|
using EventType = BandwidthUpgradeNegotiationFrame_EventType;
|
|
static constexpr EventType UNKNOWN_EVENT_TYPE = BandwidthUpgradeNegotiationFrame_EventType_UNKNOWN_EVENT_TYPE;
|
|
static constexpr EventType UPGRADE_PATH_AVAILABLE = BandwidthUpgradeNegotiationFrame_EventType_UPGRADE_PATH_AVAILABLE;
|
|
static constexpr EventType LAST_WRITE_TO_PRIOR_CHANNEL = BandwidthUpgradeNegotiationFrame_EventType_LAST_WRITE_TO_PRIOR_CHANNEL;
|
|
static constexpr EventType SAFE_TO_CLOSE_PRIOR_CHANNEL = BandwidthUpgradeNegotiationFrame_EventType_SAFE_TO_CLOSE_PRIOR_CHANNEL;
|
|
static constexpr EventType CLIENT_INTRODUCTION = BandwidthUpgradeNegotiationFrame_EventType_CLIENT_INTRODUCTION;
|
|
static constexpr EventType UPGRADE_FAILURE = BandwidthUpgradeNegotiationFrame_EventType_UPGRADE_FAILURE;
|
|
static constexpr EventType CLIENT_INTRODUCTION_ACK = BandwidthUpgradeNegotiationFrame_EventType_CLIENT_INTRODUCTION_ACK;
|
|
static constexpr EventType UPGRADE_PATH_REQUEST = BandwidthUpgradeNegotiationFrame_EventType_UPGRADE_PATH_REQUEST;
|
|
static inline bool EventType_IsValid(int value) {
|
|
return BandwidthUpgradeNegotiationFrame_EventType_IsValid(value);
|
|
}
|
|
static constexpr EventType EventType_MIN = BandwidthUpgradeNegotiationFrame_EventType_EventType_MIN;
|
|
static constexpr EventType EventType_MAX = BandwidthUpgradeNegotiationFrame_EventType_EventType_MAX;
|
|
static constexpr int EventType_ARRAYSIZE = BandwidthUpgradeNegotiationFrame_EventType_EventType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& EventType_Name(T value) {
|
|
return BandwidthUpgradeNegotiationFrame_EventType_Name(value);
|
|
}
|
|
static inline bool EventType_Parse(
|
|
::absl::string_view name, EventType* PROTOBUF_NONNULL value) {
|
|
return BandwidthUpgradeNegotiationFrame_EventType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kUpgradePathInfoFieldNumber = 2,
|
|
kClientIntroductionFieldNumber = 3,
|
|
kClientIntroductionAckFieldNumber = 4,
|
|
kSafeToClosePriorChannelFieldNumber = 5,
|
|
kEventTypeFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo upgrade_path_info = 2;
|
|
bool has_upgrade_path_info() const;
|
|
void clear_upgrade_path_info() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo& upgrade_path_info() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE release_upgrade_path_info();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL mutable_upgrade_path_info();
|
|
void set_allocated_upgrade_path_info(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_upgrade_path_info(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE unsafe_arena_release_upgrade_path_info();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo& _internal_upgrade_path_info() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL _internal_mutable_upgrade_path_info();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction client_introduction = 3;
|
|
bool has_client_introduction() const;
|
|
void clear_client_introduction() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction& client_introduction() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE release_client_introduction();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL mutable_client_introduction();
|
|
void set_allocated_client_introduction(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_client_introduction(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE unsafe_arena_release_client_introduction();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction& _internal_client_introduction() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL _internal_mutable_client_introduction();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroductionAck client_introduction_ack = 4;
|
|
bool has_client_introduction_ack() const;
|
|
void clear_client_introduction_ack() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& client_introduction_ack() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE release_client_introduction_ack();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL mutable_client_introduction_ack();
|
|
void set_allocated_client_introduction_ack(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_client_introduction_ack(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE unsafe_arena_release_client_introduction_ack();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& _internal_client_introduction_ack() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL _internal_mutable_client_introduction_ack();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel safe_to_close_prior_channel = 5;
|
|
bool has_safe_to_close_prior_channel() const;
|
|
void clear_safe_to_close_prior_channel() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& safe_to_close_prior_channel() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE release_safe_to_close_prior_channel();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL mutable_safe_to_close_prior_channel();
|
|
void set_allocated_safe_to_close_prior_channel(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_safe_to_close_prior_channel(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE unsafe_arena_release_safe_to_close_prior_channel();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& _internal_safe_to_close_prior_channel() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL _internal_mutable_safe_to_close_prior_channel();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.EventType event_type = 1;
|
|
bool has_event_type() const;
|
|
void clear_event_type() ;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType event_type() const;
|
|
void set_event_type(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType value);
|
|
|
|
private:
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType _internal_event_type() const;
|
|
void _internal_set_event_type(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<3, 5,
|
|
5, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const BandwidthUpgradeNegotiationFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE upgrade_path_info_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE client_introduction_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE client_introduction_ack_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE safe_to_close_prior_channel_;
|
|
int event_type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<61> BandwidthUpgradeNegotiationFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class V1Frame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.V1Frame) */ {
|
|
public:
|
|
inline V1Frame() : V1Frame(nullptr) {}
|
|
~V1Frame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(V1Frame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(V1Frame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR V1Frame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline V1Frame(const V1Frame& from) : V1Frame(nullptr, from) {}
|
|
inline V1Frame(V1Frame&& from) noexcept
|
|
: V1Frame(nullptr, ::std::move(from)) {}
|
|
inline V1Frame& operator=(const V1Frame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline V1Frame& operator=(V1Frame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const V1Frame& default_instance() {
|
|
return *reinterpret_cast<const V1Frame*>(
|
|
&_V1Frame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 1;
|
|
friend void swap(V1Frame& a, V1Frame& b) { a.Swap(&b); }
|
|
inline void Swap(V1Frame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(V1Frame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
V1Frame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<V1Frame>(arena);
|
|
}
|
|
void CopyFrom(const V1Frame& from);
|
|
void MergeFrom(const V1Frame& from) { V1Frame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(V1Frame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.V1Frame"; }
|
|
|
|
explicit V1Frame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
V1Frame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const V1Frame& from);
|
|
V1Frame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, V1Frame&& from) noexcept
|
|
: V1Frame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using FrameType = V1Frame_FrameType;
|
|
static constexpr FrameType UNKNOWN_FRAME_TYPE = V1Frame_FrameType_UNKNOWN_FRAME_TYPE;
|
|
static constexpr FrameType CONNECTION_REQUEST = V1Frame_FrameType_CONNECTION_REQUEST;
|
|
static constexpr FrameType CONNECTION_RESPONSE = V1Frame_FrameType_CONNECTION_RESPONSE;
|
|
static constexpr FrameType PAYLOAD_TRANSFER = V1Frame_FrameType_PAYLOAD_TRANSFER;
|
|
static constexpr FrameType BANDWIDTH_UPGRADE_NEGOTIATION = V1Frame_FrameType_BANDWIDTH_UPGRADE_NEGOTIATION;
|
|
static constexpr FrameType KEEP_ALIVE = V1Frame_FrameType_KEEP_ALIVE;
|
|
static constexpr FrameType DISCONNECTION = V1Frame_FrameType_DISCONNECTION;
|
|
static constexpr FrameType PAIRED_KEY_ENCRYPTION = V1Frame_FrameType_PAIRED_KEY_ENCRYPTION;
|
|
static constexpr FrameType AUTHENTICATION_MESSAGE = V1Frame_FrameType_AUTHENTICATION_MESSAGE;
|
|
static constexpr FrameType AUTHENTICATION_RESULT = V1Frame_FrameType_AUTHENTICATION_RESULT;
|
|
static constexpr FrameType AUTO_RESUME = V1Frame_FrameType_AUTO_RESUME;
|
|
static constexpr FrameType AUTO_RECONNECT = V1Frame_FrameType_AUTO_RECONNECT;
|
|
static constexpr FrameType BANDWIDTH_UPGRADE_RETRY = V1Frame_FrameType_BANDWIDTH_UPGRADE_RETRY;
|
|
static inline bool FrameType_IsValid(int value) {
|
|
return V1Frame_FrameType_IsValid(value);
|
|
}
|
|
static constexpr FrameType FrameType_MIN = V1Frame_FrameType_FrameType_MIN;
|
|
static constexpr FrameType FrameType_MAX = V1Frame_FrameType_FrameType_MAX;
|
|
static constexpr int FrameType_ARRAYSIZE = V1Frame_FrameType_FrameType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& FrameType_Name(T value) {
|
|
return V1Frame_FrameType_Name(value);
|
|
}
|
|
static inline bool FrameType_Parse(
|
|
::absl::string_view name, FrameType* PROTOBUF_NONNULL value) {
|
|
return V1Frame_FrameType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kConnectionRequestFieldNumber = 2,
|
|
kConnectionResponseFieldNumber = 3,
|
|
kPayloadTransferFieldNumber = 4,
|
|
kBandwidthUpgradeNegotiationFieldNumber = 5,
|
|
kKeepAliveFieldNumber = 6,
|
|
kDisconnectionFieldNumber = 7,
|
|
kPairedKeyEncryptionFieldNumber = 8,
|
|
kAuthenticationMessageFieldNumber = 9,
|
|
kAuthenticationResultFieldNumber = 10,
|
|
kAutoResumeFieldNumber = 11,
|
|
kAutoReconnectFieldNumber = 12,
|
|
kBandwidthUpgradeRetryFieldNumber = 13,
|
|
kTypeFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.connections.ConnectionRequestFrame connection_request = 2;
|
|
bool has_connection_request() const;
|
|
void clear_connection_request() ;
|
|
const ::location::nearby::connections::ConnectionRequestFrame& connection_request() const;
|
|
[[nodiscard]] ::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE release_connection_request();
|
|
::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NONNULL mutable_connection_request();
|
|
void set_allocated_connection_request(::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_connection_request(::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE unsafe_arena_release_connection_request();
|
|
|
|
private:
|
|
const ::location::nearby::connections::ConnectionRequestFrame& _internal_connection_request() const;
|
|
::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NONNULL _internal_mutable_connection_request();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.ConnectionResponseFrame connection_response = 3;
|
|
bool has_connection_response() const;
|
|
void clear_connection_response() ;
|
|
const ::location::nearby::connections::ConnectionResponseFrame& connection_response() const;
|
|
[[nodiscard]] ::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE release_connection_response();
|
|
::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NONNULL mutable_connection_response();
|
|
void set_allocated_connection_response(::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_connection_response(::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE unsafe_arena_release_connection_response();
|
|
|
|
private:
|
|
const ::location::nearby::connections::ConnectionResponseFrame& _internal_connection_response() const;
|
|
::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NONNULL _internal_mutable_connection_response();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.PayloadTransferFrame payload_transfer = 4;
|
|
bool has_payload_transfer() const;
|
|
void clear_payload_transfer() ;
|
|
const ::location::nearby::connections::PayloadTransferFrame& payload_transfer() const;
|
|
[[nodiscard]] ::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE release_payload_transfer();
|
|
::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NONNULL mutable_payload_transfer();
|
|
void set_allocated_payload_transfer(::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_payload_transfer(::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE unsafe_arena_release_payload_transfer();
|
|
|
|
private:
|
|
const ::location::nearby::connections::PayloadTransferFrame& _internal_payload_transfer() const;
|
|
::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NONNULL _internal_mutable_payload_transfer();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame bandwidth_upgrade_negotiation = 5;
|
|
bool has_bandwidth_upgrade_negotiation() const;
|
|
void clear_bandwidth_upgrade_negotiation() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame& bandwidth_upgrade_negotiation() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE release_bandwidth_upgrade_negotiation();
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL mutable_bandwidth_upgrade_negotiation();
|
|
void set_allocated_bandwidth_upgrade_negotiation(::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_bandwidth_upgrade_negotiation(::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE unsafe_arena_release_bandwidth_upgrade_negotiation();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame& _internal_bandwidth_upgrade_negotiation() const;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL _internal_mutable_bandwidth_upgrade_negotiation();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.KeepAliveFrame keep_alive = 6;
|
|
bool has_keep_alive() const;
|
|
void clear_keep_alive() ;
|
|
const ::location::nearby::connections::KeepAliveFrame& keep_alive() const;
|
|
[[nodiscard]] ::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE release_keep_alive();
|
|
::location::nearby::connections::KeepAliveFrame* PROTOBUF_NONNULL mutable_keep_alive();
|
|
void set_allocated_keep_alive(::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_keep_alive(::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE unsafe_arena_release_keep_alive();
|
|
|
|
private:
|
|
const ::location::nearby::connections::KeepAliveFrame& _internal_keep_alive() const;
|
|
::location::nearby::connections::KeepAliveFrame* PROTOBUF_NONNULL _internal_mutable_keep_alive();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.DisconnectionFrame disconnection = 7;
|
|
bool has_disconnection() const;
|
|
void clear_disconnection() ;
|
|
const ::location::nearby::connections::DisconnectionFrame& disconnection() const;
|
|
[[nodiscard]] ::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE release_disconnection();
|
|
::location::nearby::connections::DisconnectionFrame* PROTOBUF_NONNULL mutable_disconnection();
|
|
void set_allocated_disconnection(::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_disconnection(::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE unsafe_arena_release_disconnection();
|
|
|
|
private:
|
|
const ::location::nearby::connections::DisconnectionFrame& _internal_disconnection() const;
|
|
::location::nearby::connections::DisconnectionFrame* PROTOBUF_NONNULL _internal_mutable_disconnection();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.PairedKeyEncryptionFrame paired_key_encryption = 8;
|
|
bool has_paired_key_encryption() const;
|
|
void clear_paired_key_encryption() ;
|
|
const ::location::nearby::connections::PairedKeyEncryptionFrame& paired_key_encryption() const;
|
|
[[nodiscard]] ::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE release_paired_key_encryption();
|
|
::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NONNULL mutable_paired_key_encryption();
|
|
void set_allocated_paired_key_encryption(::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_paired_key_encryption(::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE unsafe_arena_release_paired_key_encryption();
|
|
|
|
private:
|
|
const ::location::nearby::connections::PairedKeyEncryptionFrame& _internal_paired_key_encryption() const;
|
|
::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NONNULL _internal_mutable_paired_key_encryption();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.AuthenticationMessageFrame authentication_message = 9;
|
|
bool has_authentication_message() const;
|
|
void clear_authentication_message() ;
|
|
const ::location::nearby::connections::AuthenticationMessageFrame& authentication_message() const;
|
|
[[nodiscard]] ::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE release_authentication_message();
|
|
::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NONNULL mutable_authentication_message();
|
|
void set_allocated_authentication_message(::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_authentication_message(::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE unsafe_arena_release_authentication_message();
|
|
|
|
private:
|
|
const ::location::nearby::connections::AuthenticationMessageFrame& _internal_authentication_message() const;
|
|
::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NONNULL _internal_mutable_authentication_message();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.AuthenticationResultFrame authentication_result = 10;
|
|
bool has_authentication_result() const;
|
|
void clear_authentication_result() ;
|
|
const ::location::nearby::connections::AuthenticationResultFrame& authentication_result() const;
|
|
[[nodiscard]] ::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE release_authentication_result();
|
|
::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NONNULL mutable_authentication_result();
|
|
void set_allocated_authentication_result(::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_authentication_result(::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE unsafe_arena_release_authentication_result();
|
|
|
|
private:
|
|
const ::location::nearby::connections::AuthenticationResultFrame& _internal_authentication_result() const;
|
|
::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NONNULL _internal_mutable_authentication_result();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.AutoResumeFrame auto_resume = 11;
|
|
bool has_auto_resume() const;
|
|
void clear_auto_resume() ;
|
|
const ::location::nearby::connections::AutoResumeFrame& auto_resume() const;
|
|
[[nodiscard]] ::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE release_auto_resume();
|
|
::location::nearby::connections::AutoResumeFrame* PROTOBUF_NONNULL mutable_auto_resume();
|
|
void set_allocated_auto_resume(::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_auto_resume(::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE unsafe_arena_release_auto_resume();
|
|
|
|
private:
|
|
const ::location::nearby::connections::AutoResumeFrame& _internal_auto_resume() const;
|
|
::location::nearby::connections::AutoResumeFrame* PROTOBUF_NONNULL _internal_mutable_auto_resume();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.AutoReconnectFrame auto_reconnect = 12;
|
|
bool has_auto_reconnect() const;
|
|
void clear_auto_reconnect() ;
|
|
const ::location::nearby::connections::AutoReconnectFrame& auto_reconnect() const;
|
|
[[nodiscard]] ::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE release_auto_reconnect();
|
|
::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NONNULL mutable_auto_reconnect();
|
|
void set_allocated_auto_reconnect(::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_auto_reconnect(::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE unsafe_arena_release_auto_reconnect();
|
|
|
|
private:
|
|
const ::location::nearby::connections::AutoReconnectFrame& _internal_auto_reconnect() const;
|
|
::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NONNULL _internal_mutable_auto_reconnect();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.BandwidthUpgradeRetryFrame bandwidth_upgrade_retry = 13;
|
|
bool has_bandwidth_upgrade_retry() const;
|
|
void clear_bandwidth_upgrade_retry() ;
|
|
const ::location::nearby::connections::BandwidthUpgradeRetryFrame& bandwidth_upgrade_retry() const;
|
|
[[nodiscard]] ::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE release_bandwidth_upgrade_retry();
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL mutable_bandwidth_upgrade_retry();
|
|
void set_allocated_bandwidth_upgrade_retry(::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_bandwidth_upgrade_retry(::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE unsafe_arena_release_bandwidth_upgrade_retry();
|
|
|
|
private:
|
|
const ::location::nearby::connections::BandwidthUpgradeRetryFrame& _internal_bandwidth_upgrade_retry() const;
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL _internal_mutable_bandwidth_upgrade_retry();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.V1Frame.FrameType type = 1;
|
|
bool has_type() const;
|
|
void clear_type() ;
|
|
::location::nearby::connections::V1Frame_FrameType type() const;
|
|
void set_type(::location::nearby::connections::V1Frame_FrameType value);
|
|
|
|
private:
|
|
::location::nearby::connections::V1Frame_FrameType _internal_type() const;
|
|
void _internal_set_type(::location::nearby::connections::V1Frame_FrameType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.V1Frame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<4, 13,
|
|
13, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const V1Frame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE connection_request_;
|
|
::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE connection_response_;
|
|
::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE payload_transfer_;
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE bandwidth_upgrade_negotiation_;
|
|
::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE keep_alive_;
|
|
::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE disconnection_;
|
|
::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE paired_key_encryption_;
|
|
::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE authentication_message_;
|
|
::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE authentication_result_;
|
|
::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE auto_resume_;
|
|
::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE auto_reconnect_;
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE bandwidth_upgrade_retry_;
|
|
int type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<36> V1Frame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class OfflineFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.connections.OfflineFrame) */ {
|
|
public:
|
|
inline OfflineFrame() : OfflineFrame(nullptr) {}
|
|
~OfflineFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(OfflineFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(OfflineFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR OfflineFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline OfflineFrame(const OfflineFrame& from) : OfflineFrame(nullptr, from) {}
|
|
inline OfflineFrame(OfflineFrame&& from) noexcept
|
|
: OfflineFrame(nullptr, ::std::move(from)) {}
|
|
inline OfflineFrame& operator=(const OfflineFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline OfflineFrame& operator=(OfflineFrame&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
return _internal_metadata_.mutable_unknown_fields<::std::string>();
|
|
}
|
|
|
|
static const OfflineFrame& default_instance() {
|
|
return *reinterpret_cast<const OfflineFrame*>(
|
|
&_OfflineFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 0;
|
|
friend void swap(OfflineFrame& a, OfflineFrame& b) { a.Swap(&b); }
|
|
inline void Swap(OfflineFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::google::protobuf::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(OfflineFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
OfflineFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<OfflineFrame>(arena);
|
|
}
|
|
void CopyFrom(const OfflineFrame& from);
|
|
void MergeFrom(const OfflineFrame& from) { OfflineFrame::MergeImpl(*this, from); }
|
|
|
|
private:
|
|
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg);
|
|
|
|
public:
|
|
bool IsInitialized() const {
|
|
return true;
|
|
}
|
|
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
private:
|
|
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
|
|
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
|
|
|
|
public:
|
|
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
return _InternalSerialize(*this, target, stream);
|
|
}
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ByteSizeLong() const final;
|
|
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static void SharedDtor(MessageLite& self);
|
|
void InternalSwap(OfflineFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.connections.OfflineFrame"; }
|
|
|
|
explicit OfflineFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
OfflineFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OfflineFrame& from);
|
|
OfflineFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OfflineFrame&& from) noexcept
|
|
: OfflineFrame(arena) {
|
|
*this = ::std::move(from);
|
|
}
|
|
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
|
|
static void* PROTOBUF_NONNULL PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
static constexpr auto InternalNewImpl_();
|
|
|
|
public:
|
|
static constexpr auto InternalGenerateClassData_();
|
|
|
|
// nested types ----------------------------------------------------
|
|
using Version = OfflineFrame_Version;
|
|
static constexpr Version UNKNOWN_VERSION = OfflineFrame_Version_UNKNOWN_VERSION;
|
|
static constexpr Version V1 = OfflineFrame_Version_V1;
|
|
static inline bool Version_IsValid(int value) {
|
|
return OfflineFrame_Version_IsValid(value);
|
|
}
|
|
static constexpr Version Version_MIN = OfflineFrame_Version_Version_MIN;
|
|
static constexpr Version Version_MAX = OfflineFrame_Version_Version_MAX;
|
|
static constexpr int Version_ARRAYSIZE = OfflineFrame_Version_Version_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& Version_Name(T value) {
|
|
return OfflineFrame_Version_Name(value);
|
|
}
|
|
static inline bool Version_Parse(
|
|
::absl::string_view name, Version* PROTOBUF_NONNULL value) {
|
|
return OfflineFrame_Version_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kV1FieldNumber = 2,
|
|
kVersionFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.connections.V1Frame v1 = 2;
|
|
bool has_v1() const;
|
|
void clear_v1() ;
|
|
const ::location::nearby::connections::V1Frame& v1() const;
|
|
[[nodiscard]] ::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE release_v1();
|
|
::location::nearby::connections::V1Frame* PROTOBUF_NONNULL mutable_v1();
|
|
void set_allocated_v1(::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_v1(::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE unsafe_arena_release_v1();
|
|
|
|
private:
|
|
const ::location::nearby::connections::V1Frame& _internal_v1() const;
|
|
::location::nearby::connections::V1Frame* PROTOBUF_NONNULL _internal_mutable_v1();
|
|
|
|
public:
|
|
// optional .location.nearby.connections.OfflineFrame.Version version = 1;
|
|
bool has_version() const;
|
|
void clear_version() ;
|
|
::location::nearby::connections::OfflineFrame_Version version() const;
|
|
void set_version(::location::nearby::connections::OfflineFrame_Version value);
|
|
|
|
private:
|
|
::location::nearby::connections::OfflineFrame_Version _internal_version() const;
|
|
void _internal_set_version(::location::nearby::connections::OfflineFrame_Version value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.connections.OfflineFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
2, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
friend class ::google::protobuf::Arena::InternalHelper;
|
|
using InternalArenaConstructable_ = void;
|
|
using DestructorSkippable_ = void;
|
|
struct Impl_ {
|
|
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
inline explicit Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
const OfflineFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE v1_;
|
|
int version_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<41> OfflineFrame_class_data_;
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// OfflineFrame
|
|
|
|
// optional .location.nearby.connections.OfflineFrame.Version version = 1;
|
|
inline bool OfflineFrame::has_version() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void OfflineFrame::clear_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.version_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::location::nearby::connections::OfflineFrame_Version OfflineFrame::version() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.OfflineFrame.version)
|
|
return _internal_version();
|
|
}
|
|
inline void OfflineFrame::set_version(::location::nearby::connections::OfflineFrame_Version value) {
|
|
_internal_set_version(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.OfflineFrame.version)
|
|
}
|
|
inline ::location::nearby::connections::OfflineFrame_Version OfflineFrame::_internal_version() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::OfflineFrame_Version>(_impl_.version_);
|
|
}
|
|
inline void OfflineFrame::_internal_set_version(::location::nearby::connections::OfflineFrame_Version value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::OfflineFrame_Version_internal_data_));
|
|
_impl_.version_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.V1Frame v1 = 2;
|
|
inline bool OfflineFrame::has_v1() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.v1_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void OfflineFrame::clear_v1() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.v1_ != nullptr) _impl_.v1_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::connections::V1Frame& OfflineFrame::_internal_v1() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::V1Frame* p = _impl_.v1_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::V1Frame&>(::location::nearby::connections::_V1Frame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::V1Frame& OfflineFrame::v1() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.OfflineFrame.v1)
|
|
return _internal_v1();
|
|
}
|
|
inline void OfflineFrame::unsafe_arena_set_allocated_v1(
|
|
::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.v1_);
|
|
}
|
|
_impl_.v1_ = reinterpret_cast<::location::nearby::connections::V1Frame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.OfflineFrame.v1)
|
|
}
|
|
inline ::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE OfflineFrame::release_v1() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::V1Frame* released = _impl_.v1_;
|
|
_impl_.v1_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE OfflineFrame::unsafe_arena_release_v1() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.OfflineFrame.v1)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::V1Frame* temp = _impl_.v1_;
|
|
_impl_.v1_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::V1Frame* PROTOBUF_NONNULL OfflineFrame::_internal_mutable_v1() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.v1_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::V1Frame>(GetArena());
|
|
_impl_.v1_ = reinterpret_cast<::location::nearby::connections::V1Frame*>(p);
|
|
}
|
|
return _impl_.v1_;
|
|
}
|
|
inline ::location::nearby::connections::V1Frame* PROTOBUF_NONNULL OfflineFrame::mutable_v1()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::V1Frame* _msg = _internal_mutable_v1();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.OfflineFrame.v1)
|
|
return _msg;
|
|
}
|
|
inline void OfflineFrame::set_allocated_v1(::location::nearby::connections::V1Frame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.v1_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
|
|
_impl_.v1_ = reinterpret_cast<::location::nearby::connections::V1Frame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.OfflineFrame.v1)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// V1Frame
|
|
|
|
// optional .location.nearby.connections.V1Frame.FrameType type = 1;
|
|
inline bool V1Frame::has_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00001000U);
|
|
}
|
|
inline ::location::nearby::connections::V1Frame_FrameType V1Frame::type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.type)
|
|
return _internal_type();
|
|
}
|
|
inline void V1Frame::set_type(::location::nearby::connections::V1Frame_FrameType value) {
|
|
_internal_set_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00001000U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.V1Frame.type)
|
|
}
|
|
inline ::location::nearby::connections::V1Frame_FrameType V1Frame::_internal_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::V1Frame_FrameType>(_impl_.type_);
|
|
}
|
|
inline void V1Frame::_internal_set_type(::location::nearby::connections::V1Frame_FrameType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::V1Frame_FrameType_internal_data_));
|
|
_impl_.type_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.ConnectionRequestFrame connection_request = 2;
|
|
inline bool V1Frame::has_connection_request() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.connection_request_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_connection_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.connection_request_ != nullptr) _impl_.connection_request_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::connections::ConnectionRequestFrame& V1Frame::_internal_connection_request() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::ConnectionRequestFrame* p = _impl_.connection_request_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::ConnectionRequestFrame&>(::location::nearby::connections::_ConnectionRequestFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::ConnectionRequestFrame& V1Frame::connection_request() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.connection_request)
|
|
return _internal_connection_request();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_connection_request(
|
|
::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.connection_request_);
|
|
}
|
|
_impl_.connection_request_ = reinterpret_cast<::location::nearby::connections::ConnectionRequestFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.connection_request)
|
|
}
|
|
inline ::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE V1Frame::release_connection_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::ConnectionRequestFrame* released = _impl_.connection_request_;
|
|
_impl_.connection_request_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_connection_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.connection_request)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::ConnectionRequestFrame* temp = _impl_.connection_request_;
|
|
_impl_.connection_request_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_connection_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.connection_request_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::ConnectionRequestFrame>(GetArena());
|
|
_impl_.connection_request_ = reinterpret_cast<::location::nearby::connections::ConnectionRequestFrame*>(p);
|
|
}
|
|
return _impl_.connection_request_;
|
|
}
|
|
inline ::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NONNULL V1Frame::mutable_connection_request()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::ConnectionRequestFrame* _msg = _internal_mutable_connection_request();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.connection_request)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_connection_request(::location::nearby::connections::ConnectionRequestFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.connection_request_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
|
|
_impl_.connection_request_ = reinterpret_cast<::location::nearby::connections::ConnectionRequestFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.connection_request)
|
|
}
|
|
|
|
// optional .location.nearby.connections.ConnectionResponseFrame connection_response = 3;
|
|
inline bool V1Frame::has_connection_response() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
PROTOBUF_ASSUME(!value || _impl_.connection_response_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_connection_response() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.connection_response_ != nullptr) _impl_.connection_response_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::location::nearby::connections::ConnectionResponseFrame& V1Frame::_internal_connection_response() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::ConnectionResponseFrame* p = _impl_.connection_response_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::ConnectionResponseFrame&>(::location::nearby::connections::_ConnectionResponseFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::ConnectionResponseFrame& V1Frame::connection_response() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.connection_response)
|
|
return _internal_connection_response();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_connection_response(
|
|
::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.connection_response_);
|
|
}
|
|
_impl_.connection_response_ = reinterpret_cast<::location::nearby::connections::ConnectionResponseFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.connection_response)
|
|
}
|
|
inline ::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE V1Frame::release_connection_response() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::ConnectionResponseFrame* released = _impl_.connection_response_;
|
|
_impl_.connection_response_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_connection_response() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.connection_response)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::ConnectionResponseFrame* temp = _impl_.connection_response_;
|
|
_impl_.connection_response_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_connection_response() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.connection_response_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::ConnectionResponseFrame>(GetArena());
|
|
_impl_.connection_response_ = reinterpret_cast<::location::nearby::connections::ConnectionResponseFrame*>(p);
|
|
}
|
|
return _impl_.connection_response_;
|
|
}
|
|
inline ::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NONNULL V1Frame::mutable_connection_response()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::ConnectionResponseFrame* _msg = _internal_mutable_connection_response();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.connection_response)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_connection_response(::location::nearby::connections::ConnectionResponseFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.connection_response_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
|
|
_impl_.connection_response_ = reinterpret_cast<::location::nearby::connections::ConnectionResponseFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.connection_response)
|
|
}
|
|
|
|
// optional .location.nearby.connections.PayloadTransferFrame payload_transfer = 4;
|
|
inline bool V1Frame::has_payload_transfer() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
PROTOBUF_ASSUME(!value || _impl_.payload_transfer_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_payload_transfer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.payload_transfer_ != nullptr) _impl_.payload_transfer_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::location::nearby::connections::PayloadTransferFrame& V1Frame::_internal_payload_transfer() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::PayloadTransferFrame* p = _impl_.payload_transfer_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::PayloadTransferFrame&>(::location::nearby::connections::_PayloadTransferFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::PayloadTransferFrame& V1Frame::payload_transfer() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.payload_transfer)
|
|
return _internal_payload_transfer();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_payload_transfer(
|
|
::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payload_transfer_);
|
|
}
|
|
_impl_.payload_transfer_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.payload_transfer)
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE V1Frame::release_payload_transfer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::PayloadTransferFrame* released = _impl_.payload_transfer_;
|
|
_impl_.payload_transfer_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_payload_transfer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.payload_transfer)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::PayloadTransferFrame* temp = _impl_.payload_transfer_;
|
|
_impl_.payload_transfer_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_payload_transfer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.payload_transfer_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::PayloadTransferFrame>(GetArena());
|
|
_impl_.payload_transfer_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame*>(p);
|
|
}
|
|
return _impl_.payload_transfer_;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NONNULL V1Frame::mutable_payload_transfer()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::PayloadTransferFrame* _msg = _internal_mutable_payload_transfer();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.payload_transfer)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_payload_transfer(::location::nearby::connections::PayloadTransferFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payload_transfer_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
|
|
_impl_.payload_transfer_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.payload_transfer)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame bandwidth_upgrade_negotiation = 5;
|
|
inline bool V1Frame::has_bandwidth_upgrade_negotiation() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
PROTOBUF_ASSUME(!value || _impl_.bandwidth_upgrade_negotiation_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_bandwidth_upgrade_negotiation() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.bandwidth_upgrade_negotiation_ != nullptr) _impl_.bandwidth_upgrade_negotiation_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame& V1Frame::_internal_bandwidth_upgrade_negotiation() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame* p = _impl_.bandwidth_upgrade_negotiation_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame& V1Frame::bandwidth_upgrade_negotiation() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.bandwidth_upgrade_negotiation)
|
|
return _internal_bandwidth_upgrade_negotiation();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_bandwidth_upgrade_negotiation(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bandwidth_upgrade_negotiation_);
|
|
}
|
|
_impl_.bandwidth_upgrade_negotiation_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.bandwidth_upgrade_negotiation)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE V1Frame::release_bandwidth_upgrade_negotiation() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame* released = _impl_.bandwidth_upgrade_negotiation_;
|
|
_impl_.bandwidth_upgrade_negotiation_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_bandwidth_upgrade_negotiation() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.bandwidth_upgrade_negotiation)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame* temp = _impl_.bandwidth_upgrade_negotiation_;
|
|
_impl_.bandwidth_upgrade_negotiation_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_bandwidth_upgrade_negotiation() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.bandwidth_upgrade_negotiation_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame>(GetArena());
|
|
_impl_.bandwidth_upgrade_negotiation_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame*>(p);
|
|
}
|
|
return _impl_.bandwidth_upgrade_negotiation_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NONNULL V1Frame::mutable_bandwidth_upgrade_negotiation()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame* _msg = _internal_mutable_bandwidth_upgrade_negotiation();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.bandwidth_upgrade_negotiation)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_bandwidth_upgrade_negotiation(::location::nearby::connections::BandwidthUpgradeNegotiationFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bandwidth_upgrade_negotiation_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
|
|
_impl_.bandwidth_upgrade_negotiation_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.bandwidth_upgrade_negotiation)
|
|
}
|
|
|
|
// optional .location.nearby.connections.KeepAliveFrame keep_alive = 6;
|
|
inline bool V1Frame::has_keep_alive() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
PROTOBUF_ASSUME(!value || _impl_.keep_alive_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_keep_alive() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.keep_alive_ != nullptr) _impl_.keep_alive_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline const ::location::nearby::connections::KeepAliveFrame& V1Frame::_internal_keep_alive() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::KeepAliveFrame* p = _impl_.keep_alive_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::KeepAliveFrame&>(::location::nearby::connections::_KeepAliveFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::KeepAliveFrame& V1Frame::keep_alive() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.keep_alive)
|
|
return _internal_keep_alive();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_keep_alive(
|
|
::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.keep_alive_);
|
|
}
|
|
_impl_.keep_alive_ = reinterpret_cast<::location::nearby::connections::KeepAliveFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.keep_alive)
|
|
}
|
|
inline ::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE V1Frame::release_keep_alive() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::KeepAliveFrame* released = _impl_.keep_alive_;
|
|
_impl_.keep_alive_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_keep_alive() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.keep_alive)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::KeepAliveFrame* temp = _impl_.keep_alive_;
|
|
_impl_.keep_alive_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::KeepAliveFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_keep_alive() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.keep_alive_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::KeepAliveFrame>(GetArena());
|
|
_impl_.keep_alive_ = reinterpret_cast<::location::nearby::connections::KeepAliveFrame*>(p);
|
|
}
|
|
return _impl_.keep_alive_;
|
|
}
|
|
inline ::location::nearby::connections::KeepAliveFrame* PROTOBUF_NONNULL V1Frame::mutable_keep_alive()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::KeepAliveFrame* _msg = _internal_mutable_keep_alive();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.keep_alive)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_keep_alive(::location::nearby::connections::KeepAliveFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.keep_alive_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
|
|
_impl_.keep_alive_ = reinterpret_cast<::location::nearby::connections::KeepAliveFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.keep_alive)
|
|
}
|
|
|
|
// optional .location.nearby.connections.DisconnectionFrame disconnection = 7;
|
|
inline bool V1Frame::has_disconnection() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
PROTOBUF_ASSUME(!value || _impl_.disconnection_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_disconnection() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.disconnection_ != nullptr) _impl_.disconnection_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline const ::location::nearby::connections::DisconnectionFrame& V1Frame::_internal_disconnection() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::DisconnectionFrame* p = _impl_.disconnection_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::DisconnectionFrame&>(::location::nearby::connections::_DisconnectionFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::DisconnectionFrame& V1Frame::disconnection() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.disconnection)
|
|
return _internal_disconnection();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_disconnection(
|
|
::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.disconnection_);
|
|
}
|
|
_impl_.disconnection_ = reinterpret_cast<::location::nearby::connections::DisconnectionFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.disconnection)
|
|
}
|
|
inline ::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE V1Frame::release_disconnection() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::DisconnectionFrame* released = _impl_.disconnection_;
|
|
_impl_.disconnection_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_disconnection() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.disconnection)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::DisconnectionFrame* temp = _impl_.disconnection_;
|
|
_impl_.disconnection_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::DisconnectionFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_disconnection() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.disconnection_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::DisconnectionFrame>(GetArena());
|
|
_impl_.disconnection_ = reinterpret_cast<::location::nearby::connections::DisconnectionFrame*>(p);
|
|
}
|
|
return _impl_.disconnection_;
|
|
}
|
|
inline ::location::nearby::connections::DisconnectionFrame* PROTOBUF_NONNULL V1Frame::mutable_disconnection()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::DisconnectionFrame* _msg = _internal_mutable_disconnection();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.disconnection)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_disconnection(::location::nearby::connections::DisconnectionFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.disconnection_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
|
|
_impl_.disconnection_ = reinterpret_cast<::location::nearby::connections::DisconnectionFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.disconnection)
|
|
}
|
|
|
|
// optional .location.nearby.connections.PairedKeyEncryptionFrame paired_key_encryption = 8;
|
|
inline bool V1Frame::has_paired_key_encryption() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
PROTOBUF_ASSUME(!value || _impl_.paired_key_encryption_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_paired_key_encryption() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.paired_key_encryption_ != nullptr) _impl_.paired_key_encryption_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline const ::location::nearby::connections::PairedKeyEncryptionFrame& V1Frame::_internal_paired_key_encryption() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::PairedKeyEncryptionFrame* p = _impl_.paired_key_encryption_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::PairedKeyEncryptionFrame&>(::location::nearby::connections::_PairedKeyEncryptionFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::PairedKeyEncryptionFrame& V1Frame::paired_key_encryption() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.paired_key_encryption)
|
|
return _internal_paired_key_encryption();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_paired_key_encryption(
|
|
::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.paired_key_encryption_);
|
|
}
|
|
_impl_.paired_key_encryption_ = reinterpret_cast<::location::nearby::connections::PairedKeyEncryptionFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.paired_key_encryption)
|
|
}
|
|
inline ::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE V1Frame::release_paired_key_encryption() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::PairedKeyEncryptionFrame* released = _impl_.paired_key_encryption_;
|
|
_impl_.paired_key_encryption_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_paired_key_encryption() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.paired_key_encryption)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::PairedKeyEncryptionFrame* temp = _impl_.paired_key_encryption_;
|
|
_impl_.paired_key_encryption_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_paired_key_encryption() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.paired_key_encryption_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::PairedKeyEncryptionFrame>(GetArena());
|
|
_impl_.paired_key_encryption_ = reinterpret_cast<::location::nearby::connections::PairedKeyEncryptionFrame*>(p);
|
|
}
|
|
return _impl_.paired_key_encryption_;
|
|
}
|
|
inline ::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NONNULL V1Frame::mutable_paired_key_encryption()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::PairedKeyEncryptionFrame* _msg = _internal_mutable_paired_key_encryption();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.paired_key_encryption)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_paired_key_encryption(::location::nearby::connections::PairedKeyEncryptionFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.paired_key_encryption_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
|
|
_impl_.paired_key_encryption_ = reinterpret_cast<::location::nearby::connections::PairedKeyEncryptionFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.paired_key_encryption)
|
|
}
|
|
|
|
// optional .location.nearby.connections.AuthenticationMessageFrame authentication_message = 9;
|
|
inline bool V1Frame::has_authentication_message() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
PROTOBUF_ASSUME(!value || _impl_.authentication_message_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_authentication_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.authentication_message_ != nullptr) _impl_.authentication_message_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000080U);
|
|
}
|
|
inline const ::location::nearby::connections::AuthenticationMessageFrame& V1Frame::_internal_authentication_message() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::AuthenticationMessageFrame* p = _impl_.authentication_message_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::AuthenticationMessageFrame&>(::location::nearby::connections::_AuthenticationMessageFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::AuthenticationMessageFrame& V1Frame::authentication_message() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.authentication_message)
|
|
return _internal_authentication_message();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_authentication_message(
|
|
::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.authentication_message_);
|
|
}
|
|
_impl_.authentication_message_ = reinterpret_cast<::location::nearby::connections::AuthenticationMessageFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.authentication_message)
|
|
}
|
|
inline ::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE V1Frame::release_authentication_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::AuthenticationMessageFrame* released = _impl_.authentication_message_;
|
|
_impl_.authentication_message_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_authentication_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.authentication_message)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::AuthenticationMessageFrame* temp = _impl_.authentication_message_;
|
|
_impl_.authentication_message_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_authentication_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.authentication_message_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::AuthenticationMessageFrame>(GetArena());
|
|
_impl_.authentication_message_ = reinterpret_cast<::location::nearby::connections::AuthenticationMessageFrame*>(p);
|
|
}
|
|
return _impl_.authentication_message_;
|
|
}
|
|
inline ::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NONNULL V1Frame::mutable_authentication_message()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::AuthenticationMessageFrame* _msg = _internal_mutable_authentication_message();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.authentication_message)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_authentication_message(::location::nearby::connections::AuthenticationMessageFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.authentication_message_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
}
|
|
|
|
_impl_.authentication_message_ = reinterpret_cast<::location::nearby::connections::AuthenticationMessageFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.authentication_message)
|
|
}
|
|
|
|
// optional .location.nearby.connections.AuthenticationResultFrame authentication_result = 10;
|
|
inline bool V1Frame::has_authentication_result() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
PROTOBUF_ASSUME(!value || _impl_.authentication_result_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_authentication_result() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.authentication_result_ != nullptr) _impl_.authentication_result_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000100U);
|
|
}
|
|
inline const ::location::nearby::connections::AuthenticationResultFrame& V1Frame::_internal_authentication_result() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::AuthenticationResultFrame* p = _impl_.authentication_result_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::AuthenticationResultFrame&>(::location::nearby::connections::_AuthenticationResultFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::AuthenticationResultFrame& V1Frame::authentication_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.authentication_result)
|
|
return _internal_authentication_result();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_authentication_result(
|
|
::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.authentication_result_);
|
|
}
|
|
_impl_.authentication_result_ = reinterpret_cast<::location::nearby::connections::AuthenticationResultFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.authentication_result)
|
|
}
|
|
inline ::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE V1Frame::release_authentication_result() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
::location::nearby::connections::AuthenticationResultFrame* released = _impl_.authentication_result_;
|
|
_impl_.authentication_result_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_authentication_result() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.authentication_result)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
::location::nearby::connections::AuthenticationResultFrame* temp = _impl_.authentication_result_;
|
|
_impl_.authentication_result_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_authentication_result() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.authentication_result_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::AuthenticationResultFrame>(GetArena());
|
|
_impl_.authentication_result_ = reinterpret_cast<::location::nearby::connections::AuthenticationResultFrame*>(p);
|
|
}
|
|
return _impl_.authentication_result_;
|
|
}
|
|
inline ::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NONNULL V1Frame::mutable_authentication_result()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
::location::nearby::connections::AuthenticationResultFrame* _msg = _internal_mutable_authentication_result();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.authentication_result)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_authentication_result(::location::nearby::connections::AuthenticationResultFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.authentication_result_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
}
|
|
|
|
_impl_.authentication_result_ = reinterpret_cast<::location::nearby::connections::AuthenticationResultFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.authentication_result)
|
|
}
|
|
|
|
// optional .location.nearby.connections.AutoResumeFrame auto_resume = 11;
|
|
inline bool V1Frame::has_auto_resume() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
PROTOBUF_ASSUME(!value || _impl_.auto_resume_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_auto_resume() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.auto_resume_ != nullptr) _impl_.auto_resume_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000200U);
|
|
}
|
|
inline const ::location::nearby::connections::AutoResumeFrame& V1Frame::_internal_auto_resume() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::AutoResumeFrame* p = _impl_.auto_resume_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::AutoResumeFrame&>(::location::nearby::connections::_AutoResumeFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::AutoResumeFrame& V1Frame::auto_resume() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.auto_resume)
|
|
return _internal_auto_resume();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_auto_resume(
|
|
::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auto_resume_);
|
|
}
|
|
_impl_.auto_resume_ = reinterpret_cast<::location::nearby::connections::AutoResumeFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.auto_resume)
|
|
}
|
|
inline ::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE V1Frame::release_auto_resume() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
::location::nearby::connections::AutoResumeFrame* released = _impl_.auto_resume_;
|
|
_impl_.auto_resume_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_auto_resume() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.auto_resume)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
::location::nearby::connections::AutoResumeFrame* temp = _impl_.auto_resume_;
|
|
_impl_.auto_resume_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::AutoResumeFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_auto_resume() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.auto_resume_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::AutoResumeFrame>(GetArena());
|
|
_impl_.auto_resume_ = reinterpret_cast<::location::nearby::connections::AutoResumeFrame*>(p);
|
|
}
|
|
return _impl_.auto_resume_;
|
|
}
|
|
inline ::location::nearby::connections::AutoResumeFrame* PROTOBUF_NONNULL V1Frame::mutable_auto_resume()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
::location::nearby::connections::AutoResumeFrame* _msg = _internal_mutable_auto_resume();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.auto_resume)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_auto_resume(::location::nearby::connections::AutoResumeFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auto_resume_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
}
|
|
|
|
_impl_.auto_resume_ = reinterpret_cast<::location::nearby::connections::AutoResumeFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.auto_resume)
|
|
}
|
|
|
|
// optional .location.nearby.connections.AutoReconnectFrame auto_reconnect = 12;
|
|
inline bool V1Frame::has_auto_reconnect() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
PROTOBUF_ASSUME(!value || _impl_.auto_reconnect_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_auto_reconnect() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.auto_reconnect_ != nullptr) _impl_.auto_reconnect_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000400U);
|
|
}
|
|
inline const ::location::nearby::connections::AutoReconnectFrame& V1Frame::_internal_auto_reconnect() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::AutoReconnectFrame* p = _impl_.auto_reconnect_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::AutoReconnectFrame&>(::location::nearby::connections::_AutoReconnectFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::AutoReconnectFrame& V1Frame::auto_reconnect() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.auto_reconnect)
|
|
return _internal_auto_reconnect();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_auto_reconnect(
|
|
::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auto_reconnect_);
|
|
}
|
|
_impl_.auto_reconnect_ = reinterpret_cast<::location::nearby::connections::AutoReconnectFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.auto_reconnect)
|
|
}
|
|
inline ::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE V1Frame::release_auto_reconnect() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
::location::nearby::connections::AutoReconnectFrame* released = _impl_.auto_reconnect_;
|
|
_impl_.auto_reconnect_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_auto_reconnect() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.auto_reconnect)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
::location::nearby::connections::AutoReconnectFrame* temp = _impl_.auto_reconnect_;
|
|
_impl_.auto_reconnect_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_auto_reconnect() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.auto_reconnect_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::AutoReconnectFrame>(GetArena());
|
|
_impl_.auto_reconnect_ = reinterpret_cast<::location::nearby::connections::AutoReconnectFrame*>(p);
|
|
}
|
|
return _impl_.auto_reconnect_;
|
|
}
|
|
inline ::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NONNULL V1Frame::mutable_auto_reconnect()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
::location::nearby::connections::AutoReconnectFrame* _msg = _internal_mutable_auto_reconnect();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.auto_reconnect)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_auto_reconnect(::location::nearby::connections::AutoReconnectFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auto_reconnect_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
}
|
|
|
|
_impl_.auto_reconnect_ = reinterpret_cast<::location::nearby::connections::AutoReconnectFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.auto_reconnect)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeRetryFrame bandwidth_upgrade_retry = 13;
|
|
inline bool V1Frame::has_bandwidth_upgrade_retry() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
PROTOBUF_ASSUME(!value || _impl_.bandwidth_upgrade_retry_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void V1Frame::clear_bandwidth_upgrade_retry() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.bandwidth_upgrade_retry_ != nullptr) _impl_.bandwidth_upgrade_retry_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000800U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeRetryFrame& V1Frame::_internal_bandwidth_upgrade_retry() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeRetryFrame* p = _impl_.bandwidth_upgrade_retry_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeRetryFrame&>(::location::nearby::connections::_BandwidthUpgradeRetryFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeRetryFrame& V1Frame::bandwidth_upgrade_retry() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.V1Frame.bandwidth_upgrade_retry)
|
|
return _internal_bandwidth_upgrade_retry();
|
|
}
|
|
inline void V1Frame::unsafe_arena_set_allocated_bandwidth_upgrade_retry(
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bandwidth_upgrade_retry_);
|
|
}
|
|
_impl_.bandwidth_upgrade_retry_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeRetryFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.V1Frame.bandwidth_upgrade_retry)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE V1Frame::release_bandwidth_upgrade_retry() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame* released = _impl_.bandwidth_upgrade_retry_;
|
|
_impl_.bandwidth_upgrade_retry_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE V1Frame::unsafe_arena_release_bandwidth_upgrade_retry() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.V1Frame.bandwidth_upgrade_retry)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame* temp = _impl_.bandwidth_upgrade_retry_;
|
|
_impl_.bandwidth_upgrade_retry_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL V1Frame::_internal_mutable_bandwidth_upgrade_retry() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.bandwidth_upgrade_retry_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeRetryFrame>(GetArena());
|
|
_impl_.bandwidth_upgrade_retry_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeRetryFrame*>(p);
|
|
}
|
|
return _impl_.bandwidth_upgrade_retry_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NONNULL V1Frame::mutable_bandwidth_upgrade_retry()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
::location::nearby::connections::BandwidthUpgradeRetryFrame* _msg = _internal_mutable_bandwidth_upgrade_retry();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.V1Frame.bandwidth_upgrade_retry)
|
|
return _msg;
|
|
}
|
|
inline void V1Frame::set_allocated_bandwidth_upgrade_retry(::location::nearby::connections::BandwidthUpgradeRetryFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bandwidth_upgrade_retry_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
}
|
|
|
|
_impl_.bandwidth_upgrade_retry_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeRetryFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.V1Frame.bandwidth_upgrade_retry)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ConnectionRequestFrame
|
|
|
|
// optional string endpoint_id = 1;
|
|
inline bool ConnectionRequestFrame::has_endpoint_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::endpoint_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.endpoint_id)
|
|
return _internal_endpoint_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionRequestFrame::set_endpoint_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.endpoint_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.endpoint_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_endpoint_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_endpoint_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.endpoint_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::_internal_endpoint_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.endpoint_id_.Get();
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_endpoint_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.endpoint_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionRequestFrame::release_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.endpoint_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.endpoint_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionRequestFrame::set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.endpoint_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_id_.IsDefault()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionRequestFrame.endpoint_id)
|
|
}
|
|
|
|
// optional string endpoint_name = 2;
|
|
inline bool ConnectionRequestFrame::has_endpoint_name() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_endpoint_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_name_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::endpoint_name() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.endpoint_name)
|
|
return _internal_endpoint_name();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionRequestFrame::set_endpoint_name(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
_impl_.endpoint_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.endpoint_name)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_endpoint_name()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::std::string* _s = _internal_mutable_endpoint_name();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.endpoint_name)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::_internal_endpoint_name() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.endpoint_name_.Get();
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_endpoint_name(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_name_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_endpoint_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.endpoint_name_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionRequestFrame::release_endpoint_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.endpoint_name)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
auto* released = _impl_.endpoint_name_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.endpoint_name_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionRequestFrame::set_allocated_endpoint_name(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
_impl_.endpoint_name_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_name_.IsDefault()) {
|
|
_impl_.endpoint_name_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionRequestFrame.endpoint_name)
|
|
}
|
|
|
|
// optional bytes handshake_data = 3;
|
|
inline bool ConnectionRequestFrame::has_handshake_data() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_handshake_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.handshake_data_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::handshake_data() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.handshake_data)
|
|
return _internal_handshake_data();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionRequestFrame::set_handshake_data(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
_impl_.handshake_data_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.handshake_data)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_handshake_data()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::std::string* _s = _internal_mutable_handshake_data();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.handshake_data)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::_internal_handshake_data() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.handshake_data_.Get();
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_handshake_data(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.handshake_data_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_handshake_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.handshake_data_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionRequestFrame::release_handshake_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.handshake_data)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
auto* released = _impl_.handshake_data_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.handshake_data_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionRequestFrame::set_allocated_handshake_data(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
_impl_.handshake_data_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.handshake_data_.IsDefault()) {
|
|
_impl_.handshake_data_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionRequestFrame.handshake_data)
|
|
}
|
|
|
|
// optional int32 nonce = 4;
|
|
inline bool ConnectionRequestFrame::has_nonce() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_nonce() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.nonce_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000100U);
|
|
}
|
|
inline ::int32_t ConnectionRequestFrame::nonce() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.nonce)
|
|
return _internal_nonce();
|
|
}
|
|
inline void ConnectionRequestFrame::set_nonce(::int32_t value) {
|
|
_internal_set_nonce(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.nonce)
|
|
}
|
|
inline ::int32_t ConnectionRequestFrame::_internal_nonce() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.nonce_;
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_nonce(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.nonce_ = value;
|
|
}
|
|
|
|
// repeated .location.nearby.connections.ConnectionRequestFrame.Medium mediums = 5;
|
|
inline int ConnectionRequestFrame::_internal_mediums_size() const {
|
|
return _internal_mediums().size();
|
|
}
|
|
inline int ConnectionRequestFrame::mediums_size() const {
|
|
return _internal_mediums_size();
|
|
}
|
|
inline void ConnectionRequestFrame::clear_mediums() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mediums_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::connections::ConnectionRequestFrame_Medium ConnectionRequestFrame::mediums(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.mediums)
|
|
return static_cast<::location::nearby::connections::ConnectionRequestFrame_Medium>(_internal_mediums().Get(index));
|
|
}
|
|
inline void ConnectionRequestFrame::set_mediums(int index, ::location::nearby::connections::ConnectionRequestFrame_Medium value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::ConnectionRequestFrame_Medium_internal_data_));
|
|
_internal_mutable_mediums()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.mediums)
|
|
}
|
|
inline void ConnectionRequestFrame::add_mediums(::location::nearby::connections::ConnectionRequestFrame_Medium value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::ConnectionRequestFrame_Medium_internal_data_));
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_mediums()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.ConnectionRequestFrame.mediums)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& ConnectionRequestFrame::mediums() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.ConnectionRequestFrame.mediums)
|
|
return _internal_mediums();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_mediums()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.ConnectionRequestFrame.mediums)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_mediums();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& ConnectionRequestFrame::_internal_mediums()
|
|
const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mediums_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
|
|
ConnectionRequestFrame::_internal_mutable_mediums() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.mediums_;
|
|
}
|
|
|
|
// optional bytes endpoint_info = 6;
|
|
inline bool ConnectionRequestFrame::has_endpoint_info() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_endpoint_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_info_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::endpoint_info() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.endpoint_info)
|
|
return _internal_endpoint_info();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionRequestFrame::set_endpoint_info(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
_impl_.endpoint_info_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.endpoint_info)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_endpoint_info()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::std::string* _s = _internal_mutable_endpoint_info();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.endpoint_info)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::_internal_endpoint_info() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.endpoint_info_.Get();
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_endpoint_info(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_info_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_endpoint_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.endpoint_info_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionRequestFrame::release_endpoint_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.endpoint_info)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
auto* released = _impl_.endpoint_info_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.endpoint_info_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionRequestFrame::set_allocated_endpoint_info(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
_impl_.endpoint_info_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_info_.IsDefault()) {
|
|
_impl_.endpoint_info_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionRequestFrame.endpoint_info)
|
|
}
|
|
|
|
// optional .location.nearby.connections.MediumMetadata medium_metadata = 7;
|
|
inline bool ConnectionRequestFrame::has_medium_metadata() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
PROTOBUF_ASSUME(!value || _impl_.medium_metadata_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_medium_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.medium_metadata_ != nullptr) _impl_.medium_metadata_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline const ::location::nearby::connections::MediumMetadata& ConnectionRequestFrame::_internal_medium_metadata() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::MediumMetadata* p = _impl_.medium_metadata_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::MediumMetadata&>(::location::nearby::connections::_MediumMetadata_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::MediumMetadata& ConnectionRequestFrame::medium_metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.medium_metadata)
|
|
return _internal_medium_metadata();
|
|
}
|
|
inline void ConnectionRequestFrame::unsafe_arena_set_allocated_medium_metadata(
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.medium_metadata_);
|
|
}
|
|
_impl_.medium_metadata_ = reinterpret_cast<::location::nearby::connections::MediumMetadata*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.ConnectionRequestFrame.medium_metadata)
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE ConnectionRequestFrame::release_medium_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::MediumMetadata* released = _impl_.medium_metadata_;
|
|
_impl_.medium_metadata_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE ConnectionRequestFrame::unsafe_arena_release_medium_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.medium_metadata)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::MediumMetadata* temp = _impl_.medium_metadata_;
|
|
_impl_.medium_metadata_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_medium_metadata() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.medium_metadata_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::MediumMetadata>(GetArena());
|
|
_impl_.medium_metadata_ = reinterpret_cast<::location::nearby::connections::MediumMetadata*>(p);
|
|
}
|
|
return _impl_.medium_metadata_;
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_medium_metadata()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::MediumMetadata* _msg = _internal_mutable_medium_metadata();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.medium_metadata)
|
|
return _msg;
|
|
}
|
|
inline void ConnectionRequestFrame::set_allocated_medium_metadata(::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.medium_metadata_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
|
|
_impl_.medium_metadata_ = reinterpret_cast<::location::nearby::connections::MediumMetadata*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionRequestFrame.medium_metadata)
|
|
}
|
|
|
|
// optional int32 keep_alive_interval_millis = 8;
|
|
inline bool ConnectionRequestFrame::has_keep_alive_interval_millis() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_keep_alive_interval_millis() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.keep_alive_interval_millis_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000200U);
|
|
}
|
|
inline ::int32_t ConnectionRequestFrame::keep_alive_interval_millis() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.keep_alive_interval_millis)
|
|
return _internal_keep_alive_interval_millis();
|
|
}
|
|
inline void ConnectionRequestFrame::set_keep_alive_interval_millis(::int32_t value) {
|
|
_internal_set_keep_alive_interval_millis(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.keep_alive_interval_millis)
|
|
}
|
|
inline ::int32_t ConnectionRequestFrame::_internal_keep_alive_interval_millis() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.keep_alive_interval_millis_;
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_keep_alive_interval_millis(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.keep_alive_interval_millis_ = value;
|
|
}
|
|
|
|
// optional int32 keep_alive_timeout_millis = 9;
|
|
inline bool ConnectionRequestFrame::has_keep_alive_timeout_millis() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_keep_alive_timeout_millis() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.keep_alive_timeout_millis_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000400U);
|
|
}
|
|
inline ::int32_t ConnectionRequestFrame::keep_alive_timeout_millis() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.keep_alive_timeout_millis)
|
|
return _internal_keep_alive_timeout_millis();
|
|
}
|
|
inline void ConnectionRequestFrame::set_keep_alive_timeout_millis(::int32_t value) {
|
|
_internal_set_keep_alive_timeout_millis(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.keep_alive_timeout_millis)
|
|
}
|
|
inline ::int32_t ConnectionRequestFrame::_internal_keep_alive_timeout_millis() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.keep_alive_timeout_millis_;
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_keep_alive_timeout_millis(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.keep_alive_timeout_millis_ = value;
|
|
}
|
|
|
|
// optional int32 device_type = 10 [default = 0, deprecated = true];
|
|
inline bool ConnectionRequestFrame::has_device_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_device_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000800U);
|
|
}
|
|
inline ::int32_t ConnectionRequestFrame::device_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.device_type)
|
|
return _internal_device_type();
|
|
}
|
|
inline void ConnectionRequestFrame::set_device_type(::int32_t value) {
|
|
_internal_set_device_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.device_type)
|
|
}
|
|
inline ::int32_t ConnectionRequestFrame::_internal_device_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.device_type_;
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_device_type(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_type_ = value;
|
|
}
|
|
|
|
// optional bytes device_info = 11 [deprecated = true];
|
|
inline bool ConnectionRequestFrame::has_device_info() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_device_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_info_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::device_info() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.device_info)
|
|
return _internal_device_info();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionRequestFrame::set_device_info(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
_impl_.device_info_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.device_info)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_device_info()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::std::string* _s = _internal_mutable_device_info();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.device_info)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionRequestFrame::_internal_device_info() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.device_info_.Get();
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_device_info(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_info_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_device_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.device_info_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionRequestFrame::release_device_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.device_info)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000020U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
auto* released = _impl_.device_info_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.device_info_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionRequestFrame::set_allocated_device_info(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
_impl_.device_info_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.device_info_.IsDefault()) {
|
|
_impl_.device_info_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionRequestFrame.device_info)
|
|
}
|
|
|
|
// .location.nearby.connections.ConnectionsDevice connections_device = 12;
|
|
inline bool ConnectionRequestFrame::has_connections_device() const {
|
|
return Device_case() == kConnectionsDevice;
|
|
}
|
|
inline bool ConnectionRequestFrame::_internal_has_connections_device() const {
|
|
return Device_case() == kConnectionsDevice;
|
|
}
|
|
inline void ConnectionRequestFrame::set_has_connections_device() {
|
|
_impl_._oneof_case_[0] = kConnectionsDevice;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_connections_device() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Device_case() == kConnectionsDevice) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Device_.connections_device_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Device_.connections_device_ != nullptr) {
|
|
_impl_.Device_.connections_device_->Clear();
|
|
}
|
|
}
|
|
clear_has_Device();
|
|
}
|
|
}
|
|
inline ::location::nearby::connections::ConnectionsDevice* PROTOBUF_NULLABLE ConnectionRequestFrame::release_connections_device() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.connections_device)
|
|
if (Device_case() == kConnectionsDevice) {
|
|
clear_has_Device();
|
|
auto* temp = _impl_.Device_.connections_device_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Device_.connections_device_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::connections::ConnectionsDevice& ConnectionRequestFrame::_internal_connections_device() const {
|
|
return Device_case() == kConnectionsDevice ? static_cast<const ::location::nearby::connections::ConnectionsDevice&>(*_impl_.Device_.connections_device_)
|
|
: reinterpret_cast<const ::location::nearby::connections::ConnectionsDevice&>(::location::nearby::connections::_ConnectionsDevice_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::ConnectionsDevice& ConnectionRequestFrame::connections_device() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.connections_device)
|
|
return _internal_connections_device();
|
|
}
|
|
inline ::location::nearby::connections::ConnectionsDevice* PROTOBUF_NULLABLE ConnectionRequestFrame::unsafe_arena_release_connections_device() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.connections.ConnectionRequestFrame.connections_device)
|
|
if (Device_case() == kConnectionsDevice) {
|
|
clear_has_Device();
|
|
auto* temp = _impl_.Device_.connections_device_;
|
|
_impl_.Device_.connections_device_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ConnectionRequestFrame::unsafe_arena_set_allocated_connections_device(
|
|
::location::nearby::connections::ConnectionsDevice* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_Device();
|
|
if (value) {
|
|
set_has_connections_device();
|
|
_impl_.Device_.connections_device_ = value;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.ConnectionRequestFrame.connections_device)
|
|
}
|
|
inline ::location::nearby::connections::ConnectionsDevice* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_connections_device() {
|
|
if (Device_case() != kConnectionsDevice) {
|
|
clear_Device();
|
|
set_has_connections_device();
|
|
_impl_.Device_.connections_device_ =
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::ConnectionsDevice>(GetArena());
|
|
}
|
|
return _impl_.Device_.connections_device_;
|
|
}
|
|
inline ::location::nearby::connections::ConnectionsDevice* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_connections_device()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::connections::ConnectionsDevice* _msg = _internal_mutable_connections_device();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.connections_device)
|
|
return _msg;
|
|
}
|
|
|
|
// .location.nearby.connections.PresenceDevice presence_device = 13;
|
|
inline bool ConnectionRequestFrame::has_presence_device() const {
|
|
return Device_case() == kPresenceDevice;
|
|
}
|
|
inline bool ConnectionRequestFrame::_internal_has_presence_device() const {
|
|
return Device_case() == kPresenceDevice;
|
|
}
|
|
inline void ConnectionRequestFrame::set_has_presence_device() {
|
|
_impl_._oneof_case_[0] = kPresenceDevice;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_presence_device() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Device_case() == kPresenceDevice) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Device_.presence_device_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Device_.presence_device_ != nullptr) {
|
|
_impl_.Device_.presence_device_->Clear();
|
|
}
|
|
}
|
|
clear_has_Device();
|
|
}
|
|
}
|
|
inline ::location::nearby::connections::PresenceDevice* PROTOBUF_NULLABLE ConnectionRequestFrame::release_presence_device() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.presence_device)
|
|
if (Device_case() == kPresenceDevice) {
|
|
clear_has_Device();
|
|
auto* temp = _impl_.Device_.presence_device_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Device_.presence_device_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::connections::PresenceDevice& ConnectionRequestFrame::_internal_presence_device() const {
|
|
return Device_case() == kPresenceDevice ? static_cast<const ::location::nearby::connections::PresenceDevice&>(*_impl_.Device_.presence_device_)
|
|
: reinterpret_cast<const ::location::nearby::connections::PresenceDevice&>(::location::nearby::connections::_PresenceDevice_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::PresenceDevice& ConnectionRequestFrame::presence_device() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.presence_device)
|
|
return _internal_presence_device();
|
|
}
|
|
inline ::location::nearby::connections::PresenceDevice* PROTOBUF_NULLABLE ConnectionRequestFrame::unsafe_arena_release_presence_device() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.connections.ConnectionRequestFrame.presence_device)
|
|
if (Device_case() == kPresenceDevice) {
|
|
clear_has_Device();
|
|
auto* temp = _impl_.Device_.presence_device_;
|
|
_impl_.Device_.presence_device_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ConnectionRequestFrame::unsafe_arena_set_allocated_presence_device(
|
|
::location::nearby::connections::PresenceDevice* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_Device();
|
|
if (value) {
|
|
set_has_presence_device();
|
|
_impl_.Device_.presence_device_ = value;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.ConnectionRequestFrame.presence_device)
|
|
}
|
|
inline ::location::nearby::connections::PresenceDevice* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_presence_device() {
|
|
if (Device_case() != kPresenceDevice) {
|
|
clear_Device();
|
|
set_has_presence_device();
|
|
_impl_.Device_.presence_device_ =
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::PresenceDevice>(GetArena());
|
|
}
|
|
return _impl_.Device_.presence_device_;
|
|
}
|
|
inline ::location::nearby::connections::PresenceDevice* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_presence_device()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::connections::PresenceDevice* _msg = _internal_mutable_presence_device();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.presence_device)
|
|
return _msg;
|
|
}
|
|
|
|
// optional .location.nearby.connections.ConnectionRequestFrame.ConnectionMode connection_mode = 14;
|
|
inline bool ConnectionRequestFrame::has_connection_mode() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_connection_mode() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.connection_mode_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00001000U);
|
|
}
|
|
inline ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame::connection_mode() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.connection_mode)
|
|
return _internal_connection_mode();
|
|
}
|
|
inline void ConnectionRequestFrame::set_connection_mode(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode value) {
|
|
_internal_set_connection_mode(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00001000U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.connection_mode)
|
|
}
|
|
inline ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame::_internal_connection_mode() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::ConnectionRequestFrame_ConnectionMode>(_impl_.connection_mode_);
|
|
}
|
|
inline void ConnectionRequestFrame::_internal_set_connection_mode(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode_internal_data_));
|
|
_impl_.connection_mode_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.LocationHint location_hint = 15;
|
|
inline bool ConnectionRequestFrame::has_location_hint() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
PROTOBUF_ASSUME(!value || _impl_.location_hint_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.location_hint_ != nullptr) _impl_.location_hint_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000080U);
|
|
}
|
|
inline const ::location::nearby::connections::LocationHint& ConnectionRequestFrame::_internal_location_hint() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::LocationHint* p = _impl_.location_hint_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::LocationHint&>(::location::nearby::connections::_LocationHint_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::LocationHint& ConnectionRequestFrame::location_hint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.location_hint)
|
|
return _internal_location_hint();
|
|
}
|
|
inline void ConnectionRequestFrame::unsafe_arena_set_allocated_location_hint(
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_hint_);
|
|
}
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.ConnectionRequestFrame.location_hint)
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE ConnectionRequestFrame::release_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::LocationHint* released = _impl_.location_hint_;
|
|
_impl_.location_hint_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE ConnectionRequestFrame::unsafe_arena_release_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionRequestFrame.location_hint)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::LocationHint* temp = _impl_.location_hint_;
|
|
_impl_.location_hint_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NONNULL ConnectionRequestFrame::_internal_mutable_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.location_hint_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::LocationHint>(GetArena());
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(p);
|
|
}
|
|
return _impl_.location_hint_;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NONNULL ConnectionRequestFrame::mutable_location_hint()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::LocationHint* _msg = _internal_mutable_location_hint();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionRequestFrame.location_hint)
|
|
return _msg;
|
|
}
|
|
inline void ConnectionRequestFrame::set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_hint_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
}
|
|
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionRequestFrame.location_hint)
|
|
}
|
|
|
|
inline bool ConnectionRequestFrame::has_Device() const {
|
|
return Device_case() != DEVICE_NOT_SET;
|
|
}
|
|
inline void ConnectionRequestFrame::clear_has_Device() {
|
|
_impl_._oneof_case_[0] = DEVICE_NOT_SET;
|
|
}
|
|
inline ConnectionRequestFrame::DeviceCase ConnectionRequestFrame::Device_case() const {
|
|
return ConnectionRequestFrame::DeviceCase(_impl_._oneof_case_[0]);
|
|
}
|
|
// -------------------------------------------------------------------
|
|
|
|
// ConnectionResponseFrame
|
|
|
|
// optional int32 status = 1 [deprecated = true];
|
|
inline bool ConnectionResponseFrame::has_status() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_status() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.status_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::status() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.status)
|
|
return _internal_status();
|
|
}
|
|
inline void ConnectionResponseFrame::set_status(::int32_t value) {
|
|
_internal_set_status(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionResponseFrame.status)
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::_internal_status() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.status_;
|
|
}
|
|
inline void ConnectionResponseFrame::_internal_set_status(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.status_ = value;
|
|
}
|
|
|
|
// optional bytes handshake_data = 2;
|
|
inline bool ConnectionResponseFrame::has_handshake_data() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_handshake_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.handshake_data_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& ConnectionResponseFrame::handshake_data() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.handshake_data)
|
|
return _internal_handshake_data();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionResponseFrame::set_handshake_data(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.handshake_data_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionResponseFrame.handshake_data)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionResponseFrame::mutable_handshake_data()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_handshake_data();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionResponseFrame.handshake_data)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionResponseFrame::_internal_handshake_data() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.handshake_data_.Get();
|
|
}
|
|
inline void ConnectionResponseFrame::_internal_set_handshake_data(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.handshake_data_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionResponseFrame::_internal_mutable_handshake_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.handshake_data_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionResponseFrame::release_handshake_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionResponseFrame.handshake_data)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.handshake_data_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.handshake_data_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionResponseFrame::set_allocated_handshake_data(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.handshake_data_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.handshake_data_.IsDefault()) {
|
|
_impl_.handshake_data_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionResponseFrame.handshake_data)
|
|
}
|
|
|
|
// optional .location.nearby.connections.ConnectionResponseFrame.ResponseStatus response = 3;
|
|
inline bool ConnectionResponseFrame::has_response() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_response() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.response_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline ::location::nearby::connections::ConnectionResponseFrame_ResponseStatus ConnectionResponseFrame::response() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.response)
|
|
return _internal_response();
|
|
}
|
|
inline void ConnectionResponseFrame::set_response(::location::nearby::connections::ConnectionResponseFrame_ResponseStatus value) {
|
|
_internal_set_response(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionResponseFrame.response)
|
|
}
|
|
inline ::location::nearby::connections::ConnectionResponseFrame_ResponseStatus ConnectionResponseFrame::_internal_response() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::ConnectionResponseFrame_ResponseStatus>(_impl_.response_);
|
|
}
|
|
inline void ConnectionResponseFrame::_internal_set_response(::location::nearby::connections::ConnectionResponseFrame_ResponseStatus value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::ConnectionResponseFrame_ResponseStatus_internal_data_));
|
|
_impl_.response_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.OsInfo os_info = 4;
|
|
inline bool ConnectionResponseFrame::has_os_info() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
PROTOBUF_ASSUME(!value || _impl_.os_info_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_os_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.os_info_ != nullptr) _impl_.os_info_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::location::nearby::connections::OsInfo& ConnectionResponseFrame::_internal_os_info() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::OsInfo* p = _impl_.os_info_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::OsInfo&>(::location::nearby::connections::_OsInfo_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::OsInfo& ConnectionResponseFrame::os_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.os_info)
|
|
return _internal_os_info();
|
|
}
|
|
inline void ConnectionResponseFrame::unsafe_arena_set_allocated_os_info(
|
|
::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.os_info_);
|
|
}
|
|
_impl_.os_info_ = reinterpret_cast<::location::nearby::connections::OsInfo*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.ConnectionResponseFrame.os_info)
|
|
}
|
|
inline ::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE ConnectionResponseFrame::release_os_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::OsInfo* released = _impl_.os_info_;
|
|
_impl_.os_info_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE ConnectionResponseFrame::unsafe_arena_release_os_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionResponseFrame.os_info)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::OsInfo* temp = _impl_.os_info_;
|
|
_impl_.os_info_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::OsInfo* PROTOBUF_NONNULL ConnectionResponseFrame::_internal_mutable_os_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.os_info_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::OsInfo>(GetArena());
|
|
_impl_.os_info_ = reinterpret_cast<::location::nearby::connections::OsInfo*>(p);
|
|
}
|
|
return _impl_.os_info_;
|
|
}
|
|
inline ::location::nearby::connections::OsInfo* PROTOBUF_NONNULL ConnectionResponseFrame::mutable_os_info()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::OsInfo* _msg = _internal_mutable_os_info();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionResponseFrame.os_info)
|
|
return _msg;
|
|
}
|
|
inline void ConnectionResponseFrame::set_allocated_os_info(::location::nearby::connections::OsInfo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.os_info_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
|
|
_impl_.os_info_ = reinterpret_cast<::location::nearby::connections::OsInfo*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionResponseFrame.os_info)
|
|
}
|
|
|
|
// optional int32 multiplex_socket_bitmask = 5;
|
|
inline bool ConnectionResponseFrame::has_multiplex_socket_bitmask() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_multiplex_socket_bitmask() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.multiplex_socket_bitmask_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::multiplex_socket_bitmask() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.multiplex_socket_bitmask)
|
|
return _internal_multiplex_socket_bitmask();
|
|
}
|
|
inline void ConnectionResponseFrame::set_multiplex_socket_bitmask(::int32_t value) {
|
|
_internal_set_multiplex_socket_bitmask(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionResponseFrame.multiplex_socket_bitmask)
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::_internal_multiplex_socket_bitmask() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.multiplex_socket_bitmask_;
|
|
}
|
|
inline void ConnectionResponseFrame::_internal_set_multiplex_socket_bitmask(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.multiplex_socket_bitmask_ = value;
|
|
}
|
|
|
|
// optional int32 nearby_connections_version = 6 [deprecated = true];
|
|
inline bool ConnectionResponseFrame::has_nearby_connections_version() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_nearby_connections_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.nearby_connections_version_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::nearby_connections_version() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.nearby_connections_version)
|
|
return _internal_nearby_connections_version();
|
|
}
|
|
inline void ConnectionResponseFrame::set_nearby_connections_version(::int32_t value) {
|
|
_internal_set_nearby_connections_version(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionResponseFrame.nearby_connections_version)
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::_internal_nearby_connections_version() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.nearby_connections_version_;
|
|
}
|
|
inline void ConnectionResponseFrame::_internal_set_nearby_connections_version(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.nearby_connections_version_ = value;
|
|
}
|
|
|
|
// optional int32 safe_to_disconnect_version = 7;
|
|
inline bool ConnectionResponseFrame::has_safe_to_disconnect_version() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_safe_to_disconnect_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.safe_to_disconnect_version_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000080U);
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::safe_to_disconnect_version() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.safe_to_disconnect_version)
|
|
return _internal_safe_to_disconnect_version();
|
|
}
|
|
inline void ConnectionResponseFrame::set_safe_to_disconnect_version(::int32_t value) {
|
|
_internal_set_safe_to_disconnect_version(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionResponseFrame.safe_to_disconnect_version)
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::_internal_safe_to_disconnect_version() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.safe_to_disconnect_version_;
|
|
}
|
|
inline void ConnectionResponseFrame::_internal_set_safe_to_disconnect_version(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.safe_to_disconnect_version_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.LocationHint location_hint = 8;
|
|
inline bool ConnectionResponseFrame::has_location_hint() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
PROTOBUF_ASSUME(!value || _impl_.location_hint_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.location_hint_ != nullptr) _impl_.location_hint_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::location::nearby::connections::LocationHint& ConnectionResponseFrame::_internal_location_hint() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::LocationHint* p = _impl_.location_hint_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::LocationHint&>(::location::nearby::connections::_LocationHint_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::LocationHint& ConnectionResponseFrame::location_hint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.location_hint)
|
|
return _internal_location_hint();
|
|
}
|
|
inline void ConnectionResponseFrame::unsafe_arena_set_allocated_location_hint(
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_hint_);
|
|
}
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.ConnectionResponseFrame.location_hint)
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE ConnectionResponseFrame::release_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::LocationHint* released = _impl_.location_hint_;
|
|
_impl_.location_hint_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE ConnectionResponseFrame::unsafe_arena_release_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionResponseFrame.location_hint)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::LocationHint* temp = _impl_.location_hint_;
|
|
_impl_.location_hint_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NONNULL ConnectionResponseFrame::_internal_mutable_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.location_hint_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::LocationHint>(GetArena());
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(p);
|
|
}
|
|
return _impl_.location_hint_;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NONNULL ConnectionResponseFrame::mutable_location_hint()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::LocationHint* _msg = _internal_mutable_location_hint();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionResponseFrame.location_hint)
|
|
return _msg;
|
|
}
|
|
inline void ConnectionResponseFrame::set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_hint_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionResponseFrame.location_hint)
|
|
}
|
|
|
|
// optional int32 keep_alive_timeout_millis = 9;
|
|
inline bool ConnectionResponseFrame::has_keep_alive_timeout_millis() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_keep_alive_timeout_millis() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.keep_alive_timeout_millis_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000100U);
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::keep_alive_timeout_millis() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionResponseFrame.keep_alive_timeout_millis)
|
|
return _internal_keep_alive_timeout_millis();
|
|
}
|
|
inline void ConnectionResponseFrame::set_keep_alive_timeout_millis(::int32_t value) {
|
|
_internal_set_keep_alive_timeout_millis(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionResponseFrame.keep_alive_timeout_millis)
|
|
}
|
|
inline ::int32_t ConnectionResponseFrame::_internal_keep_alive_timeout_millis() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.keep_alive_timeout_millis_;
|
|
}
|
|
inline void ConnectionResponseFrame::_internal_set_keep_alive_timeout_millis(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.keep_alive_timeout_millis_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PayloadTransferFrame_PayloadHeader
|
|
|
|
// optional int64 id = 1;
|
|
inline bool PayloadTransferFrame_PayloadHeader::has_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::clear_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.id_ = ::int64_t{0};
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_PayloadHeader::id() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadHeader.id)
|
|
return _internal_id();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::set_id(::int64_t value) {
|
|
_internal_set_id(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadHeader.id)
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_PayloadHeader::_internal_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.id_;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::_internal_set_id(::int64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.id_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.PayloadTransferFrame.PayloadHeader.PayloadType type = 2;
|
|
inline bool PayloadTransferFrame_PayloadHeader::has_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::clear_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType PayloadTransferFrame_PayloadHeader::type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadHeader.type)
|
|
return _internal_type();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::set_type(::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType value) {
|
|
_internal_set_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadHeader.type)
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType PayloadTransferFrame_PayloadHeader::_internal_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType>(_impl_.type_);
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::_internal_set_type(::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType_internal_data_));
|
|
_impl_.type_ = value;
|
|
}
|
|
|
|
// optional int64 total_size = 3;
|
|
inline bool PayloadTransferFrame_PayloadHeader::has_total_size() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::clear_total_size() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_size_ = ::int64_t{0};
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_PayloadHeader::total_size() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadHeader.total_size)
|
|
return _internal_total_size();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::set_total_size(::int64_t value) {
|
|
_internal_set_total_size(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadHeader.total_size)
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_PayloadHeader::_internal_total_size() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.total_size_;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::_internal_set_total_size(::int64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.total_size_ = value;
|
|
}
|
|
|
|
// optional bool is_sensitive = 4;
|
|
inline bool PayloadTransferFrame_PayloadHeader::has_is_sensitive() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::clear_is_sensitive() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.is_sensitive_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline bool PayloadTransferFrame_PayloadHeader::is_sensitive() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadHeader.is_sensitive)
|
|
return _internal_is_sensitive();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::set_is_sensitive(bool value) {
|
|
_internal_set_is_sensitive(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadHeader.is_sensitive)
|
|
}
|
|
inline bool PayloadTransferFrame_PayloadHeader::_internal_is_sensitive() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.is_sensitive_;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::_internal_set_is_sensitive(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.is_sensitive_ = value;
|
|
}
|
|
|
|
// optional string file_name = 5;
|
|
inline bool PayloadTransferFrame_PayloadHeader::has_file_name() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::clear_file_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.file_name_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& PayloadTransferFrame_PayloadHeader::file_name() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadHeader.file_name)
|
|
return _internal_file_name();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PayloadTransferFrame_PayloadHeader::set_file_name(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.file_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadHeader.file_name)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PayloadTransferFrame_PayloadHeader::mutable_file_name()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_file_name();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PayloadTransferFrame.PayloadHeader.file_name)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PayloadTransferFrame_PayloadHeader::_internal_file_name() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.file_name_.Get();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::_internal_set_file_name(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.file_name_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PayloadTransferFrame_PayloadHeader::_internal_mutable_file_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.file_name_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PayloadTransferFrame_PayloadHeader::release_file_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PayloadTransferFrame.PayloadHeader.file_name)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.file_name_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.file_name_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::set_allocated_file_name(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.file_name_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.file_name_.IsDefault()) {
|
|
_impl_.file_name_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PayloadTransferFrame.PayloadHeader.file_name)
|
|
}
|
|
|
|
// optional string parent_folder = 6;
|
|
inline bool PayloadTransferFrame_PayloadHeader::has_parent_folder() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::clear_parent_folder() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.parent_folder_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& PayloadTransferFrame_PayloadHeader::parent_folder() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadHeader.parent_folder)
|
|
return _internal_parent_folder();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PayloadTransferFrame_PayloadHeader::set_parent_folder(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.parent_folder_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadHeader.parent_folder)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PayloadTransferFrame_PayloadHeader::mutable_parent_folder()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_parent_folder();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PayloadTransferFrame.PayloadHeader.parent_folder)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PayloadTransferFrame_PayloadHeader::_internal_parent_folder() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.parent_folder_.Get();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::_internal_set_parent_folder(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.parent_folder_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PayloadTransferFrame_PayloadHeader::_internal_mutable_parent_folder() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.parent_folder_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PayloadTransferFrame_PayloadHeader::release_parent_folder() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PayloadTransferFrame.PayloadHeader.parent_folder)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.parent_folder_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.parent_folder_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::set_allocated_parent_folder(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.parent_folder_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.parent_folder_.IsDefault()) {
|
|
_impl_.parent_folder_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PayloadTransferFrame.PayloadHeader.parent_folder)
|
|
}
|
|
|
|
// optional int64 last_modified_timestamp_millis = 7;
|
|
inline bool PayloadTransferFrame_PayloadHeader::has_last_modified_timestamp_millis() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::clear_last_modified_timestamp_millis() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.last_modified_timestamp_millis_ = ::int64_t{0};
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_PayloadHeader::last_modified_timestamp_millis() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadHeader.last_modified_timestamp_millis)
|
|
return _internal_last_modified_timestamp_millis();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::set_last_modified_timestamp_millis(::int64_t value) {
|
|
_internal_set_last_modified_timestamp_millis(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadHeader.last_modified_timestamp_millis)
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_PayloadHeader::_internal_last_modified_timestamp_millis() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.last_modified_timestamp_millis_;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadHeader::_internal_set_last_modified_timestamp_millis(::int64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.last_modified_timestamp_millis_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PayloadTransferFrame_PayloadChunk
|
|
|
|
// optional int32 flags = 1;
|
|
inline bool PayloadTransferFrame_PayloadChunk::has_flags() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::clear_flags() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.flags_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline ::int32_t PayloadTransferFrame_PayloadChunk::flags() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadChunk.flags)
|
|
return _internal_flags();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::set_flags(::int32_t value) {
|
|
_internal_set_flags(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadChunk.flags)
|
|
}
|
|
inline ::int32_t PayloadTransferFrame_PayloadChunk::_internal_flags() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.flags_;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::_internal_set_flags(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.flags_ = value;
|
|
}
|
|
|
|
// optional int64 offset = 2;
|
|
inline bool PayloadTransferFrame_PayloadChunk::has_offset() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::clear_offset() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.offset_ = ::int64_t{0};
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_PayloadChunk::offset() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadChunk.offset)
|
|
return _internal_offset();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::set_offset(::int64_t value) {
|
|
_internal_set_offset(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadChunk.offset)
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_PayloadChunk::_internal_offset() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.offset_;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::_internal_set_offset(::int64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.offset_ = value;
|
|
}
|
|
|
|
// optional bytes body = 3;
|
|
inline bool PayloadTransferFrame_PayloadChunk::has_body() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::clear_body() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.body_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& PayloadTransferFrame_PayloadChunk::body() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadChunk.body)
|
|
return _internal_body();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PayloadTransferFrame_PayloadChunk::set_body(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.body_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadChunk.body)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PayloadTransferFrame_PayloadChunk::mutable_body()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_body();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PayloadTransferFrame.PayloadChunk.body)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PayloadTransferFrame_PayloadChunk::_internal_body() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.body_.Get();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::_internal_set_body(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.body_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PayloadTransferFrame_PayloadChunk::_internal_mutable_body() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.body_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PayloadTransferFrame_PayloadChunk::release_body() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PayloadTransferFrame.PayloadChunk.body)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.body_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.body_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::set_allocated_body(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.body_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.body_.IsDefault()) {
|
|
_impl_.body_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PayloadTransferFrame.PayloadChunk.body)
|
|
}
|
|
|
|
// optional int32 index = 4;
|
|
inline bool PayloadTransferFrame_PayloadChunk::has_index() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::clear_index() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.index_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline ::int32_t PayloadTransferFrame_PayloadChunk::index() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.PayloadChunk.index)
|
|
return _internal_index();
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::set_index(::int32_t value) {
|
|
_internal_set_index(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.PayloadChunk.index)
|
|
}
|
|
inline ::int32_t PayloadTransferFrame_PayloadChunk::_internal_index() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.index_;
|
|
}
|
|
inline void PayloadTransferFrame_PayloadChunk::_internal_set_index(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.index_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PayloadTransferFrame_ControlMessage
|
|
|
|
// optional .location.nearby.connections.PayloadTransferFrame.ControlMessage.EventType event = 1;
|
|
inline bool PayloadTransferFrame_ControlMessage::has_event() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_ControlMessage::clear_event() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.event_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType PayloadTransferFrame_ControlMessage::event() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.ControlMessage.event)
|
|
return _internal_event();
|
|
}
|
|
inline void PayloadTransferFrame_ControlMessage::set_event(::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType value) {
|
|
_internal_set_event(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.ControlMessage.event)
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType PayloadTransferFrame_ControlMessage::_internal_event() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType>(_impl_.event_);
|
|
}
|
|
inline void PayloadTransferFrame_ControlMessage::_internal_set_event(::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType_internal_data_));
|
|
_impl_.event_ = value;
|
|
}
|
|
|
|
// optional int64 offset = 2;
|
|
inline bool PayloadTransferFrame_ControlMessage::has_offset() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame_ControlMessage::clear_offset() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.offset_ = ::int64_t{0};
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_ControlMessage::offset() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.ControlMessage.offset)
|
|
return _internal_offset();
|
|
}
|
|
inline void PayloadTransferFrame_ControlMessage::set_offset(::int64_t value) {
|
|
_internal_set_offset(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.ControlMessage.offset)
|
|
}
|
|
inline ::int64_t PayloadTransferFrame_ControlMessage::_internal_offset() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.offset_;
|
|
}
|
|
inline void PayloadTransferFrame_ControlMessage::_internal_set_offset(::int64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.offset_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PayloadTransferFrame
|
|
|
|
// optional .location.nearby.connections.PayloadTransferFrame.PacketType packet_type = 1;
|
|
inline bool PayloadTransferFrame::has_packet_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame::clear_packet_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.packet_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PacketType PayloadTransferFrame::packet_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.packet_type)
|
|
return _internal_packet_type();
|
|
}
|
|
inline void PayloadTransferFrame::set_packet_type(::location::nearby::connections::PayloadTransferFrame_PacketType value) {
|
|
_internal_set_packet_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PayloadTransferFrame.packet_type)
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PacketType PayloadTransferFrame::_internal_packet_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::PayloadTransferFrame_PacketType>(_impl_.packet_type_);
|
|
}
|
|
inline void PayloadTransferFrame::_internal_set_packet_type(::location::nearby::connections::PayloadTransferFrame_PacketType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::PayloadTransferFrame_PacketType_internal_data_));
|
|
_impl_.packet_type_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.PayloadTransferFrame.PayloadHeader payload_header = 2;
|
|
inline bool PayloadTransferFrame::has_payload_header() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.payload_header_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame::clear_payload_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.payload_header_ != nullptr) _impl_.payload_header_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::connections::PayloadTransferFrame_PayloadHeader& PayloadTransferFrame::_internal_payload_header() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::PayloadTransferFrame_PayloadHeader* p = _impl_.payload_header_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::PayloadTransferFrame_PayloadHeader&>(::location::nearby::connections::_PayloadTransferFrame_PayloadHeader_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::PayloadTransferFrame_PayloadHeader& PayloadTransferFrame::payload_header() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.payload_header)
|
|
return _internal_payload_header();
|
|
}
|
|
inline void PayloadTransferFrame::unsafe_arena_set_allocated_payload_header(
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payload_header_);
|
|
}
|
|
_impl_.payload_header_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_PayloadHeader*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.PayloadTransferFrame.payload_header)
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE PayloadTransferFrame::release_payload_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader* released = _impl_.payload_header_;
|
|
_impl_.payload_header_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE PayloadTransferFrame::unsafe_arena_release_payload_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PayloadTransferFrame.payload_header)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader* temp = _impl_.payload_header_;
|
|
_impl_.payload_header_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL PayloadTransferFrame::_internal_mutable_payload_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.payload_header_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::PayloadTransferFrame_PayloadHeader>(GetArena());
|
|
_impl_.payload_header_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_PayloadHeader*>(p);
|
|
}
|
|
return _impl_.payload_header_;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NONNULL PayloadTransferFrame::mutable_payload_header()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadHeader* _msg = _internal_mutable_payload_header();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PayloadTransferFrame.payload_header)
|
|
return _msg;
|
|
}
|
|
inline void PayloadTransferFrame::set_allocated_payload_header(::location::nearby::connections::PayloadTransferFrame_PayloadHeader* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payload_header_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
|
|
_impl_.payload_header_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_PayloadHeader*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PayloadTransferFrame.payload_header)
|
|
}
|
|
|
|
// optional .location.nearby.connections.PayloadTransferFrame.PayloadChunk payload_chunk = 3;
|
|
inline bool PayloadTransferFrame::has_payload_chunk() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
PROTOBUF_ASSUME(!value || _impl_.payload_chunk_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame::clear_payload_chunk() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.payload_chunk_ != nullptr) _impl_.payload_chunk_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::location::nearby::connections::PayloadTransferFrame_PayloadChunk& PayloadTransferFrame::_internal_payload_chunk() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::PayloadTransferFrame_PayloadChunk* p = _impl_.payload_chunk_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::PayloadTransferFrame_PayloadChunk&>(::location::nearby::connections::_PayloadTransferFrame_PayloadChunk_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::PayloadTransferFrame_PayloadChunk& PayloadTransferFrame::payload_chunk() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.payload_chunk)
|
|
return _internal_payload_chunk();
|
|
}
|
|
inline void PayloadTransferFrame::unsafe_arena_set_allocated_payload_chunk(
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payload_chunk_);
|
|
}
|
|
_impl_.payload_chunk_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_PayloadChunk*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.PayloadTransferFrame.payload_chunk)
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE PayloadTransferFrame::release_payload_chunk() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadChunk* released = _impl_.payload_chunk_;
|
|
_impl_.payload_chunk_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE PayloadTransferFrame::unsafe_arena_release_payload_chunk() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PayloadTransferFrame.payload_chunk)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadChunk* temp = _impl_.payload_chunk_;
|
|
_impl_.payload_chunk_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL PayloadTransferFrame::_internal_mutable_payload_chunk() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.payload_chunk_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::PayloadTransferFrame_PayloadChunk>(GetArena());
|
|
_impl_.payload_chunk_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_PayloadChunk*>(p);
|
|
}
|
|
return _impl_.payload_chunk_;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NONNULL PayloadTransferFrame::mutable_payload_chunk()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::PayloadTransferFrame_PayloadChunk* _msg = _internal_mutable_payload_chunk();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PayloadTransferFrame.payload_chunk)
|
|
return _msg;
|
|
}
|
|
inline void PayloadTransferFrame::set_allocated_payload_chunk(::location::nearby::connections::PayloadTransferFrame_PayloadChunk* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payload_chunk_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
|
|
_impl_.payload_chunk_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_PayloadChunk*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PayloadTransferFrame.payload_chunk)
|
|
}
|
|
|
|
// optional .location.nearby.connections.PayloadTransferFrame.ControlMessage control_message = 4;
|
|
inline bool PayloadTransferFrame::has_control_message() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
PROTOBUF_ASSUME(!value || _impl_.control_message_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void PayloadTransferFrame::clear_control_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.control_message_ != nullptr) _impl_.control_message_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::location::nearby::connections::PayloadTransferFrame_ControlMessage& PayloadTransferFrame::_internal_control_message() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::PayloadTransferFrame_ControlMessage* p = _impl_.control_message_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::PayloadTransferFrame_ControlMessage&>(::location::nearby::connections::_PayloadTransferFrame_ControlMessage_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::PayloadTransferFrame_ControlMessage& PayloadTransferFrame::control_message() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PayloadTransferFrame.control_message)
|
|
return _internal_control_message();
|
|
}
|
|
inline void PayloadTransferFrame::unsafe_arena_set_allocated_control_message(
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.control_message_);
|
|
}
|
|
_impl_.control_message_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_ControlMessage*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.PayloadTransferFrame.control_message)
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE PayloadTransferFrame::release_control_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage* released = _impl_.control_message_;
|
|
_impl_.control_message_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE PayloadTransferFrame::unsafe_arena_release_control_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PayloadTransferFrame.control_message)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage* temp = _impl_.control_message_;
|
|
_impl_.control_message_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL PayloadTransferFrame::_internal_mutable_control_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.control_message_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::PayloadTransferFrame_ControlMessage>(GetArena());
|
|
_impl_.control_message_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_ControlMessage*>(p);
|
|
}
|
|
return _impl_.control_message_;
|
|
}
|
|
inline ::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NONNULL PayloadTransferFrame::mutable_control_message()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::PayloadTransferFrame_ControlMessage* _msg = _internal_mutable_control_message();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PayloadTransferFrame.control_message)
|
|
return _msg;
|
|
}
|
|
inline void PayloadTransferFrame::set_allocated_control_message(::location::nearby::connections::PayloadTransferFrame_ControlMessage* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.control_message_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
|
|
_impl_.control_message_ = reinterpret_cast<::location::nearby::connections::PayloadTransferFrame_ControlMessage*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PayloadTransferFrame.control_message)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ServiceAddress
|
|
|
|
// optional bytes ip_address = 1;
|
|
inline bool ServiceAddress::has_ip_address() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void ServiceAddress::clear_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ip_address_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& ServiceAddress::ip_address() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ServiceAddress.ip_address)
|
|
return _internal_ip_address();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ServiceAddress::set_ip_address(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.ip_address_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ServiceAddress.ip_address)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ServiceAddress::mutable_ip_address()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_ip_address();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ServiceAddress.ip_address)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ServiceAddress::_internal_ip_address() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ip_address_.Get();
|
|
}
|
|
inline void ServiceAddress::_internal_set_ip_address(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ip_address_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ServiceAddress::_internal_mutable_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.ip_address_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ServiceAddress::release_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ServiceAddress.ip_address)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.ip_address_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.ip_address_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ServiceAddress::set_allocated_ip_address(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.ip_address_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ip_address_.IsDefault()) {
|
|
_impl_.ip_address_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ServiceAddress.ip_address)
|
|
}
|
|
|
|
// optional int32 port = 2;
|
|
inline bool ServiceAddress::has_port() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void ServiceAddress::clear_port() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.port_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::int32_t ServiceAddress::port() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ServiceAddress.port)
|
|
return _internal_port();
|
|
}
|
|
inline void ServiceAddress::set_port(::int32_t value) {
|
|
_internal_set_port(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ServiceAddress.port)
|
|
}
|
|
inline ::int32_t ServiceAddress::_internal_port() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.port_;
|
|
}
|
|
inline void ServiceAddress::_internal_set_port(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.port_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials
|
|
|
|
// optional string ssid = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::has_ssid() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::clear_ssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ssid_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::ssid() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.ssid)
|
|
return _internal_ssid();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::set_ssid(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.ssid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.ssid)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::mutable_ssid()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_ssid();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.ssid)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_ssid() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ssid_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_set_ssid(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ssid_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_mutable_ssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.ssid_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::release_ssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.ssid)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.ssid_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.ssid_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::set_allocated_ssid(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.ssid_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ssid_.IsDefault()) {
|
|
_impl_.ssid_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.ssid)
|
|
}
|
|
|
|
// optional string password = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::has_password() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::clear_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.password_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::password() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.password)
|
|
return _internal_password();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::set_password(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
_impl_.password_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.password)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::mutable_password()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::std::string* _s = _internal_mutable_password();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.password)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_password() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.password_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_set_password(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.password_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_mutable_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.password_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::release_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.password)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
auto* released = _impl_.password_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.password_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::set_allocated_password(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
_impl_.password_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.password_.IsDefault()) {
|
|
_impl_.password_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.password)
|
|
}
|
|
|
|
// optional int32 port = 3;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::has_port() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::clear_port() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.port_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::port() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.port)
|
|
return _internal_port();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::set_port(::int32_t value) {
|
|
_internal_set_port(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.port)
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_port() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.port_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_set_port(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.port_ = value;
|
|
}
|
|
|
|
// optional string gateway = 4 [default = "0.0.0.0"];
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::has_gateway() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::clear_gateway() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.gateway_.ClearToDefault(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::Impl_::_i_give_permission_to_break_this_code_default_gateway_, GetArena());
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::gateway() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.gateway)
|
|
if (_impl_.gateway_.IsDefault()) {
|
|
return Impl_::_i_give_permission_to_break_this_code_default_gateway_.get();
|
|
}
|
|
return _internal_gateway();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::set_gateway(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
_impl_.gateway_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.gateway)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::mutable_gateway()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::std::string* _s = _internal_mutable_gateway();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.gateway)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_gateway() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.gateway_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_set_gateway(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.gateway_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_mutable_gateway() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.gateway_.Mutable(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::Impl_::_i_give_permission_to_break_this_code_default_gateway_, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::release_gateway() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.gateway)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return _impl_.gateway_.Release();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::set_allocated_gateway(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
_impl_.gateway_.SetAllocated(value, GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.gateway)
|
|
}
|
|
|
|
// optional int32 frequency = 5 [default = -1];
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::has_frequency() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::clear_frequency() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.frequency_ = -1;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::frequency() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.frequency)
|
|
return _internal_frequency();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::set_frequency(::int32_t value) {
|
|
_internal_set_frequency(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.frequency)
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_frequency() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.frequency_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_set_frequency(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.frequency_ = value;
|
|
}
|
|
|
|
// repeated .location.nearby.connections.ServiceAddress address_candidates = 6;
|
|
inline int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_address_candidates_size() const {
|
|
return _internal_address_candidates().size();
|
|
}
|
|
inline int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::address_candidates_size() const {
|
|
return _internal_address_candidates_size();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::clear_address_candidates() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.address_candidates_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::connections::ServiceAddress* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::mutable_address_candidates(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.address_candidates)
|
|
return _internal_mutable_address_candidates()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::mutable_address_candidates()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.address_candidates)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_address_candidates();
|
|
}
|
|
inline const ::location::nearby::connections::ServiceAddress& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::address_candidates(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.address_candidates)
|
|
return _internal_address_candidates().Get(index);
|
|
}
|
|
inline ::location::nearby::connections::ServiceAddress* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::add_address_candidates()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::location::nearby::connections::ServiceAddress* _add =
|
|
_internal_mutable_address_candidates()->InternalAddWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), GetArena());
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.address_candidates)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::address_candidates() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials.address_candidates)
|
|
return _internal_address_candidates();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>&
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_address_candidates() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.address_candidates_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>* PROTOBUF_NONNULL
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials::_internal_mutable_address_candidates() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.address_candidates_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket
|
|
|
|
// optional bytes ip_address = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::has_ip_address() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::clear_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ip_address_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::ip_address() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.ip_address)
|
|
return _internal_ip_address();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::set_ip_address(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.ip_address_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.ip_address)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::mutable_ip_address()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_ip_address();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.ip_address)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::_internal_ip_address() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ip_address_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::_internal_set_ip_address(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ip_address_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::_internal_mutable_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.ip_address_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::release_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.ip_address)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.ip_address_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.ip_address_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::set_allocated_ip_address(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.ip_address_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ip_address_.IsDefault()) {
|
|
_impl_.ip_address_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.ip_address)
|
|
}
|
|
|
|
// optional int32 wifi_port = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::has_wifi_port() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::clear_wifi_port() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.wifi_port_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::wifi_port() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.wifi_port)
|
|
return _internal_wifi_port();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::set_wifi_port(::int32_t value) {
|
|
_internal_set_wifi_port(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.wifi_port)
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::_internal_wifi_port() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.wifi_port_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::_internal_set_wifi_port(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.wifi_port_ = value;
|
|
}
|
|
|
|
// repeated .location.nearby.connections.ServiceAddress address_candidates = 3;
|
|
inline int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::_internal_address_candidates_size() const {
|
|
return _internal_address_candidates().size();
|
|
}
|
|
inline int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::address_candidates_size() const {
|
|
return _internal_address_candidates_size();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::clear_address_candidates() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.address_candidates_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::connections::ServiceAddress* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::mutable_address_candidates(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.address_candidates)
|
|
return _internal_mutable_address_candidates()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::mutable_address_candidates()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.address_candidates)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_address_candidates();
|
|
}
|
|
inline const ::location::nearby::connections::ServiceAddress& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::address_candidates(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.address_candidates)
|
|
return _internal_address_candidates().Get(index);
|
|
}
|
|
inline ::location::nearby::connections::ServiceAddress* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::add_address_candidates()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::location::nearby::connections::ServiceAddress* _add =
|
|
_internal_mutable_address_candidates()->InternalAddWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), GetArena());
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.address_candidates)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::address_candidates() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket.address_candidates)
|
|
return _internal_address_candidates();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>&
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::_internal_address_candidates() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.address_candidates_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::location::nearby::connections::ServiceAddress>* PROTOBUF_NONNULL
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket::_internal_mutable_address_candidates() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.address_candidates_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials
|
|
|
|
// optional string service_name = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::has_service_name() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::clear_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_name_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::service_name() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.service_name)
|
|
return _internal_service_name();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::set_service_name(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.service_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.service_name)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::mutable_service_name()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_service_name();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.service_name)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::_internal_service_name() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_name_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::_internal_set_service_name(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_name_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::_internal_mutable_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_name_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::release_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.service_name)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.service_name_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_name_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::set_allocated_service_name(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.service_name_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_name_.IsDefault()) {
|
|
_impl_.service_name_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.service_name)
|
|
}
|
|
|
|
// optional string mac_address = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::has_mac_address() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::clear_mac_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mac_address_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::mac_address() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.mac_address)
|
|
return _internal_mac_address();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::set_mac_address(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.mac_address_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.mac_address)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::mutable_mac_address()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_mac_address();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.mac_address)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::_internal_mac_address() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mac_address_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::_internal_set_mac_address(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mac_address_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::_internal_mutable_mac_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.mac_address_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::release_mac_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.mac_address)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.mac_address_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.mac_address_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials::set_allocated_mac_address(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.mac_address_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mac_address_.IsDefault()) {
|
|
_impl_.mac_address_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials.mac_address)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials
|
|
|
|
// optional string service_id = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::has_service_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::clear_service_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::service_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_id)
|
|
return _internal_service_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::set_service_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.service_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::mutable_service_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_service_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_service_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_id_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_set_service_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_mutable_service_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::release_service_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.service_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::set_allocated_service_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.service_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_id_.IsDefault()) {
|
|
_impl_.service_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_id)
|
|
}
|
|
|
|
// optional bytes service_info = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::has_service_info() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::clear_service_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_info_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::service_info() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_info)
|
|
return _internal_service_info();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::set_service_info(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.service_info_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_info)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::mutable_service_info()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_service_info();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_info)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_service_info() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_info_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_set_service_info(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_info_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_mutable_service_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_info_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::release_service_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_info)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.service_info_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_info_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::set_allocated_service_info(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.service_info_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_info_.IsDefault()) {
|
|
_impl_.service_info_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.service_info)
|
|
}
|
|
|
|
// optional string password = 3;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::has_password() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::clear_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.password_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::password() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.password)
|
|
return _internal_password();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::set_password(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
_impl_.password_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.password)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::mutable_password()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::std::string* _s = _internal_mutable_password();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.password)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_password() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.password_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_set_password(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.password_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::_internal_mutable_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.password_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::release_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.password)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
auto* released = _impl_.password_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.password_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials::set_allocated_password(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
_impl_.password_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.password_.IsDefault()) {
|
|
_impl_.password_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials.password)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials
|
|
|
|
// optional string ssid = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_ssid() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_ssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ssid_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::ssid() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ssid)
|
|
return _internal_ssid();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_ssid(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.ssid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ssid)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::mutable_ssid()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_ssid();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ssid)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_ssid() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ssid_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_ssid(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ssid_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_mutable_ssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.ssid_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::release_ssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ssid)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.ssid_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.ssid_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_allocated_ssid(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.ssid_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ssid_.IsDefault()) {
|
|
_impl_.ssid_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ssid)
|
|
}
|
|
|
|
// optional string password = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_password() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.password_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::password() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.password)
|
|
return _internal_password();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_password(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.password_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.password)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::mutable_password()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_password();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.password)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_password() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.password_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_password(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.password_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_mutable_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.password_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::release_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.password)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.password_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.password_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_allocated_password(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.password_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.password_.IsDefault()) {
|
|
_impl_.password_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.password)
|
|
}
|
|
|
|
// optional int32 port = 3;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_port() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_port() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.port_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000080U);
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::port() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.port)
|
|
return _internal_port();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_port(::int32_t value) {
|
|
_internal_set_port(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.port)
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_port() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.port_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_port(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.port_ = value;
|
|
}
|
|
|
|
// optional int32 frequency = 4;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_frequency() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_frequency() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.frequency_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000100U);
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::frequency() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.frequency)
|
|
return _internal_frequency();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_frequency(::int32_t value) {
|
|
_internal_set_frequency(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.frequency)
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_frequency() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.frequency_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_frequency(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.frequency_ = value;
|
|
}
|
|
|
|
// optional string gateway = 5 [default = "0.0.0.0"];
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_gateway() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_gateway() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.gateway_.ClearToDefault(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::Impl_::_i_give_permission_to_break_this_code_default_gateway_, GetArena());
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::gateway() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.gateway)
|
|
if (_impl_.gateway_.IsDefault()) {
|
|
return Impl_::_i_give_permission_to_break_this_code_default_gateway_.get();
|
|
}
|
|
return _internal_gateway();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_gateway(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
_impl_.gateway_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.gateway)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::mutable_gateway()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::std::string* _s = _internal_mutable_gateway();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.gateway)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_gateway() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.gateway_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_gateway(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.gateway_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_mutable_gateway() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.gateway_.Mutable(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::Impl_::_i_give_permission_to_break_this_code_default_gateway_, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::release_gateway() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.gateway)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return _impl_.gateway_.Release();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_allocated_gateway(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
_impl_.gateway_.SetAllocated(value, GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.gateway)
|
|
}
|
|
|
|
// optional bytes ip_v6_address = 6;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_ip_v6_address() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_ip_v6_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ip_v6_address_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::ip_v6_address() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ip_v6_address)
|
|
return _internal_ip_v6_address();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_ip_v6_address(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
_impl_.ip_v6_address_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ip_v6_address)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::mutable_ip_v6_address()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::std::string* _s = _internal_mutable_ip_v6_address();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ip_v6_address)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_ip_v6_address() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ip_v6_address_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_ip_v6_address(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ip_v6_address_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_mutable_ip_v6_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.ip_v6_address_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::release_ip_v6_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ip_v6_address)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
auto* released = _impl_.ip_v6_address_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.ip_v6_address_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_allocated_ip_v6_address(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
_impl_.ip_v6_address_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ip_v6_address_.IsDefault()) {
|
|
_impl_.ip_v6_address_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ip_v6_address)
|
|
}
|
|
|
|
// optional string service_name = 7 [deprecated = true];
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_service_name() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_name_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::service_name() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.service_name)
|
|
return _internal_service_name();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_service_name(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
_impl_.service_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.service_name)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::mutable_service_name()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::std::string* _s = _internal_mutable_service_name();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.service_name)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_service_name() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_name_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_service_name(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_name_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_mutable_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_name_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::release_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.service_name)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
auto* released = _impl_.service_name_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_name_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_allocated_service_name(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
_impl_.service_name_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_name_.IsDefault()) {
|
|
_impl_.service_name_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.service_name)
|
|
}
|
|
|
|
// optional string device_name = 9;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_device_name() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_device_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_name_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::device_name() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
|
return _internal_device_name();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_device_name(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
_impl_.device_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::mutable_device_name()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::std::string* _s = _internal_mutable_device_name();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_device_name() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.device_name_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_device_name(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_name_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_mutable_device_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.device_name_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::release_device_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000040U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
auto* released = _impl_.device_name_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.device_name_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_allocated_device_name(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
_impl_.device_name_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.device_name_.IsDefault()) {
|
|
_impl_.device_name_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
|
}
|
|
|
|
// optional string pin = 8;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_pin() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_pin() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.pin_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::pin() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.pin)
|
|
return _internal_pin();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_pin(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
_impl_.pin_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.pin)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::mutable_pin()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::std::string* _s = _internal_mutable_pin();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.pin)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_pin() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.pin_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_pin(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.pin_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_mutable_pin() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.pin_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::release_pin() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.pin)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000020U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
auto* released = _impl_.pin_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.pin_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_allocated_pin(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
_impl_.pin_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.pin_.IsDefault()) {
|
|
_impl_.pin_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.pin)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials
|
|
|
|
// optional string peer_id = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::has_peer_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::clear_peer_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.peer_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::peer_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.peer_id)
|
|
return _internal_peer_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::set_peer_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.peer_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.peer_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::mutable_peer_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_peer_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.peer_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::_internal_peer_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.peer_id_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::_internal_set_peer_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.peer_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::_internal_mutable_peer_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.peer_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::release_peer_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.peer_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.peer_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.peer_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::set_allocated_peer_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.peer_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.peer_id_.IsDefault()) {
|
|
_impl_.peer_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.peer_id)
|
|
}
|
|
|
|
// optional .location.nearby.connections.LocationHint location_hint = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::has_location_hint() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
PROTOBUF_ASSUME(!value || _impl_.location_hint_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::clear_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.location_hint_ != nullptr) _impl_.location_hint_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::location::nearby::connections::LocationHint& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::_internal_location_hint() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::LocationHint* p = _impl_.location_hint_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::LocationHint&>(::location::nearby::connections::_LocationHint_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::LocationHint& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::location_hint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.location_hint)
|
|
return _internal_location_hint();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::unsafe_arena_set_allocated_location_hint(
|
|
::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_hint_);
|
|
}
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.location_hint)
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::release_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::LocationHint* released = _impl_.location_hint_;
|
|
_impl_.location_hint_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::unsafe_arena_release_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.location_hint)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::LocationHint* temp = _impl_.location_hint_;
|
|
_impl_.location_hint_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::_internal_mutable_location_hint() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.location_hint_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::LocationHint>(GetArena());
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(p);
|
|
}
|
|
return _impl_.location_hint_;
|
|
}
|
|
inline ::location::nearby::connections::LocationHint* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::mutable_location_hint()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::LocationHint* _msg = _internal_mutable_location_hint();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.location_hint)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::set_allocated_location_hint(::location::nearby::connections::LocationHint* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_hint_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
|
|
_impl_.location_hint_ = reinterpret_cast<::location::nearby::connections::LocationHint*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials.location_hint)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials
|
|
|
|
// optional string service_name = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::has_service_name() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::clear_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_name_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::service_name() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
|
return _internal_service_name();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_service_name(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.service_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::mutable_service_name()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_service_name();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_service_name() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_name_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_set_service_name(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_name_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_mutable_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_name_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::release_service_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.service_name_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_name_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_allocated_service_name(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.service_name_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_name_.IsDefault()) {
|
|
_impl_.service_name_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
|
}
|
|
|
|
// optional string service_type = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::has_service_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::clear_service_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_type_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::service_type() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
|
return _internal_service_type();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_service_type(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.service_type_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::mutable_service_type()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_service_type();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_service_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_type_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_set_service_type(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_type_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_mutable_service_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_type_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::release_service_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.service_type_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_type_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_allocated_service_type(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.service_type_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_type_.IsDefault()) {
|
|
_impl_.service_type_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
|
}
|
|
|
|
// optional string password = 3;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::has_password() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::clear_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.password_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::password() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.password)
|
|
return _internal_password();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_password(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
_impl_.password_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.password)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::mutable_password()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::std::string* _s = _internal_mutable_password();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.password)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_password() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.password_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_set_password(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.password_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_mutable_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.password_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::release_password() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.password)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
auto* released = _impl_.password_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.password_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_allocated_password(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
_impl_.password_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.password_.IsDefault()) {
|
|
_impl_.password_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.password)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest
|
|
|
|
// repeated .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium mediums = 1 [packed = true];
|
|
inline int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::_internal_mediums_size() const {
|
|
return _internal_mediums().size();
|
|
}
|
|
inline int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::mediums_size() const {
|
|
return _internal_mediums_size();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::clear_mediums() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mediums_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::mediums(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.mediums)
|
|
return static_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium>(_internal_mediums().Get(index));
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::set_mediums(int index, ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_internal_data_));
|
|
_internal_mutable_mediums()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.mediums)
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::add_mediums(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_internal_data_));
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_mediums()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.mediums)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::mediums() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.mediums)
|
|
return _internal_mediums();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::mutable_mediums()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.mediums)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_mediums();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::_internal_mediums()
|
|
const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mediums_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
|
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::_internal_mutable_mediums() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.mediums_;
|
|
}
|
|
|
|
// optional .location.nearby.connections.MediumMetadata medium_meta_data = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::has_medium_meta_data() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
PROTOBUF_ASSUME(!value || _impl_.medium_meta_data_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::clear_medium_meta_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.medium_meta_data_ != nullptr) _impl_.medium_meta_data_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::location::nearby::connections::MediumMetadata& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::_internal_medium_meta_data() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::MediumMetadata* p = _impl_.medium_meta_data_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::MediumMetadata&>(::location::nearby::connections::_MediumMetadata_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::MediumMetadata& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::medium_meta_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.medium_meta_data)
|
|
return _internal_medium_meta_data();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::unsafe_arena_set_allocated_medium_meta_data(
|
|
::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.medium_meta_data_);
|
|
}
|
|
_impl_.medium_meta_data_ = reinterpret_cast<::location::nearby::connections::MediumMetadata*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.medium_meta_data)
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::release_medium_meta_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::MediumMetadata* released = _impl_.medium_meta_data_;
|
|
_impl_.medium_meta_data_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::unsafe_arena_release_medium_meta_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.medium_meta_data)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::MediumMetadata* temp = _impl_.medium_meta_data_;
|
|
_impl_.medium_meta_data_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::_internal_mutable_medium_meta_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.medium_meta_data_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::MediumMetadata>(GetArena());
|
|
_impl_.medium_meta_data_ = reinterpret_cast<::location::nearby::connections::MediumMetadata*>(p);
|
|
}
|
|
return _impl_.medium_meta_data_;
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::mutable_medium_meta_data()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::MediumMetadata* _msg = _internal_mutable_medium_meta_data();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.medium_meta_data)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::set_allocated_medium_meta_data(::location::nearby::connections::MediumMetadata* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.medium_meta_data_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
|
|
_impl_.medium_meta_data_ = reinterpret_cast<::location::nearby::connections::MediumMetadata*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest.medium_meta_data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium medium = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_medium() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_medium() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.medium_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000100U);
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::medium() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.medium)
|
|
return _internal_medium();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_medium(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value) {
|
|
_internal_set_medium(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.medium)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_medium() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium>(_impl_.medium_);
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_set_medium(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_internal_data_));
|
|
_impl_.medium_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials wifi_hotspot_credentials = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_wifi_hotspot_credentials() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.wifi_hotspot_credentials_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_wifi_hotspot_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_hotspot_credentials_ != nullptr) _impl_.wifi_hotspot_credentials_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_wifi_hotspot_credentials() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* p = _impl_.wifi_hotspot_credentials_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::wifi_hotspot_credentials() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_hotspot_credentials)
|
|
return _internal_wifi_hotspot_credentials();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_wifi_hotspot_credentials(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_hotspot_credentials_);
|
|
}
|
|
_impl_.wifi_hotspot_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_hotspot_credentials)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_wifi_hotspot_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* released = _impl_.wifi_hotspot_credentials_;
|
|
_impl_.wifi_hotspot_credentials_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_wifi_hotspot_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_hotspot_credentials)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* temp = _impl_.wifi_hotspot_credentials_;
|
|
_impl_.wifi_hotspot_credentials_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_wifi_hotspot_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_hotspot_credentials_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials>(GetArena());
|
|
_impl_.wifi_hotspot_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials*>(p);
|
|
}
|
|
return _impl_.wifi_hotspot_credentials_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_wifi_hotspot_credentials()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* _msg = _internal_mutable_wifi_hotspot_credentials();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_hotspot_credentials)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_wifi_hotspot_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_hotspot_credentials_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
|
|
_impl_.wifi_hotspot_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_hotspot_credentials)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiLanSocket wifi_lan_socket = 3;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_wifi_lan_socket() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
PROTOBUF_ASSUME(!value || _impl_.wifi_lan_socket_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_wifi_lan_socket() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_lan_socket_ != nullptr) _impl_.wifi_lan_socket_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_wifi_lan_socket() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* p = _impl_.wifi_lan_socket_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::wifi_lan_socket() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_lan_socket)
|
|
return _internal_wifi_lan_socket();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_wifi_lan_socket(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_lan_socket_);
|
|
}
|
|
_impl_.wifi_lan_socket_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_lan_socket)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_wifi_lan_socket() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* released = _impl_.wifi_lan_socket_;
|
|
_impl_.wifi_lan_socket_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_wifi_lan_socket() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_lan_socket)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* temp = _impl_.wifi_lan_socket_;
|
|
_impl_.wifi_lan_socket_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_wifi_lan_socket() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_lan_socket_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket>(GetArena());
|
|
_impl_.wifi_lan_socket_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket*>(p);
|
|
}
|
|
return _impl_.wifi_lan_socket_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_wifi_lan_socket()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* _msg = _internal_mutable_wifi_lan_socket();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_lan_socket)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_wifi_lan_socket(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_lan_socket_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
|
|
_impl_.wifi_lan_socket_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiLanSocket*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_lan_socket)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.BluetoothCredentials bluetooth_credentials = 4;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_bluetooth_credentials() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
PROTOBUF_ASSUME(!value || _impl_.bluetooth_credentials_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_bluetooth_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.bluetooth_credentials_ != nullptr) _impl_.bluetooth_credentials_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_bluetooth_credentials() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* p = _impl_.bluetooth_credentials_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::bluetooth_credentials() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.bluetooth_credentials)
|
|
return _internal_bluetooth_credentials();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_bluetooth_credentials(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bluetooth_credentials_);
|
|
}
|
|
_impl_.bluetooth_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.bluetooth_credentials)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_bluetooth_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* released = _impl_.bluetooth_credentials_;
|
|
_impl_.bluetooth_credentials_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_bluetooth_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.bluetooth_credentials)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* temp = _impl_.bluetooth_credentials_;
|
|
_impl_.bluetooth_credentials_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_bluetooth_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.bluetooth_credentials_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials>(GetArena());
|
|
_impl_.bluetooth_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials*>(p);
|
|
}
|
|
return _impl_.bluetooth_credentials_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_bluetooth_credentials()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* _msg = _internal_mutable_bluetooth_credentials();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.bluetooth_credentials)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_bluetooth_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bluetooth_credentials_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
|
|
_impl_.bluetooth_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.bluetooth_credentials)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiAwareCredentials wifi_aware_credentials = 5;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_wifi_aware_credentials() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
PROTOBUF_ASSUME(!value || _impl_.wifi_aware_credentials_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_wifi_aware_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_aware_credentials_ != nullptr) _impl_.wifi_aware_credentials_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_wifi_aware_credentials() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* p = _impl_.wifi_aware_credentials_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::wifi_aware_credentials() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_aware_credentials)
|
|
return _internal_wifi_aware_credentials();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_wifi_aware_credentials(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_aware_credentials_);
|
|
}
|
|
_impl_.wifi_aware_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_aware_credentials)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_wifi_aware_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* released = _impl_.wifi_aware_credentials_;
|
|
_impl_.wifi_aware_credentials_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_wifi_aware_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_aware_credentials)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* temp = _impl_.wifi_aware_credentials_;
|
|
_impl_.wifi_aware_credentials_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_wifi_aware_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_aware_credentials_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials>(GetArena());
|
|
_impl_.wifi_aware_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials*>(p);
|
|
}
|
|
return _impl_.wifi_aware_credentials_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_wifi_aware_credentials()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* _msg = _internal_mutable_wifi_aware_credentials();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_aware_credentials)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_wifi_aware_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_aware_credentials_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
|
|
_impl_.wifi_aware_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_aware_credentials)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials wifi_direct_credentials = 6;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_wifi_direct_credentials() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
PROTOBUF_ASSUME(!value || _impl_.wifi_direct_credentials_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_wifi_direct_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_direct_credentials_ != nullptr) _impl_.wifi_direct_credentials_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_wifi_direct_credentials() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* p = _impl_.wifi_direct_credentials_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::wifi_direct_credentials() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_direct_credentials)
|
|
return _internal_wifi_direct_credentials();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_wifi_direct_credentials(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_direct_credentials_);
|
|
}
|
|
_impl_.wifi_direct_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_direct_credentials)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_wifi_direct_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* released = _impl_.wifi_direct_credentials_;
|
|
_impl_.wifi_direct_credentials_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_wifi_direct_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_direct_credentials)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* temp = _impl_.wifi_direct_credentials_;
|
|
_impl_.wifi_direct_credentials_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_wifi_direct_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_direct_credentials_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials>(GetArena());
|
|
_impl_.wifi_direct_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials*>(p);
|
|
}
|
|
return _impl_.wifi_direct_credentials_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_wifi_direct_credentials()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* _msg = _internal_mutable_wifi_direct_credentials();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_direct_credentials)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_wifi_direct_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_direct_credentials_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
|
|
_impl_.wifi_direct_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.wifi_direct_credentials)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WebRtcCredentials web_rtc_credentials = 8;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_web_rtc_credentials() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
PROTOBUF_ASSUME(!value || _impl_.web_rtc_credentials_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_web_rtc_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.web_rtc_credentials_ != nullptr) _impl_.web_rtc_credentials_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_web_rtc_credentials() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* p = _impl_.web_rtc_credentials_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::web_rtc_credentials() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.web_rtc_credentials)
|
|
return _internal_web_rtc_credentials();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_web_rtc_credentials(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.web_rtc_credentials_);
|
|
}
|
|
_impl_.web_rtc_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.web_rtc_credentials)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_web_rtc_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* released = _impl_.web_rtc_credentials_;
|
|
_impl_.web_rtc_credentials_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_web_rtc_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.web_rtc_credentials)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* temp = _impl_.web_rtc_credentials_;
|
|
_impl_.web_rtc_credentials_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_web_rtc_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.web_rtc_credentials_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials>(GetArena());
|
|
_impl_.web_rtc_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials*>(p);
|
|
}
|
|
return _impl_.web_rtc_credentials_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_web_rtc_credentials()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* _msg = _internal_mutable_web_rtc_credentials();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.web_rtc_credentials)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_web_rtc_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.web_rtc_credentials_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
|
|
_impl_.web_rtc_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.web_rtc_credentials)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials awdl_credentials = 11;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_awdl_credentials() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
PROTOBUF_ASSUME(!value || _impl_.awdl_credentials_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_awdl_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.awdl_credentials_ != nullptr) _impl_.awdl_credentials_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000080U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_awdl_credentials() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* p = _impl_.awdl_credentials_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::awdl_credentials() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
|
return _internal_awdl_credentials();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_awdl_credentials(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.awdl_credentials_);
|
|
}
|
|
_impl_.awdl_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_awdl_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* released = _impl_.awdl_credentials_;
|
|
_impl_.awdl_credentials_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_awdl_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* temp = _impl_.awdl_credentials_;
|
|
_impl_.awdl_credentials_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_awdl_credentials() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.awdl_credentials_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials>(GetArena());
|
|
_impl_.awdl_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials*>(p);
|
|
}
|
|
return _impl_.awdl_credentials_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_awdl_credentials()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* _msg = _internal_mutable_awdl_credentials();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_awdl_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.awdl_credentials_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
}
|
|
|
|
_impl_.awdl_credentials_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
|
}
|
|
|
|
// optional bool supports_disabling_encryption = 7;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_supports_disabling_encryption() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_supports_disabling_encryption() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_disabling_encryption_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000200U);
|
|
}
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::supports_disabling_encryption() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.supports_disabling_encryption)
|
|
return _internal_supports_disabling_encryption();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_supports_disabling_encryption(bool value) {
|
|
_internal_set_supports_disabling_encryption(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.supports_disabling_encryption)
|
|
}
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_supports_disabling_encryption() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.supports_disabling_encryption_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_set_supports_disabling_encryption(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_disabling_encryption_ = value;
|
|
}
|
|
|
|
// optional bool supports_client_introduction_ack = 9;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_supports_client_introduction_ack() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_supports_client_introduction_ack() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_client_introduction_ack_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000400U);
|
|
}
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::supports_client_introduction_ack() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.supports_client_introduction_ack)
|
|
return _internal_supports_client_introduction_ack();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_supports_client_introduction_ack(bool value) {
|
|
_internal_set_supports_client_introduction_ack(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.supports_client_introduction_ack)
|
|
}
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_supports_client_introduction_ack() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.supports_client_introduction_ack_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_set_supports_client_introduction_ack(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_client_introduction_ack_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest upgrade_path_request = 10;
|
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_upgrade_path_request() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
PROTOBUF_ASSUME(!value || _impl_.upgrade_path_request_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_upgrade_path_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.upgrade_path_request_ != nullptr) _impl_.upgrade_path_request_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_upgrade_path_request() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* p = _impl_.upgrade_path_request_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::upgrade_path_request() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.upgrade_path_request)
|
|
return _internal_upgrade_path_request();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_upgrade_path_request(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upgrade_path_request_);
|
|
}
|
|
_impl_.upgrade_path_request_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.upgrade_path_request)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_upgrade_path_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* released = _impl_.upgrade_path_request_;
|
|
_impl_.upgrade_path_request_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_upgrade_path_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.upgrade_path_request)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* temp = _impl_.upgrade_path_request_;
|
|
_impl_.upgrade_path_request_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_upgrade_path_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.upgrade_path_request_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest>(GetArena());
|
|
_impl_.upgrade_path_request_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest*>(p);
|
|
}
|
|
return _impl_.upgrade_path_request_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_upgrade_path_request()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* _msg = _internal_mutable_upgrade_path_request();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.upgrade_path_request)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_upgrade_path_request(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upgrade_path_request_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
|
|
_impl_.upgrade_path_request_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.upgrade_path_request)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel
|
|
|
|
// optional int32 sta_frequency = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::has_sta_frequency() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::clear_sta_frequency() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sta_frequency_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::sta_frequency() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel.sta_frequency)
|
|
return _internal_sta_frequency();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::set_sta_frequency(::int32_t value) {
|
|
_internal_set_sta_frequency(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel.sta_frequency)
|
|
}
|
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::_internal_sta_frequency() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sta_frequency_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::_internal_set_sta_frequency(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sta_frequency_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_ClientIntroduction
|
|
|
|
// optional string endpoint_id = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame_ClientIntroduction::has_endpoint_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::clear_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_ClientIntroduction::endpoint_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.endpoint_id)
|
|
return _internal_endpoint_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_ClientIntroduction::set_endpoint_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.endpoint_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.endpoint_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_ClientIntroduction::mutable_endpoint_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_endpoint_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.endpoint_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_ClientIntroduction::_internal_endpoint_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.endpoint_id_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::_internal_set_endpoint_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_ClientIntroduction::_internal_mutable_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.endpoint_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_ClientIntroduction::release_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.endpoint_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.endpoint_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.endpoint_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_id_.IsDefault()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.endpoint_id)
|
|
}
|
|
|
|
// optional bool supports_disabling_encryption = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame_ClientIntroduction::has_supports_disabling_encryption() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::clear_supports_disabling_encryption() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_disabling_encryption_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline bool BandwidthUpgradeNegotiationFrame_ClientIntroduction::supports_disabling_encryption() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.supports_disabling_encryption)
|
|
return _internal_supports_disabling_encryption();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::set_supports_disabling_encryption(bool value) {
|
|
_internal_set_supports_disabling_encryption(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.supports_disabling_encryption)
|
|
}
|
|
inline bool BandwidthUpgradeNegotiationFrame_ClientIntroduction::_internal_supports_disabling_encryption() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.supports_disabling_encryption_;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::_internal_set_supports_disabling_encryption(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_disabling_encryption_ = value;
|
|
}
|
|
|
|
// optional string last_endpoint_id = 3;
|
|
inline bool BandwidthUpgradeNegotiationFrame_ClientIntroduction::has_last_endpoint_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::clear_last_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.last_endpoint_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_ClientIntroduction::last_endpoint_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.last_endpoint_id)
|
|
return _internal_last_endpoint_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_ClientIntroduction::set_last_endpoint_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.last_endpoint_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.last_endpoint_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_ClientIntroduction::mutable_last_endpoint_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_last_endpoint_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.last_endpoint_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_ClientIntroduction::_internal_last_endpoint_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.last_endpoint_id_.Get();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::_internal_set_last_endpoint_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.last_endpoint_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_ClientIntroduction::_internal_mutable_last_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.last_endpoint_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_ClientIntroduction::release_last_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.last_endpoint_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.last_endpoint_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.last_endpoint_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::set_allocated_last_endpoint_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.last_endpoint_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.last_endpoint_id_.IsDefault()) {
|
|
_impl_.last_endpoint_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction.last_endpoint_id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame_ClientIntroductionAck
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeNegotiationFrame
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.EventType event_type = 1;
|
|
inline bool BandwidthUpgradeNegotiationFrame::has_event_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::clear_event_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.event_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType BandwidthUpgradeNegotiationFrame::event_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.event_type)
|
|
return _internal_event_type();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::set_event_type(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType value) {
|
|
_internal_set_event_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.event_type)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType BandwidthUpgradeNegotiationFrame::_internal_event_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType>(_impl_.event_type_);
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::_internal_set_event_type(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType_internal_data_));
|
|
_impl_.event_type_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo upgrade_path_info = 2;
|
|
inline bool BandwidthUpgradeNegotiationFrame::has_upgrade_path_info() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.upgrade_path_info_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::clear_upgrade_path_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.upgrade_path_info_ != nullptr) _impl_.upgrade_path_info_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo& BandwidthUpgradeNegotiationFrame::_internal_upgrade_path_info() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* p = _impl_.upgrade_path_info_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo& BandwidthUpgradeNegotiationFrame::upgrade_path_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.upgrade_path_info)
|
|
return _internal_upgrade_path_info();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::unsafe_arena_set_allocated_upgrade_path_info(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upgrade_path_info_);
|
|
}
|
|
_impl_.upgrade_path_info_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.upgrade_path_info)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame::release_upgrade_path_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* released = _impl_.upgrade_path_info_;
|
|
_impl_.upgrade_path_info_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame::unsafe_arena_release_upgrade_path_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.upgrade_path_info)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* temp = _impl_.upgrade_path_info_;
|
|
_impl_.upgrade_path_info_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame::_internal_mutable_upgrade_path_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.upgrade_path_info_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo>(GetArena());
|
|
_impl_.upgrade_path_info_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo*>(p);
|
|
}
|
|
return _impl_.upgrade_path_info_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame::mutable_upgrade_path_info()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* _msg = _internal_mutable_upgrade_path_info();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.upgrade_path_info)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::set_allocated_upgrade_path_info(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upgrade_path_info_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
|
|
_impl_.upgrade_path_info_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.upgrade_path_info)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction client_introduction = 3;
|
|
inline bool BandwidthUpgradeNegotiationFrame::has_client_introduction() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
PROTOBUF_ASSUME(!value || _impl_.client_introduction_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::clear_client_introduction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.client_introduction_ != nullptr) _impl_.client_introduction_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction& BandwidthUpgradeNegotiationFrame::_internal_client_introduction() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* p = _impl_.client_introduction_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_ClientIntroduction_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction& BandwidthUpgradeNegotiationFrame::client_introduction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction)
|
|
return _internal_client_introduction();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::unsafe_arena_set_allocated_client_introduction(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_introduction_);
|
|
}
|
|
_impl_.client_introduction_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame::release_client_introduction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* released = _impl_.client_introduction_;
|
|
_impl_.client_introduction_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame::unsafe_arena_release_client_introduction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* temp = _impl_.client_introduction_;
|
|
_impl_.client_introduction_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame::_internal_mutable_client_introduction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.client_introduction_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction>(GetArena());
|
|
_impl_.client_introduction_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction*>(p);
|
|
}
|
|
return _impl_.client_introduction_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame::mutable_client_introduction()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* _msg = _internal_mutable_client_introduction();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::set_allocated_client_introduction(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_introduction_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
|
|
_impl_.client_introduction_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroductionAck client_introduction_ack = 4;
|
|
inline bool BandwidthUpgradeNegotiationFrame::has_client_introduction_ack() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
PROTOBUF_ASSUME(!value || _impl_.client_introduction_ack_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::clear_client_introduction_ack() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.client_introduction_ack_ != nullptr) _impl_.client_introduction_ack_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& BandwidthUpgradeNegotiationFrame::_internal_client_introduction_ack() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* p = _impl_.client_introduction_ack_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_ClientIntroductionAck_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& BandwidthUpgradeNegotiationFrame::client_introduction_ack() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction_ack)
|
|
return _internal_client_introduction_ack();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::unsafe_arena_set_allocated_client_introduction_ack(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_introduction_ack_);
|
|
}
|
|
_impl_.client_introduction_ack_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction_ack)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame::release_client_introduction_ack() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* released = _impl_.client_introduction_ack_;
|
|
_impl_.client_introduction_ack_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame::unsafe_arena_release_client_introduction_ack() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction_ack)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* temp = _impl_.client_introduction_ack_;
|
|
_impl_.client_introduction_ack_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame::_internal_mutable_client_introduction_ack() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.client_introduction_ack_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck>(GetArena());
|
|
_impl_.client_introduction_ack_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck*>(p);
|
|
}
|
|
return _impl_.client_introduction_ack_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame::mutable_client_introduction_ack()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* _msg = _internal_mutable_client_introduction_ack();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction_ack)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::set_allocated_client_introduction_ack(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_introduction_ack_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
|
|
_impl_.client_introduction_ack_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction_ack)
|
|
}
|
|
|
|
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel safe_to_close_prior_channel = 5;
|
|
inline bool BandwidthUpgradeNegotiationFrame::has_safe_to_close_prior_channel() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
PROTOBUF_ASSUME(!value || _impl_.safe_to_close_prior_channel_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::clear_safe_to_close_prior_channel() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.safe_to_close_prior_channel_ != nullptr) _impl_.safe_to_close_prior_channel_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& BandwidthUpgradeNegotiationFrame::_internal_safe_to_close_prior_channel() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* p = _impl_.safe_to_close_prior_channel_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel&>(::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& BandwidthUpgradeNegotiationFrame::safe_to_close_prior_channel() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel)
|
|
return _internal_safe_to_close_prior_channel();
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::unsafe_arena_set_allocated_safe_to_close_prior_channel(
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.safe_to_close_prior_channel_);
|
|
}
|
|
_impl_.safe_to_close_prior_channel_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel)
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame::release_safe_to_close_prior_channel() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* released = _impl_.safe_to_close_prior_channel_;
|
|
_impl_.safe_to_close_prior_channel_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame::unsafe_arena_release_safe_to_close_prior_channel() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* temp = _impl_.safe_to_close_prior_channel_;
|
|
_impl_.safe_to_close_prior_channel_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame::_internal_mutable_safe_to_close_prior_channel() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.safe_to_close_prior_channel_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel>(GetArena());
|
|
_impl_.safe_to_close_prior_channel_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel*>(p);
|
|
}
|
|
return _impl_.safe_to_close_prior_channel_;
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame::mutable_safe_to_close_prior_channel()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* _msg = _internal_mutable_safe_to_close_prior_channel();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel)
|
|
return _msg;
|
|
}
|
|
inline void BandwidthUpgradeNegotiationFrame::set_allocated_safe_to_close_prior_channel(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.safe_to_close_prior_channel_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
|
|
_impl_.safe_to_close_prior_channel_ = reinterpret_cast<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BandwidthUpgradeRetryFrame
|
|
|
|
// repeated .location.nearby.connections.BandwidthUpgradeRetryFrame.Medium supported_medium = 1;
|
|
inline int BandwidthUpgradeRetryFrame::_internal_supported_medium_size() const {
|
|
return _internal_supported_medium().size();
|
|
}
|
|
inline int BandwidthUpgradeRetryFrame::supported_medium_size() const {
|
|
return _internal_supported_medium_size();
|
|
}
|
|
inline void BandwidthUpgradeRetryFrame::clear_supported_medium() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supported_medium_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame::supported_medium(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeRetryFrame.supported_medium)
|
|
return static_cast<::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium>(_internal_supported_medium().Get(index));
|
|
}
|
|
inline void BandwidthUpgradeRetryFrame::set_supported_medium(int index, ::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium_internal_data_));
|
|
_internal_mutable_supported_medium()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeRetryFrame.supported_medium)
|
|
}
|
|
inline void BandwidthUpgradeRetryFrame::add_supported_medium(::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium_internal_data_));
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_supported_medium()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.BandwidthUpgradeRetryFrame.supported_medium)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& BandwidthUpgradeRetryFrame::supported_medium() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.BandwidthUpgradeRetryFrame.supported_medium)
|
|
return _internal_supported_medium();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL BandwidthUpgradeRetryFrame::mutable_supported_medium()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.BandwidthUpgradeRetryFrame.supported_medium)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_supported_medium();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& BandwidthUpgradeRetryFrame::_internal_supported_medium()
|
|
const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.supported_medium_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
|
|
BandwidthUpgradeRetryFrame::_internal_mutable_supported_medium() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.supported_medium_;
|
|
}
|
|
|
|
// optional bool is_request = 2;
|
|
inline bool BandwidthUpgradeRetryFrame::has_is_request() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void BandwidthUpgradeRetryFrame::clear_is_request() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.is_request_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline bool BandwidthUpgradeRetryFrame::is_request() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeRetryFrame.is_request)
|
|
return _internal_is_request();
|
|
}
|
|
inline void BandwidthUpgradeRetryFrame::set_is_request(bool value) {
|
|
_internal_set_is_request(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeRetryFrame.is_request)
|
|
}
|
|
inline bool BandwidthUpgradeRetryFrame::_internal_is_request() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.is_request_;
|
|
}
|
|
inline void BandwidthUpgradeRetryFrame::_internal_set_is_request(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.is_request_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// KeepAliveFrame
|
|
|
|
// optional bool ack = 1;
|
|
inline bool KeepAliveFrame::has_ack() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void KeepAliveFrame::clear_ack() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ack_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline bool KeepAliveFrame::ack() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.KeepAliveFrame.ack)
|
|
return _internal_ack();
|
|
}
|
|
inline void KeepAliveFrame::set_ack(bool value) {
|
|
_internal_set_ack(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.KeepAliveFrame.ack)
|
|
}
|
|
inline bool KeepAliveFrame::_internal_ack() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ack_;
|
|
}
|
|
inline void KeepAliveFrame::_internal_set_ack(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ack_ = value;
|
|
}
|
|
|
|
// optional uint32 seq_num = 2;
|
|
inline bool KeepAliveFrame::has_seq_num() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void KeepAliveFrame::clear_seq_num() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.seq_num_ = 0u;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::uint32_t KeepAliveFrame::seq_num() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.KeepAliveFrame.seq_num)
|
|
return _internal_seq_num();
|
|
}
|
|
inline void KeepAliveFrame::set_seq_num(::uint32_t value) {
|
|
_internal_set_seq_num(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.KeepAliveFrame.seq_num)
|
|
}
|
|
inline ::uint32_t KeepAliveFrame::_internal_seq_num() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.seq_num_;
|
|
}
|
|
inline void KeepAliveFrame::_internal_set_seq_num(::uint32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.seq_num_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DisconnectionFrame
|
|
|
|
// optional bool request_safe_to_disconnect = 1;
|
|
inline bool DisconnectionFrame::has_request_safe_to_disconnect() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void DisconnectionFrame::clear_request_safe_to_disconnect() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.request_safe_to_disconnect_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline bool DisconnectionFrame::request_safe_to_disconnect() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.DisconnectionFrame.request_safe_to_disconnect)
|
|
return _internal_request_safe_to_disconnect();
|
|
}
|
|
inline void DisconnectionFrame::set_request_safe_to_disconnect(bool value) {
|
|
_internal_set_request_safe_to_disconnect(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.DisconnectionFrame.request_safe_to_disconnect)
|
|
}
|
|
inline bool DisconnectionFrame::_internal_request_safe_to_disconnect() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.request_safe_to_disconnect_;
|
|
}
|
|
inline void DisconnectionFrame::_internal_set_request_safe_to_disconnect(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.request_safe_to_disconnect_ = value;
|
|
}
|
|
|
|
// optional bool ack_safe_to_disconnect = 2;
|
|
inline bool DisconnectionFrame::has_ack_safe_to_disconnect() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void DisconnectionFrame::clear_ack_safe_to_disconnect() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ack_safe_to_disconnect_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline bool DisconnectionFrame::ack_safe_to_disconnect() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.DisconnectionFrame.ack_safe_to_disconnect)
|
|
return _internal_ack_safe_to_disconnect();
|
|
}
|
|
inline void DisconnectionFrame::set_ack_safe_to_disconnect(bool value) {
|
|
_internal_set_ack_safe_to_disconnect(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.DisconnectionFrame.ack_safe_to_disconnect)
|
|
}
|
|
inline bool DisconnectionFrame::_internal_ack_safe_to_disconnect() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ack_safe_to_disconnect_;
|
|
}
|
|
inline void DisconnectionFrame::_internal_set_ack_safe_to_disconnect(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ack_safe_to_disconnect_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PairedKeyEncryptionFrame
|
|
|
|
// optional bytes signed_data = 1;
|
|
inline bool PairedKeyEncryptionFrame::has_signed_data() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void PairedKeyEncryptionFrame::clear_signed_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.signed_data_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& PairedKeyEncryptionFrame::signed_data() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PairedKeyEncryptionFrame.signed_data)
|
|
return _internal_signed_data();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PairedKeyEncryptionFrame::set_signed_data(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.signed_data_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PairedKeyEncryptionFrame.signed_data)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PairedKeyEncryptionFrame::mutable_signed_data()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_signed_data();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PairedKeyEncryptionFrame.signed_data)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PairedKeyEncryptionFrame::_internal_signed_data() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.signed_data_.Get();
|
|
}
|
|
inline void PairedKeyEncryptionFrame::_internal_set_signed_data(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.signed_data_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PairedKeyEncryptionFrame::_internal_mutable_signed_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.signed_data_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PairedKeyEncryptionFrame::release_signed_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PairedKeyEncryptionFrame.signed_data)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.signed_data_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.signed_data_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PairedKeyEncryptionFrame::set_allocated_signed_data(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.signed_data_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.signed_data_.IsDefault()) {
|
|
_impl_.signed_data_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PairedKeyEncryptionFrame.signed_data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AuthenticationMessageFrame
|
|
|
|
// optional bytes auth_message = 1;
|
|
inline bool AuthenticationMessageFrame::has_auth_message() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void AuthenticationMessageFrame::clear_auth_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.auth_message_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& AuthenticationMessageFrame::auth_message() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AuthenticationMessageFrame.auth_message)
|
|
return _internal_auth_message();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void AuthenticationMessageFrame::set_auth_message(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.auth_message_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AuthenticationMessageFrame.auth_message)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL AuthenticationMessageFrame::mutable_auth_message()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_auth_message();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.AuthenticationMessageFrame.auth_message)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& AuthenticationMessageFrame::_internal_auth_message() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.auth_message_.Get();
|
|
}
|
|
inline void AuthenticationMessageFrame::_internal_set_auth_message(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.auth_message_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL AuthenticationMessageFrame::_internal_mutable_auth_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.auth_message_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE AuthenticationMessageFrame::release_auth_message() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.AuthenticationMessageFrame.auth_message)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.auth_message_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.auth_message_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void AuthenticationMessageFrame::set_allocated_auth_message(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.auth_message_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.auth_message_.IsDefault()) {
|
|
_impl_.auth_message_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.AuthenticationMessageFrame.auth_message)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AuthenticationResultFrame
|
|
|
|
// optional int32 result = 1;
|
|
inline bool AuthenticationResultFrame::has_result() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void AuthenticationResultFrame::clear_result() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.result_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int32_t AuthenticationResultFrame::result() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AuthenticationResultFrame.result)
|
|
return _internal_result();
|
|
}
|
|
inline void AuthenticationResultFrame::set_result(::int32_t value) {
|
|
_internal_set_result(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AuthenticationResultFrame.result)
|
|
}
|
|
inline ::int32_t AuthenticationResultFrame::_internal_result() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.result_;
|
|
}
|
|
inline void AuthenticationResultFrame::_internal_set_result(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.result_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AutoResumeFrame
|
|
|
|
// optional .location.nearby.connections.AutoResumeFrame.EventType event_type = 1;
|
|
inline bool AutoResumeFrame::has_event_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void AutoResumeFrame::clear_event_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.event_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::location::nearby::connections::AutoResumeFrame_EventType AutoResumeFrame::event_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AutoResumeFrame.event_type)
|
|
return _internal_event_type();
|
|
}
|
|
inline void AutoResumeFrame::set_event_type(::location::nearby::connections::AutoResumeFrame_EventType value) {
|
|
_internal_set_event_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AutoResumeFrame.event_type)
|
|
}
|
|
inline ::location::nearby::connections::AutoResumeFrame_EventType AutoResumeFrame::_internal_event_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::AutoResumeFrame_EventType>(_impl_.event_type_);
|
|
}
|
|
inline void AutoResumeFrame::_internal_set_event_type(::location::nearby::connections::AutoResumeFrame_EventType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::AutoResumeFrame_EventType_internal_data_));
|
|
_impl_.event_type_ = value;
|
|
}
|
|
|
|
// optional int64 pending_payload_id = 2;
|
|
inline bool AutoResumeFrame::has_pending_payload_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void AutoResumeFrame::clear_pending_payload_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.pending_payload_id_ = ::int64_t{0};
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int64_t AutoResumeFrame::pending_payload_id() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AutoResumeFrame.pending_payload_id)
|
|
return _internal_pending_payload_id();
|
|
}
|
|
inline void AutoResumeFrame::set_pending_payload_id(::int64_t value) {
|
|
_internal_set_pending_payload_id(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AutoResumeFrame.pending_payload_id)
|
|
}
|
|
inline ::int64_t AutoResumeFrame::_internal_pending_payload_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.pending_payload_id_;
|
|
}
|
|
inline void AutoResumeFrame::_internal_set_pending_payload_id(::int64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.pending_payload_id_ = value;
|
|
}
|
|
|
|
// optional int32 next_payload_chunk_index = 3;
|
|
inline bool AutoResumeFrame::has_next_payload_chunk_index() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void AutoResumeFrame::clear_next_payload_chunk_index() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.next_payload_chunk_index_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline ::int32_t AutoResumeFrame::next_payload_chunk_index() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AutoResumeFrame.next_payload_chunk_index)
|
|
return _internal_next_payload_chunk_index();
|
|
}
|
|
inline void AutoResumeFrame::set_next_payload_chunk_index(::int32_t value) {
|
|
_internal_set_next_payload_chunk_index(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AutoResumeFrame.next_payload_chunk_index)
|
|
}
|
|
inline ::int32_t AutoResumeFrame::_internal_next_payload_chunk_index() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.next_payload_chunk_index_;
|
|
}
|
|
inline void AutoResumeFrame::_internal_set_next_payload_chunk_index(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.next_payload_chunk_index_ = value;
|
|
}
|
|
|
|
// optional int32 version = 4;
|
|
inline bool AutoResumeFrame::has_version() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void AutoResumeFrame::clear_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.version_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline ::int32_t AutoResumeFrame::version() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AutoResumeFrame.version)
|
|
return _internal_version();
|
|
}
|
|
inline void AutoResumeFrame::set_version(::int32_t value) {
|
|
_internal_set_version(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AutoResumeFrame.version)
|
|
}
|
|
inline ::int32_t AutoResumeFrame::_internal_version() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.version_;
|
|
}
|
|
inline void AutoResumeFrame::_internal_set_version(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.version_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AutoReconnectFrame
|
|
|
|
// optional string endpoint_id = 1;
|
|
inline bool AutoReconnectFrame::has_endpoint_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void AutoReconnectFrame::clear_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& AutoReconnectFrame::endpoint_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AutoReconnectFrame.endpoint_id)
|
|
return _internal_endpoint_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void AutoReconnectFrame::set_endpoint_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.endpoint_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AutoReconnectFrame.endpoint_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL AutoReconnectFrame::mutable_endpoint_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_endpoint_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.AutoReconnectFrame.endpoint_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& AutoReconnectFrame::_internal_endpoint_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.endpoint_id_.Get();
|
|
}
|
|
inline void AutoReconnectFrame::_internal_set_endpoint_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL AutoReconnectFrame::_internal_mutable_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.endpoint_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE AutoReconnectFrame::release_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.AutoReconnectFrame.endpoint_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.endpoint_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void AutoReconnectFrame::set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.endpoint_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_id_.IsDefault()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.AutoReconnectFrame.endpoint_id)
|
|
}
|
|
|
|
// optional .location.nearby.connections.AutoReconnectFrame.EventType event_type = 2;
|
|
inline bool AutoReconnectFrame::has_event_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void AutoReconnectFrame::clear_event_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.event_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline ::location::nearby::connections::AutoReconnectFrame_EventType AutoReconnectFrame::event_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AutoReconnectFrame.event_type)
|
|
return _internal_event_type();
|
|
}
|
|
inline void AutoReconnectFrame::set_event_type(::location::nearby::connections::AutoReconnectFrame_EventType value) {
|
|
_internal_set_event_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AutoReconnectFrame.event_type)
|
|
}
|
|
inline ::location::nearby::connections::AutoReconnectFrame_EventType AutoReconnectFrame::_internal_event_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::AutoReconnectFrame_EventType>(_impl_.event_type_);
|
|
}
|
|
inline void AutoReconnectFrame::_internal_set_event_type(::location::nearby::connections::AutoReconnectFrame_EventType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::AutoReconnectFrame_EventType_internal_data_));
|
|
_impl_.event_type_ = value;
|
|
}
|
|
|
|
// optional string last_endpoint_id = 3;
|
|
inline bool AutoReconnectFrame::has_last_endpoint_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void AutoReconnectFrame::clear_last_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.last_endpoint_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& AutoReconnectFrame::last_endpoint_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AutoReconnectFrame.last_endpoint_id)
|
|
return _internal_last_endpoint_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void AutoReconnectFrame::set_last_endpoint_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.last_endpoint_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AutoReconnectFrame.last_endpoint_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL AutoReconnectFrame::mutable_last_endpoint_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_last_endpoint_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.AutoReconnectFrame.last_endpoint_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& AutoReconnectFrame::_internal_last_endpoint_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.last_endpoint_id_.Get();
|
|
}
|
|
inline void AutoReconnectFrame::_internal_set_last_endpoint_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.last_endpoint_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL AutoReconnectFrame::_internal_mutable_last_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.last_endpoint_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE AutoReconnectFrame::release_last_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.AutoReconnectFrame.last_endpoint_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.last_endpoint_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.last_endpoint_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void AutoReconnectFrame::set_allocated_last_endpoint_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.last_endpoint_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.last_endpoint_id_.IsDefault()) {
|
|
_impl_.last_endpoint_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.AutoReconnectFrame.last_endpoint_id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// MediumMetadata
|
|
|
|
// optional bool supports_5_ghz = 1;
|
|
inline bool MediumMetadata::has_supports_5_ghz() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_supports_5_ghz() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_5_ghz_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000200U);
|
|
}
|
|
inline bool MediumMetadata::supports_5_ghz() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.supports_5_ghz)
|
|
return _internal_supports_5_ghz();
|
|
}
|
|
inline void MediumMetadata::set_supports_5_ghz(bool value) {
|
|
_internal_set_supports_5_ghz(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumMetadata.supports_5_ghz)
|
|
}
|
|
inline bool MediumMetadata::_internal_supports_5_ghz() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.supports_5_ghz_;
|
|
}
|
|
inline void MediumMetadata::_internal_set_supports_5_ghz(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_5_ghz_ = value;
|
|
}
|
|
|
|
// optional string bssid = 2;
|
|
inline bool MediumMetadata::has_bssid() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_bssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.bssid_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& MediumMetadata::bssid() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.bssid)
|
|
return _internal_bssid();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void MediumMetadata::set_bssid(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.bssid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumMetadata.bssid)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MediumMetadata::mutable_bssid()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_bssid();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.MediumMetadata.bssid)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& MediumMetadata::_internal_bssid() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.bssid_.Get();
|
|
}
|
|
inline void MediumMetadata::_internal_set_bssid(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.bssid_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MediumMetadata::_internal_mutable_bssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.bssid_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE MediumMetadata::release_bssid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.MediumMetadata.bssid)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.bssid_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.bssid_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void MediumMetadata::set_allocated_bssid(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.bssid_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.bssid_.IsDefault()) {
|
|
_impl_.bssid_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.MediumMetadata.bssid)
|
|
}
|
|
|
|
// optional bytes ip_address = 3;
|
|
inline bool MediumMetadata::has_ip_address() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ip_address_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::std::string& MediumMetadata::ip_address() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.ip_address)
|
|
return _internal_ip_address();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void MediumMetadata::set_ip_address(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
_impl_.ip_address_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumMetadata.ip_address)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MediumMetadata::mutable_ip_address()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::std::string* _s = _internal_mutable_ip_address();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.MediumMetadata.ip_address)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& MediumMetadata::_internal_ip_address() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ip_address_.Get();
|
|
}
|
|
inline void MediumMetadata::_internal_set_ip_address(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ip_address_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MediumMetadata::_internal_mutable_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.ip_address_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE MediumMetadata::release_ip_address() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.MediumMetadata.ip_address)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
auto* released = _impl_.ip_address_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.ip_address_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void MediumMetadata::set_allocated_ip_address(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
_impl_.ip_address_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ip_address_.IsDefault()) {
|
|
_impl_.ip_address_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.MediumMetadata.ip_address)
|
|
}
|
|
|
|
// optional bool supports_6_ghz = 4;
|
|
inline bool MediumMetadata::has_supports_6_ghz() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_supports_6_ghz() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_6_ghz_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000400U);
|
|
}
|
|
inline bool MediumMetadata::supports_6_ghz() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.supports_6_ghz)
|
|
return _internal_supports_6_ghz();
|
|
}
|
|
inline void MediumMetadata::set_supports_6_ghz(bool value) {
|
|
_internal_set_supports_6_ghz(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumMetadata.supports_6_ghz)
|
|
}
|
|
inline bool MediumMetadata::_internal_supports_6_ghz() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.supports_6_ghz_;
|
|
}
|
|
inline void MediumMetadata::_internal_set_supports_6_ghz(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supports_6_ghz_ = value;
|
|
}
|
|
|
|
// optional bool mobile_radio = 5;
|
|
inline bool MediumMetadata::has_mobile_radio() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_mobile_radio() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mobile_radio_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000800U);
|
|
}
|
|
inline bool MediumMetadata::mobile_radio() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.mobile_radio)
|
|
return _internal_mobile_radio();
|
|
}
|
|
inline void MediumMetadata::set_mobile_radio(bool value) {
|
|
_internal_set_mobile_radio(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumMetadata.mobile_radio)
|
|
}
|
|
inline bool MediumMetadata::_internal_mobile_radio() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.mobile_radio_;
|
|
}
|
|
inline void MediumMetadata::_internal_set_mobile_radio(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.mobile_radio_ = value;
|
|
}
|
|
|
|
// optional int32 ap_frequency = 6 [default = -1];
|
|
inline bool MediumMetadata::has_ap_frequency() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_ap_frequency() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ap_frequency_ = -1;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00001000U);
|
|
}
|
|
inline ::int32_t MediumMetadata::ap_frequency() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.ap_frequency)
|
|
return _internal_ap_frequency();
|
|
}
|
|
inline void MediumMetadata::set_ap_frequency(::int32_t value) {
|
|
_internal_set_ap_frequency(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00001000U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumMetadata.ap_frequency)
|
|
}
|
|
inline ::int32_t MediumMetadata::_internal_ap_frequency() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ap_frequency_;
|
|
}
|
|
inline void MediumMetadata::_internal_set_ap_frequency(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ap_frequency_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.connections.AvailableChannels available_channels = 7;
|
|
inline bool MediumMetadata::has_available_channels() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
PROTOBUF_ASSUME(!value || _impl_.available_channels_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_available_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.available_channels_ != nullptr) _impl_.available_channels_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline const ::location::nearby::connections::AvailableChannels& MediumMetadata::_internal_available_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::AvailableChannels* p = _impl_.available_channels_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::AvailableChannels&>(::location::nearby::connections::_AvailableChannels_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::AvailableChannels& MediumMetadata::available_channels() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.available_channels)
|
|
return _internal_available_channels();
|
|
}
|
|
inline void MediumMetadata::unsafe_arena_set_allocated_available_channels(
|
|
::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.available_channels_);
|
|
}
|
|
_impl_.available_channels_ = reinterpret_cast<::location::nearby::connections::AvailableChannels*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.MediumMetadata.available_channels)
|
|
}
|
|
inline ::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE MediumMetadata::release_available_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::AvailableChannels* released = _impl_.available_channels_;
|
|
_impl_.available_channels_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE MediumMetadata::unsafe_arena_release_available_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.MediumMetadata.available_channels)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::AvailableChannels* temp = _impl_.available_channels_;
|
|
_impl_.available_channels_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::AvailableChannels* PROTOBUF_NONNULL MediumMetadata::_internal_mutable_available_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.available_channels_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::AvailableChannels>(GetArena());
|
|
_impl_.available_channels_ = reinterpret_cast<::location::nearby::connections::AvailableChannels*>(p);
|
|
}
|
|
return _impl_.available_channels_;
|
|
}
|
|
inline ::location::nearby::connections::AvailableChannels* PROTOBUF_NONNULL MediumMetadata::mutable_available_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::location::nearby::connections::AvailableChannels* _msg = _internal_mutable_available_channels();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.MediumMetadata.available_channels)
|
|
return _msg;
|
|
}
|
|
inline void MediumMetadata::set_allocated_available_channels(::location::nearby::connections::AvailableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.available_channels_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
|
|
_impl_.available_channels_ = reinterpret_cast<::location::nearby::connections::AvailableChannels*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.MediumMetadata.available_channels)
|
|
}
|
|
|
|
// optional .location.nearby.connections.WifiDirectCliUsableChannels wifi_direct_cli_usable_channels = 8;
|
|
inline bool MediumMetadata::has_wifi_direct_cli_usable_channels() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
PROTOBUF_ASSUME(!value || _impl_.wifi_direct_cli_usable_channels_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_wifi_direct_cli_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_direct_cli_usable_channels_ != nullptr) _impl_.wifi_direct_cli_usable_channels_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline const ::location::nearby::connections::WifiDirectCliUsableChannels& MediumMetadata::_internal_wifi_direct_cli_usable_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::WifiDirectCliUsableChannels* p = _impl_.wifi_direct_cli_usable_channels_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::WifiDirectCliUsableChannels&>(::location::nearby::connections::_WifiDirectCliUsableChannels_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::WifiDirectCliUsableChannels& MediumMetadata::wifi_direct_cli_usable_channels() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.wifi_direct_cli_usable_channels)
|
|
return _internal_wifi_direct_cli_usable_channels();
|
|
}
|
|
inline void MediumMetadata::unsafe_arena_set_allocated_wifi_direct_cli_usable_channels(
|
|
::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_direct_cli_usable_channels_);
|
|
}
|
|
_impl_.wifi_direct_cli_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiDirectCliUsableChannels*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.MediumMetadata.wifi_direct_cli_usable_channels)
|
|
}
|
|
inline ::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE MediumMetadata::release_wifi_direct_cli_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::WifiDirectCliUsableChannels* released = _impl_.wifi_direct_cli_usable_channels_;
|
|
_impl_.wifi_direct_cli_usable_channels_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE MediumMetadata::unsafe_arena_release_wifi_direct_cli_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.MediumMetadata.wifi_direct_cli_usable_channels)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::WifiDirectCliUsableChannels* temp = _impl_.wifi_direct_cli_usable_channels_;
|
|
_impl_.wifi_direct_cli_usable_channels_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NONNULL MediumMetadata::_internal_mutable_wifi_direct_cli_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_direct_cli_usable_channels_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::WifiDirectCliUsableChannels>(GetArena());
|
|
_impl_.wifi_direct_cli_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiDirectCliUsableChannels*>(p);
|
|
}
|
|
return _impl_.wifi_direct_cli_usable_channels_;
|
|
}
|
|
inline ::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NONNULL MediumMetadata::mutable_wifi_direct_cli_usable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::location::nearby::connections::WifiDirectCliUsableChannels* _msg = _internal_mutable_wifi_direct_cli_usable_channels();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.MediumMetadata.wifi_direct_cli_usable_channels)
|
|
return _msg;
|
|
}
|
|
inline void MediumMetadata::set_allocated_wifi_direct_cli_usable_channels(::location::nearby::connections::WifiDirectCliUsableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_direct_cli_usable_channels_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
|
|
_impl_.wifi_direct_cli_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiDirectCliUsableChannels*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.MediumMetadata.wifi_direct_cli_usable_channels)
|
|
}
|
|
|
|
// optional .location.nearby.connections.WifiLanUsableChannels wifi_lan_usable_channels = 9;
|
|
inline bool MediumMetadata::has_wifi_lan_usable_channels() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
PROTOBUF_ASSUME(!value || _impl_.wifi_lan_usable_channels_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_wifi_lan_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_lan_usable_channels_ != nullptr) _impl_.wifi_lan_usable_channels_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline const ::location::nearby::connections::WifiLanUsableChannels& MediumMetadata::_internal_wifi_lan_usable_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::WifiLanUsableChannels* p = _impl_.wifi_lan_usable_channels_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::WifiLanUsableChannels&>(::location::nearby::connections::_WifiLanUsableChannels_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::WifiLanUsableChannels& MediumMetadata::wifi_lan_usable_channels() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.wifi_lan_usable_channels)
|
|
return _internal_wifi_lan_usable_channels();
|
|
}
|
|
inline void MediumMetadata::unsafe_arena_set_allocated_wifi_lan_usable_channels(
|
|
::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_lan_usable_channels_);
|
|
}
|
|
_impl_.wifi_lan_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiLanUsableChannels*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.MediumMetadata.wifi_lan_usable_channels)
|
|
}
|
|
inline ::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE MediumMetadata::release_wifi_lan_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::WifiLanUsableChannels* released = _impl_.wifi_lan_usable_channels_;
|
|
_impl_.wifi_lan_usable_channels_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE MediumMetadata::unsafe_arena_release_wifi_lan_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.MediumMetadata.wifi_lan_usable_channels)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::WifiLanUsableChannels* temp = _impl_.wifi_lan_usable_channels_;
|
|
_impl_.wifi_lan_usable_channels_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NONNULL MediumMetadata::_internal_mutable_wifi_lan_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_lan_usable_channels_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::WifiLanUsableChannels>(GetArena());
|
|
_impl_.wifi_lan_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiLanUsableChannels*>(p);
|
|
}
|
|
return _impl_.wifi_lan_usable_channels_;
|
|
}
|
|
inline ::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NONNULL MediumMetadata::mutable_wifi_lan_usable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::location::nearby::connections::WifiLanUsableChannels* _msg = _internal_mutable_wifi_lan_usable_channels();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.MediumMetadata.wifi_lan_usable_channels)
|
|
return _msg;
|
|
}
|
|
inline void MediumMetadata::set_allocated_wifi_lan_usable_channels(::location::nearby::connections::WifiLanUsableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_lan_usable_channels_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
|
|
_impl_.wifi_lan_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiLanUsableChannels*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.MediumMetadata.wifi_lan_usable_channels)
|
|
}
|
|
|
|
// optional .location.nearby.connections.WifiAwareUsableChannels wifi_aware_usable_channels = 10;
|
|
inline bool MediumMetadata::has_wifi_aware_usable_channels() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
PROTOBUF_ASSUME(!value || _impl_.wifi_aware_usable_channels_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_wifi_aware_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_aware_usable_channels_ != nullptr) _impl_.wifi_aware_usable_channels_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline const ::location::nearby::connections::WifiAwareUsableChannels& MediumMetadata::_internal_wifi_aware_usable_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::WifiAwareUsableChannels* p = _impl_.wifi_aware_usable_channels_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::WifiAwareUsableChannels&>(::location::nearby::connections::_WifiAwareUsableChannels_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::WifiAwareUsableChannels& MediumMetadata::wifi_aware_usable_channels() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.wifi_aware_usable_channels)
|
|
return _internal_wifi_aware_usable_channels();
|
|
}
|
|
inline void MediumMetadata::unsafe_arena_set_allocated_wifi_aware_usable_channels(
|
|
::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_aware_usable_channels_);
|
|
}
|
|
_impl_.wifi_aware_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiAwareUsableChannels*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.MediumMetadata.wifi_aware_usable_channels)
|
|
}
|
|
inline ::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE MediumMetadata::release_wifi_aware_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::WifiAwareUsableChannels* released = _impl_.wifi_aware_usable_channels_;
|
|
_impl_.wifi_aware_usable_channels_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE MediumMetadata::unsafe_arena_release_wifi_aware_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.MediumMetadata.wifi_aware_usable_channels)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::WifiAwareUsableChannels* temp = _impl_.wifi_aware_usable_channels_;
|
|
_impl_.wifi_aware_usable_channels_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NONNULL MediumMetadata::_internal_mutable_wifi_aware_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_aware_usable_channels_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::WifiAwareUsableChannels>(GetArena());
|
|
_impl_.wifi_aware_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiAwareUsableChannels*>(p);
|
|
}
|
|
return _impl_.wifi_aware_usable_channels_;
|
|
}
|
|
inline ::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NONNULL MediumMetadata::mutable_wifi_aware_usable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::location::nearby::connections::WifiAwareUsableChannels* _msg = _internal_mutable_wifi_aware_usable_channels();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.MediumMetadata.wifi_aware_usable_channels)
|
|
return _msg;
|
|
}
|
|
inline void MediumMetadata::set_allocated_wifi_aware_usable_channels(::location::nearby::connections::WifiAwareUsableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_aware_usable_channels_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
|
|
_impl_.wifi_aware_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiAwareUsableChannels*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.MediumMetadata.wifi_aware_usable_channels)
|
|
}
|
|
|
|
// optional .location.nearby.connections.WifiHotspotStaUsableChannels wifi_hotspot_sta_usable_channels = 11;
|
|
inline bool MediumMetadata::has_wifi_hotspot_sta_usable_channels() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
PROTOBUF_ASSUME(!value || _impl_.wifi_hotspot_sta_usable_channels_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_wifi_hotspot_sta_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_hotspot_sta_usable_channels_ != nullptr) _impl_.wifi_hotspot_sta_usable_channels_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000080U);
|
|
}
|
|
inline const ::location::nearby::connections::WifiHotspotStaUsableChannels& MediumMetadata::_internal_wifi_hotspot_sta_usable_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::WifiHotspotStaUsableChannels* p = _impl_.wifi_hotspot_sta_usable_channels_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::WifiHotspotStaUsableChannels&>(::location::nearby::connections::_WifiHotspotStaUsableChannels_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::WifiHotspotStaUsableChannels& MediumMetadata::wifi_hotspot_sta_usable_channels() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.wifi_hotspot_sta_usable_channels)
|
|
return _internal_wifi_hotspot_sta_usable_channels();
|
|
}
|
|
inline void MediumMetadata::unsafe_arena_set_allocated_wifi_hotspot_sta_usable_channels(
|
|
::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_hotspot_sta_usable_channels_);
|
|
}
|
|
_impl_.wifi_hotspot_sta_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiHotspotStaUsableChannels*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.MediumMetadata.wifi_hotspot_sta_usable_channels)
|
|
}
|
|
inline ::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE MediumMetadata::release_wifi_hotspot_sta_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::WifiHotspotStaUsableChannels* released = _impl_.wifi_hotspot_sta_usable_channels_;
|
|
_impl_.wifi_hotspot_sta_usable_channels_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE MediumMetadata::unsafe_arena_release_wifi_hotspot_sta_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.MediumMetadata.wifi_hotspot_sta_usable_channels)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::WifiHotspotStaUsableChannels* temp = _impl_.wifi_hotspot_sta_usable_channels_;
|
|
_impl_.wifi_hotspot_sta_usable_channels_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NONNULL MediumMetadata::_internal_mutable_wifi_hotspot_sta_usable_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.wifi_hotspot_sta_usable_channels_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::WifiHotspotStaUsableChannels>(GetArena());
|
|
_impl_.wifi_hotspot_sta_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiHotspotStaUsableChannels*>(p);
|
|
}
|
|
return _impl_.wifi_hotspot_sta_usable_channels_;
|
|
}
|
|
inline ::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NONNULL MediumMetadata::mutable_wifi_hotspot_sta_usable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
::location::nearby::connections::WifiHotspotStaUsableChannels* _msg = _internal_mutable_wifi_hotspot_sta_usable_channels();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.MediumMetadata.wifi_hotspot_sta_usable_channels)
|
|
return _msg;
|
|
}
|
|
inline void MediumMetadata::set_allocated_wifi_hotspot_sta_usable_channels(::location::nearby::connections::WifiHotspotStaUsableChannels* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.wifi_hotspot_sta_usable_channels_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
}
|
|
|
|
_impl_.wifi_hotspot_sta_usable_channels_ = reinterpret_cast<::location::nearby::connections::WifiHotspotStaUsableChannels*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.MediumMetadata.wifi_hotspot_sta_usable_channels)
|
|
}
|
|
|
|
// optional .location.nearby.connections.MediumRole medium_role = 12;
|
|
inline bool MediumMetadata::has_medium_role() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
PROTOBUF_ASSUME(!value || _impl_.medium_role_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void MediumMetadata::clear_medium_role() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.medium_role_ != nullptr) _impl_.medium_role_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000100U);
|
|
}
|
|
inline const ::location::nearby::connections::MediumRole& MediumMetadata::_internal_medium_role() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::connections::MediumRole* p = _impl_.medium_role_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::MediumRole&>(::location::nearby::connections::_MediumRole_default_instance_);
|
|
}
|
|
inline const ::location::nearby::connections::MediumRole& MediumMetadata::medium_role() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.medium_role)
|
|
return _internal_medium_role();
|
|
}
|
|
inline void MediumMetadata::unsafe_arena_set_allocated_medium_role(
|
|
::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.medium_role_);
|
|
}
|
|
_impl_.medium_role_ = reinterpret_cast<::location::nearby::connections::MediumRole*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.MediumMetadata.medium_role)
|
|
}
|
|
inline ::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE MediumMetadata::release_medium_role() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
::location::nearby::connections::MediumRole* released = _impl_.medium_role_;
|
|
_impl_.medium_role_ = nullptr;
|
|
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
|
|
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
if (GetArena() == nullptr) {
|
|
delete old;
|
|
}
|
|
} else {
|
|
if (GetArena() != nullptr) {
|
|
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
|
|
}
|
|
}
|
|
return released;
|
|
}
|
|
inline ::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE MediumMetadata::unsafe_arena_release_medium_role() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.MediumMetadata.medium_role)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
::location::nearby::connections::MediumRole* temp = _impl_.medium_role_;
|
|
_impl_.medium_role_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::connections::MediumRole* PROTOBUF_NONNULL MediumMetadata::_internal_mutable_medium_role() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.medium_role_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::connections::MediumRole>(GetArena());
|
|
_impl_.medium_role_ = reinterpret_cast<::location::nearby::connections::MediumRole*>(p);
|
|
}
|
|
return _impl_.medium_role_;
|
|
}
|
|
inline ::location::nearby::connections::MediumRole* PROTOBUF_NONNULL MediumMetadata::mutable_medium_role()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
::location::nearby::connections::MediumRole* _msg = _internal_mutable_medium_role();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.MediumMetadata.medium_role)
|
|
return _msg;
|
|
}
|
|
inline void MediumMetadata::set_allocated_medium_role(::location::nearby::connections::MediumRole* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::Arena* message_arena = GetArena();
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.medium_role_);
|
|
}
|
|
|
|
if (value != nullptr) {
|
|
::google::protobuf::Arena* submessage_arena = value->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
|
|
}
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
}
|
|
|
|
_impl_.medium_role_ = reinterpret_cast<::location::nearby::connections::MediumRole*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.MediumMetadata.medium_role)
|
|
}
|
|
|
|
// repeated .location.nearby.connections.MediumMetadata.WifiDirectAuthType supported_wifi_direct_auth_types = 13 [packed = true];
|
|
inline int MediumMetadata::_internal_supported_wifi_direct_auth_types_size() const {
|
|
return _internal_supported_wifi_direct_auth_types().size();
|
|
}
|
|
inline int MediumMetadata::supported_wifi_direct_auth_types_size() const {
|
|
return _internal_supported_wifi_direct_auth_types_size();
|
|
}
|
|
inline void MediumMetadata::clear_supported_wifi_direct_auth_types() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.supported_wifi_direct_auth_types_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::connections::MediumMetadata_WifiDirectAuthType MediumMetadata::supported_wifi_direct_auth_types(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumMetadata.supported_wifi_direct_auth_types)
|
|
return static_cast<::location::nearby::connections::MediumMetadata_WifiDirectAuthType>(_internal_supported_wifi_direct_auth_types().Get(index));
|
|
}
|
|
inline void MediumMetadata::set_supported_wifi_direct_auth_types(int index, ::location::nearby::connections::MediumMetadata_WifiDirectAuthType value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::MediumMetadata_WifiDirectAuthType_internal_data_));
|
|
_internal_mutable_supported_wifi_direct_auth_types()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumMetadata.supported_wifi_direct_auth_types)
|
|
}
|
|
inline void MediumMetadata::add_supported_wifi_direct_auth_types(::location::nearby::connections::MediumMetadata_WifiDirectAuthType value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::MediumMetadata_WifiDirectAuthType_internal_data_));
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_supported_wifi_direct_auth_types()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.MediumMetadata.supported_wifi_direct_auth_types)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& MediumMetadata::supported_wifi_direct_auth_types() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.MediumMetadata.supported_wifi_direct_auth_types)
|
|
return _internal_supported_wifi_direct_auth_types();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL MediumMetadata::mutable_supported_wifi_direct_auth_types()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.MediumMetadata.supported_wifi_direct_auth_types)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_supported_wifi_direct_auth_types();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& MediumMetadata::_internal_supported_wifi_direct_auth_types()
|
|
const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.supported_wifi_direct_auth_types_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
|
|
MediumMetadata::_internal_mutable_supported_wifi_direct_auth_types() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.supported_wifi_direct_auth_types_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AvailableChannels
|
|
|
|
// repeated int32 channels = 1 [packed = true];
|
|
inline int AvailableChannels::_internal_channels_size() const {
|
|
return _internal_channels().size();
|
|
}
|
|
inline int AvailableChannels::channels_size() const {
|
|
return _internal_channels_size();
|
|
}
|
|
inline void AvailableChannels::clear_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.channels_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int32_t AvailableChannels::channels(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.AvailableChannels.channels)
|
|
return _internal_channels().Get(index);
|
|
}
|
|
inline void AvailableChannels::set_channels(int index, ::int32_t value) {
|
|
_internal_mutable_channels()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.AvailableChannels.channels)
|
|
}
|
|
inline void AvailableChannels::add_channels(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_channels()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.AvailableChannels.channels)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>& AvailableChannels::channels() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.AvailableChannels.channels)
|
|
return _internal_channels();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL AvailableChannels::mutable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.AvailableChannels.channels)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_channels();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>&
|
|
AvailableChannels::_internal_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.channels_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
|
|
AvailableChannels::_internal_mutable_channels() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.channels_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// WifiDirectCliUsableChannels
|
|
|
|
// repeated int32 channels = 1 [packed = true];
|
|
inline int WifiDirectCliUsableChannels::_internal_channels_size() const {
|
|
return _internal_channels().size();
|
|
}
|
|
inline int WifiDirectCliUsableChannels::channels_size() const {
|
|
return _internal_channels_size();
|
|
}
|
|
inline void WifiDirectCliUsableChannels::clear_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.channels_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int32_t WifiDirectCliUsableChannels::channels(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.WifiDirectCliUsableChannels.channels)
|
|
return _internal_channels().Get(index);
|
|
}
|
|
inline void WifiDirectCliUsableChannels::set_channels(int index, ::int32_t value) {
|
|
_internal_mutable_channels()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.WifiDirectCliUsableChannels.channels)
|
|
}
|
|
inline void WifiDirectCliUsableChannels::add_channels(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_channels()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.WifiDirectCliUsableChannels.channels)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>& WifiDirectCliUsableChannels::channels() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.WifiDirectCliUsableChannels.channels)
|
|
return _internal_channels();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL WifiDirectCliUsableChannels::mutable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.WifiDirectCliUsableChannels.channels)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_channels();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>&
|
|
WifiDirectCliUsableChannels::_internal_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.channels_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
|
|
WifiDirectCliUsableChannels::_internal_mutable_channels() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.channels_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// WifiLanUsableChannels
|
|
|
|
// repeated int32 channels = 1 [packed = true];
|
|
inline int WifiLanUsableChannels::_internal_channels_size() const {
|
|
return _internal_channels().size();
|
|
}
|
|
inline int WifiLanUsableChannels::channels_size() const {
|
|
return _internal_channels_size();
|
|
}
|
|
inline void WifiLanUsableChannels::clear_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.channels_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int32_t WifiLanUsableChannels::channels(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.WifiLanUsableChannels.channels)
|
|
return _internal_channels().Get(index);
|
|
}
|
|
inline void WifiLanUsableChannels::set_channels(int index, ::int32_t value) {
|
|
_internal_mutable_channels()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.WifiLanUsableChannels.channels)
|
|
}
|
|
inline void WifiLanUsableChannels::add_channels(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_channels()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.WifiLanUsableChannels.channels)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>& WifiLanUsableChannels::channels() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.WifiLanUsableChannels.channels)
|
|
return _internal_channels();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL WifiLanUsableChannels::mutable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.WifiLanUsableChannels.channels)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_channels();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>&
|
|
WifiLanUsableChannels::_internal_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.channels_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
|
|
WifiLanUsableChannels::_internal_mutable_channels() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.channels_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// WifiAwareUsableChannels
|
|
|
|
// repeated int32 channels = 1 [packed = true];
|
|
inline int WifiAwareUsableChannels::_internal_channels_size() const {
|
|
return _internal_channels().size();
|
|
}
|
|
inline int WifiAwareUsableChannels::channels_size() const {
|
|
return _internal_channels_size();
|
|
}
|
|
inline void WifiAwareUsableChannels::clear_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.channels_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int32_t WifiAwareUsableChannels::channels(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.WifiAwareUsableChannels.channels)
|
|
return _internal_channels().Get(index);
|
|
}
|
|
inline void WifiAwareUsableChannels::set_channels(int index, ::int32_t value) {
|
|
_internal_mutable_channels()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.WifiAwareUsableChannels.channels)
|
|
}
|
|
inline void WifiAwareUsableChannels::add_channels(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_channels()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.WifiAwareUsableChannels.channels)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>& WifiAwareUsableChannels::channels() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.WifiAwareUsableChannels.channels)
|
|
return _internal_channels();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL WifiAwareUsableChannels::mutable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.WifiAwareUsableChannels.channels)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_channels();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>&
|
|
WifiAwareUsableChannels::_internal_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.channels_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
|
|
WifiAwareUsableChannels::_internal_mutable_channels() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.channels_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// WifiHotspotStaUsableChannels
|
|
|
|
// repeated int32 channels = 1 [packed = true];
|
|
inline int WifiHotspotStaUsableChannels::_internal_channels_size() const {
|
|
return _internal_channels().size();
|
|
}
|
|
inline int WifiHotspotStaUsableChannels::channels_size() const {
|
|
return _internal_channels_size();
|
|
}
|
|
inline void WifiHotspotStaUsableChannels::clear_channels() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.channels_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::int32_t WifiHotspotStaUsableChannels::channels(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.WifiHotspotStaUsableChannels.channels)
|
|
return _internal_channels().Get(index);
|
|
}
|
|
inline void WifiHotspotStaUsableChannels::set_channels(int index, ::int32_t value) {
|
|
_internal_mutable_channels()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.WifiHotspotStaUsableChannels.channels)
|
|
}
|
|
inline void WifiHotspotStaUsableChannels::add_channels(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_channels()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.WifiHotspotStaUsableChannels.channels)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>& WifiHotspotStaUsableChannels::channels() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.WifiHotspotStaUsableChannels.channels)
|
|
return _internal_channels();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL WifiHotspotStaUsableChannels::mutable_channels()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.WifiHotspotStaUsableChannels.channels)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_channels();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>&
|
|
WifiHotspotStaUsableChannels::_internal_channels() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.channels_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
|
|
WifiHotspotStaUsableChannels::_internal_mutable_channels() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.channels_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// MediumRole
|
|
|
|
// optional bool support_wifi_direct_group_owner = 1;
|
|
inline bool MediumRole::has_support_wifi_direct_group_owner() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void MediumRole::clear_support_wifi_direct_group_owner() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_direct_group_owner_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline bool MediumRole::support_wifi_direct_group_owner() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumRole.support_wifi_direct_group_owner)
|
|
return _internal_support_wifi_direct_group_owner();
|
|
}
|
|
inline void MediumRole::set_support_wifi_direct_group_owner(bool value) {
|
|
_internal_set_support_wifi_direct_group_owner(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumRole.support_wifi_direct_group_owner)
|
|
}
|
|
inline bool MediumRole::_internal_support_wifi_direct_group_owner() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.support_wifi_direct_group_owner_;
|
|
}
|
|
inline void MediumRole::_internal_set_support_wifi_direct_group_owner(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_direct_group_owner_ = value;
|
|
}
|
|
|
|
// optional bool support_wifi_direct_group_client = 2;
|
|
inline bool MediumRole::has_support_wifi_direct_group_client() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void MediumRole::clear_support_wifi_direct_group_client() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_direct_group_client_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline bool MediumRole::support_wifi_direct_group_client() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumRole.support_wifi_direct_group_client)
|
|
return _internal_support_wifi_direct_group_client();
|
|
}
|
|
inline void MediumRole::set_support_wifi_direct_group_client(bool value) {
|
|
_internal_set_support_wifi_direct_group_client(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumRole.support_wifi_direct_group_client)
|
|
}
|
|
inline bool MediumRole::_internal_support_wifi_direct_group_client() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.support_wifi_direct_group_client_;
|
|
}
|
|
inline void MediumRole::_internal_set_support_wifi_direct_group_client(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_direct_group_client_ = value;
|
|
}
|
|
|
|
// optional bool support_wifi_hotspot_host = 3;
|
|
inline bool MediumRole::has_support_wifi_hotspot_host() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void MediumRole::clear_support_wifi_hotspot_host() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_hotspot_host_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline bool MediumRole::support_wifi_hotspot_host() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumRole.support_wifi_hotspot_host)
|
|
return _internal_support_wifi_hotspot_host();
|
|
}
|
|
inline void MediumRole::set_support_wifi_hotspot_host(bool value) {
|
|
_internal_set_support_wifi_hotspot_host(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumRole.support_wifi_hotspot_host)
|
|
}
|
|
inline bool MediumRole::_internal_support_wifi_hotspot_host() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.support_wifi_hotspot_host_;
|
|
}
|
|
inline void MediumRole::_internal_set_support_wifi_hotspot_host(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_hotspot_host_ = value;
|
|
}
|
|
|
|
// optional bool support_wifi_hotspot_client = 4;
|
|
inline bool MediumRole::has_support_wifi_hotspot_client() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void MediumRole::clear_support_wifi_hotspot_client() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_hotspot_client_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline bool MediumRole::support_wifi_hotspot_client() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumRole.support_wifi_hotspot_client)
|
|
return _internal_support_wifi_hotspot_client();
|
|
}
|
|
inline void MediumRole::set_support_wifi_hotspot_client(bool value) {
|
|
_internal_set_support_wifi_hotspot_client(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumRole.support_wifi_hotspot_client)
|
|
}
|
|
inline bool MediumRole::_internal_support_wifi_hotspot_client() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.support_wifi_hotspot_client_;
|
|
}
|
|
inline void MediumRole::_internal_set_support_wifi_hotspot_client(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_hotspot_client_ = value;
|
|
}
|
|
|
|
// optional bool support_wifi_aware_publisher = 5;
|
|
inline bool MediumRole::has_support_wifi_aware_publisher() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
return value;
|
|
}
|
|
inline void MediumRole::clear_support_wifi_aware_publisher() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_aware_publisher_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline bool MediumRole::support_wifi_aware_publisher() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumRole.support_wifi_aware_publisher)
|
|
return _internal_support_wifi_aware_publisher();
|
|
}
|
|
inline void MediumRole::set_support_wifi_aware_publisher(bool value) {
|
|
_internal_set_support_wifi_aware_publisher(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumRole.support_wifi_aware_publisher)
|
|
}
|
|
inline bool MediumRole::_internal_support_wifi_aware_publisher() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.support_wifi_aware_publisher_;
|
|
}
|
|
inline void MediumRole::_internal_set_support_wifi_aware_publisher(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_aware_publisher_ = value;
|
|
}
|
|
|
|
// optional bool support_wifi_aware_subscriber = 6;
|
|
inline bool MediumRole::has_support_wifi_aware_subscriber() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
return value;
|
|
}
|
|
inline void MediumRole::clear_support_wifi_aware_subscriber() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_aware_subscriber_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline bool MediumRole::support_wifi_aware_subscriber() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumRole.support_wifi_aware_subscriber)
|
|
return _internal_support_wifi_aware_subscriber();
|
|
}
|
|
inline void MediumRole::set_support_wifi_aware_subscriber(bool value) {
|
|
_internal_set_support_wifi_aware_subscriber(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumRole.support_wifi_aware_subscriber)
|
|
}
|
|
inline bool MediumRole::_internal_support_wifi_aware_subscriber() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.support_wifi_aware_subscriber_;
|
|
}
|
|
inline void MediumRole::_internal_set_support_wifi_aware_subscriber(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_wifi_aware_subscriber_ = value;
|
|
}
|
|
|
|
// optional bool support_awdl_publisher = 7;
|
|
inline bool MediumRole::has_support_awdl_publisher() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
return value;
|
|
}
|
|
inline void MediumRole::clear_support_awdl_publisher() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_awdl_publisher_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline bool MediumRole::support_awdl_publisher() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumRole.support_awdl_publisher)
|
|
return _internal_support_awdl_publisher();
|
|
}
|
|
inline void MediumRole::set_support_awdl_publisher(bool value) {
|
|
_internal_set_support_awdl_publisher(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumRole.support_awdl_publisher)
|
|
}
|
|
inline bool MediumRole::_internal_support_awdl_publisher() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.support_awdl_publisher_;
|
|
}
|
|
inline void MediumRole::_internal_set_support_awdl_publisher(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_awdl_publisher_ = value;
|
|
}
|
|
|
|
// optional bool support_awdl_subscriber = 8;
|
|
inline bool MediumRole::has_support_awdl_subscriber() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
return value;
|
|
}
|
|
inline void MediumRole::clear_support_awdl_subscriber() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_awdl_subscriber_ = false;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000080U);
|
|
}
|
|
inline bool MediumRole::support_awdl_subscriber() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.MediumRole.support_awdl_subscriber)
|
|
return _internal_support_awdl_subscriber();
|
|
}
|
|
inline void MediumRole::set_support_awdl_subscriber(bool value) {
|
|
_internal_set_support_awdl_subscriber(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.MediumRole.support_awdl_subscriber)
|
|
}
|
|
inline bool MediumRole::_internal_support_awdl_subscriber() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.support_awdl_subscriber_;
|
|
}
|
|
inline void MediumRole::_internal_set_support_awdl_subscriber(bool value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.support_awdl_subscriber_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// LocationHint
|
|
|
|
// optional string location = 1;
|
|
inline bool LocationHint::has_location() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void LocationHint::clear_location() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.location_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& LocationHint::location() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.LocationHint.location)
|
|
return _internal_location();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void LocationHint::set_location(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.location_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.LocationHint.location)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL LocationHint::mutable_location()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_location();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.LocationHint.location)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& LocationHint::_internal_location() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.location_.Get();
|
|
}
|
|
inline void LocationHint::_internal_set_location(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.location_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL LocationHint::_internal_mutable_location() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.location_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE LocationHint::release_location() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.LocationHint.location)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.location_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.location_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void LocationHint::set_allocated_location(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.location_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.location_.IsDefault()) {
|
|
_impl_.location_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.LocationHint.location)
|
|
}
|
|
|
|
// optional .location.nearby.connections.LocationStandard.Format format = 2;
|
|
inline bool LocationHint::has_format() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void LocationHint::clear_format() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.format_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::location::nearby::connections::LocationStandard_Format LocationHint::format() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.LocationHint.format)
|
|
return _internal_format();
|
|
}
|
|
inline void LocationHint::set_format(::location::nearby::connections::LocationStandard_Format value) {
|
|
_internal_set_format(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.LocationHint.format)
|
|
}
|
|
inline ::location::nearby::connections::LocationStandard_Format LocationHint::_internal_format() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::LocationStandard_Format>(_impl_.format_);
|
|
}
|
|
inline void LocationHint::_internal_set_format(::location::nearby::connections::LocationStandard_Format value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::LocationStandard_Format_internal_data_));
|
|
_impl_.format_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// LocationStandard
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// OsInfo
|
|
|
|
// optional .location.nearby.connections.OsInfo.OsType type = 1;
|
|
inline bool OsInfo::has_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void OsInfo::clear_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::connections::OsInfo_OsType OsInfo::type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.OsInfo.type)
|
|
return _internal_type();
|
|
}
|
|
inline void OsInfo::set_type(::location::nearby::connections::OsInfo_OsType value) {
|
|
_internal_set_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.OsInfo.type)
|
|
}
|
|
inline ::location::nearby::connections::OsInfo_OsType OsInfo::_internal_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::OsInfo_OsType>(_impl_.type_);
|
|
}
|
|
inline void OsInfo::_internal_set_type(::location::nearby::connections::OsInfo_OsType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::OsInfo_OsType_internal_data_));
|
|
_impl_.type_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ConnectionsDevice
|
|
|
|
// optional string endpoint_id = 1;
|
|
inline bool ConnectionsDevice::has_endpoint_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void ConnectionsDevice::clear_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& ConnectionsDevice::endpoint_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionsDevice.endpoint_id)
|
|
return _internal_endpoint_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionsDevice::set_endpoint_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.endpoint_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionsDevice.endpoint_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionsDevice::mutable_endpoint_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_endpoint_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionsDevice.endpoint_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionsDevice::_internal_endpoint_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.endpoint_id_.Get();
|
|
}
|
|
inline void ConnectionsDevice::_internal_set_endpoint_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionsDevice::_internal_mutable_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.endpoint_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionsDevice::release_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionsDevice.endpoint_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.endpoint_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionsDevice::set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.endpoint_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_id_.IsDefault()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionsDevice.endpoint_id)
|
|
}
|
|
|
|
// optional .location.nearby.connections.EndpointType endpoint_type = 2;
|
|
inline bool ConnectionsDevice::has_endpoint_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void ConnectionsDevice::clear_endpoint_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline ::location::nearby::connections::EndpointType ConnectionsDevice::endpoint_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionsDevice.endpoint_type)
|
|
return _internal_endpoint_type();
|
|
}
|
|
inline void ConnectionsDevice::set_endpoint_type(::location::nearby::connections::EndpointType value) {
|
|
_internal_set_endpoint_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionsDevice.endpoint_type)
|
|
}
|
|
inline ::location::nearby::connections::EndpointType ConnectionsDevice::_internal_endpoint_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::EndpointType>(_impl_.endpoint_type_);
|
|
}
|
|
inline void ConnectionsDevice::_internal_set_endpoint_type(::location::nearby::connections::EndpointType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::EndpointType_internal_data_));
|
|
_impl_.endpoint_type_ = value;
|
|
}
|
|
|
|
// optional bytes connectivity_info_list = 3;
|
|
inline bool ConnectionsDevice::has_connectivity_info_list() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void ConnectionsDevice::clear_connectivity_info_list() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.connectivity_info_list_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& ConnectionsDevice::connectivity_info_list() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionsDevice.connectivity_info_list)
|
|
return _internal_connectivity_info_list();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionsDevice::set_connectivity_info_list(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.connectivity_info_list_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionsDevice.connectivity_info_list)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionsDevice::mutable_connectivity_info_list()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_connectivity_info_list();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionsDevice.connectivity_info_list)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionsDevice::_internal_connectivity_info_list() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.connectivity_info_list_.Get();
|
|
}
|
|
inline void ConnectionsDevice::_internal_set_connectivity_info_list(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.connectivity_info_list_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionsDevice::_internal_mutable_connectivity_info_list() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.connectivity_info_list_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionsDevice::release_connectivity_info_list() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionsDevice.connectivity_info_list)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.connectivity_info_list_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.connectivity_info_list_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionsDevice::set_allocated_connectivity_info_list(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
}
|
|
_impl_.connectivity_info_list_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.connectivity_info_list_.IsDefault()) {
|
|
_impl_.connectivity_info_list_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionsDevice.connectivity_info_list)
|
|
}
|
|
|
|
// optional bytes endpoint_info = 4;
|
|
inline bool ConnectionsDevice::has_endpoint_info() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void ConnectionsDevice::clear_endpoint_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_info_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::std::string& ConnectionsDevice::endpoint_info() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionsDevice.endpoint_info)
|
|
return _internal_endpoint_info();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void ConnectionsDevice::set_endpoint_info(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
_impl_.endpoint_info_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionsDevice.endpoint_info)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionsDevice::mutable_endpoint_info()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::std::string* _s = _internal_mutable_endpoint_info();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.ConnectionsDevice.endpoint_info)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& ConnectionsDevice::_internal_endpoint_info() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.endpoint_info_.Get();
|
|
}
|
|
inline void ConnectionsDevice::_internal_set_endpoint_info(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_info_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL ConnectionsDevice::_internal_mutable_endpoint_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.endpoint_info_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE ConnectionsDevice::release_endpoint_info() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.ConnectionsDevice.endpoint_info)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
auto* released = _impl_.endpoint_info_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.endpoint_info_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void ConnectionsDevice::set_allocated_endpoint_info(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
}
|
|
_impl_.endpoint_info_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_info_.IsDefault()) {
|
|
_impl_.endpoint_info_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.ConnectionsDevice.endpoint_info)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PresenceDevice
|
|
|
|
// optional string endpoint_id = 1;
|
|
inline bool PresenceDevice::has_endpoint_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void PresenceDevice::clear_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline const ::std::string& PresenceDevice::endpoint_id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.endpoint_id)
|
|
return _internal_endpoint_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PresenceDevice::set_endpoint_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
_impl_.endpoint_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.endpoint_id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PresenceDevice::mutable_endpoint_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
::std::string* _s = _internal_mutable_endpoint_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PresenceDevice.endpoint_id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PresenceDevice::_internal_endpoint_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.endpoint_id_.Get();
|
|
}
|
|
inline void PresenceDevice::_internal_set_endpoint_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PresenceDevice::_internal_mutable_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.endpoint_id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PresenceDevice::release_endpoint_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PresenceDevice.endpoint_id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
auto* released = _impl_.endpoint_id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PresenceDevice::set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
}
|
|
_impl_.endpoint_id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_id_.IsDefault()) {
|
|
_impl_.endpoint_id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PresenceDevice.endpoint_id)
|
|
}
|
|
|
|
// optional .location.nearby.connections.EndpointType endpoint_type = 2;
|
|
inline bool PresenceDevice::has_endpoint_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
return value;
|
|
}
|
|
inline void PresenceDevice::clear_endpoint_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.endpoint_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000100U);
|
|
}
|
|
inline ::location::nearby::connections::EndpointType PresenceDevice::endpoint_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.endpoint_type)
|
|
return _internal_endpoint_type();
|
|
}
|
|
inline void PresenceDevice::set_endpoint_type(::location::nearby::connections::EndpointType value) {
|
|
_internal_set_endpoint_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.endpoint_type)
|
|
}
|
|
inline ::location::nearby::connections::EndpointType PresenceDevice::_internal_endpoint_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::EndpointType>(_impl_.endpoint_type_);
|
|
}
|
|
inline void PresenceDevice::_internal_set_endpoint_type(::location::nearby::connections::EndpointType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::EndpointType_internal_data_));
|
|
_impl_.endpoint_type_ = value;
|
|
}
|
|
|
|
// optional bytes connectivity_info_list = 3;
|
|
inline bool PresenceDevice::has_connectivity_info_list() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
return value;
|
|
}
|
|
inline void PresenceDevice::clear_connectivity_info_list() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.connectivity_info_list_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000010U);
|
|
}
|
|
inline const ::std::string& PresenceDevice::connectivity_info_list() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.connectivity_info_list)
|
|
return _internal_connectivity_info_list();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PresenceDevice::set_connectivity_info_list(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
_impl_.connectivity_info_list_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.connectivity_info_list)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PresenceDevice::mutable_connectivity_info_list()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
::std::string* _s = _internal_mutable_connectivity_info_list();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PresenceDevice.connectivity_info_list)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PresenceDevice::_internal_connectivity_info_list() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.connectivity_info_list_.Get();
|
|
}
|
|
inline void PresenceDevice::_internal_set_connectivity_info_list(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.connectivity_info_list_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PresenceDevice::_internal_mutable_connectivity_info_list() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.connectivity_info_list_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PresenceDevice::release_connectivity_info_list() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PresenceDevice.connectivity_info_list)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
auto* released = _impl_.connectivity_info_list_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.connectivity_info_list_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PresenceDevice::set_allocated_connectivity_info_list(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
|
|
}
|
|
_impl_.connectivity_info_list_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.connectivity_info_list_.IsDefault()) {
|
|
_impl_.connectivity_info_list_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PresenceDevice.connectivity_info_list)
|
|
}
|
|
|
|
// optional int64 device_id = 4;
|
|
inline bool PresenceDevice::has_device_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
return value;
|
|
}
|
|
inline void PresenceDevice::clear_device_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_id_ = ::int64_t{0};
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000080U);
|
|
}
|
|
inline ::int64_t PresenceDevice::device_id() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.device_id)
|
|
return _internal_device_id();
|
|
}
|
|
inline void PresenceDevice::set_device_id(::int64_t value) {
|
|
_internal_set_device_id(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.device_id)
|
|
}
|
|
inline ::int64_t PresenceDevice::_internal_device_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.device_id_;
|
|
}
|
|
inline void PresenceDevice::_internal_set_device_id(::int64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_id_ = value;
|
|
}
|
|
|
|
// optional string device_name = 5;
|
|
inline bool PresenceDevice::has_device_name() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
return value;
|
|
}
|
|
inline void PresenceDevice::clear_device_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_name_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000020U);
|
|
}
|
|
inline const ::std::string& PresenceDevice::device_name() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.device_name)
|
|
return _internal_device_name();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PresenceDevice::set_device_name(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
_impl_.device_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.device_name)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PresenceDevice::mutable_device_name()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
::std::string* _s = _internal_mutable_device_name();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PresenceDevice.device_name)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PresenceDevice::_internal_device_name() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.device_name_.Get();
|
|
}
|
|
inline void PresenceDevice::_internal_set_device_name(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_name_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PresenceDevice::_internal_mutable_device_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.device_name_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PresenceDevice::release_device_name() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PresenceDevice.device_name)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000020U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
auto* released = _impl_.device_name_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.device_name_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PresenceDevice::set_allocated_device_name(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
|
|
}
|
|
_impl_.device_name_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.device_name_.IsDefault()) {
|
|
_impl_.device_name_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PresenceDevice.device_name)
|
|
}
|
|
|
|
// optional .location.nearby.connections.PresenceDevice.DeviceType device_type = 6;
|
|
inline bool PresenceDevice::has_device_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
return value;
|
|
}
|
|
inline void PresenceDevice::clear_device_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000200U);
|
|
}
|
|
inline ::location::nearby::connections::PresenceDevice_DeviceType PresenceDevice::device_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.device_type)
|
|
return _internal_device_type();
|
|
}
|
|
inline void PresenceDevice::set_device_type(::location::nearby::connections::PresenceDevice_DeviceType value) {
|
|
_internal_set_device_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.device_type)
|
|
}
|
|
inline ::location::nearby::connections::PresenceDevice_DeviceType PresenceDevice::_internal_device_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::connections::PresenceDevice_DeviceType>(_impl_.device_type_);
|
|
}
|
|
inline void PresenceDevice::_internal_set_device_type(::location::nearby::connections::PresenceDevice_DeviceType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::PresenceDevice_DeviceType_internal_data_));
|
|
_impl_.device_type_ = value;
|
|
}
|
|
|
|
// optional string device_image_url = 7;
|
|
inline bool PresenceDevice::has_device_image_url() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
return value;
|
|
}
|
|
inline void PresenceDevice::clear_device_image_url() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_image_url_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000040U);
|
|
}
|
|
inline const ::std::string& PresenceDevice::device_image_url() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.device_image_url)
|
|
return _internal_device_image_url();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PresenceDevice::set_device_image_url(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
_impl_.device_image_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.device_image_url)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PresenceDevice::mutable_device_image_url()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
::std::string* _s = _internal_mutable_device_image_url();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.PresenceDevice.device_image_url)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PresenceDevice::_internal_device_image_url() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.device_image_url_.Get();
|
|
}
|
|
inline void PresenceDevice::_internal_set_device_image_url(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.device_image_url_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PresenceDevice::_internal_mutable_device_image_url() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.device_image_url_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PresenceDevice::release_device_image_url() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.connections.PresenceDevice.device_image_url)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000040U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
auto* released = _impl_.device_image_url_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.device_image_url_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PresenceDevice::set_allocated_device_image_url(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
|
}
|
|
_impl_.device_image_url_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.device_image_url_.IsDefault()) {
|
|
_impl_.device_image_url_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.PresenceDevice.device_image_url)
|
|
}
|
|
|
|
// repeated .location.nearby.connections.ConnectionRequestFrame.Medium discovery_medium = 8 [packed = true];
|
|
inline int PresenceDevice::_internal_discovery_medium_size() const {
|
|
return _internal_discovery_medium().size();
|
|
}
|
|
inline int PresenceDevice::discovery_medium_size() const {
|
|
return _internal_discovery_medium_size();
|
|
}
|
|
inline void PresenceDevice::clear_discovery_medium() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.discovery_medium_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::connections::ConnectionRequestFrame_Medium PresenceDevice::discovery_medium(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.discovery_medium)
|
|
return static_cast<::location::nearby::connections::ConnectionRequestFrame_Medium>(_internal_discovery_medium().Get(index));
|
|
}
|
|
inline void PresenceDevice::set_discovery_medium(int index, ::location::nearby::connections::ConnectionRequestFrame_Medium value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::ConnectionRequestFrame_Medium_internal_data_));
|
|
_internal_mutable_discovery_medium()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.discovery_medium)
|
|
}
|
|
inline void PresenceDevice::add_discovery_medium(::location::nearby::connections::ConnectionRequestFrame_Medium value) {
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::connections::ConnectionRequestFrame_Medium_internal_data_));
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_discovery_medium()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.PresenceDevice.discovery_medium)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& PresenceDevice::discovery_medium() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.PresenceDevice.discovery_medium)
|
|
return _internal_discovery_medium();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL PresenceDevice::mutable_discovery_medium()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.PresenceDevice.discovery_medium)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_discovery_medium();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<int>& PresenceDevice::_internal_discovery_medium()
|
|
const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.discovery_medium_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
|
|
PresenceDevice::_internal_mutable_discovery_medium() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.discovery_medium_;
|
|
}
|
|
|
|
// repeated int32 actions = 9 [packed = true];
|
|
inline int PresenceDevice::_internal_actions_size() const {
|
|
return _internal_actions().size();
|
|
}
|
|
inline int PresenceDevice::actions_size() const {
|
|
return _internal_actions_size();
|
|
}
|
|
inline void PresenceDevice::clear_actions() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.actions_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::int32_t PresenceDevice::actions(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.actions)
|
|
return _internal_actions().Get(index);
|
|
}
|
|
inline void PresenceDevice::set_actions(int index, ::int32_t value) {
|
|
_internal_mutable_actions()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.actions)
|
|
}
|
|
inline void PresenceDevice::add_actions(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_actions()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.PresenceDevice.actions)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>& PresenceDevice::actions() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.PresenceDevice.actions)
|
|
return _internal_actions();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL PresenceDevice::mutable_actions()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.PresenceDevice.actions)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_actions();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int32_t>&
|
|
PresenceDevice::_internal_actions() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.actions_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
|
|
PresenceDevice::_internal_mutable_actions() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.actions_;
|
|
}
|
|
|
|
// repeated int64 identity_type = 10 [packed = true];
|
|
inline int PresenceDevice::_internal_identity_type_size() const {
|
|
return _internal_identity_type().size();
|
|
}
|
|
inline int PresenceDevice::identity_type_size() const {
|
|
return _internal_identity_type_size();
|
|
}
|
|
inline void PresenceDevice::clear_identity_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.identity_type_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline ::int64_t PresenceDevice::identity_type(int index) const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.connections.PresenceDevice.identity_type)
|
|
return _internal_identity_type().Get(index);
|
|
}
|
|
inline void PresenceDevice::set_identity_type(int index, ::int64_t value) {
|
|
_internal_mutable_identity_type()->Set(index, value);
|
|
// @@protoc_insertion_point(field_set:location.nearby.connections.PresenceDevice.identity_type)
|
|
}
|
|
inline void PresenceDevice::add_identity_type(::int64_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_internal_mutable_identity_type()->Add(value);
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.connections.PresenceDevice.identity_type)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int64_t>& PresenceDevice::identity_type() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.connections.PresenceDevice.identity_type)
|
|
return _internal_identity_type();
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL PresenceDevice::mutable_identity_type()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.connections.PresenceDevice.identity_type)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_identity_type();
|
|
}
|
|
inline const ::google::protobuf::RepeatedField<::int64_t>&
|
|
PresenceDevice::_internal_identity_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.identity_type_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
|
|
PresenceDevice::_internal_mutable_identity_type() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.identity_type_;
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
} // namespace connections
|
|
} // namespace nearby
|
|
} // namespace location
|
|
|
|
|
|
namespace google {
|
|
namespace protobuf {
|
|
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::OfflineFrame_Version> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::V1Frame_FrameType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::ConnectionRequestFrame_Medium> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::ConnectionRequestFrame_ConnectionMode> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::ConnectionResponseFrame_ResponseStatus> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::PayloadTransferFrame_PayloadChunk_Flags> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::PayloadTransferFrame_ControlMessage_EventType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::PayloadTransferFrame_PacketType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::BandwidthUpgradeRetryFrame_Medium> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::AutoResumeFrame_EventType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::AutoReconnectFrame_EventType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::MediumMetadata_WifiDirectAuthType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::LocationStandard_Format> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::OsInfo_OsType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::PresenceDevice_DeviceType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::connections::EndpointType> : std::true_type {};
|
|
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include "google/protobuf/port_undef.inc"
|
|
|
|
#endif // connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto_2epb_2eh
|