Class Operation (2.21.0)

public final class Operation extends GeneratedMessageV3 implements OperationOrBuilder

Implements

OperationOrBuilder

Static Fields

DONE_FIELD_NUMBER

public static final int DONE_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESPONSE_FIELD_NUMBER

public static final int RESPONSE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Operation getDefaultInstance()
Returns
TypeDescription
Operation

getDescriptor()

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

newBuilder()

public static Operation.Builder newBuilder()
Returns
TypeDescription
Builder

newBuilder(Operation arg0)

public static Operation.Builder newBuilder(Operation arg0)
Parameter
NameDescription
arg0Operation
Returns
TypeDescription
Builder

parseDelimitedFrom(InputStream arg0)

public static Operation parseDelimitedFrom(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static Operation parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0InputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseFrom(byte[] arg0)

public static Operation parseFrom(byte[] arg0)
Parameter
NameDescription
arg0byte[]
Returns
TypeDescription
Operation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0byte[]
arg1ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString arg0)

public static Operation parseFrom(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Operation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteString
arg1ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream arg0)

public static Operation parseFrom(CodedInputStream arg0)
Parameter
NameDescription
arg0CodedInputStream
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0CodedInputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseFrom(InputStream arg0)

public static Operation parseFrom(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0InputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer arg0)

public static Operation parseFrom(ByteBuffer arg0)
Parameter
NameDescription
arg0ByteBuffer
Returns
TypeDescription
Operation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteBuffer
arg1ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
NameDescription
arg0Object
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Operation getDefaultInstanceForType()
Returns
TypeDescription
Operation

getDone()

public boolean getDone()
Returns
TypeDescription
boolean

getError()

public Status getError()
Returns
TypeDescription
com.google.rpc.Status

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getMetadata()

public Any getMetadata()
Returns
TypeDescription
Any

getMetadataOrBuilder()

public AnyOrBuilder getMetadataOrBuilder()
Returns
TypeDescription
AnyOrBuilder

getName()

public String getName()
Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()
Returns
TypeDescription
ByteString

getParserForType()

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

getResponse()

public Any getResponse()
Returns
TypeDescription
Any

getResponseOrBuilder()

public AnyOrBuilder getResponseOrBuilder()
Returns
TypeDescription
AnyOrBuilder

getResultCase()

public Operation.ResultCase getResultCase()
Returns
TypeDescription
ResultCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasError()

public boolean hasError()
Returns
TypeDescription
boolean

hasMetadata()

public boolean hasMetadata()
Returns
TypeDescription
boolean

hasResponse()

public boolean hasResponse()
Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent arg0)

protected Operation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
Parameter
NameDescription
arg0BuilderParent
Returns
TypeDescription
Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
Parameter
NameDescription
arg0UnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Operation.Builder toBuilder()
Returns
TypeDescription
Builder

writeTo(CodedOutputStream arg0)

public void writeTo(CodedOutputStream arg0)
Parameter
NameDescription
arg0CodedOutputStream
Overrides Exceptions
TypeDescription
IOException