public static final class OperationMetadata.Builder extends GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder
Represents the metadata of the long-running operation.Protobuf type
google.cloud.gaming.v1alpha.OperationMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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 MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OperationMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OperationMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OperationMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder mergeFrom(OperationMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OperationMetadata.Builder>
IOException
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 OperationMetadata.Builder setCreateTime(Timestamp value)
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder mergeCreateTime(Timestamp value)
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearCreateTime()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 OperationMetadata.Builder setEndTime(Timestamp value)
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder mergeEndTime(Timestamp value)
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearEndTime()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getEndTimeBuilder()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 OperationMetadata.Builder setTarget(String value)
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The target to set.public OperationMetadata.Builder clearTarget()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setTargetBytes(ByteString value)
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for target to set.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 OperationMetadata.Builder setVerb(String value)
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The verb to set.public OperationMetadata.Builder clearVerb()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setVerbBytes(ByteString value)
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for verb to set.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 OperationMetadata.Builder setStatusMessage(String value)
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The statusMessage to set.public OperationMetadata.Builder clearStatusMessage()
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setStatusMessageBytes(ByteString value)
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for statusMessage to set.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 OperationMetadata.Builder setRequestedCancellation(boolean value)
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];
value
- The requestedCancellation to set.public OperationMetadata.Builder clearRequestedCancellation()
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];
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 OperationMetadata.Builder setApiVersion(String value)
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The apiVersion to set.public OperationMetadata.Builder clearApiVersion()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setApiVersionBytes(ByteString value)
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for apiVersion to set.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 OperationMetadata.Builder setUnreachable(int index, String value)
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
index
- The index to set the value at.value
- The unreachable to set.public OperationMetadata.Builder addUnreachable(String value)
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The unreachable to add.public OperationMetadata.Builder addAllUnreachable(Iterable<String> values)
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
values
- The unreachable to add.public OperationMetadata.Builder clearUnreachable()
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder addUnreachableBytes(ByteString value)
Output only. List of locations that could not be reached.
repeated string unreachable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes of the unreachable to add.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 OperationMetadata.Builder clearOperationStatus()
public OperationMetadata.Builder removeOperationStatus(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];
@Deprecated public Map<String,OperationStatus> getMutableOperationStatus()
public OperationMetadata.Builder putOperationStatus(String key, OperationStatus value)
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];
public OperationMetadata.Builder putAllOperationStatus(Map<String,OperationStatus> values)
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];
public final OperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public final OperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
Copyright © 2020 Google LLC. All rights reserved.