Class RestartAutonomousDatabaseRequest.Builder (0.32.0)

public static final class RestartAutonomousDatabaseRequest.Builder extends GeneratedMessage.Builder<RestartAutonomousDatabaseRequest.Builder> implements RestartAutonomousDatabaseRequestOrBuilder

The request for AutonomousDatabase.Restart.

Protobuf type google.cloud.oracledatabase.v1.RestartAutonomousDatabaseRequest

Static Methods

getDescriptor()

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

Methods

build()

public RestartAutonomousDatabaseRequest build()
Returns
Type Description
RestartAutonomousDatabaseRequest

buildPartial()

public RestartAutonomousDatabaseRequest buildPartial()
Returns
Type Description
RestartAutonomousDatabaseRequest

clear()

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

clearName()

public RestartAutonomousDatabaseRequest.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
RestartAutonomousDatabaseRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public RestartAutonomousDatabaseRequest getDefaultInstanceForType()
Returns
Type Description
RestartAutonomousDatabaseRequest

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RestartAutonomousDatabaseRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public RestartAutonomousDatabaseRequest.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
RestartAutonomousDatabaseRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RestartAutonomousDatabaseRequest.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
RestartAutonomousDatabaseRequest.Builder

This builder for chaining.