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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Host that clients should use to connect (advertised address).Port that clients should use to connect (advertised port).Internal host where service actually binds (for health checks from same network).Internal port where service actually binds.Whether TLS/SSL is enabled for connections.Host that clients should use to connect (advertised address).com.google.protobuf.ByteStringHost that clients should use to connect (advertised address).intPort that clients should use to connect (advertised port).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorInternal host where service actually binds (for health checks from same network).com.google.protobuf.ByteStringInternal host where service actually binds (for health checks from same network).intInternal port where service actually binds.booleanWhether TLS/SSL is enabled for connections.booleanInternal host where service actually binds (for health checks from same network).booleanInternal port where service actually binds.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Connectivity other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAdvertisedHost(String value) Host that clients should use to connect (advertised address).setAdvertisedHostBytes(com.google.protobuf.ByteString value) Host that clients should use to connect (advertised address).setAdvertisedPort(int value) Port that clients should use to connect (advertised port).setInternalHost(String value) Internal host where service actually binds (for health checks from same network).setInternalHostBytes(com.google.protobuf.ByteString value) Internal host where service actually binds (for health checks from same network).setInternalPort(int value) Internal port where service actually binds.setTlsEnabled(boolean value) Whether TLS/SSL is enabled for connections.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Connectivity.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Connectivity.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Connectivity.Builder>- Throws:
IOException
-
getAdvertisedHost
Host that clients should use to connect (advertised address).
string advertised_host = 1 [json_name = "advertisedHost"];- Specified by:
getAdvertisedHostin interfaceConnectivityOrBuilder- Returns:
- The advertisedHost.
-
getAdvertisedHostBytes
public com.google.protobuf.ByteString getAdvertisedHostBytes()Host that clients should use to connect (advertised address).
string advertised_host = 1 [json_name = "advertisedHost"];- Specified by:
getAdvertisedHostBytesin interfaceConnectivityOrBuilder- Returns:
- The bytes for advertisedHost.
-
setAdvertisedHost
Host that clients should use to connect (advertised address).
string advertised_host = 1 [json_name = "advertisedHost"];- Parameters:
value- The advertisedHost to set.- Returns:
- This builder for chaining.
-
clearAdvertisedHost
Host that clients should use to connect (advertised address).
string advertised_host = 1 [json_name = "advertisedHost"];- Returns:
- This builder for chaining.
-
setAdvertisedHostBytes
Host that clients should use to connect (advertised address).
string advertised_host = 1 [json_name = "advertisedHost"];- 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 [json_name = "advertisedPort"];- Specified by:
getAdvertisedPortin interfaceConnectivityOrBuilder- Returns:
- The advertisedPort.
-
setAdvertisedPort
Port that clients should use to connect (advertised port).
int32 advertised_port = 2 [json_name = "advertisedPort"];- Parameters:
value- The advertisedPort to set.- Returns:
- This builder for chaining.
-
clearAdvertisedPort
Port that clients should use to connect (advertised port).
int32 advertised_port = 2 [json_name = "advertisedPort"];- 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 [json_name = "internalHost"];- Specified by:
hasInternalHostin interfaceConnectivityOrBuilder- Returns:
- Whether the internalHost field is set.
-
getInternalHost
Internal host where service actually binds (for health checks from same network).
optional string internal_host = 3 [json_name = "internalHost"];- Specified by:
getInternalHostin interfaceConnectivityOrBuilder- 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 [json_name = "internalHost"];- Specified by:
getInternalHostBytesin interfaceConnectivityOrBuilder- Returns:
- The bytes for internalHost.
-
setInternalHost
Internal host where service actually binds (for health checks from same network).
optional string internal_host = 3 [json_name = "internalHost"];- Parameters:
value- The internalHost to set.- Returns:
- This builder for chaining.
-
clearInternalHost
Internal host where service actually binds (for health checks from same network).
optional string internal_host = 3 [json_name = "internalHost"];- Returns:
- This builder for chaining.
-
setInternalHostBytes
Internal host where service actually binds (for health checks from same network).
optional string internal_host = 3 [json_name = "internalHost"];- 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 [json_name = "internalPort"];- Specified by:
hasInternalPortin interfaceConnectivityOrBuilder- Returns:
- Whether the internalPort field is set.
-
getInternalPort
public int getInternalPort()Internal port where service actually binds.
optional int32 internal_port = 4 [json_name = "internalPort"];- Specified by:
getInternalPortin interfaceConnectivityOrBuilder- Returns:
- The internalPort.
-
setInternalPort
Internal port where service actually binds.
optional int32 internal_port = 4 [json_name = "internalPort"];- Parameters:
value- The internalPort to set.- Returns:
- This builder for chaining.
-
clearInternalPort
Internal port where service actually binds.
optional int32 internal_port = 4 [json_name = "internalPort"];- Returns:
- This builder for chaining.
-
getTlsEnabled
public boolean getTlsEnabled()Whether TLS/SSL is enabled for connections.
bool tls_enabled = 5 [json_name = "tlsEnabled"];- Specified by:
getTlsEnabledin interfaceConnectivityOrBuilder- Returns:
- The tlsEnabled.
-
setTlsEnabled
Whether TLS/SSL is enabled for connections.
bool tls_enabled = 5 [json_name = "tlsEnabled"];- Parameters:
value- The tlsEnabled to set.- Returns:
- This builder for chaining.
-
clearTlsEnabled
Whether TLS/SSL is enabled for connections.
bool tls_enabled = 5 [json_name = "tlsEnabled"];- Returns:
- This builder for chaining.
-