public final class SourceConfig extends GeneratedMessage implements SourceConfigOrBuilder
The source configuration for the standby Autonomous Database.
Protobuf type google.cloud.oracledatabase.v1.SourceConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SourceConfig.Builder newBuilder()
newBuilder(SourceConfig prototype)
public static SourceConfig.Builder newBuilder(SourceConfig prototype)
public static SourceConfig parseDelimitedFrom(InputStream input)
public static SourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SourceConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SourceConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceConfig parseFrom(CodedInputStream input)
public static SourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SourceConfig parseFrom(InputStream input)
public static SourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SourceConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SourceConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
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];
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];
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()
getParserForType()
public Parser<SourceConfig> getParserForType()
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];
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];
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SourceConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SourceConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SourceConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides