public final class OperationMetadata extends GeneratedMessageV3 implements OperationMetadataOrBuilder
Represents the metadata of the long-running operation.Protobuf type
google.cloud.gaming.v1alpha.OperationMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
OperationMetadata.Builder
Represents the metadata of the long-running operation.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
API_VERSION_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
OPERATION_STATUS_FIELD_NUMBER |
static int |
REQUESTED_CANCELLATION_FIELD_NUMBER |
static int |
STATUS_MESSAGE_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
static int |
UNREACHABLE_FIELD_NUMBER |
static int |
VERB_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CREATE_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
public static final int VERB_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
public static final int REQUESTED_CANCELLATION_FIELD_NUMBER
public static final int API_VERSION_FIELD_NUMBER
public static final int UNREACHABLE_FIELD_NUMBER
public static final int OPERATION_STATUS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean hasCreateTime()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface OperationMetadataOrBuilderpublic Timestamp getCreateTime()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface OperationMetadataOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface OperationMetadataOrBuilderpublic boolean hasEndTime()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface OperationMetadataOrBuilderpublic Timestamp getEndTime()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface OperationMetadataOrBuilderpublic TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface OperationMetadataOrBuilderpublic String getTarget()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getTarget in interface OperationMetadataOrBuilderpublic ByteString getTargetBytes()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getTargetBytes in interface OperationMetadataOrBuilderpublic String getVerb()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getVerb in interface OperationMetadataOrBuilderpublic ByteString getVerbBytes()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getVerbBytes in interface OperationMetadataOrBuilderpublic String getStatusMessage()
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getStatusMessage in interface OperationMetadataOrBuilderpublic ByteString getStatusMessageBytes()
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getStatusMessageBytes in interface OperationMetadataOrBuilderpublic boolean getRequestedCancellation()
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getRequestedCancellation in interface OperationMetadataOrBuilderpublic String getApiVersion()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getApiVersion in interface OperationMetadataOrBuilderpublic ByteString getApiVersionBytes()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getApiVersionBytes in interface OperationMetadataOrBuilderpublic ProtocolStringList getUnreachableList()
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getUnreachableList in interface OperationMetadataOrBuilderpublic int getUnreachableCount()
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getUnreachableCount in interface OperationMetadataOrBuilderpublic String getUnreachable(int index)
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getUnreachable in interface OperationMetadataOrBuilderindex - The index of the element to return.public ByteString getUnreachableBytes(int index)
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getUnreachableBytes in interface OperationMetadataOrBuilderindex - The index of the value to return.public int getOperationStatusCount()
OperationMetadataOrBuilderOutput only. Operation status for game services operations. Operation status is in the form of key-value pairs where keys are resource IDs and the values show the status of the operation. In case of failures, the value includes an error code and error message.
map<string, .google.cloud.gaming.v1alpha.OperationStatus> operation_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationStatusCount in interface OperationMetadataOrBuilderpublic boolean containsOperationStatus(String key)
Output only. Operation status for game services operations. Operation status is in the form of key-value pairs where keys are resource IDs and the values show the status of the operation. In case of failures, the value includes an error code and error message.
map<string, .google.cloud.gaming.v1alpha.OperationStatus> operation_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsOperationStatus in interface OperationMetadataOrBuilder@Deprecated public Map<String,OperationStatus> getOperationStatus()
getOperationStatusMap() instead.getOperationStatus in interface OperationMetadataOrBuilderpublic Map<String,OperationStatus> getOperationStatusMap()
Output only. Operation status for game services operations. Operation status is in the form of key-value pairs where keys are resource IDs and the values show the status of the operation. In case of failures, the value includes an error code and error message.
map<string, .google.cloud.gaming.v1alpha.OperationStatus> operation_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationStatusMap in interface OperationMetadataOrBuilderpublic OperationStatus getOperationStatusOrDefault(String key, OperationStatus defaultValue)
Output only. Operation status for game services operations. Operation status is in the form of key-value pairs where keys are resource IDs and the values show the status of the operation. In case of failures, the value includes an error code and error message.
map<string, .google.cloud.gaming.v1alpha.OperationStatus> operation_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationStatusOrDefault in interface OperationMetadataOrBuilderpublic OperationStatus getOperationStatusOrThrow(String key)
Output only. Operation status for game services operations. Operation status is in the form of key-value pairs where keys are resource IDs and the values show the status of the operation. In case of failures, the value includes an error code and error message.
map<string, .google.cloud.gaming.v1alpha.OperationStatus> operation_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationStatusOrThrow in interface OperationMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static OperationMetadata parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OperationMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OperationMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OperationMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static OperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OperationMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OperationMetadata parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static OperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OperationMetadata.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static OperationMetadata.Builder newBuilder()
public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
public OperationMetadata.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected OperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static OperationMetadata getDefaultInstance()
public static Parser<OperationMetadata> parser()
public Parser<OperationMetadata> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public OperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.