- 1.77.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public static interface ServiceConnectionPolicy.PscConnectionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsProducerInstanceMetadata(String key)
public abstract boolean containsProducerInstanceMetadata(String key)Immutable. An immutable map for the producer instance metadata.
 
 map<string, string> producer_instance_metadata = 12 [(.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| boolean | |
getConsumerAddress()
public abstract String getConsumerAddress()The resource reference of the consumer address.
 string consumer_address = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The consumerAddress. | 
getConsumerAddressBytes()
public abstract ByteString getConsumerAddressBytes()The resource reference of the consumer address.
 string consumer_address = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for consumerAddress. | 
getConsumerForwardingRule()
public abstract String getConsumerForwardingRule()The resource reference of the PSC Forwarding Rule within the consumer VPC.
 string consumer_forwarding_rule = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The consumerForwardingRule. | 
getConsumerForwardingRuleBytes()
public abstract ByteString getConsumerForwardingRuleBytes()The resource reference of the PSC Forwarding Rule within the consumer VPC.
 string consumer_forwarding_rule = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for consumerForwardingRule. | 
getConsumerTargetProject()
public abstract String getConsumerTargetProject()The project where the PSC connection is created.
 string consumer_target_project = 7;
| Returns | |
|---|---|
| Type | Description | 
| String | The consumerTargetProject. | 
getConsumerTargetProjectBytes()
public abstract ByteString getConsumerTargetProjectBytes()The project where the PSC connection is created.
 string consumer_target_project = 7;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for consumerTargetProject. | 
getError() (deprecated)
public abstract Status getError()Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection.error is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=765
The most recent error during operating this connection. Deprecated, please use error_info instead.
 .google.rpc.Status error = 5 [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 = 9 [(.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 = 9 [(.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. Deprecated, please use error_info instead.
 .google.rpc.Status error = 5 [deprecated = true];
| Returns | |
|---|---|
| Type | Description | 
| com.google.rpc.StatusOrBuilder | |
getErrorType() (deprecated)
public abstract ConnectionErrorType getErrorType()Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection.error_type is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=761
The error type indicates whether the error is consumer facing, producer facing or system internal.
 
 .google.cloud.networkconnectivity.v1.ConnectionErrorType error_type = 4 [deprecated = true];
 
| Returns | |
|---|---|
| Type | Description | 
| ConnectionErrorType | The errorType. | 
getErrorTypeValue() (deprecated)
public abstract int getErrorTypeValue()Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection.error_type is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=761
The error type indicates whether the error is consumer facing, producer facing or system internal.
 
 .google.cloud.networkconnectivity.v1.ConnectionErrorType error_type = 4 [deprecated = true];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for errorType. | 
getGceOperation()
public abstract String getGceOperation()The last Compute Engine operation to setup PSC connection.
 string gce_operation = 6;
| Returns | |
|---|---|
| Type | Description | 
| String | The gceOperation. | 
getGceOperationBytes()
public abstract ByteString getGceOperationBytes()The last Compute Engine operation to setup PSC connection.
 string gce_operation = 6;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for gceOperation. | 
getIpVersion()
public abstract IPVersion getIpVersion()The requested IP version for the PSC connection.
 optional .google.cloud.networkconnectivity.v1.IPVersion ip_version = 14;
| 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 = 14;
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for ipVersion. | 
getProducerInstanceId() (deprecated)
public abstract String getProducerInstanceId()Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection.producer_instance_id is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=787
Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
 
 string producer_instance_id = 11 [deprecated = true, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
| String | The producerInstanceId. | 
getProducerInstanceIdBytes() (deprecated)
public abstract ByteString getProducerInstanceIdBytes()Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection.producer_instance_id is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=787
Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
 
 string producer_instance_id = 11 [deprecated = true, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for producerInstanceId. | 
getProducerInstanceMetadata() (deprecated)
public abstract Map<String,String> getProducerInstanceMetadata()Use #getProducerInstanceMetadataMap() instead.
| 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 = 12 [(.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 = 12 [(.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 = 12 [(.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 = 12 [(.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getPscConnectionId()
public abstract String getPscConnectionId()The PSC connection id of the PSC forwarding rule.
 string psc_connection_id = 8;
| Returns | |
|---|---|
| Type | Description | 
| String | The pscConnectionId. | 
getPscConnectionIdBytes()
public abstract ByteString getPscConnectionIdBytes()The PSC connection id of the PSC forwarding rule.
 string psc_connection_id = 8;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for pscConnectionId. | 
getSelectedSubnetwork()
public abstract String getSelectedSubnetwork()Output only. The URI of the subnetwork selected to allocate IP address for this connection.
 string selected_subnetwork = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The selectedSubnetwork. | 
getSelectedSubnetworkBytes()
public abstract ByteString getSelectedSubnetworkBytes()Output only. The URI of the subnetwork selected to allocate IP address for this connection.
 string selected_subnetwork = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for selectedSubnetwork. | 
getServiceClass()
public abstract String getServiceClass()Output only. [Output only] The service class associated with this PSC Connection. The value is derived from the SCPolicy and matches the service class name provided by the customer.
 string service_class = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The serviceClass. | 
getServiceClassBytes()
public abstract ByteString getServiceClassBytes()Output only. [Output only] The service class associated with this PSC Connection. The value is derived from the SCPolicy and matches the service class name provided by the customer.
 string service_class = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for serviceClass. | 
getState()
public abstract ServiceConnectionPolicy.State getState()State of the PSC Connection
 .google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.State state = 1;
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionPolicy.State | The state. | 
getStateValue()
public abstract int getStateValue()State of the PSC Connection
 .google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.State state = 1;
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for state. | 
hasError() (deprecated)
public abstract boolean hasError()Deprecated. google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection.error is deprecated. See google/cloud/networkconnectivity/v1/cross_network_automation.proto;l=765
The most recent error during operating this connection. Deprecated, please use error_info instead.
 .google.rpc.Status error = 5 [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 = 9 [(.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 = 14;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the ipVersion field is set. |