Class EndpointInfo (1.13.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.13.0keyboard_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
Static Fields
   
  DESTINATION_IP_FIELD_NUMBER 
  
    
public   static   final   int   DESTINATION_IP_FIELD_NUMBER  
  Field Value 
  
  DESTINATION_NETWORK_URI_FIELD_NUMBER 
  
    
public   static   final   int   DESTINATION_NETWORK_URI_FIELD_NUMBER  
  Field Value 
  
  DESTINATION_PORT_FIELD_NUMBER 
  
    
public   static   final   int   DESTINATION_PORT_FIELD_NUMBER  
  Field Value 
  
  PROTOCOL_FIELD_NUMBER 
  
    
public   static   final   int   PROTOCOL_FIELD_NUMBER  
  Field Value 
  
  SOURCE_AGENT_URI_FIELD_NUMBER 
  
    
public   static   final   int   SOURCE_AGENT_URI_FIELD_NUMBER  
  Field Value 
  
  SOURCE_IP_FIELD_NUMBER 
  
    
public   static   final   int   SOURCE_IP_FIELD_NUMBER  
  Field Value 
  
  SOURCE_NETWORK_URI_FIELD_NUMBER 
  
    
public   static   final   int   SOURCE_NETWORK_URI_FIELD_NUMBER  
  Field Value 
  
  SOURCE_PORT_FIELD_NUMBER 
  
    
public   static   final   int   SOURCE_PORT_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   EndpointInfo   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   EndpointInfo . Builder   newBuilder ()  
  Returns 
  
  newBuilder(EndpointInfo prototype) 
  
    
public   static   EndpointInfo . Builder   newBuilder ( EndpointInfo   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   EndpointInfo   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   EndpointInfo   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   EndpointInfo   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        databyte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EndpointInfo   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   EndpointInfo   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EndpointInfo   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   EndpointInfo   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   EndpointInfo   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   EndpointInfo   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   EndpointInfo   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   EndpointInfo   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EndpointInfo   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<EndpointInfo>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   EndpointInfo   getDefaultInstanceForType ()  
  Returns 
  
  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 ()  
  Returns 
  
  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 
  
  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 ()  
  Returns 
  
  Overrides 
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   EndpointInfo . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   EndpointInfo . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   EndpointInfo . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]