io.etcd.jetcd.api.SnapshotResponseOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api;
public interface SnapshotResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.SnapshotResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* header has the current key-value store information. The first header in the snapshot
* stream indicates the point in time of the snapshot.
*
*
* .etcdserverpb.ResponseHeader header = 1;
* @return Whether the header field is set.
*/
boolean hasHeader();
/**
*
* header has the current key-value store information. The first header in the snapshot
* stream indicates the point in time of the snapshot.
*
*
* .etcdserverpb.ResponseHeader header = 1;
* @return The header.
*/
io.etcd.jetcd.api.ResponseHeader getHeader();
/**
*
* header has the current key-value store information. The first header in the snapshot
* stream indicates the point in time of the snapshot.
*
*
* .etcdserverpb.ResponseHeader header = 1;
*/
io.etcd.jetcd.api.ResponseHeaderOrBuilder getHeaderOrBuilder();
/**
*
* remaining_bytes is the number of blob bytes to be sent after this message
*
*
* uint64 remaining_bytes = 2;
* @return The remainingBytes.
*/
long getRemainingBytes();
/**
*
* blob contains the next chunk of the snapshot in the snapshot stream.
*
*
* bytes blob = 3;
* @return The blob.
*/
com.google.protobuf.ByteString getBlob();
}