// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: keyapis/dial/v1/keyapis_dial_call_v1.proto

#include "keyapis/dial/v1/keyapis_dial_call_v1.pb.h"

#include <algorithm>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
namespace keyapis {
namespace dial {
namespace v1 {
template <typename>
PROTOBUF_CONSTEXPR PostCallRequest::PostCallRequest(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_.to_number_)*/ {
    &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  }

  , /*decltype(_impl_.from_number_)*/ {
    &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  }

  , /*decltype(_impl_._cached_size_)*/{}} {}
struct PostCallRequestDefaultTypeInternal {
  PROTOBUF_CONSTEXPR PostCallRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~PostCallRequestDefaultTypeInternal() {}
  union {
    PostCallRequest _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PostCallRequestDefaultTypeInternal _PostCallRequest_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR PostCallResponse::PostCallResponse(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_._cached_size_)*/{}} {}
struct PostCallResponseDefaultTypeInternal {
  PROTOBUF_CONSTEXPR PostCallResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~PostCallResponseDefaultTypeInternal() {}
  union {
    PostCallResponse _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PostCallResponseDefaultTypeInternal _PostCallResponse_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR PostCallCancelRequest::PostCallCancelRequest(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_.sip_account_)*/ {
    &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  }

  , /*decltype(_impl_._cached_size_)*/{}} {}
struct PostCallCancelRequestDefaultTypeInternal {
  PROTOBUF_CONSTEXPR PostCallCancelRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~PostCallCancelRequestDefaultTypeInternal() {}
  union {
    PostCallCancelRequest _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PostCallCancelRequestDefaultTypeInternal _PostCallCancelRequest_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR PostCallCancelResponse::PostCallCancelResponse(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_._cached_size_)*/{}} {}
struct PostCallCancelResponseDefaultTypeInternal {
  PROTOBUF_CONSTEXPR PostCallCancelResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~PostCallCancelResponseDefaultTypeInternal() {}
  union {
    PostCallCancelResponse _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PostCallCancelResponseDefaultTypeInternal _PostCallCancelResponse_default_instance_;
}  // namespace v1
}  // namespace dial
}  // namespace keyapis
namespace keyapis {
namespace dial {
namespace v1 {
// ===================================================================

class PostCallRequest::_Internal {
 public:
};

PostCallRequest::PostCallRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.dial.v1.PostCallRequest)
}
PostCallRequest::PostCallRequest(const PostCallRequest& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  PostCallRequest* const _this = this; (void)_this;
  new (&_impl_) Impl_{
      decltype(_impl_.to_number_) {}

    , decltype(_impl_.from_number_) {}

    , /*decltype(_impl_._cached_size_)*/{}};

  _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  _impl_.to_number_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        _impl_.to_number_.Set("", GetArenaForAllocation());
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_to_number().empty()) {
    _this->_impl_.to_number_.Set(from._internal_to_number(), _this->GetArenaForAllocation());
  }
  _impl_.from_number_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        _impl_.from_number_.Set("", GetArenaForAllocation());
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_from_number().empty()) {
    _this->_impl_.from_number_.Set(from._internal_from_number(), _this->GetArenaForAllocation());
  }
  // @@protoc_insertion_point(copy_constructor:keyapis.dial.v1.PostCallRequest)
}

inline void PostCallRequest::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      decltype(_impl_.to_number_) {}

    , decltype(_impl_.from_number_) {}

    , /*decltype(_impl_._cached_size_)*/{}
  };
  _impl_.to_number_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        _impl_.to_number_.Set("", GetArenaForAllocation());
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  _impl_.from_number_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        _impl_.from_number_.Set("", GetArenaForAllocation());
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}

PostCallRequest::~PostCallRequest() {
  // @@protoc_insertion_point(destructor:keyapis.dial.v1.PostCallRequest)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void PostCallRequest::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  _impl_.to_number_.Destroy();
  _impl_.from_number_.Destroy();
}

void PostCallRequest::SetCachedSize(int size) const {
  _impl_._cached_size_.Set(size);
}

void PostCallRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:keyapis.dial.v1.PostCallRequest)
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  _impl_.to_number_.ClearToEmpty();
  _impl_.from_number_.ClearToEmpty();
  _internal_metadata_.Clear<std::string>();
}

