Interface ServiceConnectionMap.ConsumerPscConfigOrBuilder (1.61.0)

public static interface ServiceConnectionMap.ConsumerPscConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsProducerInstanceMetadata(String key)

public abstract boolean containsProducerInstanceMetadata(String key)

Immutable. An immutable map for the producer instance metadata.

map<string, string> producer_instance_metadata = 8 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsServiceAttachmentIpAddressMap(String key)

public abstract boolean containsServiceAttachmentIpAddressMap(String key)

Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.

map<string, string> service_attachment_ip_address_map = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getConsumerInstanceProject()

public abstract String getConsumerInstanceProject()

Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/<project_id_or_number>' Eg. 'projects/consumer-project' or 'projects/1234'

string consumer_instance_project = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The consumerInstanceProject.

getConsumerInstanceProjectBytes()

public abstract ByteString getConsumerInstanceProjectBytes()

Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/<project_id_or_number>' Eg. 'projects/consumer-project' or 'projects/1234'

string consumer_instance_project = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for consumerInstanceProject.

getDisableGlobalAccess()

public abstract boolean getDisableGlobalAccess()

This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.

bool disable_global_access = 3;

Returns
Type Description
boolean

The disableGlobalAccess.

getIpVersion()

public abstract IPVersion getIpVersion()

The requested IP version for the PSC connection.

optional .google.cloud.networkconnectivity.v1.IPVersion ip_version = 9;

Returns
Type Description
IPVersion

The ipVersion.

getIpVersionValue()

public abstract int getIpVersionValue()

The requested IP version for the PSC connection.

optional .google.cloud.networkconnectivity.v1.IPVersion ip_version = 9;

Returns
Type Description
int

The enum numeric value on the wire for ipVersion.

getNetwork()

public abstract String getNetwork()

The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.

string network = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.

string network = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getProducerInstanceId() (deprecated)

public abstract String getProducerInstanceId()

Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.producer_instance_id is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=363

Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.

string producer_instance_id = 5 [deprecated = true, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The producerInstanceId.

getProducerInstanceIdBytes() (deprecated)

public abstract ByteString getProducerInstanceIdBytes()

Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.producer_instance_id is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=363

Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.

string producer_instance_id = 5 [deprecated = true, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for producerInstanceId.

getProducerInstanceMetadata() (deprecated)

public abstract Map<String,String> getProducerInstanceMetadata()
Returns
Type Description
Map<String,String>

getProducerInstanceMetadataCount()

public abstract int getProducerInstanceMetadataCount()

Immutable. An immutable map for the producer instance metadata.

map<string, string> producer_instance_metadata = 8 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

getProducerInstanceMetadataMap()

public abstract Map<String,String> getProducerInstanceMetadataMap()

Immutable. An immutable map for the producer instance metadata.

map<string, string> producer_instance_metadata = 8 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Map<String,String>

getProducerInstanceMetadataOrDefault(String key, String defaultValue)

public abstract String getProducerInstanceMetadataOrDefault(String key, String defaultValue)

Immutable. An immutable map for the producer instance metadata.

map<string, string> producer_instance_metadata = 8 [(.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getProducerInstanceMetadataOrThrow(String key)

public abstract String getProducerInstanceMetadataOrThrow(String key)

Immutable. An immutable map for the producer instance metadata.

map<string, string> producer_instance_metadata = 8 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
key String
Returns
Type Description
String

getProject()

public abstract String getProject()

The consumer project where PSC connections are allowed to be created in.

string project = 1;

Returns
Type Description
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

The consumer project where PSC connections are allowed to be created in.

string project = 1;

Returns
Type Description
ByteString

The bytes for project.

getServiceAttachmentIpAddressMap() (deprecated)

public abstract Map<String,String> getServiceAttachmentIpAddressMap()
Returns
Type Description
Map<String,String>

getServiceAttachmentIpAddressMapCount()

public abstract int getServiceAttachmentIpAddressMapCount()

Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.

map<string, string> service_attachment_ip_address_map = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getServiceAttachmentIpAddressMapMap()

public abstract Map<String,String> getServiceAttachmentIpAddressMapMap()

Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.

map<string, string> service_attachment_ip_address_map = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getServiceAttachmentIpAddressMapOrDefault(String key, String defaultValue)

public abstract String getServiceAttachmentIpAddressMapOrDefault(String key, String defaultValue)

Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.

map<string, string> service_attachment_ip_address_map = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getServiceAttachmentIpAddressMapOrThrow(String key)

public abstract String getServiceAttachmentIpAddressMapOrThrow(String key)

Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.

map<string, string> service_attachment_ip_address_map = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getState()

public abstract ServiceConnectionMap.ConsumerPscConfig.State getState()

Output only. Overall state of PSC Connections management for this consumer psc config.

.google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ServiceConnectionMap.ConsumerPscConfig.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Overall state of PSC Connections management for this consumer psc config.

.google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasIpVersion()

public abstract boolean hasIpVersion()

The requested IP version for the PSC connection.

optional .google.cloud.networkconnectivity.v1.IPVersion ip_version = 9;

Returns
Type Description
boolean

Whether the ipVersion field is set.