Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
#include <snapshot_metadata_change_builder.h>
Compila uno o más objetos SnapshotMetadataChange.
Resumen
Funciones públicas
|
Create() const
|
|
SetCoverImageFromPngData(std::vector< uint8_t > png_data)
|
Los bytes sin procesar de la imagen de portada png codificada de los metadatos de la instantánea cambian.
|
SetDescription(const std::string & description)
|
Establece la descripción concisa del cambio de metadatos de la instantánea.
|
SetPlayedTime(gpg::Duration played_time)
|
Establece la duración reproducida del cambio de metadatos de la instantánea.
|
SetProgressValue(int64_t progress_value)
|
Establece el valor de progreso del cambio de metadatos del instantánea.
|
operator=(const Builder & copy_from)
|
Asigna este Builder copiando de otro.
|
operator=(Builder && move_from)
|
Asigna este Builder moviendo otro dentro de él.
|
Funciones públicas
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-27 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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."]]