Package io.etcd.jetcd.api
Interface ResignRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResignRequest,ResignRequest.Builder
public interface ResignRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LeaderKeygetLeader()leader is the leadership to relinquish by resignation.LeaderKeyOrBuildergetLeaderOrBuilder()leader is the leadership to relinquish by resignation.booleanhasLeader()leader is the leadership to relinquish by resignation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLeader
boolean hasLeader()
leader is the leadership to relinquish by resignation.
.v3electionpb.LeaderKey leader = 1;- Returns:
- Whether the leader field is set.
-
getLeader
LeaderKey getLeader()
leader is the leadership to relinquish by resignation.
.v3electionpb.LeaderKey leader = 1;- Returns:
- The leader.
-
getLeaderOrBuilder
LeaderKeyOrBuilder getLeaderOrBuilder()
leader is the leadership to relinquish by resignation.
.v3electionpb.LeaderKey leader = 1;
-
-