Class AutonomousDatabaseConnectionStrings.Builder (0.3.0)

public static final class AutonomousDatabaseConnectionStrings.Builder extends GeneratedMessageV3.Builder<AutonomousDatabaseConnectionStrings.Builder> implements AutonomousDatabaseConnectionStringsOrBuilder

The connection string used to connect to the Autonomous Database. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionStrings

Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionStrings

Static Methods

getDescriptor()

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

Methods

addAllProfiles(Iterable<? extends DatabaseConnectionStringProfile> values)

public AutonomousDatabaseConnectionStrings.Builder addAllProfiles(Iterable<? extends DatabaseConnectionStringProfile> values)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile>
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

addProfiles(DatabaseConnectionStringProfile value)

public AutonomousDatabaseConnectionStrings.Builder addProfiles(DatabaseConnectionStringProfile value)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DatabaseConnectionStringProfile
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

addProfiles(DatabaseConnectionStringProfile.Builder builderForValue)

public AutonomousDatabaseConnectionStrings.Builder addProfiles(DatabaseConnectionStringProfile.Builder builderForValue)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DatabaseConnectionStringProfile.Builder
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

addProfiles(int index, DatabaseConnectionStringProfile value)

public AutonomousDatabaseConnectionStrings.Builder addProfiles(int index, DatabaseConnectionStringProfile value)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value DatabaseConnectionStringProfile
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

addProfiles(int index, DatabaseConnectionStringProfile.Builder builderForValue)

public AutonomousDatabaseConnectionStrings.Builder addProfiles(int index, DatabaseConnectionStringProfile.Builder builderForValue)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue DatabaseConnectionStringProfile.Builder
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

addProfilesBuilder()

public DatabaseConnectionStringProfile.Builder addProfilesBuilder()

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

addProfilesBuilder(int index)

public DatabaseConnectionStringProfile.Builder addProfilesBuilder(int index)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatabaseConnectionStringProfile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutonomousDatabaseConnectionStrings build()
Returns
Type Description
AutonomousDatabaseConnectionStrings

buildPartial()

public AutonomousDatabaseConnectionStrings buildPartial()
Returns
Type Description
AutonomousDatabaseConnectionStrings

clear()

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

clearAllConnectionStrings()

public AutonomousDatabaseConnectionStrings.Builder clearAllConnectionStrings()

Output only. Returns all connection strings that can be used to connect to the Autonomous Database.

.google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

clearDedicated()

public AutonomousDatabaseConnectionStrings.Builder clearDedicated()

Output only. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.

string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHigh()

public AutonomousDatabaseConnectionStrings.Builder clearHigh()

Output only. The database service provides the highest level of resources to each SQL statement.

string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

clearLow()

public AutonomousDatabaseConnectionStrings.Builder clearLow()

Output only. The database service provides the least level of resources to each SQL statement.

string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

clearMedium()

public AutonomousDatabaseConnectionStrings.Builder clearMedium()

Output only. The database service provides a lower level of resources to each SQL statement.

string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProfiles()

public AutonomousDatabaseConnectionStrings.Builder clearProfiles()

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

clone()

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

getAllConnectionStrings()

public AllConnectionStrings getAllConnectionStrings()

Output only. Returns all connection strings that can be used to connect to the Autonomous Database.

.google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AllConnectionStrings

The allConnectionStrings.

getAllConnectionStringsBuilder()

public AllConnectionStrings.Builder getAllConnectionStringsBuilder()

Output only. Returns all connection strings that can be used to connect to the Autonomous Database.

.google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AllConnectionStrings.Builder

getAllConnectionStringsOrBuilder()

public AllConnectionStringsOrBuilder getAllConnectionStringsOrBuilder()

Output only. Returns all connection strings that can be used to connect to the Autonomous Database.

.google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AllConnectionStringsOrBuilder

getDedicated()

public String getDedicated()

Output only. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.

string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dedicated.

getDedicatedBytes()

public ByteString getDedicatedBytes()

Output only. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.

string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dedicated.

getDefaultInstanceForType()

public AutonomousDatabaseConnectionStrings getDefaultInstanceForType()
Returns
Type Description
AutonomousDatabaseConnectionStrings

getDescriptorForType()

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

getHigh()

public String getHigh()

Output only. The database service provides the highest level of resources to each SQL statement.

string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The high.

getHighBytes()

public ByteString getHighBytes()

Output only. The database service provides the highest level of resources to each SQL statement.

string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for high.

getLow()

public String getLow()

Output only. The database service provides the least level of resources to each SQL statement.

string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The low.

getLowBytes()

public ByteString getLowBytes()

Output only. The database service provides the least level of resources to each SQL statement.

