Send feedback
Class Port (3.64.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class Port extends GeneratedMessageV3 implements PortOrBuilder
Represents a network port in a container.
Protobuf type google.cloud.aiplatform.v1.Port
Inherited Members
com.google.protobuf.GeneratedMessageV3.makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.emptyList(java.lang.Class)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CONTAINER_PORT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Port getDefaultInstance ()
Returns
Type
Description
Port
public static final Descriptors . Descriptor getDescriptor ()
public static Port . Builder newBuilder ()
public static Port . Builder newBuilder ( Port prototype )
Parameter
Name
Description
prototype
Port
public static Port parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Port
public static Port parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Port
public static Port parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Port
public static Port parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Port
public static Port parseFrom ( ByteString data )
Returns
Type
Description
Port
public static Port parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Port
public static Port parseFrom ( CodedInputStream input )
Returns
Type
Description
Port
public static Port parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Port
public static Port parseFrom ( InputStream input )
Returns
Type
Description
Port
public static Port parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Port
public static Port parseFrom ( ByteBuffer data )
Returns
Type
Description
Port
public static Port parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Port
public static Parser parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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.
public Port getDefaultInstanceForType ()
Returns
Type
Description
Port
public Parser getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Port . Builder newBuilderForType ()
protected Port . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Port . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-11 UTC."],[],[]]