Class ListDbNodesResponse.Builder (0.2.0)

public static final class ListDbNodesResponse.Builder extends GeneratedMessageV3.Builder<ListDbNodesResponse.Builder> implements ListDbNodesResponseOrBuilder

The response for DbNode.List.

Protobuf type google.cloud.oracledatabase.v1.ListDbNodesResponse

Static Methods

getDescriptor()

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

Methods

addAllDbNodes(Iterable<? extends DbNode> values)

public ListDbNodesResponse.Builder addAllDbNodes(Iterable<? extends DbNode> values)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

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

addDbNodes(DbNode value)

public ListDbNodesResponse.Builder addDbNodes(DbNode value)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameter
Name Description
value DbNode
Returns
Type Description
ListDbNodesResponse.Builder

addDbNodes(DbNode.Builder builderForValue)

public ListDbNodesResponse.Builder addDbNodes(DbNode.Builder builderForValue)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameter
Name Description
builderForValue DbNode.Builder
Returns
Type Description
ListDbNodesResponse.Builder

addDbNodes(int index, DbNode value)

public ListDbNodesResponse.Builder addDbNodes(int index, DbNode value)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameters
Name Description
index int
value DbNode
Returns
Type Description
ListDbNodesResponse.Builder

addDbNodes(int index, DbNode.Builder builderForValue)

public ListDbNodesResponse.Builder addDbNodes(int index, DbNode.Builder builderForValue)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameters
Name Description
index int
builderForValue DbNode.Builder
Returns
Type Description
ListDbNodesResponse.Builder

addDbNodesBuilder()

public DbNode.Builder addDbNodesBuilder()

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Returns
Type Description
DbNode.Builder

addDbNodesBuilder(int index)

public DbNode.Builder addDbNodesBuilder(int index)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
DbNode.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDbNodesResponse build()
Returns
Type Description
ListDbNodesResponse

buildPartial()

public ListDbNodesResponse buildPartial()
Returns
Type Description
ListDbNodesResponse

clear()

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

clearDbNodes()

public ListDbNodesResponse.Builder clearDbNodes()

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Returns
Type Description
ListDbNodesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDbNodesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListDbNodesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDbNodes(int index)

public DbNode getDbNodes(int index)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
DbNode

getDbNodesBuilder(int index)

public DbNode.Builder getDbNodesBuilder(int index)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
DbNode.Builder

getDbNodesBuilderList()

public List<DbNode.Builder> getDbNodesBuilderList()

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Returns
Type Description
List<Builder>

getDbNodesCount()

public int getDbNodesCount()

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Returns
Type Description
int

getDbNodesList()

public List<DbNode> getDbNodesList()

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Returns
Type Description
List<DbNode>

getDbNodesOrBuilder(int index)

public DbNodeOrBuilder getDbNodesOrBuilder(int index)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
DbNodeOrBuilder

getDbNodesOrBuilderList()

public List<? extends DbNodeOrBuilder> getDbNodesOrBuilderList()

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

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

getDefaultInstanceForType()

public ListDbNodesResponse getDefaultInstanceForType()
Returns
Type Description
ListDbNodesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the node 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 node 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(ListDbNodesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDbNodes(int index)

public ListDbNodesResponse.Builder removeDbNodes(int index)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDbNodesResponse.Builder

setDbNodes(int index, DbNode value)

public ListDbNodesResponse.Builder setDbNodes(int index, DbNode value)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameters
Name Description
index int
value DbNode
Returns
Type Description
ListDbNodesResponse.Builder

setDbNodes(int index, DbNode.Builder builderForValue)

public ListDbNodesResponse.Builder setDbNodes(int index, DbNode.Builder builderForValue)

The list of DB Nodes

repeated .google.cloud.oracledatabase.v1.DbNode db_nodes = 1;

Parameters
Name Description
index int
builderForValue DbNode.Builder
Returns
Type Description
ListDbNodesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDbNodesResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDbNodesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDbNodesResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDbNodesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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