blob: aec78b1e644fc4f257b036a95b147bd5ad391413 [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
// fidl_experiment = output_index_json
#pragma once
#include <lib/fidl/cpp/wire/internal/transport.h>
#include <lib/fidl/cpp/wire/unknown_interactions.h>
namespace test_typesinprotocols {
class Protocol final {
Protocol() = delete;
public:
using Transport = ::fidl::internal::ChannelTransport;
static constexpr ::fidl::internal::Openness kOpenness = ::fidl::internal::Openness::kClosed;
class OneWayBasic final {
OneWayBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayBasic final {
TwoWayBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorBasic final {
ErrorBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventBasic final {
EventBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class OneWayCompound final {
OneWayCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayCompound final {
TwoWayCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorCompound final {
ErrorCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventCompound final {
EventCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class OneWayArrayBasic final {
OneWayArrayBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayArrayBasic final {
TwoWayArrayBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorArrayBasic final {
ErrorArrayBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventArrayBasic final {
EventArrayBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class OneWayArrayCompound final {
OneWayArrayCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayArrayCompound final {
TwoWayArrayCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorArrayCompound final {
ErrorArrayCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventArrayCompound final {
EventArrayCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class OneWayVectorBasic final {
OneWayVectorBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayVectorBasic final {
TwoWayVectorBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorVectorBasic final {
ErrorVectorBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventVectorBasic final {
EventVectorBasic() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class OneWayVectorCompound final {
OneWayVectorCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayVectorCompound final {
TwoWayVectorCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorVectorCompound final {
ErrorVectorCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventVectorCompound final {
EventVectorCompound() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class OneWayVectorOptional final {
OneWayVectorOptional() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayVectorOptional final {
TwoWayVectorOptional() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorVectorOptional final {
ErrorVectorOptional() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventVectorOptional final {
EventVectorOptional() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class OneWayArrayVectorNested final {
OneWayArrayVectorNested() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayArrayVectorNested final {
TwoWayArrayVectorNested() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorArrayVectorNested final {
ErrorArrayVectorNested() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventArrayVectorNested final {
EventArrayVectorNested() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class OneWayResource final {
OneWayResource() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class TwoWayResource final {
TwoWayResource() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class ErrorResource final {
ErrorResource() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class EventResource final {
EventResource() = delete;
public:
using Protocol = ::test_typesinprotocols::Protocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
};
} // namespace test_typesinprotocols
namespace fidl {
template <>
struct IsProtocol<::test_typesinprotocols::Protocol> : public std::true_type {};
} // namespace fidl