Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
#include <snapshot_metadata_change_builder.h>
Cria um ou mais objetos SnapshotMetadataChange.
Resumo
Funções públicas
|
Create() const
|
|
SetCoverImageFromPngData(std::vector< uint8_t > png_data)
|
Os bytes brutos da imagem de capa png codificada da mudança de metadados do snapshot.
|
SetDescription(const std::string & description)
|
Define a descrição concisa da mudança de metadados "metadata_change" do snapshot.
|
SetPlayedTime(gpg::Duration played_time)
|
Define o tempo de reprodução do metadata_change do snapshot.
|
SetProgressValue(int64_t progress_value)
|
Define o valor de progresso da metadata_change do snapshot.
|
operator=(const Builder & copy_from)
|
Atribui essa Builder copiando de outra.
|
operator=(Builder && move_from)
|
Atribui este Builder movendo outro para ele.
|
Funções públicas
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-27 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-07-27 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."]]