public static final class BatchOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder> implements BatchOperationMetadataOrBuilder
Output only. 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.v4beta1.BatchOperationMetadata| Modifier and Type | Method and Description |
|---|---|
BatchOperationMetadata.Builder |
addRepeatedField(com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchOperationMetadata.Builder |
clearOneof(com.google.protobuf.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() |
com.google.protobuf.Timestamp |
getCreateTime()
The time when the batch operation is created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The time when the batch operation is created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time when the batch operation is created.
|
BatchOperationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is
set to `true`.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is
set to `true`.
|
com.google.protobuf.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.
|
com.google.protobuf.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.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The time when the batch operation status is updated.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
The time when the batch operation status is updated.
|
com.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchOperationMetadata.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The time when the batch operation is created.
|
BatchOperationMetadata.Builder |
mergeEndTime(com.google.protobuf.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(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchOperationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchOperationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchOperationMetadata.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
The time when the batch operation status is updated.
|
BatchOperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the batch operation is created.
|
BatchOperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The time when the batch operation is created.
|
BatchOperationMetadata.Builder |
setEndTime(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchOperationMetadata.Builder |
setRepeatedField(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchOperationMetadata.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the batch operation status is updated.
|
BatchOperationMetadata.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
The time when the batch operation status is updated.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchOperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchOperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchOperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>IOExceptionpublic int getStateValue()
The state of a long running operation.
.google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1;getStateValue in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setStateValue(int value)
The state of a long running operation.
.google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1;public BatchOperationMetadata.State getState()
The state of a long running operation.
.google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1;getState in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setState(BatchOperationMetadata.State value)
The state of a long running operation.
.google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1;public BatchOperationMetadata.Builder clearState()
The state of a long running operation.
.google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1;public String getStateDescription()
More detailed information about operation state.
string state_description = 2;getStateDescription in interface BatchOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getStateDescriptionBytes()
More detailed information about operation state.
string state_description = 2;getStateDescriptionBytes in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setStateDescription(String value)
More detailed information about operation state.
string state_description = 2;public BatchOperationMetadata.Builder clearStateDescription()
More detailed information about operation state.
string state_description = 2;public BatchOperationMetadata.Builder setStateDescriptionBytes(com.google.protobuf.ByteString value)
More detailed information about operation state.
string state_description = 2;public int getSuccessCount()
Count of successful item(s) inside an operation.
int32 success_count = 3;getSuccessCount in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setSuccessCount(int value)
Count of successful item(s) inside an operation.
int32 success_count = 3;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 BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setFailureCount(int value)
Count of failed item(s) inside an operation.
int32 failure_count = 4;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 BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setTotalCount(int value)
Count of total item(s) inside an operation.
int32 total_count = 5;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 BatchOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;getCreateTime in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;public BatchOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;public BatchOperationMetadata.Builder mergeCreateTime(com.google.protobuf.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 com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;getCreateTimeOrBuilder in interface BatchOperationMetadataOrBuilderpublic boolean hasUpdateTime()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;hasUpdateTime in interface BatchOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;getUpdateTime in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;public BatchOperationMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;public BatchOperationMetadata.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4beta1.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.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;getUpdateTimeOrBuilder in interface BatchOperationMetadataOrBuilderpublic 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 BatchOperationMetadataOrBuilderpublic com.google.protobuf.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 BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setEndTime(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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 BatchOperationMetadataOrBuilderpublic final BatchOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public final BatchOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>Copyright © 2019 Google LLC. All rights reserved.