Class ServiceAttachmentConnectedEndpoint

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint
All Implemented Interfaces:
ServiceAttachmentConnectedEndpointOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ServiceAttachmentConnectedEndpoint extends com.google.protobuf.GeneratedMessage implements ServiceAttachmentConnectedEndpointOrBuilder
 [Output Only] A connection connected to this service attachment.
 
Protobuf type google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint
See Also:
  • Field Details

    • CONSUMER_NETWORK_FIELD_NUMBER

      public static final int CONSUMER_NETWORK_FIELD_NUMBER
      See Also:
    • ENDPOINT_FIELD_NUMBER

      public static final int ENDPOINT_FIELD_NUMBER
      See Also:
    • ENDPOINT_WITH_ID_FIELD_NUMBER

      public static final int ENDPOINT_WITH_ID_FIELD_NUMBER
      See Also:
    • NAT_IPS_FIELD_NUMBER

      public static final int NAT_IPS_FIELD_NUMBER
      See Also:
    • PROPAGATED_CONNECTION_COUNT_FIELD_NUMBER

      public static final int PROPAGATED_CONNECTION_COUNT_FIELD_NUMBER
      See Also:
    • PSC_CONNECTION_ID_FIELD_NUMBER

      public static final int PSC_CONNECTION_ID_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasConsumerNetwork

      public boolean hasConsumerNetwork()
       The url of the consumer network.
       
      optional string consumer_network = 254357221;
      Specified by:
      hasConsumerNetwork in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      Whether the consumerNetwork field is set.
    • getConsumerNetwork

      public String getConsumerNetwork()
       The url of the consumer network.
       
      optional string consumer_network = 254357221;
      Specified by:
      getConsumerNetwork in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The consumerNetwork.
    • getConsumerNetworkBytes

      public com.google.protobuf.ByteString getConsumerNetworkBytes()
       The url of the consumer network.
       
      optional string consumer_network = 254357221;
      Specified by:
      getConsumerNetworkBytes in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The bytes for consumerNetwork.
    • hasEndpoint

      public boolean hasEndpoint()
       The url of a connected endpoint.
       
      optional string endpoint = 130489749;
      Specified by:
      hasEndpoint in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      Whether the endpoint field is set.
    • getEndpoint

      public String getEndpoint()
       The url of a connected endpoint.
       
      optional string endpoint = 130489749;
      Specified by:
      getEndpoint in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       The url of a connected endpoint.
       
      optional string endpoint = 130489749;
      Specified by:
      getEndpointBytes in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The bytes for endpoint.
    • hasEndpointWithId

      public boolean hasEndpointWithId()
       The url of a connected endpoint with resource id.
       
      optional string endpoint_with_id = 444867210;
      Specified by:
      hasEndpointWithId in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      Whether the endpointWithId field is set.
    • getEndpointWithId

      public String getEndpointWithId()
       The url of a connected endpoint with resource id.
       
      optional string endpoint_with_id = 444867210;
      Specified by:
      getEndpointWithId in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The endpointWithId.
    • getEndpointWithIdBytes

      public com.google.protobuf.ByteString getEndpointWithIdBytes()
       The url of a connected endpoint with resource id.
       
      optional string endpoint_with_id = 444867210;
      Specified by:
      getEndpointWithIdBytes in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The bytes for endpointWithId.
    • getNatIpsList

      public com.google.protobuf.ProtocolStringList getNatIpsList()
       NAT IPs of the connected PSC endpoint and those of other endpoints
       propagated from it.
       
      repeated string nat_ips = 117635086;
      Specified by:
      getNatIpsList in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      A list containing the natIps.
    • getNatIpsCount

      public int getNatIpsCount()
       NAT IPs of the connected PSC endpoint and those of other endpoints
       propagated from it.
       
      repeated string nat_ips = 117635086;
      Specified by:
      getNatIpsCount in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The count of natIps.
    • getNatIps

      public String getNatIps(int index)
       NAT IPs of the connected PSC endpoint and those of other endpoints
       propagated from it.
       
      repeated string nat_ips = 117635086;
      Specified by:
      getNatIps in interface ServiceAttachmentConnectedEndpointOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The natIps at the given index.
    • getNatIpsBytes

      public com.google.protobuf.ByteString getNatIpsBytes(int index)
       NAT IPs of the connected PSC endpoint and those of other endpoints
       propagated from it.
       
      repeated string nat_ips = 117635086;
      Specified by:
      getNatIpsBytes in interface ServiceAttachmentConnectedEndpointOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the natIps at the given index.
    • 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;
      Specified by:
      hasPropagatedConnectionCount in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      Whether the propagatedConnectionCount field is set.
    • 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;
      Specified by:
      getPropagatedConnectionCount in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The propagatedConnectionCount.
    • hasPscConnectionId

      public boolean hasPscConnectionId()
       The PSC connection id of the connected endpoint.
       
      optional uint64 psc_connection_id = 292082397;
      Specified by:
      hasPscConnectionId in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      Whether the pscConnectionId field is set.
    • getPscConnectionId

      public long getPscConnectionId()
       The PSC connection id of the connected endpoint.
       
      optional uint64 psc_connection_id = 292082397;
      Specified by:
      getPscConnectionId in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The pscConnectionId.
    • 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;
      Specified by:
      hasStatus in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      Whether the status field is set.
    • 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;
      Specified by:
      getStatus in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.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;
      Specified by:
      getStatusBytes in interface ServiceAttachmentConnectedEndpointOrBuilder
      Returns:
      The bytes for status.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceAttachmentConnectedEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ServiceAttachmentConnectedEndpoint.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ServiceAttachmentConnectedEndpoint.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ServiceAttachmentConnectedEndpoint.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ServiceAttachmentConnectedEndpoint getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ServiceAttachmentConnectedEndpoint> parser()
    • getParserForType

      public com.google.protobuf.Parser<ServiceAttachmentConnectedEndpoint> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ServiceAttachmentConnectedEndpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder