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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public String getVerb()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVerb
in interface OperationMetadataOrBuilder
public ByteString getVerbBytes()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVerbBytes
in interface OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public String getApiVersion()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getApiVersion
in interface OperationMetadataOrBuilder
public ByteString getApiVersionBytes()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getApiVersionBytes
in interface OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
index
- 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 OperationMetadataOrBuilder
index
- The index of the value to return.public int getOperationStatusCount()
OperationMetadataOrBuilder
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];
getOperationStatusCount
in interface OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public 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 OperationMetadataOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static OperationMetadata parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OperationMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OperationMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OperationMetadata parseFrom(InputStream input) throws IOException
IOException
public static OperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OperationMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static OperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OperationMetadata parseFrom(CodedInputStream input) throws IOException
IOException
public static OperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public OperationMetadata.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static OperationMetadata.Builder newBuilder()
public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
public OperationMetadata.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected OperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static OperationMetadata getDefaultInstance()
public static Parser<OperationMetadata> parser()
public Parser<OperationMetadata> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public OperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2020 Google LLC. All rights reserved.