chromium/components/feed/core/proto/v2/wire/next_page_token.proto

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

syntax = "proto2";

package feedwire;

option optimize_for = LITE_RUNTIME;

message NextPageToken {
  optional bytes next_page_token = 1;
  optional TokenHandling token_handling = 2;
  optional bytes metadata = 3;
}
message TokenHandling {
  enum LoadStrategy {
    LOAD_STRATEGY_UNKNOWN = 0;
    EAGER = 1;
    LAZY = 2;
  }
  optional LoadStrategy load_strategy = 1;
}