Class NetworkEndpointGroupPscData.Builder (1.54.0)

public static final class NetworkEndpointGroupPscData.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointGroupPscData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

build()

public NetworkEndpointGroupPscData build()
Returns
Type Description
NetworkEndpointGroupPscData

buildPartial()

public NetworkEndpointGroupPscData buildPartial()
Returns
Type Description
NetworkEndpointGroupPscData

clear()

public NetworkEndpointGroupPscData.Builder clear()
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

clearConsumerPscAddress()

public NetworkEndpointGroupPscData.Builder clearConsumerPscAddress()

[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
NetworkEndpointGroupPscData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NetworkEndpointGroupPscData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkEndpointGroupPscData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

clearPscConnectionId()

public NetworkEndpointGroupPscData.Builder clearPscConnectionId()

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

optional uint64 psc_connection_id = 292082397;

Returns
Type Description
NetworkEndpointGroupPscData.Builder

This builder for chaining.

clearPscConnectionStatus()

public NetworkEndpointGroupPscData.Builder clearPscConnectionStatus()

[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
NetworkEndpointGroupPscData.Builder

This builder for chaining.

clone()

public NetworkEndpointGroupPscData.Builder clone()
Returns
Type Description
NetworkEndpointGroupPscData.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkEndpointGroupPscData other)

public NetworkEndpointGroupPscData.Builder mergeFrom(NetworkEndpointGroupPscData other)
Parameter
Name Description
other NetworkEndpointGroupPscData
Returns
Type Description
NetworkEndpointGroupPscData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkEndpointGroupPscData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NetworkEndpointGroupPscData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointGroupPscData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

setConsumerPscAddress(String value)

public NetworkEndpointGroupPscData.Builder setConsumerPscAddress(String value)

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

Parameter
Name Description
value String

The consumerPscAddress to set.

Returns
Type Description
NetworkEndpointGroupPscData.Builder

This builder for chaining.

setConsumerPscAddressBytes(ByteString value)

public NetworkEndpointGroupPscData.Builder setConsumerPscAddressBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for consumerPscAddress to set.

Returns
Type Description
NetworkEndpointGroupPscData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointGroupPscData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

setPscConnectionId(long value)

public NetworkEndpointGroupPscData.Builder setPscConnectionId(long value)

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

optional uint64 psc_connection_id = 292082397;

Parameter
Name Description
value long

The pscConnectionId to set.

Returns
Type Description
NetworkEndpointGroupPscData.Builder

This builder for chaining.

setPscConnectionStatus(String value)

public NetworkEndpointGroupPscData.Builder setPscConnectionStatus(String value)

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

Parameter
Name Description
value String

The pscConnectionStatus to set.

Returns
Type Description
NetworkEndpointGroupPscData.Builder

This builder for chaining.

setPscConnectionStatusBytes(ByteString value)

public NetworkEndpointGroupPscData.Builder setPscConnectionStatusBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for pscConnectionStatus to set.

Returns
Type Description
NetworkEndpointGroupPscData.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NetworkEndpointGroupPscData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointGroupPscData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkEndpointGroupPscData.Builder
Overrides