Interface ServiceConnectionMap.ConsumerPscConnectionOrBuilder (1.61.0)

public static interface ServiceConnectionMap.ConsumerPscConnectionOrBuilder 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 = 14 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
key String
Returns
Type Description
boolean

getError() (deprecated)

public abstract Status getError()

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()

public abstract ErrorInfo getErrorInfo()

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()

public abstract ErrorInfoOrBuilder getErrorInfoOrBuilder()

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)

public abstract StatusOrBuilder getErrorOrBuilder()

The most recent error during operating this connection.

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

Returns
Type Description
com.google.rpc.StatusOrBuilder

getErrorType() (deprecated)

public abstract ConnectionErrorType getErrorType()

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)

public abstract int getErrorTypeValue()

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()

public abstract String getForwardingRule()

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()

public abstract ByteString getForwardingRuleBytes()

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()

public abstract String getGceOperation()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 9;

Returns
Type Description
String

The gceOperation.

getGceOperationBytes()

public abstract ByteString getGceOperationBytes()

The last Compute Engine operation to setup PSC connection.

string gce_operation = 9;

Returns
Type Description
ByteString

The bytes for gceOperation.

getIp()

public abstract String getIp()

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()

public abstract ByteString getIpBytes()

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()

public abstract IPVersion getIpVersion()

The requested IP version for the PSC connection.

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

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 = 15;

Returns
Type Description
int

The enum numeric value on the wire for ipVersion.

getNetwork()

public abstract String getNetwork()

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()

public abstract ByteString getNetworkBytes()

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)

public abstract String getProducerInstanceId()

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)

public abstract ByteString getProducerInstanceIdBytes()

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)

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 = 14 [(.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 = 14 [(.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 = 14 [(.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 = 14 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
key String
Returns
Type Description
String

getProject()

public abstract String getProject()

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()

public abstract ByteString getProjectBytes()

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()

public abstract String getPscConnectionId()

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()

public abstract ByteString getPscConnectionIdBytes()

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()

public abstract String getSelectedSubnetwork()

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()

public abstract ByteString getSelectedSubnetworkBytes()

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()

public abstract String getServiceAttachmentUri()

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()

public abstract ByteString getServiceAttachmentUriBytes()

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()

public abstract ServiceConnectionMap.ConsumerPscConnection.State getState()

The state of the PSC connection.

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

Returns
Type Description
ServiceConnectionMap.ConsumerPscConnection.State

The state.

getStateValue()

public abstract int getStateValue()

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)

public abstract boolean hasError()

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()

public abstract boolean hasErrorInfo()

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()

public abstract boolean hasIpVersion()

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.