Class VpcPeeringConnectivity.Builder (2.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpcPeeringConnectivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

build()

public VpcPeeringConnectivity build()
Returns
TypeDescription
VpcPeeringConnectivity

buildPartial()

public VpcPeeringConnectivity buildPartial()
Returns
TypeDescription
VpcPeeringConnectivity

clear()

public VpcPeeringConnectivity.Builder clear()
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VpcPeeringConnectivity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VpcPeeringConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
VpcPeeringConnectivity.Builder

This builder for chaining.

clone()

public VpcPeeringConnectivity.Builder clone()
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

getDefaultInstanceForType()

public VpcPeeringConnectivity getDefaultInstanceForType()
Returns
TypeDescription
VpcPeeringConnectivity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVpc()

public String getVpc()

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

string vpc = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for vpc.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VpcPeeringConnectivity other)

public VpcPeeringConnectivity.Builder mergeFrom(VpcPeeringConnectivity other)
Parameter
NameDescription
otherVpcPeeringConnectivity
Returns
TypeDescription
VpcPeeringConnectivity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpcPeeringConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VpcPeeringConnectivity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpcPeeringConnectivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VpcPeeringConnectivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

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

public VpcPeeringConnectivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VpcPeeringConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The vpc to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for vpc to set.

Returns
TypeDescription
VpcPeeringConnectivity.Builder

This builder for chaining.