Send feedback
Class Instance.PscInstanceConfig (0.43.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.43.0 keyboard_arrow_down
public static final class Instance . PscInstanceConfig extends GeneratedMessageV3 implements Instance . PscInstanceConfigOrBuilder
PscInstanceConfig contains PSC related configuration at an
instance level.
Protobuf type google.cloud.alloydb.v1alpha.Instance.PscInstanceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALLOWED_CONSUMER_PROJECTS_FIELD_NUMBER
public static final int ALLOWED_CONSUMER_PROJECTS_FIELD_NUMBER
Field Value
Type
Description
int
PSC_DNS_NAME_FIELD_NUMBER
public static final int PSC_DNS_NAME_FIELD_NUMBER
Field Value
Type
Description
int
PSC_INTERFACE_CONFIGS_FIELD_NUMBER
public static final int PSC_INTERFACE_CONFIGS_FIELD_NUMBER
Field Value
Type
Description
int
SERVICE_ATTACHMENT_LINK_FIELD_NUMBER
public static final int SERVICE_ATTACHMENT_LINK_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Instance . PscInstanceConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Instance . PscInstanceConfig . Builder newBuilder ()
newBuilder(Instance.PscInstanceConfig prototype)
public static Instance . PscInstanceConfig . Builder newBuilder ( Instance . PscInstanceConfig prototype )
public static Instance . PscInstanceConfig parseDelimitedFrom ( InputStream input )
public static Instance . PscInstanceConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Instance . PscInstanceConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance . PscInstanceConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Instance . PscInstanceConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance . PscInstanceConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Instance . PscInstanceConfig parseFrom ( CodedInputStream input )
public static Instance . PscInstanceConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Instance . PscInstanceConfig parseFrom ( InputStream input )
public static Instance . PscInstanceConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Instance . PscInstanceConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance . PscInstanceConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Instance . PscInstanceConfig > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAllowedConsumerProjects(int index)
public String getAllowedConsumerProjects ( int index )
Optional. List of consumer projects that are allowed to create
PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The allowedConsumerProjects at the given index.
getAllowedConsumerProjectsBytes(int index)
public ByteString getAllowedConsumerProjectsBytes ( int index )
Optional. List of consumer projects that are allowed to create
PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the allowedConsumerProjects at the given index.
getAllowedConsumerProjectsCount()
public int getAllowedConsumerProjectsCount ()
Optional. List of consumer projects that are allowed to create
PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The count of allowedConsumerProjects.
getAllowedConsumerProjectsList()
public ProtocolStringList getAllowedConsumerProjectsList ()
Optional. List of consumer projects that are allowed to create
PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ProtocolStringList
A list containing the allowedConsumerProjects.
getDefaultInstanceForType()
public Instance . PscInstanceConfig getDefaultInstanceForType ()
getParserForType()
public Parser<Instance . PscInstanceConfig > getParserForType ()
Overrides
getPscDnsName()
public String getPscDnsName ()
Output only. The DNS name of the instance for PSC connectivity.
Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
string psc_dns_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The pscDnsName.
getPscDnsNameBytes()
public ByteString getPscDnsNameBytes ()
Output only. The DNS name of the instance for PSC connectivity.
Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
string psc_dns_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for pscDnsName.
getPscInterfaceConfigs(int index)
public Instance . PscInterfaceConfig getPscInterfaceConfigs ( int index )
Optional. Configurations for setting up PSC interfaces attached to the
instance which are used for outbound connectivity. Only primary instances
can have PSC interface attached. Currently we only support 0 or 1 PSC
interface.
repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getPscInterfaceConfigsCount()
public int getPscInterfaceConfigsCount ()
Optional. Configurations for setting up PSC interfaces attached to the
instance which are used for outbound connectivity. Only primary instances
can have PSC interface attached. Currently we only support 0 or 1 PSC
interface.
repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
getPscInterfaceConfigsList()
public List<Instance . PscInterfaceConfig > getPscInterfaceConfigsList ()
Optional. Configurations for setting up PSC interfaces attached to the
instance which are used for outbound connectivity. Only primary instances
can have PSC interface attached. Currently we only support 0 or 1 PSC
interface.
repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigsOrBuilder(int index)
public Instance . PscInterfaceConfigOrBuilder getPscInterfaceConfigsOrBuilder ( int index )
Optional. Configurations for setting up PSC interfaces attached to the
instance which are used for outbound connectivity. Only primary instances
can have PSC interface attached. Currently we only support 0 or 1 PSC
interface.
repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getPscInterfaceConfigsOrBuilderList()
public List <? extends Instance . PscInterfaceConfigOrBuilder > getPscInterfaceConfigsOrBuilderList ()
Optional. Configurations for setting up PSC interfaces attached to the
instance which are used for outbound connectivity. Only primary instances
can have PSC interface attached. Currently we only support 0 or 1 PSC
interface.
repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfigOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getServiceAttachmentLink()
public String getServiceAttachmentLink ()
Output only. The service attachment created when Private
Service Connect (PSC) is enabled for the instance.
The name of the resource will be in the format of
projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>
string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The serviceAttachmentLink.
getServiceAttachmentLinkBytes()
public ByteString getServiceAttachmentLinkBytes ()
Output only. The service attachment created when Private
Service Connect (PSC) is enabled for the instance.
The name of the resource will be in the format of
projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>
string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for serviceAttachmentLink.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Instance . PscInstanceConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance . PscInstanceConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Instance . PscInstanceConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
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-28 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-28 UTC."],[],[]]