Send feedback
Class Cluster.PscConfig.Builder (0.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.44.0 keyboard_arrow_down
public static final class Cluster . PscConfig . Builder extends GeneratedMessageV3 . Builder<Cluster . PscConfig . Builder > implements Cluster . PscConfigOrBuilder
PscConfig contains PSC related configuration at a cluster level.
Protobuf type google.cloud.alloydb.v1alpha.Cluster.PscConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster . PscConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Cluster . PscConfig build ()
buildPartial()
public Cluster . PscConfig buildPartial ()
clear()
public Cluster . PscConfig . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Cluster . PscConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster . PscConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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];
clone()
public Cluster . PscConfig . Builder clone ()
Overrides
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 GeneratedMessageV3 . 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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster . PscConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster . PscConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster . PscConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster . PscConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["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-01-27 UTC."],[],[]]