Class NetworkEndpointGroupPscData (1.24.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
TypeDescription
int

PSC_CONNECTION_ID_FIELD_NUMBER

public static final int PSC_CONNECTION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PSC_CONNECTION_STATUS_FIELD_NUMBER

public static final int PSC_CONNECTION_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkEndpointGroupPscData getDefaultInstance()
Returns
TypeDescription
NetworkEndpointGroupPscData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NetworkEndpointGroupPscData.Builder newBuilder()
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder

newBuilder(NetworkEndpointGroupPscData prototype)

public static NetworkEndpointGroupPscData.Builder newBuilder(NetworkEndpointGroupPscData prototype)
Parameter
NameDescription
prototypeNetworkEndpointGroupPscData
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder

parseDelimitedFrom(InputStream input)

public static NetworkEndpointGroupPscData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NetworkEndpointGroupPscData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkEndpointGroupPscData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkEndpointGroupPscData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NetworkEndpointGroupPscData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NetworkEndpointGroupPscData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointGroupPscData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointGroupPscData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NetworkEndpointGroupPscData> parser()
Returns
TypeDescription
Parser<NetworkEndpointGroupPscData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for consumerPscAddress.

getDefaultInstanceForType()

public NetworkEndpointGroupPscData getDefaultInstanceForType()
Returns
TypeDescription
NetworkEndpointGroupPscData

getParserForType()

public Parser<NetworkEndpointGroupPscData> getParserForType()
Returns
TypeDescription
Parser<NetworkEndpointGroupPscData>
Overrides

getPscConnectionId()

public long getPscConnectionId()

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

optional uint64 psc_connection_id = 292082397;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pscConnectionStatus.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the consumerPscAddress 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
TypeDescription
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
TypeDescription
boolean

Whether the pscConnectionStatus field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NetworkEndpointGroupPscData.Builder newBuilderForType()
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkEndpointGroupPscData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NetworkEndpointGroupPscData.Builder toBuilder()
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException