Class NetworkEndpointGroupPscData.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkEndpointGroupPscData.Builder>
com.google.cloud.compute.v1.NetworkEndpointGroupPscData.Builder
All Implemented Interfaces:
NetworkEndpointGroupPscDataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NetworkEndpointGroupPscData

public static final class NetworkEndpointGroupPscData.Builder extends com.google.protobuf.GeneratedMessage.Builder<NetworkEndpointGroupPscData.Builder> 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
  • 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.Builder<NetworkEndpointGroupPscData.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<NetworkEndpointGroupPscData.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NetworkEndpointGroupPscData.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public NetworkEndpointGroupPscData.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkEndpointGroupPscData.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NetworkEndpointGroupPscData.Builder>
    • mergeFrom

      public NetworkEndpointGroupPscData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkEndpointGroupPscData.Builder>
      Throws:
      IOException
    • hasConsumerPscAddress

      public boolean hasConsumerPscAddress()
       Output only. [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. [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. [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.
    • setConsumerPscAddress

      public NetworkEndpointGroupPscData.Builder setConsumerPscAddress(String value)
       Output only. [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;
      Parameters:
      value - The consumerPscAddress to set.
      Returns:
      This builder for chaining.
    • clearConsumerPscAddress

      public NetworkEndpointGroupPscData.Builder clearConsumerPscAddress()
       Output only. [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;
      Returns:
      This builder for chaining.
    • setConsumerPscAddressBytes

      public NetworkEndpointGroupPscData.Builder setConsumerPscAddressBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for consumerPscAddress to set.
      Returns:
      This builder for chaining.
    • hasProducerPort

      public boolean hasProducerPort()
       The psc producer port is used to connect PSC NEG with specific port on
       the PSC Producer side; should only be used for the
       PRIVATE_SERVICE_CONNECT NEG type
       
      optional int32 producer_port = 410021134;
      Specified by:
      hasProducerPort in interface NetworkEndpointGroupPscDataOrBuilder
      Returns:
      Whether the producerPort field is set.
    • getProducerPort

      public int getProducerPort()
       The psc producer port is used to connect PSC NEG with specific port on
       the PSC Producer side; should only be used for the
       PRIVATE_SERVICE_CONNECT NEG type
       
      optional int32 producer_port = 410021134;
      Specified by:
      getProducerPort in interface NetworkEndpointGroupPscDataOrBuilder
      Returns:
      The producerPort.
    • setProducerPort

      public NetworkEndpointGroupPscData.Builder setProducerPort(int value)
       The psc producer port is used to connect PSC NEG with specific port on
       the PSC Producer side; should only be used for the
       PRIVATE_SERVICE_CONNECT NEG type
       
      optional int32 producer_port = 410021134;
      Parameters:
      value - The producerPort to set.
      Returns:
      This builder for chaining.
    • clearProducerPort

      public NetworkEndpointGroupPscData.Builder clearProducerPort()
       The psc producer port is used to connect PSC NEG with specific port on
       the PSC Producer side; should only be used for the
       PRIVATE_SERVICE_CONNECT NEG type
       
      optional int32 producer_port = 410021134;
      Returns:
      This builder for chaining.
    • hasPscConnectionId

      public boolean hasPscConnectionId()
       Output only. [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. [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.
    • setPscConnectionId

      public NetworkEndpointGroupPscData.Builder setPscConnectionId(long value)
       Output only. [Output Only] The PSC connection id of the PSC Network Endpoint Group
       Consumer.
       
      optional uint64 psc_connection_id = 292082397;
      Parameters:
      value - The pscConnectionId to set.
      Returns:
      This builder for chaining.
    • clearPscConnectionId

      public NetworkEndpointGroupPscData.Builder clearPscConnectionId()
       Output only. [Output Only] The PSC connection id of the PSC Network Endpoint Group
       Consumer.
       
      optional uint64 psc_connection_id = 292082397;
      Returns:
      This builder for chaining.
    • hasPscConnectionStatus

      public boolean hasPscConnectionStatus()
       Output only. [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. [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. [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.
    • setPscConnectionStatus

      public NetworkEndpointGroupPscData.Builder setPscConnectionStatus(String value)
       Output only. [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;
      Parameters:
      value - The pscConnectionStatus to set.
      Returns:
      This builder for chaining.
    • clearPscConnectionStatus

      public NetworkEndpointGroupPscData.Builder clearPscConnectionStatus()
       Output only. [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;
      Returns:
      This builder for chaining.
    • setPscConnectionStatusBytes

      public NetworkEndpointGroupPscData.Builder setPscConnectionStatusBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for pscConnectionStatus to set.
      Returns:
      This builder for chaining.