public static final class WorkerNetAddress.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkerNetAddress.Builder> implements WorkerNetAddressOrBuilder
Address information about workers.Protobuf type
alluxio.grpc.WorkerNetAddress
Modifier and Type | Method and Description |
---|---|
WorkerNetAddress.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WorkerNetAddress |
build() |
WorkerNetAddress |
buildPartial() |
WorkerNetAddress.Builder |
clear() |
WorkerNetAddress.Builder |
clearContainerHost()
optional string containerHost = 7; |
WorkerNetAddress.Builder |
clearDataPort()
optional int32 dataPort = 3; |
WorkerNetAddress.Builder |
clearDomainSocketPath()
optional string domainSocketPath = 5; |
WorkerNetAddress.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WorkerNetAddress.Builder |
clearHost()
optional string host = 1; |
WorkerNetAddress.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WorkerNetAddress.Builder |
clearRpcPort()
optional int32 rpcPort = 2; |
WorkerNetAddress.Builder |
clearWebPort()
optional int32 webPort = 4; |
WorkerNetAddress.Builder |
clone() |
String |
getContainerHost()
optional string containerHost = 7; |
com.google.protobuf.ByteString |
getContainerHostBytes()
optional string containerHost = 7; |
int |
getDataPort()
optional int32 dataPort = 3; |
WorkerNetAddress |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDomainSocketPath()
optional string domainSocketPath = 5; |
com.google.protobuf.ByteString |
getDomainSocketPathBytes()
optional string domainSocketPath = 5; |
String |
getHost()
optional string host = 1; |
com.google.protobuf.ByteString |
getHostBytes()
optional string host = 1; |
int |
getRpcPort()
optional int32 rpcPort = 2; |
int |
getWebPort()
optional int32 webPort = 4; |
boolean |
hasContainerHost()
optional string containerHost = 7; |
boolean |
hasDataPort()
optional int32 dataPort = 3; |
boolean |
hasDomainSocketPath()
optional string domainSocketPath = 5; |
boolean |
hasHost()
optional string host = 1; |
boolean |
hasRpcPort()
optional int32 rpcPort = 2; |
boolean |
hasWebPort()
optional int32 webPort = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WorkerNetAddress.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WorkerNetAddress.Builder |
mergeFrom(com.google.protobuf.Message other) |
WorkerNetAddress.Builder |
mergeFrom(WorkerNetAddress other) |
WorkerNetAddress.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WorkerNetAddress.Builder |
setContainerHost(String value)
optional string containerHost = 7; |
WorkerNetAddress.Builder |
setContainerHostBytes(com.google.protobuf.ByteString value)
optional string containerHost = 7; |
WorkerNetAddress.Builder |
setDataPort(int value)
optional int32 dataPort = 3; |
WorkerNetAddress.Builder |
setDomainSocketPath(String value)
optional string domainSocketPath = 5; |
WorkerNetAddress.Builder |
setDomainSocketPathBytes(com.google.protobuf.ByteString value)
optional string domainSocketPath = 5; |
WorkerNetAddress.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WorkerNetAddress.Builder |
setHost(String value)
optional string host = 1; |
WorkerNetAddress.Builder |
setHostBytes(com.google.protobuf.ByteString value)
optional string host = 1; |
WorkerNetAddress.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WorkerNetAddress.Builder |
setRpcPort(int value)
optional int32 rpcPort = 2; |
WorkerNetAddress.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WorkerNetAddress.Builder |
setWebPort(int value)
optional int32 webPort = 4; |
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<WorkerNetAddress.Builder>
public WorkerNetAddress.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<WorkerNetAddress.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<WorkerNetAddress.Builder>
public WorkerNetAddress getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WorkerNetAddress build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WorkerNetAddress buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WorkerNetAddress.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<WorkerNetAddress.Builder>
public WorkerNetAddress.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<WorkerNetAddress.Builder>
public WorkerNetAddress.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerNetAddress.Builder>
public WorkerNetAddress.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerNetAddress.Builder>
public WorkerNetAddress.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<WorkerNetAddress.Builder>
public WorkerNetAddress.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<WorkerNetAddress.Builder>
public WorkerNetAddress.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WorkerNetAddress.Builder>
public WorkerNetAddress.Builder mergeFrom(WorkerNetAddress other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerNetAddress.Builder>
public WorkerNetAddress.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<WorkerNetAddress.Builder>
IOException
public boolean hasHost()
optional string host = 1;
hasHost
in interface WorkerNetAddressOrBuilder
public String getHost()
optional string host = 1;
getHost
in interface WorkerNetAddressOrBuilder
public com.google.protobuf.ByteString getHostBytes()
optional string host = 1;
getHostBytes
in interface WorkerNetAddressOrBuilder
public WorkerNetAddress.Builder setHost(String value)
optional string host = 1;
value
- The host to set.public WorkerNetAddress.Builder clearHost()
optional string host = 1;
public WorkerNetAddress.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 WorkerNetAddressOrBuilder
public int getRpcPort()
optional int32 rpcPort = 2;
getRpcPort
in interface WorkerNetAddressOrBuilder
public WorkerNetAddress.Builder setRpcPort(int value)
optional int32 rpcPort = 2;
value
- The rpcPort to set.public WorkerNetAddress.Builder clearRpcPort()
optional int32 rpcPort = 2;
public boolean hasDataPort()
optional int32 dataPort = 3;
hasDataPort
in interface WorkerNetAddressOrBuilder
public int getDataPort()
optional int32 dataPort = 3;
getDataPort
in interface WorkerNetAddressOrBuilder
public WorkerNetAddress.Builder setDataPort(int value)
optional int32 dataPort = 3;
value
- The dataPort to set.public WorkerNetAddress.Builder clearDataPort()
optional int32 dataPort = 3;
public boolean hasWebPort()
optional int32 webPort = 4;
hasWebPort
in interface WorkerNetAddressOrBuilder
public int getWebPort()
optional int32 webPort = 4;
getWebPort
in interface WorkerNetAddressOrBuilder
public WorkerNetAddress.Builder setWebPort(int value)
optional int32 webPort = 4;
value
- The webPort to set.public WorkerNetAddress.Builder clearWebPort()
optional int32 webPort = 4;
public boolean hasDomainSocketPath()
optional string domainSocketPath = 5;
hasDomainSocketPath
in interface WorkerNetAddressOrBuilder
public String getDomainSocketPath()
optional string domainSocketPath = 5;
getDomainSocketPath
in interface WorkerNetAddressOrBuilder
public com.google.protobuf.ByteString getDomainSocketPathBytes()
optional string domainSocketPath = 5;
getDomainSocketPathBytes
in interface WorkerNetAddressOrBuilder
public WorkerNetAddress.Builder setDomainSocketPath(String value)
optional string domainSocketPath = 5;
value
- The domainSocketPath to set.public WorkerNetAddress.Builder clearDomainSocketPath()
optional string domainSocketPath = 5;
public WorkerNetAddress.Builder setDomainSocketPathBytes(com.google.protobuf.ByteString value)
optional string domainSocketPath = 5;
value
- The bytes for domainSocketPath to set.public boolean hasContainerHost()
optional string containerHost = 7;
hasContainerHost
in interface WorkerNetAddressOrBuilder
public String getContainerHost()
optional string containerHost = 7;
getContainerHost
in interface WorkerNetAddressOrBuilder
public com.google.protobuf.ByteString getContainerHostBytes()
optional string containerHost = 7;
getContainerHostBytes
in interface WorkerNetAddressOrBuilder
public WorkerNetAddress.Builder setContainerHost(String value)
optional string containerHost = 7;
value
- The containerHost to set.public WorkerNetAddress.Builder clearContainerHost()
optional string containerHost = 7;
public WorkerNetAddress.Builder setContainerHostBytes(com.google.protobuf.ByteString value)
optional string containerHost = 7;
value
- The bytes for containerHost to set.public final WorkerNetAddress.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerNetAddress.Builder>
public final WorkerNetAddress.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerNetAddress.Builder>
Copyright © 2023. All Rights Reserved.