সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
gpg:: স্ন্যাপশট ম্যানেজার:: ওপেন রেসপন্স
#include <snapshot_manager.h>
একটি প্রতিক্রিয়া স্থিতি সহ একটি নির্দিষ্ট অনুরোধ করা স্ন্যাপশটের জন্য ডেটা ধারণ করে৷
সারাংশ
যদি স্ন্যাপশটটি একটি বিরোধপূর্ণ অবস্থায় থাকে, তবে মূল স্ন্যাপশট data
বৈধ হবে না এবং conflict_id
, conflict_original
, এবং conflict_unmerged
ক্ষেত্রগুলিতে বিরোধের তথ্য প্রদান করা হবে। স্ন্যাপশট ভবিষ্যতের পরিবর্তনগুলি পেতে পারে তার আগে দ্বন্দ্ব অবশ্যই সমাধান করা উচিত।
পাবলিক বৈশিষ্ট্য
দ্বন্দ্ব_আইডি
std::string gpg::SnapshotManager::OpenResponse::conflict_id
এই দ্বন্দ্বের শনাক্তকারী।
যদি এই স্ট্রিং খালি হয়, কোন বিরোধ নেই।
দ্বন্দ্ব_অরিজিনাল
SnapshotMetadata gpg::SnapshotManager::OpenResponse::conflict_original
conflict_id
খালি থাকলে খালি।
এটি স্ন্যাপশটের বর্তমান সংস্করণে সম্মত। দ্রষ্টব্য: পূর্বে conflict_base
বলা হয়।
দ্বন্দ্ব_অমার্জিত
SnapshotMetadata gpg::SnapshotManager::OpenResponse::conflict_unmerged
conflict_id
খালি থাকলে খালি।
এটি হল প্রস্তাবিত পরিবর্তন যা অন্য ডিভাইস থেকে বিরোধপূর্ণ ক্রিয়াকলাপের কারণে প্রয়োগ করা যায়নি। দ্রষ্টব্য: পূর্বে conflict_remote
বলা হয়।
তথ্য
SnapshotMetadata gpg::SnapshotManager::OpenResponse::data
একটি Snapshot
।
এই স্ন্যাপশট শুধুমাত্র বৈধ হবে যদি কোনো ত্রুটি বা দ্বন্দ্ব না থাকে। একটি আন-হ্যান্ডেল করা দ্বন্দ্বের ক্ষেত্রে conflict_id
, conflict_original
, এবং conflict_unmerged
ব্যবহার করুন।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# gpg::SnapshotManager::OpenResponse Struct Reference\n\ngpg::SnapshotManager::OpenResponse\n==================================\n\n`#include \u003csnapshot_manager.h\u003e`\n\nHolds the data for a particular requested snapshot along with a response status.\n\nSummary\n-------\n\nIf the snapshot is in a conflicted state, the main snapshot `data` will not be valid and conflict information will be provided in the `conflict_id`, `conflict_original`, and `conflict_unmerged` fields. The conflict must be resolved before the snapshot can receive future modifications.\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [conflict_id](#structgpg_1_1_snapshot_manager_1_1_open_response_1a3b2fcc90ae1e9007c58755698d1038e8) | `std::string` The identifier of this conflict. |\n| [conflict_original](#structgpg_1_1_snapshot_manager_1_1_open_response_1ae72115a5932506aabab9662cffd484c7) | [SnapshotMetadata](/games/services/cpp/api/class/gpg/snapshot-metadata#classgpg_1_1_snapshot_metadata) Empty if `conflict_id` is empty. |\n| [conflict_unmerged](#structgpg_1_1_snapshot_manager_1_1_open_response_1a77b6befe22ae8ce230287390a772380c) | [SnapshotMetadata](/games/services/cpp/api/class/gpg/snapshot-metadata#classgpg_1_1_snapshot_metadata) Empty if `conflict_id` is empty. |\n| [data](#structgpg_1_1_snapshot_manager_1_1_open_response_1a2c2c2ebf42e988f7fb397f239786df1f) | [SnapshotMetadata](/games/services/cpp/api/class/gpg/snapshot-metadata#classgpg_1_1_snapshot_metadata) A `Snapshot`. |\n| [status](#structgpg_1_1_snapshot_manager_1_1_open_response_1ad2e7a1d808c6033d32f0bf9b62f9e678) | [SnapshotOpenStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a33e450872d5439ff19b818703eabf588) Can be one of the values enumerated in [SnapshotOpenStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a33e450872d5439ff19b818703eabf588). |\n\nPublic attributes\n-----------------\n\n### conflict_id\n\n```c++\nstd::string gpg::SnapshotManager::OpenResponse::conflict_id\n``` \nThe identifier of this conflict.\n\nIf this string is empty, there is no conflict. \n\n### conflict_original\n\n```c++\nSnapshotMetadata gpg::SnapshotManager::OpenResponse::conflict_original\n``` \nEmpty if `conflict_id` is empty.\n\nThis is the agreed upon current version of the snapshot. Note: previously called `conflict_base`. \n\n### conflict_unmerged\n\n```c++\nSnapshotMetadata gpg::SnapshotManager::OpenResponse::conflict_unmerged\n``` \nEmpty if `conflict_id` is empty.\n\nThis is the proposed change that failed to be applied due to conflicting operations from another device. Note: previously called `conflict_remote`. \n\n### data\n\n```c++\nSnapshotMetadata gpg::SnapshotManager::OpenResponse::data\n``` \nA `Snapshot`.\n\nThis snapshot will only be valid if there are no errors or conflicts. In the event of an unhandled conflict use `conflict_id`, `conflict_original`, and `conflict_unmerged`. \n\n### status\n\n```c++\nSnapshotOpenStatus gpg::SnapshotManager::OpenResponse::status\n``` \nCan be one of the values enumerated in [SnapshotOpenStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a33e450872d5439ff19b818703eabf588).\n\nIf the response is unsuccessful, [OpenResponse](/games/services/cpp/api/struct/gpg/snapshot-manager/open-response#structgpg_1_1_snapshot_manager_1_1_open_response)'s data vector is empty."]]