Class BatchOperationMetadata (2.43.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.43.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  BatchOperationMetadata   extends   GeneratedMessageV3   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
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   CREATE_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   END_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   FAILURE_COUNT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   STATE_DESCRIPTION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SUCCESS_COUNT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   TOTAL_COUNT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   UPDATE_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   BatchOperationMetadata   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   BatchOperationMetadata . Builder   newBuilder ()  
  
  
    
public   static   BatchOperationMetadata . Builder   newBuilder ( BatchOperationMetadata   prototype )  
  
  
  
    
public   static   BatchOperationMetadata   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   BatchOperationMetadata   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<BatchOperationMetadata>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   Timestamp   getCreateTime ()  
   The time when the batch operation is created.
 .google.protobuf.Timestamp create_time = 6;
    
      
        Returns  
      
        Type Description  
      
        Timestamp The createTime.
 
     
  
  
    
public   TimestampOrBuilder   getCreateTimeOrBuilder ()  
   The time when the batch operation is created.
 .google.protobuf.Timestamp create_time = 6;
    
public   BatchOperationMetadata   getDefaultInstanceForType ()  
  
  
    
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;
    
      
        Returns  
      
        Type Description  
      
        Timestamp The endTime.
 
     
  
  
    
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;
    
public   int   getFailureCount ()  
   Count of failed item(s) inside an operation.
 int32 failure_count = 4;
    
      
        Returns  
      
        Type Description  
      
        int The failureCount.
 
     
  
  
    
public   Parser<BatchOperationMetadata>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   BatchOperationMetadata . State   getState ()  
   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;
    
      
        Returns  
      
        Type Description  
      
        String The stateDescription.
 
     
  
  
    
public   ByteString   getStateDescriptionBytes ()  
   More detailed information about operation state.
 string state_description = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for stateDescription.
 
     
  
  
    
public   int   getStateValue ()  
   The state of a long running operation.
 .google.cloud.talent.v4.BatchOperationMetadata.State state = 1;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for state.
 
     
  
  
    
public   int   getSuccessCount ()  
   Count of successful item(s) inside an operation.
 int32 success_count = 3;
    
      
        Returns  
      
        Type Description  
      
        int The successCount.
 
     
  
  
    
public   int   getTotalCount ()  
   Count of total item(s) inside an operation.
 int32 total_count = 5;
    
      
        Returns  
      
        Type Description  
      
        int The totalCount.
 
     
  
  
    
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;
    
      
        Returns  
      
        Type Description  
      
        Timestamp The updateTime.
 
     
  
  
    
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;
    
public   boolean   hasCreateTime ()  
   The time when the batch operation is created.
 .google.protobuf.Timestamp create_time = 6;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the createTime field is set.
 
     
  
  
    
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;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the endTime field is set.
 
     
  
  
    
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;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the updateTime field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   BatchOperationMetadata . Builder   newBuilderForType ()  
  
  
    
protected   BatchOperationMetadata . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   BatchOperationMetadata . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]