Class EndpointInfo (1.23.0)

public final class EndpointInfo extends GeneratedMessageV3 implements EndpointInfoOrBuilder

For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.

Protobuf type google.cloud.networkmanagement.v1beta1.EndpointInfo

Static Fields

DESTINATION_IP_FIELD_NUMBER

public static final int DESTINATION_IP_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_NETWORK_URI_FIELD_NUMBER

public static final int DESTINATION_NETWORK_URI_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_PORT_FIELD_NUMBER

public static final int DESTINATION_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_AGENT_URI_FIELD_NUMBER

public static final int SOURCE_AGENT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_IP_FIELD_NUMBER

public static final int SOURCE_IP_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_NETWORK_URI_FIELD_NUMBER

public static final int SOURCE_NETWORK_URI_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_PORT_FIELD_NUMBER

public static final int SOURCE_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EndpointInfo getDefaultInstance()
Returns
TypeDescription
EndpointInfo

getDescriptor()

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

newBuilder()

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

newBuilder(EndpointInfo prototype)

public static EndpointInfo.Builder newBuilder(EndpointInfo prototype)
Parameter
NameDescription
prototypeEndpointInfo
Returns
TypeDescription
EndpointInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EndpointInfo getDefaultInstanceForType()
Returns
TypeDescription
EndpointInfo

getDestinationIp()

public String getDestinationIp()

Destination IP address.

string destination_ip = 2;

Returns
TypeDescription
String

The destinationIp.

getDestinationIpBytes()

public ByteString getDestinationIpBytes()

Destination IP address.

string destination_ip = 2;

Returns
TypeDescription
ByteString

The bytes for destinationIp.

getDestinationNetworkUri()

public String getDestinationNetworkUri()

URI of the network where this packet is sent to.

string destination_network_uri = 7;

Returns
TypeDescription
String

The destinationNetworkUri.

getDestinationNetworkUriBytes()

public ByteString getDestinationNetworkUriBytes()

URI of the network where this packet is sent to.

string destination_network_uri = 7;

Returns
TypeDescription
ByteString

The bytes for destinationNetworkUri.

getDestinationPort()

public int getDestinationPort()

Destination port. Only valid when protocol is TCP or UDP.

int32 destination_port = 5;

Returns
TypeDescription
int

The destinationPort.

getParserForType()

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

getProtocol()

public String getProtocol()

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

string protocol = 3;

Returns
TypeDescription
String

The protocol.

getProtocolBytes()

public ByteString getProtocolBytes()

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

string protocol = 3;

Returns
TypeDescription
ByteString

The bytes for protocol.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceAgentUri()

public String getSourceAgentUri()

URI of the source telemetry agent this packet originates from.

string source_agent_uri = 8;

Returns
TypeDescription
String

The sourceAgentUri.

getSourceAgentUriBytes()

public ByteString getSourceAgentUriBytes()

URI of the source telemetry agent this packet originates from.

string source_agent_uri = 8;

Returns
TypeDescription
ByteString

The bytes for sourceAgentUri.

getSourceIp()

public String getSourceIp()

Source IP address.

string source_ip = 1;

Returns
TypeDescription
String

The sourceIp.

getSourceIpBytes()

public ByteString getSourceIpBytes()

Source IP address.

string source_ip = 1;

Returns
TypeDescription
ByteString

The bytes for sourceIp.

getSourceNetworkUri()

public String getSourceNetworkUri()

URI of the network where this packet originates from.

string source_network_uri = 6;

Returns
TypeDescription
String

The sourceNetworkUri.

getSourceNetworkUriBytes()

public ByteString getSourceNetworkUriBytes()

URI of the network where this packet originates from.

string source_network_uri = 6;

Returns
TypeDescription
ByteString

The bytes for sourceNetworkUri.

getSourcePort()

public int getSourcePort()

Source port. Only valid when protocol is TCP or UDP.

int32 source_port = 4;

Returns
TypeDescription
int

The sourcePort.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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