public final class TCPSocketAction extends GeneratedMessageV3 implements TCPSocketActionOrBuilder
TCPSocketAction describes an action based on opening a socket
Protobuf type google.cloud.run.v2.TCPSocketAction
Static Fields
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TCPSocketAction getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TCPSocketAction.Builder newBuilder()
Returns
newBuilder(TCPSocketAction prototype)
public static TCPSocketAction.Builder newBuilder(TCPSocketAction prototype)
Parameter
Returns
public static TCPSocketAction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TCPSocketAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TCPSocketAction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TCPSocketAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TCPSocketAction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TCPSocketAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TCPSocketAction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TCPSocketAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TCPSocketAction parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TCPSocketAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TCPSocketAction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TCPSocketAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TCPSocketAction> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TCPSocketAction getDefaultInstanceForType()
Returns
getParserForType()
public Parser<TCPSocketAction> getParserForType()
Returns
Overrides
getPort()
Port number to access on the container. Must be in the range 1 to 65535.
If not specified, defaults to 8080.
int32 port = 1;
Returns
Type | Description |
int | The port.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TCPSocketAction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TCPSocketAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TCPSocketAction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions