Class DistributedPubSubMessages.Address

java.lang.Object
org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Address
All Implemented Interfaces:
Serializable, DistributedPubSubMessages.AddressOrBuilder, org.apache.pekko.protobufv3.internal.Message, org.apache.pekko.protobufv3.internal.MessageLite, org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder, org.apache.pekko.protobufv3.internal.MessageOrBuilder
Enclosing class:
DistributedPubSubMessages

public static final class DistributedPubSubMessages.Address extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements DistributedPubSubMessages.AddressOrBuilder
 *
 Defines a remote address.
 
Protobuf type Address
See Also:
  • Field Details

  • 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:
      internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • hasSystem

      public boolean hasSystem()
      required string system = 1;
      Specified by:
      hasSystem in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      Whether the system field is set.
    • getSystem

      public String getSystem()
      required string system = 1;
      Specified by:
      getSystem in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      The system.
    • getSystemBytes

      public org.apache.pekko.protobufv3.internal.ByteString getSystemBytes()
      required string system = 1;
      Specified by:
      getSystemBytes in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      The bytes for system.
    • hasHostname

      public boolean hasHostname()
      required string hostname = 2;
      Specified by:
      hasHostname in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      Whether the hostname field is set.
    • getHostname

      public String getHostname()
      required string hostname = 2;
      Specified by:
      getHostname in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      The hostname.
    • getHostnameBytes

      public org.apache.pekko.protobufv3.internal.ByteString getHostnameBytes()
      required string hostname = 2;
      Specified by:
      getHostnameBytes in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      The bytes for hostname.
    • hasPort

      public boolean hasPort()
      required uint32 port = 3;
      Specified by:
      hasPort in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      Whether the port field is set.
    • getPort

      public int getPort()
      required uint32 port = 3;
      Specified by:
      getPort in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      The port.
    • hasProtocol

      public boolean hasProtocol()
      optional string protocol = 4;
      Specified by:
      hasProtocol in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      Whether the protocol field is set.
    • getProtocol

      public String getProtocol()
      optional string protocol = 4;
      Specified by:
      getProtocol in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      The protocol.
    • getProtocolBytes

      public org.apache.pekko.protobufv3.internal.ByteString getProtocolBytes()
      optional string protocol = 4;
      Specified by:
      getProtocolBytes in interface DistributedPubSubMessages.AddressOrBuilder
      Returns:
      The bytes for protocol.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Overrides:
      isInitialized in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • writeTo

      public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      writeTo in class org.apache.pekko.protobufv3.internal.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getSerializedSize in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      equals in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      hashCode in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DistributedPubSubMessages.Address parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DistributedPubSubMessages.Address parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DistributedPubSubMessages.Address parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DistributedPubSubMessages.Address.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilder

      public static DistributedPubSubMessages.Address.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      toBuilder in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilderForType

      protected DistributedPubSubMessages.Address.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • getDefaultInstance

      public static DistributedPubSubMessages.Address getDefaultInstance()
    • parser

      public static org.apache.pekko.protobufv3.internal.Parser<DistributedPubSubMessages.Address> parser()
    • getParserForType

      public org.apache.pekko.protobufv3.internal.Parser<DistributedPubSubMessages.Address> getParserForType()
      Specified by:
      getParserForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      getParserForType in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getParserForType in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • getDefaultInstanceForType

      public DistributedPubSubMessages.Address getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder