Interface BatchCreateTasksMetadataOrBuilder (2.95.0)

public interface BatchCreateTasksMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFailedRequests(int key)

public abstract boolean containsFailedRequests(int key)

A map of failed requests, where the key is the index of the request in BatchCreateTasksRequest.requests and the value is the error status.

map<int32, .google.rpc.Status> failed_requests = 4;

Parameter
Name Description
key int
Returns
Type Description
boolean

getEndTime()

public abstract Timestamp getEndTime()

The time when the batch create finished.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

The time when the batch create finished.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getFailedRequests() (deprecated)

public abstract Map<Integer,Status> getFailedRequests()
Returns
Type Description
Map<java.lang.Integer,com.google.rpc.Status>

getFailedRequestsCount()

public abstract int getFailedRequestsCount()

A map of failed requests, where the key is the index of the request in BatchCreateTasksRequest.requests and the value is the error status.

map<int32, .google.rpc.Status> failed_requests = 4;

Returns
Type Description
int

getFailedRequestsMap()

public abstract Map<Integer,Status> getFailedRequestsMap()

A map of failed requests, where the key is the index of the request in BatchCreateTasksRequest.requests and the value is the error status.

map<int32, .google.rpc.Status> failed_requests = 4;

Returns
Type Description
Map<java.lang.Integer,com.google.rpc.Status>

getFailedRequestsOrDefault(int key, Status defaultValue)

public abstract Status getFailedRequestsOrDefault(int key, Status defaultValue)

A map of failed requests, where the key is the index of the request in BatchCreateTasksRequest.requests and the value is the error status.

map<int32, .google.rpc.Status> failed_requests = 4;

Parameters
Name Description
key int
defaultValue com.google.rpc.Status
Returns
Type Description
com.google.rpc.Status

getFailedRequestsOrThrow(int key)

public abstract Status getFailedRequestsOrThrow(int key)

A map of failed requests, where the key is the index of the request in BatchCreateTasksRequest.requests and the value is the error status.

map<int32, .google.rpc.Status> failed_requests = 4;

Parameter
Name Description
key int
Returns
Type Description
com.google.rpc.Status

getStartTime()

public abstract Timestamp getStartTime()

The time when the batch create started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

The time when the batch create started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public abstract BatchCreateTasksMetadata.State getState()

Output only. The state of the batch create operation.

.google.cloud.tasks.v2beta3.BatchCreateTasksMetadata.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BatchCreateTasksMetadata.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The state of the batch create operation.

.google.cloud.tasks.v2beta3.BatchCreateTasksMetadata.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasEndTime()

public abstract boolean hasEndTime()

The time when the batch create finished.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public abstract boolean hasStartTime()

The time when the batch create started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.