Class NetworkEndpointGroupPscData.Builder (1.46.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointGroupPscData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder
Overrides

build()

public NetworkEndpointGroupPscData build()
Returns
TypeDescription
NetworkEndpointGroupPscData

buildPartial()

public NetworkEndpointGroupPscData buildPartial()
Returns
TypeDescription
NetworkEndpointGroupPscData

clear()

public NetworkEndpointGroupPscData.Builder clear()
Returns
TypeDescription
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
TypeDescription
NetworkEndpointGroupPscData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NetworkEndpointGroupPscData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkEndpointGroupPscData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
NetworkEndpointGroupPscData.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkEndpointGroupPscData other)

public NetworkEndpointGroupPscData.Builder mergeFrom(NetworkEndpointGroupPscData other)
Parameter
NameDescription
otherNetworkEndpointGroupPscData
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkEndpointGroupPscData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NetworkEndpointGroupPscData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointGroupPscData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The consumerPscAddress to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for consumerPscAddress to set.

Returns
TypeDescription
NetworkEndpointGroupPscData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointGroupPscData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The pscConnectionId to set.

Returns
TypeDescription
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
NameDescription
valueString

The pscConnectionStatus to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pscConnectionStatus to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointGroupPscData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkEndpointGroupPscData.Builder
Overrides