Package org.apache.pekko.remote
Class WireFormats.AddressData.Builder
java.lang.Object
org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderT>
org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
org.apache.pekko.remote.WireFormats.AddressData.Builder
- All Implemented Interfaces:
Cloneable,org.apache.pekko.protobufv3.internal.Message.Builder,org.apache.pekko.protobufv3.internal.MessageLite.Builder,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder,org.apache.pekko.protobufv3.internal.MessageOrBuilder,WireFormats.AddressDataOrBuilder
- Enclosing class:
- WireFormats.AddressData
public static final class WireFormats.AddressData.Builder
extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
implements WireFormats.AddressDataOrBuilder
* Defines a remote address.Protobuf type
AddressData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()required string hostname = 2;required uint32 port = 3;optional string protocol = 4;required string system = 1;static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptororg.apache.pekko.protobufv3.internal.Descriptors.Descriptorrequired string hostname = 2;org.apache.pekko.protobufv3.internal.ByteStringrequired string hostname = 2;intgetPort()required uint32 port = 3;optional string protocol = 4;org.apache.pekko.protobufv3.internal.ByteStringoptional string protocol = 4;required string system = 1;org.apache.pekko.protobufv3.internal.ByteStringrequired string system = 1;booleanrequired string hostname = 2;booleanhasPort()required uint32 port = 3;booleanoptional string protocol = 4;booleanrequired string system = 1;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) mergeFrom(org.apache.pekko.protobufv3.internal.Message other) mergeFrom(WireFormats.AddressData other) setHostname(String value) required string hostname = 2;setHostnameBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string hostname = 2;setPort(int value) required uint32 port = 3;setProtocol(String value) optional string protocol = 4;setProtocolBytes(org.apache.pekko.protobufv3.internal.ByteString value) optional string protocol = 4;required string system = 1;setSystemBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string system = 1;Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.protobufv3.internal.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
mergeFromMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
-
clear
- Specified by:
clearin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
clearin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder- Overrides:
clearin classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildPartialin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
mergeFrom
public WireFormats.AddressData.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) - Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
mergeFromin classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<WireFormats.AddressData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
-
mergeFrom
public WireFormats.AddressData.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder- Overrides:
mergeFromin classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<WireFormats.AddressData.Builder>- Throws:
IOException
-
hasSystem
public boolean hasSystem()required string system = 1;- Specified by:
hasSystemin interfaceWireFormats.AddressDataOrBuilder- Returns:
- Whether the system field is set.
-
getSystem
required string system = 1;- Specified by:
getSystemin interfaceWireFormats.AddressDataOrBuilder- Returns:
- The system.
-
getSystemBytes
public org.apache.pekko.protobufv3.internal.ByteString getSystemBytes()required string system = 1;- Specified by:
getSystemBytesin interfaceWireFormats.AddressDataOrBuilder- Returns:
- The bytes for system.
-
setSystem
required string system = 1;- Parameters:
value- The system to set.- Returns:
- This builder for chaining.
-
clearSystem
required string system = 1;- Returns:
- This builder for chaining.
-
setSystemBytes
public WireFormats.AddressData.Builder setSystemBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string system = 1;- Parameters:
value- The bytes for system to set.- Returns:
- This builder for chaining.
-
hasHostname
public boolean hasHostname()required string hostname = 2;- Specified by:
hasHostnamein interfaceWireFormats.AddressDataOrBuilder- Returns:
- Whether the hostname field is set.
-
getHostname
required string hostname = 2;- Specified by:
getHostnamein interfaceWireFormats.AddressDataOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public org.apache.pekko.protobufv3.internal.ByteString getHostnameBytes()required string hostname = 2;- Specified by:
getHostnameBytesin interfaceWireFormats.AddressDataOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
required string hostname = 2;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
required string hostname = 2;- Returns:
- This builder for chaining.
-
setHostnameBytes
public WireFormats.AddressData.Builder setHostnameBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string hostname = 2;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
hasPort
public boolean hasPort()required uint32 port = 3;- Specified by:
hasPortin interfaceWireFormats.AddressDataOrBuilder- Returns:
- Whether the port field is set.
-
getPort
public int getPort()required uint32 port = 3;- Specified by:
getPortin interfaceWireFormats.AddressDataOrBuilder- Returns:
- The port.
-
setPort
required uint32 port = 3;- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
required uint32 port = 3;- Returns:
- This builder for chaining.
-
hasProtocol
public boolean hasProtocol()optional string protocol = 4;- Specified by:
hasProtocolin interfaceWireFormats.AddressDataOrBuilder- Returns:
- Whether the protocol field is set.
-
getProtocol
optional string protocol = 4;- Specified by:
getProtocolin interfaceWireFormats.AddressDataOrBuilder- Returns:
- The protocol.
-
getProtocolBytes
public org.apache.pekko.protobufv3.internal.ByteString getProtocolBytes()optional string protocol = 4;- Specified by:
getProtocolBytesin interfaceWireFormats.AddressDataOrBuilder- Returns:
- The bytes for protocol.
-
setProtocol
optional string protocol = 4;- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
optional string protocol = 4;- Returns:
- This builder for chaining.
-
setProtocolBytes
public WireFormats.AddressData.Builder setProtocolBytes(org.apache.pekko.protobufv3.internal.ByteString value) optional string protocol = 4;- Parameters:
value- The bytes for protocol to set.- Returns:
- This builder for chaining.
-