Package com.google.cloud.talent.v4
Class BatchOperationMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchOperationMetadata.Builder>
com.google.cloud.talent.v4.BatchOperationMetadata.Builder
- All Implemented Interfaces:
BatchOperationMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchOperationMetadata
public static final class BatchOperationMetadata.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The time when the batch operation is created.The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.Count of failed item(s) inside an operation.The state of a long running operation.More detailed information about operation state.Count of successful item(s) inside an operation.Count of total item(s) inside an operation.The time when the batch operation status is updated.com.google.protobuf.TimestampThe time when the batch operation is created.com.google.protobuf.Timestamp.BuilderThe time when the batch operation is created.com.google.protobuf.TimestampOrBuilderThe time when the batch operation is created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.com.google.protobuf.Timestamp.BuilderThe time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.com.google.protobuf.TimestampOrBuilderThe time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.intCount of failed item(s) inside an operation.getState()The state of a long running operation.More detailed information about operation state.com.google.protobuf.ByteStringMore detailed information about operation state.intThe state of a long running operation.intCount of successful item(s) inside an operation.intCount of total item(s) inside an operation.com.google.protobuf.TimestampThe time when the batch operation status is updated.com.google.protobuf.Timestamp.BuilderThe time when the batch operation status is updated.com.google.protobuf.TimestampOrBuilderThe time when the batch operation status is updated.booleanThe time when the batch operation is created.booleanThe time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.booleanThe time when the batch operation status is updated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) The time when the batch operation is created.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`.mergeFrom(BatchOperationMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) The time when the batch operation status is updated.setCreateTime(com.google.protobuf.Timestamp value) The time when the batch operation is created.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the batch operation is created.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`.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`.setFailureCount(int value) Count of failed item(s) inside an operation.The state of a long running operation.setStateDescription(String value) More detailed information about operation state.setStateDescriptionBytes(com.google.protobuf.ByteString value) More detailed information about operation state.setStateValue(int value) The state of a long running operation.setSuccessCount(int value) Count of successful item(s) inside an operation.setTotalCount(int value) Count of total item(s) inside an operation.setUpdateTime(com.google.protobuf.Timestamp value) The time when the batch operation status is updated.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the batch operation status is updated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchOperationMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchOperationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BatchOperationMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchOperationMetadata.Builder>
-
mergeFrom
public BatchOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>- Throws:
IOException
-
getStateValue
public int getStateValue()The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;- Specified by:
getStateValuein interfaceBatchOperationMetadataOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;- Specified by:
getStatein interfaceBatchOperationMetadataOrBuilder- Returns:
- The state.
-
setState
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;- Returns:
- This builder for chaining.
-
getStateDescription
More detailed information about operation state.
string state_description = 2;- Specified by:
getStateDescriptionin interfaceBatchOperationMetadataOrBuilder- Returns:
- The stateDescription.
-
getStateDescriptionBytes
public com.google.protobuf.ByteString getStateDescriptionBytes()More detailed information about operation state.
string state_description = 2;- Specified by:
getStateDescriptionBytesin interfaceBatchOperationMetadataOrBuilder- Returns:
- The bytes for stateDescription.
-
setStateDescription
More detailed information about operation state.
string state_description = 2;- Parameters:
value- The stateDescription to set.- Returns:
- This builder for chaining.
-
clearStateDescription
More detailed information about operation state.
string state_description = 2;- Returns:
- This builder for chaining.
-
setStateDescriptionBytes
public BatchOperationMetadata.Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) More detailed information about operation state.
string state_description = 2;- Parameters:
value- The bytes for stateDescription to set.- Returns:
- This builder for chaining.
-
getSuccessCount
public int getSuccessCount()Count of successful item(s) inside an operation.
int32 success_count = 3;- Specified by:
getSuccessCountin interfaceBatchOperationMetadataOrBuilder- Returns:
- The successCount.
-
setSuccessCount
Count of successful item(s) inside an operation.
int32 success_count = 3;- Parameters:
value- The successCount to set.- Returns:
- This builder for chaining.
-
clearSuccessCount
Count of successful item(s) inside an operation.
int32 success_count = 3;- Returns:
- This builder for chaining.
-
getFailureCount
public int getFailureCount()Count of failed item(s) inside an operation.
int32 failure_count = 4;- Specified by:
getFailureCountin interfaceBatchOperationMetadataOrBuilder- Returns:
- The failureCount.
-
setFailureCount
Count of failed item(s) inside an operation.
int32 failure_count = 4;- Parameters:
value- The failureCount to set.- Returns:
- This builder for chaining.
-
clearFailureCount
Count of failed item(s) inside an operation.
int32 failure_count = 4;- Returns:
- This builder for chaining.
-
getTotalCount
public int getTotalCount()Count of total item(s) inside an operation.
int32 total_count = 5;- Specified by:
getTotalCountin interfaceBatchOperationMetadataOrBuilder- Returns:
- The totalCount.
-
setTotalCount
Count of total item(s) inside an operation.
int32 total_count = 5;- Parameters:
value- The totalCount to set.- Returns:
- This builder for chaining.
-
clearTotalCount
Count of total item(s) inside an operation.
int32 total_count = 5;- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6; -
setCreateTime
public BatchOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6; -
mergeCreateTime
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6; -
clearCreateTime
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimeOrBuilderin interfaceBatchOperationMetadataOrBuilder
-
hasUpdateTime
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;- Specified by:
hasUpdateTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.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;- Specified by:
getUpdateTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
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; -
setUpdateTime
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.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7; -
mergeUpdateTime
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; -
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; -
getUpdateTimeBuilder
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.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7; -
getUpdateTimeOrBuilder
public com.google.protobuf.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;- Specified by:
getUpdateTimeOrBuilderin interfaceBatchOperationMetadataOrBuilder
-
hasEndTime
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;- Specified by:
hasEndTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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;- Specified by:
getEndTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- The endTime.
-
setEndTime
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; -
setEndTime
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; -
mergeEndTime
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; -
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; -
getEndTimeBuilder
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; -
getEndTimeOrBuilder
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;- Specified by:
getEndTimeOrBuilderin interfaceBatchOperationMetadataOrBuilder
-