public static final class OperationStatus.Builder extends GeneratedMessageV3.Builder<OperationStatus.Builder> implements OperationStatusOrBuilder
google.cloud.gaming.v1alpha.OperationStatus
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OperationStatus build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OperationStatus buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OperationStatus.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OperationStatus.Builder>
public OperationStatus.Builder mergeFrom(OperationStatus other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public OperationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OperationStatus.Builder>
IOException
public boolean getDone()
Output only. Whether the operation is done or still in progress.
bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDone
in interface OperationStatusOrBuilder
public OperationStatus.Builder setDone(boolean value)
Output only. Whether the operation is done or still in progress.
bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The done to set.public OperationStatus.Builder clearDone()
Output only. Whether the operation is done or still in progress.
bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getErrorCodeValue()
The error code in case of failures.
.google.cloud.gaming.v1alpha.OperationStatus.ErrorCode error_code = 2;
getErrorCodeValue
in interface OperationStatusOrBuilder
public OperationStatus.Builder setErrorCodeValue(int value)
The error code in case of failures.
.google.cloud.gaming.v1alpha.OperationStatus.ErrorCode error_code = 2;
value
- The enum numeric value on the wire for errorCode to set.public OperationStatus.ErrorCode getErrorCode()
The error code in case of failures.
.google.cloud.gaming.v1alpha.OperationStatus.ErrorCode error_code = 2;
getErrorCode
in interface OperationStatusOrBuilder
public OperationStatus.Builder setErrorCode(OperationStatus.ErrorCode value)
The error code in case of failures.
.google.cloud.gaming.v1alpha.OperationStatus.ErrorCode error_code = 2;
value
- The errorCode to set.public OperationStatus.Builder clearErrorCode()
The error code in case of failures.
.google.cloud.gaming.v1alpha.OperationStatus.ErrorCode error_code = 2;
public String getErrorMessage()
The human-readable error message.
string error_message = 3;
getErrorMessage
in interface OperationStatusOrBuilder
public ByteString getErrorMessageBytes()
The human-readable error message.
string error_message = 3;
getErrorMessageBytes
in interface OperationStatusOrBuilder
public OperationStatus.Builder setErrorMessage(String value)
The human-readable error message.
string error_message = 3;
value
- The errorMessage to set.public OperationStatus.Builder clearErrorMessage()
The human-readable error message.
string error_message = 3;
public OperationStatus.Builder setErrorMessageBytes(ByteString value)
The human-readable error message.
string error_message = 3;
value
- The bytes for errorMessage to set.public final OperationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
public final OperationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OperationStatus.Builder>
Copyright © 2020 Google LLC. All rights reserved.