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 |
|
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. |
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. |
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. |
getDefaultInstanceForType()
public SourceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SourceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
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. |
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. |