Class GoldengateBackupSchedule.Builder (0.42.0)

public static final class GoldengateBackupSchedule.Builder extends GeneratedMessage.Builder<GoldengateBackupSchedule.Builder> implements GoldengateBackupScheduleOrBuilder

The backup schedule of the GoldengateDeployment.

Protobuf type google.cloud.oracledatabase.v1.GoldengateBackupSchedule

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateBackupSchedule build()
Returns
Type Description
GoldengateBackupSchedule

buildPartial()

public GoldengateBackupSchedule buildPartial()
Returns
Type Description
GoldengateBackupSchedule

clear()

public GoldengateBackupSchedule.Builder clear()
Returns
Type Description
GoldengateBackupSchedule.Builder
Overrides

clearBackupScheduledTime()

public GoldengateBackupSchedule.Builder clearBackupScheduledTime()

Output only. The timestamp of when the backup was scheduled.

.google.protobuf.Timestamp backup_scheduled_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateBackupSchedule.Builder

clearBucket()

public GoldengateBackupSchedule.Builder clearBucket()

Output only. The bucket name.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

clearCompartmentId()

public GoldengateBackupSchedule.Builder clearCompartmentId()

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

clearFrequencyBackupScheduled()

public GoldengateBackupSchedule.Builder clearFrequencyBackupScheduled()

Output only. The frequency backup scheduled.

.google.cloud.oracledatabase.v1.GoldengateBackupSchedule.FrequencyBackupScheduled frequency_backup_scheduled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

clearMetadataOnly()

public GoldengateBackupSchedule.Builder clearMetadataOnly()

Output only. If metadata only.

bool metadata_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

clearNamespace()

public GoldengateBackupSchedule.Builder clearNamespace()

Output only. The namespace name.

string namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

getBackupScheduledTime()

public Timestamp getBackupScheduledTime()

Output only. The timestamp of when the backup was scheduled.

.google.protobuf.Timestamp backup_scheduled_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The backupScheduledTime.

getBackupScheduledTimeBuilder()

public Timestamp.Builder getBackupScheduledTimeBuilder()

Output only. The timestamp of when the backup was scheduled.

.google.protobuf.Timestamp backup_scheduled_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getBackupScheduledTimeOrBuilder()

public TimestampOrBuilder getBackupScheduledTimeOrBuilder()

Output only. The timestamp of when the backup was scheduled.

.google.protobuf.Timestamp backup_scheduled_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getBucket()

public String getBucket()

Output only. The bucket name.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Output only. The bucket name.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for bucket.

getCompartmentId()

public String getCompartmentId()

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The compartmentId.

getCompartmentIdBytes()

public ByteString getCompartmentIdBytes()

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for compartmentId.

getDefaultInstanceForType()

public GoldengateBackupSchedule getDefaultInstanceForType()
Returns
Type Description
GoldengateBackupSchedule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFrequencyBackupScheduled()

public GoldengateBackupSchedule.FrequencyBackupScheduled getFrequencyBackupScheduled()

Output only. The frequency backup scheduled.

.google.cloud.oracledatabase.v1.GoldengateBackupSchedule.FrequencyBackupScheduled frequency_backup_scheduled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateBackupSchedule.FrequencyBackupScheduled

The frequencyBackupScheduled.

getFrequencyBackupScheduledValue()

public int getFrequencyBackupScheduledValue()

Output only. The frequency backup scheduled.

.google.cloud.oracledatabase.v1.GoldengateBackupSchedule.FrequencyBackupScheduled frequency_backup_scheduled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for frequencyBackupScheduled.

getMetadataOnly()

public boolean getMetadataOnly()

Output only. If metadata only.

bool metadata_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The metadataOnly.

getNamespace()

public String getNamespace()

Output only. The namespace name.

string namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The namespace.

getNamespaceBytes()

public ByteString getNamespaceBytes()

Output only. The namespace name.

string namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for namespace.

hasBackupScheduledTime()

public boolean hasBackupScheduledTime()

Output only. The timestamp of when the backup was scheduled.

.google.protobuf.Timestamp backup_scheduled_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the backupScheduledTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackupScheduledTime(Timestamp value)

public GoldengateBackupSchedule.Builder mergeBackupScheduledTime(Timestamp value)

Output only. The timestamp of when the backup was scheduled.

.google.protobuf.Timestamp backup_scheduled_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateBackupSchedule.Builder

mergeFrom(GoldengateBackupSchedule other)

public GoldengateBackupSchedule.Builder mergeFrom(GoldengateBackupSchedule other)
Parameter
Name Description
other GoldengateBackupSchedule
Returns
Type Description
GoldengateBackupSchedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GoldengateBackupSchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengateBackupSchedule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GoldengateBackupSchedule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GoldengateBackupSchedule.Builder
Overrides

setBackupScheduledTime(Timestamp value)

public GoldengateBackupSchedule.Builder setBackupScheduledTime(Timestamp value)

Output only. The timestamp of when the backup was scheduled.

.google.protobuf.Timestamp backup_scheduled_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateBackupSchedule.Builder

setBackupScheduledTime(Timestamp.Builder builderForValue)

public GoldengateBackupSchedule.Builder setBackupScheduledTime(Timestamp.Builder builderForValue)

Output only. The timestamp of when the backup was scheduled.

.google.protobuf.Timestamp backup_scheduled_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GoldengateBackupSchedule.Builder

setBucket(String value)

public GoldengateBackupSchedule.Builder setBucket(String value)

Output only. The bucket name.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public GoldengateBackupSchedule.Builder setBucketBytes(ByteString value)

Output only. The bucket name.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

setCompartmentId(String value)

public GoldengateBackupSchedule.Builder setCompartmentId(String value)

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The compartmentId to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

setCompartmentIdBytes(ByteString value)

public GoldengateBackupSchedule.Builder setCompartmentIdBytes(ByteString value)

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for compartmentId to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

setFrequencyBackupScheduled(GoldengateBackupSchedule.FrequencyBackupScheduled value)

public GoldengateBackupSchedule.Builder setFrequencyBackupScheduled(GoldengateBackupSchedule.FrequencyBackupScheduled value)

Output only. The frequency backup scheduled.

.google.cloud.oracledatabase.v1.GoldengateBackupSchedule.FrequencyBackupScheduled frequency_backup_scheduled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GoldengateBackupSchedule.FrequencyBackupScheduled

The frequencyBackupScheduled to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

setFrequencyBackupScheduledValue(int value)

public GoldengateBackupSchedule.Builder setFrequencyBackupScheduledValue(int value)

Output only. The frequency backup scheduled.

.google.cloud.oracledatabase.v1.GoldengateBackupSchedule.FrequencyBackupScheduled frequency_backup_scheduled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for frequencyBackupScheduled to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

setMetadataOnly(boolean value)

public GoldengateBackupSchedule.Builder setMetadataOnly(boolean value)

Output only. If metadata only.

bool metadata_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The metadataOnly to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

setNamespace(String value)

public GoldengateBackupSchedule.Builder setNamespace(String value)

Output only. The namespace name.

string namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The namespace to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.

setNamespaceBytes(ByteString value)

public GoldengateBackupSchedule.Builder setNamespaceBytes(ByteString value)

Output only. The namespace name.

string namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for namespace to set.

Returns
Type Description
GoldengateBackupSchedule.Builder

This builder for chaining.