Class RestoreAutonomousDatabaseRequest.Builder (0.1.0)

public static final class RestoreAutonomousDatabaseRequest.Builder extends GeneratedMessageV3.Builder<RestoreAutonomousDatabaseRequest.Builder> implements RestoreAutonomousDatabaseRequestOrBuilder

The request for AutonomousDatabase.Restore.

Protobuf type google.cloud.oracledatabase.v1.RestoreAutonomousDatabaseRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RestoreAutonomousDatabaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder
Overrides

build()

public RestoreAutonomousDatabaseRequest build()
Returns
Type Description
RestoreAutonomousDatabaseRequest

buildPartial()

public RestoreAutonomousDatabaseRequest buildPartial()
Returns
Type Description
RestoreAutonomousDatabaseRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RestoreAutonomousDatabaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder
Overrides

clearName()

public RestoreAutonomousDatabaseRequest.Builder clearName()

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

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

Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RestoreAutonomousDatabaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder
Overrides

clearRestoreTime()

public RestoreAutonomousDatabaseRequest.Builder clearRestoreTime()

Required. The time and date to restore the database to.

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

Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder

clone()

public RestoreAutonomousDatabaseRequest.Builder clone()
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder
Overrides

getDefaultInstanceForType()

public RestoreAutonomousDatabaseRequest getDefaultInstanceForType()
Returns
Type Description
RestoreAutonomousDatabaseRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{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 Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

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

Returns
Type Description
ByteString

The bytes for name.

getRestoreTime()

public Timestamp getRestoreTime()

Required. The time and date to restore the database to.

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

Returns
Type Description
Timestamp

The restoreTime.

getRestoreTimeBuilder()

public Timestamp.Builder getRestoreTimeBuilder()

Required. The time and date to restore the database to.

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

Returns
Type Description
Builder

getRestoreTimeOrBuilder()

public TimestampOrBuilder getRestoreTimeOrBuilder()

Required. The time and date to restore the database to.

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

Returns
Type Description
TimestampOrBuilder

hasRestoreTime()

public boolean hasRestoreTime()

Required. The time and date to restore the database to.

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

Returns
Type Description
boolean

Whether the restoreTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RestoreAutonomousDatabaseRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRestoreTime(Timestamp value)

public RestoreAutonomousDatabaseRequest.Builder mergeRestoreTime(Timestamp value)

Required. The time and date to restore the database to.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RestoreAutonomousDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RestoreAutonomousDatabaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder
Overrides

setName(String value)

public RestoreAutonomousDatabaseRequest.Builder setName(String value)

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{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
RestoreAutonomousDatabaseRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RestoreAutonomousDatabaseRequest.Builder setNameBytes(ByteString value)

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{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
RestoreAutonomousDatabaseRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RestoreAutonomousDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder
Overrides

setRestoreTime(Timestamp value)

public RestoreAutonomousDatabaseRequest.Builder setRestoreTime(Timestamp value)

Required. The time and date to restore the database to.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder

setRestoreTime(Timestamp.Builder builderForValue)

public RestoreAutonomousDatabaseRequest.Builder setRestoreTime(Timestamp.Builder builderForValue)

Required. The time and date to restore the database to.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RestoreAutonomousDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestoreAutonomousDatabaseRequest.Builder
Overrides