const char* PostCallRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // string to_number = 1 [(.google.api.field_behavior) = REQUIRED];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
          auto str = _internal_mutable_to_number();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, nullptr));
        } else {
          goto handle_unusual;
        }
        continue;
      // string from_number = 2 [(.google.api.field_behavior) = REQUIRED];
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
          auto str = _internal_mutable_from_number();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, nullptr));
        } else {
          goto handle_unusual;
        }
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::uint8_t* PostCallRequest::_InternalSerialize(
    ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:keyapis.dial.v1.PostCallRequest)
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  // string to_number = 1 [(.google.api.field_behavior) = REQUIRED];
  if (!this->_internal_to_number().empty()) {
    const std::string& _s = this->_internal_to_number();
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "keyapis.dial.v1.PostCallRequest.to_number");
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // string from_number = 2 [(.google.api.field_behavior) = REQUIRED];
  if (!this->_internal_from_number().empty()) {
    const std::string& _s = this->_internal_from_number();
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "keyapis.dial.v1.PostCallRequest.from_number");
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
        static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:keyapis.dial.v1.PostCallRequest)
  return target;
}

::size_t PostCallRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:keyapis.dial.v1.PostCallRequest)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // string to_number = 1 [(.google.api.field_behavior) = REQUIRED];
  if (!this->_internal_to_number().empty()) {
    total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
                                    this->_internal_to_number());
  }

  // string from_number = 2 [(.google.api.field_behavior) = REQUIRED];
  if (!this->_internal_from_number().empty()) {
    total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
                                    this->_internal_from_number());
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  }
  int cached_size = ::_pbi::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void PostCallRequest::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const PostCallRequest*>(
      &from));
}

void PostCallRequest::MergeFrom(const PostCallRequest& from) {
  PostCallRequest* const _this = this;
  // @@protoc_insertion_point(class_specific_merge_from_start:keyapis.dial.v1.PostCallRequest)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (!from._internal_to_number().empty()) {
    _this->_internal_set_to_number(from._internal_to_number());
  }
  if (!from._internal_from_number().empty()) {
    _this->_internal_set_from_number(from._internal_from_number());
  }
  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

void PostCallRequest::CopyFrom(const PostCallRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:keyapis.dial.v1.PostCallRequest)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool PostCallRequest::IsInitialized() const {
  return true;
}

void PostCallRequest::InternalSwap(PostCallRequest* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.to_number_, lhs_arena,
                                       &other->_impl_.to_number_, rhs_arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.from_number_, lhs_arena,
                                       &other->_impl_.from_number_, rhs_arena);
}

std::string PostCallRequest::GetTypeName() const {
  return "keyapis.dial.v1.PostCallRequest";
}

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

class PostCallResponse::_Internal {
 public:
};

PostCallResponse::PostCallResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.dial.v1.PostCallResponse)
}
PostCallResponse::PostCallResponse(const PostCallResponse& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<std::string>(
      from._internal_metadata_);
  // @@protoc_insertion_point(copy_constructor:keyapis.dial.v1.PostCallResponse)
}

inline void PostCallResponse::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      /*decltype(_impl_._cached_size_)*/{}
  };
}

PostCallResponse::~PostCallResponse() {
  // @@protoc_insertion_point(destructor:keyapis.dial.v1.PostCallResponse)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void PostCallResponse::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}

void PostCallResponse::SetCachedSize(int size) const {
  _impl_._cached_size_.Set(size);
}

void PostCallResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:keyapis.dial.v1.PostCallResponse)
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  _internal_metadata_.Clear<std::string>();
}

const char* PostCallResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::uint8_t* PostCallResponse::_InternalSerialize(
    ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:keyapis.dial.v1.PostCallResponse)
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
        static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:keyapis.dial.v1.PostCallResponse)
  return target;
}

::size_t PostCallResponse::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:keyapis.dial.v1.PostCallResponse)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  }
  int cached_size = ::_pbi::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void PostCallResponse::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const PostCallResponse*>(
      &from));
}

void PostCallResponse::MergeFrom(const PostCallResponse& from) {
  PostCallResponse* const _this = this;
  // @@protoc_insertion_point(class_specific_merge_from_start:keyapis.dial.v1.PostCallResponse)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

void PostCallResponse::CopyFrom(const PostCallResponse& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:keyapis.dial.v1.PostCallResponse)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool PostCallResponse::IsInitialized() const {
  return true;
}

void PostCallResponse::InternalSwap(PostCallResponse* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
}

std::string PostCallResponse::GetTypeName() const {
  return "keyapis.dial.v1.PostCallResponse";
}

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

class PostCallCancelRequest::_Internal {
 public:
};

PostCallCancelRequest::PostCallCancelRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.dial.v1.PostCallCancelRequest)
}
PostCallCancelRequest::PostCallCancelRequest(const PostCallCancelRequest& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  PostCallCancelRequest* const _this = this; (void)_this;
  new (&_impl_) Impl_{
      decltype(_impl_.sip_account_) {}

    , /*decltype(_impl_._cached_size_)*/{}};

  _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  _impl_.sip_account_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        _impl_.sip_account_.Set("", GetArenaForAllocation());
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_sip_account().empty()) {
    _this->_impl_.sip_account_.Set(from._internal_sip_account(), _this->GetArenaForAllocation());
  }
  // @@protoc_insertion_point(copy_constructor:keyapis.dial.v1.PostCallCancelRequest)
}

inline void PostCallCancelRequest::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      decltype(_impl_.sip_account_) {}

    , /*decltype(_impl_._cached_size_)*/{}
  };
  _impl_.sip_account_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        _impl_.sip_account_.Set("", GetArenaForAllocation());
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}

PostCallCancelRequest::~PostCallCancelRequest() {
  // @@protoc_insertion_point(destructor:keyapis.dial.v1.PostCallCancelRequest)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void PostCallCancelRequest::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  _impl_.sip_account_.Destroy();
}

void PostCallCancelRequest::SetCachedSize(int size) const {
  _impl_._cached_size_.Set(size);
}

void PostCallCancelRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:keyapis.dial.v1.PostCallCancelRequest)
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  _impl_.sip_account_.ClearToEmpty();
  _internal_metadata_.Clear<std::string>();
}

const char* PostCallCancelRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // string sip_account = 1 [(.google.api.field_behavior) = REQUIRED];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
          auto str = _internal_mutable_sip_account();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, nullptr));
        } else {
          goto handle_unusual;
        }
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::uint8_t* PostCallCancelRequest::_InternalSerialize(
    ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:keyapis.dial.v1.PostCallCancelRequest)
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  // string sip_account = 1 [(.google.api.field_behavior) = REQUIRED];
  if (!this->_internal_sip_account().empty()) {
    const std::string& _s = this->_internal_sip_account();
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "keyapis.dial.v1.PostCallCancelRequest.sip_account");
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
        static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:keyapis.dial.v1.PostCallCancelRequest)
  return target;
}

::size_t PostCallCancelRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:keyapis.dial.v1.PostCallCancelRequest)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // string sip_account = 1 [(.google.api.field_behavior) = REQUIRED];
  if (!this->_internal_sip_account().empty()) {
    total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
                                    this->_internal_sip_account());
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  }
  int cached_size = ::_pbi::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void PostCallCancelRequest::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const PostCallCancelRequest*>(
      &from));
}

