Class ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
- org.apache.pekko.cluster.protobuf.msg.ClusterMessages.GossipEnvelope.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterMessages.GossipEnvelopeOrBuilder
,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:
- ClusterMessages.GossipEnvelope
public static final class ClusterMessages.GossipEnvelope.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipEnvelope.Builder> implements ClusterMessages.GossipEnvelopeOrBuilder
Gossip Envelope
Protobuf typeGossipEnvelope
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMessages.GossipEnvelope.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.GossipEnvelope
build()
ClusterMessages.GossipEnvelope
buildPartial()
ClusterMessages.GossipEnvelope.Builder
clear()
ClusterMessages.GossipEnvelope.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.GossipEnvelope.Builder
clearFrom()
required .UniqueAddress from = 1;
ClusterMessages.GossipEnvelope.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterMessages.GossipEnvelope.Builder
clearSerializedGossip()
required bytes serializedGossip = 3;
ClusterMessages.GossipEnvelope.Builder
clearTo()
required .UniqueAddress to = 2;
ClusterMessages.GossipEnvelope.Builder
clone()
ClusterMessages.GossipEnvelope
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
ClusterMessages.UniqueAddress
getFrom()
required .UniqueAddress from = 1;
ClusterMessages.UniqueAddress.Builder
getFromBuilder()
required .UniqueAddress from = 1;
ClusterMessages.UniqueAddressOrBuilder
getFromOrBuilder()
required .UniqueAddress from = 1;
org.apache.pekko.protobufv3.internal.ByteString
getSerializedGossip()
required bytes serializedGossip = 3;
ClusterMessages.UniqueAddress
getTo()
required .UniqueAddress to = 2;
ClusterMessages.UniqueAddress.Builder
getToBuilder()
required .UniqueAddress to = 2;
ClusterMessages.UniqueAddressOrBuilder
getToOrBuilder()
required .UniqueAddress to = 2;
boolean
hasFrom()
required .UniqueAddress from = 1;
boolean
hasSerializedGossip()
required bytes serializedGossip = 3;
boolean
hasTo()
required .UniqueAddress to = 2;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterMessages.GossipEnvelope.Builder
mergeFrom(ClusterMessages.GossipEnvelope other)
ClusterMessages.GossipEnvelope.Builder
mergeFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
ClusterMessages.GossipEnvelope.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.GossipEnvelope.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
ClusterMessages.GossipEnvelope.Builder
mergeTo(ClusterMessages.UniqueAddress value)
required .UniqueAddress to = 2;
ClusterMessages.GossipEnvelope.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.GossipEnvelope.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.GossipEnvelope.Builder
setFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
ClusterMessages.GossipEnvelope.Builder
setFrom(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress from = 1;
ClusterMessages.GossipEnvelope.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterMessages.GossipEnvelope.Builder
setSerializedGossip(org.apache.pekko.protobufv3.internal.ByteString value)
required bytes serializedGossip = 3;
ClusterMessages.GossipEnvelope.Builder
setTo(ClusterMessages.UniqueAddress value)
required .UniqueAddress to = 2;
ClusterMessages.GossipEnvelope.Builder
setTo(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress to = 2;
ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
clear
public ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
getDefaultInstanceForType
public ClusterMessages.GossipEnvelope getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.GossipEnvelope 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 ClusterMessages.GossipEnvelope 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 ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
setField
public ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
clearField
public ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
clearOneof
public ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
setRepeatedField
public ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
addRepeatedField
public ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
mergeFrom
public ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
mergeFrom
public ClusterMessages.GossipEnvelope.Builder mergeFrom(ClusterMessages.GossipEnvelope 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<ClusterMessages.GossipEnvelope.Builder>
-
mergeFrom
public ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
- Throws:
java.io.IOException
-
hasFrom
public boolean hasFrom()
required .UniqueAddress from = 1;
- Specified by:
hasFrom
in interfaceClusterMessages.GossipEnvelopeOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public ClusterMessages.UniqueAddress getFrom()
required .UniqueAddress from = 1;
- Specified by:
getFrom
in interfaceClusterMessages.GossipEnvelopeOrBuilder
- Returns:
- The from.
-
setFrom
public ClusterMessages.GossipEnvelope.Builder setFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
-
setFrom
public ClusterMessages.GossipEnvelope.Builder setFrom(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress from = 1;
-
mergeFrom
public ClusterMessages.GossipEnvelope.Builder mergeFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
-
clearFrom
public ClusterMessages.GossipEnvelope.Builder clearFrom()
required .UniqueAddress from = 1;
-
getFromBuilder
public ClusterMessages.UniqueAddress.Builder getFromBuilder()
required .UniqueAddress from = 1;
-
getFromOrBuilder
public ClusterMessages.UniqueAddressOrBuilder getFromOrBuilder()
required .UniqueAddress from = 1;
- Specified by:
getFromOrBuilder
in interfaceClusterMessages.GossipEnvelopeOrBuilder
-
hasTo
public boolean hasTo()
required .UniqueAddress to = 2;
- Specified by:
hasTo
in interfaceClusterMessages.GossipEnvelopeOrBuilder
- Returns:
- Whether the to field is set.
-
getTo
public ClusterMessages.UniqueAddress getTo()
required .UniqueAddress to = 2;
- Specified by:
getTo
in interfaceClusterMessages.GossipEnvelopeOrBuilder
- Returns:
- The to.
-
setTo
public ClusterMessages.GossipEnvelope.Builder setTo(ClusterMessages.UniqueAddress value)
required .UniqueAddress to = 2;
-
setTo
public ClusterMessages.GossipEnvelope.Builder setTo(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress to = 2;
-
mergeTo
public ClusterMessages.GossipEnvelope.Builder mergeTo(ClusterMessages.UniqueAddress value)
required .UniqueAddress to = 2;
-
clearTo
public ClusterMessages.GossipEnvelope.Builder clearTo()
required .UniqueAddress to = 2;
-
getToBuilder
public ClusterMessages.UniqueAddress.Builder getToBuilder()
required .UniqueAddress to = 2;
-
getToOrBuilder
public ClusterMessages.UniqueAddressOrBuilder getToOrBuilder()
required .UniqueAddress to = 2;
- Specified by:
getToOrBuilder
in interfaceClusterMessages.GossipEnvelopeOrBuilder
-
hasSerializedGossip
public boolean hasSerializedGossip()
required bytes serializedGossip = 3;
- Specified by:
hasSerializedGossip
in interfaceClusterMessages.GossipEnvelopeOrBuilder
- Returns:
- Whether the serializedGossip field is set.
-
getSerializedGossip
public org.apache.pekko.protobufv3.internal.ByteString getSerializedGossip()
required bytes serializedGossip = 3;
- Specified by:
getSerializedGossip
in interfaceClusterMessages.GossipEnvelopeOrBuilder
- Returns:
- The serializedGossip.
-
setSerializedGossip
public ClusterMessages.GossipEnvelope.Builder setSerializedGossip(org.apache.pekko.protobufv3.internal.ByteString value)
required bytes serializedGossip = 3;
- Parameters:
value
- The serializedGossip to set.- Returns:
- This builder for chaining.
-
clearSerializedGossip
public ClusterMessages.GossipEnvelope.Builder clearSerializedGossip()
required bytes serializedGossip = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
mergeUnknownFields
public final ClusterMessages.GossipEnvelope.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<ClusterMessages.GossipEnvelope.Builder>
-
-