public static final class BatchDeleteTasksMetadata.Builder extends GeneratedMessage.Builder<BatchDeleteTasksMetadata.Builder> implements BatchDeleteTasksMetadataOrBuilderMetadata 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchDeleteTasksMetadata.BuilderImplements
BatchDeleteTasksMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchDeleteTasksMetadata build()| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata |
|
buildPartial()
public BatchDeleteTasksMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata |
|
clear()
public BatchDeleteTasksMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
clearEndTime()
public BatchDeleteTasksMetadata.Builder clearEndTime()Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
clearFailedRequests()
public BatchDeleteTasksMetadata.Builder clearFailedRequests()| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
clearStartTime()
public BatchDeleteTasksMetadata.Builder clearStartTime()Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
clearState()
public BatchDeleteTasksMetadata.Builder clearState()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 |
BatchDeleteTasksMetadata.Builder |
This builder for chaining. |
containsFailedRequests(int key)
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public BatchDeleteTasksMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
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. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getFailedRequests() (deprecated)
public Map<Integer,Status> getFailedRequests()Use #getFailedRequestsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<java.lang.Integer,com.google.rpc.Status> |
|
getFailedRequestsCount()
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 |
|
getFailedRequestsMap()
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> |
|
getFailedRequestsOrDefault(int key, Status defaultValue)
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 |
|
getFailedRequestsOrThrow(int key)
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 |
|
getMutableFailedRequests() (deprecated)
public Map<Integer,Status> getMutableFailedRequests()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<java.lang.Integer,com.google.rpc.Status> |
|
getStartTime()
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. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getState()
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];
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.State |
The state. |
getStateValue()
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. |
hasEndTime()
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. |
hasStartTime()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public BatchDeleteTasksMetadata.Builder mergeEndTime(Timestamp value)Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
mergeFrom(BatchDeleteTasksMetadata other)
public BatchDeleteTasksMetadata.Builder mergeFrom(BatchDeleteTasksMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchDeleteTasksMetadata |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchDeleteTasksMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchDeleteTasksMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
mergeStartTime(Timestamp value)
public BatchDeleteTasksMetadata.Builder mergeStartTime(Timestamp value)Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
putAllFailedRequests(Map<Integer,Status> values)
public BatchDeleteTasksMetadata.Builder putAllFailedRequests(Map<Integer,Status> values)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 |
values |
Map<java.lang.Integer,com.google.rpc.Status> |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
putFailedRequests(int key, Status value)
public BatchDeleteTasksMetadata.Builder putFailedRequests(int key, Status value)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 |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
putFailedRequestsBuilderIfAbsent(int key)
public Status.Builder putFailedRequestsBuilderIfAbsent(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.Builder |
|
removeFailedRequests(int key)
public BatchDeleteTasksMetadata.Builder removeFailedRequests(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 |
BatchDeleteTasksMetadata.Builder |
|
setEndTime(Timestamp value)
public BatchDeleteTasksMetadata.Builder setEndTime(Timestamp value)Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public BatchDeleteTasksMetadata.Builder setEndTime(Timestamp.Builder builderForValue)Output only. The time when the batch delete finished.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
setStartTime(Timestamp value)
public BatchDeleteTasksMetadata.Builder setStartTime(Timestamp value)Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public BatchDeleteTasksMetadata.Builder setStartTime(Timestamp.Builder builderForValue)Output only. The time when the batch delete started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
|
setState(BatchDeleteTasksMetadata.State value)
public BatchDeleteTasksMetadata.Builder setState(BatchDeleteTasksMetadata.State value)Output only. The state of the batch delete operation.
.google.cloud.tasks.v2beta3.BatchDeleteTasksMetadata.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BatchDeleteTasksMetadata.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
This builder for chaining. |
setStateValue(int value)
public BatchDeleteTasksMetadata.Builder setStateValue(int value)Output only. The state of the batch delete operation.
.google.cloud.tasks.v2beta3.BatchDeleteTasksMetadata.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteTasksMetadata.Builder |
This builder for chaining. |