Package | Description |
---|---|
org.tikv.kvproto |
Modifier and Type | Method and Description |
---|---|
static Metapb.PeerRole |
Metapb.PeerRole.forNumber(int value) |
Metapb.PeerRole |
Metapb.PeerOrBuilder.getRole()
.metapb.PeerRole role = 3; |
Metapb.PeerRole |
Metapb.Peer.getRole()
.metapb.PeerRole role = 3; |
Metapb.PeerRole |
Metapb.Peer.Builder.getRole()
.metapb.PeerRole role = 3; |
static Metapb.PeerRole |
Metapb.PeerRole.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Metapb.PeerRole |
Metapb.PeerRole.valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Metapb.PeerRole |
Metapb.PeerRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metapb.PeerRole[] |
Metapb.PeerRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Internal.EnumLiteMap<Metapb.PeerRole> |
Metapb.PeerRole.internalGetValueMap() |
Modifier and Type | Method and Description |
---|---|
Metapb.Peer.Builder |
Metapb.Peer.Builder.setRole(Metapb.PeerRole value)
.metapb.PeerRole role = 3; |
Copyright © 2024 PingCAP. All rights reserved.