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];
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.
|
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
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.PscConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides