Class ReplicatorMessages.Address.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<ReplicatorMessages.Address.Builder>
-
- org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Address.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ReplicatorMessages.AddressOrBuilder
,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
- Enclosing class:
- ReplicatorMessages.Address
public static final class ReplicatorMessages.Address.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder> implements ReplicatorMessages.AddressOrBuilder
Protobuf typeorg.apache.pekko.cluster.ddata.Address
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicatorMessages.Address.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ReplicatorMessages.Address
build()
ReplicatorMessages.Address
buildPartial()
ReplicatorMessages.Address.Builder
clear()
ReplicatorMessages.Address.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
ReplicatorMessages.Address.Builder
clearHostname()
required string hostname = 1;
ReplicatorMessages.Address.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ReplicatorMessages.Address.Builder
clearPort()
required uint32 port = 2;
ReplicatorMessages.Address.Builder
clone()
ReplicatorMessages.Address
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getHostname()
required string hostname = 1;
org.apache.pekko.protobufv3.internal.ByteString
getHostnameBytes()
required string hostname = 1;
int
getPort()
required uint32 port = 2;
boolean
hasHostname()
required string hostname = 1;
boolean
hasPort()
required uint32 port = 2;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReplicatorMessages.Address.Builder
mergeFrom(ReplicatorMessages.Address other)
ReplicatorMessages.Address.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ReplicatorMessages.Address.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
ReplicatorMessages.Address.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ReplicatorMessages.Address.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ReplicatorMessages.Address.Builder
setHostname(java.lang.String value)
required string hostname = 1;
ReplicatorMessages.Address.Builder
setHostnameBytes(org.apache.pekko.protobufv3.internal.ByteString value)
required string hostname = 1;
ReplicatorMessages.Address.Builder
setPort(int value)
required uint32 port = 2;
ReplicatorMessages.Address.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ReplicatorMessages.Address.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
clear
public ReplicatorMessages.Address.Builder clear()
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
getDefaultInstanceForType
public ReplicatorMessages.Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ReplicatorMessages.Address build()
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ReplicatorMessages.Address buildPartial()
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
clone
public ReplicatorMessages.Address.Builder clone()
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
setField
public ReplicatorMessages.Address.Builder setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
clearField
public ReplicatorMessages.Address.Builder clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
clearOneof
public ReplicatorMessages.Address.Builder clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
setRepeatedField
public ReplicatorMessages.Address.Builder setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
addRepeatedField
public ReplicatorMessages.Address.Builder addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
mergeFrom
public ReplicatorMessages.Address.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ReplicatorMessages.Address.Builder>
-
mergeFrom
public ReplicatorMessages.Address.Builder mergeFrom(ReplicatorMessages.Address other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
mergeFrom
public ReplicatorMessages.Address.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ReplicatorMessages.Address.Builder>
- Throws:
java.io.IOException
-
hasHostname
public boolean hasHostname()
required string hostname = 1;
- Specified by:
hasHostname
in interfaceReplicatorMessages.AddressOrBuilder
- Returns:
- Whether the hostname field is set.
-
getHostname
public java.lang.String getHostname()
required string hostname = 1;
- Specified by:
getHostname
in interfaceReplicatorMessages.AddressOrBuilder
- Returns:
- The hostname.
-
getHostnameBytes
public org.apache.pekko.protobufv3.internal.ByteString getHostnameBytes()
required string hostname = 1;
- Specified by:
getHostnameBytes
in interfaceReplicatorMessages.AddressOrBuilder
- Returns:
- The bytes for hostname.
-
setHostname
public ReplicatorMessages.Address.Builder setHostname(java.lang.String value)
required string hostname = 1;
- Parameters:
value
- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
public ReplicatorMessages.Address.Builder clearHostname()
required string hostname = 1;
- Returns:
- This builder for chaining.
-
setHostnameBytes
public ReplicatorMessages.Address.Builder setHostnameBytes(org.apache.pekko.protobufv3.internal.ByteString value)
required string hostname = 1;
- Parameters:
value
- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
hasPort
public boolean hasPort()
required uint32 port = 2;
- Specified by:
hasPort
in interfaceReplicatorMessages.AddressOrBuilder
- Returns:
- Whether the port field is set.
-
getPort
public int getPort()
required uint32 port = 2;
- Specified by:
getPort
in interfaceReplicatorMessages.AddressOrBuilder
- Returns:
- The port.
-
setPort
public ReplicatorMessages.Address.Builder setPort(int value)
required uint32 port = 2;
- Parameters:
value
- The port to set.- Returns:
- This builder for chaining.
-
clearPort
public ReplicatorMessages.Address.Builder clearPort()
required uint32 port = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReplicatorMessages.Address.Builder setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
mergeUnknownFields
public final ReplicatorMessages.Address.Builder mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatorMessages.Address.Builder>
-
-