com.ibm.etcd.api.LockResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of etcd-java Show documentation
Show all versions of etcd-java Show documentation
etcd3 java client and utilities
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v3lock.proto
package com.ibm.etcd.api;
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.
*/
com.ibm.etcd.api.ResponseHeader getHeader();
/**
* .etcdserverpb.ResponseHeader header = 1;
*/
com.ibm.etcd.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();
}