public final class BatchCreateTasksMetadata extends GeneratedMessage implements BatchCreateTasksMetadataOrBuilder
Metadata message for [BatchCreateTasks].
Protobuf type google.cloud.tasks.v2beta3.BatchCreateTasksMetadata
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 BatchCreateTasksMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BatchCreateTasksMetadata.Builder newBuilder()
public static BatchCreateTasksMetadata.Builder newBuilder(BatchCreateTasksMetadata prototype)
public static BatchCreateTasksMetadata parseDelimitedFrom(InputStream input)
public static BatchCreateTasksMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTasksMetadata parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static BatchCreateTasksMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTasksMetadata parseFrom(ByteString data)
public static BatchCreateTasksMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTasksMetadata parseFrom(CodedInputStream input)
public static BatchCreateTasksMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTasksMetadata parseFrom(InputStream input)
public static BatchCreateTasksMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTasksMetadata parseFrom(ByteBuffer data)
public static BatchCreateTasksMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BatchCreateTasksMetadata> parser()
Methods
public 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
|
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public BatchCreateTasksMetadata getDefaultInstanceForType()
public Timestamp getEndTime()
The time when the batch create finished.
.google.protobuf.Timestamp end_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The endTime.
|
public TimestampOrBuilder getEndTimeOrBuilder()
The time when the batch create finished.
.google.protobuf.Timestamp end_time = 2;
public Map<Integer,Status> getFailedRequests()
| Returns |
| Type |
Description |
Map<java.lang.Integer,com.google.rpc.Status> |
|
public 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 |
|
public 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> |
|
public 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 |
|
public 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 |
|
public Parser<BatchCreateTasksMetadata> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public Timestamp getStartTime()
The time when the batch create started.
.google.protobuf.Timestamp start_time = 1;
| Returns |
| Type |
Description |
Timestamp |
The startTime.
|
public TimestampOrBuilder getStartTimeOrBuilder()
The time when the batch create started.
.google.protobuf.Timestamp start_time = 1;
public 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];
public 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.
|
public 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.
|
public 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.
|
| 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 BatchCreateTasksMetadata.Builder newBuilderForType()
protected BatchCreateTasksMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public BatchCreateTasksMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides