Class NetworkEndpointGroupPscData (1.64.0)

public final class NetworkEndpointGroupPscData extends 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

Static Fields

CONSUMER_PSC_ADDRESS_FIELD_NUMBER

public static final int CONSUMER_PSC_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

PRODUCER_PORT_FIELD_NUMBER

public static final int PRODUCER_PORT_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

PSC_CONNECTION_STATUS_FIELD_NUMBER

public static final int PSC_CONNECTION_STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkEndpointGroupPscData getDefaultInstance()
Returns
Type Description
NetworkEndpointGroupPscData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NetworkEndpointGroupPscData.Builder newBuilder()
Returns
Type Description
NetworkEndpointGroupPscData.Builder

newBuilder(NetworkEndpointGroupPscData prototype)

public static NetworkEndpointGroupPscData.Builder newBuilder(NetworkEndpointGroupPscData prototype)
Parameter
Name Description
prototype NetworkEndpointGroupPscData
Returns
Type Description
NetworkEndpointGroupPscData.Builder

parseDelimitedFrom(InputStream input)

public static NetworkEndpointGroupPscData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NetworkEndpointGroupPscData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkEndpointGroupPscData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkEndpointGroupPscData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NetworkEndpointGroupPscData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NetworkEndpointGroupPscData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkEndpointGroupPscData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NetworkEndpointGroupPscData> parser()
Returns
Type Description
Parser<NetworkEndpointGroupPscData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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;

Returns
Type Description
String

The consumerPscAddress.

getConsumerPscAddressBytes()

public 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;

Returns
Type Description
ByteString

The bytes for consumerPscAddress.

getDefaultInstanceForType()

public NetworkEndpointGroupPscData getDefaultInstanceForType()
Returns
Type Description
NetworkEndpointGroupPscData

getParserForType()

public Parser<NetworkEndpointGroupPscData> getParserForType()
Returns
Type Description
Parser<NetworkEndpointGroupPscData>
Overrides

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;

Returns
Type Description
int

The producerPort.

getPscConnectionId()

public long getPscConnectionId()

[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.

optional uint64 psc_connection_id = 292082397;

Returns
Type Description
long

The pscConnectionId.

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;

Returns
Type Description
String

The pscConnectionStatus.

getPscConnectionStatusBytes()

public 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;

Returns
Type Description
ByteString

The bytes for pscConnectionStatus.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
boolean

Whether the consumerPscAddress field is set.

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;

Returns
Type Description
boolean

Whether the producerPort field is set.

hasPscConnectionId()

public boolean hasPscConnectionId()

[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.

optional uint64 psc_connection_id = 292082397;

Returns
Type Description
boolean

Whether the pscConnectionId field is set.

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;

Returns
Type Description
boolean

Whether the pscConnectionStatus field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NetworkEndpointGroupPscData.Builder newBuilderForType()
Returns
Type Description
NetworkEndpointGroupPscData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkEndpointGroupPscData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NetworkEndpointGroupPscData.Builder toBuilder()
Returns
Type Description
NetworkEndpointGroupPscData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException