public final class BatchDeleteTasksMetadata extends GeneratedMessage implements BatchDeleteTasksMetadataOrBuilder
Metadata for the long-running operation returned by
BatchDeleteTasks.
This message is used to hold metadata information about the
batch delete tasks operation; that is, it is put in
google.longrunning.Operation.metadata.
Protobuf type google.cloud.tasks.v2beta3.BatchDeleteTasksMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int END_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int FAILED_REQUESTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static BatchDeleteTasksMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BatchDeleteTasksMetadata.Builder newBuilder()
public static BatchDeleteTasksMetadata.Builder newBuilder(BatchDeleteTasksMetadata prototype)
public static BatchDeleteTasksMetadata parseDelimitedFrom(InputStream input)
public static BatchDeleteTasksMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteTasksMetadata parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static BatchDeleteTasksMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteTasksMetadata parseFrom(ByteString data)
public static BatchDeleteTasksMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteTasksMetadata parseFrom(CodedInputStream input)
public static BatchDeleteTasksMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteTasksMetadata parseFrom(InputStream input)
public static BatchDeleteTasksMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteTasksMetadata parseFrom(ByteBuffer data)
public static BatchDeleteTasksMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BatchDeleteTasksMetadata> parser()
Methods
public boolean containsFailedRequests(int key)
Output only. A map of failed requests, where the key is the index of the
request in BatchDeleteTasksRequest.names and the value is the error status.
map<int32, .google.rpc.Status> failed_requests = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
int
|
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public BatchDeleteTasksMetadata getDefaultInstanceForType()
public Timestamp getEndTime()
Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The endTime.
|
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Map<Integer,Status> getFailedRequests()
| Returns |
| Type |
Description |
Map<java.lang.Integer,com.google.rpc.Status> |
|
public int getFailedRequestsCount()
Output only. A map of failed requests, where the key is the index of the
request in BatchDeleteTasksRequest.names and the value is the error status.
map<int32, .google.rpc.Status> failed_requests = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
public Map<Integer,Status> getFailedRequestsMap()
Output only. A map of failed requests, where the key is the index of the
request in BatchDeleteTasksRequest.names and the value is the error status.
map<int32, .google.rpc.Status> failed_requests = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Map<java.lang.Integer,com.google.rpc.Status> |
|
public Status getFailedRequestsOrDefault(int key, Status defaultValue)
Output only. A map of failed requests, where the key is the index of the
request in BatchDeleteTasksRequest.names and the value is the error status.
map<int32, .google.rpc.Status> failed_requests = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters |
| Name |
Description |
key |
int
|
defaultValue |
com.google.rpc.Status
|
| Returns |
| Type |
Description |
com.google.rpc.Status |
|
public Status getFailedRequestsOrThrow(int key)
Output only. A map of failed requests, where the key is the index of the
request in BatchDeleteTasksRequest.names and the value is the error status.
map<int32, .google.rpc.Status> failed_requests = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
int
|
| Returns |
| Type |
Description |
com.google.rpc.Status |
|
public Parser<BatchDeleteTasksMetadata> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public Timestamp getStartTime()
Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The startTime.
|
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public BatchDeleteTasksMetadata.State getState()
Output only. The state of the batch delete operation.
.google.cloud.tasks.v2beta3.BatchDeleteTasksMetadata.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getStateValue()
Output only. The state of the batch delete operation.
.google.cloud.tasks.v2beta3.BatchDeleteTasksMetadata.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for state.
|
public boolean hasEndTime()
Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the endTime field is set.
|
public boolean hasStartTime()
Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the startTime field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public BatchDeleteTasksMetadata.Builder newBuilderForType()
protected BatchDeleteTasksMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public BatchDeleteTasksMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides