Class RefreshAutonomousDatabaseRequest.Builder (0.48.0)

public static final class RefreshAutonomousDatabaseRequest.Builder extends GeneratedMessage.Builder<RefreshAutonomousDatabaseRequest.Builder> implements RefreshAutonomousDatabaseRequestOrBuilder

Request message for RefreshAutonomousDatabase method.

Protobuf type google.cloud.oracledatabase.v1.RefreshAutonomousDatabaseRequest

Static Methods

getDescriptor()

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

Methods

build()

public RefreshAutonomousDatabaseRequest build()
Returns
Type Description
RefreshAutonomousDatabaseRequest

buildPartial()

public RefreshAutonomousDatabaseRequest buildPartial()
Returns
Type Description
RefreshAutonomousDatabaseRequest

clear()

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

clearName()

public RefreshAutonomousDatabaseRequest.Builder clearName()

Required. The name of the AutonomousDatabase resource. Format: projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
RefreshAutonomousDatabaseRequest.Builder

This builder for chaining.

clearRefreshCutoffTime()

public RefreshAutonomousDatabaseRequest.Builder clearRefreshCutoffTime()

Required. The timestamp to which the Autonomous Database refreshable clone will be refreshed. Changes made in the primary database after this timestamp are not part of the data refresh.

.google.protobuf.Timestamp refresh_cutoff_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RefreshAutonomousDatabaseRequest.Builder

getDefaultInstanceForType()

public RefreshAutonomousDatabaseRequest getDefaultInstanceForType()
Returns
Type Description
RefreshAutonomousDatabaseRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the AutonomousDatabase resource. Format: projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the AutonomousDatabase resource. Format: projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRefreshCutoffTime()

public Timestamp getRefreshCutoffTime()

Required. The timestamp to which the Autonomous Database refreshable clone will be refreshed. Changes made in the primary database after this timestamp are not part of the data refresh.

.google.protobuf.Timestamp refresh_cutoff_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The refreshCutoffTime.

getRefreshCutoffTimeBuilder()

public Timestamp.Builder getRefreshCutoffTimeBuilder()

Required. The timestamp to which the Autonomous Database refreshable clone will be refreshed. Changes made in the primary database after this timestamp are not part of the data refresh.

.google.protobuf.Timestamp refresh_cutoff_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getRefreshCutoffTimeOrBuilder()

public TimestampOrBuilder getRefreshCutoffTimeOrBuilder()

Required. The timestamp to which the Autonomous Database refreshable clone will be refreshed. Changes made in the primary database after this timestamp are not part of the data refresh.

.google.protobuf.Timestamp refresh_cutoff_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

hasRefreshCutoffTime()

public boolean hasRefreshCutoffTime()

Required. The timestamp to which the Autonomous Database refreshable clone will be refreshed. Changes made in the primary database after this timestamp are not part of the data refresh.

.google.protobuf.Timestamp refresh_cutoff_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the refreshCutoffTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RefreshAutonomousDatabaseRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRefreshCutoffTime(Timestamp value)

public RefreshAutonomousDatabaseRequest.Builder mergeRefreshCutoffTime(Timestamp value)

Required. The timestamp to which the Autonomous Database refreshable clone will be refreshed. Changes made in the primary database after this timestamp are not part of the data refresh.

.google.protobuf.Timestamp refresh_cutoff_time = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
RefreshAutonomousDatabaseRequest.Builder

setName(String value)

public RefreshAutonomousDatabaseRequest.Builder setName(String value)

Required. The name of the AutonomousDatabase resource. Format: projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RefreshAutonomousDatabaseRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RefreshAutonomousDatabaseRequest.Builder setNameBytes(ByteString value)

Required. The name of the AutonomousDatabase resource. Format: projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RefreshAutonomousDatabaseRequest.Builder

This builder for chaining.

setRefreshCutoffTime(Timestamp value)

public RefreshAutonomousDatabaseRequest.Builder setRefreshCutoffTime(Timestamp value)

Required. The timestamp to which the Autonomous Database refreshable clone will be refreshed. Changes made in the primary database after this timestamp are not part of the data refresh.

.google.protobuf.Timestamp refresh_cutoff_time = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
RefreshAutonomousDatabaseRequest.Builder

setRefreshCutoffTime(Timestamp.Builder builderForValue)

public RefreshAutonomousDatabaseRequest.Builder setRefreshCutoffTime(Timestamp.Builder builderForValue)

Required. The timestamp to which the Autonomous Database refreshable clone will be refreshed. Changes made in the primary database after this timestamp are not part of the data refresh.

.google.protobuf.Timestamp refresh_cutoff_time = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RefreshAutonomousDatabaseRequest.Builder