Class Cluster.PscConfig (0.44.0)

public static final class Cluster.PscConfig extends GeneratedMessageV3 implements Cluster.PscConfigOrBuilder

PscConfig contains PSC related configuration at a cluster level.

Protobuf type google.cloud.alloydb.v1alpha.Cluster.PscConfig

Static Fields

PSC_ENABLED_FIELD_NUMBER

public static final int PSC_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_OWNED_PROJECT_NUMBER_FIELD_NUMBER

public static final int SERVICE_OWNED_PROJECT_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Cluster.PscConfig getDefaultInstance()
Returns
Type Description
Cluster.PscConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Cluster.PscConfig.Builder newBuilder()
Returns
Type Description
Cluster.PscConfig.Builder

newBuilder(Cluster.PscConfig prototype)

public static Cluster.PscConfig.Builder newBuilder(Cluster.PscConfig prototype)
Parameter
Name Description
prototype Cluster.PscConfig
Returns
Type Description
Cluster.PscConfig.Builder

parseDelimitedFrom(InputStream input)

public static Cluster.PscConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.PscConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Cluster.PscConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Cluster.PscConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Cluster.PscConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Cluster.PscConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Cluster.PscConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.PscConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Cluster.PscConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.PscConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Cluster.PscConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Cluster.PscConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.PscConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Cluster.PscConfig> parser()
Returns
Type Description
Parser<PscConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Cluster.PscConfig getDefaultInstanceForType()
Returns
Type Description
Cluster.PscConfig

getParserForType()

public Parser<Cluster.PscConfig> getParserForType()
Returns
Type Description
Parser<PscConfig>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Cluster.PscConfig.Builder newBuilderForType()
Returns
Type Description
Cluster.PscConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Cluster.PscConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Cluster.PscConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Cluster.PscConfig.Builder toBuilder()
Returns
Type Description
Cluster.PscConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException