Class BatchOperationMetadata.Builder (2.0.29) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.0.29keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   final   class  BatchOperationMetadata . Builder   extends   GeneratedMessageV3 . Builder<BatchOperationMetadata . Builder >  implements   BatchOperationMetadataOrBuilder  
   
   Metadata for the batch operations such as the current state.
 This is included in the metadata field of the Operation returned by the
 GetOperation call of the google::longrunning::Operations service.
 Protobuf type google.cloud.vision.v1p4beta1.BatchOperationMetadata
 
  
  
  
  Static Methods
   
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
  Methods
   
   
  
  
    
public   BatchOperationMetadata . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata   build ()  
   
  Returns 
  
   
  
  
    
public   BatchOperationMetadata   buildPartial ()  
   
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   clear ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata . Builder   clearEndTime ()  
   
   The time when the batch request is finished and
 google.longrunning.Operation.done  is
 set to true.
 .google.protobuf.Timestamp end_time = 3;
 
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata . Builder   clearState ()  
   
   The current state of the batch operation.
 .google.cloud.vision.v1p4beta1.BatchOperationMetadata.State state = 1;
 
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   clearSubmitTime ()  
   
   The time when the batch request was submitted to the server.
 .google.protobuf.Timestamp submit_time = 2;
 
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   clone ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata   getDefaultInstanceForType ()  
   
  Returns 
  
   
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   Timestamp   getEndTime ()  
   
   The time when the batch request is finished and
 google.longrunning.Operation.done  is
 set to true.
 .google.protobuf.Timestamp end_time = 3;
 
  Returns 
  
   
  
  
    
public   Timestamp . Builder   getEndTimeBuilder ()  
   
   The time when the batch request is finished and
 google.longrunning.Operation.done  is
 set to true.
 .google.protobuf.Timestamp end_time = 3;
 
  Returns 
  
   
  
  
    
public   TimestampOrBuilder   getEndTimeOrBuilder ()  
   
   The time when the batch request is finished and
 google.longrunning.Operation.done  is
 set to true.
 .google.protobuf.Timestamp end_time = 3;
 
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . State   getState ()  
   
   The current state of the batch operation.
 .google.cloud.vision.v1p4beta1.BatchOperationMetadata.State state = 1;
 
  Returns 
  
   
  
  
    
public   int   getStateValue ()  
   
   The current state of the batch operation.
 .google.cloud.vision.v1p4beta1.BatchOperationMetadata.State state = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for state.
 
       
     
  
   
  
  
    
public   Timestamp   getSubmitTime ()  
   
   The time when the batch request was submitted to the server.
 .google.protobuf.Timestamp submit_time = 2;
 
  Returns 
  
   
  
  
    
public   Timestamp . Builder   getSubmitTimeBuilder ()  
   
   The time when the batch request was submitted to the server.
 .google.protobuf.Timestamp submit_time = 2;
 
  Returns 
  
   
  
  
    
public   TimestampOrBuilder   getSubmitTimeOrBuilder ()  
   
   The time when the batch request was submitted to the server.
 .google.protobuf.Timestamp submit_time = 2;
 
  Returns 
  
   
  
  
    
public   boolean   hasEndTime ()  
   
   The time when the batch request is finished and
 google.longrunning.Operation.done  is
 set to true.
 .google.protobuf.Timestamp end_time = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the endTime field is set.
 
       
     
  
   
  
  
    
public   boolean   hasSubmitTime ()  
   
   The time when the batch request was submitted to the server.
 .google.protobuf.Timestamp submit_time = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the submitTime field is set.
 
       
     
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata . Builder   mergeEndTime ( Timestamp   value )  
   
   The time when the batch request is finished and
 google.longrunning.Operation.done  is
 set to true.
 .google.protobuf.Timestamp end_time = 3;
 
  Parameter 
  
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   mergeFrom ( BatchOperationMetadata   other )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
   
  
  
    
public   BatchOperationMetadata . Builder   mergeFrom ( Message   other )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata . Builder   mergeSubmitTime ( Timestamp   value )  
   
   The time when the batch request was submitted to the server.
 .google.protobuf.Timestamp submit_time = 2;
 
  Parameter 
  
  Returns 
  
   
  
  
    
public   final   BatchOperationMetadata . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata . Builder   setEndTime ( Timestamp   value )  
   
   The time when the batch request is finished and
 google.longrunning.Operation.done  is
 set to true.
 .google.protobuf.Timestamp end_time = 3;
 
  Parameter 
  
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   setEndTime ( Timestamp . Builder   builderForValue )  
   
   The time when the batch request is finished and
 google.longrunning.Operation.done  is
 set to true.
 .google.protobuf.Timestamp end_time = 3;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        builderForValue  
        Builder  
       
     
  
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchOperationMetadata . Builder   setState ( BatchOperationMetadata . State   value )  
   
   The current state of the batch operation.
 .google.cloud.vision.v1p4beta1.BatchOperationMetadata.State state = 1;
 
  Parameter 
  
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   setStateValue ( int   value )  
   
   The current state of the batch operation.
 .google.cloud.vision.v1p4beta1.BatchOperationMetadata.State state = 1;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        int The enum numeric value on the wire for state to set.
 
       
     
  
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   setSubmitTime ( Timestamp   value )  
   
   The time when the batch request was submitted to the server.
 .google.protobuf.Timestamp submit_time = 2;
 
  Parameter 
  
  Returns 
  
   
  
  
    
public   BatchOperationMetadata . Builder   setSubmitTime ( Timestamp . Builder   builderForValue )  
   
   The time when the batch request was submitted to the server.
 .google.protobuf.Timestamp submit_time = 2;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        builderForValue  
        Builder  
       
     
  
  Returns 
  
   
  
  
    
public   final   BatchOperationMetadata . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  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-30 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-30 UTC."],[],[]]