Output only. The status of the PSC connection: whether a connection exists
and ACTIVE or it no longer exists. Please note that this value is updated
periodically. Please use Private Service Connect APIs for the latest
status.
Output only. The status of the PSC connection: whether a connection exists
and ACTIVE or it no longer exists. Please note that this value is updated
periodically. Please use Private Service Connect APIs for the latest
status.
The enum numeric value on the wire for pscConnectionStatus.
getServiceAttachment()
publicabstractStringgetServiceAttachment()
Required. The service attachment which is the target of the PSC connection,
in the form of
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
Required. The service attachment which is the target of the PSC connection,
in the form of
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface PscConnectionOrBuilder (0.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.18.0 (latest)](/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-valkey/0.16.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-valkey/0.14.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-valkey/0.13.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-valkey/0.10.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-valkey/0.9.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-valkey/0.8.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-valkey/0.6.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-valkey/0.5.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-valkey/0.4.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-valkey/0.3.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-valkey/0.2.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-valkey/0.1.0/com.google.cloud.memorystore.v1beta.PscConnectionOrBuilder) \n\n public interface PscConnectionOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getConnectionType()\n\n public abstract ConnectionType getConnectionType()\n\nOutput only. Type of the PSC connection.\n\n`\n.google.cloud.memorystore.v1beta.ConnectionType connection_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getConnectionTypeValue()\n\n public abstract int getConnectionTypeValue()\n\nOutput only. Type of the PSC connection.\n\n`\n.google.cloud.memorystore.v1beta.ConnectionType connection_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getForwardingRule()\n\n public abstract String getForwardingRule()\n\nRequired. The URI of the consumer side forwarding rule.\nFormat:\nprojects/{project}/regions/{region}/forwardingRules/{forwarding_rule}\n\n`\nstring forwarding_rule = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getForwardingRuleBytes()\n\n public abstract ByteString getForwardingRuleBytes()\n\nRequired. The URI of the consumer side forwarding rule.\nFormat:\nprojects/{project}/regions/{region}/forwardingRules/{forwarding_rule}\n\n`\nstring forwarding_rule = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getIpAddress()\n\n public abstract String getIpAddress()\n\nRequired. The IP allocated on the consumer network for the PSC forwarding\nrule.\n\n`\nstring ip_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }\n`\n\n### getIpAddressBytes()\n\n public abstract ByteString getIpAddressBytes()\n\nRequired. The IP allocated on the consumer network for the PSC forwarding\nrule.\n\n`\nstring ip_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }\n`\n\n### getNetwork()\n\n public abstract String getNetwork()\n\nRequired. The consumer network where the IP address resides, in the form of\nprojects/{project_id}/global/networks/{network_id}.\n\n`\nstring network = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getNetworkBytes()\n\n public abstract ByteString getNetworkBytes()\n\nRequired. The consumer network where the IP address resides, in the form of\nprojects/{project_id}/global/networks/{network_id}.\n\n`\nstring network = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getProjectId()\n\n public abstract String getProjectId()\n\nOutput only. The consumer project_id where the forwarding rule is created\nfrom.\n\n`string project_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getProjectIdBytes()\n\n public abstract ByteString getProjectIdBytes()\n\nOutput only. The consumer project_id where the forwarding rule is created\nfrom.\n\n`string project_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getPscConnectionId()\n\n public abstract String getPscConnectionId()\n\nOutput only. The PSC connection id of the forwarding rule connected to the\nservice attachment.\n\n`string psc_connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getPscConnectionIdBytes()\n\n public abstract ByteString getPscConnectionIdBytes()\n\nOutput only. The PSC connection id of the forwarding rule connected to the\nservice attachment.\n\n`string psc_connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getPscConnectionStatus()\n\n public abstract PscConnectionStatus getPscConnectionStatus()\n\nOutput only. The status of the PSC connection: whether a connection exists\nand ACTIVE or it no longer exists. Please note that this value is updated\nperiodically. Please use Private Service Connect APIs for the latest\nstatus.\n\n`\n.google.cloud.memorystore.v1beta.PscConnectionStatus psc_connection_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getPscConnectionStatusValue()\n\n public abstract int getPscConnectionStatusValue()\n\nOutput only. The status of the PSC connection: whether a connection exists\nand ACTIVE or it no longer exists. Please note that this value is updated\nperiodically. Please use Private Service Connect APIs for the latest\nstatus.\n\n`\n.google.cloud.memorystore.v1beta.PscConnectionStatus psc_connection_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getServiceAttachment()\n\n public abstract String getServiceAttachment()\n\nRequired. The service attachment which is the target of the PSC connection,\nin the form of\nprojects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.\n\n`\nstring service_attachment = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getServiceAttachmentBytes()\n\n public abstract ByteString getServiceAttachmentBytes()\n\nRequired. The service attachment which is the target of the PSC connection,\nin the form of\nprojects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.\n\n`\nstring service_attachment = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`"]]