- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.2.9
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.
Protobuf type google.cloud.talent.v4.BatchOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchOperationMetadata.BuilderImplements
BatchOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchOperationMetadata.Builder |
build()
public BatchOperationMetadata build()
Type | Description |
BatchOperationMetadata |
buildPartial()
public BatchOperationMetadata buildPartial()
Type | Description |
BatchOperationMetadata |
clear()
public BatchOperationMetadata.Builder clear()
Type | Description |
BatchOperationMetadata.Builder |
clearCreateTime()
public BatchOperationMetadata.Builder clearCreateTime()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
BatchOperationMetadata.Builder |
clearEndTime()
public BatchOperationMetadata.Builder clearEndTime()
The time when the batch operation is finished and
google.longrunning.Operation.done is set to true
.
.google.protobuf.Timestamp end_time = 8;
Type | Description |
BatchOperationMetadata.Builder |
clearFailureCount()
public BatchOperationMetadata.Builder clearFailureCount()
Count of failed item(s) inside an operation.
int32 failure_count = 4;
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BatchOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BatchOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchOperationMetadata.Builder |
clearState()
public BatchOperationMetadata.Builder clearState()
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearStateDescription()
public BatchOperationMetadata.Builder clearStateDescription()
More detailed information about operation state.
string state_description = 2;
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearSuccessCount()
public BatchOperationMetadata.Builder clearSuccessCount()
Count of successful item(s) inside an operation.
int32 success_count = 3;
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearTotalCount()
public BatchOperationMetadata.Builder clearTotalCount()
Count of total item(s) inside an operation.
int32 total_count = 5;
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearUpdateTime()
public BatchOperationMetadata.Builder clearUpdateTime()
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
Type | Description |
BatchOperationMetadata.Builder |
clone()
public BatchOperationMetadata.Builder clone()
Type | Description |
BatchOperationMetadata.Builder |
getCreateTime()
public Timestamp getCreateTime()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public BatchOperationMetadata getDefaultInstanceForType()
Type | Description |
BatchOperationMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
The time when the batch operation is finished and
google.longrunning.Operation.done is set to true
.
.google.protobuf.Timestamp end_time = 8;
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
The time when the batch operation is finished and
google.longrunning.Operation.done is set to true
.
.google.protobuf.Timestamp end_time = 8;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The time when the batch operation is finished and
google.longrunning.Operation.done is set to true
.
.google.protobuf.Timestamp end_time = 8;
Type | Description |
TimestampOrBuilder |
getFailureCount()
public int getFailureCount()
Count of failed item(s) inside an operation.
int32 failure_count = 4;
Type | Description |
int | The failureCount. |
getState()
public BatchOperationMetadata.State getState()
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
Type | Description |
BatchOperationMetadata.State | The state. |
getStateDescription()
public String getStateDescription()
More detailed information about operation state.
string state_description = 2;
Type | Description |
String | The stateDescription. |
getStateDescriptionBytes()
public ByteString getStateDescriptionBytes()
More detailed information about operation state.
string state_description = 2;
Type | Description |
ByteString | The bytes for stateDescription. |
getStateValue()
public int getStateValue()
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
Type | Description |
int | The enum numeric value on the wire for state. |
getSuccessCount()
public int getSuccessCount()
Count of successful item(s) inside an operation.
int32 success_count = 3;
Type | Description |
int | The successCount. |
getTotalCount()
public int getTotalCount()
Count of total item(s) inside an operation.
int32 total_count = 5;
Type | Description |
int | The totalCount. |
getUpdateTime()
public Timestamp getUpdateTime()
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
boolean | Whether the createTime field is set. |
hasEndTime()
public boolean hasEndTime()
The time when the batch operation is finished and
google.longrunning.Operation.done is set to true
.
.google.protobuf.Timestamp end_time = 8;
Type | Description |
boolean | Whether the endTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public BatchOperationMetadata.Builder mergeCreateTime(Timestamp value)
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
BatchOperationMetadata.Builder |
mergeEndTime(Timestamp value)
public BatchOperationMetadata.Builder mergeEndTime(Timestamp value)
The time when the batch operation is finished and
google.longrunning.Operation.done is set to true
.
.google.protobuf.Timestamp end_time = 8;
Name | Description |
value | Timestamp |
Type | Description |
BatchOperationMetadata.Builder |
mergeFrom(BatchOperationMetadata other)
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
Name | Description |
other | BatchOperationMetadata |
Type | Description |
BatchOperationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchOperationMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchOperationMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchOperationMetadata.Builder |
mergeUpdateTime(Timestamp value)
public BatchOperationMetadata.Builder mergeUpdateTime(Timestamp value)
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
BatchOperationMetadata.Builder |
setCreateTime(Timestamp value)
public BatchOperationMetadata.Builder setCreateTime(Timestamp value)
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
BatchOperationMetadata.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public BatchOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
The time when the batch operation is created.
.google.protobuf.Timestamp create_time = 6;
Name | Description |
builderForValue | Builder |
Type | Description |
BatchOperationMetadata.Builder |
setEndTime(Timestamp value)
public BatchOperationMetadata.Builder setEndTime(Timestamp value)
The time when the batch operation is finished and
google.longrunning.Operation.done is set to true
.
.google.protobuf.Timestamp end_time = 8;
Name | Description |
value | Timestamp |
Type | Description |
BatchOperationMetadata.Builder |
setEndTime(Timestamp.Builder builderForValue)
public BatchOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)
The time when the batch operation is finished and
google.longrunning.Operation.done is set to true
.
.google.protobuf.Timestamp end_time = 8;
Name | Description |
builderForValue | Builder |
Type | Description |
BatchOperationMetadata.Builder |
setFailureCount(int value)
public BatchOperationMetadata.Builder setFailureCount(int value)
Count of failed item(s) inside an operation.
int32 failure_count = 4;
Name | Description |
value | int The failureCount to set. |
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchOperationMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchOperationMetadata.Builder |
setState(BatchOperationMetadata.State value)
public BatchOperationMetadata.Builder setState(BatchOperationMetadata.State value)
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
Name | Description |
value | BatchOperationMetadata.State The state to set. |
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setStateDescription(String value)
public BatchOperationMetadata.Builder setStateDescription(String value)
More detailed information about operation state.
string state_description = 2;
Name | Description |
value | String The stateDescription to set. |
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setStateDescriptionBytes(ByteString value)
public BatchOperationMetadata.Builder setStateDescriptionBytes(ByteString value)
More detailed information about operation state.
string state_description = 2;
Name | Description |
value | ByteString The bytes for stateDescription to set. |
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setStateValue(int value)
public BatchOperationMetadata.Builder setStateValue(int value)
The state of a long running operation.
.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setSuccessCount(int value)
public BatchOperationMetadata.Builder setSuccessCount(int value)
Count of successful item(s) inside an operation.
int32 success_count = 3;
Name | Description |
value | int The successCount to set. |
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setTotalCount(int value)
public BatchOperationMetadata.Builder setTotalCount(int value)
Count of total item(s) inside an operation.
int32 total_count = 5;
Name | Description |
value | int The totalCount to set. |
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchOperationMetadata.Builder |
setUpdateTime(Timestamp value)
public BatchOperationMetadata.Builder setUpdateTime(Timestamp value)
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
BatchOperationMetadata.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public BatchOperationMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
.google.protobuf.Timestamp update_time = 7;
Name | Description |
builderForValue | Builder |
Type | Description |
BatchOperationMetadata.Builder |