Class VpcPeeringConnectivity (0.14.1)

public final class VpcPeeringConnectivity extends GeneratedMessageV3 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.events.cloud.clouddms.v1.VpcPeeringConnectivity

Static Fields

VPC_FIELD_NUMBER

public static final int VPC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VpcPeeringConnectivity getDefaultInstance()
Returns
TypeDescription
VpcPeeringConnectivity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VpcPeeringConnectivity.Builder newBuilder()
Returns
TypeDescription
VpcPeeringConnectivity.Builder

newBuilder(VpcPeeringConnectivity prototype)

public static VpcPeeringConnectivity.Builder newBuilder(VpcPeeringConnectivity prototype)
Parameter
NameDescription
prototypeVpcPeeringConnectivity
Returns
TypeDescription
VpcPeeringConnectivity.Builder

parseDelimitedFrom(InputStream input)

public static VpcPeeringConnectivity parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpcPeeringConnectivity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VpcPeeringConnectivity parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VpcPeeringConnectivity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VpcPeeringConnectivity parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VpcPeeringConnectivity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VpcPeeringConnectivity parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VpcPeeringConnectivity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VpcPeeringConnectivity parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpcPeeringConnectivity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VpcPeeringConnectivity parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VpcPeeringConnectivity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpcPeeringConnectivity
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VpcPeeringConnectivity> parser()
Returns
TypeDescription
Parser<VpcPeeringConnectivity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VpcPeeringConnectivity getDefaultInstanceForType()
Returns
TypeDescription
VpcPeeringConnectivity

getParserForType()

public Parser<VpcPeeringConnectivity> getParserForType()
Returns
TypeDescription
Parser<VpcPeeringConnectivity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VpcPeeringConnectivity.Builder newBuilderForType()
Returns
TypeDescription
VpcPeeringConnectivity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VpcPeeringConnectivity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VpcPeeringConnectivity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VpcPeeringConnectivity.Builder toBuilder()
Returns
TypeDescription
VpcPeeringConnectivity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException