Package com.google.cloud.aiplatform.v1
Interface Probe.TcpSocketActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Probe.TcpSocketAction,Probe.TcpSocketAction.Builder
- Enclosing class:
- Probe
public static interface Probe.TcpSocketActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()Optional: Host name to connect to, defaults to the model serving container's IP.com.google.protobuf.ByteStringOptional: Host name to connect to, defaults to the model serving container's IP.intgetPort()Number of the port to access on the container.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPort
int getPort()Number of the port to access on the container. Number must be in the range 1 to 65535.
int32 port = 1;- Returns:
- The port.
-
getHost
String getHost()Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;- Returns:
- The bytes for host.
-