public static final class Probe.TcpSocketAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<Probe.TcpSocketAction.Builder> implements Probe.TcpSocketActionOrBuilder
TcpSocketAction probes the health of a container by opening a TCP socket connection.Protobuf type
google.cloud.aiplatform.v1.Probe.TcpSocketAction| Modifier and Type | Method and Description |
|---|---|
Probe.TcpSocketAction |
build() |
Probe.TcpSocketAction |
buildPartial() |
Probe.TcpSocketAction.Builder |
clear() |
Probe.TcpSocketAction.Builder |
clearHost()
Optional: Host name to connect to, defaults to the model serving
container's IP.
|
Probe.TcpSocketAction.Builder |
clearPort()
Number of the port to access on the container.
|
Probe.TcpSocketAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
Optional: Host name to connect to, defaults to the model serving
container's IP.
|
com.google.protobuf.ByteString |
getHostBytes()
Optional: Host name to connect to, defaults to the model serving
container's IP.
|
int |
getPort()
Number of the port to access on the container.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Probe.TcpSocketAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Probe.TcpSocketAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
Probe.TcpSocketAction.Builder |
mergeFrom(Probe.TcpSocketAction other) |
Probe.TcpSocketAction.Builder |
setHost(String value)
Optional: Host name to connect to, defaults to the model serving
container's IP.
|
Probe.TcpSocketAction.Builder |
setHostBytes(com.google.protobuf.ByteString value)
Optional: Host name to connect to, defaults to the model serving
container's IP.
|
Probe.TcpSocketAction.Builder |
setPort(int value)
Number of the port to access on the container.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Probe.TcpSocketAction.Builder>public Probe.TcpSocketAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Probe.TcpSocketAction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Probe.TcpSocketAction.Builder>public Probe.TcpSocketAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Probe.TcpSocketAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Probe.TcpSocketAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Probe.TcpSocketAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Probe.TcpSocketAction.Builder>public Probe.TcpSocketAction.Builder mergeFrom(Probe.TcpSocketAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Probe.TcpSocketAction.Builder>public Probe.TcpSocketAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Probe.TcpSocketAction.Builder>IOExceptionpublic int getPort()
Number of the port to access on the container. Number must be in the range 1 to 65535.
int32 port = 1;getPort in interface Probe.TcpSocketActionOrBuilderpublic Probe.TcpSocketAction.Builder setPort(int value)
Number of the port to access on the container. Number must be in the range 1 to 65535.
int32 port = 1;value - The port to set.public Probe.TcpSocketAction.Builder clearPort()
Number of the port to access on the container. Number must be in the range 1 to 65535.
int32 port = 1;public String getHost()
Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;getHost in interface Probe.TcpSocketActionOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;getHostBytes in interface Probe.TcpSocketActionOrBuilderpublic Probe.TcpSocketAction.Builder setHost(String value)
Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;value - The host to set.public Probe.TcpSocketAction.Builder clearHost()
Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;public Probe.TcpSocketAction.Builder setHostBytes(com.google.protobuf.ByteString value)
Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;value - The bytes for host to set.Copyright © 2026 Google LLC. All rights reserved.