Class VpcPeeringConnectivity.Builder (2.43.0)

public static final class VpcPeeringConnectivity.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpcPeeringConnectivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpcPeeringConnectivity.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public VpcPeeringConnectivity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VpcPeeringConnectivity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VpcPeeringConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpcPeeringConnectivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpcPeeringConnectivity.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VpcPeeringConnectivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpcPeeringConnectivity.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VpcPeeringConnectivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VpcPeeringConnectivity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VpcPeeringConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.