Interface LeaderResponseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    LeaderResponse, LeaderResponse.Builder

    public interface LeaderResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ResponseHeader getHeader()
      .etcdserverpb.ResponseHeader header = 1;
      ResponseHeaderOrBuilder getHeaderOrBuilder()
      .etcdserverpb.ResponseHeader header = 1;
      KeyValue getKv()
      kv is the key-value pair representing the latest leader update.
      KeyValueOrBuilder getKvOrBuilder()
      kv is the key-value pair representing the latest leader update.
      boolean hasHeader()
      .etcdserverpb.ResponseHeader header = 1;
      boolean hasKv()
      kv is the key-value pair representing the latest leader update.
      • 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 Detail

      • hasHeader

        boolean hasHeader()
        .etcdserverpb.ResponseHeader header = 1;
        Returns:
        Whether the header field is set.
      • getHeader

        ResponseHeader getHeader()
        .etcdserverpb.ResponseHeader header = 1;
        Returns:
        The header.
      • hasKv

        boolean hasKv()
         kv is the key-value pair representing the latest leader update.
         
        .mvccpb.KeyValue kv = 2;
        Returns:
        Whether the kv field is set.
      • getKv

        KeyValue getKv()
         kv is the key-value pair representing the latest leader update.
         
        .mvccpb.KeyValue kv = 2;
        Returns:
        The kv.
      • getKvOrBuilder

        KeyValueOrBuilder getKvOrBuilder()
         kv is the key-value pair representing the latest leader update.
         
        .mvccpb.KeyValue kv = 2;