- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class ConnectionProfile.Builder extends GeneratedMessageV3.Builder<ConnectionProfile.Builder> implements ConnectionProfileOrBuilder
A connection profile definition.
Protobuf type google.cloud.clouddms.v1.ConnectionProfile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConnectionProfile.BuilderImplements
ConnectionProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
build()
public ConnectionProfile build()
Returns | |
---|---|
Type | Description |
ConnectionProfile |
buildPartial()
public ConnectionProfile buildPartial()
Returns | |
---|---|
Type | Description |
ConnectionProfile |
clear()
public ConnectionProfile.Builder clear()
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearAlloydb()
public ConnectionProfile.Builder clearAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearCloudsql()
public ConnectionProfile.Builder clearCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearConnectionProfile()
public ConnectionProfile.Builder clearConnectionProfile()
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
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];
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearDisplayName()
public ConnectionProfile.Builder clearDisplayName()
The connection profile display name.
string display_name = 6;
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearLabels()
public ConnectionProfile.Builder clearLabels()
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearMysql()
public ConnectionProfile.Builder clearMysql()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
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 | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearOracle()
public ConnectionProfile.Builder clearOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearPostgresql()
public ConnectionProfile.Builder clearPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clearProvider()
public ConnectionProfile.Builder clearProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | 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 | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
clone()
public ConnectionProfile.Builder clone()
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
containsLabels(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAlloydb()
public AlloyDbConnectionProfile getAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
Returns | |
---|---|
Type | Description |
AlloyDbConnectionProfile | The alloydb. |
getAlloydbBuilder()
public AlloyDbConnectionProfile.Builder getAlloydbBuilder()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
Returns | |
---|---|
Type | Description |
AlloyDbConnectionProfile.Builder |
getAlloydbOrBuilder()
public AlloyDbConnectionProfileOrBuilder getAlloydbOrBuilder()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
Returns | |
---|---|
Type | Description |
AlloyDbConnectionProfileOrBuilder |
getCloudsql()
public CloudSqlConnectionProfile getCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile | The cloudsql. |
getCloudsqlBuilder()
public CloudSqlConnectionProfile.Builder getCloudsqlBuilder()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
getCloudsqlOrBuilder()
public CloudSqlConnectionProfileOrBuilder getCloudsqlOrBuilder()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfileOrBuilder |
getConnectionProfileCase()
public ConnectionProfile.ConnectionProfileCase getConnectionProfileCase()
Returns | |
---|---|
Type | Description |
ConnectionProfile.ConnectionProfileCase |
getCreateTime()
public Timestamp getCreateTime()
Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public ConnectionProfile getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConnectionProfile |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The connection profile display name.
string display_name = 6;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The connection profile display name.
string display_name = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getError()
public Status getError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.Status | The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
The resource labels for connection profile to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMysql()
public MySqlConnectionProfile getMysql()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
Returns | |
---|---|
Type | Description |
MySqlConnectionProfile | The mysql. |
getMysqlBuilder()
public MySqlConnectionProfile.Builder getMysqlBuilder()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
Returns | |
---|---|
Type | Description |
MySqlConnectionProfile.Builder |
getMysqlOrBuilder()
public MySqlConnectionProfileOrBuilder getMysqlOrBuilder()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
Returns | |
---|---|
Type | Description |
MySqlConnectionProfileOrBuilder |
getName()
public String getName()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getOracle()
public OracleConnectionProfile getOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
Returns | |
---|---|
Type | Description |
OracleConnectionProfile | The oracle. |
getOracleBuilder()
public OracleConnectionProfile.Builder getOracleBuilder()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
Returns | |
---|---|
Type | Description |
OracleConnectionProfile.Builder |
getOracleOrBuilder()
public OracleConnectionProfileOrBuilder getOracleOrBuilder()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
Returns | |
---|---|
Type | Description |
OracleConnectionProfileOrBuilder |
getPostgresql()
public PostgreSqlConnectionProfile getPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
Returns | |
---|---|
Type | Description |
PostgreSqlConnectionProfile | The postgresql. |
getPostgresqlBuilder()
public PostgreSqlConnectionProfile.Builder getPostgresqlBuilder()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
Returns | |
---|---|
Type | Description |
PostgreSqlConnectionProfile.Builder |
getPostgresqlOrBuilder()
public PostgreSqlConnectionProfileOrBuilder getPostgresqlOrBuilder()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
Returns | |
---|---|
Type | Description |
PostgreSqlConnectionProfileOrBuilder |
getProvider()
public DatabaseProvider getProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
Returns | |
---|---|
Type | Description |
DatabaseProvider | The provider. |
getProviderValue()
public int getProviderValue()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for provider. |
getState()
public ConnectionProfile.State getState()
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
Returns | |
---|---|
Type | Description |
ConnectionProfile.State | The state. |
getStateValue()
public int getStateValue()
The current connection profile state (e.g. DRAFT, READY, or FAILED).
.google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasAlloydb()
public boolean hasAlloydb()
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
Returns | |
---|---|
Type | Description |
boolean | Whether the alloydb field is set. |
hasCloudsql()
public boolean hasCloudsql()
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
Returns | |
---|---|
Type | Description |
boolean | Whether the cloudsql field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the error field is set. |
hasMysql()
public boolean hasMysql()
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
Returns | |
---|---|
Type | Description |
boolean | Whether the mysql field is set. |
hasOracle()
public boolean hasOracle()
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
Returns | |
---|---|
Type | Description |
boolean | Whether the oracle field is set. |
hasPostgresql()
public boolean hasPostgresql()
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
Returns | |
---|---|
Type | Description |
boolean | Whether the postgresql field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAlloydb(AlloyDbConnectionProfile value)
public ConnectionProfile.Builder mergeAlloydb(AlloyDbConnectionProfile value)
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
Parameter | |
---|---|
Name | Description |
value | AlloyDbConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeCloudsql(CloudSqlConnectionProfile value)
public ConnectionProfile.Builder mergeCloudsql(CloudSqlConnectionProfile value)
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
Parameter | |
---|---|
Name | Description |
value | CloudSqlConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeCreateTime(Timestamp value)
public ConnectionProfile.Builder mergeCreateTime(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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeError(Status value)
public ConnectionProfile.Builder mergeError(Status value)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeFrom(ConnectionProfile other)
public ConnectionProfile.Builder mergeFrom(ConnectionProfile other)
Parameter | |
---|---|
Name | Description |
other | ConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConnectionProfile.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeMysql(MySqlConnectionProfile value)
public ConnectionProfile.Builder mergeMysql(MySqlConnectionProfile value)
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
Parameter | |
---|---|
Name | Description |
value | MySqlConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeOracle(OracleConnectionProfile value)
public ConnectionProfile.Builder mergeOracle(OracleConnectionProfile value)
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
Parameter | |
---|---|
Name | Description |
value | OracleConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergePostgresql(PostgreSqlConnectionProfile value)
public ConnectionProfile.Builder mergePostgresql(PostgreSqlConnectionProfile value)
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
Parameter | |
---|---|
Name | Description |
value | PostgreSqlConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
mergeUpdateTime(Timestamp value)
public ConnectionProfile.Builder mergeUpdateTime(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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
putAllLabels(Map<String,String> values)
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;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
putLabels(String key, String value)
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;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
removeLabels(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setAlloydb(AlloyDbConnectionProfile value)
public ConnectionProfile.Builder setAlloydb(AlloyDbConnectionProfile value)
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
Parameter | |
---|---|
Name | Description |
value | AlloyDbConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setAlloydb(AlloyDbConnectionProfile.Builder builderForValue)
public ConnectionProfile.Builder setAlloydb(AlloyDbConnectionProfile.Builder builderForValue)
An AlloyDB cluster connection profile.
.google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
Parameter | |
---|---|
Name | Description |
builderForValue | AlloyDbConnectionProfile.Builder |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setCloudsql(CloudSqlConnectionProfile value)
public ConnectionProfile.Builder setCloudsql(CloudSqlConnectionProfile value)
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
Parameter | |
---|---|
Name | Description |
value | CloudSqlConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setCloudsql(CloudSqlConnectionProfile.Builder builderForValue)
public ConnectionProfile.Builder setCloudsql(CloudSqlConnectionProfile.Builder builderForValue)
A CloudSQL database connection profile.
.google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
Parameter | |
---|---|
Name | Description |
builderForValue | CloudSqlConnectionProfile.Builder |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setCreateTime(Timestamp value)
public ConnectionProfile.Builder setCreateTime(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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public ConnectionProfile.Builder setCreateTime(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];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setDisplayName(String value)
public ConnectionProfile.Builder setDisplayName(String value)
The connection profile display name.
string display_name = 6;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ConnectionProfile.Builder setDisplayNameBytes(ByteString value)
The connection profile display name.
string display_name = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
setError(Status value)
public ConnectionProfile.Builder setError(Status value)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setError(Status.Builder builderForValue)
public ConnectionProfile.Builder setError(Status.Builder builderForValue)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setMysql(MySqlConnectionProfile value)
public ConnectionProfile.Builder setMysql(MySqlConnectionProfile value)
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
Parameter | |
---|---|
Name | Description |
value | MySqlConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setMysql(MySqlConnectionProfile.Builder builderForValue)
public ConnectionProfile.Builder setMysql(MySqlConnectionProfile.Builder builderForValue)
A MySQL database connection profile.
.google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
Parameter | |
---|---|
Name | Description |
builderForValue | MySqlConnectionProfile.Builder |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setName(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ConnectionProfile.Builder setNameBytes(ByteString value)
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
setOracle(OracleConnectionProfile value)
public ConnectionProfile.Builder setOracle(OracleConnectionProfile value)
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
Parameter | |
---|---|
Name | Description |
value | OracleConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setOracle(OracleConnectionProfile.Builder builderForValue)
public ConnectionProfile.Builder setOracle(OracleConnectionProfile.Builder builderForValue)
An Oracle database connection profile.
.google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
Parameter | |
---|---|
Name | Description |
builderForValue | OracleConnectionProfile.Builder |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setPostgresql(PostgreSqlConnectionProfile value)
public ConnectionProfile.Builder setPostgresql(PostgreSqlConnectionProfile value)
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
Parameter | |
---|---|
Name | Description |
value | PostgreSqlConnectionProfile |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setPostgresql(PostgreSqlConnectionProfile.Builder builderForValue)
public ConnectionProfile.Builder setPostgresql(PostgreSqlConnectionProfile.Builder builderForValue)
A PostgreSQL database connection profile.
.google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
Parameter | |
---|---|
Name | Description |
builderForValue | PostgreSqlConnectionProfile.Builder |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setProvider(DatabaseProvider value)
public ConnectionProfile.Builder setProvider(DatabaseProvider value)
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
Parameter | |
---|---|
Name | Description |
value | DatabaseProvider The provider to set. |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
setProviderValue(int value)
public ConnectionProfile.Builder setProviderValue(int value)
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 8;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for provider to set. |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setState(ConnectionProfile.State value)
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;
Parameter | |
---|---|
Name | Description |
value | ConnectionProfile.State The state to set. |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
setStateValue(int value)
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setUpdateTime(Timestamp value)
public ConnectionProfile.Builder setUpdateTime(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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public ConnectionProfile.Builder setUpdateTime(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];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ConnectionProfile.Builder |