message FeedMetadata { enum ProcessingInstruction { // Do not use. PROCESS_UNKNOWN = 0; // This Feed message is one shard of a complete feed. Anything previously // supplied by this partner will be deleted; the contents of this feed // represent the entire state of the world. PROCESS_AS_COMPLETE = 1; // Do not use. This value is deprecated. // Feed message is one shard of an incremental feed. // Existing entities will be left untouched except as modified in this feed. PROCESS_AS_INCREMENTAL = 2; } // Instructs us how to process the feed: either as a shard of a complete feed, // or as a shard of an incremental update. (required) ProcessingInstruction processing_instruction = 1; // The current shard and total number of shards for this feed. // // Shard number is assumed to be zero-based. // // There does not need to be any relationship to the file name. // // Shards do not need to be transferred in order, and they may not be // processed in order. (both required) int32 shard_number = 2; int32 total_shards = 3; // An identifier that must be consistent across all shards in a feed. // This value must be globally unique across each feed type. // // This value ensures that complete feeds spanning multiple shards are // processed together correctly. // // Clients only need to set this value when the processing_instruction is set // to PROCESS_AS_COMPLETE and the feed spans multiple shards (defined by // total_shards). // // Feeds that span multiple shards must set this nonce to the same value. // (required if total shards > 1) uint64 nonce = 5; // The timestamp at which this feed shard was generated. // // In Unix time format (seconds since the epoch). (required) int64 generation_timestamp = 4; }
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-26(UTC)
[null,null,["최종 업데이트: 2024-11-26(UTC)"],[[["`nonce` is a unique identifier, consistent across all shards of a feed, ensuring correct processing of multi-shard feeds."],["Feeds can be processed as either complete, replacing all existing data, or incremental, updating only modified entities."],["Sharding allows large feeds to be broken into smaller parts, defined by `shard_number` and `total_shards`, for independent processing."],["`generation_timestamp` indicates the feed shard's creation time in Unix time format."],["When `processing_instruction` is `PROCESS_AS_COMPLETE` and `total_shards` is greater than 1, the `nonce` field is required."]]],[]]