public static final class Instance.PscInterfaceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.PscInterfaceConfig.Builder> implements Instance.PscInterfaceConfigOrBuilder
Configuration for setting up a PSC interface to enable outbound connectivity.Protobuf type
google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig| Modifier and Type | Method and Description |
|---|---|
Instance.PscInterfaceConfig |
build() |
Instance.PscInterfaceConfig |
buildPartial() |
Instance.PscInterfaceConfig.Builder |
clear() |
Instance.PscInterfaceConfig.Builder |
clearNetworkAttachmentResource()
The network attachment resource created in the consumer network to which
the PSC interface will be linked.
|
Instance.PscInterfaceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNetworkAttachmentResource()
The network attachment resource created in the consumer network to which
the PSC interface will be linked.
|
com.google.protobuf.ByteString |
getNetworkAttachmentResourceBytes()
The network attachment resource created in the consumer network to which
the PSC interface will be linked.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Instance.PscInterfaceConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.PscInterfaceConfig.Builder |
mergeFrom(Instance.PscInterfaceConfig other) |
Instance.PscInterfaceConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.PscInterfaceConfig.Builder |
setNetworkAttachmentResource(String value)
The network attachment resource created in the consumer network to which
the PSC interface will be linked.
|
Instance.PscInterfaceConfig.Builder |
setNetworkAttachmentResourceBytes(com.google.protobuf.ByteString value)
The network attachment resource created in the consumer network to which
the PSC interface will be linked.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Instance.PscInterfaceConfig.Builder>public Instance.PscInterfaceConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Instance.PscInterfaceConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Instance.PscInterfaceConfig.Builder>public Instance.PscInterfaceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance.PscInterfaceConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance.PscInterfaceConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.PscInterfaceConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.PscInterfaceConfig.Builder>public Instance.PscInterfaceConfig.Builder mergeFrom(Instance.PscInterfaceConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Instance.PscInterfaceConfig.Builder>public Instance.PscInterfaceConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.PscInterfaceConfig.Builder>IOExceptionpublic String getNetworkAttachmentResource()
The network attachment resource created in the consumer network to which
the PSC interface will be linked. This is of the format:
"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}".
The network attachment must be in the same region as the instance.
string network_attachment_resource = 1;getNetworkAttachmentResource in interface Instance.PscInterfaceConfigOrBuilderpublic com.google.protobuf.ByteString getNetworkAttachmentResourceBytes()
The network attachment resource created in the consumer network to which
the PSC interface will be linked. This is of the format:
"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}".
The network attachment must be in the same region as the instance.
string network_attachment_resource = 1;getNetworkAttachmentResourceBytes in interface Instance.PscInterfaceConfigOrBuilderpublic Instance.PscInterfaceConfig.Builder setNetworkAttachmentResource(String value)
The network attachment resource created in the consumer network to which
the PSC interface will be linked. This is of the format:
"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}".
The network attachment must be in the same region as the instance.
string network_attachment_resource = 1;value - The networkAttachmentResource to set.public Instance.PscInterfaceConfig.Builder clearNetworkAttachmentResource()
The network attachment resource created in the consumer network to which
the PSC interface will be linked. This is of the format:
"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}".
The network attachment must be in the same region as the instance.
string network_attachment_resource = 1;public Instance.PscInterfaceConfig.Builder setNetworkAttachmentResourceBytes(com.google.protobuf.ByteString value)
The network attachment resource created in the consumer network to which
the PSC interface will be linked. This is of the format:
"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}".
The network attachment must be in the same region as the instance.
string network_attachment_resource = 1;value - The bytes for networkAttachmentResource to set.Copyright © 2026 Google LLC. All rights reserved.