Package akka.cluster.pubsub.protobuf.msg
Class DistributedPubSubMessages.Address.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
- akka.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Address.Builder
-
- All Implemented Interfaces:
DistributedPubSubMessages.AddressOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DistributedPubSubMessages.Address
public static final class DistributedPubSubMessages.Address.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder> implements DistributedPubSubMessages.AddressOrBuilder
Defines a remote address.
Protobuf typeAddress
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedPubSubMessages.Address.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
DistributedPubSubMessages.Address
build()
DistributedPubSubMessages.Address
buildPartial()
DistributedPubSubMessages.Address.Builder
clear()
DistributedPubSubMessages.Address.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
DistributedPubSubMessages.Address.Builder
clearHostname()
required string hostname = 2;
DistributedPubSubMessages.Address.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
DistributedPubSubMessages.Address.Builder
clearPort()
required uint32 port = 3;
DistributedPubSubMessages.Address.Builder
clearProtocol()
optional string protocol = 4;
DistributedPubSubMessages.Address.Builder
clearSystem()
required string system = 1;
DistributedPubSubMessages.Address.Builder
clone()
DistributedPubSubMessages.Address
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getHostname()
required string hostname = 2;
akka.protobufv3.internal.ByteString
getHostnameBytes()
required string hostname = 2;
int
getPort()
required uint32 port = 3;
java.lang.String
getProtocol()
optional string protocol = 4;
akka.protobufv3.internal.ByteString
getProtocolBytes()
optional string protocol = 4;
java.lang.String
getSystem()
required string system = 1;
akka.protobufv3.internal.ByteString
getSystemBytes()
required string system = 1;
boolean
hasHostname()
required string hostname = 2;
boolean
hasPort()
required uint32 port = 3;
boolean
hasProtocol()
optional string protocol = 4;
boolean
hasSystem()
required string system = 1;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DistributedPubSubMessages.Address.Builder
mergeFrom(DistributedPubSubMessages.Address other)
DistributedPubSubMessages.Address.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
DistributedPubSubMessages.Address.Builder
mergeFrom(akka.protobufv3.internal.Message other)
DistributedPubSubMessages.Address.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
DistributedPubSubMessages.Address.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
DistributedPubSubMessages.Address.Builder
setHostname(java.lang.String value)
required string hostname = 2;
DistributedPubSubMessages.Address.Builder
setHostnameBytes(akka.protobufv3.internal.ByteString value)
required string hostname = 2;
DistributedPubSubMessages.Address.Builder
setPort(int value)
required uint32 port = 3;
DistributedPubSubMessages.Address.Builder
setProtocol(java.lang.String value)
optional string protocol = 4;
DistributedPubSubMessages.Address.Builder
setProtocolBytes(akka.protobufv3.internal.ByteString value)
optional string protocol = 4;
DistributedPubSubMessages.Address.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DistributedPubSubMessages.Address.Builder
setSystem(java.lang.String value)
required string system = 1;
DistributedPubSubMessages.Address.Builder
setSystemBytes(akka.protobufv3.internal.ByteString value)
required string system = 1;
DistributedPubSubMessages.Address.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
clear
public DistributedPubSubMessages.Address.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
getDefaultInstanceForType
public DistributedPubSubMessages.Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public DistributedPubSubMessages.Address build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public DistributedPubSubMessages.Address buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public DistributedPubSubMessages.Address.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
setField
public DistributedPubSubMessages.Address.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
clearField
public DistributedPubSubMessages.Address.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
clearOneof
public DistributedPubSubMessages.Address.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
setRepeatedField
public DistributedPubSubMessages.Address.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
addRepeatedField
public DistributedPubSubMessages.Address.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
mergeFrom
public DistributedPubSubMessages.Address.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<DistributedPubSubMessages.Address.Builder>
-
mergeFrom
public DistributedPubSubMessages.Address.Builder mergeFrom(DistributedPubSubMessages.Address other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
mergeFrom
public DistributedPubSubMessages.Address.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<DistributedPubSubMessages.Address.Builder>
- Throws:
java.io.IOException
-
hasSystem
public boolean hasSystem()
required string system = 1;
- Specified by:
hasSystem
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- Whether the system field is set.
-
getSystem
public java.lang.String getSystem()
required string system = 1;
- Specified by:
getSystem
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- The system.
-
getSystemBytes
public akka.protobufv3.internal.ByteString getSystemBytes()
required string system = 1;
- Specified by:
getSystemBytes
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- The bytes for system.
-
setSystem
public DistributedPubSubMessages.Address.Builder setSystem(java.lang.String value)
required string system = 1;
- Parameters:
value
- The system to set.- Returns:
- This builder for chaining.
-
clearSystem
public DistributedPubSubMessages.Address.Builder clearSystem()
required string system = 1;
- Returns:
- This builder for chaining.
-
setSystemBytes
public DistributedPubSubMessages.Address.Builder setSystemBytes(akka.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:
hasHostname
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- Whether the hostname field is set.
-
getHostname
public java.lang.String getHostname()
required string hostname = 2;
- Specified by:
getHostname
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- The hostname.
-
getHostnameBytes
public akka.protobufv3.internal.ByteString getHostnameBytes()
required string hostname = 2;
- Specified by:
getHostnameBytes
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- The bytes for hostname.
-
setHostname
public DistributedPubSubMessages.Address.Builder setHostname(java.lang.String value)
required string hostname = 2;
- Parameters:
value
- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
public DistributedPubSubMessages.Address.Builder clearHostname()
required string hostname = 2;
- Returns:
- This builder for chaining.
-
setHostnameBytes
public DistributedPubSubMessages.Address.Builder setHostnameBytes(akka.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:
hasPort
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- Whether the port field is set.
-
getPort
public int getPort()
required uint32 port = 3;
- Specified by:
getPort
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- The port.
-
setPort
public DistributedPubSubMessages.Address.Builder setPort(int value)
required uint32 port = 3;
- Parameters:
value
- The port to set.- Returns:
- This builder for chaining.
-
clearPort
public DistributedPubSubMessages.Address.Builder clearPort()
required uint32 port = 3;
- Returns:
- This builder for chaining.
-
hasProtocol
public boolean hasProtocol()
optional string protocol = 4;
- Specified by:
hasProtocol
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- Whether the protocol field is set.
-
getProtocol
public java.lang.String getProtocol()
optional string protocol = 4;
- Specified by:
getProtocol
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- The protocol.
-
getProtocolBytes
public akka.protobufv3.internal.ByteString getProtocolBytes()
optional string protocol = 4;
- Specified by:
getProtocolBytes
in interfaceDistributedPubSubMessages.AddressOrBuilder
- Returns:
- The bytes for protocol.
-
setProtocol
public DistributedPubSubMessages.Address.Builder setProtocol(java.lang.String value)
optional string protocol = 4;
- Parameters:
value
- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
public DistributedPubSubMessages.Address.Builder clearProtocol()
optional string protocol = 4;
- Returns:
- This builder for chaining.
-
setProtocolBytes
public DistributedPubSubMessages.Address.Builder setProtocolBytes(akka.protobufv3.internal.ByteString value)
optional string protocol = 4;
- Parameters:
value
- The bytes for protocol to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DistributedPubSubMessages.Address.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
mergeUnknownFields
public final DistributedPubSubMessages.Address.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Address.Builder>
-
-