Class StaticIpConnectivity.Builder (2.7.0)

public static final class StaticIpConnectivity.Builder extends GeneratedMessageV3.Builder<StaticIpConnectivity.Builder> implements StaticIpConnectivityOrBuilder

The source database will allow incoming connections from the destination database's public IP. You can retrieve the Cloud SQL instance's public IP from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.

Protobuf type google.cloud.clouddms.v1.StaticIpConnectivity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StaticIpConnectivity build()
Returns
TypeDescription
StaticIpConnectivity

buildPartial()

public StaticIpConnectivity buildPartial()
Returns
TypeDescription
StaticIpConnectivity

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StaticIpConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StaticIpConnectivity.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public StaticIpConnectivity getDefaultInstanceForType()
Returns
TypeDescription
StaticIpConnectivity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StaticIpConnectivity other)

public StaticIpConnectivity.Builder mergeFrom(StaticIpConnectivity other)
Parameter
NameDescription
otherStaticIpConnectivity
Returns
TypeDescription
StaticIpConnectivity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final StaticIpConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StaticIpConnectivity.Builder
Overrides