io.etcd.jetcd.api.lock.LockResponseOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: lock.proto
// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api.lock;
public interface LockResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v3lockpb.LockResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .etcdserverpb.ResponseHeader header = 1;
* @return Whether the header field is set.
*/
boolean hasHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
* @return The header.
*/
io.etcd.jetcd.api.ResponseHeader getHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
*/
io.etcd.jetcd.api.ResponseHeaderOrBuilder getHeaderOrBuilder();
/**
*
* 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;
* @return The key.
*/
com.google.protobuf.ByteString getKey();
}