Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
#include <snapshot_metadata_change_builder.h>
Создает один или несколько объектов SnapshotMetadataChange .
Краткое содержание
Общественные функции |
---|
Create () const | |
SetCoverImageFromPngData (std::vector< uint8_t > png_data) | Необработанные байты закодированного PNG-изображения закрывают изображение изменения метаданных снимка. |
SetDescription (const std::string & description) | Устанавливает краткое описание метаданных_change снимка. |
SetPlayedTime ( gpg::Duration played_time) | Устанавливает время воспроизведения снимка Metadata_change. |
SetProgressValue (int64_t progress_value) | Устанавливает значение прогресса изменения метаданных снимка. |
operator= (const Builder & copy_from) | Назначает этот Builder путем копирования из другого. |
operator= ( Builder && move_from) | Назначает этого Builder , перемещая в него другой. |
Общественные функции
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-29 UTC."],[],[],null,["# gpg::SnapshotMetadataChange::Builder Class Reference\n\ngpg::SnapshotMetadataChange::Builder\n====================================\n\n`#include \u003csnapshot_metadata_change_builder.h\u003e`\n\nBuilds one or more [SnapshotMetadataChange](/games/services/cpp/api/class/gpg/snapshot-metadata-change#classgpg_1_1_snapshot_metadata_change) objects.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Builder](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1a57dc7a0c16e376b010550fe991211664)`()` ||\n| [Builder](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1a8599d88e0c561cb892fec3a3835346fe)`(std::shared_ptr\u003c SnapshotMetadataChangeImpl \u003e impl)` Constructs a [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder) from a `shared_ptr` to `BuilderImpl`. ||\n| [Builder](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1ae7ada32ed0deadc3e19b31844a965349)`(const `[Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` & copy_from)` Creates a copy of an existing [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder). ||\n| [Builder](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1a92c963ed7b6e432c58d9e99ea163f296)`(`[Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` && move_from)` Moves an existing [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder). ||\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Create](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1aba7931cc5bb8e6ec1698be09430cb2b9)`() const ` | [SnapshotMetadataChange](/games/services/cpp/api/class/gpg/snapshot-metadata-change#classgpg_1_1_snapshot_metadata_change) Creates a [SnapshotMetadataChange](/games/services/cpp/api/class/gpg/snapshot-metadata-change#classgpg_1_1_snapshot_metadata_change). |\n| [SetCoverImageFromPngData](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1ab4598d67a7c663affebde7854443c1a1)`(std::vector\u003c uint8_t \u003e png_data)` | [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` &` The raw bytes of the encoded png cover image of the snapshot metadata change. |\n| [SetDescription](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1aad0db8d9ebc646f9a9ecb6902184057d)`(const std::string & description)` | [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` &` Sets the concise description of the snapshot metadata_change. |\n| [SetPlayedTime](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1add58a49cabed5bf37c66ffa29cfc28a8)`(`[gpg::Duration](/games/services/cpp/api/namespace/gpg#namespacegpg_1a60bf9c91c4d673d2eb81c95b15d9e097)` played_time)` | [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` &` Sets the played time of the snapshot metadata_change. |\n| [SetProgressValue](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1ae77fcc0350cf301c6aa117630bdcfe54)`(int64_t progress_value)` | [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` &` Sets the progress value of the snapshot metadata_change. |\n| [operator=](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1a948b2f101ba87ec904906fa5cba659f9)`(const `[Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` & copy_from)` | [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` &` Assigns this [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder) by copying from another one. |\n| [operator=](#classgpg_1_1_snapshot_metadata_change_1_1_builder_1a9bad9756096fd85cc7b0305bc3e45a3f)`(`[Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` && move_from)` | [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder)` &` Assigns this [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder) by moving another one into it. |\n\nPublic functions\n----------------\n\n### Builder\n\n```c++\n Builder()\n``` \n\n### Builder\n\n```c++\n Builder(\n std::shared_ptr\u003c SnapshotMetadataChangeImpl \u003e impl\n)\n``` \nConstructs a [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder) from a `shared_ptr` to `BuilderImpl`.\n\nIntended for internal use by the API. \n\n### Builder\n\n```c++\n Builder(\n const Builder & copy_from\n)\n``` \nCreates a copy of an existing [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder). \n\n### Builder\n\n```c++\n Builder(\n Builder && move_from\n)\n``` \nMoves an existing [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder). \n\n### Create\n\n```c++\nSnapshotMetadataChange Create() const \n``` \nCreates a [SnapshotMetadataChange](/games/services/cpp/api/class/gpg/snapshot-metadata-change#classgpg_1_1_snapshot_metadata_change). \n\n### SetCoverImageFromPngData\n\n```c++\nBuilder & SetCoverImageFromPngData(\n std::vector\u003c uint8_t \u003e png_data\n)\n``` \nThe raw bytes of the encoded png cover image of the snapshot metadata change.\n\nCover image must be less than 800 kb. Image must be set every commit or it will be cleared. \n\n### SetDescription\n\n```c++\nBuilder & SetDescription(\n const std::string & description\n)\n``` \nSets the concise description of the snapshot metadata_change. \n\n### SetPlayedTime\n\n```c++\nBuilder & SetPlayedTime(\n gpg::Duration played_time\n)\n``` \nSets the played time of the snapshot metadata_change. \n\n### SetProgressValue\n\n```c++\nBuilder & SetProgressValue(\n int64_t progress_value\n)\n``` \nSets the progress value of the snapshot metadata_change. \n\n### operator=\n\n```c++\nBuilder & operator=(\n const Builder & copy_from\n)\n``` \nAssigns this [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder) by copying from another one. \n\n### operator=\n\n```c++\nBuilder & operator=(\n Builder && move_from\n)\n``` \nAssigns this [Builder](/games/services/cpp/api/class/gpg/snapshot-metadata-change/builder#classgpg_1_1_snapshot_metadata_change_1_1_builder) by moving another one into it."]]