Class OperationStatus

public final class OperationStatus extends GeneratedMessageV3 implements OperationStatusOrBuilder

Protobuf type google.cloud.gaming.v1.OperationStatus

Fields

DONE_FIELD_NUMBER

public static final int DONE_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_CODE_FIELD_NUMBER

public static final int ERROR_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static OperationStatus getDefaultInstance()
Returns
TypeDescription
OperationStatus

getDefaultInstanceForType()

public OperationStatus getDefaultInstanceForType()
Returns
TypeDescription
OperationStatus

getDescriptor()

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

getDone()

public boolean getDone()

Output only. Whether the operation is done or still in progress.

bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The done.

getErrorCode()

public OperationStatus.ErrorCode getErrorCode()

The error code in case of failures.

.google.cloud.gaming.v1.OperationStatus.ErrorCode error_code = 2;

Returns
TypeDescription
OperationStatus.ErrorCode

The errorCode.

getErrorCodeValue()

public int getErrorCodeValue()

The error code in case of failures.

.google.cloud.gaming.v1.OperationStatus.ErrorCode error_code = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for errorCode.

getErrorMessage()

public String getErrorMessage()

The human-readable error message.

string error_message = 3;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

The human-readable error message.

string error_message = 3;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

getParserForType()

public Parser<OperationStatus> getParserForType()
Returns
TypeDescription
Parser<OperationStatus>
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

newBuilder()

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

newBuilder(OperationStatus prototype)

public static OperationStatus.Builder newBuilder(OperationStatus prototype)
Parameter
NameDescription
prototypeOperationStatus
Returns
TypeDescription
OperationStatus.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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