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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConnectionProfilebuild()ConnectionProfilebuildPartial()ConnectionProfile.Builderclear()ConnectionProfile.BuilderclearAlloydb()An AlloyDB cluster connection profile.ConnectionProfile.BuilderclearCloudsql()A CloudSQL database connection profile.ConnectionProfile.BuilderclearConnectionProfile()ConnectionProfile.BuilderclearCreateTime()Output only.ConnectionProfile.BuilderclearDisplayName()The connection profile display name.ConnectionProfile.BuilderclearError()Output only.ConnectionProfile.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConnectionProfile.BuilderclearLabels()ConnectionProfile.BuilderclearMysql()A MySQL database connection profile.ConnectionProfile.BuilderclearName()The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.ConnectionProfile.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConnectionProfile.BuilderclearOracle()An Oracle database connection profile.ConnectionProfile.BuilderclearPostgresql()A PostgreSQL database connection profile.ConnectionProfile.BuilderclearProvider()The database provider.ConnectionProfile.BuilderclearState()The current connection profile state (e.g.ConnectionProfile.BuilderclearUpdateTime()Output only.ConnectionProfile.Builderclone()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.AlloyDbConnectionProfile.BuildergetAlloydbBuilder()An AlloyDB cluster connection profile.AlloyDbConnectionProfileOrBuildergetAlloydbOrBuilder()An AlloyDB cluster connection profile.CloudSqlConnectionProfilegetCloudsql()A CloudSQL database connection profile.CloudSqlConnectionProfile.BuildergetCloudsqlBuilder()A CloudSQL database connection profile.CloudSqlConnectionProfileOrBuildergetCloudsqlOrBuilder()A CloudSQL database connection profile.ConnectionProfile.ConnectionProfileCasegetConnectionProfileCase()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ConnectionProfilegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The connection profile display name.com.google.protobuf.ByteStringgetDisplayNameBytes()The connection profile display name.com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()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.Map<String,String>getMutableLabels()Deprecated.MySqlConnectionProfilegetMysql()A MySQL database connection profile.MySqlConnectionProfile.BuildergetMysqlBuilder()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.OracleConnectionProfile.BuildergetOracleBuilder()An Oracle database connection profile.OracleConnectionProfileOrBuildergetOracleOrBuilder()An Oracle database connection profile.PostgreSqlConnectionProfilegetPostgresql()A PostgreSQL database connection profile.PostgreSqlConnectionProfile.BuildergetPostgresqlBuilder()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.Timestamp.BuildergetUpdateTimeBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()ConnectionProfile.BuildermergeAlloydb(AlloyDbConnectionProfile value)An AlloyDB cluster connection profile.ConnectionProfile.BuildermergeCloudsql(CloudSqlConnectionProfile value)A CloudSQL database connection profile.ConnectionProfile.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.ConnectionProfile.BuildermergeError(com.google.rpc.Status value)Output only.ConnectionProfile.BuildermergeFrom(ConnectionProfile other)ConnectionProfile.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConnectionProfile.BuildermergeFrom(com.google.protobuf.Message other)ConnectionProfile.BuildermergeMysql(MySqlConnectionProfile value)A MySQL database connection profile.ConnectionProfile.BuildermergeOracle(OracleConnectionProfile value)An Oracle database connection profile.ConnectionProfile.BuildermergePostgresql(PostgreSqlConnectionProfile value)A PostgreSQL database connection profile.ConnectionProfile.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConnectionProfile.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.ConnectionProfile.BuilderputAllLabels(Map<String,String> values)The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.ConnectionProfile.BuilderputLabels(String key, String value)The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.ConnectionProfile.BuilderremoveLabels(String key)The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.ConnectionProfile.BuildersetAlloydb(AlloyDbConnectionProfile value)An AlloyDB cluster connection profile.ConnectionProfile.BuildersetAlloydb(AlloyDbConnectionProfile.Builder builderForValue)An AlloyDB cluster connection profile.ConnectionProfile.BuildersetCloudsql(CloudSqlConnectionProfile value)A CloudSQL database connection profile.ConnectionProfile.BuildersetCloudsql(CloudSqlConnectionProfile.Builder builderForValue)A CloudSQL database connection profile.ConnectionProfile.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.ConnectionProfile.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.ConnectionProfile.BuildersetDisplayName(String value)The connection profile display name.ConnectionProfile.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The connection profile display name.ConnectionProfile.BuildersetError(com.google.rpc.Status value)Output only.ConnectionProfile.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.ConnectionProfile.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConnectionProfile.BuildersetMysql(MySqlConnectionProfile value)A MySQL database connection profile.ConnectionProfile.BuildersetMysql(MySqlConnectionProfile.Builder builderForValue)A MySQL database connection profile.ConnectionProfile.BuildersetName(String value)The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.ConnectionProfile.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.ConnectionProfile.BuildersetOracle(OracleConnectionProfile value)An Oracle database connection profile.ConnectionProfile.BuildersetOracle(OracleConnectionProfile.Builder builderForValue)An Oracle database connection profile.ConnectionProfile.BuildersetPostgresql(PostgreSqlConnectionProfile value)A PostgreSQL database connection profile.ConnectionProfile.BuildersetPostgresql(PostgreSqlConnectionProfile.Builder builderForValue)A PostgreSQL database connection profile.ConnectionProfile.BuildersetProvider(DatabaseProvider value)The database provider.ConnectionProfile.BuildersetProviderValue(int value)The database provider.ConnectionProfile.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConnectionProfile.BuildersetState(ConnectionProfile.State value)The current connection profile state (e.g.ConnectionProfile.BuildersetStateValue(int value)The current connection profile state (e.g.ConnectionProfile.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConnectionProfile.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.ConnectionProfile.BuildersetUpdateTime(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
clear
public ConnectionProfile.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
getDefaultInstanceForType
public ConnectionProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConnectionProfile build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConnectionProfile buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConnectionProfile.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
setField
public ConnectionProfile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
clearField
public ConnectionProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
clearOneof
public ConnectionProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
setRepeatedField
public ConnectionProfile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
addRepeatedField
public ConnectionProfile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
mergeFrom
public ConnectionProfile.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectionProfile.Builder>
-
mergeFrom
public ConnectionProfile.Builder mergeFrom(ConnectionProfile other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectionProfile.Builder>- Throws:
IOException
-
getConnectionProfileCase
public ConnectionProfile.ConnectionProfileCase getConnectionProfileCase()
- Specified by:
getConnectionProfileCasein 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:
getNamein 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:
getNameBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceConnectionProfileOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ConnectionProfileOrBuilderThe 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:
getLabelsCountin 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:
containsLabelsin interfaceConnectionProfileOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin 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:
getStateValuein 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:
getStatein 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:
getDisplayNamein interfaceConnectionProfileOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The connection profile display name.
string display_name = 6;- Specified by:
getDisplayNameBytesin 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:
hasMysqlin 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:
getMysqlin 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:
getMysqlOrBuilderin interfaceConnectionProfileOrBuilder
-
hasPostgresql
public boolean hasPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;- Specified by:
hasPostgresqlin 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:
getPostgresqlin 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:
getPostgresqlOrBuilderin interfaceConnectionProfileOrBuilder
-
hasOracle
public boolean hasOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;- Specified by:
hasOraclein 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:
getOraclein 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:
getOracleOrBuilderin interfaceConnectionProfileOrBuilder
-
hasCloudsql
public boolean hasCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;- Specified by:
hasCloudsqlin 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:
getCloudsqlin 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:
getCloudsqlOrBuilderin interfaceConnectionProfileOrBuilder
-
hasAlloydb
public boolean hasAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;- Specified by:
hasAlloydbin 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:
getAlloydbin 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:
getAlloydbOrBuilderin 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:
hasErrorin 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:
getErrorin 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:
getErrorOrBuilderin interfaceConnectionProfileOrBuilder
-
getProviderValue
public int getProviderValue()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;- Specified by:
getProviderValuein 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:
getProviderin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
mergeUnknownFields
public final ConnectionProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
-
-