Class GenerateAutonomousDatabaseWalletRequest.Builder (0.3.0)

public static final class GenerateAutonomousDatabaseWalletRequest.Builder extends GeneratedMessageV3.Builder<GenerateAutonomousDatabaseWalletRequest.Builder> implements GenerateAutonomousDatabaseWalletRequestOrBuilder

The request for AutonomousDatabase.GenerateWallet.

Protobuf type google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateAutonomousDatabaseWalletRequest build()
Returns
Type Description
GenerateAutonomousDatabaseWalletRequest

buildPartial()

public GenerateAutonomousDatabaseWalletRequest buildPartial()
Returns
Type Description
GenerateAutonomousDatabaseWalletRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIsRegional()

public GenerateAutonomousDatabaseWalletRequest.Builder clearIsRegional()

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

bool is_regional = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAutonomousDatabaseWalletRequest.Builder

This builder for chaining.

clearName()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPassword()

public GenerateAutonomousDatabaseWalletRequest.Builder clearPassword()

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateAutonomousDatabaseWalletRequest.Builder

This builder for chaining.

clearType()

public GenerateAutonomousDatabaseWalletRequest.Builder clearType()

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

.google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateAutonomousDatabaseWalletRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GenerateAutonomousDatabaseWalletRequest getDefaultInstanceForType()
Returns
Type Description
GenerateAutonomousDatabaseWalletRequest

getDescriptorForType()

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

getIsRegional()

public boolean getIsRegional()

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

bool is_regional = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The isRegional.

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.

getPassword()

public String getPassword()

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for password.

getType()

public GenerateType getType()

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

.google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateType

The type.

getTypeValue()

public int getTypeValue()

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

.google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateAutonomousDatabaseWalletRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsRegional(boolean value)

public GenerateAutonomousDatabaseWalletRequest.Builder setIsRegional(boolean value)

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

bool is_regional = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The isRegional to set.

Returns
Type Description
GenerateAutonomousDatabaseWalletRequest.Builder

This builder for chaining.

setName(String value)

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

This builder for chaining.

setNameBytes(ByteString value)

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

This builder for chaining.

setPassword(String value)

public GenerateAutonomousDatabaseWalletRequest.Builder setPassword(String value)

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The password to set.

Returns
Type Description
GenerateAutonomousDatabaseWalletRequest.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GenerateAutonomousDatabaseWalletRequest.Builder setPasswordBytes(ByteString value)

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
GenerateAutonomousDatabaseWalletRequest.Builder

This builder for chaining.

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

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

setType(GenerateType value)

public GenerateAutonomousDatabaseWalletRequest.Builder setType(GenerateType value)

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

.google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GenerateType

The type to set.

Returns
Type Description
GenerateAutonomousDatabaseWalletRequest.Builder

This builder for chaining.

setTypeValue(int value)

public GenerateAutonomousDatabaseWalletRequest.Builder setTypeValue(int value)

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

.google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GenerateAutonomousDatabaseWalletRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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