All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.graphscope.proto.groot.BackupInfoPbOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.28.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: groot/sdk/model.proto

package com.alibaba.graphscope.proto.groot;

public interface BackupInfoPbOrBuilder extends
    // @@protoc_insertion_point(interface_extends:gs.rpc.groot.BackupInfoPb)
    com.google.protobuf.MessageOrBuilder {

  /**
   * int32 globalBackupId = 1;
   * @return The globalBackupId.
   */
  int getGlobalBackupId();

  /**
   * int64 snapshotId = 2;
   * @return The snapshotId.
   */
  long getSnapshotId();

  /**
   * .gs.rpc.groot.GraphDefPb graphDef = 3;
   * @return Whether the graphDef field is set.
   */
  boolean hasGraphDef();
  /**
   * .gs.rpc.groot.GraphDefPb graphDef = 3;
   * @return The graphDef.
   */
  com.alibaba.graphscope.proto.groot.GraphDefPb getGraphDef();
  /**
   * .gs.rpc.groot.GraphDefPb graphDef = 3;
   */
  com.alibaba.graphscope.proto.groot.GraphDefPbOrBuilder getGraphDefOrBuilder();

  /**
   * repeated int64 walOffsets = 4;
   * @return A list containing the walOffsets.
   */
  java.util.List getWalOffsetsList();
  /**
   * repeated int64 walOffsets = 4;
   * @return The count of walOffsets.
   */
  int getWalOffsetsCount();
  /**
   * repeated int64 walOffsets = 4;
   * @param index The index of the element to return.
   * @return The walOffsets at the given index.
   */
  long getWalOffsets(int index);

  /**
   * map<int32, int32> partitionToBackupId = 5;
   */
  int getPartitionToBackupIdCount();
  /**
   * map<int32, int32> partitionToBackupId = 5;
   */
  boolean containsPartitionToBackupId(
      int key);
  /**
   * Use {@link #getPartitionToBackupIdMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getPartitionToBackupId();
  /**
   * map<int32, int32> partitionToBackupId = 5;
   */
  java.util.Map
  getPartitionToBackupIdMap();
  /**
   * map<int32, int32> partitionToBackupId = 5;
   */
  int getPartitionToBackupIdOrDefault(
      int key,
      int defaultValue);
  /**
   * map<int32, int32> partitionToBackupId = 5;
   */
  int getPartitionToBackupIdOrThrow(
      int key);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy