Class NetworkEndpointGroupPscData

  • All Implemented Interfaces:
    NetworkEndpointGroupPscDataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class NetworkEndpointGroupPscData
    extends com.google.protobuf.GeneratedMessageV3
    implements NetworkEndpointGroupPscDataOrBuilder
     All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.
     
    Protobuf type google.cloud.compute.v1.NetworkEndpointGroupPscData
    See Also:
    Serialized Form
    • Field Detail

      • CONSUMER_PSC_ADDRESS_FIELD_NUMBER

        public static final int CONSUMER_PSC_ADDRESS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PSC_CONNECTION_ID_FIELD_NUMBER

        public static final int PSC_CONNECTION_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PSC_CONNECTION_STATUS_FIELD_NUMBER

        public static final int PSC_CONNECTION_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasConsumerPscAddress

        public boolean hasConsumerPscAddress()
         [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
         
        optional string consumer_psc_address = 452646572;
        Specified by:
        hasConsumerPscAddress in interface NetworkEndpointGroupPscDataOrBuilder
        Returns:
        Whether the consumerPscAddress field is set.
      • getConsumerPscAddress

        public String getConsumerPscAddress()
         [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
         
        optional string consumer_psc_address = 452646572;
        Specified by:
        getConsumerPscAddress in interface NetworkEndpointGroupPscDataOrBuilder
        Returns:
        The consumerPscAddress.
      • getConsumerPscAddressBytes

        public com.google.protobuf.ByteString getConsumerPscAddressBytes()
         [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
         
        optional string consumer_psc_address = 452646572;
        Specified by:
        getConsumerPscAddressBytes in interface NetworkEndpointGroupPscDataOrBuilder
        Returns:
        The bytes for consumerPscAddress.
      • hasPscConnectionId

        public boolean hasPscConnectionId()
         [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
         
        optional uint64 psc_connection_id = 292082397;
        Specified by:
        hasPscConnectionId in interface NetworkEndpointGroupPscDataOrBuilder
        Returns:
        Whether the pscConnectionId field is set.
      • getPscConnectionId

        public long getPscConnectionId()
         [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
         
        optional uint64 psc_connection_id = 292082397;
        Specified by:
        getPscConnectionId in interface NetworkEndpointGroupPscDataOrBuilder
        Returns:
        The pscConnectionId.
      • hasPscConnectionStatus

        public boolean hasPscConnectionStatus()
         [Output Only] The connection status of the PSC Forwarding Rule.
         Check the PscConnectionStatus enum for the list of possible values.
         
        optional string psc_connection_status = 184149172;
        Specified by:
        hasPscConnectionStatus in interface NetworkEndpointGroupPscDataOrBuilder
        Returns:
        Whether the pscConnectionStatus field is set.
      • getPscConnectionStatus

        public String getPscConnectionStatus()
         [Output Only] The connection status of the PSC Forwarding Rule.
         Check the PscConnectionStatus enum for the list of possible values.
         
        optional string psc_connection_status = 184149172;
        Specified by:
        getPscConnectionStatus in interface NetworkEndpointGroupPscDataOrBuilder
        Returns:
        The pscConnectionStatus.
      • getPscConnectionStatusBytes

        public com.google.protobuf.ByteString getPscConnectionStatusBytes()
         [Output Only] The connection status of the PSC Forwarding Rule.
         Check the PscConnectionStatus enum for the list of possible values.
         
        optional string psc_connection_status = 184149172;
        Specified by:
        getPscConnectionStatusBytes in interface NetworkEndpointGroupPscDataOrBuilder
        Returns:
        The bytes for pscConnectionStatus.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 NetworkEndpointGroupPscData parseFrom​(ByteBuffer data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

        protected NetworkEndpointGroupPscData.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<NetworkEndpointGroupPscData> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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