Interface Instance.PscInterfaceConfigOrBuilder (0.30.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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The bytes for networkAttachment.