Class OperationResponse (6.62.0)

public final class OperationResponse extends GeneratedMessageV3 implements OperationResponseOrBuilder

OperationResponse contains results returned by operation related actions.

Protobuf type google.spanner.executor.v1.OperationResponse

Static Fields

LISTED_OPERATIONS_FIELD_NUMBER

public static final int LISTED_OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OperationResponse getDefaultInstance()
Returns
TypeDescription
OperationResponse

getDescriptor()

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

newBuilder()

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

newBuilder(OperationResponse prototype)

public static OperationResponse.Builder newBuilder(OperationResponse prototype)
Parameter
NameDescription
prototypeOperationResponse
Returns
TypeDescription
OperationResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OperationResponse getDefaultInstanceForType()
Returns
TypeDescription
OperationResponse

getListedOperations(int index)

public Operation getListedOperations(int index)

List of operations returned by ListOperationsAction.

repeated .google.longrunning.Operation listed_operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getListedOperationsCount()

public int getListedOperationsCount()

List of operations returned by ListOperationsAction.

repeated .google.longrunning.Operation listed_operations = 1;

Returns
TypeDescription
int

getListedOperationsList()

public List<Operation> getListedOperationsList()

List of operations returned by ListOperationsAction.

repeated .google.longrunning.Operation listed_operations = 1;

Returns
TypeDescription
List<Operation>

getListedOperationsOrBuilder(int index)

public OperationOrBuilder getListedOperationsOrBuilder(int index)

List of operations returned by ListOperationsAction.

repeated .google.longrunning.Operation listed_operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getListedOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getListedOperationsOrBuilderList()

List of operations returned by ListOperationsAction.

repeated .google.longrunning.Operation listed_operations = 1;

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

getNextPageToken()

public String getNextPageToken()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOperation()

public Operation getOperation()

Operation returned by GetOperationAction.

.google.longrunning.Operation operation = 3;

Returns
TypeDescription
Operation

The operation.

getOperationOrBuilder()

public OperationOrBuilder getOperationOrBuilder()

Operation returned by GetOperationAction.

.google.longrunning.Operation operation = 3;

Returns
TypeDescription
OperationOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasOperation()

public boolean hasOperation()

Operation returned by GetOperationAction.

.google.longrunning.Operation operation = 3;

Returns
TypeDescription
boolean

Whether the operation field is set.

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 OperationResponse.Builder newBuilderForType()
Returns
TypeDescription
OperationResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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