public static final class QuorumServerInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QuorumServerInfo.Builder> implements QuorumServerInfoOrBuilder
alluxio.grpc.journal.QuorumServerInfo
Modifier and Type | Method and Description |
---|---|
QuorumServerInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QuorumServerInfo |
build() |
QuorumServerInfo |
buildPartial() |
QuorumServerInfo.Builder |
clear() |
QuorumServerInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QuorumServerInfo.Builder |
clearIsLeader()
optional bool isLeader = 3; |
QuorumServerInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QuorumServerInfo.Builder |
clearPriority()
optional int32 priority = 4; |
QuorumServerInfo.Builder |
clearServerAddress()
optional .alluxio.grpc.NetAddress serverAddress = 1; |
QuorumServerInfo.Builder |
clearServerState()
optional .alluxio.grpc.journal.QuorumServerState serverState = 2; |
QuorumServerInfo.Builder |
clone() |
QuorumServerInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsLeader()
optional bool isLeader = 3; |
int |
getPriority()
optional int32 priority = 4; |
NetAddress |
getServerAddress()
optional .alluxio.grpc.NetAddress serverAddress = 1; |
NetAddress.Builder |
getServerAddressBuilder()
optional .alluxio.grpc.NetAddress serverAddress = 1; |
NetAddressOrBuilder |
getServerAddressOrBuilder()
optional .alluxio.grpc.NetAddress serverAddress = 1; |
QuorumServerState |
getServerState()
optional .alluxio.grpc.journal.QuorumServerState serverState = 2; |
boolean |
hasIsLeader()
optional bool isLeader = 3; |
boolean |
hasPriority()
optional int32 priority = 4; |
boolean |
hasServerAddress()
optional .alluxio.grpc.NetAddress serverAddress = 1; |
boolean |
hasServerState()
optional .alluxio.grpc.journal.QuorumServerState serverState = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QuorumServerInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QuorumServerInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
QuorumServerInfo.Builder |
mergeFrom(QuorumServerInfo other) |
QuorumServerInfo.Builder |
mergeServerAddress(NetAddress value)
optional .alluxio.grpc.NetAddress serverAddress = 1; |
QuorumServerInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QuorumServerInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QuorumServerInfo.Builder |
setIsLeader(boolean value)
optional bool isLeader = 3; |
QuorumServerInfo.Builder |
setPriority(int value)
optional int32 priority = 4; |
QuorumServerInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QuorumServerInfo.Builder |
setServerAddress(NetAddress.Builder builderForValue)
optional .alluxio.grpc.NetAddress serverAddress = 1; |
QuorumServerInfo.Builder |
setServerAddress(NetAddress value)
optional .alluxio.grpc.NetAddress serverAddress = 1; |
QuorumServerInfo.Builder |
setServerState(QuorumServerState value)
optional .alluxio.grpc.journal.QuorumServerState serverState = 2; |
QuorumServerInfo.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<QuorumServerInfo.Builder>
public QuorumServerInfo.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<QuorumServerInfo.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<QuorumServerInfo.Builder>
public QuorumServerInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public QuorumServerInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public QuorumServerInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public QuorumServerInfo.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<QuorumServerInfo.Builder>
public QuorumServerInfo.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<QuorumServerInfo.Builder>
public QuorumServerInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<QuorumServerInfo.Builder>
public QuorumServerInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<QuorumServerInfo.Builder>
public QuorumServerInfo.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<QuorumServerInfo.Builder>
public QuorumServerInfo.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<QuorumServerInfo.Builder>
public QuorumServerInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<QuorumServerInfo.Builder>
public QuorumServerInfo.Builder mergeFrom(QuorumServerInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<QuorumServerInfo.Builder>
public QuorumServerInfo.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<QuorumServerInfo.Builder>
IOException
public boolean hasServerAddress()
optional .alluxio.grpc.NetAddress serverAddress = 1;
hasServerAddress
in interface QuorumServerInfoOrBuilder
public NetAddress getServerAddress()
optional .alluxio.grpc.NetAddress serverAddress = 1;
getServerAddress
in interface QuorumServerInfoOrBuilder
public QuorumServerInfo.Builder setServerAddress(NetAddress value)
optional .alluxio.grpc.NetAddress serverAddress = 1;
public QuorumServerInfo.Builder setServerAddress(NetAddress.Builder builderForValue)
optional .alluxio.grpc.NetAddress serverAddress = 1;
public QuorumServerInfo.Builder mergeServerAddress(NetAddress value)
optional .alluxio.grpc.NetAddress serverAddress = 1;
public QuorumServerInfo.Builder clearServerAddress()
optional .alluxio.grpc.NetAddress serverAddress = 1;
public NetAddress.Builder getServerAddressBuilder()
optional .alluxio.grpc.NetAddress serverAddress = 1;
public NetAddressOrBuilder getServerAddressOrBuilder()
optional .alluxio.grpc.NetAddress serverAddress = 1;
getServerAddressOrBuilder
in interface QuorumServerInfoOrBuilder
public boolean hasServerState()
optional .alluxio.grpc.journal.QuorumServerState serverState = 2;
hasServerState
in interface QuorumServerInfoOrBuilder
public QuorumServerState getServerState()
optional .alluxio.grpc.journal.QuorumServerState serverState = 2;
getServerState
in interface QuorumServerInfoOrBuilder
public QuorumServerInfo.Builder setServerState(QuorumServerState value)
optional .alluxio.grpc.journal.QuorumServerState serverState = 2;
value
- The serverState to set.public QuorumServerInfo.Builder clearServerState()
optional .alluxio.grpc.journal.QuorumServerState serverState = 2;
public boolean hasIsLeader()
optional bool isLeader = 3;
hasIsLeader
in interface QuorumServerInfoOrBuilder
public boolean getIsLeader()
optional bool isLeader = 3;
getIsLeader
in interface QuorumServerInfoOrBuilder
public QuorumServerInfo.Builder setIsLeader(boolean value)
optional bool isLeader = 3;
value
- The isLeader to set.public QuorumServerInfo.Builder clearIsLeader()
optional bool isLeader = 3;
public boolean hasPriority()
optional int32 priority = 4;
hasPriority
in interface QuorumServerInfoOrBuilder
public int getPriority()
optional int32 priority = 4;
getPriority
in interface QuorumServerInfoOrBuilder
public QuorumServerInfo.Builder setPriority(int value)
optional int32 priority = 4;
value
- The priority to set.public QuorumServerInfo.Builder clearPriority()
optional int32 priority = 4;
public final QuorumServerInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<QuorumServerInfo.Builder>
public final QuorumServerInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<QuorumServerInfo.Builder>
Copyright © 2023. All Rights Reserved.