public static final class Instance.PscInstanceConfig extends com.google.protobuf.GeneratedMessageV3 implements Instance.PscInstanceConfigOrBuilder
PscInstanceConfig contains PSC related configuration at an instance level.Protobuf type
google.cloud.alloydb.v1.Instance.PscInstanceConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.PscInstanceConfig.Builder
PscInstanceConfig contains PSC related configuration at an
instance level.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOWED_CONSUMER_PROJECTS_FIELD_NUMBER |
static int |
PSC_AUTO_CONNECTIONS_FIELD_NUMBER |
static int |
PSC_DNS_NAME_FIELD_NUMBER |
static int |
PSC_INTERFACE_CONFIGS_FIELD_NUMBER |
static int |
SERVICE_ATTACHMENT_LINK_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVICE_ATTACHMENT_LINK_FIELD_NUMBER
public static final int ALLOWED_CONSUMER_PROJECTS_FIELD_NUMBER
public static final int PSC_DNS_NAME_FIELD_NUMBER
public static final int PSC_INTERFACE_CONFIGS_FIELD_NUMBER
public static final int PSC_AUTO_CONNECTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];getServiceAttachmentLink in interface Instance.PscInstanceConfigOrBuilderpublic com.google.protobuf.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];getServiceAttachmentLinkBytes in interface Instance.PscInstanceConfigOrBuilderpublic com.google.protobuf.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];
getAllowedConsumerProjectsList in interface Instance.PscInstanceConfigOrBuilderpublic 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];
getAllowedConsumerProjectsCount in interface Instance.PscInstanceConfigOrBuilderpublic 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];
getAllowedConsumerProjects in interface Instance.PscInstanceConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.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];
getAllowedConsumerProjectsBytes in interface Instance.PscInstanceConfigOrBuilderindex - The index of the value to return.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];getPscDnsName in interface Instance.PscInstanceConfigOrBuilderpublic com.google.protobuf.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];getPscDnsNameBytes in interface Instance.PscInstanceConfigOrBuilderpublic 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.v1.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigsList in interface Instance.PscInstanceConfigOrBuilderpublic 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.v1.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigsOrBuilderList in interface Instance.PscInstanceConfigOrBuilderpublic 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.v1.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigsCount in interface Instance.PscInstanceConfigOrBuilderpublic 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.v1.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigs in interface Instance.PscInstanceConfigOrBuilderpublic 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.v1.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigsOrBuilder in interface Instance.PscInstanceConfigOrBuilderpublic List<Instance.PscAutoConnectionConfig> getPscAutoConnectionsList()
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
getPscAutoConnectionsList in interface Instance.PscInstanceConfigOrBuilderpublic List<? extends Instance.PscAutoConnectionConfigOrBuilder> getPscAutoConnectionsOrBuilderList()
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
getPscAutoConnectionsOrBuilderList in interface Instance.PscInstanceConfigOrBuilderpublic int getPscAutoConnectionsCount()
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
getPscAutoConnectionsCount in interface Instance.PscInstanceConfigOrBuilderpublic Instance.PscAutoConnectionConfig getPscAutoConnections(int index)
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
getPscAutoConnections in interface Instance.PscInstanceConfigOrBuilderpublic Instance.PscAutoConnectionConfigOrBuilder getPscAutoConnectionsOrBuilder(int index)
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
getPscAutoConnectionsOrBuilder in interface Instance.PscInstanceConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Instance.PscInstanceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscInstanceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscInstanceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscInstanceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscInstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscInstanceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscInstanceConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Instance.PscInstanceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance.PscInstanceConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Instance.PscInstanceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance.PscInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Instance.PscInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Instance.PscInstanceConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Instance.PscInstanceConfig.Builder newBuilder()
public static Instance.PscInstanceConfig.Builder newBuilder(Instance.PscInstanceConfig prototype)
public Instance.PscInstanceConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Instance.PscInstanceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Instance.PscInstanceConfig getDefaultInstance()
public static com.google.protobuf.Parser<Instance.PscInstanceConfig> parser()
public com.google.protobuf.Parser<Instance.PscInstanceConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Instance.PscInstanceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.