Interface OnPremisesConfigurationOrBuilder (0.1.0)

public interface OnPremisesConfigurationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaCertificate()

public abstract String getCaCertificate()

PEM representation of the trusted CA's x509 certificate.

string ca_certificate = 5;

Returns
Type Description
String

The caCertificate.

getCaCertificateBytes()

public abstract ByteString getCaCertificateBytes()

PEM representation of the trusted CA's x509 certificate.

string ca_certificate = 5;

Returns
Type Description
ByteString

The bytes for caCertificate.

getClientCertificate()

public abstract String getClientCertificate()

PEM representation of the replica's x509 certificate.

string client_certificate = 6;

Returns
Type Description
String

The clientCertificate.

getClientCertificateBytes()

public abstract ByteString getClientCertificateBytes()

PEM representation of the replica's x509 certificate.

string client_certificate = 6;

Returns
Type Description
ByteString

The bytes for clientCertificate.

getClientKey()

public abstract String getClientKey()

PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.

string client_key = 7;

Returns
Type Description
String

The clientKey.

getClientKeyBytes()

public abstract ByteString getClientKeyBytes()

PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.

string client_key = 7;

Returns
Type Description
ByteString

The bytes for clientKey.

getDmsManaged()

public abstract boolean getDmsManaged()

Output only. Indicates whether the resource is managed by Database Migration Service.

bool dms_managed = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The dmsManaged.

getDumpFilePath()

public abstract String getDumpFilePath()

The dump file to create the Cloud SQL replica.

string dump_file_path = 8;

Returns
Type Description
String

The dumpFilePath.

getDumpFilePathBytes()

public abstract ByteString getDumpFilePathBytes()

The dump file to create the Cloud SQL replica.

string dump_file_path = 8;

Returns
Type Description
ByteString

The bytes for dumpFilePath.

getHostPort()

public abstract String getHostPort()

The host and port of the on-premises instance in host:port format

string host_port = 1;

Returns
Type Description
String

The hostPort.

getHostPortBytes()

public abstract ByteString getHostPortBytes()

The host and port of the on-premises instance in host:port format

string host_port = 1;

Returns
Type Description
ByteString

The bytes for hostPort.

getKind()

public abstract String getKind()

This is always sql#onPremisesConfiguration.

string kind = 2;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

This is always sql#onPremisesConfiguration.

string kind = 2;

Returns
Type Description
ByteString

The bytes for kind.

getPassword()

public abstract String getPassword()

The password for connecting to on-premises instance.

string password = 4;

Returns
Type Description
String

The password.

getPasswordBytes()

public abstract ByteString getPasswordBytes()

The password for connecting to on-premises instance.

string password = 4;

Returns
Type Description
ByteString

The bytes for password.

getSelectedObjects(int index)

public abstract SelectedObjects getSelectedObjects(int index)

Optional. A list of objects that the user selects for replication from an external source instance.

repeated .google.cloud.sql.v1.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SelectedObjects

getSelectedObjectsCount()

public abstract int getSelectedObjectsCount()

Optional. A list of objects that the user selects for replication from an external source instance.

repeated .google.cloud.sql.v1.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSelectedObjectsList()

public abstract List<SelectedObjects> getSelectedObjectsList()

Optional. A list of objects that the user selects for replication from an external source instance.

repeated .google.cloud.sql.v1.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SelectedObjects>

getSelectedObjectsOrBuilder(int index)

public abstract SelectedObjectsOrBuilder getSelectedObjectsOrBuilder(int index)

Optional. A list of objects that the user selects for replication from an external source instance.

repeated .google.cloud.sql.v1.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SelectedObjectsOrBuilder

getSelectedObjectsOrBuilderList()

public abstract List<? extends SelectedObjectsOrBuilder> getSelectedObjectsOrBuilderList()

Optional. A list of objects that the user selects for replication from an external source instance.

repeated .google.cloud.sql.v1.SelectedObjects selected_objects = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.sql.v1.SelectedObjectsOrBuilder>

getSourceInstance()

public abstract InstanceReference getSourceInstance()

The reference to Cloud SQL instance if the source is Cloud SQL.

.google.cloud.sql.v1.InstanceReference source_instance = 15;

Returns
Type Description
InstanceReference

The sourceInstance.

getSourceInstanceOrBuilder()

public abstract InstanceReferenceOrBuilder getSourceInstanceOrBuilder()

The reference to Cloud SQL instance if the source is Cloud SQL.

.google.cloud.sql.v1.InstanceReference source_instance = 15;

Returns
Type Description
InstanceReferenceOrBuilder

getSslOption()

public abstract OnPremisesConfiguration.SslOption getSslOption()

Optional. SSL option for replica connection to the on-premises source.

.google.cloud.sql.v1.OnPremisesConfiguration.SslOption ssl_option = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OnPremisesConfiguration.SslOption

The sslOption.

getSslOptionValue()

public abstract int getSslOptionValue()

Optional. SSL option for replica connection to the on-premises source.

.google.cloud.sql.v1.OnPremisesConfiguration.SslOption ssl_option = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sslOption.

getUsername()

public abstract String getUsername()

The username for connecting to on-premises instance.

string username = 3;

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

The username for connecting to on-premises instance.

string username = 3;

Returns
Type Description
ByteString

The bytes for username.

hasSourceInstance()

public abstract boolean hasSourceInstance()

The reference to Cloud SQL instance if the source is Cloud SQL.

.google.cloud.sql.v1.InstanceReference source_instance = 15;

Returns
Type Description
boolean

Whether the sourceInstance field is set.