Class CreateAutonomousDatabaseRequest.Builder (0.4.0)

public static final class CreateAutonomousDatabaseRequest.Builder extends GeneratedMessageV3.Builder<CreateAutonomousDatabaseRequest.Builder> implements CreateAutonomousDatabaseRequestOrBuilder

The request for AutonomousDatabase.Create.

Protobuf type google.cloud.oracledatabase.v1.CreateAutonomousDatabaseRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAutonomousDatabaseRequest build()
Returns
Type Description
CreateAutonomousDatabaseRequest

buildPartial()

public CreateAutonomousDatabaseRequest buildPartial()
Returns
Type Description
CreateAutonomousDatabaseRequest

clear()

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

clearAutonomousDatabase()

public CreateAutonomousDatabaseRequest.Builder clearAutonomousDatabase()

Required. The Autonomous Database being created.

.google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_database = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

clearAutonomousDatabaseId()

public CreateAutonomousDatabaseRequest.Builder clearAutonomousDatabaseId()

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

string autonomous_database_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateAutonomousDatabaseRequest.Builder clearParent()

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

clearRequestId()

public CreateAutonomousDatabaseRequest.Builder clearRequestId()

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

clone()

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

getAutonomousDatabase()

public AutonomousDatabase getAutonomousDatabase()

Required. The Autonomous Database being created.

.google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_database = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutonomousDatabase

The autonomousDatabase.

getAutonomousDatabaseBuilder()

public AutonomousDatabase.Builder getAutonomousDatabaseBuilder()

Required. The Autonomous Database being created.

.google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_database = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutonomousDatabase.Builder

getAutonomousDatabaseId()

public String getAutonomousDatabaseId()

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

string autonomous_database_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The autonomousDatabaseId.

getAutonomousDatabaseIdBytes()

public ByteString getAutonomousDatabaseIdBytes()

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

string autonomous_database_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for autonomousDatabaseId.

getAutonomousDatabaseOrBuilder()

public AutonomousDatabaseOrBuilder getAutonomousDatabaseOrBuilder()

Required. The Autonomous Database being created.

.google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_database = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutonomousDatabaseOrBuilder

getDefaultInstanceForType()

public CreateAutonomousDatabaseRequest getDefaultInstanceForType()
Returns
Type Description
CreateAutonomousDatabaseRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasAutonomousDatabase()

public boolean hasAutonomousDatabase()

Required. The Autonomous Database being created.

.google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_database = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the autonomousDatabase field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutonomousDatabase(AutonomousDatabase value)

public CreateAutonomousDatabaseRequest.Builder mergeAutonomousDatabase(AutonomousDatabase value)

Required. The Autonomous Database being created.

.google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_database = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AutonomousDatabase
Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

mergeFrom(CreateAutonomousDatabaseRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutonomousDatabase(AutonomousDatabase value)

public CreateAutonomousDatabaseRequest.Builder setAutonomousDatabase(AutonomousDatabase value)

Required. The Autonomous Database being created.

.google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_database = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AutonomousDatabase
Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

setAutonomousDatabase(AutonomousDatabase.Builder builderForValue)

public CreateAutonomousDatabaseRequest.Builder setAutonomousDatabase(AutonomousDatabase.Builder builderForValue)

Required. The Autonomous Database being created.

.google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_database = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AutonomousDatabase.Builder
Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

setAutonomousDatabaseId(String value)

public CreateAutonomousDatabaseRequest.Builder setAutonomousDatabaseId(String value)

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

string autonomous_database_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The autonomousDatabaseId to set.

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

setAutonomousDatabaseIdBytes(ByteString value)

public CreateAutonomousDatabaseRequest.Builder setAutonomousDatabaseIdBytes(ByteString value)

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

string autonomous_database_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for autonomousDatabaseId to set.

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateAutonomousDatabaseRequest.Builder setParent(String value)

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAutonomousDatabaseRequest.Builder setParentBytes(ByteString value)

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public CreateAutonomousDatabaseRequest.Builder setRequestId(String value)

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateAutonomousDatabaseRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateAutonomousDatabaseRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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