public static final class BatchOperationMetadata.Builder extends GeneratedMessageV3.Builder<BatchOperationMetadata.Builder> implements BatchOperationMetadataOrBuilder
Metadata used for long running operations returned by CTS batch APIs. It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].Protobuf type
google.cloud.talent.v4.BatchOperationMetadata
Modifier and Type | Method and Description |
---|---|
BatchOperationMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
BatchOperationMetadata |
build() |
BatchOperationMetadata |
buildPartial() |
BatchOperationMetadata.Builder |
clear() |
BatchOperationMetadata.Builder |
clearCreateTime()
The time when the batch operation is created.
|
BatchOperationMetadata.Builder |
clearEndTime()
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
|
BatchOperationMetadata.Builder |
clearFailureCount()
Count of failed item(s) inside an operation.
|
BatchOperationMetadata.Builder |
clearField(Descriptors.FieldDescriptor field) |
BatchOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
BatchOperationMetadata.Builder |
clearState()
The state of a long running operation.
|
BatchOperationMetadata.Builder |
clearStateDescription()
More detailed information about operation state.
|
BatchOperationMetadata.Builder |
clearSuccessCount()
Count of successful item(s) inside an operation.
|
BatchOperationMetadata.Builder |
clearTotalCount()
Count of total item(s) inside an operation.
|
BatchOperationMetadata.Builder |
clearUpdateTime()
The time when the batch operation status is updated.
|
BatchOperationMetadata.Builder |
clone() |
Timestamp |
getCreateTime()
The time when the batch operation is created.
|
Timestamp.Builder |
getCreateTimeBuilder()
The time when the batch operation is created.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The time when the batch operation is created.
|
BatchOperationMetadata |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Timestamp |
getEndTime()
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
|
Timestamp.Builder |
getEndTimeBuilder()
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
|
TimestampOrBuilder |
getEndTimeOrBuilder()
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
|
int |
getFailureCount()
Count of failed item(s) inside an operation.
|
BatchOperationMetadata.State |
getState()
The state of a long running operation.
|
String |
getStateDescription()
More detailed information about operation state.
|
ByteString |
getStateDescriptionBytes()
More detailed information about operation state.
|
int |
getStateValue()
The state of a long running operation.
|
int |
getSuccessCount()
Count of successful item(s) inside an operation.
|
int |
getTotalCount()
Count of total item(s) inside an operation.
|
Timestamp |
getUpdateTime()
The time when the batch operation status is updated.
|
Timestamp.Builder |
getUpdateTimeBuilder()
The time when the batch operation status is updated.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
The time when the batch operation status is updated.
|
boolean |
hasCreateTime()
The time when the batch operation is created.
|
boolean |
hasEndTime()
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
|
boolean |
hasUpdateTime()
The time when the batch operation status is updated.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchOperationMetadata.Builder |
mergeCreateTime(Timestamp value)
The time when the batch operation is created.
|
BatchOperationMetadata.Builder |
mergeEndTime(Timestamp value)
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
|
BatchOperationMetadata.Builder |
mergeFrom(BatchOperationMetadata other) |
BatchOperationMetadata.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
BatchOperationMetadata.Builder |
mergeFrom(Message other) |
BatchOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
BatchOperationMetadata.Builder |
mergeUpdateTime(Timestamp value)
The time when the batch operation status is updated.
|
BatchOperationMetadata.Builder |
setCreateTime(Timestamp.Builder builderForValue)
The time when the batch operation is created.
|
BatchOperationMetadata.Builder |
setCreateTime(Timestamp value)
The time when the batch operation is created.
|
BatchOperationMetadata.Builder |
setEndTime(Timestamp.Builder builderForValue)
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
|
BatchOperationMetadata.Builder |
setEndTime(Timestamp value)
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
|
BatchOperationMetadata.Builder |
setFailureCount(int value)
Count of failed item(s) inside an operation.
|
BatchOperationMetadata.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
BatchOperationMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchOperationMetadata.Builder |
setState(BatchOperationMetadata.State value)
The state of a long running operation.
|
BatchOperationMetadata.Builder |
setStateDescription(String value)
More detailed information about operation state.
|
BatchOperationMetadata.Builder |
setStateDescriptionBytes(ByteString value)
More detailed information about operation state.
|
BatchOperationMetadata.Builder |
setStateValue(int value)
The state of a long running operation.
|
BatchOperationMetadata.Builder |
setSuccessCount(int value)
Count of successful item(s) inside an operation.
|
BatchOperationMetadata.Builder |
setTotalCount(int value)
Count of total item(s) inside an operation.
|
BatchOperationMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
BatchOperationMetadata.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
The time when the batch operation status is updated.
|
BatchOperationMetadata.Builder |
setUpdateTime(Timestamp value)
The time when the batch operation status is updated.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BatchOperationMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BatchOperationMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BatchOperationMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BatchOperationMetadata.Builder>
IOException
public int getStateValue()
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
getStateValue
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setStateValue(int value)
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
value
- The enum numeric value on the wire for state to set.public BatchOperationMetadata.State getState()
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
getState
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setState(BatchOperationMetadata.State value)
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
value
- The state to set.public BatchOperationMetadata.Builder clearState()
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
public String getStateDescription()
More detailed information about operation state.
string state_description = 2;
getStateDescription
in interface BatchOperationMetadataOrBuilder
public ByteString getStateDescriptionBytes()
More detailed information about operation state.
string state_description = 2;
getStateDescriptionBytes
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setStateDescription(String value)
More detailed information about operation state.
string state_description = 2;
value
- The stateDescription to set.public BatchOperationMetadata.Builder clearStateDescription()
More detailed information about operation state.
string state_description = 2;
public BatchOperationMetadata.Builder setStateDescriptionBytes(ByteString value)
More detailed information about operation state.
string state_description = 2;
value
- The bytes for stateDescription to set.public int getSuccessCount()
Count of successful item(s) inside an operation.
int32 success_count = 3;
getSuccessCount
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setSuccessCount(int value)
Count of successful item(s) inside an operation.
int32 success_count = 3;
value
- The successCount to set.public BatchOperationMetadata.Builder clearSuccessCount()
Count of successful item(s) inside an operation.
int32 success_count = 3;
public int getFailureCount()
Count of failed item(s) inside an operation.
int32 failure_count = 4;
getFailureCount
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setFailureCount(int value)
Count of failed item(s) inside an operation.
int32 failure_count = 4;
value
- The failureCount to set.public BatchOperationMetadata.Builder clearFailureCount()
Count of failed item(s) inside an operation.
int32 failure_count = 4;
public int getTotalCount()
Count of total item(s) inside an operation.
int32 total_count = 5;
getTotalCount
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setTotalCount(int value)
Count of total item(s) inside an operation.
int32 total_count = 5;
value
- The totalCount to set.public BatchOperationMetadata.Builder clearTotalCount()
Count of total item(s) inside an operation.
int32 total_count = 5;
public boolean hasCreateTime()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
hasCreateTime
in interface BatchOperationMetadataOrBuilder
public Timestamp getCreateTime()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
getCreateTime
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setCreateTime(Timestamp value)
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
public BatchOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
public BatchOperationMetadata.Builder mergeCreateTime(Timestamp value)
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
public BatchOperationMetadata.Builder clearCreateTime()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
public Timestamp.Builder getCreateTimeBuilder()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
getCreateTimeOrBuilder
in interface BatchOperationMetadataOrBuilder
public boolean hasUpdateTime()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
hasUpdateTime
in interface BatchOperationMetadataOrBuilder
public Timestamp getUpdateTime()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
getUpdateTime
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setUpdateTime(Timestamp value)
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
public BatchOperationMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
public BatchOperationMetadata.Builder mergeUpdateTime(Timestamp value)
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
public BatchOperationMetadata.Builder clearUpdateTime()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
public Timestamp.Builder getUpdateTimeBuilder()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
getUpdateTimeOrBuilder
in interface BatchOperationMetadataOrBuilder
public boolean hasEndTime()
The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
.google.protobuf.Timestamp end_time = 8;
hasEndTime
in interface BatchOperationMetadataOrBuilder
public Timestamp getEndTime()
The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
.google.protobuf.Timestamp end_time = 8;
getEndTime
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setEndTime(Timestamp value)
The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
.google.protobuf.Timestamp end_time = 8;
public BatchOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)
The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
.google.protobuf.Timestamp end_time = 8;
public BatchOperationMetadata.Builder mergeEndTime(Timestamp value)
The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
.google.protobuf.Timestamp end_time = 8;
public BatchOperationMetadata.Builder clearEndTime()
The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
.google.protobuf.Timestamp end_time = 8;
public Timestamp.Builder getEndTimeBuilder()
The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
.google.protobuf.Timestamp end_time = 8;
public TimestampOrBuilder getEndTimeOrBuilder()
The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
.google.protobuf.Timestamp end_time = 8;
getEndTimeOrBuilder
in interface BatchOperationMetadataOrBuilder
public final BatchOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public final BatchOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.