Class Cluster.PscConfig.Builder (0.72.0)
Version latestkeyboard_arrow_down
public static final class Cluster . PscConfig . Builder extends GeneratedMessage . Builder<Cluster . PscConfig . Builder > implements Cluster . PscConfigOrBuilder
PscConfig contains PSC related configuration at a cluster level.
Protobuf type google.cloud.alloydb.v1beta.Cluster.PscConfig
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public Cluster . PscConfig build ()
buildPartial()
public Cluster . PscConfig buildPartial ()
clear()
public Cluster . PscConfig . Builder clear ()
Overrides
clearPscEnabled()
public Cluster . PscConfig . Builder clearPscEnabled ()
Optional. Create an instance that allows connections from Private Service
Connect endpoints to the instance.
bool psc_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
clearServiceOwnedProjectNumber()
public Cluster . PscConfig . Builder clearServiceOwnedProjectNumber ()
Output only. The project number that needs to be allowlisted on the
network attachment to enable outbound connectivity.
int64 service_owned_project_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Cluster . PscConfig getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getPscEnabled()
public boolean getPscEnabled ()
Optional. Create an instance that allows connections from Private Service
Connect endpoints to the instance.
bool psc_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
The pscEnabled.
getServiceOwnedProjectNumber()
public long getServiceOwnedProjectNumber ()
Output only. The project number that needs to be allowlisted on the
network attachment to enable outbound connectivity.
int64 service_owned_project_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
long
The serviceOwnedProjectNumber.
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Cluster.PscConfig other)
public Cluster . PscConfig . Builder mergeFrom ( Cluster . PscConfig other )
public Cluster . PscConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Cluster . PscConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
setPscEnabled(boolean value)
public Cluster . PscConfig . Builder setPscEnabled ( boolean value )
Optional. Create an instance that allows connections from Private Service
Connect endpoints to the instance.
bool psc_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
boolean The pscEnabled to set.
setServiceOwnedProjectNumber(long value)
public Cluster . PscConfig . Builder setServiceOwnedProjectNumber ( long value )
Output only. The project number that needs to be allowlisted on the
network attachment to enable outbound connectivity.
int64 service_owned_project_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
long The serviceOwnedProjectNumber to 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 2026-01-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-31 UTC."],[],[]]