Class ProxyConnectionInfo (1.47.0)

public final class ProxyConnectionInfo extends GeneratedMessageV3 implements ProxyConnectionInfoOrBuilder

For display only. Metadata associated with ProxyConnection.

Protobuf type google.cloud.networkmanagement.v1beta1.ProxyConnectionInfo

Static Fields

NETWORK_URI_FIELD_NUMBER

public static final int NETWORK_URI_FIELD_NUMBER
Field Value
Type Description
int

NEW_DESTINATION_IP_FIELD_NUMBER

public static final int NEW_DESTINATION_IP_FIELD_NUMBER
Field Value
Type Description
int

NEW_DESTINATION_PORT_FIELD_NUMBER

public static final int NEW_DESTINATION_PORT_FIELD_NUMBER
Field Value
Type Description
int

NEW_SOURCE_IP_FIELD_NUMBER

public static final int NEW_SOURCE_IP_FIELD_NUMBER
Field Value
Type Description
int

NEW_SOURCE_PORT_FIELD_NUMBER

public static final int NEW_SOURCE_PORT_FIELD_NUMBER
Field Value
Type Description
int

OLD_DESTINATION_IP_FIELD_NUMBER

public static final int OLD_DESTINATION_IP_FIELD_NUMBER
Field Value
Type Description
int

OLD_DESTINATION_PORT_FIELD_NUMBER

public static final int OLD_DESTINATION_PORT_FIELD_NUMBER
Field Value
Type Description
int

OLD_SOURCE_IP_FIELD_NUMBER

public static final int OLD_SOURCE_IP_FIELD_NUMBER
Field Value
Type Description
int

OLD_SOURCE_PORT_FIELD_NUMBER

public static final int OLD_SOURCE_PORT_FIELD_NUMBER
Field Value
Type Description
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

SUBNET_URI_FIELD_NUMBER

public static final int SUBNET_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProxyConnectionInfo getDefaultInstance()
Returns
Type Description
ProxyConnectionInfo

getDescriptor()

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

newBuilder()

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

newBuilder(ProxyConnectionInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProxyConnectionInfo getDefaultInstanceForType()
Returns
Type Description
ProxyConnectionInfo

getNetworkUri()

public String getNetworkUri()

URI of the network where connection is proxied.

string network_uri = 11;

Returns
Type Description
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

URI of the network where connection is proxied.

string network_uri = 11;

Returns
Type Description
ByteString

The bytes for networkUri.

getNewDestinationIp()

public String getNewDestinationIp()

Destination IP address of a new connection.

string new_destination_ip = 5;

Returns
Type Description
String

The newDestinationIp.

getNewDestinationIpBytes()

public ByteString getNewDestinationIpBytes()

Destination IP address of a new connection.

string new_destination_ip = 5;

Returns
Type Description
ByteString

The bytes for newDestinationIp.

getNewDestinationPort()

public int getNewDestinationPort()

Destination port of a new connection. Only valid when protocol is TCP or UDP.

int32 new_destination_port = 9;

Returns
Type Description
int

The newDestinationPort.

getNewSourceIp()

public String getNewSourceIp()

Source IP address of a new connection.

string new_source_ip = 3;

Returns
Type Description
String

The newSourceIp.

getNewSourceIpBytes()

public ByteString getNewSourceIpBytes()

Source IP address of a new connection.

string new_source_ip = 3;

Returns
Type Description
ByteString

The bytes for newSourceIp.

getNewSourcePort()

public int getNewSourcePort()

Source port of a new connection. Only valid when protocol is TCP or UDP.

int32 new_source_port = 7;

Returns
Type Description
int

The newSourcePort.

getOldDestinationIp()

public String getOldDestinationIp()

Destination IP address of an original connection

string old_destination_ip = 4;

Returns
Type Description
String

The oldDestinationIp.

getOldDestinationIpBytes()

public ByteString getOldDestinationIpBytes()

Destination IP address of an original connection

string old_destination_ip = 4;

Returns
Type Description
ByteString

The bytes for oldDestinationIp.

getOldDestinationPort()

public int getOldDestinationPort()

Destination port of an original connection. Only valid when protocol is TCP or UDP.

int32 old_destination_port = 8;

Returns
Type Description
int

The oldDestinationPort.

getOldSourceIp()

public String getOldSourceIp()

Source IP address of an original connection.

string old_source_ip = 2;

Returns
Type Description
String

The oldSourceIp.

getOldSourceIpBytes()

public ByteString getOldSourceIpBytes()

Source IP address of an original connection.

string old_source_ip = 2;

Returns
Type Description
ByteString

The bytes for oldSourceIp.

getOldSourcePort()

public int getOldSourcePort()

Source port of an original connection. Only valid when protocol is TCP or UDP.

int32 old_source_port = 6;

Returns
Type Description
int

The oldSourcePort.

getParserForType()

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

getProtocol()

public String getProtocol()

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

string protocol = 1;

Returns
Type Description
String

The protocol.

getProtocolBytes()

public ByteString getProtocolBytes()

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

string protocol = 1;

Returns
Type Description
ByteString

The bytes for protocol.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubnetUri()

public String getSubnetUri()

Uri of proxy subnet.

string subnet_uri = 10;

Returns
Type Description
String

The subnetUri.

getSubnetUriBytes()

public ByteString getSubnetUriBytes()

Uri of proxy subnet.

string subnet_uri = 10;

Returns
Type Description
ByteString

The bytes for subnetUri.

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 ProxyConnectionInfo.Builder newBuilderForType()
Returns
Type Description
ProxyConnectionInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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