Class Port (3.0.0)

public final class Port extends GeneratedMessageV3 implements PortOrBuilder

Represents a network port in a container.

Protobuf type google.cloud.aiplatform.v1beta1.Port

Implements

PortOrBuilder

Static Fields

CONTAINER_PORT_FIELD_NUMBER

public static final int CONTAINER_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Port getDefaultInstance()
Returns
TypeDescription
Port

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Port.Builder newBuilder()
Returns
TypeDescription
Port.Builder

newBuilder(Port prototype)

public static Port.Builder newBuilder(Port prototype)
Parameter
NameDescription
prototypePort
Returns
TypeDescription
Port.Builder

parseDelimitedFrom(InputStream input)

public static Port parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Port
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Port parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Port
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Port parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Port
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Port
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Port parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Port
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Port
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Port parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Port
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Port
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Port parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Port
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Port
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Port parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Port
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Port parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Port
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Port> parser()
Returns
TypeDescription
Parser<Port>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
int

The containerPort.

getDefaultInstanceForType()

public Port getDefaultInstanceForType()
Returns
TypeDescription
Port

getParserForType()

public Parser<Port> getParserForType()
Returns
TypeDescription
Parser<Port>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Port.Builder newBuilderForType()
Returns
TypeDescription
Port.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Port.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Port.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Port.Builder toBuilder()
Returns
TypeDescription
Port.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException