Class ListDbServersResponse.Builder (0.1.0)

public static final class ListDbServersResponse.Builder extends GeneratedMessageV3.Builder<ListDbServersResponse.Builder> implements ListDbServersResponseOrBuilder

The response for DbServer.List.

Protobuf type google.cloud.oracledatabase.v1.ListDbServersResponse

Static Methods

getDescriptor()

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

Methods

addAllDbServers(Iterable<? extends DbServer> values)

public ListDbServersResponse.Builder addAllDbServers(Iterable<? extends DbServer> values)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

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

addDbServers(DbServer value)

public ListDbServersResponse.Builder addDbServers(DbServer value)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameter
Name Description
value DbServer
Returns
Type Description
ListDbServersResponse.Builder

addDbServers(DbServer.Builder builderForValue)

public ListDbServersResponse.Builder addDbServers(DbServer.Builder builderForValue)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameter
Name Description
builderForValue DbServer.Builder
Returns
Type Description
ListDbServersResponse.Builder

addDbServers(int index, DbServer value)

public ListDbServersResponse.Builder addDbServers(int index, DbServer value)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameters
Name Description
index int
value DbServer
Returns
Type Description
ListDbServersResponse.Builder

addDbServers(int index, DbServer.Builder builderForValue)

public ListDbServersResponse.Builder addDbServers(int index, DbServer.Builder builderForValue)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameters
Name Description
index int
builderForValue DbServer.Builder
Returns
Type Description
ListDbServersResponse.Builder

addDbServersBuilder()

public DbServer.Builder addDbServersBuilder()

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Returns
Type Description
DbServer.Builder

addDbServersBuilder(int index)

public DbServer.Builder addDbServersBuilder(int index)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
DbServer.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDbServersResponse build()
Returns
Type Description
ListDbServersResponse

buildPartial()

public ListDbServersResponse buildPartial()
Returns
Type Description
ListDbServersResponse

clear()

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

clearDbServers()

public ListDbServersResponse.Builder clearDbServers()

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Returns
Type Description
ListDbServersResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDbServersResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListDbServersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDbServers(int index)

public DbServer getDbServers(int index)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
DbServer

getDbServersBuilder(int index)

public DbServer.Builder getDbServersBuilder(int index)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
DbServer.Builder

getDbServersBuilderList()

public List<DbServer.Builder> getDbServersBuilderList()

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Returns
Type Description
List<Builder>

getDbServersCount()

public int getDbServersCount()

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Returns
Type Description
int

getDbServersList()

public List<DbServer> getDbServersList()

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Returns
Type Description
List<DbServer>

getDbServersOrBuilder(int index)

public DbServerOrBuilder getDbServersOrBuilder(int index)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
DbServerOrBuilder

getDbServersOrBuilderList()

public List<? extends DbServerOrBuilder> getDbServersOrBuilderList()

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

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

getDefaultInstanceForType()

public ListDbServersResponse getDefaultInstanceForType()
Returns
Type Description
ListDbServersResponse

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(ListDbServersResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDbServers(int index)

public ListDbServersResponse.Builder removeDbServers(int index)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDbServersResponse.Builder

setDbServers(int index, DbServer value)

public ListDbServersResponse.Builder setDbServers(int index, DbServer value)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameters
Name Description
index int
value DbServer
Returns
Type Description
ListDbServersResponse.Builder

setDbServers(int index, DbServer.Builder builderForValue)

public ListDbServersResponse.Builder setDbServers(int index, DbServer.Builder builderForValue)

The list of database servers.

repeated .google.cloud.oracledatabase.v1.DbServer db_servers = 1;

Parameters
Name Description
index int
builderForValue DbServer.Builder
Returns
Type Description
ListDbServersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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