string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for low.

getMedium()

public String getMedium()

Output only. The database service provides a lower level of resources to each SQL statement.

string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The medium.

getMediumBytes()

public ByteString getMediumBytes()

Output only. The database service provides a lower level of resources to each SQL statement.

string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for medium.

getProfiles(int index)

public DatabaseConnectionStringProfile getProfiles(int index)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatabaseConnectionStringProfile

getProfilesBuilder(int index)

public DatabaseConnectionStringProfile.Builder getProfilesBuilder(int index)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatabaseConnectionStringProfile.Builder

getProfilesBuilderList()

public List<DatabaseConnectionStringProfile.Builder> getProfilesBuilderList()

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getProfilesCount()

public int getProfilesCount()

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getProfilesList()

public List<DatabaseConnectionStringProfile> getProfilesList()

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DatabaseConnectionStringProfile>

getProfilesOrBuilder(int index)

public DatabaseConnectionStringProfileOrBuilder getProfilesOrBuilder(int index)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatabaseConnectionStringProfileOrBuilder

getProfilesOrBuilderList()

public List<? extends DatabaseConnectionStringProfileOrBuilder> getProfilesOrBuilderList()

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfileOrBuilder>

hasAllConnectionStrings()

public boolean hasAllConnectionStrings()

Output only. Returns all connection strings that can be used to connect to the Autonomous Database.

.google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the allConnectionStrings field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllConnectionStrings(AllConnectionStrings value)

public AutonomousDatabaseConnectionStrings.Builder mergeAllConnectionStrings(AllConnectionStrings value)

Output only. Returns all connection strings that can be used to connect to the Autonomous Database.

.google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AllConnectionStrings
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

mergeFrom(AutonomousDatabaseConnectionStrings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProfiles(int index)

public AutonomousDatabaseConnectionStrings.Builder removeProfiles(int index)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

setAllConnectionStrings(AllConnectionStrings value)

public AutonomousDatabaseConnectionStrings.Builder setAllConnectionStrings(AllConnectionStrings value)

Output only. Returns all connection strings that can be used to connect to the Autonomous Database.

.google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AllConnectionStrings
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

setAllConnectionStrings(AllConnectionStrings.Builder builderForValue)

public AutonomousDatabaseConnectionStrings.Builder setAllConnectionStrings(AllConnectionStrings.Builder builderForValue)

Output only. Returns all connection strings that can be used to connect to the Autonomous Database.

.google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AllConnectionStrings.Builder
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

setDedicated(String value)

public AutonomousDatabaseConnectionStrings.Builder setDedicated(String value)

Output only. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.

string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The dedicated to set.

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

setDedicatedBytes(ByteString value)

public AutonomousDatabaseConnectionStrings.Builder setDedicatedBytes(ByteString value)

Output only. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.

string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for dedicated to set.

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHigh(String value)

public AutonomousDatabaseConnectionStrings.Builder setHigh(String value)

Output only. The database service provides the highest level of resources to each SQL statement.

string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The high to set.

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

setHighBytes(ByteString value)

public AutonomousDatabaseConnectionStrings.Builder setHighBytes(ByteString value)

Output only. The database service provides the highest level of resources to each SQL statement.

string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for high to set.

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

setLow(String value)

public AutonomousDatabaseConnectionStrings.Builder setLow(String value)

Output only. The database service provides the least level of resources to each SQL statement.

string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The low to set.

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

setLowBytes(ByteString value)

public AutonomousDatabaseConnectionStrings.Builder setLowBytes(ByteString value)

Output only. The database service provides the least level of resources to each SQL statement.

string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for low to set.

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

setMedium(String value)

public AutonomousDatabaseConnectionStrings.Builder setMedium(String value)

Output only. The database service provides a lower level of resources to each SQL statement.

string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The medium to set.

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

setMediumBytes(ByteString value)

public AutonomousDatabaseConnectionStrings.Builder setMediumBytes(ByteString value)

Output only. The database service provides a lower level of resources to each SQL statement.

string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for medium to set.

Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

This builder for chaining.

setProfiles(int index, DatabaseConnectionStringProfile value)

public AutonomousDatabaseConnectionStrings.Builder setProfiles(int index, DatabaseConnectionStringProfile value)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value DatabaseConnectionStringProfile
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

setProfiles(int index, DatabaseConnectionStringProfile.Builder builderForValue)

public AutonomousDatabaseConnectionStrings.Builder setProfiles(int index, DatabaseConnectionStringProfile.Builder builderForValue)

Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.

repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue DatabaseConnectionStringProfile.Builder
Returns
Type Description
AutonomousDatabaseConnectionStrings.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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