Class Port (3.55.0)

public final class Port extends GeneratedMessageV3 implements PortOrBuilder

Represents a network port in a container.

Protobuf type google.cloud.aiplatform.v1.Port

Implements

PortOrBuilder

Static Fields

CONTAINER_PORT_FIELD_NUMBER

public static final int CONTAINER_PORT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Port getDefaultInstance()
Returns
Type Description
Port

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Port.Builder newBuilder()
Returns
Type Description
Port.Builder

newBuilder(Port prototype)

public static Port.Builder newBuilder(Port prototype)
Parameter
Name Description
prototype Port
Returns
Type Description
Port.Builder

parseDelimitedFrom(InputStream input)

public static Port parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Port
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Port parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Port
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Port parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Port
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Port
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Port parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Port
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Port
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Port parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Port
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Port
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Port parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Port
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Port
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Port parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Port
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Port
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Port> parser()
Returns
Type Description
Parser<Port>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContainerPort()

public int getContainerPort()

The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.

int32 container_port = 3;

Returns
Type Description
int

The containerPort.

getDefaultInstanceForType()

public Port getDefaultInstanceForType()
Returns
Type Description
Port

getParserForType()

public Parser<Port> getParserForType()
Returns
Type Description
Parser<Port>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Port.Builder newBuilderForType()
Returns
Type Description
Port.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Port.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Port.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Port.Builder toBuilder()
Returns
Type Description
Port.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException