- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Instance.PscInterfaceConfig.Builder extends GeneratedMessageV3.Builder<Instance.PscInterfaceConfig.Builder> implements Instance.PscInterfaceConfigOrBuilderConfiguration for setting up a PSC interface. This information needs to be provided by the customer. PSC interfaces will be created and added to VMs via SLM (adding a network interface will require recreating the VM). For HA instances this will be done via LDTM.
Protobuf type google.cloud.alloydb.v1beta.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
addAllConsumerEndpointIps(Iterable<String> values)
public Instance.PscInterfaceConfig.Builder addAllConsumerEndpointIps(Iterable<String> values)A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The consumerEndpointIps to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
addConsumerEndpointIps(String value)
public Instance.PscInterfaceConfig.Builder addConsumerEndpointIps(String value)A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe consumerEndpointIps to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
addConsumerEndpointIpsBytes(ByteString value)
public Instance.PscInterfaceConfig.Builder addConsumerEndpointIpsBytes(ByteString value)A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the consumerEndpointIps to add. |
| Returns | |
|---|---|
| Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
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 |
|
clearConsumerEndpointIps()
public Instance.PscInterfaceConfig.Builder clearConsumerEndpointIps()A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Returns | |
|---|---|
| Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Instance.PscInterfaceConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Instance.PscInterfaceConfig.Builder |
|
clearNetworkAttachment()
public Instance.PscInterfaceConfig.Builder clearNetworkAttachment() The NetworkAttachment resource created in the consumer VPC to which the
PSC interface will be linked, in the form of:
projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}.
NetworkAttachment has to be provided when the PSC interface is created.
string network_attachment = 2;
| 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 |
|
getConsumerEndpointIps(int index)
public String getConsumerEndpointIps(int index)A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The consumerEndpointIps at the given index. |
getConsumerEndpointIpsBytes(int index)
public ByteString getConsumerEndpointIpsBytes(int index)A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the consumerEndpointIps at the given index. |
getConsumerEndpointIpsCount()
public int getConsumerEndpointIpsCount()A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of consumerEndpointIps. |
getConsumerEndpointIpsList()
public ProtocolStringList getConsumerEndpointIpsList()A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the consumerEndpointIps. |
getDefaultInstanceForType()
public Instance.PscInterfaceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance.PscInterfaceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNetworkAttachment()
public String getNetworkAttachment() The NetworkAttachment resource created in the consumer VPC to which the
PSC interface will be linked, in the form of:
projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}.
NetworkAttachment has to be provided when the PSC interface is created.
string network_attachment = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The networkAttachment. |
getNetworkAttachmentBytes()
public ByteString getNetworkAttachmentBytes() The NetworkAttachment resource created in the consumer VPC to which the
PSC interface will be linked, in the form of:
projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}.
NetworkAttachment has to be provided when the PSC interface is created.
string network_attachment = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkAttachment. |
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 |
|
setConsumerEndpointIps(int index, String value)
public Instance.PscInterfaceConfig.Builder setConsumerEndpointIps(int index, String value)A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
repeated string consumer_endpoint_ips = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe consumerEndpointIps to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
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 |
|
setNetworkAttachment(String value)
public Instance.PscInterfaceConfig.Builder setNetworkAttachment(String value) The NetworkAttachment resource created in the consumer VPC to which the
PSC interface will be linked, in the form of:
projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}.
NetworkAttachment has to be provided when the PSC interface is created.
string network_attachment = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkAttachment to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PscInterfaceConfig.Builder |
This builder for chaining. |
setNetworkAttachmentBytes(ByteString value)
public Instance.PscInterfaceConfig.Builder setNetworkAttachmentBytes(ByteString value) The NetworkAttachment resource created in the consumer VPC to which the
PSC interface will be linked, in the form of:
projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}.
NetworkAttachment has to be provided when the PSC interface is created.
string network_attachment = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkAttachment 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 |
|