Interface Instance.PscInterfaceConfigOrBuilder (0.34.0)

public static interface Instance.PscInterfaceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumerEndpointIps(int index)

public abstract String getConsumerEndpointIps(int index)

A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.

repeated string consumer_endpoint_ips = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The consumerEndpointIps at the given index.

getConsumerEndpointIpsBytes(int index)

public abstract ByteString getConsumerEndpointIpsBytes(int index)

A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.

repeated string consumer_endpoint_ips = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the consumerEndpointIps at the given index.

getConsumerEndpointIpsCount()

public abstract int getConsumerEndpointIpsCount()

A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.

repeated string consumer_endpoint_ips = 1;

Returns
Type Description
int

The count of consumerEndpointIps.

getConsumerEndpointIpsList()

public abstract List<String> getConsumerEndpointIpsList()

A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.

repeated string consumer_endpoint_ips = 1;

Returns
Type Description
List<String>

A list containing the consumerEndpointIps.

getNetworkAttachment()

public abstract String getNetworkAttachment()

The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}. NetworkAttachment has to be provided when the PSC interface is created.

string network_attachment = 2;

Returns
Type Description
String

The networkAttachment.

getNetworkAttachmentBytes()

public abstract ByteString getNetworkAttachmentBytes()

The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}. NetworkAttachment has to be provided when the PSC interface is created.

string network_attachment = 2;

Returns
Type Description
ByteString

The bytes for networkAttachment.