public final class ListDatabaseRolesResponse extends GeneratedMessageV3 implements ListDatabaseRolesResponseOrBuilder
The response for ListDatabaseRoles.
Protobuf type google.spanner.admin.database.v1.ListDatabaseRolesResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListDatabaseRolesResponseImplements
ListDatabaseRolesResponseOrBuilderStatic Fields
DATABASE_ROLES_FIELD_NUMBER
public static final int DATABASE_ROLES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListDatabaseRolesResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ListDatabaseRolesResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse.Builder |
newBuilder(ListDatabaseRolesResponse prototype)
public static ListDatabaseRolesResponse.Builder newBuilder(ListDatabaseRolesResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype | ListDatabaseRolesResponse |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListDatabaseRolesResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListDatabaseRolesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListDatabaseRolesResponse parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListDatabaseRolesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListDatabaseRolesResponse parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListDatabaseRolesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListDatabaseRolesResponse parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListDatabaseRolesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListDatabaseRolesResponse parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListDatabaseRolesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListDatabaseRolesResponse parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListDatabaseRolesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListDatabaseRolesResponse> parser()
Returns | |
---|---|
Type | Description |
Parser<ListDatabaseRolesResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
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. |
getParserForType()
public Parser<ListDatabaseRolesResponse> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ListDatabaseRolesResponse> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ListDatabaseRolesResponse.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListDatabaseRolesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ListDatabaseRolesResponse.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ListDatabaseRolesResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |