Package com.google.cloud.clouddms.v1
Class ConnectionProfile
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.ConnectionProfile
-
- All Implemented Interfaces:
ConnectionProfileOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ConnectionProfile extends com.google.protobuf.GeneratedMessageV3 implements ConnectionProfileOrBuilder
A connection profile definition.
Protobuf typegoogle.cloud.clouddms.v1.ConnectionProfile
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectionProfile.Builder
A connection profile definition.static class
ConnectionProfile.ConnectionProfileCase
static class
ConnectionProfile.State
The current connection profile state (e.g.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALLOYDB_FIELD_NUMBER
static int
CLOUDSQL_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ERROR_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MYSQL_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
ORACLE_FIELD_NUMBER
static int
POSTGRESQL_FIELD_NUMBER
static int
PROVIDER_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.boolean
equals(Object obj)
AlloyDbConnectionProfile
getAlloydb()
An AlloyDB cluster connection profile.AlloyDbConnectionProfileOrBuilder
getAlloydbOrBuilder()
An AlloyDB cluster connection profile.CloudSqlConnectionProfile
getCloudsql()
A CloudSQL database connection profile.CloudSqlConnectionProfileOrBuilder
getCloudsqlOrBuilder()
A CloudSQL database connection profile.ConnectionProfile.ConnectionProfileCase
getConnectionProfileCase()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static ConnectionProfile
getDefaultInstance()
ConnectionProfile
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
The connection profile display name.com.google.protobuf.ByteString
getDisplayNameBytes()
The connection profile display name.com.google.rpc.Status
getError()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
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.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.String
getLabelsOrThrow(String key)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.MySqlConnectionProfile
getMysql()
A MySQL database connection profile.MySqlConnectionProfileOrBuilder
getMysqlOrBuilder()
A MySQL database connection profile.String
getName()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.com.google.protobuf.ByteString
getNameBytes()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.OracleConnectionProfile
getOracle()
An Oracle database connection profile.OracleConnectionProfileOrBuilder
getOracleOrBuilder()
An Oracle database connection profile.com.google.protobuf.Parser<ConnectionProfile>
getParserForType()
PostgreSqlConnectionProfile
getPostgresql()
A PostgreSQL database connection profile.PostgreSqlConnectionProfileOrBuilder
getPostgresqlOrBuilder()
A PostgreSQL database connection profile.DatabaseProvider
getProvider()
The database provider.int
getProviderValue()
The database provider.int
getSerializedSize()
ConnectionProfile.State
getState()
The current connection profile state (e.g.int
getStateValue()
The current connection profile state (e.g.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasAlloydb()
An AlloyDB cluster connection profile.boolean
hasCloudsql()
A CloudSQL database connection profile.boolean
hasCreateTime()
Output only.boolean
hasError()
Output only.int
hashCode()
boolean
hasMysql()
A MySQL database connection profile.boolean
hasOracle()
An Oracle database connection profile.boolean
hasPostgresql()
A PostgreSQL database connection profile.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static ConnectionProfile.Builder
newBuilder()
static ConnectionProfile.Builder
newBuilder(ConnectionProfile prototype)
ConnectionProfile.Builder
newBuilderForType()
protected ConnectionProfile.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ConnectionProfile
parseDelimitedFrom(InputStream input)
static ConnectionProfile
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConnectionProfile
parseFrom(byte[] data)
static ConnectionProfile
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConnectionProfile
parseFrom(com.google.protobuf.ByteString data)
static ConnectionProfile
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConnectionProfile
parseFrom(com.google.protobuf.CodedInputStream input)
static ConnectionProfile
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConnectionProfile
parseFrom(InputStream input)
static ConnectionProfile
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConnectionProfile
parseFrom(ByteBuffer data)
static ConnectionProfile
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ConnectionProfile>
parser()
ConnectionProfile.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MYSQL_FIELD_NUMBER
public static final int MYSQL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSTGRESQL_FIELD_NUMBER
public static final int POSTGRESQL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORACLE_FIELD_NUMBER
public static final int ORACLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUDSQL_FIELD_NUMBER
public static final int CLOUDSQL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOYDB_FIELD_NUMBER
public static final int ALLOYDB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVIDER_FIELD_NUMBER
public static final int PROVIDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getConnectionProfileCase
public ConnectionProfile.ConnectionProfileCase getConnectionProfileCase()
- Specified by:
getConnectionProfileCase
in interfaceConnectionProfileOrBuilder
-
getName
public String getName()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
string name = 1;
- Specified by:
getName
in interfaceConnectionProfileOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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;
- Specified by:
getNameBytes
in interfaceConnectionProfileOrBuilder
- Returns:
- The bytes for name.
-
hasCreateTime
public 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];
- Specified by:
hasCreateTime
in interfaceConnectionProfileOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];
- Specified by:
getCreateTime
in interfaceConnectionProfileOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];
- Specified by:
getCreateTimeOrBuilder
in interfaceConnectionProfileOrBuilder
-
hasUpdateTime
public 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];
- Specified by:
hasUpdateTime
in interfaceConnectionProfileOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];
- Specified by:
getUpdateTime
in interfaceConnectionProfileOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];
- Specified by:
getUpdateTimeOrBuilder
in interfaceConnectionProfileOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ConnectionProfileOrBuilder
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;
- Specified by:
getLabelsCount
in interfaceConnectionProfileOrBuilder
-
containsLabels
public 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;
- Specified by:
containsLabels
in interfaceConnectionProfileOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceConnectionProfileOrBuilder
-
getLabelsMap
public 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;
- Specified by:
getLabelsMap
in interfaceConnectionProfileOrBuilder
-
getLabelsOrDefault
public 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;
- Specified by:
getLabelsOrDefault
in interfaceConnectionProfileOrBuilder
-
getLabelsOrThrow
public 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;
- Specified by:
getLabelsOrThrow
in interfaceConnectionProfileOrBuilder
-
getStateValue
public int getStateValue()
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
- Specified by:
getStateValue
in interfaceConnectionProfileOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public ConnectionProfile.State getState()
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
- Specified by:
getState
in interfaceConnectionProfileOrBuilder
- Returns:
- The state.
-
getDisplayName
public String getDisplayName()
The connection profile display name.
string display_name = 6;
- Specified by:
getDisplayName
in interfaceConnectionProfileOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The connection profile display name.
string display_name = 6;
- Specified by:
getDisplayNameBytes
in interfaceConnectionProfileOrBuilder
- Returns:
- The bytes for displayName.
-
hasMysql
public boolean hasMysql()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
- Specified by:
hasMysql
in interfaceConnectionProfileOrBuilder
- Returns:
- Whether the mysql field is set.
-
getMysql
public MySqlConnectionProfile getMysql()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
- Specified by:
getMysql
in interfaceConnectionProfileOrBuilder
- Returns:
- The mysql.
-
getMysqlOrBuilder
public MySqlConnectionProfileOrBuilder getMysqlOrBuilder()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
- Specified by:
getMysqlOrBuilder
in interfaceConnectionProfileOrBuilder
-
hasPostgresql
public boolean hasPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
- Specified by:
hasPostgresql
in interfaceConnectionProfileOrBuilder
- Returns:
- Whether the postgresql field is set.
-
getPostgresql
public PostgreSqlConnectionProfile getPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
- Specified by:
getPostgresql
in interfaceConnectionProfileOrBuilder
- Returns:
- The postgresql.
-
getPostgresqlOrBuilder
public PostgreSqlConnectionProfileOrBuilder getPostgresqlOrBuilder()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
- Specified by:
getPostgresqlOrBuilder
in interfaceConnectionProfileOrBuilder
-
hasOracle
public boolean hasOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
- Specified by:
hasOracle
in interfaceConnectionProfileOrBuilder
- Returns:
- Whether the oracle field is set.
-
getOracle
public OracleConnectionProfile getOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
- Specified by:
getOracle
in interfaceConnectionProfileOrBuilder
- Returns:
- The oracle.
-
getOracleOrBuilder
public OracleConnectionProfileOrBuilder getOracleOrBuilder()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
- Specified by:
getOracleOrBuilder
in interfaceConnectionProfileOrBuilder
-
hasCloudsql
public boolean hasCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
- Specified by:
hasCloudsql
in interfaceConnectionProfileOrBuilder
- Returns:
- Whether the cloudsql field is set.
-
getCloudsql
public CloudSqlConnectionProfile getCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
- Specified by:
getCloudsql
in interfaceConnectionProfileOrBuilder
- Returns:
- The cloudsql.
-
getCloudsqlOrBuilder
public CloudSqlConnectionProfileOrBuilder getCloudsqlOrBuilder()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
- Specified by:
getCloudsqlOrBuilder
in interfaceConnectionProfileOrBuilder
-
hasAlloydb
public boolean hasAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
- Specified by:
hasAlloydb
in interfaceConnectionProfileOrBuilder
- Returns:
- Whether the alloydb field is set.
-
getAlloydb
public AlloyDbConnectionProfile getAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
- Specified by:
getAlloydb
in interfaceConnectionProfileOrBuilder
- Returns:
- The alloydb.
-
getAlloydbOrBuilder
public AlloyDbConnectionProfileOrBuilder getAlloydbOrBuilder()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
- Specified by:
getAlloydbOrBuilder
in interfaceConnectionProfileOrBuilder
-
hasError
public boolean hasError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasError
in interfaceConnectionProfileOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public 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];
- Specified by:
getError
in interfaceConnectionProfileOrBuilder
- Returns:
- The error.
-
getErrorOrBuilder
public 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];
- Specified by:
getErrorOrBuilder
in interfaceConnectionProfileOrBuilder
-
getProviderValue
public int getProviderValue()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
- Specified by:
getProviderValue
in interfaceConnectionProfileOrBuilder
- Returns:
- The enum numeric value on the wire for provider.
-
getProvider
public DatabaseProvider getProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
- Specified by:
getProvider
in interfaceConnectionProfileOrBuilder
- Returns:
- The provider.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ConnectionProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConnectionProfile parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ConnectionProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ConnectionProfile parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ConnectionProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ConnectionProfile.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ConnectionProfile.Builder newBuilder()
-
newBuilder
public static ConnectionProfile.Builder newBuilder(ConnectionProfile prototype)
-
toBuilder
public ConnectionProfile.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConnectionProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ConnectionProfile getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ConnectionProfile> parser()
-
getParserForType
public com.google.protobuf.Parser<ConnectionProfile> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ConnectionProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-