Class VpcPeeringConnectivity.Builder (2.82.0)

public static final class VpcPeeringConnectivity.Builder extends GeneratedMessage.Builder<VpcPeeringConnectivity.Builder> implements VpcPeeringConnectivityOrBuilder

The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.

Protobuf type google.cloud.clouddms.v1.VpcPeeringConnectivity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public VpcPeeringConnectivity build()
Returns
Type Description
VpcPeeringConnectivity

buildPartial()

public VpcPeeringConnectivity buildPartial()
Returns
Type Description
VpcPeeringConnectivity

clear()

public VpcPeeringConnectivity.Builder clear()
Returns
Type Description
VpcPeeringConnectivity.Builder
Overrides

clearVpc()

public VpcPeeringConnectivity.Builder clearVpc()

The name of the VPC network to peer with the Cloud SQL private network.

string vpc = 1;

Returns
Type Description
VpcPeeringConnectivity.Builder

This builder for chaining.

getDefaultInstanceForType()

public VpcPeeringConnectivity getDefaultInstanceForType()
Returns
Type Description
VpcPeeringConnectivity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVpc()

public String getVpc()

The name of the VPC network to peer with the Cloud SQL private network.

string vpc = 1;

Returns
Type Description
String

The vpc.

getVpcBytes()

public ByteString getVpcBytes()

The name of the VPC network to peer with the Cloud SQL private network.

string vpc = 1;

Returns
Type Description
ByteString

The bytes for vpc.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VpcPeeringConnectivity other)

public VpcPeeringConnectivity.Builder mergeFrom(VpcPeeringConnectivity other)
Parameter
Name Description
other VpcPeeringConnectivity
Returns
Type Description
VpcPeeringConnectivity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpcPeeringConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpcPeeringConnectivity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VpcPeeringConnectivity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VpcPeeringConnectivity.Builder
Overrides

setVpc(String value)

public VpcPeeringConnectivity.Builder setVpc(String value)

The name of the VPC network to peer with the Cloud SQL private network.

string vpc = 1;

Parameter
Name Description
value String

The vpc to set.

Returns
Type Description
VpcPeeringConnectivity.Builder

This builder for chaining.

setVpcBytes(ByteString value)

public VpcPeeringConnectivity.Builder setVpcBytes(ByteString value)

The name of the VPC network to peer with the Cloud SQL private network.

string vpc = 1;

Parameter
Name Description
value ByteString

The bytes for vpc to set.

Returns
Type Description
VpcPeeringConnectivity.Builder

This builder for chaining.