public static final class Probe.TcpSocketAction extends GeneratedMessage implements Probe.TcpSocketActionOrBuilderTcpSocketAction probes the health of a container by opening a TCP socket connection.
Protobuf type google.cloud.aiplatform.v1.Probe.TcpSocketAction
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Probe.TcpSocketActionImplements
Probe.TcpSocketActionOrBuilderStatic Fields
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Probe.TcpSocketAction getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Probe.TcpSocketAction.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction.Builder |
|
newBuilder(Probe.TcpSocketAction prototype)
public static Probe.TcpSocketAction.Builder newBuilder(Probe.TcpSocketAction prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Probe.TcpSocketAction |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction.Builder |
|
parseDelimitedFrom(InputStream input)
public static Probe.TcpSocketAction parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe.TcpSocketAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Probe.TcpSocketAction parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Probe.TcpSocketAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Probe.TcpSocketAction parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Probe.TcpSocketAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Probe.TcpSocketAction parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe.TcpSocketAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Probe.TcpSocketAction parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe.TcpSocketAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Probe.TcpSocketAction parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Probe.TcpSocketAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Probe.TcpSocketAction> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TcpSocketAction> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Probe.TcpSocketAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction |
|
getHost()
public String getHost()Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The host. |
getHostBytes()
public ByteString getHostBytes()Optional: Host name to connect to, defaults to the model serving container's IP.
string host = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for host. |
getParserForType()
public Parser<Probe.TcpSocketAction> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TcpSocketAction> |
|
getPort()
public int getPort()Number of the port to access on the container. Number must be in the range 1 to 65535.
int32 port = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The port. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Probe.TcpSocketAction.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Probe.TcpSocketAction.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction.Builder |
|
toBuilder()
public Probe.TcpSocketAction.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Probe.TcpSocketAction.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|