io.etcd.jetcd.api.ResponseHeaderOrBuilder 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 ResponseHeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.ResponseHeader)
com.google.protobuf.MessageOrBuilder {
/**
*
* cluster_id is the ID of the cluster which sent the response.
*
*
* uint64 cluster_id = 1;
* @return The clusterId.
*/
long getClusterId();
/**
*
* member_id is the ID of the member which sent the response.
*
*
* uint64 member_id = 2;
* @return The memberId.
*/
long getMemberId();
/**
*
* revision is the key-value store revision when the request was applied.
* For watch progress responses, the header.revision indicates progress. All future events
* recieved in this stream are guaranteed to have a higher revision number than the
* header.revision number.
*
*
* int64 revision = 3;
* @return The revision.
*/
long getRevision();
/**
*
* raft_term is the raft term when the request was applied.
*
*
* uint64 raft_term = 4;
* @return The raftTerm.
*/
long getRaftTerm();
}