Package com.google.cloud.clouddms.v1
Interface ConnectionProfileOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConnectionProfile,ConnectionProfile.Builder
public interface ConnectionProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.AlloyDbConnectionProfilegetAlloydb()An AlloyDB cluster connection profile.AlloyDbConnectionProfileOrBuildergetAlloydbOrBuilder()An AlloyDB cluster connection profile.CloudSqlConnectionProfilegetCloudsql()A CloudSQL database connection profile.CloudSqlConnectionProfileOrBuildergetCloudsqlOrBuilder()A CloudSQL database connection profile.ConnectionProfile.ConnectionProfileCasegetConnectionProfileCase()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDisplayName()The connection profile display name.com.google.protobuf.ByteStringgetDisplayNameBytes()The connection profile display name.com.google.rpc.StatusgetError()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.Map<String,String>getLabelsMap()The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.StringgetLabelsOrDefault(String key, String defaultValue)The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.StringgetLabelsOrThrow(String key)The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.MySqlConnectionProfilegetMysql()A MySQL database connection profile.MySqlConnectionProfileOrBuildergetMysqlOrBuilder()A MySQL database connection profile.StringgetName()The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.com.google.protobuf.ByteStringgetNameBytes()The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.OracleConnectionProfilegetOracle()An Oracle database connection profile.OracleConnectionProfileOrBuildergetOracleOrBuilder()An Oracle database connection profile.PostgreSqlConnectionProfilegetPostgresql()A PostgreSQL database connection profile.PostgreSqlConnectionProfileOrBuildergetPostgresqlOrBuilder()A PostgreSQL database connection profile.DatabaseProvidergetProvider()The database provider.intgetProviderValue()The database provider.ConnectionProfile.StategetState()The current connection profile state (e.g.intgetStateValue()The current connection profile state (e.g.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAlloydb()An AlloyDB cluster connection profile.booleanhasCloudsql()A CloudSQL database connection profile.booleanhasCreateTime()Output only.booleanhasError()Output only.booleanhasMysql()A MySQL database connection profile.booleanhasOracle()An Oracle database connection profile.booleanhasPostgresql()A PostgreSQL database connection profile.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.string name = 1;- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.map<string, string> labels = 4;
-
getStateValue
int getStateValue()
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;- Returns:
- The enum numeric value on the wire for state.
-
getState
ConnectionProfile.State getState()
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;- Returns:
- The state.
-
getDisplayName
String getDisplayName()
The connection profile display name.
string display_name = 6;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
The connection profile display name.
string display_name = 6;- Returns:
- The bytes for displayName.
-
hasMysql
boolean hasMysql()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;- Returns:
- Whether the mysql field is set.
-
getMysql
MySqlConnectionProfile getMysql()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;- Returns:
- The mysql.
-
getMysqlOrBuilder
MySqlConnectionProfileOrBuilder getMysqlOrBuilder()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
-
hasPostgresql
boolean hasPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;- Returns:
- Whether the postgresql field is set.
-
getPostgresql
PostgreSqlConnectionProfile getPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;- Returns:
- The postgresql.
-
getPostgresqlOrBuilder
PostgreSqlConnectionProfileOrBuilder getPostgresqlOrBuilder()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
-
hasOracle
boolean hasOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;- Returns:
- Whether the oracle field is set.
-
getOracle
OracleConnectionProfile getOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;- Returns:
- The oracle.
-
getOracleOrBuilder
OracleConnectionProfileOrBuilder getOracleOrBuilder()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
-
hasCloudsql
boolean hasCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;- Returns:
- Whether the cloudsql field is set.
-
getCloudsql
CloudSqlConnectionProfile getCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;- Returns:
- The cloudsql.
-
getCloudsqlOrBuilder
CloudSqlConnectionProfileOrBuilder getCloudsqlOrBuilder()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
-
hasAlloydb
boolean hasAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;- Returns:
- Whether the alloydb field is set.
-
getAlloydb
AlloyDbConnectionProfile getAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;- Returns:
- The alloydb.
-
getAlloydbOrBuilder
AlloyDbConnectionProfileOrBuilder getAlloydbOrBuilder()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
-
hasError
boolean hasError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the error field is set.
-
getError
com.google.rpc.Status getError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getProviderValue
int getProviderValue()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;- Returns:
- The enum numeric value on the wire for provider.
-
getProvider
DatabaseProvider getProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;- Returns:
- The provider.
-
getConnectionProfileCase
ConnectionProfile.ConnectionProfileCase getConnectionProfileCase()
-
-