Interface ServiceConnectionMap.ConsumerPscConnectionOrBuilder (1.77.0)

publicstaticinterface ServiceConnectionMap.ConsumerPscConnectionOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

containsProducerInstanceMetadata(String key)

publicabstractbooleancontainsProducerInstanceMetadata(Stringkey)

Immutable. An immutable map for the producer instance metadata.

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

Parameter
Name Description
key String
Returns
Type Description
boolean

getError() (deprecated)

publicabstractStatusgetError()

Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.error is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=455

The most recent error during operating this connection.

.google.rpc.Status error = 8 [deprecated = true];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorInfo()

publicabstractErrorInfogetErrorInfo()

Output only. The error info for the latest error during operating this connection.

.google.rpc.ErrorInfo error_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.ErrorInfo

The errorInfo.

getErrorInfoOrBuilder()

publicabstractErrorInfoOrBuildergetErrorInfoOrBuilder()

Output only. The error info for the latest error during operating this connection.

.google.rpc.ErrorInfo error_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.ErrorInfoOrBuilder

getErrorOrBuilder() (deprecated)

publicabstractStatusOrBuildergetErrorOrBuilder()

The most recent error during operating this connection.

.google.rpc.Status error = 8 [deprecated = true];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getErrorType() (deprecated)

publicabstractConnectionErrorTypegetErrorType()

Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.error_type is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=452

The error type indicates whether the error is consumer facing, producer facing or system internal.

.google.cloud.networkconnectivity.v1.ConnectionErrorType error_type = 7 [deprecated = true];

Returns
Type Description
ConnectionErrorType

The errorType.

getErrorTypeValue() (deprecated)

publicabstractintgetErrorTypeValue()

Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.error_type is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=452

The error type indicates whether the error is consumer facing, producer facing or system internal.

.google.cloud.networkconnectivity.v1.ConnectionErrorType error_type = 7 [deprecated = true];

Returns
Type Description
int

The enum numeric value on the wire for errorType.

getForwardingRule()

publicabstractStringgetForwardingRule()

The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.

string forwarding_rule = 10;

Returns
Type Description
String

The forwardingRule.

getForwardingRuleBytes()

publicabstractByteStringgetForwardingRuleBytes()

The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.

string forwarding_rule = 10;

Returns
Type Description
ByteString

The bytes for forwardingRule.

getGceOperation()

publicabstractStringgetGceOperation()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 9;

Returns
Type Description
String

The gceOperation.

getGceOperationBytes()

publicabstractByteStringgetGceOperationBytes()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 9;

Returns
Type Description
ByteString

The bytes for gceOperation.

getIp()

publicabstractStringgetIp()

The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.

string ip = 6;

Returns
Type Description
String

The ip.

getIpBytes()

publicabstractByteStringgetIpBytes()

The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.

string ip = 6;

Returns
Type Description
ByteString

The bytes for ip.

getIpVersion()

publicabstractIPVersiongetIpVersion()

The requested IP version for the PSC connection.

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

Returns
Type Description
IPVersion

The ipVersion.

getIpVersionValue()

publicabstractintgetIpVersionValue()

The requested IP version for the PSC connection.

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

Returns
Type Description
int

The enum numeric value on the wire for ipVersion.

getNetwork()

publicabstractStringgetNetwork()

The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).

string network = 4;

Returns
Type Description
String

The network.

getNetworkBytes()

publicabstractByteStringgetNetworkBytes()

The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).

string network = 4;

Returns
Type Description
ByteString

The bytes for network.

getProducerInstanceId() (deprecated)

publicabstractStringgetProducerInstanceId()

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

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

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

Returns
Type Description
String

The producerInstanceId.

getProducerInstanceIdBytes() (deprecated)

publicabstractByteStringgetProducerInstanceIdBytes()

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

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

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

Returns
Type Description
ByteString

The bytes for producerInstanceId.

getProducerInstanceMetadata() (deprecated)

publicabstractMap<String,String>getProducerInstanceMetadata()
Returns
Type Description
Map<String,String>

getProducerInstanceMetadataCount()

publicabstractintgetProducerInstanceMetadataCount()

Immutable. An immutable map for the producer instance metadata.

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

Returns
Type Description
int

getProducerInstanceMetadataMap()

publicabstractMap<String,String>getProducerInstanceMetadataMap()

Immutable. An immutable map for the producer instance metadata.

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

Returns
Type Description
Map<String,String>

getProducerInstanceMetadataOrDefault(String key, String defaultValue)

publicabstractStringgetProducerInstanceMetadataOrDefault(Stringkey,StringdefaultValue)

Immutable. An immutable map for the producer instance metadata.

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

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getProducerInstanceMetadataOrThrow(String key)

publicabstractStringgetProducerInstanceMetadataOrThrow(Stringkey)

Immutable. An immutable map for the producer instance metadata.

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

Parameter
Name Description
key String
Returns
Type Description
String

getProject()

publicabstractStringgetProject()

The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.

string project = 3;

Returns
Type Description
String

The project.

getProjectBytes()

publicabstractByteStringgetProjectBytes()

The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.

string project = 3;

Returns
Type Description
ByteString

The bytes for project.

getPscConnectionId()

publicabstractStringgetPscConnectionId()

The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.

string psc_connection_id = 5;

Returns
Type Description
String

The pscConnectionId.

getPscConnectionIdBytes()

publicabstractByteStringgetPscConnectionIdBytes()

The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.

string psc_connection_id = 5;

Returns
Type Description
ByteString

The bytes for pscConnectionId.

getSelectedSubnetwork()

publicabstractStringgetSelectedSubnetwork()

Output only. The URI of the selected subnetwork selected to allocate IP address for this connection.

string selected_subnetwork = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The selectedSubnetwork.

getSelectedSubnetworkBytes()

publicabstractByteStringgetSelectedSubnetworkBytes()

Output only. The URI of the selected subnetwork selected to allocate IP address for this connection.

string selected_subnetwork = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for selectedSubnetwork.

getServiceAttachmentUri()

publicabstractStringgetServiceAttachmentUri()

The URI of a service attachment which is the target of the PSC connection.

string service_attachment_uri = 1;

Returns
Type Description
String

The serviceAttachmentUri.

getServiceAttachmentUriBytes()

publicabstractByteStringgetServiceAttachmentUriBytes()

The URI of a service attachment which is the target of the PSC connection.

string service_attachment_uri = 1;

Returns
Type Description
ByteString

The bytes for serviceAttachmentUri.

getState()

publicabstractServiceConnectionMap.ConsumerPscConnection.StategetState()

The state of the PSC connection.

.google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.State state = 2;

Returns
Type Description
ServiceConnectionMap.ConsumerPscConnection.State

The state.

getStateValue()

publicabstractintgetStateValue()

The state of the PSC connection.

.google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.State state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasError() (deprecated)

publicabstractbooleanhasError()

Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.error is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=455

The most recent error during operating this connection.

.google.rpc.Status error = 8 [deprecated = true];

Returns
Type Description
boolean

Whether the error field is set.

hasErrorInfo()

publicabstractbooleanhasErrorInfo()

Output only. The error info for the latest error during operating this connection.

.google.rpc.ErrorInfo error_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the errorInfo field is set.

hasIpVersion()

publicabstractbooleanhasIpVersion()

The requested IP version for the PSC connection.

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

Returns
Type Description
boolean

Whether the ipVersion field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.