Class 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.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
    implements WireFormats.AddressDataOrBuilder
     *
     Defines a remote address.
     
    Protobuf type AddressData
    • Method Detail

      • 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.Builder<WireFormats.AddressData.Builder>
      • clear

        public WireFormats.AddressData.Builder clear()
        Specified by:
        clear in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        clear in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
        Overrides:
        clear in class org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
      • getDescriptorForType

        public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        getDescriptorForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.AddressData.Builder>
      • getDefaultInstanceForType

        public WireFormats.AddressData getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
      • build

        public WireFormats.AddressData build()
        Specified by:
        build in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        build in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
      • buildPartial

        public WireFormats.AddressData buildPartial()
        Specified by:
        buildPartial in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        buildPartial in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
      • mergeFrom

        public WireFormats.AddressData.Builder mergeFrom​(org.apache.pekko.protobufv3.internal.Message other)
        Specified by:
        mergeFrom in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        mergeFrom in class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<WireFormats.AddressData.Builder>
      • 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.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:
        mergeFrom in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        mergeFrom in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
        Overrides:
        mergeFrom in class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<WireFormats.AddressData.Builder>
        Throws:
        java.io.IOException
      • 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.
      • 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.
      • 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.
      • 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.
      • setPort

        public WireFormats.AddressData.Builder setPort​(int value)
        required uint32 port = 3;
        Parameters:
        value - The port to set.
        Returns:
        This builder for chaining.
      • 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.
      • 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.