| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // source: kidschromemanagement_messages.proto |
| |
| #ifndef PROTOBUF_INCLUDED_kidschromemanagement_5fmessages_2eproto |
| #define PROTOBUF_INCLUDED_kidschromemanagement_5fmessages_2eproto |
| |
| #include <string> |
| |
| #include <google/protobuf/stubs/common.h> |
| |
| #if GOOGLE_PROTOBUF_VERSION < 3005000 |
| #error This file was generated by a newer version of protoc which is |
| #error incompatible with your Protocol Buffer headers. Please update |
| #error your headers. |
| #endif |
| #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
| #error This file was generated by an older version of protoc which is |
| #error incompatible with your Protocol Buffer headers. Please |
| #error regenerate this file with a newer version of protoc. |
| #endif |
| |
| #include <google/protobuf/io/coded_stream.h> |
| #include <google/protobuf/arena.h> |
| #include <google/protobuf/arenastring.h> |
| #include <google/protobuf/generated_message_table_driven.h> |
| #include <google/protobuf/generated_message_util.h> |
| #include <google/protobuf/inlined_string_field.h> |
| #include <google/protobuf/metadata_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> |
| #include "families_common.pb.h" |
| // @@protoc_insertion_point(includes) |
| #define PROTOBUF_INTERNAL_EXPORT_protobuf_kidschromemanagement_5fmessages_2eproto |
| |
| namespace protobuf_kidschromemanagement_5fmessages_2eproto { |
| // Internal implementation detail -- do not use these members. |
| struct TableStruct { |
| static const ::google::protobuf::internal::ParseTableField entries[]; |
| static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
| static const ::google::protobuf::internal::ParseTable schema[6]; |
| static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
| static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
| static const ::google::protobuf::uint32 offsets[]; |
| }; |
| } // namespace protobuf_kidschromemanagement_5fmessages_2eproto |
| namespace kids_chrome_management { |
| class ClassifyUrlRequest; |
| class ClassifyUrlRequestDefaultTypeInternal; |
| extern ClassifyUrlRequestDefaultTypeInternal _ClassifyUrlRequest_default_instance_; |
| class ClassifyUrlResponse; |
| class ClassifyUrlResponseDefaultTypeInternal; |
| extern ClassifyUrlResponseDefaultTypeInternal _ClassifyUrlResponse_default_instance_; |
| class ListFamilyMembersRequest; |
| class ListFamilyMembersRequestDefaultTypeInternal; |
| extern ListFamilyMembersRequestDefaultTypeInternal _ListFamilyMembersRequest_default_instance_; |
| class ListFamilyMembersResponse; |
| class ListFamilyMembersResponseDefaultTypeInternal; |
| extern ListFamilyMembersResponseDefaultTypeInternal _ListFamilyMembersResponse_default_instance_; |
| class RequestRestrictedUrlAccessRequest; |
| class RequestRestrictedUrlAccessRequestDefaultTypeInternal; |
| extern RequestRestrictedUrlAccessRequestDefaultTypeInternal _RequestRestrictedUrlAccessRequest_default_instance_; |
| class RequestRestrictedUrlAccessResponse; |
| class RequestRestrictedUrlAccessResponseDefaultTypeInternal; |
| extern RequestRestrictedUrlAccessResponseDefaultTypeInternal _RequestRestrictedUrlAccessResponse_default_instance_; |
| } // namespace kids_chrome_management |
| namespace google { |
| namespace protobuf { |
| template<> ::kids_chrome_management::ClassifyUrlRequest* Arena::CreateMaybeMessage<::kids_chrome_management::ClassifyUrlRequest>(Arena*); |
| template<> ::kids_chrome_management::ClassifyUrlResponse* Arena::CreateMaybeMessage<::kids_chrome_management::ClassifyUrlResponse>(Arena*); |
| template<> ::kids_chrome_management::ListFamilyMembersRequest* Arena::CreateMaybeMessage<::kids_chrome_management::ListFamilyMembersRequest>(Arena*); |
| template<> ::kids_chrome_management::ListFamilyMembersResponse* Arena::CreateMaybeMessage<::kids_chrome_management::ListFamilyMembersResponse>(Arena*); |
| template<> ::kids_chrome_management::RequestRestrictedUrlAccessRequest* Arena::CreateMaybeMessage<::kids_chrome_management::RequestRestrictedUrlAccessRequest>(Arena*); |
| template<> ::kids_chrome_management::RequestRestrictedUrlAccessResponse* Arena::CreateMaybeMessage<::kids_chrome_management::RequestRestrictedUrlAccessResponse>(Arena*); |
| } // namespace protobuf |
| } // namespace google |
| namespace kids_chrome_management { |
| |
| enum ClassifyUrlResponse_DisplayClassification { |
| ClassifyUrlResponse_DisplayClassification_UNKNOWN_DISPLAY_CLASSIFICATION = 0, |
| ClassifyUrlResponse_DisplayClassification_ALLOWED = 1, |
| ClassifyUrlResponse_DisplayClassification_RESTRICTED = 2 |
| }; |
| bool ClassifyUrlResponse_DisplayClassification_IsValid(int value); |
| const ClassifyUrlResponse_DisplayClassification ClassifyUrlResponse_DisplayClassification_DisplayClassification_MIN = ClassifyUrlResponse_DisplayClassification_UNKNOWN_DISPLAY_CLASSIFICATION; |
| const ClassifyUrlResponse_DisplayClassification ClassifyUrlResponse_DisplayClassification_DisplayClassification_MAX = ClassifyUrlResponse_DisplayClassification_RESTRICTED; |
| const int ClassifyUrlResponse_DisplayClassification_DisplayClassification_ARRAYSIZE = ClassifyUrlResponse_DisplayClassification_DisplayClassification_MAX + 1; |
| |
| // =================================================================== |
| |
| class ListFamilyMembersRequest : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:kids_chrome_management.ListFamilyMembersRequest) */ { |
| public: |
| ListFamilyMembersRequest(); |
| virtual ~ListFamilyMembersRequest(); |
| |
| ListFamilyMembersRequest(const ListFamilyMembersRequest& from); |
| |
| inline ListFamilyMembersRequest& operator=(const ListFamilyMembersRequest& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| #if LANG_CXX11 |
| ListFamilyMembersRequest(ListFamilyMembersRequest&& from) noexcept |
| : ListFamilyMembersRequest() { |
| *this = ::std::move(from); |
| } |
| |
| inline ListFamilyMembersRequest& operator=(ListFamilyMembersRequest&& from) noexcept { |
| if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| if (this != &from) InternalSwap(&from); |
| } else { |
| CopyFrom(from); |
| } |
| return *this; |
| } |
| #endif |
| inline const ::std::string& unknown_fields() const { |
| return _internal_metadata_.unknown_fields(); |
| } |
| inline ::std::string* mutable_unknown_fields() { |
| return _internal_metadata_.mutable_unknown_fields(); |
| } |
| |
| static const ListFamilyMembersRequest& default_instance(); |
| |
| static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| static inline const ListFamilyMembersRequest* internal_default_instance() { |
| return reinterpret_cast<const ListFamilyMembersRequest*>( |
| &_ListFamilyMembersRequest_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = |
| 0; |
| |
| GOOGLE_ATTRIBUTE_NOINLINE void Swap(ListFamilyMembersRequest* other); |
| friend void swap(ListFamilyMembersRequest& a, ListFamilyMembersRequest& b) { |
| a.Swap(&b); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| inline ListFamilyMembersRequest* New() const final { |
| return CreateMaybeMessage<ListFamilyMembersRequest>(NULL); |
| } |
| |
| ListFamilyMembersRequest* New(::google::protobuf::Arena* arena) const final { |
| return CreateMaybeMessage<ListFamilyMembersRequest>(arena); |
| } |
| void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
| final; |
| void CopyFrom(const ListFamilyMembersRequest& from); |
| void MergeFrom(const ListFamilyMembersRequest& from); |
| void Clear() final; |
| bool IsInitialized() const final; |
| |
| size_t ByteSizeLong() const final; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) final; |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const final; |
| void DiscardUnknownFields(); |
| int GetCachedSize() const final { return _cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| void InternalSwap(ListFamilyMembersRequest* other); |
| private: |
| inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| return NULL; |
| } |
| inline void* MaybeArenaPtr() const { |
| return NULL; |
| } |
| public: |
| |
| ::std::string GetTypeName() const final; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string family_id = 1; |
| bool has_family_id() const; |
| void clear_family_id(); |
| static const int kFamilyIdFieldNumber = 1; |
| const ::std::string& family_id() const; |
| void set_family_id(const ::std::string& value); |
| #if LANG_CXX11 |
| void set_family_id(::std::string&& value); |
| #endif |
| void set_family_id(const char* value); |
| void set_family_id(const char* value, size_t size); |
| ::std::string* mutable_family_id(); |
| ::std::string* release_family_id(); |
| void set_allocated_family_id(::std::string* family_id); |
| |
| // @@protoc_insertion_point(class_scope:kids_chrome_management.ListFamilyMembersRequest) |
| private: |
| void set_has_family_id(); |
| void clear_has_family_id(); |
| |
| ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::internal::ArenaStringPtr family_id_; |
| friend struct ::protobuf_kidschromemanagement_5fmessages_2eproto::TableStruct; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class ListFamilyMembersResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:kids_chrome_management.ListFamilyMembersResponse) */ { |
| public: |
| ListFamilyMembersResponse(); |
| virtual ~ListFamilyMembersResponse(); |
| |
| ListFamilyMembersResponse(const ListFamilyMembersResponse& from); |
| |
| inline ListFamilyMembersResponse& operator=(const ListFamilyMembersResponse& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| #if LANG_CXX11 |
| ListFamilyMembersResponse(ListFamilyMembersResponse&& from) noexcept |
| : ListFamilyMembersResponse() { |
| *this = ::std::move(from); |
| } |
| |
| inline ListFamilyMembersResponse& operator=(ListFamilyMembersResponse&& from) noexcept { |
| if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| if (this != &from) InternalSwap(&from); |
| } else { |
| CopyFrom(from); |
| } |
| return *this; |
| } |
| #endif |
| inline const ::std::string& unknown_fields() const { |
| return _internal_metadata_.unknown_fields(); |
| } |
| inline ::std::string* mutable_unknown_fields() { |
| return _internal_metadata_.mutable_unknown_fields(); |
| } |
| |
| static const ListFamilyMembersResponse& default_instance(); |
| |
| static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| static inline const ListFamilyMembersResponse* internal_default_instance() { |
| return reinterpret_cast<const ListFamilyMembersResponse*>( |
| &_ListFamilyMembersResponse_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = |
| 1; |
| |
| GOOGLE_ATTRIBUTE_NOINLINE void Swap(ListFamilyMembersResponse* other); |
| friend void swap(ListFamilyMembersResponse& a, ListFamilyMembersResponse& b) { |
| a.Swap(&b); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| inline ListFamilyMembersResponse* New() const final { |
| return CreateMaybeMessage<ListFamilyMembersResponse>(NULL); |
| } |
| |
| ListFamilyMembersResponse* New(::google::protobuf::Arena* arena) const final { |
| return CreateMaybeMessage<ListFamilyMembersResponse>(arena); |
| } |
| void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
| final; |
| void CopyFrom(const ListFamilyMembersResponse& from); |
| void MergeFrom(const ListFamilyMembersResponse& from); |
| void Clear() final; |
| bool IsInitialized() const final; |
| |
| size_t ByteSizeLong() const final; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) final; |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const final; |
| void DiscardUnknownFields(); |
| int GetCachedSize() const final { return _cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| void InternalSwap(ListFamilyMembersResponse* other); |
| private: |
| inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| return NULL; |
| } |
| inline void* MaybeArenaPtr() const { |
| return NULL; |
| } |
| public: |
| |
| ::std::string GetTypeName() const final; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // repeated .kids_chrome_management.FamilyMember members = 2; |
| int members_size() const; |
| void clear_members(); |
| static const int kMembersFieldNumber = 2; |
| ::kids_chrome_management::FamilyMember* mutable_members(int index); |
| ::google::protobuf::RepeatedPtrField< ::kids_chrome_management::FamilyMember >* |
| mutable_members(); |
| const ::kids_chrome_management::FamilyMember& members(int index) const; |
| ::kids_chrome_management::FamilyMember* add_members(); |
| const ::google::protobuf::RepeatedPtrField< ::kids_chrome_management::FamilyMember >& |
| members() const; |
| |
| // optional string self_obfuscated_gaia_id = 1; |
| bool has_self_obfuscated_gaia_id() const; |
| void clear_self_obfuscated_gaia_id(); |
| static const int kSelfObfuscatedGaiaIdFieldNumber = 1; |
| const ::std::string& self_obfuscated_gaia_id() const; |
| void set_self_obfuscated_gaia_id(const ::std::string& value); |
| #if LANG_CXX11 |
| void set_self_obfuscated_gaia_id(::std::string&& value); |
| #endif |
| void set_self_obfuscated_gaia_id(const char* value); |
| void set_self_obfuscated_gaia_id(const char* value, size_t size); |
| ::std::string* mutable_self_obfuscated_gaia_id(); |
| ::std::string* release_self_obfuscated_gaia_id(); |
| void set_allocated_self_obfuscated_gaia_id(::std::string* self_obfuscated_gaia_id); |
| |
| // @@protoc_insertion_point(class_scope:kids_chrome_management.ListFamilyMembersResponse) |
| private: |
| void set_has_self_obfuscated_gaia_id(); |
| void clear_has_self_obfuscated_gaia_id(); |
| |
| ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::RepeatedPtrField< ::kids_chrome_management::FamilyMember > members_; |
| ::google::protobuf::internal::ArenaStringPtr self_obfuscated_gaia_id_; |
| friend struct ::protobuf_kidschromemanagement_5fmessages_2eproto::TableStruct; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class RequestRestrictedUrlAccessRequest : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:kids_chrome_management.RequestRestrictedUrlAccessRequest) */ { |
| public: |
| RequestRestrictedUrlAccessRequest(); |
| virtual ~RequestRestrictedUrlAccessRequest(); |
| |
| RequestRestrictedUrlAccessRequest(const RequestRestrictedUrlAccessRequest& from); |
| |
| inline RequestRestrictedUrlAccessRequest& operator=(const RequestRestrictedUrlAccessRequest& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| #if LANG_CXX11 |
| RequestRestrictedUrlAccessRequest(RequestRestrictedUrlAccessRequest&& from) noexcept |
| : RequestRestrictedUrlAccessRequest() { |
| *this = ::std::move(from); |
| } |
| |
| inline RequestRestrictedUrlAccessRequest& operator=(RequestRestrictedUrlAccessRequest&& from) noexcept { |
| if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| if (this != &from) InternalSwap(&from); |
| } else { |
| CopyFrom(from); |
| } |
| return *this; |
| } |
| #endif |
| inline const ::std::string& unknown_fields() const { |
| return _internal_metadata_.unknown_fields(); |
| } |
| inline ::std::string* mutable_unknown_fields() { |
| return _internal_metadata_.mutable_unknown_fields(); |
| } |
| |
| static const RequestRestrictedUrlAccessRequest& default_instance(); |
| |
| static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| static inline const RequestRestrictedUrlAccessRequest* internal_default_instance() { |
| return reinterpret_cast<const RequestRestrictedUrlAccessRequest*>( |
| &_RequestRestrictedUrlAccessRequest_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = |
| 2; |
| |
| GOOGLE_ATTRIBUTE_NOINLINE void Swap(RequestRestrictedUrlAccessRequest* other); |
| friend void swap(RequestRestrictedUrlAccessRequest& a, RequestRestrictedUrlAccessRequest& b) { |
| a.Swap(&b); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| inline RequestRestrictedUrlAccessRequest* New() const final { |
| return CreateMaybeMessage<RequestRestrictedUrlAccessRequest>(NULL); |
| } |
| |
| RequestRestrictedUrlAccessRequest* New(::google::protobuf::Arena* arena) const final { |
| return CreateMaybeMessage<RequestRestrictedUrlAccessRequest>(arena); |
| } |
| void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
| final; |
| void CopyFrom(const RequestRestrictedUrlAccessRequest& from); |
| void MergeFrom(const RequestRestrictedUrlAccessRequest& from); |
| void Clear() final; |
| bool IsInitialized() const final; |
| |
| size_t ByteSizeLong() const final; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) final; |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const final; |
| void DiscardUnknownFields(); |
| int GetCachedSize() const final { return _cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| void InternalSwap(RequestRestrictedUrlAccessRequest* other); |
| private: |
| inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| return NULL; |
| } |
| inline void* MaybeArenaPtr() const { |
| return NULL; |
| } |
| public: |
| |
| ::std::string GetTypeName() const final; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string person_id = 1; |
| bool has_person_id() const; |
| void clear_person_id(); |
| static const int kPersonIdFieldNumber = 1; |
| const ::std::string& person_id() const; |
| void set_person_id(const ::std::string& value); |
| #if LANG_CXX11 |
| void set_person_id(::std::string&& value); |
| #endif |
| void set_person_id(const char* value); |
| void set_person_id(const char* value, size_t size); |
| ::std::string* mutable_person_id(); |
| ::std::string* release_person_id(); |
| void set_allocated_person_id(::std::string* person_id); |
| |
| // optional string url = 2; |
| bool has_url() const; |
| void clear_url(); |
| static const int kUrlFieldNumber = 2; |
| const ::std::string& url() const; |
| void set_url(const ::std::string& value); |
| #if LANG_CXX11 |
| void set_url(::std::string&& value); |
| #endif |
| void set_url(const char* value); |
| void set_url(const char* value, size_t size); |
| ::std::string* mutable_url(); |
| ::std::string* release_url(); |
| void set_allocated_url(::std::string* url); |
| |
| // @@protoc_insertion_point(class_scope:kids_chrome_management.RequestRestrictedUrlAccessRequest) |
| private: |
| void set_has_person_id(); |
| void clear_has_person_id(); |
| void set_has_url(); |
| void clear_has_url(); |
| |
| ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::internal::ArenaStringPtr person_id_; |
| ::google::protobuf::internal::ArenaStringPtr url_; |
| friend struct ::protobuf_kidschromemanagement_5fmessages_2eproto::TableStruct; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class RequestRestrictedUrlAccessResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:kids_chrome_management.RequestRestrictedUrlAccessResponse) */ { |
| public: |
| RequestRestrictedUrlAccessResponse(); |
| virtual ~RequestRestrictedUrlAccessResponse(); |
| |
| RequestRestrictedUrlAccessResponse(const RequestRestrictedUrlAccessResponse& from); |
| |
| inline RequestRestrictedUrlAccessResponse& operator=(const RequestRestrictedUrlAccessResponse& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| #if LANG_CXX11 |
| RequestRestrictedUrlAccessResponse(RequestRestrictedUrlAccessResponse&& from) noexcept |
| : RequestRestrictedUrlAccessResponse() { |
| *this = ::std::move(from); |
| } |
| |
| inline RequestRestrictedUrlAccessResponse& operator=(RequestRestrictedUrlAccessResponse&& from) noexcept { |
| if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| if (this != &from) InternalSwap(&from); |
| } else { |
| CopyFrom(from); |
| } |
| return *this; |
| } |
| #endif |
| inline const ::std::string& unknown_fields() const { |
| return _internal_metadata_.unknown_fields(); |
| } |
| inline ::std::string* mutable_unknown_fields() { |
| return _internal_metadata_.mutable_unknown_fields(); |
| } |
| |
| static const RequestRestrictedUrlAccessResponse& default_instance(); |
| |
| static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| static inline const RequestRestrictedUrlAccessResponse* internal_default_instance() { |
| return reinterpret_cast<const RequestRestrictedUrlAccessResponse*>( |
| &_RequestRestrictedUrlAccessResponse_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = |
| 3; |
| |
| GOOGLE_ATTRIBUTE_NOINLINE void Swap(RequestRestrictedUrlAccessResponse* other); |
| friend void swap(RequestRestrictedUrlAccessResponse& a, RequestRestrictedUrlAccessResponse& b) { |
| a.Swap(&b); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| inline RequestRestrictedUrlAccessResponse* New() const final { |
| return CreateMaybeMessage<RequestRestrictedUrlAccessResponse>(NULL); |
| } |
| |
| RequestRestrictedUrlAccessResponse* New(::google::protobuf::Arena* arena) const final { |
| return CreateMaybeMessage<RequestRestrictedUrlAccessResponse>(arena); |
| } |
| void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
| final; |
| void CopyFrom(const RequestRestrictedUrlAccessResponse& from); |
| void MergeFrom(const RequestRestrictedUrlAccessResponse& from); |
| void Clear() final; |
| bool IsInitialized() const final; |
| |
| size_t ByteSizeLong() const final; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) final; |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const final; |
| void DiscardUnknownFields(); |
| int GetCachedSize() const final { return _cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| void InternalSwap(RequestRestrictedUrlAccessResponse* other); |
| private: |
| inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| return NULL; |
| } |
| inline void* MaybeArenaPtr() const { |
| return NULL; |
| } |
| public: |
| |
| ::std::string GetTypeName() const final; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // @@protoc_insertion_point(class_scope:kids_chrome_management.RequestRestrictedUrlAccessResponse) |
| private: |
| |
| ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| friend struct ::protobuf_kidschromemanagement_5fmessages_2eproto::TableStruct; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class ClassifyUrlRequest : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:kids_chrome_management.ClassifyUrlRequest) */ { |
| public: |
| ClassifyUrlRequest(); |
| virtual ~ClassifyUrlRequest(); |
| |
| ClassifyUrlRequest(const ClassifyUrlRequest& from); |
| |
| inline ClassifyUrlRequest& operator=(const ClassifyUrlRequest& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| #if LANG_CXX11 |
| ClassifyUrlRequest(ClassifyUrlRequest&& from) noexcept |
| : ClassifyUrlRequest() { |
| *this = ::std::move(from); |
| } |
| |
| inline ClassifyUrlRequest& operator=(ClassifyUrlRequest&& from) noexcept { |
| if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| if (this != &from) InternalSwap(&from); |
| } else { |
| CopyFrom(from); |
| } |
| return *this; |
| } |
| #endif |
| inline const ::std::string& unknown_fields() const { |
| return _internal_metadata_.unknown_fields(); |
| } |
| inline ::std::string* mutable_unknown_fields() { |
| return _internal_metadata_.mutable_unknown_fields(); |
| } |
| |
| static const ClassifyUrlRequest& default_instance(); |
| |
| static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| static inline const ClassifyUrlRequest* internal_default_instance() { |
| return reinterpret_cast<const ClassifyUrlRequest*>( |
| &_ClassifyUrlRequest_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = |
| 4; |
| |
| GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClassifyUrlRequest* other); |
| friend void swap(ClassifyUrlRequest& a, ClassifyUrlRequest& b) { |
| a.Swap(&b); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| inline ClassifyUrlRequest* New() const final { |
| return CreateMaybeMessage<ClassifyUrlRequest>(NULL); |
| } |
| |
| ClassifyUrlRequest* New(::google::protobuf::Arena* arena) const final { |
| return CreateMaybeMessage<ClassifyUrlRequest>(arena); |
| } |
| void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
| final; |
| void CopyFrom(const ClassifyUrlRequest& from); |
| void MergeFrom(const ClassifyUrlRequest& from); |
| void Clear() final; |
| bool IsInitialized() const final; |
| |
| size_t ByteSizeLong() const final; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) final; |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const final; |
| void DiscardUnknownFields(); |
| int GetCachedSize() const final { return _cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| void InternalSwap(ClassifyUrlRequest* other); |
| private: |
| inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| return NULL; |
| } |
| inline void* MaybeArenaPtr() const { |
| return NULL; |
| } |
| public: |
| |
| ::std::string GetTypeName() const final; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string person_id = 1; |
| bool has_person_id() const; |
| void clear_person_id(); |
| static const int kPersonIdFieldNumber = 1; |
| const ::std::string& person_id() const; |
| void set_person_id(const ::std::string& value); |
| #if LANG_CXX11 |
| void set_person_id(::std::string&& value); |
| #endif |
| void set_person_id(const char* value); |
| void set_person_id(const char* value, size_t size); |
| ::std::string* mutable_person_id(); |
| ::std::string* release_person_id(); |
| void set_allocated_person_id(::std::string* person_id); |
| |
| // optional string url = 2; |
| bool has_url() const; |
| void clear_url(); |
| static const int kUrlFieldNumber = 2; |
| const ::std::string& url() const; |
| void set_url(const ::std::string& value); |
| #if LANG_CXX11 |
| void set_url(::std::string&& value); |
| #endif |
| void set_url(const char* value); |
| void set_url(const char* value, size_t size); |
| ::std::string* mutable_url(); |
| ::std::string* release_url(); |
| void set_allocated_url(::std::string* url); |
| |
| // optional string region_code = 3; |
| bool has_region_code() const; |
| void clear_region_code(); |
| static const int kRegionCodeFieldNumber = 3; |
| const ::std::string& region_code() const; |
| void set_region_code(const ::std::string& value); |
| #if LANG_CXX11 |
| void set_region_code(::std::string&& value); |
| #endif |
| void set_region_code(const char* value); |
| void set_region_code(const char* value, size_t size); |
| ::std::string* mutable_region_code(); |
| ::std::string* release_region_code(); |
| void set_allocated_region_code(::std::string* region_code); |
| |
| // @@protoc_insertion_point(class_scope:kids_chrome_management.ClassifyUrlRequest) |
| private: |
| void set_has_person_id(); |
| void clear_has_person_id(); |
| void set_has_url(); |
| void clear_has_url(); |
| void set_has_region_code(); |
| void clear_has_region_code(); |
| |
| ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::internal::ArenaStringPtr person_id_; |
| ::google::protobuf::internal::ArenaStringPtr url_; |
| ::google::protobuf::internal::ArenaStringPtr region_code_; |
| friend struct ::protobuf_kidschromemanagement_5fmessages_2eproto::TableStruct; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class ClassifyUrlResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:kids_chrome_management.ClassifyUrlResponse) */ { |
| public: |
| ClassifyUrlResponse(); |
| virtual ~ClassifyUrlResponse(); |
| |
| ClassifyUrlResponse(const ClassifyUrlResponse& from); |
| |
| inline ClassifyUrlResponse& operator=(const ClassifyUrlResponse& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| #if LANG_CXX11 |
| ClassifyUrlResponse(ClassifyUrlResponse&& from) noexcept |
| : ClassifyUrlResponse() { |
| *this = ::std::move(from); |
| } |
| |
| inline ClassifyUrlResponse& operator=(ClassifyUrlResponse&& from) noexcept { |
| if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| if (this != &from) InternalSwap(&from); |
| } else { |
| CopyFrom(from); |
| } |
| return *this; |
| } |
| #endif |
| inline const ::std::string& unknown_fields() const { |
| return _internal_metadata_.unknown_fields(); |
| } |
| inline ::std::string* mutable_unknown_fields() { |
| return _internal_metadata_.mutable_unknown_fields(); |
| } |
| |
| static const ClassifyUrlResponse& default_instance(); |
| |
| static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| static inline const ClassifyUrlResponse* internal_default_instance() { |
| return reinterpret_cast<const ClassifyUrlResponse*>( |
| &_ClassifyUrlResponse_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = |
| 5; |
| |
| GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClassifyUrlResponse* other); |
| friend void swap(ClassifyUrlResponse& a, ClassifyUrlResponse& b) { |
| a.Swap(&b); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| inline ClassifyUrlResponse* New() const final { |
| return CreateMaybeMessage<ClassifyUrlResponse>(NULL); |
| } |
| |
| ClassifyUrlResponse* New(::google::protobuf::Arena* arena) const final { |
| return CreateMaybeMessage<ClassifyUrlResponse>(arena); |
| } |
| void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
| final; |
| void CopyFrom(const ClassifyUrlResponse& from); |
| void MergeFrom(const ClassifyUrlResponse& from); |
| void Clear() final; |
| bool IsInitialized() const final; |
| |
| size_t ByteSizeLong() const final; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) final; |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const final; |
| void DiscardUnknownFields(); |
| int GetCachedSize() const final { return _cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| void InternalSwap(ClassifyUrlResponse* other); |
| private: |
| inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| return NULL; |
| } |
| inline void* MaybeArenaPtr() const { |
| return NULL; |
| } |
| public: |
| |
| ::std::string GetTypeName() const final; |
| |
| // nested types ---------------------------------------------------- |
| |
| typedef ClassifyUrlResponse_DisplayClassification DisplayClassification; |
| static const DisplayClassification UNKNOWN_DISPLAY_CLASSIFICATION = |
| ClassifyUrlResponse_DisplayClassification_UNKNOWN_DISPLAY_CLASSIFICATION; |
| static const DisplayClassification ALLOWED = |
| ClassifyUrlResponse_DisplayClassification_ALLOWED; |
| static const DisplayClassification RESTRICTED = |
| ClassifyUrlResponse_DisplayClassification_RESTRICTED; |
| static inline bool DisplayClassification_IsValid(int value) { |
| return ClassifyUrlResponse_DisplayClassification_IsValid(value); |
| } |
| static const DisplayClassification DisplayClassification_MIN = |
| ClassifyUrlResponse_DisplayClassification_DisplayClassification_MIN; |
| static const DisplayClassification DisplayClassification_MAX = |
| ClassifyUrlResponse_DisplayClassification_DisplayClassification_MAX; |
| static const int DisplayClassification_ARRAYSIZE = |
| ClassifyUrlResponse_DisplayClassification_DisplayClassification_ARRAYSIZE; |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional .kids_chrome_management.ClassifyUrlResponse.DisplayClassification display_classification = 1; |
| bool has_display_classification() const; |
| void clear_display_classification(); |
| static const int kDisplayClassificationFieldNumber = 1; |
| ::kids_chrome_management::ClassifyUrlResponse_DisplayClassification display_classification() const; |
| void set_display_classification(::kids_chrome_management::ClassifyUrlResponse_DisplayClassification value); |
| |
| // @@protoc_insertion_point(class_scope:kids_chrome_management.ClassifyUrlResponse) |
| private: |
| void set_has_display_classification(); |
| void clear_has_display_classification(); |
| |
| ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| int display_classification_; |
| friend struct ::protobuf_kidschromemanagement_5fmessages_2eproto::TableStruct; |
| }; |
| // =================================================================== |
| |
| |
| // =================================================================== |
| |
| #ifdef __GNUC__ |
| #pragma GCC diagnostic push |
| #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| #endif // __GNUC__ |
| // ListFamilyMembersRequest |
| |
| // optional string family_id = 1; |
| inline bool ListFamilyMembersRequest::has_family_id() const { |
| return (_has_bits_[0] & 0x00000001u) != 0; |
| } |
| inline void ListFamilyMembersRequest::set_has_family_id() { |
| _has_bits_[0] |= 0x00000001u; |
| } |
| inline void ListFamilyMembersRequest::clear_has_family_id() { |
| _has_bits_[0] &= ~0x00000001u; |
| } |
| inline void ListFamilyMembersRequest::clear_family_id() { |
| family_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| clear_has_family_id(); |
| } |
| inline const ::std::string& ListFamilyMembersRequest::family_id() const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.ListFamilyMembersRequest.family_id) |
| return family_id_.GetNoArena(); |
| } |
| inline void ListFamilyMembersRequest::set_family_id(const ::std::string& value) { |
| set_has_family_id(); |
| family_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| // @@protoc_insertion_point(field_set:kids_chrome_management.ListFamilyMembersRequest.family_id) |
| } |
| #if LANG_CXX11 |
| inline void ListFamilyMembersRequest::set_family_id(::std::string&& value) { |
| set_has_family_id(); |
| family_id_.SetNoArena( |
| &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| // @@protoc_insertion_point(field_set_rvalue:kids_chrome_management.ListFamilyMembersRequest.family_id) |
| } |
| #endif |
| inline void ListFamilyMembersRequest::set_family_id(const char* value) { |
| GOOGLE_DCHECK(value != NULL); |
| set_has_family_id(); |
| family_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| // @@protoc_insertion_point(field_set_char:kids_chrome_management.ListFamilyMembersRequest.family_id) |
| } |
| inline void ListFamilyMembersRequest::set_family_id(const char* value, size_t size) { |
| set_has_family_id(); |
| family_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| ::std::string(reinterpret_cast<const char*>(value), size)); |
| // @@protoc_insertion_point(field_set_pointer:kids_chrome_management.ListFamilyMembersRequest.family_id) |
| } |
| inline ::std::string* ListFamilyMembersRequest::mutable_family_id() { |
| set_has_family_id(); |
| // @@protoc_insertion_point(field_mutable:kids_chrome_management.ListFamilyMembersRequest.family_id) |
| return family_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline ::std::string* ListFamilyMembersRequest::release_family_id() { |
| // @@protoc_insertion_point(field_release:kids_chrome_management.ListFamilyMembersRequest.family_id) |
| if (!has_family_id()) { |
| return NULL; |
| } |
| clear_has_family_id(); |
| return family_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline void ListFamilyMembersRequest::set_allocated_family_id(::std::string* family_id) { |
| if (family_id != NULL) { |
| set_has_family_id(); |
| } else { |
| clear_has_family_id(); |
| } |
| family_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), family_id); |
| // @@protoc_insertion_point(field_set_allocated:kids_chrome_management.ListFamilyMembersRequest.family_id) |
| } |
| |
| // ------------------------------------------------------------------- |
| |
| // ListFamilyMembersResponse |
| |
| // optional string self_obfuscated_gaia_id = 1; |
| inline bool ListFamilyMembersResponse::has_self_obfuscated_gaia_id() const { |
| return (_has_bits_[0] & 0x00000001u) != 0; |
| } |
| inline void ListFamilyMembersResponse::set_has_self_obfuscated_gaia_id() { |
| _has_bits_[0] |= 0x00000001u; |
| } |
| inline void ListFamilyMembersResponse::clear_has_self_obfuscated_gaia_id() { |
| _has_bits_[0] &= ~0x00000001u; |
| } |
| inline void ListFamilyMembersResponse::clear_self_obfuscated_gaia_id() { |
| self_obfuscated_gaia_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| clear_has_self_obfuscated_gaia_id(); |
| } |
| inline const ::std::string& ListFamilyMembersResponse::self_obfuscated_gaia_id() const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.ListFamilyMembersResponse.self_obfuscated_gaia_id) |
| return self_obfuscated_gaia_id_.GetNoArena(); |
| } |
| inline void ListFamilyMembersResponse::set_self_obfuscated_gaia_id(const ::std::string& value) { |
| set_has_self_obfuscated_gaia_id(); |
| self_obfuscated_gaia_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| // @@protoc_insertion_point(field_set:kids_chrome_management.ListFamilyMembersResponse.self_obfuscated_gaia_id) |
| } |
| #if LANG_CXX11 |
| inline void ListFamilyMembersResponse::set_self_obfuscated_gaia_id(::std::string&& value) { |
| set_has_self_obfuscated_gaia_id(); |
| self_obfuscated_gaia_id_.SetNoArena( |
| &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| // @@protoc_insertion_point(field_set_rvalue:kids_chrome_management.ListFamilyMembersResponse.self_obfuscated_gaia_id) |
| } |
| #endif |
| inline void ListFamilyMembersResponse::set_self_obfuscated_gaia_id(const char* value) { |
| GOOGLE_DCHECK(value != NULL); |
| set_has_self_obfuscated_gaia_id(); |
| self_obfuscated_gaia_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| // @@protoc_insertion_point(field_set_char:kids_chrome_management.ListFamilyMembersResponse.self_obfuscated_gaia_id) |
| } |
| inline void ListFamilyMembersResponse::set_self_obfuscated_gaia_id(const char* value, size_t size) { |
| set_has_self_obfuscated_gaia_id(); |
| self_obfuscated_gaia_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| ::std::string(reinterpret_cast<const char*>(value), size)); |
| // @@protoc_insertion_point(field_set_pointer:kids_chrome_management.ListFamilyMembersResponse.self_obfuscated_gaia_id) |
| } |
| inline ::std::string* ListFamilyMembersResponse::mutable_self_obfuscated_gaia_id() { |
| set_has_self_obfuscated_gaia_id(); |
| // @@protoc_insertion_point(field_mutable:kids_chrome_management.ListFamilyMembersResponse.self_obfuscated_gaia_id) |
| return self_obfuscated_gaia_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline ::std::string* ListFamilyMembersResponse::release_self_obfuscated_gaia_id() { |
| // @@protoc_insertion_point(field_release:kids_chrome_management.ListFamilyMembersResponse.self_obfuscated_gaia_id) |
| if (!has_self_obfuscated_gaia_id()) { |
| return NULL; |
| } |
| clear_has_self_obfuscated_gaia_id(); |
| return self_obfuscated_gaia_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline void ListFamilyMembersResponse::set_allocated_self_obfuscated_gaia_id(::std::string* self_obfuscated_gaia_id) { |
| if (self_obfuscated_gaia_id != NULL) { |
| set_has_self_obfuscated_gaia_id(); |
| } else { |
| clear_has_self_obfuscated_gaia_id(); |
| } |
| self_obfuscated_gaia_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), self_obfuscated_gaia_id); |
| // @@protoc_insertion_point(field_set_allocated:kids_chrome_management.ListFamilyMembersResponse.self_obfuscated_gaia_id) |
| } |
| |
| // repeated .kids_chrome_management.FamilyMember members = 2; |
| inline int ListFamilyMembersResponse::members_size() const { |
| return members_.size(); |
| } |
| inline ::kids_chrome_management::FamilyMember* ListFamilyMembersResponse::mutable_members(int index) { |
| // @@protoc_insertion_point(field_mutable:kids_chrome_management.ListFamilyMembersResponse.members) |
| return members_.Mutable(index); |
| } |
| inline ::google::protobuf::RepeatedPtrField< ::kids_chrome_management::FamilyMember >* |
| ListFamilyMembersResponse::mutable_members() { |
| // @@protoc_insertion_point(field_mutable_list:kids_chrome_management.ListFamilyMembersResponse.members) |
| return &members_; |
| } |
| inline const ::kids_chrome_management::FamilyMember& ListFamilyMembersResponse::members(int index) const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.ListFamilyMembersResponse.members) |
| return members_.Get(index); |
| } |
| inline ::kids_chrome_management::FamilyMember* ListFamilyMembersResponse::add_members() { |
| // @@protoc_insertion_point(field_add:kids_chrome_management.ListFamilyMembersResponse.members) |
| return members_.Add(); |
| } |
| inline const ::google::protobuf::RepeatedPtrField< ::kids_chrome_management::FamilyMember >& |
| ListFamilyMembersResponse::members() const { |
| // @@protoc_insertion_point(field_list:kids_chrome_management.ListFamilyMembersResponse.members) |
| return members_; |
| } |
| |
| // ------------------------------------------------------------------- |
| |
| // RequestRestrictedUrlAccessRequest |
| |
| // optional string person_id = 1; |
| inline bool RequestRestrictedUrlAccessRequest::has_person_id() const { |
| return (_has_bits_[0] & 0x00000001u) != 0; |
| } |
| inline void RequestRestrictedUrlAccessRequest::set_has_person_id() { |
| _has_bits_[0] |= 0x00000001u; |
| } |
| inline void RequestRestrictedUrlAccessRequest::clear_has_person_id() { |
| _has_bits_[0] &= ~0x00000001u; |
| } |
| inline void RequestRestrictedUrlAccessRequest::clear_person_id() { |
| person_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| clear_has_person_id(); |
| } |
| inline const ::std::string& RequestRestrictedUrlAccessRequest::person_id() const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.RequestRestrictedUrlAccessRequest.person_id) |
| return person_id_.GetNoArena(); |
| } |
| inline void RequestRestrictedUrlAccessRequest::set_person_id(const ::std::string& value) { |
| set_has_person_id(); |
| person_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| // @@protoc_insertion_point(field_set:kids_chrome_management.RequestRestrictedUrlAccessRequest.person_id) |
| } |
| #if LANG_CXX11 |
| inline void RequestRestrictedUrlAccessRequest::set_person_id(::std::string&& value) { |
| set_has_person_id(); |
| person_id_.SetNoArena( |
| &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| // @@protoc_insertion_point(field_set_rvalue:kids_chrome_management.RequestRestrictedUrlAccessRequest.person_id) |
| } |
| #endif |
| inline void RequestRestrictedUrlAccessRequest::set_person_id(const char* value) { |
| GOOGLE_DCHECK(value != NULL); |
| set_has_person_id(); |
| person_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| // @@protoc_insertion_point(field_set_char:kids_chrome_management.RequestRestrictedUrlAccessRequest.person_id) |
| } |
| inline void RequestRestrictedUrlAccessRequest::set_person_id(const char* value, size_t size) { |
| set_has_person_id(); |
| person_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| ::std::string(reinterpret_cast<const char*>(value), size)); |
| // @@protoc_insertion_point(field_set_pointer:kids_chrome_management.RequestRestrictedUrlAccessRequest.person_id) |
| } |
| inline ::std::string* RequestRestrictedUrlAccessRequest::mutable_person_id() { |
| set_has_person_id(); |
| // @@protoc_insertion_point(field_mutable:kids_chrome_management.RequestRestrictedUrlAccessRequest.person_id) |
| return person_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline ::std::string* RequestRestrictedUrlAccessRequest::release_person_id() { |
| // @@protoc_insertion_point(field_release:kids_chrome_management.RequestRestrictedUrlAccessRequest.person_id) |
| if (!has_person_id()) { |
| return NULL; |
| } |
| clear_has_person_id(); |
| return person_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline void RequestRestrictedUrlAccessRequest::set_allocated_person_id(::std::string* person_id) { |
| if (person_id != NULL) { |
| set_has_person_id(); |
| } else { |
| clear_has_person_id(); |
| } |
| person_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), person_id); |
| // @@protoc_insertion_point(field_set_allocated:kids_chrome_management.RequestRestrictedUrlAccessRequest.person_id) |
| } |
| |
| // optional string url = 2; |
| inline bool RequestRestrictedUrlAccessRequest::has_url() const { |
| return (_has_bits_[0] & 0x00000002u) != 0; |
| } |
| inline void RequestRestrictedUrlAccessRequest::set_has_url() { |
| _has_bits_[0] |= 0x00000002u; |
| } |
| inline void RequestRestrictedUrlAccessRequest::clear_has_url() { |
| _has_bits_[0] &= ~0x00000002u; |
| } |
| inline void RequestRestrictedUrlAccessRequest::clear_url() { |
| url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| clear_has_url(); |
| } |
| inline const ::std::string& RequestRestrictedUrlAccessRequest::url() const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.RequestRestrictedUrlAccessRequest.url) |
| return url_.GetNoArena(); |
| } |
| inline void RequestRestrictedUrlAccessRequest::set_url(const ::std::string& value) { |
| set_has_url(); |
| url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| // @@protoc_insertion_point(field_set:kids_chrome_management.RequestRestrictedUrlAccessRequest.url) |
| } |
| #if LANG_CXX11 |
| inline void RequestRestrictedUrlAccessRequest::set_url(::std::string&& value) { |
| set_has_url(); |
| url_.SetNoArena( |
| &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| // @@protoc_insertion_point(field_set_rvalue:kids_chrome_management.RequestRestrictedUrlAccessRequest.url) |
| } |
| #endif |
| inline void RequestRestrictedUrlAccessRequest::set_url(const char* value) { |
| GOOGLE_DCHECK(value != NULL); |
| set_has_url(); |
| url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| // @@protoc_insertion_point(field_set_char:kids_chrome_management.RequestRestrictedUrlAccessRequest.url) |
| } |
| inline void RequestRestrictedUrlAccessRequest::set_url(const char* value, size_t size) { |
| set_has_url(); |
| url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| ::std::string(reinterpret_cast<const char*>(value), size)); |
| // @@protoc_insertion_point(field_set_pointer:kids_chrome_management.RequestRestrictedUrlAccessRequest.url) |
| } |
| inline ::std::string* RequestRestrictedUrlAccessRequest::mutable_url() { |
| set_has_url(); |
| // @@protoc_insertion_point(field_mutable:kids_chrome_management.RequestRestrictedUrlAccessRequest.url) |
| return url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline ::std::string* RequestRestrictedUrlAccessRequest::release_url() { |
| // @@protoc_insertion_point(field_release:kids_chrome_management.RequestRestrictedUrlAccessRequest.url) |
| if (!has_url()) { |
| return NULL; |
| } |
| clear_has_url(); |
| return url_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline void RequestRestrictedUrlAccessRequest::set_allocated_url(::std::string* url) { |
| if (url != NULL) { |
| set_has_url(); |
| } else { |
| clear_has_url(); |
| } |
| url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), url); |
| // @@protoc_insertion_point(field_set_allocated:kids_chrome_management.RequestRestrictedUrlAccessRequest.url) |
| } |
| |
| // ------------------------------------------------------------------- |
| |
| // RequestRestrictedUrlAccessResponse |
| |
| // ------------------------------------------------------------------- |
| |
| // ClassifyUrlRequest |
| |
| // optional string person_id = 1; |
| inline bool ClassifyUrlRequest::has_person_id() const { |
| return (_has_bits_[0] & 0x00000001u) != 0; |
| } |
| inline void ClassifyUrlRequest::set_has_person_id() { |
| _has_bits_[0] |= 0x00000001u; |
| } |
| inline void ClassifyUrlRequest::clear_has_person_id() { |
| _has_bits_[0] &= ~0x00000001u; |
| } |
| inline void ClassifyUrlRequest::clear_person_id() { |
| person_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| clear_has_person_id(); |
| } |
| inline const ::std::string& ClassifyUrlRequest::person_id() const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.ClassifyUrlRequest.person_id) |
| return person_id_.GetNoArena(); |
| } |
| inline void ClassifyUrlRequest::set_person_id(const ::std::string& value) { |
| set_has_person_id(); |
| person_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| // @@protoc_insertion_point(field_set:kids_chrome_management.ClassifyUrlRequest.person_id) |
| } |
| #if LANG_CXX11 |
| inline void ClassifyUrlRequest::set_person_id(::std::string&& value) { |
| set_has_person_id(); |
| person_id_.SetNoArena( |
| &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| // @@protoc_insertion_point(field_set_rvalue:kids_chrome_management.ClassifyUrlRequest.person_id) |
| } |
| #endif |
| inline void ClassifyUrlRequest::set_person_id(const char* value) { |
| GOOGLE_DCHECK(value != NULL); |
| set_has_person_id(); |
| person_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| // @@protoc_insertion_point(field_set_char:kids_chrome_management.ClassifyUrlRequest.person_id) |
| } |
| inline void ClassifyUrlRequest::set_person_id(const char* value, size_t size) { |
| set_has_person_id(); |
| person_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| ::std::string(reinterpret_cast<const char*>(value), size)); |
| // @@protoc_insertion_point(field_set_pointer:kids_chrome_management.ClassifyUrlRequest.person_id) |
| } |
| inline ::std::string* ClassifyUrlRequest::mutable_person_id() { |
| set_has_person_id(); |
| // @@protoc_insertion_point(field_mutable:kids_chrome_management.ClassifyUrlRequest.person_id) |
| return person_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline ::std::string* ClassifyUrlRequest::release_person_id() { |
| // @@protoc_insertion_point(field_release:kids_chrome_management.ClassifyUrlRequest.person_id) |
| if (!has_person_id()) { |
| return NULL; |
| } |
| clear_has_person_id(); |
| return person_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline void ClassifyUrlRequest::set_allocated_person_id(::std::string* person_id) { |
| if (person_id != NULL) { |
| set_has_person_id(); |
| } else { |
| clear_has_person_id(); |
| } |
| person_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), person_id); |
| // @@protoc_insertion_point(field_set_allocated:kids_chrome_management.ClassifyUrlRequest.person_id) |
| } |
| |
| // optional string url = 2; |
| inline bool ClassifyUrlRequest::has_url() const { |
| return (_has_bits_[0] & 0x00000002u) != 0; |
| } |
| inline void ClassifyUrlRequest::set_has_url() { |
| _has_bits_[0] |= 0x00000002u; |
| } |
| inline void ClassifyUrlRequest::clear_has_url() { |
| _has_bits_[0] &= ~0x00000002u; |
| } |
| inline void ClassifyUrlRequest::clear_url() { |
| url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| clear_has_url(); |
| } |
| inline const ::std::string& ClassifyUrlRequest::url() const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.ClassifyUrlRequest.url) |
| return url_.GetNoArena(); |
| } |
| inline void ClassifyUrlRequest::set_url(const ::std::string& value) { |
| set_has_url(); |
| url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| // @@protoc_insertion_point(field_set:kids_chrome_management.ClassifyUrlRequest.url) |
| } |
| #if LANG_CXX11 |
| inline void ClassifyUrlRequest::set_url(::std::string&& value) { |
| set_has_url(); |
| url_.SetNoArena( |
| &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| // @@protoc_insertion_point(field_set_rvalue:kids_chrome_management.ClassifyUrlRequest.url) |
| } |
| #endif |
| inline void ClassifyUrlRequest::set_url(const char* value) { |
| GOOGLE_DCHECK(value != NULL); |
| set_has_url(); |
| url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| // @@protoc_insertion_point(field_set_char:kids_chrome_management.ClassifyUrlRequest.url) |
| } |
| inline void ClassifyUrlRequest::set_url(const char* value, size_t size) { |
| set_has_url(); |
| url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| ::std::string(reinterpret_cast<const char*>(value), size)); |
| // @@protoc_insertion_point(field_set_pointer:kids_chrome_management.ClassifyUrlRequest.url) |
| } |
| inline ::std::string* ClassifyUrlRequest::mutable_url() { |
| set_has_url(); |
| // @@protoc_insertion_point(field_mutable:kids_chrome_management.ClassifyUrlRequest.url) |
| return url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline ::std::string* ClassifyUrlRequest::release_url() { |
| // @@protoc_insertion_point(field_release:kids_chrome_management.ClassifyUrlRequest.url) |
| if (!has_url()) { |
| return NULL; |
| } |
| clear_has_url(); |
| return url_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline void ClassifyUrlRequest::set_allocated_url(::std::string* url) { |
| if (url != NULL) { |
| set_has_url(); |
| } else { |
| clear_has_url(); |
| } |
| url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), url); |
| // @@protoc_insertion_point(field_set_allocated:kids_chrome_management.ClassifyUrlRequest.url) |
| } |
| |
| // optional string region_code = 3; |
| inline bool ClassifyUrlRequest::has_region_code() const { |
| return (_has_bits_[0] & 0x00000004u) != 0; |
| } |
| inline void ClassifyUrlRequest::set_has_region_code() { |
| _has_bits_[0] |= 0x00000004u; |
| } |
| inline void ClassifyUrlRequest::clear_has_region_code() { |
| _has_bits_[0] &= ~0x00000004u; |
| } |
| inline void ClassifyUrlRequest::clear_region_code() { |
| region_code_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| clear_has_region_code(); |
| } |
| inline const ::std::string& ClassifyUrlRequest::region_code() const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.ClassifyUrlRequest.region_code) |
| return region_code_.GetNoArena(); |
| } |
| inline void ClassifyUrlRequest::set_region_code(const ::std::string& value) { |
| set_has_region_code(); |
| region_code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
| // @@protoc_insertion_point(field_set:kids_chrome_management.ClassifyUrlRequest.region_code) |
| } |
| #if LANG_CXX11 |
| inline void ClassifyUrlRequest::set_region_code(::std::string&& value) { |
| set_has_region_code(); |
| region_code_.SetNoArena( |
| &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| // @@protoc_insertion_point(field_set_rvalue:kids_chrome_management.ClassifyUrlRequest.region_code) |
| } |
| #endif |
| inline void ClassifyUrlRequest::set_region_code(const char* value) { |
| GOOGLE_DCHECK(value != NULL); |
| set_has_region_code(); |
| region_code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| // @@protoc_insertion_point(field_set_char:kids_chrome_management.ClassifyUrlRequest.region_code) |
| } |
| inline void ClassifyUrlRequest::set_region_code(const char* value, size_t size) { |
| set_has_region_code(); |
| region_code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| ::std::string(reinterpret_cast<const char*>(value), size)); |
| // @@protoc_insertion_point(field_set_pointer:kids_chrome_management.ClassifyUrlRequest.region_code) |
| } |
| inline ::std::string* ClassifyUrlRequest::mutable_region_code() { |
| set_has_region_code(); |
| // @@protoc_insertion_point(field_mutable:kids_chrome_management.ClassifyUrlRequest.region_code) |
| return region_code_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline ::std::string* ClassifyUrlRequest::release_region_code() { |
| // @@protoc_insertion_point(field_release:kids_chrome_management.ClassifyUrlRequest.region_code) |
| if (!has_region_code()) { |
| return NULL; |
| } |
| clear_has_region_code(); |
| return region_code_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| inline void ClassifyUrlRequest::set_allocated_region_code(::std::string* region_code) { |
| if (region_code != NULL) { |
| set_has_region_code(); |
| } else { |
| clear_has_region_code(); |
| } |
| region_code_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), region_code); |
| // @@protoc_insertion_point(field_set_allocated:kids_chrome_management.ClassifyUrlRequest.region_code) |
| } |
| |
| // ------------------------------------------------------------------- |
| |
| // ClassifyUrlResponse |
| |
| // optional .kids_chrome_management.ClassifyUrlResponse.DisplayClassification display_classification = 1; |
| inline bool ClassifyUrlResponse::has_display_classification() const { |
| return (_has_bits_[0] & 0x00000001u) != 0; |
| } |
| inline void ClassifyUrlResponse::set_has_display_classification() { |
| _has_bits_[0] |= 0x00000001u; |
| } |
| inline void ClassifyUrlResponse::clear_has_display_classification() { |
| _has_bits_[0] &= ~0x00000001u; |
| } |
| inline void ClassifyUrlResponse::clear_display_classification() { |
| display_classification_ = 0; |
| clear_has_display_classification(); |
| } |
| inline ::kids_chrome_management::ClassifyUrlResponse_DisplayClassification ClassifyUrlResponse::display_classification() const { |
| // @@protoc_insertion_point(field_get:kids_chrome_management.ClassifyUrlResponse.display_classification) |
| return static_cast< ::kids_chrome_management::ClassifyUrlResponse_DisplayClassification >(display_classification_); |
| } |
| inline void ClassifyUrlResponse::set_display_classification(::kids_chrome_management::ClassifyUrlResponse_DisplayClassification value) { |
| assert(::kids_chrome_management::ClassifyUrlResponse_DisplayClassification_IsValid(value)); |
| set_has_display_classification(); |
| display_classification_ = value; |
| // @@protoc_insertion_point(field_set:kids_chrome_management.ClassifyUrlResponse.display_classification) |
| } |
| |
| #ifdef __GNUC__ |
| #pragma GCC diagnostic pop |
| #endif // __GNUC__ |
| // ------------------------------------------------------------------- |
| |
| // ------------------------------------------------------------------- |
| |
| // ------------------------------------------------------------------- |
| |
| // ------------------------------------------------------------------- |
| |
| // ------------------------------------------------------------------- |
| |
| |
| // @@protoc_insertion_point(namespace_scope) |
| |
| } // namespace kids_chrome_management |
| |
| namespace google { |
| namespace protobuf { |
| |
| template <> struct is_proto_enum< ::kids_chrome_management::ClassifyUrlResponse_DisplayClassification> : ::std::true_type {}; |
| |
| } // namespace protobuf |
| } // namespace google |
| |
| // @@protoc_insertion_point(global_scope) |
| |
| #endif // PROTOBUF_INCLUDED_kidschromemanagement_5fmessages_2eproto |