Package com.google.cloud.clouddms.v1
Class ConnectionProfile.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
- com.google.cloud.clouddms.v1.ConnectionProfile.Builder
-
- All Implemented Interfaces:
ConnectionProfileOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ConnectionProfile
public static final class ConnectionProfile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder> implements ConnectionProfileOrBuilder
A connection profile definition.
Protobuf typegoogle.cloud.clouddms.v1.ConnectionProfile
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConnectionProfile.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConnectionProfile
build()
ConnectionProfile
buildPartial()
ConnectionProfile.Builder
clear()
ConnectionProfile.Builder
clearAlloydb()
An AlloyDB cluster connection profile.ConnectionProfile.Builder
clearCloudsql()
A CloudSQL database connection profile.ConnectionProfile.Builder
clearConnectionProfile()
ConnectionProfile.Builder
clearCreateTime()
Output only.ConnectionProfile.Builder
clearDisplayName()
The connection profile display name.ConnectionProfile.Builder
clearError()
Output only.ConnectionProfile.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ConnectionProfile.Builder
clearLabels()
ConnectionProfile.Builder
clearMysql()
A MySQL database connection profile.ConnectionProfile.Builder
clearName()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.ConnectionProfile.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConnectionProfile.Builder
clearOracle()
An Oracle database connection profile.ConnectionProfile.Builder
clearPostgresql()
A PostgreSQL database connection profile.ConnectionProfile.Builder
clearProvider()
The database provider.ConnectionProfile.Builder
clearState()
The current connection profile state (e.g.ConnectionProfile.Builder
clearUpdateTime()
Output only.ConnectionProfile.Builder
clone()
boolean
containsLabels(String key)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.AlloyDbConnectionProfile
getAlloydb()
An AlloyDB cluster connection profile.AlloyDbConnectionProfile.Builder
getAlloydbBuilder()
An AlloyDB cluster connection profile.AlloyDbConnectionProfileOrBuilder
getAlloydbOrBuilder()
An AlloyDB cluster connection profile.CloudSqlConnectionProfile
getCloudsql()
A CloudSQL database connection profile.CloudSqlConnectionProfile.Builder
getCloudsqlBuilder()
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.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.ConnectionProfile
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.Status.Builder
getErrorBuilder()
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.Map<String,String>
getMutableLabels()
Deprecated.MySqlConnectionProfile
getMysql()
A MySQL database connection profile.MySqlConnectionProfile.Builder
getMysqlBuilder()
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.OracleConnectionProfile.Builder
getOracleBuilder()
An Oracle database connection profile.OracleConnectionProfileOrBuilder
getOracleOrBuilder()
An Oracle database connection profile.PostgreSqlConnectionProfile
getPostgresql()
A PostgreSQL database connection profile.PostgreSqlConnectionProfile.Builder
getPostgresqlBuilder()
A PostgreSQL database connection profile.PostgreSqlConnectionProfileOrBuilder
getPostgresqlOrBuilder()
A PostgreSQL database connection profile.DatabaseProvider
getProvider()
The database provider.int
getProviderValue()
The database provider.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.Timestamp.Builder
getUpdateTimeBuilder()
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.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)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
ConnectionProfile.Builder
mergeAlloydb(AlloyDbConnectionProfile value)
An AlloyDB cluster connection profile.ConnectionProfile.Builder
mergeCloudsql(CloudSqlConnectionProfile value)
A CloudSQL database connection profile.ConnectionProfile.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.ConnectionProfile.Builder
mergeError(com.google.rpc.Status value)
Output only.ConnectionProfile.Builder
mergeFrom(ConnectionProfile other)
ConnectionProfile.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ConnectionProfile.Builder
mergeFrom(com.google.protobuf.Message other)
ConnectionProfile.Builder
mergeMysql(MySqlConnectionProfile value)
A MySQL database connection profile.ConnectionProfile.Builder
mergeOracle(OracleConnectionProfile value)
An Oracle database connection profile.ConnectionProfile.Builder
mergePostgresql(PostgreSqlConnectionProfile value)
A PostgreSQL database connection profile.ConnectionProfile.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConnectionProfile.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.ConnectionProfile.Builder
putAllLabels(Map<String,String> values)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.ConnectionProfile.Builder
putLabels(String key, String value)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.ConnectionProfile.Builder
removeLabels(String key)
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.ConnectionProfile.Builder
setAlloydb(AlloyDbConnectionProfile value)
An AlloyDB cluster connection profile.ConnectionProfile.Builder
setAlloydb(AlloyDbConnectionProfile.Builder builderForValue)
An AlloyDB cluster connection profile.ConnectionProfile.Builder
setCloudsql(CloudSqlConnectionProfile value)
A CloudSQL database connection profile.ConnectionProfile.Builder
setCloudsql(CloudSqlConnectionProfile.Builder builderForValue)
A CloudSQL database connection profile.ConnectionProfile.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.ConnectionProfile.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.ConnectionProfile.Builder
setDisplayName(String value)
The connection profile display name.ConnectionProfile.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The connection profile display name.ConnectionProfile.Builder
setError(com.google.rpc.Status value)
Output only.ConnectionProfile.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Output only.ConnectionProfile.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConnectionProfile.Builder
setMysql(MySqlConnectionProfile value)
A MySQL database connection profile.ConnectionProfile.Builder
setMysql(MySqlConnectionProfile.Builder builderForValue)
A MySQL database connection profile.ConnectionProfile.Builder
setName(String value)
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.ConnectionProfile.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.ConnectionProfile.Builder
setOracle(OracleConnectionProfile value)
An Oracle database connection profile.ConnectionProfile.Builder
setOracle(OracleConnectionProfile.Builder builderForValue)
An Oracle database connection profile.ConnectionProfile.Builder
setPostgresql(PostgreSqlConnectionProfile value)
A PostgreSQL database connection profile.ConnectionProfile.Builder
setPostgresql(PostgreSqlConnectionProfile.Builder builderForValue)
A PostgreSQL database connection profile.ConnectionProfile.Builder
setProvider(DatabaseProvider value)
The database provider.ConnectionProfile.Builder
setProviderValue(int value)
The database provider.ConnectionProfile.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ConnectionProfile.Builder
setState(ConnectionProfile.State value)
The current connection profile state (e.g.ConnectionProfile.Builder
setStateValue(int value)
The current connection profile state (e.g.ConnectionProfile.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConnectionProfile.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.ConnectionProfile.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<ConnectionProfile.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
clear
public ConnectionProfile.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
getDefaultInstanceForType
public ConnectionProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConnectionProfile build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConnectionProfile buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConnectionProfile.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
setField
public ConnectionProfile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
clearField
public ConnectionProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
clearOneof
public ConnectionProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
setRepeatedField
public ConnectionProfile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
addRepeatedField
public ConnectionProfile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
mergeFrom
public ConnectionProfile.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConnectionProfile.Builder>
-
mergeFrom
public ConnectionProfile.Builder mergeFrom(ConnectionProfile other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
mergeFrom
public ConnectionProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConnectionProfile.Builder>
- Throws:
IOException
-
getConnectionProfileCase
public ConnectionProfile.ConnectionProfileCase getConnectionProfileCase()
- Specified by:
getConnectionProfileCase
in interfaceConnectionProfileOrBuilder
-
clearConnectionProfile
public ConnectionProfile.Builder clearConnectionProfile()
-
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.
-
setName
public ConnectionProfile.Builder setName(String value)
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ConnectionProfile.Builder clearName()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public ConnectionProfile.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public ConnectionProfile.Builder setCreateTime(com.google.protobuf.Timestamp value)
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];
-
setCreateTime
public ConnectionProfile.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeCreateTime
public ConnectionProfile.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
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];
-
clearCreateTime
public ConnectionProfile.Builder clearCreateTime()
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];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
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];
-
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.
-
setUpdateTime
public ConnectionProfile.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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];
-
setUpdateTime
public ConnectionProfile.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeUpdateTime
public ConnectionProfile.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
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];
-
clearUpdateTime
public ConnectionProfile.Builder clearUpdateTime()
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];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
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];
-
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
-
clearLabels
public ConnectionProfile.Builder clearLabels()
-
removeLabels
public ConnectionProfile.Builder removeLabels(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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public ConnectionProfile.Builder putLabels(String key, String value)
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;
-
putAllLabels
public ConnectionProfile.Builder putAllLabels(Map<String,String> values)
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
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.
-
setStateValue
public ConnectionProfile.Builder setStateValue(int value)
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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.
-
setState
public ConnectionProfile.Builder setState(ConnectionProfile.State value)
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public ConnectionProfile.Builder clearState()
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
- Returns:
- This builder for chaining.
-
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.
-
setDisplayName
public ConnectionProfile.Builder setDisplayName(String value)
The connection profile display name.
string display_name = 6;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public ConnectionProfile.Builder clearDisplayName()
The connection profile display name.
string display_name = 6;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public ConnectionProfile.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The connection profile display name.
string display_name = 6;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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.
-
setMysql
public ConnectionProfile.Builder setMysql(MySqlConnectionProfile value)
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
-
setMysql
public ConnectionProfile.Builder setMysql(MySqlConnectionProfile.Builder builderForValue)
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
-
mergeMysql
public ConnectionProfile.Builder mergeMysql(MySqlConnectionProfile value)
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
-
clearMysql
public ConnectionProfile.Builder clearMysql()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
-
getMysqlBuilder
public MySqlConnectionProfile.Builder getMysqlBuilder()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
-
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.
-
setPostgresql
public ConnectionProfile.Builder setPostgresql(PostgreSqlConnectionProfile value)
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
-
setPostgresql
public ConnectionProfile.Builder setPostgresql(PostgreSqlConnectionProfile.Builder builderForValue)
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
-
mergePostgresql
public ConnectionProfile.Builder mergePostgresql(PostgreSqlConnectionProfile value)
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
-
clearPostgresql
public ConnectionProfile.Builder clearPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
-
getPostgresqlBuilder
public PostgreSqlConnectionProfile.Builder getPostgresqlBuilder()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
-
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.
-
setOracle
public ConnectionProfile.Builder setOracle(OracleConnectionProfile value)
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
-
setOracle
public ConnectionProfile.Builder setOracle(OracleConnectionProfile.Builder builderForValue)
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
-
mergeOracle
public ConnectionProfile.Builder mergeOracle(OracleConnectionProfile value)
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
-
clearOracle
public ConnectionProfile.Builder clearOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
-
getOracleBuilder
public OracleConnectionProfile.Builder getOracleBuilder()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
-
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.
-
setCloudsql
public ConnectionProfile.Builder setCloudsql(CloudSqlConnectionProfile value)
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
-
setCloudsql
public ConnectionProfile.Builder setCloudsql(CloudSqlConnectionProfile.Builder builderForValue)
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
-
mergeCloudsql
public ConnectionProfile.Builder mergeCloudsql(CloudSqlConnectionProfile value)
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
-
clearCloudsql
public ConnectionProfile.Builder clearCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
-
getCloudsqlBuilder
public CloudSqlConnectionProfile.Builder getCloudsqlBuilder()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
-
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.
-
setAlloydb
public ConnectionProfile.Builder setAlloydb(AlloyDbConnectionProfile value)
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
-
setAlloydb
public ConnectionProfile.Builder setAlloydb(AlloyDbConnectionProfile.Builder builderForValue)
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
-
mergeAlloydb
public ConnectionProfile.Builder mergeAlloydb(AlloyDbConnectionProfile value)
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
-
clearAlloydb
public ConnectionProfile.Builder clearAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
-
getAlloydbBuilder
public AlloyDbConnectionProfile.Builder getAlloydbBuilder()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
-
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.
-
setError
public ConnectionProfile.Builder setError(com.google.rpc.Status value)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setError
public ConnectionProfile.Builder setError(com.google.rpc.Status.Builder builderForValue)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeError
public ConnectionProfile.Builder mergeError(com.google.rpc.Status value)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearError
public ConnectionProfile.Builder clearError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setProviderValue
public ConnectionProfile.Builder setProviderValue(int value)
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
- Parameters:
value
- The enum numeric value on the wire for provider to set.- Returns:
- This builder for chaining.
-
getProvider
public DatabaseProvider getProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
- Specified by:
getProvider
in interfaceConnectionProfileOrBuilder
- Returns:
- The provider.
-
setProvider
public ConnectionProfile.Builder setProvider(DatabaseProvider value)
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
- Parameters:
value
- The provider to set.- Returns:
- This builder for chaining.
-
clearProvider
public ConnectionProfile.Builder clearProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConnectionProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
mergeUnknownFields
public final ConnectionProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
-