Class TestConductorProtocol.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.GeneratedMessage.Builder<TestConductorProtocol.Address.Builder>
org.apache.pekko.remote.testconductor.TestConductorProtocol.Address.Builder
All Implemented Interfaces:
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, TestConductorProtocol.AddressOrBuilder
Enclosing class:
TestConductorProtocol.Address

public static final class TestConductorProtocol.Address.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<TestConductorProtocol.Address.Builder> implements TestConductorProtocol.AddressOrBuilder
Protobuf type Address
  • 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.Builder<TestConductorProtocol.Address.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<TestConductorProtocol.Address.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<TestConductorProtocol.Address.Builder>
    • getDefaultInstanceForType

      public TestConductorProtocol.Address getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
    • 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 TestConductorProtocol.Address 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 TestConductorProtocol.Address.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<TestConductorProtocol.Address.Builder>
    • mergeFrom

    • 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<TestConductorProtocol.Address.Builder>
    • mergeFrom

      public TestConductorProtocol.Address.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws 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<TestConductorProtocol.Address.Builder>
      Throws:
      IOException
    • hasProtocol

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

      public String getProtocol()
      required string protocol = 1;
      Specified by:
      getProtocol in interface TestConductorProtocol.AddressOrBuilder
      Returns:
      The protocol.
    • getProtocolBytes

      public org.apache.pekko.protobufv3.internal.ByteString getProtocolBytes()
      required string protocol = 1;
      Specified by:
      getProtocolBytes in interface TestConductorProtocol.AddressOrBuilder
      Returns:
      The bytes for protocol.
    • setProtocol

      public TestConductorProtocol.Address.Builder setProtocol(String value)
      required string protocol = 1;
      Parameters:
      value - The protocol to set.
      Returns:
      This builder for chaining.
    • clearProtocol

      public TestConductorProtocol.Address.Builder clearProtocol()
      required string protocol = 1;
      Returns:
      This builder for chaining.
    • setProtocolBytes

      public TestConductorProtocol.Address.Builder setProtocolBytes(org.apache.pekko.protobufv3.internal.ByteString value)
      required string protocol = 1;
      Parameters:
      value - The bytes for protocol to set.
      Returns:
      This builder for chaining.
    • hasSystem

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

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

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

      required string system = 2;
      Parameters:
      value - The system to set.
      Returns:
      This builder for chaining.
    • clearSystem

      required string system = 2;
      Returns:
      This builder for chaining.
    • setSystemBytes

      public TestConductorProtocol.Address.Builder setSystemBytes(org.apache.pekko.protobufv3.internal.ByteString value)
      required string system = 2;
      Parameters:
      value - The bytes for system to set.
      Returns:
      This builder for chaining.
    • hasHost

      public boolean hasHost()
      required string host = 3;
      Specified by:
      hasHost in interface TestConductorProtocol.AddressOrBuilder
      Returns:
      Whether the host field is set.
    • getHost

      public String getHost()
      required string host = 3;
      Specified by:
      getHost in interface TestConductorProtocol.AddressOrBuilder
      Returns:
      The host.
    • getHostBytes

      public org.apache.pekko.protobufv3.internal.ByteString getHostBytes()
      required string host = 3;
      Specified by:
      getHostBytes in interface TestConductorProtocol.AddressOrBuilder
      Returns:
      The bytes for host.
    • setHost

      required string host = 3;
      Parameters:
      value - The host to set.
      Returns:
      This builder for chaining.
    • clearHost

      required string host = 3;
      Returns:
      This builder for chaining.
    • setHostBytes

      public TestConductorProtocol.Address.Builder setHostBytes(org.apache.pekko.protobufv3.internal.ByteString value)
      required string host = 3;
      Parameters:
      value - The bytes for host to set.
      Returns:
      This builder for chaining.
    • hasPort

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

      public int getPort()
      required int32 port = 4;
      Specified by:
      getPort in interface TestConductorProtocol.AddressOrBuilder
      Returns:
      The port.
    • setPort

      public TestConductorProtocol.Address.Builder setPort(int value)
      required int32 port = 4;
      Parameters:
      value - The port to set.
      Returns:
      This builder for chaining.
    • clearPort

      required int32 port = 4;
      Returns:
      This builder for chaining.