public static final class NS.ChangeLeaderData extends com.google.protobuf.GeneratedMessageV3 implements NS.ChangeLeaderDataOrBuilder
openmldb.nameserver.ChangeLeaderData| Modifier and Type | Class and Description |
|---|---|
static class |
NS.ChangeLeaderData.Builder
Protobuf type
openmldb.nameserver.ChangeLeaderData |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CANDIDATE_LEADER_FIELD_NUMBER |
static int |
DB_FIELD_NUMBER |
static int |
FOLLOWER_FIELD_NUMBER |
static int |
LEADER_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static com.google.protobuf.Parser<NS.ChangeLeaderData> |
PARSER
Deprecated.
|
static int |
PID_FIELD_NUMBER |
static int |
REMOTE_FOLLOWER_FIELD_NUMBER |
static int |
TERM_FIELD_NUMBER |
static int |
TID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCandidateLeader()
optional string candidate_leader = 8; |
com.google.protobuf.ByteString |
getCandidateLeaderBytes()
optional string candidate_leader = 8; |
String |
getDb()
optional string db = 10 [default = ""]; |
com.google.protobuf.ByteString |
getDbBytes()
optional string db = 10 [default = ""]; |
static NS.ChangeLeaderData |
getDefaultInstance() |
NS.ChangeLeaderData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFollower(int index)
repeated string follower = 7; |
com.google.protobuf.ByteString |
getFollowerBytes(int index)
repeated string follower = 7; |
int |
getFollowerCount()
repeated string follower = 7; |
com.google.protobuf.ProtocolStringList |
getFollowerList()
repeated string follower = 7; |
String |
getLeader()
optional string leader = 6; |
com.google.protobuf.ByteString |
getLeaderBytes()
optional string leader = 6; |
String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
long |
getOffset()
optional uint64 offset = 5; |
com.google.protobuf.Parser<NS.ChangeLeaderData> |
getParserForType() |
int |
getPid()
optional uint32 pid = 3; |
Common.EndpointAndTid |
getRemoteFollower(int index)
repeated .openmldb.common.EndpointAndTid remote_follower = 9; |
int |
getRemoteFollowerCount()
repeated .openmldb.common.EndpointAndTid remote_follower = 9; |
List<Common.EndpointAndTid> |
getRemoteFollowerList()
repeated .openmldb.common.EndpointAndTid remote_follower = 9; |
Common.EndpointAndTidOrBuilder |
getRemoteFollowerOrBuilder(int index)
repeated .openmldb.common.EndpointAndTid remote_follower = 9; |
List<? extends Common.EndpointAndTidOrBuilder> |
getRemoteFollowerOrBuilderList()
repeated .openmldb.common.EndpointAndTid remote_follower = 9; |
int |
getSerializedSize() |
long |
getTerm()
optional uint64 term = 4; |
int |
getTid()
optional uint32 tid = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCandidateLeader()
optional string candidate_leader = 8; |
boolean |
hasDb()
optional string db = 10 [default = ""]; |
int |
hashCode() |
boolean |
hasLeader()
optional string leader = 6; |
boolean |
hasName()
optional string name = 1; |
boolean |
hasOffset()
optional uint64 offset = 5; |
boolean |
hasPid()
optional uint32 pid = 3; |
boolean |
hasTerm()
optional uint64 term = 4; |
boolean |
hasTid()
optional uint32 tid = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static NS.ChangeLeaderData.Builder |
newBuilder() |
static NS.ChangeLeaderData.Builder |
newBuilder(NS.ChangeLeaderData prototype) |
NS.ChangeLeaderData.Builder |
newBuilderForType() |
protected NS.ChangeLeaderData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static NS.ChangeLeaderData |
parseDelimitedFrom(InputStream input) |
static NS.ChangeLeaderData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NS.ChangeLeaderData |
parseFrom(byte[] data) |
static NS.ChangeLeaderData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NS.ChangeLeaderData |
parseFrom(ByteBuffer data) |
static NS.ChangeLeaderData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NS.ChangeLeaderData |
parseFrom(com.google.protobuf.ByteString data) |
static NS.ChangeLeaderData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NS.ChangeLeaderData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NS.ChangeLeaderData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NS.ChangeLeaderData |
parseFrom(InputStream input) |
static NS.ChangeLeaderData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NS.ChangeLeaderData> |
parser() |
NS.ChangeLeaderData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int TID_FIELD_NUMBER
public static final int PID_FIELD_NUMBER
public static final int TERM_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int LEADER_FIELD_NUMBER
public static final int FOLLOWER_FIELD_NUMBER
public static final int CANDIDATE_LEADER_FIELD_NUMBER
public static final int REMOTE_FOLLOWER_FIELD_NUMBER
public static final int DB_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<NS.ChangeLeaderData> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasName()
optional string name = 1;hasName in interface NS.ChangeLeaderDataOrBuilderpublic String getName()
optional string name = 1;getName in interface NS.ChangeLeaderDataOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;getNameBytes in interface NS.ChangeLeaderDataOrBuilderpublic boolean hasTid()
optional uint32 tid = 2;hasTid in interface NS.ChangeLeaderDataOrBuilderpublic int getTid()
optional uint32 tid = 2;getTid in interface NS.ChangeLeaderDataOrBuilderpublic boolean hasPid()
optional uint32 pid = 3;hasPid in interface NS.ChangeLeaderDataOrBuilderpublic int getPid()
optional uint32 pid = 3;getPid in interface NS.ChangeLeaderDataOrBuilderpublic boolean hasTerm()
optional uint64 term = 4;hasTerm in interface NS.ChangeLeaderDataOrBuilderpublic long getTerm()
optional uint64 term = 4;getTerm in interface NS.ChangeLeaderDataOrBuilderpublic boolean hasOffset()
optional uint64 offset = 5;hasOffset in interface NS.ChangeLeaderDataOrBuilderpublic long getOffset()
optional uint64 offset = 5;getOffset in interface NS.ChangeLeaderDataOrBuilderpublic boolean hasLeader()
optional string leader = 6;hasLeader in interface NS.ChangeLeaderDataOrBuilderpublic String getLeader()
optional string leader = 6;getLeader in interface NS.ChangeLeaderDataOrBuilderpublic com.google.protobuf.ByteString getLeaderBytes()
optional string leader = 6;getLeaderBytes in interface NS.ChangeLeaderDataOrBuilderpublic com.google.protobuf.ProtocolStringList getFollowerList()
repeated string follower = 7;getFollowerList in interface NS.ChangeLeaderDataOrBuilderpublic int getFollowerCount()
repeated string follower = 7;getFollowerCount in interface NS.ChangeLeaderDataOrBuilderpublic String getFollower(int index)
repeated string follower = 7;getFollower in interface NS.ChangeLeaderDataOrBuilderpublic com.google.protobuf.ByteString getFollowerBytes(int index)
repeated string follower = 7;getFollowerBytes in interface NS.ChangeLeaderDataOrBuilderpublic boolean hasCandidateLeader()
optional string candidate_leader = 8;hasCandidateLeader in interface NS.ChangeLeaderDataOrBuilderpublic String getCandidateLeader()
optional string candidate_leader = 8;getCandidateLeader in interface NS.ChangeLeaderDataOrBuilderpublic com.google.protobuf.ByteString getCandidateLeaderBytes()
optional string candidate_leader = 8;getCandidateLeaderBytes in interface NS.ChangeLeaderDataOrBuilderpublic List<Common.EndpointAndTid> getRemoteFollowerList()
repeated .openmldb.common.EndpointAndTid remote_follower = 9;getRemoteFollowerList in interface NS.ChangeLeaderDataOrBuilderpublic List<? extends Common.EndpointAndTidOrBuilder> getRemoteFollowerOrBuilderList()
repeated .openmldb.common.EndpointAndTid remote_follower = 9;getRemoteFollowerOrBuilderList in interface NS.ChangeLeaderDataOrBuilderpublic int getRemoteFollowerCount()
repeated .openmldb.common.EndpointAndTid remote_follower = 9;getRemoteFollowerCount in interface NS.ChangeLeaderDataOrBuilderpublic Common.EndpointAndTid getRemoteFollower(int index)
repeated .openmldb.common.EndpointAndTid remote_follower = 9;getRemoteFollower in interface NS.ChangeLeaderDataOrBuilderpublic Common.EndpointAndTidOrBuilder getRemoteFollowerOrBuilder(int index)
repeated .openmldb.common.EndpointAndTid remote_follower = 9;getRemoteFollowerOrBuilder in interface NS.ChangeLeaderDataOrBuilderpublic boolean hasDb()
optional string db = 10 [default = ""];hasDb in interface NS.ChangeLeaderDataOrBuilderpublic String getDb()
optional string db = 10 [default = ""];getDb in interface NS.ChangeLeaderDataOrBuilderpublic com.google.protobuf.ByteString getDbBytes()
optional string db = 10 [default = ""];getDbBytes in interface NS.ChangeLeaderDataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NS.ChangeLeaderData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NS.ChangeLeaderData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NS.ChangeLeaderData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NS.ChangeLeaderData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NS.ChangeLeaderData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NS.ChangeLeaderData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NS.ChangeLeaderData parseFrom(InputStream input) throws IOException
IOExceptionpublic static NS.ChangeLeaderData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NS.ChangeLeaderData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NS.ChangeLeaderData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NS.ChangeLeaderData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NS.ChangeLeaderData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NS.ChangeLeaderData.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NS.ChangeLeaderData.Builder newBuilder()
public static NS.ChangeLeaderData.Builder newBuilder(NS.ChangeLeaderData prototype)
public NS.ChangeLeaderData.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NS.ChangeLeaderData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NS.ChangeLeaderData getDefaultInstance()
public static com.google.protobuf.Parser<NS.ChangeLeaderData> parser()
public com.google.protobuf.Parser<NS.ChangeLeaderData> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NS.ChangeLeaderData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.