Class Operation (2.20.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class Operation extends GeneratedMessageV3 implements OperationOrBuilder

Inheritance

Object > com.google.protobuf.AbstractMessageLite > com.google.protobuf.AbstractMessage > com.google.protobuf.GeneratedMessageV3 > Operation

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
com.google.protobuf.Descriptors.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
arg1com.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseFrom(byte[] arg0)

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

parseFrom(byte[] arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0byte[]
arg1com.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteString arg0)

public static Operation parseFrom(ByteString arg0)
Parameter
NameDescription
arg0com.google.protobuf.ByteString
Returns
TypeDescription
Operation
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteString arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0com.google.protobuf.ByteString
arg1com.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(CodedInputStream arg0)

public static Operation parseFrom(CodedInputStream arg0)
Parameter
NameDescription
arg0com.google.protobuf.CodedInputStream
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0com.google.protobuf.CodedInputStream
arg1com.google.protobuf.ExtensionRegistryLite
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
arg1com.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer arg0)

public static Operation parseFrom(ByteBuffer arg0)
Parameter
NameDescription
arg0ByteBuffer
Returns
TypeDescription
Operation
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)

public static Operation parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteBuffer
arg1com.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
Operation
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parser()

public static Parser<Operation> parser()
Returns
TypeDescription
com.google.protobuf.Parser<Operation>

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
NameDescription
arg0Object
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.AbstractMessage.equals(java.lang.Object)

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
com.google.protobuf.Any

getMetadataOrBuilder()

public AnyOrBuilder getMetadataOrBuilder()
Returns
TypeDescription
com.google.protobuf.AnyOrBuilder

getName()

public String getName()
Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()
Returns
TypeDescription
com.google.protobuf.ByteString

getParserForType()

public Parser<Operation> getParserForType()
Returns
TypeDescription
com.google.protobuf.Parser<Operation>
Overrides
com.google.protobuf.GeneratedMessageV3.getParserForType()

getResponse()

public Any getResponse()
Returns
TypeDescription
com.google.protobuf.Any

getResponseOrBuilder()

public AnyOrBuilder getResponseOrBuilder()
Returns
TypeDescription
com.google.protobuf.AnyOrBuilder

getResultCase()

public Operation.ResultCase getResultCase()
Returns
TypeDescription
ResultCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides
com.google.protobuf.GeneratedMessageV3.getSerializedSize()

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
com.google.protobuf.UnknownFieldSet
Overrides
com.google.protobuf.GeneratedMessageV3.getUnknownFields()

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
com.google.protobuf.AbstractMessage.hashCode()

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.isInitialized()

newBuilderForType()

public Operation.Builder newBuilderForType()
Returns
TypeDescription
Builder

newBuilderForType(GeneratedMessageV3.BuilderParent arg0)

protected Operation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
Parameter
NameDescription
arg0com.google.protobuf.GeneratedMessageV3.BuilderParent
Returns
TypeDescription
Builder
Overrides
com.google.protobuf.GeneratedMessageV3.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)

newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
Parameter
NameDescription
arg0com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Returns
TypeDescription
Object
Overrides
com.google.protobuf.GeneratedMessageV3.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)

toBuilder()

public Operation.Builder toBuilder()
Returns
TypeDescription
Builder

writeTo(CodedOutputStream arg0)

public void writeTo(CodedOutputStream arg0)
Parameter
NameDescription
arg0com.google.protobuf.CodedOutputStream
Overrides
com.google.protobuf.GeneratedMessageV3.writeTo(com.google.protobuf.CodedOutputStream)
Exceptions
TypeDescription
IOException