public static final class Pdpb.GetMembersResponse extends com.google.protobuf.GeneratedMessageV3 implements Pdpb.GetMembersResponseOrBuilder
pdpb.GetMembersResponse
Modifier and Type | Class and Description |
---|---|
static class |
Pdpb.GetMembersResponse.Builder
Protobuf type
pdpb.GetMembersResponse |
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 |
ETCD_LEADER_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
LEADER_FIELD_NUMBER |
static int |
MEMBERS_FIELD_NUMBER |
static int |
TSO_ALLOCATOR_LEADERS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsTsoAllocatorLeaders(String key)
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
boolean |
equals(Object obj) |
static Pdpb.GetMembersResponse |
getDefaultInstance() |
Pdpb.GetMembersResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Pdpb.Member |
getEtcdLeader()
.pdpb.Member etcd_leader = 4; |
Pdpb.MemberOrBuilder |
getEtcdLeaderOrBuilder()
.pdpb.Member etcd_leader = 4; |
Pdpb.ResponseHeader |
getHeader()
.pdpb.ResponseHeader header = 1; |
Pdpb.ResponseHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.ResponseHeader header = 1; |
Pdpb.Member |
getLeader()
.pdpb.Member leader = 3; |
Pdpb.MemberOrBuilder |
getLeaderOrBuilder()
.pdpb.Member leader = 3; |
Pdpb.Member |
getMembers(int index)
repeated .pdpb.Member members = 2; |
int |
getMembersCount()
repeated .pdpb.Member members = 2; |
List<Pdpb.Member> |
getMembersList()
repeated .pdpb.Member members = 2; |
Pdpb.MemberOrBuilder |
getMembersOrBuilder(int index)
repeated .pdpb.Member members = 2; |
List<? extends Pdpb.MemberOrBuilder> |
getMembersOrBuilderList()
repeated .pdpb.Member members = 2; |
com.google.protobuf.Parser<Pdpb.GetMembersResponse> |
getParserForType() |
int |
getSerializedSize() |
Map<String,Pdpb.Member> |
getTsoAllocatorLeaders()
Deprecated.
|
int |
getTsoAllocatorLeadersCount()
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
Map<String,Pdpb.Member> |
getTsoAllocatorLeadersMap()
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
Pdpb.Member |
getTsoAllocatorLeadersOrDefault(String key,
Pdpb.Member defaultValue)
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
Pdpb.Member |
getTsoAllocatorLeadersOrThrow(String key)
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEtcdLeader()
.pdpb.Member etcd_leader = 4; |
int |
hashCode() |
boolean |
hasHeader()
.pdpb.ResponseHeader header = 1; |
boolean |
hasLeader()
.pdpb.Member leader = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Pdpb.GetMembersResponse.Builder |
newBuilder() |
static Pdpb.GetMembersResponse.Builder |
newBuilder(Pdpb.GetMembersResponse prototype) |
Pdpb.GetMembersResponse.Builder |
newBuilderForType() |
protected Pdpb.GetMembersResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Pdpb.GetMembersResponse |
parseDelimitedFrom(InputStream input) |
static Pdpb.GetMembersResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.GetMembersResponse |
parseFrom(byte[] data) |
static Pdpb.GetMembersResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.GetMembersResponse |
parseFrom(ByteBuffer data) |
static Pdpb.GetMembersResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.GetMembersResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Pdpb.GetMembersResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.GetMembersResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Pdpb.GetMembersResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pdpb.GetMembersResponse |
parseFrom(InputStream input) |
static Pdpb.GetMembersResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Pdpb.GetMembersResponse> |
parser() |
Pdpb.GetMembersResponse.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, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int HEADER_FIELD_NUMBER
public static final int MEMBERS_FIELD_NUMBER
public static final int LEADER_FIELD_NUMBER
public static final int ETCD_LEADER_FIELD_NUMBER
public static final int TSO_ALLOCATOR_LEADERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasHeader()
.pdpb.ResponseHeader header = 1;
hasHeader
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.ResponseHeader getHeader()
.pdpb.ResponseHeader header = 1;
getHeader
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.ResponseHeaderOrBuilder getHeaderOrBuilder()
.pdpb.ResponseHeader header = 1;
getHeaderOrBuilder
in interface Pdpb.GetMembersResponseOrBuilder
public List<Pdpb.Member> getMembersList()
repeated .pdpb.Member members = 2;
getMembersList
in interface Pdpb.GetMembersResponseOrBuilder
public List<? extends Pdpb.MemberOrBuilder> getMembersOrBuilderList()
repeated .pdpb.Member members = 2;
getMembersOrBuilderList
in interface Pdpb.GetMembersResponseOrBuilder
public int getMembersCount()
repeated .pdpb.Member members = 2;
getMembersCount
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.Member getMembers(int index)
repeated .pdpb.Member members = 2;
getMembers
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.MemberOrBuilder getMembersOrBuilder(int index)
repeated .pdpb.Member members = 2;
getMembersOrBuilder
in interface Pdpb.GetMembersResponseOrBuilder
public boolean hasLeader()
.pdpb.Member leader = 3;
hasLeader
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.Member getLeader()
.pdpb.Member leader = 3;
getLeader
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.MemberOrBuilder getLeaderOrBuilder()
.pdpb.Member leader = 3;
getLeaderOrBuilder
in interface Pdpb.GetMembersResponseOrBuilder
public boolean hasEtcdLeader()
.pdpb.Member etcd_leader = 4;
hasEtcdLeader
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.Member getEtcdLeader()
.pdpb.Member etcd_leader = 4;
getEtcdLeader
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.MemberOrBuilder getEtcdLeaderOrBuilder()
.pdpb.Member etcd_leader = 4;
getEtcdLeaderOrBuilder
in interface Pdpb.GetMembersResponseOrBuilder
public int getTsoAllocatorLeadersCount()
Pdpb.GetMembersResponseOrBuilder
map<string, .pdpb.Member> tso_allocator_leaders = 5;
getTsoAllocatorLeadersCount
in interface Pdpb.GetMembersResponseOrBuilder
public boolean containsTsoAllocatorLeaders(String key)
map<string, .pdpb.Member> tso_allocator_leaders = 5;
containsTsoAllocatorLeaders
in interface Pdpb.GetMembersResponseOrBuilder
@Deprecated public Map<String,Pdpb.Member> getTsoAllocatorLeaders()
getTsoAllocatorLeadersMap()
instead.getTsoAllocatorLeaders
in interface Pdpb.GetMembersResponseOrBuilder
public Map<String,Pdpb.Member> getTsoAllocatorLeadersMap()
map<string, .pdpb.Member> tso_allocator_leaders = 5;
getTsoAllocatorLeadersMap
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.Member getTsoAllocatorLeadersOrDefault(String key, Pdpb.Member defaultValue)
map<string, .pdpb.Member> tso_allocator_leaders = 5;
getTsoAllocatorLeadersOrDefault
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.Member getTsoAllocatorLeadersOrThrow(String key)
map<string, .pdpb.Member> tso_allocator_leaders = 5;
getTsoAllocatorLeadersOrThrow
in interface Pdpb.GetMembersResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Pdpb.GetMembersResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.GetMembersResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.GetMembersResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.GetMembersResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.GetMembersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.GetMembersResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Pdpb.GetMembersResponse parseFrom(InputStream input) throws IOException
IOException
public static Pdpb.GetMembersResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Pdpb.GetMembersResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Pdpb.GetMembersResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Pdpb.GetMembersResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Pdpb.GetMembersResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Pdpb.GetMembersResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Pdpb.GetMembersResponse.Builder newBuilder()
public static Pdpb.GetMembersResponse.Builder newBuilder(Pdpb.GetMembersResponse prototype)
public Pdpb.GetMembersResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Pdpb.GetMembersResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Pdpb.GetMembersResponse getDefaultInstance()
public static com.google.protobuf.Parser<Pdpb.GetMembersResponse> parser()
public com.google.protobuf.Parser<Pdpb.GetMembersResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Pdpb.GetMembersResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.