Interface ConnectionOrBuilder (3.48.0)

public interface ConnectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudSql()

public abstract CloudSqlProperties getCloudSql()

Connect to a Cloud SQL instance.

.google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4;

Returns
Type Description
CloudSqlProperties

The cloudSql.

getCloudSqlOrBuilder()

public abstract CloudSqlPropertiesOrBuilder getCloudSqlOrBuilder()

Connect to a Cloud SQL instance.

.google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4;

Returns
Type Description
CloudSqlPropertiesOrBuilder

getErrors(int index)

public abstract Error getErrors(int index)

Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.

repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Error

getErrorsCount()

public abstract int getErrorsCount()

Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.

repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getErrorsList()

public abstract List<Error> getErrorsList()

Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.

repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Error>

getErrorsOrBuilder(int index)

public abstract ErrorOrBuilder getErrorsOrBuilder(int index)

Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.

repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ErrorOrBuilder

getErrorsOrBuilderList()

public abstract List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.

repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getName()

public abstract String getName()

Output only. Name of the connection: projects/{project}/locations/{location}/connections/{name}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Name of the connection: projects/{project}/locations/{location}/connections/{name}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPropertiesCase()

public abstract Connection.PropertiesCase getPropertiesCase()
Returns
Type Description
Connection.PropertiesCase

getState()

public abstract ConnectionState getState()

Required. The connection's state in its lifecycle.

.google.privacy.dlp.v2.ConnectionState state = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectionState

The state.

getStateValue()

public abstract int getStateValue()

Required. The connection's state in its lifecycle.

.google.privacy.dlp.v2.ConnectionState state = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasCloudSql()

public abstract boolean hasCloudSql()

Connect to a Cloud SQL instance.

.google.privacy.dlp.v2.CloudSqlProperties cloud_sql = 4;

Returns
Type Description
boolean

Whether the cloudSql field is set.