Class Connectivity.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Connectivity.Builder>
com.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder>
ai.pipestream.platform.registration.v1.Connectivity.Builder
All Implemented Interfaces:
ConnectivityOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Connectivity

public static final class Connectivity.Builder extends com.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder> implements ConnectivityOrBuilder
 Connection information for reaching a service.
 
Protobuf type ai.pipestream.platform.registration.v1.Connectivity
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder>
    • clear

      public Connectivity.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder>
    • getDefaultInstanceForType

      public Connectivity getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Connectivity build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Connectivity buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Connectivity.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Connectivity.Builder>
    • mergeFrom

      public Connectivity.Builder mergeFrom(Connectivity other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder>
    • mergeFrom

      public Connectivity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Connectivity.Builder>
      Throws:
      IOException
    • getAdvertisedHost

      public String getAdvertisedHost()
       Host that clients should use to connect (advertised address).
       
      string advertised_host = 1;
      Specified by:
      getAdvertisedHost in interface ConnectivityOrBuilder
      Returns:
      The advertisedHost.
    • getAdvertisedHostBytes

      public com.google.protobuf.ByteString getAdvertisedHostBytes()
       Host that clients should use to connect (advertised address).
       
      string advertised_host = 1;
      Specified by:
      getAdvertisedHostBytes in interface ConnectivityOrBuilder
      Returns:
      The bytes for advertisedHost.
    • setAdvertisedHost

      public Connectivity.Builder setAdvertisedHost(String value)
       Host that clients should use to connect (advertised address).
       
      string advertised_host = 1;
      Parameters:
      value - The advertisedHost to set.
      Returns:
      This builder for chaining.
    • clearAdvertisedHost

      public Connectivity.Builder clearAdvertisedHost()
       Host that clients should use to connect (advertised address).
       
      string advertised_host = 1;
      Returns:
      This builder for chaining.
    • setAdvertisedHostBytes

      public Connectivity.Builder setAdvertisedHostBytes(com.google.protobuf.ByteString value)
       Host that clients should use to connect (advertised address).
       
      string advertised_host = 1;
      Parameters:
      value - The bytes for advertisedHost to set.
      Returns:
      This builder for chaining.
    • getAdvertisedPort

      public int getAdvertisedPort()
       Port that clients should use to connect (advertised port).
       
      int32 advertised_port = 2;
      Specified by:
      getAdvertisedPort in interface ConnectivityOrBuilder
      Returns:
      The advertisedPort.
    • setAdvertisedPort

      public Connectivity.Builder setAdvertisedPort(int value)
       Port that clients should use to connect (advertised port).
       
      int32 advertised_port = 2;
      Parameters:
      value - The advertisedPort to set.
      Returns:
      This builder for chaining.
    • clearAdvertisedPort

      public Connectivity.Builder clearAdvertisedPort()
       Port that clients should use to connect (advertised port).
       
      int32 advertised_port = 2;
      Returns:
      This builder for chaining.
    • hasInternalHost

      public boolean hasInternalHost()
       Internal host where service actually binds (for health checks from same network).
       
      optional string internal_host = 3;
      Specified by:
      hasInternalHost in interface ConnectivityOrBuilder
      Returns:
      Whether the internalHost field is set.
    • getInternalHost

      public String getInternalHost()
       Internal host where service actually binds (for health checks from same network).
       
      optional string internal_host = 3;
      Specified by:
      getInternalHost in interface ConnectivityOrBuilder
      Returns:
      The internalHost.
    • getInternalHostBytes

      public com.google.protobuf.ByteString getInternalHostBytes()
       Internal host where service actually binds (for health checks from same network).
       
      optional string internal_host = 3;
      Specified by:
      getInternalHostBytes in interface ConnectivityOrBuilder
      Returns:
      The bytes for internalHost.
    • setInternalHost

      public Connectivity.Builder setInternalHost(String value)
       Internal host where service actually binds (for health checks from same network).
       
      optional string internal_host = 3;
      Parameters:
      value - The internalHost to set.
      Returns:
      This builder for chaining.
    • clearInternalHost

      public Connectivity.Builder clearInternalHost()
       Internal host where service actually binds (for health checks from same network).
       
      optional string internal_host = 3;
      Returns:
      This builder for chaining.
    • setInternalHostBytes

      public Connectivity.Builder setInternalHostBytes(com.google.protobuf.ByteString value)
       Internal host where service actually binds (for health checks from same network).
       
      optional string internal_host = 3;
      Parameters:
      value - The bytes for internalHost to set.
      Returns:
      This builder for chaining.
    • hasInternalPort

      public boolean hasInternalPort()
       Internal port where service actually binds.
       
      optional int32 internal_port = 4;
      Specified by:
      hasInternalPort in interface ConnectivityOrBuilder
      Returns:
      Whether the internalPort field is set.
    • getInternalPort

      public int getInternalPort()
       Internal port where service actually binds.
       
      optional int32 internal_port = 4;
      Specified by:
      getInternalPort in interface ConnectivityOrBuilder
      Returns:
      The internalPort.
    • setInternalPort

      public Connectivity.Builder setInternalPort(int value)
       Internal port where service actually binds.
       
      optional int32 internal_port = 4;
      Parameters:
      value - The internalPort to set.
      Returns:
      This builder for chaining.
    • clearInternalPort

      public Connectivity.Builder clearInternalPort()
       Internal port where service actually binds.
       
      optional int32 internal_port = 4;
      Returns:
      This builder for chaining.
    • getTlsEnabled

      public boolean getTlsEnabled()
       Whether TLS/SSL is enabled for connections.
       
      bool tls_enabled = 5;
      Specified by:
      getTlsEnabled in interface ConnectivityOrBuilder
      Returns:
      The tlsEnabled.
    • setTlsEnabled

      public Connectivity.Builder setTlsEnabled(boolean value)
       Whether TLS/SSL is enabled for connections.
       
      bool tls_enabled = 5;
      Parameters:
      value - The tlsEnabled to set.
      Returns:
      This builder for chaining.
    • clearTlsEnabled

      public Connectivity.Builder clearTlsEnabled()
       Whether TLS/SSL is enabled for connections.
       
      bool tls_enabled = 5;
      Returns:
      This builder for chaining.