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.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
- org.apache.pekko.remote.WireFormats.AddressData.Builder
-
- All Implemented Interfaces:
java.lang.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.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder> implements WireFormats.AddressDataOrBuilder
Defines a remote address.
Protobuf typeAddressData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WireFormats.AddressData.BuilderaddRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)WireFormats.AddressDatabuild()WireFormats.AddressDatabuildPartial()WireFormats.AddressData.Builderclear()WireFormats.AddressData.BuilderclearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)WireFormats.AddressData.BuilderclearHostname()required string hostname = 2;WireFormats.AddressData.BuilderclearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)WireFormats.AddressData.BuilderclearPort()required uint32 port = 3;WireFormats.AddressData.BuilderclearProtocol()optional string protocol = 4;WireFormats.AddressData.BuilderclearSystem()required string system = 1;WireFormats.AddressData.Builderclone()WireFormats.AddressDatagetDefaultInstanceForType()static org.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetDescriptor()org.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetHostname()required string hostname = 2;org.apache.pekko.protobufv3.internal.ByteStringgetHostnameBytes()required string hostname = 2;intgetPort()required uint32 port = 3;java.lang.StringgetProtocol()optional string protocol = 4;org.apache.pekko.protobufv3.internal.ByteStringgetProtocolBytes()optional string protocol = 4;java.lang.StringgetSystem()required string system = 1;org.apache.pekko.protobufv3.internal.ByteStringgetSystemBytes()required string system = 1;booleanhasHostname()required string hostname = 2;booleanhasPort()required uint32 port = 3;booleanhasProtocol()optional string protocol = 4;booleanhasSystem()required string system = 1;protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WireFormats.AddressData.BuildermergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)WireFormats.AddressData.BuildermergeFrom(org.apache.pekko.protobufv3.internal.Message other)WireFormats.AddressData.BuildermergeFrom(WireFormats.AddressData other)WireFormats.AddressData.BuildermergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)WireFormats.AddressData.BuildersetField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)WireFormats.AddressData.BuildersetHostname(java.lang.String value)required string hostname = 2;WireFormats.AddressData.BuildersetHostnameBytes(org.apache.pekko.protobufv3.internal.ByteString value)required string hostname = 2;WireFormats.AddressData.BuildersetPort(int value)required uint32 port = 3;WireFormats.AddressData.BuildersetProtocol(java.lang.String value)optional string protocol = 4;WireFormats.AddressData.BuildersetProtocolBytes(org.apache.pekko.protobufv3.internal.ByteString value)optional string protocol = 4;WireFormats.AddressData.BuildersetRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WireFormats.AddressData.BuildersetSystem(java.lang.String value)required string system = 1;WireFormats.AddressData.BuildersetSystemBytes(org.apache.pekko.protobufv3.internal.ByteString value)required string system = 1;WireFormats.AddressData.BuildersetUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
getDefaultInstanceForType
public WireFormats.AddressData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public WireFormats.AddressData build()
- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public WireFormats.AddressData buildPartial()
- Specified by:
buildPartialin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildPartialin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
clone
public WireFormats.AddressData.Builder clone()
- Specified by:
clonein interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
clonein interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder- Overrides:
clonein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
setField
public WireFormats.AddressData.Builder setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
setFieldin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
clearField
public WireFormats.AddressData.Builder clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
clearFieldin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
clearOneof
public WireFormats.AddressData.Builder clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
clearOneofin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
setRepeatedField
public WireFormats.AddressData.Builder setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
setRepeatedFieldin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
addRepeatedField
public WireFormats.AddressData.Builder addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
addRepeatedFieldin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.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
public WireFormats.AddressData.Builder mergeFrom(WireFormats.AddressData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.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 java.io.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:
java.io.IOException
-
hasSystem
public boolean hasSystem()
required string system = 1;- Specified by:
hasSystemin interfaceWireFormats.AddressDataOrBuilder- Returns:
- Whether the system field is set.
-
getSystem
public java.lang.String 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
public WireFormats.AddressData.Builder setSystem(java.lang.String value)
required string system = 1;- Parameters:
value- The system to set.- Returns:
- This builder for chaining.
-
clearSystem
public WireFormats.AddressData.Builder 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
public java.lang.String 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
public WireFormats.AddressData.Builder setHostname(java.lang.String value)
required string hostname = 2;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
public WireFormats.AddressData.Builder 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
public WireFormats.AddressData.Builder setPort(int value)
required uint32 port = 3;- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
public WireFormats.AddressData.Builder 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
public java.lang.String 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
public WireFormats.AddressData.Builder setProtocol(java.lang.String value)
optional string protocol = 4;- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
public WireFormats.AddressData.Builder 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.
-
setUnknownFields
public final WireFormats.AddressData.Builder setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
setUnknownFieldsin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
mergeUnknownFields
public final WireFormats.AddressData.Builder mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AddressData.Builder>
-
-