public static final class SourceConfig.Builder extends GeneratedMessage.Builder<SourceConfig.Builder> implements SourceConfigOrBuilderThe source configuration for the standby Autonomous Database.
Protobuf type google.cloud.oracledatabase.v1.SourceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SourceConfig.BuilderImplements
SourceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SourceConfig build()| Returns | |
|---|---|
| Type | Description |
SourceConfig |
|
buildPartial()
public SourceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
SourceConfig |
|
clear()
public SourceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
clearAutoRefreshFrequencySeconds()
public SourceConfig.Builder clearAutoRefreshFrequencySeconds()Optional. The frequency in seconds a refreshable clone is refreshed after auto-refresh is enabled.
int32 auto_refresh_frequency_seconds = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearAutoRefreshPointLagSeconds()
public SourceConfig.Builder clearAutoRefreshPointLagSeconds()Optional. The time, in seconds, the data of the automatic refreshable clone lags the primary database at the point of refresh.
optional int32 auto_refresh_point_lag_seconds = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearAutoRefreshStartTime()
public SourceConfig.Builder clearAutoRefreshStartTime()Optional. The date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation.
.google.protobuf.Timestamp auto_refresh_start_time = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
clearAutomaticBackupsReplicationEnabled()
public SourceConfig.Builder clearAutomaticBackupsReplicationEnabled()Optional. This field specifies if the replication of automatic backups is enabled when creating a Data Guard.
bool automatic_backups_replication_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearAutonomousDatabase()
public SourceConfig.Builder clearAutonomousDatabase()Optional. The name of the primary Autonomous Database that is used to create a Peer Autonomous Database from a source.
string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearAutonomousDatabaseBackup()
public SourceConfig.Builder clearAutonomousDatabaseBackup()Optional. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup} Required when source_type is BACKUP_FROM_ID.
string autonomous_database_backup = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearBackupTime()
public SourceConfig.Builder clearBackupTime()Optional. The timestamp specified for the point-in-time clone of the source Autonomous Database. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is false.
.google.protobuf.Timestamp backup_time = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
clearCloneType()
public SourceConfig.Builder clearCloneType()Optional. The clone type of the Autonomous Database. This field is only applicable in case of cloning
.google.cloud.oracledatabase.v1.SourceConfig.CloneType clone_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearRefreshableMode()
public SourceConfig.Builder clearRefreshableMode()Optional. The refresh mode of the clone.
.google.cloud.oracledatabase.v1.SourceConfig.RefreshableMode refreshable_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearSourceType()
public SourceConfig.Builder clearSourceType()Optional. The source type of the Autonomous Database.
.google.cloud.oracledatabase.v1.SourceConfig.SourceType source_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearUseLatestAvailableBackup()
public SourceConfig.Builder clearUseLatestAvailableBackup()Optional. Clone from latest available backup timestamp. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type.
bool use_latest_available_backup = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
getAutoRefreshFrequencySeconds()
public int getAutoRefreshFrequencySeconds()Optional. The frequency in seconds a refreshable clone is refreshed after auto-refresh is enabled.
int32 auto_refresh_frequency_seconds = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The autoRefreshFrequencySeconds. |
getAutoRefreshPointLagSeconds()
public int getAutoRefreshPointLagSeconds()Optional. The time, in seconds, the data of the automatic refreshable clone lags the primary database at the point of refresh.
optional int32 auto_refresh_point_lag_seconds = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The autoRefreshPointLagSeconds. |
getAutoRefreshStartTime()
public Timestamp getAutoRefreshStartTime()Optional. The date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation.
.google.protobuf.Timestamp auto_refresh_start_time = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The autoRefreshStartTime. |
getAutoRefreshStartTimeBuilder()
public Timestamp.Builder getAutoRefreshStartTimeBuilder()Optional. The date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation.
.google.protobuf.Timestamp auto_refresh_start_time = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getAutoRefreshStartTimeOrBuilder()
public TimestampOrBuilder getAutoRefreshStartTimeOrBuilder()Optional. The date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation.
.google.protobuf.Timestamp auto_refresh_start_time = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getAutomaticBackupsReplicationEnabled()
public boolean getAutomaticBackupsReplicationEnabled()Optional. This field specifies if the replication of automatic backups is enabled when creating a Data Guard.
bool automatic_backups_replication_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The automaticBackupsReplicationEnabled. |
getAutonomousDatabase()
public String getAutonomousDatabase()Optional. The name of the primary Autonomous Database that is used to create a Peer Autonomous Database from a source.
string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The autonomousDatabase. |
getAutonomousDatabaseBackup()
public String getAutonomousDatabaseBackup()Optional. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup} Required when source_type is BACKUP_FROM_ID.
string autonomous_database_backup = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The autonomousDatabaseBackup. |
getAutonomousDatabaseBackupBytes()
public ByteString getAutonomousDatabaseBackupBytes()Optional. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup} Required when source_type is BACKUP_FROM_ID.
string autonomous_database_backup = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for autonomousDatabaseBackup. |
getAutonomousDatabaseBytes()
public ByteString getAutonomousDatabaseBytes()Optional. The name of the primary Autonomous Database that is used to create a Peer Autonomous Database from a source.
string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for autonomousDatabase. |
getBackupTime()
public Timestamp getBackupTime()Optional. The timestamp specified for the point-in-time clone of the source Autonomous Database. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is false.
.google.protobuf.Timestamp backup_time = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The backupTime. |
getBackupTimeBuilder()
public Timestamp.Builder getBackupTimeBuilder()Optional. The timestamp specified for the point-in-time clone of the source Autonomous Database. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is false.
.google.protobuf.Timestamp backup_time = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getBackupTimeOrBuilder()
public TimestampOrBuilder getBackupTimeOrBuilder()Optional. The timestamp specified for the point-in-time clone of the source Autonomous Database. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is false.
.google.protobuf.Timestamp backup_time = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCloneType()
public SourceConfig.CloneType getCloneType()Optional. The clone type of the Autonomous Database. This field is only applicable in case of cloning
.google.cloud.oracledatabase.v1.SourceConfig.CloneType clone_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.CloneType |
The cloneType. |
getCloneTypeValue()
public int getCloneTypeValue()Optional. The clone type of the Autonomous Database. This field is only applicable in case of cloning
.google.cloud.oracledatabase.v1.SourceConfig.CloneType clone_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for cloneType. |
getDefaultInstanceForType()
public SourceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SourceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRefreshableMode()
public SourceConfig.RefreshableMode getRefreshableMode()Optional. The refresh mode of the clone.
.google.cloud.oracledatabase.v1.SourceConfig.RefreshableMode refreshable_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.RefreshableMode |
The refreshableMode. |
getRefreshableModeValue()
public int getRefreshableModeValue()Optional. The refresh mode of the clone.
.google.cloud.oracledatabase.v1.SourceConfig.RefreshableMode refreshable_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for refreshableMode. |
getSourceType()
public SourceConfig.SourceType getSourceType()Optional. The source type of the Autonomous Database.
.google.cloud.oracledatabase.v1.SourceConfig.SourceType source_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceConfig.SourceType |
The sourceType. |
getSourceTypeValue()
public int getSourceTypeValue()Optional. The source type of the Autonomous Database.
.google.cloud.oracledatabase.v1.SourceConfig.SourceType source_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for sourceType. |
getUseLatestAvailableBackup()
public boolean getUseLatestAvailableBackup()Optional. Clone from latest available backup timestamp. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type.
bool use_latest_available_backup = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The useLatestAvailableBackup. |
hasAutoRefreshPointLagSeconds()
public boolean hasAutoRefreshPointLagSeconds()Optional. The time, in seconds, the data of the automatic refreshable clone lags the primary database at the point of refresh.
optional int32 auto_refresh_point_lag_seconds = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the autoRefreshPointLagSeconds field is set. |
hasAutoRefreshStartTime()
public boolean hasAutoRefreshStartTime()Optional. The date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation.
.google.protobuf.Timestamp auto_refresh_start_time = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the autoRefreshStartTime field is set. |
hasBackupTime()
public boolean hasBackupTime()Optional. The timestamp specified for the point-in-time clone of the source Autonomous Database. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is false.
.google.protobuf.Timestamp backup_time = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAutoRefreshStartTime(Timestamp value)
public SourceConfig.Builder mergeAutoRefreshStartTime(Timestamp value)Optional. The date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation.
.google.protobuf.Timestamp auto_refresh_start_time = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
mergeBackupTime(Timestamp value)
public SourceConfig.Builder mergeBackupTime(Timestamp value)Optional. The timestamp specified for the point-in-time clone of the source Autonomous Database. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is false.
.google.protobuf.Timestamp backup_time = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
mergeFrom(SourceConfig other)
public SourceConfig.Builder mergeFrom(SourceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
SourceConfig |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SourceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
setAutoRefreshFrequencySeconds(int value)
public SourceConfig.Builder setAutoRefreshFrequencySeconds(int value)Optional. The frequency in seconds a refreshable clone is refreshed after auto-refresh is enabled.
int32 auto_refresh_frequency_seconds = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe autoRefreshFrequencySeconds to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setAutoRefreshPointLagSeconds(int value)
public SourceConfig.Builder setAutoRefreshPointLagSeconds(int value)Optional. The time, in seconds, the data of the automatic refreshable clone lags the primary database at the point of refresh.
optional int32 auto_refresh_point_lag_seconds = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe autoRefreshPointLagSeconds to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setAutoRefreshStartTime(Timestamp value)
public SourceConfig.Builder setAutoRefreshStartTime(Timestamp value)Optional. The date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation.
.google.protobuf.Timestamp auto_refresh_start_time = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
setAutoRefreshStartTime(Timestamp.Builder builderForValue)
public SourceConfig.Builder setAutoRefreshStartTime(Timestamp.Builder builderForValue)Optional. The date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation.
.google.protobuf.Timestamp auto_refresh_start_time = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
setAutomaticBackupsReplicationEnabled(boolean value)
public SourceConfig.Builder setAutomaticBackupsReplicationEnabled(boolean value)Optional. This field specifies if the replication of automatic backups is enabled when creating a Data Guard.
bool automatic_backups_replication_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe automaticBackupsReplicationEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setAutonomousDatabase(String value)
public SourceConfig.Builder setAutonomousDatabase(String value)Optional. The name of the primary Autonomous Database that is used to create a Peer Autonomous Database from a source.
string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe autonomousDatabase to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setAutonomousDatabaseBackup(String value)
public SourceConfig.Builder setAutonomousDatabaseBackup(String value)Optional. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup} Required when source_type is BACKUP_FROM_ID.
string autonomous_database_backup = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe autonomousDatabaseBackup to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setAutonomousDatabaseBackupBytes(ByteString value)
public SourceConfig.Builder setAutonomousDatabaseBackupBytes(ByteString value)Optional. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup} Required when source_type is BACKUP_FROM_ID.
string autonomous_database_backup = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for autonomousDatabaseBackup to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setAutonomousDatabaseBytes(ByteString value)
public SourceConfig.Builder setAutonomousDatabaseBytes(ByteString value)Optional. The name of the primary Autonomous Database that is used to create a Peer Autonomous Database from a source.
string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for autonomousDatabase to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setBackupTime(Timestamp value)
public SourceConfig.Builder setBackupTime(Timestamp value)Optional. The timestamp specified for the point-in-time clone of the source Autonomous Database. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is false.
.google.protobuf.Timestamp backup_time = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
setBackupTime(Timestamp.Builder builderForValue)
public SourceConfig.Builder setBackupTime(Timestamp.Builder builderForValue)Optional. The timestamp specified for the point-in-time clone of the source Autonomous Database. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is false.
.google.protobuf.Timestamp backup_time = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
|
setCloneType(SourceConfig.CloneType value)
public SourceConfig.Builder setCloneType(SourceConfig.CloneType value)Optional. The clone type of the Autonomous Database. This field is only applicable in case of cloning
.google.cloud.oracledatabase.v1.SourceConfig.CloneType clone_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SourceConfig.CloneTypeThe cloneType to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setCloneTypeValue(int value)
public SourceConfig.Builder setCloneTypeValue(int value)Optional. The clone type of the Autonomous Database. This field is only applicable in case of cloning
.google.cloud.oracledatabase.v1.SourceConfig.CloneType clone_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for cloneType to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setRefreshableMode(SourceConfig.RefreshableMode value)
public SourceConfig.Builder setRefreshableMode(SourceConfig.RefreshableMode value)Optional. The refresh mode of the clone.
.google.cloud.oracledatabase.v1.SourceConfig.RefreshableMode refreshable_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SourceConfig.RefreshableModeThe refreshableMode to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setRefreshableModeValue(int value)
public SourceConfig.Builder setRefreshableModeValue(int value)Optional. The refresh mode of the clone.
.google.cloud.oracledatabase.v1.SourceConfig.RefreshableMode refreshable_mode = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for refreshableMode to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setSourceType(SourceConfig.SourceType value)
public SourceConfig.Builder setSourceType(SourceConfig.SourceType value)Optional. The source type of the Autonomous Database.
.google.cloud.oracledatabase.v1.SourceConfig.SourceType source_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SourceConfig.SourceTypeThe sourceType to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setSourceTypeValue(int value)
public SourceConfig.Builder setSourceTypeValue(int value)Optional. The source type of the Autonomous Database.
.google.cloud.oracledatabase.v1.SourceConfig.SourceType source_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for sourceType to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setUseLatestAvailableBackup(boolean value)
public SourceConfig.Builder setUseLatestAvailableBackup(boolean value)Optional. Clone from latest available backup timestamp. This field is only applicable in case of BACKUP_FROM_TIMESTAMP source type.
bool use_latest_available_backup = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe useLatestAvailableBackup to set. |
| Returns | |
|---|---|
| Type | Description |
SourceConfig.Builder |
This builder for chaining. |