Class Instance.PscInterfaceConfig.Builder (0.65.0)
public static final class Instance.PscInterfaceConfig.Builder extends GeneratedMessageV3.Builder<Instance.PscInterfaceConfig.Builder> implements Instance.PscInterfaceConfigOrBuilder
Configuration for setting up a PSC interface to enable outbound
connectivity.
Protobuf type google.cloud.alloydb.v1.Instance.PscInterfaceConfig
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 Instance.PscInterfaceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Instance.PscInterfaceConfig build()
buildPartial()
public Instance.PscInterfaceConfig buildPartial()
clear()
public Instance.PscInterfaceConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Instance.PscInterfaceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNetworkAttachmentResource()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.PscInterfaceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Instance.PscInterfaceConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public Instance.PscInterfaceConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNetworkAttachmentResource()
public 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;
Returns |
Type |
Description |
String |
The networkAttachmentResource.
|
getNetworkAttachmentResourceBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for networkAttachmentResource.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Instance.PscInterfaceConfig other)
public Instance.PscInterfaceConfig.Builder mergeFrom(Instance.PscInterfaceConfig other)
public Instance.PscInterfaceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Instance.PscInterfaceConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.PscInterfaceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.PscInterfaceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNetworkAttachmentResource(String value)
public 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;
Parameter |
Name |
Description |
value |
String
The networkAttachmentResource to set.
|
setNetworkAttachmentResourceBytes(ByteString value)
public Instance.PscInterfaceConfig.Builder setNetworkAttachmentResourceBytes(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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for networkAttachmentResource to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.PscInterfaceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.PscInterfaceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]