public static final class NetAddress.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetAddress.Builder> implements NetAddressOrBuilder
Address information about masters.Protobuf type
alluxio.grpc.NetAddress
Modifier and Type | Method and Description |
---|---|
NetAddress.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NetAddress |
build() |
NetAddress |
buildPartial() |
NetAddress.Builder |
clear() |
NetAddress.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NetAddress.Builder |
clearHost()
optional string host = 1; |
NetAddress.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NetAddress.Builder |
clearRpcPort()
optional int32 rpcPort = 2; |
NetAddress.Builder |
clone() |
NetAddress |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
optional string host = 1; |
com.google.protobuf.ByteString |
getHostBytes()
optional string host = 1; |
int |
getRpcPort()
optional int32 rpcPort = 2; |
boolean |
hasHost()
optional string host = 1; |
boolean |
hasRpcPort()
optional int32 rpcPort = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NetAddress.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NetAddress.Builder |
mergeFrom(com.google.protobuf.Message other) |
NetAddress.Builder |
mergeFrom(NetAddress other) |
NetAddress.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NetAddress.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NetAddress.Builder |
setHost(String value)
optional string host = 1; |
NetAddress.Builder |
setHostBytes(com.google.protobuf.ByteString value)
optional string host = 1; |
NetAddress.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NetAddress.Builder |
setRpcPort(int value)
optional int32 rpcPort = 2; |
NetAddress.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<NetAddress.Builder>
public NetAddress.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<NetAddress.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<NetAddress.Builder>
public NetAddress getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public NetAddress build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public NetAddress buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public NetAddress.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<NetAddress.Builder>
public NetAddress.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<NetAddress.Builder>
public NetAddress.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<NetAddress.Builder>
public NetAddress.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<NetAddress.Builder>
public NetAddress.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<NetAddress.Builder>
public NetAddress.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<NetAddress.Builder>
public NetAddress.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NetAddress.Builder>
public NetAddress.Builder mergeFrom(NetAddress other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<NetAddress.Builder>
public NetAddress.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<NetAddress.Builder>
IOException
public boolean hasHost()
optional string host = 1;
hasHost
in interface NetAddressOrBuilder
public String getHost()
optional string host = 1;
getHost
in interface NetAddressOrBuilder
public com.google.protobuf.ByteString getHostBytes()
optional string host = 1;
getHostBytes
in interface NetAddressOrBuilder
public NetAddress.Builder setHost(String value)
optional string host = 1;
value
- The host to set.public NetAddress.Builder clearHost()
optional string host = 1;
public NetAddress.Builder setHostBytes(com.google.protobuf.ByteString value)
optional string host = 1;
value
- The bytes for host to set.public boolean hasRpcPort()
optional int32 rpcPort = 2;
hasRpcPort
in interface NetAddressOrBuilder
public int getRpcPort()
optional int32 rpcPort = 2;
getRpcPort
in interface NetAddressOrBuilder
public NetAddress.Builder setRpcPort(int value)
optional int32 rpcPort = 2;
value
- The rpcPort to set.public NetAddress.Builder clearRpcPort()
optional int32 rpcPort = 2;
public final NetAddress.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<NetAddress.Builder>
public final NetAddress.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<NetAddress.Builder>
Copyright © 2023. All Rights Reserved.