Send feedback
Class EndpointInfo (1.19.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.19.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DESTINATION_IP_FIELD_NUMBER
public static final int DESTINATION_IP_FIELD_NUMBER
Field Value Type Description int
DESTINATION_NETWORK_URI_FIELD_NUMBER
public static final int DESTINATION_NETWORK_URI_FIELD_NUMBER
Field Value Type Description int
DESTINATION_PORT_FIELD_NUMBER
public static final int DESTINATION_PORT_FIELD_NUMBER
Field Value Type Description int
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
Field Value Type Description int
SOURCE_AGENT_URI_FIELD_NUMBER
public static final int SOURCE_AGENT_URI_FIELD_NUMBER
Field Value Type Description int
SOURCE_IP_FIELD_NUMBER
public static final int SOURCE_IP_FIELD_NUMBER
Field Value Type Description int
SOURCE_NETWORK_URI_FIELD_NUMBER
public static final int SOURCE_NETWORK_URI_FIELD_NUMBER
Field Value Type Description int
SOURCE_PORT_FIELD_NUMBER
public static final int SOURCE_PORT_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static EndpointInfo getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static EndpointInfo . Builder newBuilder ()
newBuilder(EndpointInfo prototype)
public static EndpointInfo . Builder newBuilder ( EndpointInfo prototype )
public static EndpointInfo parseDelimitedFrom ( InputStream input )
public static EndpointInfo parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static EndpointInfo parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EndpointInfo parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static EndpointInfo parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EndpointInfo parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static EndpointInfo parseFrom ( CodedInputStream input )
public static EndpointInfo parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static EndpointInfo parseFrom ( InputStream input )
public static EndpointInfo parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static EndpointInfo parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EndpointInfo parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<EndpointInfo> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public EndpointInfo getDefaultInstanceForType ()
getDestinationIp()
public String getDestinationIp ()
Destination IP address.
string destination_ip = 2;
Returns Type Description String
The destinationIp.
getDestinationIpBytes()
public ByteString getDestinationIpBytes ()
Destination IP address.
string destination_ip = 2;
Returns Type Description 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 Type Description String
The destinationNetworkUri.
getDestinationNetworkUriBytes()
public ByteString getDestinationNetworkUriBytes ()
URI of the network where this packet is sent to.
string destination_network_uri = 7;
Returns Type Description ByteString
The bytes for destinationNetworkUri.
getDestinationPort()
public int getDestinationPort ()
Destination port. Only valid when protocol is TCP or UDP.
int32 destination_port = 5;
Returns Type Description int
The destinationPort.
getParserForType()
public Parser<EndpointInfo> getParserForType ()
Overrides
getProtocol()
public String getProtocol ()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Returns Type Description String
The protocol.
getProtocolBytes()
public ByteString getProtocolBytes ()
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 3;
Returns Type Description ByteString
The bytes for protocol.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getSourceAgentUri()
public String getSourceAgentUri ()
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;
Returns Type Description String
The sourceAgentUri.
getSourceAgentUriBytes()
public ByteString getSourceAgentUriBytes ()
URI of the source telemetry agent this packet originates from.
string source_agent_uri = 8;
Returns Type Description ByteString
The bytes for sourceAgentUri.
getSourceIp()
public String getSourceIp ()
Source IP address.
string source_ip = 1;
Returns Type Description String
The sourceIp.
getSourceIpBytes()
public ByteString getSourceIpBytes ()
Source IP address.
string source_ip = 1;
Returns Type Description ByteString
The bytes for sourceIp.
getSourceNetworkUri()
public String getSourceNetworkUri ()
URI of the network where this packet originates from.
string source_network_uri = 6;
Returns Type Description String
The sourceNetworkUri.
getSourceNetworkUriBytes()
public ByteString getSourceNetworkUriBytes ()
URI of the network where this packet originates from.
string source_network_uri = 6;
Returns Type Description ByteString
The bytes for sourceNetworkUri.
getSourcePort()
public int getSourcePort ()
Source port. Only valid when protocol is TCP or UDP.
int32 source_port = 4;
Returns Type Description int
The sourcePort.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public EndpointInfo . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EndpointInfo . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public EndpointInfo . Builder toBuilder ()
writeTo(CodedOutputStream output)
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 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["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 2024-10-04 UTC."]]