public static final class Pdpb.Member.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Member.Builder> implements Pdpb.MemberOrBuilder
pdpb.Member
Modifier and Type | Method and Description |
---|---|
Pdpb.Member.Builder |
addAllClientUrls(Iterable<String> values)
repeated string client_urls = 4; |
Pdpb.Member.Builder |
addAllPeerUrls(Iterable<String> values)
repeated string peer_urls = 3; |
Pdpb.Member.Builder |
addClientUrls(String value)
repeated string client_urls = 4; |
Pdpb.Member.Builder |
addClientUrlsBytes(com.google.protobuf.ByteString value)
repeated string client_urls = 4; |
Pdpb.Member.Builder |
addPeerUrls(String value)
repeated string peer_urls = 3; |
Pdpb.Member.Builder |
addPeerUrlsBytes(com.google.protobuf.ByteString value)
repeated string peer_urls = 3; |
Pdpb.Member.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.Member |
build() |
Pdpb.Member |
buildPartial() |
Pdpb.Member.Builder |
clear() |
Pdpb.Member.Builder |
clearBinaryVersion()
string binary_version = 7; |
Pdpb.Member.Builder |
clearClientUrls()
repeated string client_urls = 4; |
Pdpb.Member.Builder |
clearDcLocation()
string dc_location = 9; |
Pdpb.Member.Builder |
clearDeployPath()
string deploy_path = 6; |
Pdpb.Member.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Pdpb.Member.Builder |
clearGitHash()
string git_hash = 8; |
Pdpb.Member.Builder |
clearLeaderPriority()
int32 leader_priority = 5; |
Pdpb.Member.Builder |
clearMemberId()
member_id is the unique id of the PD member.
|
Pdpb.Member.Builder |
clearName()
name is the name of the PD member.
|
Pdpb.Member.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Pdpb.Member.Builder |
clearPeerUrls()
repeated string peer_urls = 3; |
Pdpb.Member.Builder |
clone() |
String |
getBinaryVersion()
string binary_version = 7; |
com.google.protobuf.ByteString |
getBinaryVersionBytes()
string binary_version = 7; |
String |
getClientUrls(int index)
repeated string client_urls = 4; |
com.google.protobuf.ByteString |
getClientUrlsBytes(int index)
repeated string client_urls = 4; |
int |
getClientUrlsCount()
repeated string client_urls = 4; |
com.google.protobuf.ProtocolStringList |
getClientUrlsList()
repeated string client_urls = 4; |
String |
getDcLocation()
string dc_location = 9; |
com.google.protobuf.ByteString |
getDcLocationBytes()
string dc_location = 9; |
Pdpb.Member |
getDefaultInstanceForType() |
String |
getDeployPath()
string deploy_path = 6; |
com.google.protobuf.ByteString |
getDeployPathBytes()
string deploy_path = 6; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGitHash()
string git_hash = 8; |
com.google.protobuf.ByteString |
getGitHashBytes()
string git_hash = 8; |
int |
getLeaderPriority()
int32 leader_priority = 5; |
long |
getMemberId()
member_id is the unique id of the PD member.
|
String |
getName()
name is the name of the PD member.
|
com.google.protobuf.ByteString |
getNameBytes()
name is the name of the PD member.
|
String |
getPeerUrls(int index)
repeated string peer_urls = 3; |
com.google.protobuf.ByteString |
getPeerUrlsBytes(int index)
repeated string peer_urls = 3; |
int |
getPeerUrlsCount()
repeated string peer_urls = 3; |
com.google.protobuf.ProtocolStringList |
getPeerUrlsList()
repeated string peer_urls = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Pdpb.Member.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Pdpb.Member.Builder |
mergeFrom(com.google.protobuf.Message other) |
Pdpb.Member.Builder |
mergeFrom(Pdpb.Member other) |
Pdpb.Member.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.Member.Builder |
setBinaryVersion(String value)
string binary_version = 7; |
Pdpb.Member.Builder |
setBinaryVersionBytes(com.google.protobuf.ByteString value)
string binary_version = 7; |
Pdpb.Member.Builder |
setClientUrls(int index,
String value)
repeated string client_urls = 4; |
Pdpb.Member.Builder |
setDcLocation(String value)
string dc_location = 9; |
Pdpb.Member.Builder |
setDcLocationBytes(com.google.protobuf.ByteString value)
string dc_location = 9; |
Pdpb.Member.Builder |
setDeployPath(String value)
string deploy_path = 6; |
Pdpb.Member.Builder |
setDeployPathBytes(com.google.protobuf.ByteString value)
string deploy_path = 6; |
Pdpb.Member.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.Member.Builder |
setGitHash(String value)
string git_hash = 8; |
Pdpb.Member.Builder |
setGitHashBytes(com.google.protobuf.ByteString value)
string git_hash = 8; |
Pdpb.Member.Builder |
setLeaderPriority(int value)
int32 leader_priority = 5; |
Pdpb.Member.Builder |
setMemberId(long value)
member_id is the unique id of the PD member.
|
Pdpb.Member.Builder |
setName(String value)
name is the name of the PD member.
|
Pdpb.Member.Builder |
setNameBytes(com.google.protobuf.ByteString value)
name is the name of the PD member.
|
Pdpb.Member.Builder |
setPeerUrls(int index,
String value)
repeated string peer_urls = 3; |
Pdpb.Member.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Pdpb.Member.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Member.Builder>
public Pdpb.Member.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.Member.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.Member.Builder>
public Pdpb.Member getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Pdpb.Member build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.Member buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.Member.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.Member.Builder>
public Pdpb.Member.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.Member.Builder>
public Pdpb.Member.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.Member.Builder>
public Pdpb.Member.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.Member.Builder>
public Pdpb.Member.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.Member.Builder>
public Pdpb.Member.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.Member.Builder>
public Pdpb.Member.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.Member.Builder>
public Pdpb.Member.Builder mergeFrom(Pdpb.Member other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Member.Builder>
public Pdpb.Member.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.Member.Builder>
IOException
public String getName()
name is the name of the PD member.
string name = 1;
getName
in interface Pdpb.MemberOrBuilder
public com.google.protobuf.ByteString getNameBytes()
name is the name of the PD member.
string name = 1;
getNameBytes
in interface Pdpb.MemberOrBuilder
public Pdpb.Member.Builder setName(String value)
name is the name of the PD member.
string name = 1;
value
- The name to set.public Pdpb.Member.Builder clearName()
name is the name of the PD member.
string name = 1;
public Pdpb.Member.Builder setNameBytes(com.google.protobuf.ByteString value)
name is the name of the PD member.
string name = 1;
value
- The bytes for name to set.public long getMemberId()
member_id is the unique id of the PD member.
uint64 member_id = 2;
getMemberId
in interface Pdpb.MemberOrBuilder
public Pdpb.Member.Builder setMemberId(long value)
member_id is the unique id of the PD member.
uint64 member_id = 2;
value
- The memberId to set.public Pdpb.Member.Builder clearMemberId()
member_id is the unique id of the PD member.
uint64 member_id = 2;
public com.google.protobuf.ProtocolStringList getPeerUrlsList()
repeated string peer_urls = 3;
getPeerUrlsList
in interface Pdpb.MemberOrBuilder
public int getPeerUrlsCount()
repeated string peer_urls = 3;
getPeerUrlsCount
in interface Pdpb.MemberOrBuilder
public String getPeerUrls(int index)
repeated string peer_urls = 3;
getPeerUrls
in interface Pdpb.MemberOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getPeerUrlsBytes(int index)
repeated string peer_urls = 3;
getPeerUrlsBytes
in interface Pdpb.MemberOrBuilder
index
- The index of the value to return.public Pdpb.Member.Builder setPeerUrls(int index, String value)
repeated string peer_urls = 3;
index
- The index to set the value at.value
- The peerUrls to set.public Pdpb.Member.Builder addPeerUrls(String value)
repeated string peer_urls = 3;
value
- The peerUrls to add.public Pdpb.Member.Builder addAllPeerUrls(Iterable<String> values)
repeated string peer_urls = 3;
values
- The peerUrls to add.public Pdpb.Member.Builder clearPeerUrls()
repeated string peer_urls = 3;
public Pdpb.Member.Builder addPeerUrlsBytes(com.google.protobuf.ByteString value)
repeated string peer_urls = 3;
value
- The bytes of the peerUrls to add.public com.google.protobuf.ProtocolStringList getClientUrlsList()
repeated string client_urls = 4;
getClientUrlsList
in interface Pdpb.MemberOrBuilder
public int getClientUrlsCount()
repeated string client_urls = 4;
getClientUrlsCount
in interface Pdpb.MemberOrBuilder
public String getClientUrls(int index)
repeated string client_urls = 4;
getClientUrls
in interface Pdpb.MemberOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getClientUrlsBytes(int index)
repeated string client_urls = 4;
getClientUrlsBytes
in interface Pdpb.MemberOrBuilder
index
- The index of the value to return.public Pdpb.Member.Builder setClientUrls(int index, String value)
repeated string client_urls = 4;
index
- The index to set the value at.value
- The clientUrls to set.public Pdpb.Member.Builder addClientUrls(String value)
repeated string client_urls = 4;
value
- The clientUrls to add.public Pdpb.Member.Builder addAllClientUrls(Iterable<String> values)
repeated string client_urls = 4;
values
- The clientUrls to add.public Pdpb.Member.Builder clearClientUrls()
repeated string client_urls = 4;
public Pdpb.Member.Builder addClientUrlsBytes(com.google.protobuf.ByteString value)
repeated string client_urls = 4;
value
- The bytes of the clientUrls to add.public int getLeaderPriority()
int32 leader_priority = 5;
getLeaderPriority
in interface Pdpb.MemberOrBuilder
public Pdpb.Member.Builder setLeaderPriority(int value)
int32 leader_priority = 5;
value
- The leaderPriority to set.public Pdpb.Member.Builder clearLeaderPriority()
int32 leader_priority = 5;
public String getDeployPath()
string deploy_path = 6;
getDeployPath
in interface Pdpb.MemberOrBuilder
public com.google.protobuf.ByteString getDeployPathBytes()
string deploy_path = 6;
getDeployPathBytes
in interface Pdpb.MemberOrBuilder
public Pdpb.Member.Builder setDeployPath(String value)
string deploy_path = 6;
value
- The deployPath to set.public Pdpb.Member.Builder clearDeployPath()
string deploy_path = 6;
public Pdpb.Member.Builder setDeployPathBytes(com.google.protobuf.ByteString value)
string deploy_path = 6;
value
- The bytes for deployPath to set.public String getBinaryVersion()
string binary_version = 7;
getBinaryVersion
in interface Pdpb.MemberOrBuilder
public com.google.protobuf.ByteString getBinaryVersionBytes()
string binary_version = 7;
getBinaryVersionBytes
in interface Pdpb.MemberOrBuilder
public Pdpb.Member.Builder setBinaryVersion(String value)
string binary_version = 7;
value
- The binaryVersion to set.public Pdpb.Member.Builder clearBinaryVersion()
string binary_version = 7;
public Pdpb.Member.Builder setBinaryVersionBytes(com.google.protobuf.ByteString value)
string binary_version = 7;
value
- The bytes for binaryVersion to set.public String getGitHash()
string git_hash = 8;
getGitHash
in interface Pdpb.MemberOrBuilder
public com.google.protobuf.ByteString getGitHashBytes()
string git_hash = 8;
getGitHashBytes
in interface Pdpb.MemberOrBuilder
public Pdpb.Member.Builder setGitHash(String value)
string git_hash = 8;
value
- The gitHash to set.public Pdpb.Member.Builder clearGitHash()
string git_hash = 8;
public Pdpb.Member.Builder setGitHashBytes(com.google.protobuf.ByteString value)
string git_hash = 8;
value
- The bytes for gitHash to set.public String getDcLocation()
string dc_location = 9;
getDcLocation
in interface Pdpb.MemberOrBuilder
public com.google.protobuf.ByteString getDcLocationBytes()
string dc_location = 9;
getDcLocationBytes
in interface Pdpb.MemberOrBuilder
public Pdpb.Member.Builder setDcLocation(String value)
string dc_location = 9;
value
- The dcLocation to set.public Pdpb.Member.Builder clearDcLocation()
string dc_location = 9;
public Pdpb.Member.Builder setDcLocationBytes(com.google.protobuf.ByteString value)
string dc_location = 9;
value
- The bytes for dcLocation to set.public final Pdpb.Member.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Member.Builder>
public final Pdpb.Member.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.Member.Builder>
Copyright © 2024 PingCAP. All rights reserved.