Interface Version.ResponseHeaderOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Version.ResponseHeader, Version.ResponseHeader.Builder
Enclosing class:
Version

public static interface Version.ResponseHeaderOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    cluster_id is the ID of the cluster which sent the response.
    long
    coordinator_id is the ID of the coordinator which sent the response.
    long
    raft_term is the raft term when the request was applied.
    long
    revision is the key-value store revision when the request was applied, and it's unset (so 0) in case of calls not interacting with key-value store.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getClusterId

      long getClusterId()
       cluster_id is the ID of the cluster which sent the response.
       
      int64 cluster_id = 1;
      Returns:
      The clusterId.
    • getCoordinatorId

      long getCoordinatorId()
       coordinator_id is the ID of the coordinator which sent the response.
       
      int64 coordinator_id = 2;
      Returns:
      The coordinatorId.
    • getRevision

      long getRevision()
       revision is the key-value store revision when the request was applied, and it's
       unset (so 0) in case of calls not interacting with key-value store.
       For watch progress responses, the header.revision indicates progress. All future events
       received in this stream are guaranteed to have a higher revision number than the
       header.revision number.
       
      int64 revision = 3;
      Returns:
      The revision.
    • getRaftTerm

      long getRaftTerm()
       raft_term is the raft term when the request was applied.
       
      int64 raft_term = 4;
      Returns:
      The raftTerm.