Class ProxyConnectionInfo (1.42.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
TypeDescription
int

NEW_DESTINATION_IP_FIELD_NUMBER

public static final int NEW_DESTINATION_IP_FIELD_NUMBER
Field Value
TypeDescription
int

NEW_DESTINATION_PORT_FIELD_NUMBER

public static final int NEW_DESTINATION_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

NEW_SOURCE_IP_FIELD_NUMBER

public static final int NEW_SOURCE_IP_FIELD_NUMBER
Field Value
TypeDescription
int

NEW_SOURCE_PORT_FIELD_NUMBER

public static final int NEW_SOURCE_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

OLD_DESTINATION_IP_FIELD_NUMBER

public static final int OLD_DESTINATION_IP_FIELD_NUMBER
Field Value
TypeDescription
int

OLD_DESTINATION_PORT_FIELD_NUMBER

public static final int OLD_DESTINATION_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

OLD_SOURCE_IP_FIELD_NUMBER

public static final int OLD_SOURCE_IP_FIELD_NUMBER
Field Value
TypeDescription
int

OLD_SOURCE_PORT_FIELD_NUMBER

public static final int OLD_SOURCE_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
TypeDescription
int

SUBNET_URI_FIELD_NUMBER

public static final int SUBNET_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProxyConnectionInfo getDefaultInstance()
Returns
TypeDescription
ProxyConnectionInfo

getDescriptor()

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

newBuilder()

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

newBuilder(ProxyConnectionInfo prototype)

public static ProxyConnectionInfo.Builder newBuilder(ProxyConnectionInfo prototype)
Parameter
NameDescription
prototypeProxyConnectionInfo
Returns
TypeDescription
ProxyConnectionInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProxyConnectionInfo getDefaultInstanceForType()
Returns
TypeDescription
ProxyConnectionInfo

getNetworkUri()

public String getNetworkUri()

URI of the network where connection is proxied.

string network_uri = 11;

Returns
TypeDescription
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

URI of the network where connection is proxied.

string network_uri = 11;

Returns
TypeDescription
ByteString

The bytes for networkUri.

getNewDestinationIp()

public String getNewDestinationIp()

Destination IP address of a new connection.

string new_destination_ip = 5;

Returns
TypeDescription
String

The newDestinationIp.

getNewDestinationIpBytes()

public ByteString getNewDestinationIpBytes()

Destination IP address of a new connection.

string new_destination_ip = 5;

Returns
TypeDescription
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
TypeDescription
int

The newDestinationPort.

getNewSourceIp()

public String getNewSourceIp()

Source IP address of a new connection.

string new_source_ip = 3;

Returns
TypeDescription
String

The newSourceIp.

getNewSourceIpBytes()

public ByteString getNewSourceIpBytes()

Source IP address of a new connection.

string new_source_ip = 3;

Returns
TypeDescription
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
TypeDescription
int

The newSourcePort.

getOldDestinationIp()

public String getOldDestinationIp()

Destination IP address of an original connection

string old_destination_ip = 4;

Returns
TypeDescription
String

The oldDestinationIp.

getOldDestinationIpBytes()

public ByteString getOldDestinationIpBytes()

Destination IP address of an original connection

string old_destination_ip = 4;

Returns
TypeDescription
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
TypeDescription
int

The oldDestinationPort.

getOldSourceIp()

public String getOldSourceIp()

Source IP address of an original connection.

string old_source_ip = 2;

Returns
TypeDescription
String

The oldSourceIp.

getOldSourceIpBytes()

public ByteString getOldSourceIpBytes()

Source IP address of an original connection.

string old_source_ip = 2;

Returns
TypeDescription
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
TypeDescription
int

The oldSourcePort.

getParserForType()

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

getProtocol()

public String getProtocol()

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

string protocol = 1;

Returns
TypeDescription
String

The protocol.

getProtocolBytes()

public ByteString getProtocolBytes()

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

string protocol = 1;

Returns
TypeDescription
ByteString

The bytes for protocol.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubnetUri()

public String getSubnetUri()

Uri of proxy subnet.

string subnet_uri = 10;

Returns
TypeDescription
String

The subnetUri.

getSubnetUriBytes()

public ByteString getSubnetUriBytes()

Uri of proxy subnet.

string subnet_uri = 10;

Returns
TypeDescription
ByteString

The bytes for subnetUri.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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