void PostCallCancelRequest::MergeFrom(const PostCallCancelRequest& from) {
  PostCallCancelRequest* const _this = this;
  // @@protoc_insertion_point(class_specific_merge_from_start:keyapis.dial.v1.PostCallCancelRequest)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (!from._internal_sip_account().empty()) {
    _this->_internal_set_sip_account(from._internal_sip_account());
  }
  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

void PostCallCancelRequest::CopyFrom(const PostCallCancelRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:keyapis.dial.v1.PostCallCancelRequest)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool PostCallCancelRequest::IsInitialized() const {
  return true;
}

void PostCallCancelRequest::InternalSwap(PostCallCancelRequest* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sip_account_, lhs_arena,
                                       &other->_impl_.sip_account_, rhs_arena);
}

std::string PostCallCancelRequest::GetTypeName() const {
  return "keyapis.dial.v1.PostCallCancelRequest";
}

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

class PostCallCancelResponse::_Internal {
 public:
};

PostCallCancelResponse::PostCallCancelResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.dial.v1.PostCallCancelResponse)
}
PostCallCancelResponse::PostCallCancelResponse(const PostCallCancelResponse& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<std::string>(
      from._internal_metadata_);
  // @@protoc_insertion_point(copy_constructor:keyapis.dial.v1.PostCallCancelResponse)
}

inline void PostCallCancelResponse::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      /*decltype(_impl_._cached_size_)*/{}
  };
}

PostCallCancelResponse::~PostCallCancelResponse() {
  // @@protoc_insertion_point(destructor:keyapis.dial.v1.PostCallCancelResponse)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void PostCallCancelResponse::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}

void PostCallCancelResponse::SetCachedSize(int size) const {
  _impl_._cached_size_.Set(size);
}

void PostCallCancelResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:keyapis.dial.v1.PostCallCancelResponse)
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  _internal_metadata_.Clear<std::string>();
}

const char* PostCallCancelResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::uint8_t* PostCallCancelResponse::_InternalSerialize(
    ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:keyapis.dial.v1.PostCallCancelResponse)
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
        static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:keyapis.dial.v1.PostCallCancelResponse)
  return target;
}

::size_t PostCallCancelResponse::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:keyapis.dial.v1.PostCallCancelResponse)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  }
  int cached_size = ::_pbi::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void PostCallCancelResponse::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const PostCallCancelResponse*>(
      &from));
}

void PostCallCancelResponse::MergeFrom(const PostCallCancelResponse& from) {
  PostCallCancelResponse* const _this = this;
  // @@protoc_insertion_point(class_specific_merge_from_start:keyapis.dial.v1.PostCallCancelResponse)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

void PostCallCancelResponse::CopyFrom(const PostCallCancelResponse& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:keyapis.dial.v1.PostCallCancelResponse)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool PostCallCancelResponse::IsInitialized() const {
  return true;
}

void PostCallCancelResponse::InternalSwap(PostCallCancelResponse* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
}

std::string PostCallCancelResponse::GetTypeName() const {
  return "keyapis.dial.v1.PostCallCancelResponse";
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace v1
}  // namespace dial
}  // namespace keyapis
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::keyapis::dial::v1::PostCallRequest*
Arena::CreateMaybeMessage< ::keyapis::dial::v1::PostCallRequest >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::dial::v1::PostCallRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::dial::v1::PostCallResponse*
Arena::CreateMaybeMessage< ::keyapis::dial::v1::PostCallResponse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::dial::v1::PostCallResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::dial::v1::PostCallCancelRequest*
Arena::CreateMaybeMessage< ::keyapis::dial::v1::PostCallCancelRequest >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::dial::v1::PostCallCancelRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::dial::v1::PostCallCancelResponse*
Arena::CreateMaybeMessage< ::keyapis::dial::v1::PostCallCancelResponse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::dial::v1::PostCallCancelResponse >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
