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.v1alpha.Instance.PscInterfaceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.PscInterfaceConfig.BuilderImplements
Instance.PscInterfaceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.PscInterfaceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
build()
public Instance.PscInterfaceConfig build()
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig |
buildPartial()
public Instance.PscInterfaceConfig buildPartial()
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig |
clear()
public Instance.PscInterfaceConfig.Builder clear()
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public Instance.PscInterfaceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
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;
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.PscInterfaceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
clone()
public Instance.PscInterfaceConfig.Builder clone()
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
getDefaultInstanceForType()
public Instance.PscInterfaceConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Instance.PscInterfaceConfig other)
public Instance.PscInterfaceConfig.Builder mergeFrom(Instance.PscInterfaceConfig other)
Parameter | |
---|---|
Name | Description |
other |
Instance.PscInterfaceConfig |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.PscInterfaceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Instance.PscInterfaceConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.PscInterfaceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.PscInterfaceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
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. |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.PscInterfaceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.PscInterfaceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.PscInterfaceConfig.Builder |