Class ListDatabaseRolesResponse.Builder (6.65.1)

public static final class ListDatabaseRolesResponse.Builder extends GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder> implements ListDatabaseRolesResponseOrBuilder

The response for ListDatabaseRoles.

Protobuf type google.spanner.admin.database.v1.ListDatabaseRolesResponse

Static Methods

getDescriptor()

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

Methods

addAllDatabaseRoles(Iterable<? extends DatabaseRole> values)

public ListDatabaseRolesResponse.Builder addAllDatabaseRoles(Iterable<? extends DatabaseRole> values)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameter
Name Description
values Iterable<? extends com.google.spanner.admin.database.v1.DatabaseRole>
Returns
Type Description
ListDatabaseRolesResponse.Builder

addDatabaseRoles(DatabaseRole value)

public ListDatabaseRolesResponse.Builder addDatabaseRoles(DatabaseRole value)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameter
Name Description
value DatabaseRole
Returns
Type Description
ListDatabaseRolesResponse.Builder

addDatabaseRoles(DatabaseRole.Builder builderForValue)

public ListDatabaseRolesResponse.Builder addDatabaseRoles(DatabaseRole.Builder builderForValue)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameter
Name Description
builderForValue DatabaseRole.Builder
Returns
Type Description
ListDatabaseRolesResponse.Builder

addDatabaseRoles(int index, DatabaseRole value)

public ListDatabaseRolesResponse.Builder addDatabaseRoles(int index, DatabaseRole value)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameters
Name Description
index int
value DatabaseRole
Returns
Type Description
ListDatabaseRolesResponse.Builder

addDatabaseRoles(int index, DatabaseRole.Builder builderForValue)

public ListDatabaseRolesResponse.Builder addDatabaseRoles(int index, DatabaseRole.Builder builderForValue)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameters
Name Description
index int
builderForValue DatabaseRole.Builder
Returns
Type Description
ListDatabaseRolesResponse.Builder

addDatabaseRolesBuilder()

public DatabaseRole.Builder addDatabaseRolesBuilder()

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Returns
Type Description
DatabaseRole.Builder

addDatabaseRolesBuilder(int index)

public DatabaseRole.Builder addDatabaseRolesBuilder(int index)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseRole.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDatabaseRolesResponse build()
Returns
Type Description
ListDatabaseRolesResponse

buildPartial()

public ListDatabaseRolesResponse buildPartial()
Returns
Type Description
ListDatabaseRolesResponse

clear()

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

clearDatabaseRoles()

public ListDatabaseRolesResponse.Builder clearDatabaseRoles()

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Returns
Type Description
ListDatabaseRolesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDatabaseRolesResponse.Builder clearNextPageToken()

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.

string next_page_token = 2;

Returns
Type Description
ListDatabaseRolesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatabaseRoles(int index)

public DatabaseRole getDatabaseRoles(int index)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseRole

getDatabaseRolesBuilder(int index)

public DatabaseRole.Builder getDatabaseRolesBuilder(int index)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseRole.Builder

getDatabaseRolesBuilderList()

public List<DatabaseRole.Builder> getDatabaseRolesBuilderList()

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Returns
Type Description
List<Builder>

getDatabaseRolesCount()

public int getDatabaseRolesCount()

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Returns
Type Description
int

getDatabaseRolesList()

public List<DatabaseRole> getDatabaseRolesList()

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Returns
Type Description
List<DatabaseRole>

getDatabaseRolesOrBuilder(int index)

public DatabaseRoleOrBuilder getDatabaseRolesOrBuilder(int index)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseRoleOrBuilder

getDatabaseRolesOrBuilderList()

public List<? extends DatabaseRoleOrBuilder> getDatabaseRolesOrBuilderList()

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Returns
Type Description
List<? extends com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder>

getDefaultInstanceForType()

public ListDatabaseRolesResponse getDefaultInstanceForType()
Returns
Type Description
ListDatabaseRolesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.

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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListDatabaseRolesResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDatabaseRoles(int index)

public ListDatabaseRolesResponse.Builder removeDatabaseRoles(int index)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDatabaseRolesResponse.Builder

setDatabaseRoles(int index, DatabaseRole value)

public ListDatabaseRolesResponse.Builder setDatabaseRoles(int index, DatabaseRole value)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameters
Name Description
index int
value DatabaseRole
Returns
Type Description
ListDatabaseRolesResponse.Builder

setDatabaseRoles(int index, DatabaseRole.Builder builderForValue)

public ListDatabaseRolesResponse.Builder setDatabaseRoles(int index, DatabaseRole.Builder builderForValue)

Database roles that matched the request.

repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Parameters
Name Description
index int
builderForValue DatabaseRole.Builder
Returns
Type Description
ListDatabaseRolesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDatabaseRolesResponse.Builder setNextPageToken(String value)

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDatabaseRolesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDatabaseRolesResponse.Builder setNextPageTokenBytes(ByteString value)

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDatabaseRolesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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