Class ListAutonomousDatabasesResponse.Builder (0.4.0)

public static final class ListAutonomousDatabasesResponse.Builder extends GeneratedMessageV3.Builder<ListAutonomousDatabasesResponse.Builder> implements ListAutonomousDatabasesResponseOrBuilder

The response for AutonomousDatabase.List.

Protobuf type google.cloud.oracledatabase.v1.ListAutonomousDatabasesResponse

Static Methods

getDescriptor()

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

Methods

addAllAutonomousDatabases(Iterable<? extends AutonomousDatabase> values)

public ListAutonomousDatabasesResponse.Builder addAllAutonomousDatabases(Iterable<? extends AutonomousDatabase> values)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

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

addAutonomousDatabases(AutonomousDatabase value)

public ListAutonomousDatabasesResponse.Builder addAutonomousDatabases(AutonomousDatabase value)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameter
Name Description
value AutonomousDatabase
Returns
Type Description
ListAutonomousDatabasesResponse.Builder

addAutonomousDatabases(AutonomousDatabase.Builder builderForValue)

public ListAutonomousDatabasesResponse.Builder addAutonomousDatabases(AutonomousDatabase.Builder builderForValue)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

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

addAutonomousDatabases(int index, AutonomousDatabase value)

public ListAutonomousDatabasesResponse.Builder addAutonomousDatabases(int index, AutonomousDatabase value)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameters
Name Description
index int
value AutonomousDatabase
Returns
Type Description
ListAutonomousDatabasesResponse.Builder

addAutonomousDatabases(int index, AutonomousDatabase.Builder builderForValue)

public ListAutonomousDatabasesResponse.Builder addAutonomousDatabases(int index, AutonomousDatabase.Builder builderForValue)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameters
Name Description
index int
builderForValue AutonomousDatabase.Builder
Returns
Type Description
ListAutonomousDatabasesResponse.Builder

addAutonomousDatabasesBuilder()

public AutonomousDatabase.Builder addAutonomousDatabasesBuilder()

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Returns
Type Description
AutonomousDatabase.Builder

addAutonomousDatabasesBuilder(int index)

public AutonomousDatabase.Builder addAutonomousDatabasesBuilder(int index)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameter
Name Description
index int
Returns
Type Description
AutonomousDatabase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAutonomousDatabasesResponse build()
Returns
Type Description
ListAutonomousDatabasesResponse

buildPartial()

public ListAutonomousDatabasesResponse buildPartial()
Returns
Type Description
ListAutonomousDatabasesResponse

clear()

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

clearAutonomousDatabases()

public ListAutonomousDatabasesResponse.Builder clearAutonomousDatabases()

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Returns
Type Description
ListAutonomousDatabasesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAutonomousDatabasesResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListAutonomousDatabasesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAutonomousDatabases(int index)

public AutonomousDatabase getAutonomousDatabases(int index)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameter
Name Description
index int
Returns
Type Description
AutonomousDatabase

getAutonomousDatabasesBuilder(int index)

public AutonomousDatabase.Builder getAutonomousDatabasesBuilder(int index)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameter
Name Description
index int
Returns
Type Description
AutonomousDatabase.Builder

getAutonomousDatabasesBuilderList()

public List<AutonomousDatabase.Builder> getAutonomousDatabasesBuilderList()

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Returns
Type Description
List<Builder>

getAutonomousDatabasesCount()

public int getAutonomousDatabasesCount()

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Returns
Type Description
int

getAutonomousDatabasesList()

public List<AutonomousDatabase> getAutonomousDatabasesList()

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Returns
Type Description
List<AutonomousDatabase>

getAutonomousDatabasesOrBuilder(int index)

public AutonomousDatabaseOrBuilder getAutonomousDatabasesOrBuilder(int index)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameter
Name Description
index int
Returns
Type Description
AutonomousDatabaseOrBuilder

getAutonomousDatabasesOrBuilderList()

public List<? extends AutonomousDatabaseOrBuilder> getAutonomousDatabasesOrBuilderList()

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

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

getDefaultInstanceForType()

public ListAutonomousDatabasesResponse getDefaultInstanceForType()
Returns
Type Description
ListAutonomousDatabasesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAutonomousDatabasesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAutonomousDatabases(int index)

public ListAutonomousDatabasesResponse.Builder removeAutonomousDatabases(int index)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAutonomousDatabasesResponse.Builder

setAutonomousDatabases(int index, AutonomousDatabase value)

public ListAutonomousDatabasesResponse.Builder setAutonomousDatabases(int index, AutonomousDatabase value)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameters
Name Description
index int
value AutonomousDatabase
Returns
Type Description
ListAutonomousDatabasesResponse.Builder

setAutonomousDatabases(int index, AutonomousDatabase.Builder builderForValue)

public ListAutonomousDatabasesResponse.Builder setAutonomousDatabases(int index, AutonomousDatabase.Builder builderForValue)

The list of Autonomous Databases.

repeated .google.cloud.oracledatabase.v1.AutonomousDatabase autonomous_databases = 1;

Parameters
Name Description
index int
builderForValue AutonomousDatabase.Builder
Returns
Type Description
ListAutonomousDatabasesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAutonomousDatabasesResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAutonomousDatabasesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAutonomousDatabasesResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAutonomousDatabasesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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