Interface Raft.LogEntryOrBuilder

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

public static interface Raft.LogEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    bytes data = 3;
    long
    int64 index = 1;
    long
    int64 term = 2;

    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

    • getIndex

      long getIndex()
      int64 index = 1;
      Returns:
      The index.
    • getTerm

      long getTerm()
      int64 term = 2;
      Returns:
      The term.
    • getData

      com.google.protobuf.ByteString getData()
      bytes data = 3;
      Returns:
      The data.