Class SourceConfig (0.48.0)

public final class SourceConfig extends GeneratedMessage implements SourceConfigOrBuilder

The source configuration for the standby Autonomous Database.

Protobuf type google.cloud.oracledatabase.v1.SourceConfig

Static Fields

AUTOMATIC_BACKUPS_REPLICATION_ENABLED_FIELD_NUMBER

public static final int AUTOMATIC_BACKUPS_REPLICATION_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

AUTONOMOUS_DATABASE_BACKUP_FIELD_NUMBER

public static final int AUTONOMOUS_DATABASE_BACKUP_FIELD_NUMBER
Field Value
Type Description
int

AUTONOMOUS_DATABASE_FIELD_NUMBER

public static final int AUTONOMOUS_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

AUTO_REFRESH_FREQUENCY_SECONDS_FIELD_NUMBER

public static final int AUTO_REFRESH_FREQUENCY_SECONDS_FIELD_NUMBER
Field Value
Type Description
int

AUTO_REFRESH_POINT_LAG_SECONDS_FIELD_NUMBER

public static final int AUTO_REFRESH_POINT_LAG_SECONDS_FIELD_NUMBER
Field Value
Type Description
int

AUTO_REFRESH_START_TIME_FIELD_NUMBER

public static final int AUTO_REFRESH_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_TIME_FIELD_NUMBER

public static final int BACKUP_TIME_FIELD_NUMBER
Field Value
Type Description
int

CLONE_TYPE_FIELD_NUMBER

public static final int CLONE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

REFRESHABLE_MODE_FIELD_NUMBER

public static final int REFRESHABLE_MODE_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_TYPE_FIELD_NUMBER

public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

USE_LATEST_AVAILABLE_BACKUP_FIELD_NUMBER

public static final int USE_LATEST_AVAILABLE_BACKUP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SourceConfig getDefaultInstance()
Returns
Type Description
SourceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SourceConfig.Builder newBuilder()
Returns
Type Description
SourceConfig.Builder

newBuilder(SourceConfig prototype)

public static SourceConfig.Builder newBuilder(SourceConfig prototype)
Parameter
Name Description
prototype SourceConfig
Returns
Type Description
SourceConfig.Builder

parseDelimitedFrom(InputStream input)

public static SourceConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SourceConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SourceConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SourceConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SourceConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SourceConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SourceConfig> parser()
Returns
Type Description
Parser<SourceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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

getParserForType()

public Parser<SourceConfig> getParserForType()
Returns
Type Description
Parser<SourceConfig>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SourceConfig.Builder newBuilderForType()
Returns
Type Description
SourceConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SourceConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SourceConfig.Builder
Overrides

toBuilder()

public SourceConfig.Builder toBuilder()
Returns
Type Description
SourceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException