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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addDatabaseRolesBuilder()
public DatabaseRole.Builder addDatabaseRolesBuilder()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDatabaseRolesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDatabaseRolesResponse build()
buildPartial()
public ListDatabaseRolesResponse buildPartial()
clear()
public ListDatabaseRolesResponse.Builder clear()
Overrides
clearDatabaseRoles()
public ListDatabaseRolesResponse.Builder clearDatabaseRoles()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDatabaseRolesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDatabaseRolesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDatabaseRolesResponse.Builder clone()
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
|
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
|
getDatabaseRolesBuilderList()
public List<DatabaseRole.Builder> getDatabaseRolesBuilderList()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ListDatabaseRolesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDatabaseRolesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(ListDatabaseRolesResponse other)
public ListDatabaseRolesResponse.Builder mergeFrom(ListDatabaseRolesResponse other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabaseRolesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDatabaseRolesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDatabaseRolesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabaseRolesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides