Class ListDatabaseRolesResponse (6.55.0)

public final class ListDatabaseRolesResponse extends GeneratedMessageV3 implements ListDatabaseRolesResponseOrBuilder

The response for ListDatabaseRoles.

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

Static Fields

DATABASE_ROLES_FIELD_NUMBER

public static final int DATABASE_ROLES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDatabaseRolesResponse getDefaultInstance()
Returns
TypeDescription
ListDatabaseRolesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListDatabaseRolesResponse.Builder newBuilder()
Returns
TypeDescription
ListDatabaseRolesResponse.Builder

newBuilder(ListDatabaseRolesResponse prototype)

public static ListDatabaseRolesResponse.Builder newBuilder(ListDatabaseRolesResponse prototype)
Parameter
NameDescription
prototypeListDatabaseRolesResponse
Returns
TypeDescription
ListDatabaseRolesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDatabaseRolesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabaseRolesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListDatabaseRolesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDatabaseRolesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDatabaseRolesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDatabaseRolesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDatabaseRolesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabaseRolesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListDatabaseRolesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabaseRolesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListDatabaseRolesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDatabaseRolesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabaseRolesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListDatabaseRolesResponse> parser()
Returns
TypeDescription
Parser<ListDatabaseRolesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
NameDescription
indexint
Returns
TypeDescription
DatabaseRole

getDatabaseRolesCount()

public int getDatabaseRolesCount()

Database roles that matched the request.

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

Returns
TypeDescription
int

getDatabaseRolesList()

public List<DatabaseRole> getDatabaseRolesList()

Database roles that matched the request.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DatabaseRoleOrBuilder

getDatabaseRolesOrBuilderList()

public List<? extends DatabaseRoleOrBuilder> getDatabaseRolesOrBuilderList()

Database roles that matched the request.

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

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

getDefaultInstanceForType()

public ListDatabaseRolesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListDatabaseRolesResponse> getParserForType()
Returns
TypeDescription
Parser<ListDatabaseRolesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListDatabaseRolesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDatabaseRolesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDatabaseRolesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListDatabaseRolesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListDatabaseRolesResponse.Builder toBuilder()
Returns
TypeDescription
ListDatabaseRolesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException