Send feedback
  
   
 
  
    
      Class ServiceAttachmentConnectedEndpoint (1.74.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version 1.74.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ServiceAttachmentConnectedEndpoint   extends   GeneratedMessageV3   implements   ServiceAttachmentConnectedEndpointOrBuilder  
   [Output Only] A connection connected to this service attachment.
 Protobuf type google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CONSUMER_NETWORK_FIELD_NUMBER 
  
    
public   static   final   int   CONSUMER_NETWORK_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  ENDPOINT_FIELD_NUMBER 
  
    
public   static   final   int   ENDPOINT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PROPAGATED_CONNECTION_COUNT_FIELD_NUMBER 
  
    
public   static   final   int   PROPAGATED_CONNECTION_COUNT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PSC_CONNECTION_ID_FIELD_NUMBER 
  
    
public   static   final   int   PSC_CONNECTION_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  STATUS_FIELD_NUMBER 
  
    
public   static   final   int   STATUS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   ServiceAttachmentConnectedEndpoint   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   ServiceAttachmentConnectedEndpoint . Builder   newBuilder ()  
  
  newBuilder(ServiceAttachmentConnectedEndpoint prototype) 
  
    
public   static   ServiceAttachmentConnectedEndpoint . Builder   newBuilder ( ServiceAttachmentConnectedEndpoint   prototype )  
  
  
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ServiceAttachmentConnectedEndpoint   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<ServiceAttachmentConnectedEndpoint>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getConsumerNetwork() 
  
    
public   String   getConsumerNetwork ()  
   The url of the consumer network.
 optional string consumer_network = 254357221;
    
      
        Returns  
      
        Type Description  
      
        String The consumerNetwork.
 
     
  
  getConsumerNetworkBytes() 
  
    
public   ByteString   getConsumerNetworkBytes ()  
   The url of the consumer network.
 optional string consumer_network = 254357221;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for consumerNetwork.
 
     
  
  getDefaultInstanceForType() 
  
    
public   ServiceAttachmentConnectedEndpoint   getDefaultInstanceForType ()  
  
  getEndpoint() 
  
    
public   String   getEndpoint ()  
   The url of a connected endpoint.
 optional string endpoint = 130489749;
    
      
        Returns  
      
        Type Description  
      
        String The endpoint.
 
     
  
  getEndpointBytes() 
  
    
public   ByteString   getEndpointBytes ()  
   The url of a connected endpoint.
 optional string endpoint = 130489749;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for endpoint.
 
     
  
  getParserForType() 
  
    
public   Parser<ServiceAttachmentConnectedEndpoint>   getParserForType ()  
  
  Overrides 
  
  getPropagatedConnectionCount() 
  
    
public   int   getPropagatedConnectionCount ()  
   The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.
 optional uint32 propagated_connection_count = 324594130;
    
      
        Returns  
      
        Type Description  
      
        int The propagatedConnectionCount.
 
     
  
  getPscConnectionId() 
  
    
public   long   getPscConnectionId ()  
   The PSC connection id of the connected endpoint.
 optional uint64 psc_connection_id = 292082397;
    
      
        Returns  
      
        Type Description  
      
        long The pscConnectionId.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getStatus() 
  
    
public   String   getStatus ()  
   The status of a connected endpoint to this service attachment.
 Check the Status enum for the list of possible values.
 optional string status = 181260274;
    
      
        Returns  
      
        Type Description  
      
        String The status.
 
     
  
  getStatusBytes() 
  
    
public   ByteString   getStatusBytes ()  
   The status of a connected endpoint to this service attachment.
 Check the Status enum for the list of possible values.
 optional string status = 181260274;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for status.
 
     
  
  hasConsumerNetwork() 
  
    
public   boolean   hasConsumerNetwork ()  
   The url of the consumer network.
 optional string consumer_network = 254357221;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the consumerNetwork field is set.
 
     
  
  hasEndpoint() 
  
    
public   boolean   hasEndpoint ()  
   The url of a connected endpoint.
 optional string endpoint = 130489749;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the endpoint field is set.
 
     
  
  hasPropagatedConnectionCount() 
  
    
public   boolean   hasPropagatedConnectionCount ()  
   The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.
 optional uint32 propagated_connection_count = 324594130;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the propagatedConnectionCount field is set.
 
     
  
  hasPscConnectionId() 
  
    
public   boolean   hasPscConnectionId ()  
   The PSC connection id of the connected endpoint.
 optional uint64 psc_connection_id = 292082397;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the pscConnectionId field is set.
 
     
  
  hasStatus() 
  
    
public   boolean   hasStatus ()  
   The status of a connected endpoint to this service attachment.
 Check the Status enum for the list of possible values.
 optional string status = 181260274;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the status field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   ServiceAttachmentConnectedEndpoint . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ServiceAttachmentConnectedEndpoint . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   ServiceAttachmentConnectedEndpoint . 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 2025-10-11 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["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 2025-10-11 UTC."],[],[]]