io.etcd.jetcd.api.AuthenticateResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package io.etcd.jetcd.api;
public interface AuthenticateResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.AuthenticateResponse)
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();
/**
*
* token is an authorized token that can be used in succeeding RPCs
*
*
* string token = 2;
* @return The token.
*/
java.lang.String getToken();
/**
*
* token is an authorized token that can be used in succeeding RPCs
*
*
* string token = 2;
* @return The bytes for token.
*/
com.google.protobuf.ByteString
getTokenBytes();
}