Interface LockResponseOrBuilder

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

    public interface LockResponseOrBuilder
    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;
      com.google.protobuf.ByteString getKey()
      key is a key that will exist on etcd for the duration that the Lock caller owns the lock.
      boolean hasHeader()
      .etcdserverpb.ResponseHeader header = 1;
      • 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.
      • getKey

        com.google.protobuf.ByteString getKey()
         key is a key that will exist on etcd for the duration that the Lock caller
         owns the lock. Users should not modify this key or the lock may exhibit
         undefined behavior.
         
        bytes key = 2;
        Returns:
        The key.