public static final class Pdpb.GetMembersResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder> implements Pdpb.GetMembersResponseOrBuilder
pdpb.GetMembersResponse
Modifier and Type | Method and Description |
---|---|
Pdpb.GetMembersResponse.Builder |
addAllMembers(Iterable<? extends Pdpb.Member> values)
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
addMembers(int index,
Pdpb.Member.Builder builderForValue)
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
addMembers(int index,
Pdpb.Member value)
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
addMembers(Pdpb.Member.Builder builderForValue)
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
addMembers(Pdpb.Member value)
repeated .pdpb.Member members = 2; |
Pdpb.Member.Builder |
addMembersBuilder()
repeated .pdpb.Member members = 2; |
Pdpb.Member.Builder |
addMembersBuilder(int index)
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.GetMembersResponse |
build() |
Pdpb.GetMembersResponse |
buildPartial() |
Pdpb.GetMembersResponse.Builder |
clear() |
Pdpb.GetMembersResponse.Builder |
clearEtcdLeader()
.pdpb.Member etcd_leader = 4; |
Pdpb.GetMembersResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Pdpb.GetMembersResponse.Builder |
clearHeader()
.pdpb.ResponseHeader header = 1; |
Pdpb.GetMembersResponse.Builder |
clearLeader()
.pdpb.Member leader = 3; |
Pdpb.GetMembersResponse.Builder |
clearMembers()
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Pdpb.GetMembersResponse.Builder |
clearTsoAllocatorLeaders() |
Pdpb.GetMembersResponse.Builder |
clone() |
boolean |
containsTsoAllocatorLeaders(String key)
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
Pdpb.GetMembersResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Pdpb.Member |
getEtcdLeader()
.pdpb.Member etcd_leader = 4; |
Pdpb.Member.Builder |
getEtcdLeaderBuilder()
.pdpb.Member etcd_leader = 4; |
Pdpb.MemberOrBuilder |
getEtcdLeaderOrBuilder()
.pdpb.Member etcd_leader = 4; |
Pdpb.ResponseHeader |
getHeader()
.pdpb.ResponseHeader header = 1; |
Pdpb.ResponseHeader.Builder |
getHeaderBuilder()
.pdpb.ResponseHeader header = 1; |
Pdpb.ResponseHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.ResponseHeader header = 1; |
Pdpb.Member |
getLeader()
.pdpb.Member leader = 3; |
Pdpb.Member.Builder |
getLeaderBuilder()
.pdpb.Member leader = 3; |
Pdpb.MemberOrBuilder |
getLeaderOrBuilder()
.pdpb.Member leader = 3; |
Pdpb.Member |
getMembers(int index)
repeated .pdpb.Member members = 2; |
Pdpb.Member.Builder |
getMembersBuilder(int index)
repeated .pdpb.Member members = 2; |
List<Pdpb.Member.Builder> |
getMembersBuilderList()
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; |
Map<String,Pdpb.Member> |
getMutableTsoAllocatorLeaders()
Deprecated.
|
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; |
boolean |
hasEtcdLeader()
.pdpb.Member etcd_leader = 4; |
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) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Pdpb.GetMembersResponse.Builder |
mergeEtcdLeader(Pdpb.Member value)
.pdpb.Member etcd_leader = 4; |
Pdpb.GetMembersResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Pdpb.GetMembersResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Pdpb.GetMembersResponse.Builder |
mergeFrom(Pdpb.GetMembersResponse other) |
Pdpb.GetMembersResponse.Builder |
mergeHeader(Pdpb.ResponseHeader value)
.pdpb.ResponseHeader header = 1; |
Pdpb.GetMembersResponse.Builder |
mergeLeader(Pdpb.Member value)
.pdpb.Member leader = 3; |
Pdpb.GetMembersResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.GetMembersResponse.Builder |
putAllTsoAllocatorLeaders(Map<String,Pdpb.Member> values)
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
Pdpb.GetMembersResponse.Builder |
putTsoAllocatorLeaders(String key,
Pdpb.Member value)
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
Pdpb.GetMembersResponse.Builder |
removeMembers(int index)
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
removeTsoAllocatorLeaders(String key)
map<string, .pdpb.Member> tso_allocator_leaders = 5; |
Pdpb.GetMembersResponse.Builder |
setEtcdLeader(Pdpb.Member.Builder builderForValue)
.pdpb.Member etcd_leader = 4; |
Pdpb.GetMembersResponse.Builder |
setEtcdLeader(Pdpb.Member value)
.pdpb.Member etcd_leader = 4; |
Pdpb.GetMembersResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.GetMembersResponse.Builder |
setHeader(Pdpb.ResponseHeader.Builder builderForValue)
.pdpb.ResponseHeader header = 1; |
Pdpb.GetMembersResponse.Builder |
setHeader(Pdpb.ResponseHeader value)
.pdpb.ResponseHeader header = 1; |
Pdpb.GetMembersResponse.Builder |
setLeader(Pdpb.Member.Builder builderForValue)
.pdpb.Member leader = 3; |
Pdpb.GetMembersResponse.Builder |
setLeader(Pdpb.Member value)
.pdpb.Member leader = 3; |
Pdpb.GetMembersResponse.Builder |
setMembers(int index,
Pdpb.Member.Builder builderForValue)
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
setMembers(int index,
Pdpb.Member value)
repeated .pdpb.Member members = 2; |
Pdpb.GetMembersResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Pdpb.GetMembersResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Pdpb.GetMembersResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.GetMembersResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.GetMembersResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder mergeFrom(Pdpb.GetMembersResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public Pdpb.GetMembersResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.GetMembersResponse.Builder>
IOException
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.GetMembersResponse.Builder setHeader(Pdpb.ResponseHeader value)
.pdpb.ResponseHeader header = 1;
public Pdpb.GetMembersResponse.Builder setHeader(Pdpb.ResponseHeader.Builder builderForValue)
.pdpb.ResponseHeader header = 1;
public Pdpb.GetMembersResponse.Builder mergeHeader(Pdpb.ResponseHeader value)
.pdpb.ResponseHeader header = 1;
public Pdpb.GetMembersResponse.Builder clearHeader()
.pdpb.ResponseHeader header = 1;
public Pdpb.ResponseHeader.Builder getHeaderBuilder()
.pdpb.ResponseHeader header = 1;
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 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.GetMembersResponse.Builder setMembers(int index, Pdpb.Member value)
repeated .pdpb.Member members = 2;
public Pdpb.GetMembersResponse.Builder setMembers(int index, Pdpb.Member.Builder builderForValue)
repeated .pdpb.Member members = 2;
public Pdpb.GetMembersResponse.Builder addMembers(Pdpb.Member value)
repeated .pdpb.Member members = 2;
public Pdpb.GetMembersResponse.Builder addMembers(int index, Pdpb.Member value)
repeated .pdpb.Member members = 2;
public Pdpb.GetMembersResponse.Builder addMembers(Pdpb.Member.Builder builderForValue)
repeated .pdpb.Member members = 2;
public Pdpb.GetMembersResponse.Builder addMembers(int index, Pdpb.Member.Builder builderForValue)
repeated .pdpb.Member members = 2;
public Pdpb.GetMembersResponse.Builder addAllMembers(Iterable<? extends Pdpb.Member> values)
repeated .pdpb.Member members = 2;
public Pdpb.GetMembersResponse.Builder clearMembers()
repeated .pdpb.Member members = 2;
public Pdpb.GetMembersResponse.Builder removeMembers(int index)
repeated .pdpb.Member members = 2;
public Pdpb.Member.Builder getMembersBuilder(int index)
repeated .pdpb.Member members = 2;
public Pdpb.MemberOrBuilder getMembersOrBuilder(int index)
repeated .pdpb.Member members = 2;
getMembersOrBuilder
in interface Pdpb.GetMembersResponseOrBuilder
public List<? extends Pdpb.MemberOrBuilder> getMembersOrBuilderList()
repeated .pdpb.Member members = 2;
getMembersOrBuilderList
in interface Pdpb.GetMembersResponseOrBuilder
public Pdpb.Member.Builder addMembersBuilder()
repeated .pdpb.Member members = 2;
public Pdpb.Member.Builder addMembersBuilder(int index)
repeated .pdpb.Member members = 2;
public List<Pdpb.Member.Builder> getMembersBuilderList()
repeated .pdpb.Member members = 2;
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.GetMembersResponse.Builder setLeader(Pdpb.Member value)
.pdpb.Member leader = 3;
public Pdpb.GetMembersResponse.Builder setLeader(Pdpb.Member.Builder builderForValue)
.pdpb.Member leader = 3;
public Pdpb.GetMembersResponse.Builder mergeLeader(Pdpb.Member value)
.pdpb.Member leader = 3;
public Pdpb.GetMembersResponse.Builder clearLeader()
.pdpb.Member leader = 3;
public Pdpb.Member.Builder getLeaderBuilder()
.pdpb.Member leader = 3;
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.GetMembersResponse.Builder setEtcdLeader(Pdpb.Member value)
.pdpb.Member etcd_leader = 4;
public Pdpb.GetMembersResponse.Builder setEtcdLeader(Pdpb.Member.Builder builderForValue)
.pdpb.Member etcd_leader = 4;
public Pdpb.GetMembersResponse.Builder mergeEtcdLeader(Pdpb.Member value)
.pdpb.Member etcd_leader = 4;
public Pdpb.GetMembersResponse.Builder clearEtcdLeader()
.pdpb.Member etcd_leader = 4;
public Pdpb.Member.Builder getEtcdLeaderBuilder()
.pdpb.Member etcd_leader = 4;
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 Pdpb.GetMembersResponse.Builder clearTsoAllocatorLeaders()
public Pdpb.GetMembersResponse.Builder removeTsoAllocatorLeaders(String key)
map<string, .pdpb.Member> tso_allocator_leaders = 5;
@Deprecated public Map<String,Pdpb.Member> getMutableTsoAllocatorLeaders()
public Pdpb.GetMembersResponse.Builder putTsoAllocatorLeaders(String key, Pdpb.Member value)
map<string, .pdpb.Member> tso_allocator_leaders = 5;
public Pdpb.GetMembersResponse.Builder putAllTsoAllocatorLeaders(Map<String,Pdpb.Member> values)
map<string, .pdpb.Member> tso_allocator_leaders = 5;
public final Pdpb.GetMembersResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
public final Pdpb.GetMembersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.GetMembersResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.