Class ListDatabaseOperationsResponse

public final class ListDatabaseOperationsResponse extends GeneratedMessageV3 implements ListDatabaseOperationsResponseOrBuilder

The response for ListDatabaseOperations.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListDatabaseOperationsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATIONS_FIELD_NUMBER

public static final int OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDatabaseOperationsResponse getDefaultInstance()
Returns
TypeDescription
ListDatabaseOperationsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListDatabaseOperationsResponse prototype)

public static ListDatabaseOperationsResponse.Builder newBuilder(ListDatabaseOperationsResponse prototype)
Parameter
NameDescription
prototypeListDatabaseOperationsResponse
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListDatabaseOperationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDatabaseOperationsResponse

getNextPageToken()

public String getNextPageToken()

next_page_token can be sent in a subsequent ListDatabaseOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

next_page_token can be sent in a subsequent ListDatabaseOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOperations(int index)

public Operation getOperations(int index)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getOperationsCount()

public int getOperationsCount()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
int

getOperationsList()

public List<Operation> getOperationsList()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<Operation>

getOperationsOrBuilder(int index)

public OperationOrBuilder getOperationsOrBuilder(int index)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getOperationsOrBuilderList()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<? extends com.google.longrunning.OperationOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListDatabaseOperationsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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