Class Operation (2.21.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.21.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  Operation   extends   GeneratedMessageV3   implements   OperationOrBuilder  
  
  
  
  Static Fields
   
  DONE_FIELD_NUMBER 
  
    
public   static   final   int   DONE_FIELD_NUMBER  
  Field Value 
  
  ERROR_FIELD_NUMBER 
  
    
public   static   final   int   ERROR_FIELD_NUMBER  
  Field Value 
  
  
  
    
public   static   final   int   METADATA_FIELD_NUMBER  
  Field Value 
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  Field Value 
  
  RESPONSE_FIELD_NUMBER 
  
    
public   static   final   int   RESPONSE_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   Operation   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   Operation . Builder   newBuilder ()  
  Returns 
  
  newBuilder(Operation arg0) 
  
    
public   static   Operation . Builder   newBuilder ( Operation   arg0 )  
  Parameter 
  
  Returns 
  
  
    
public   static   Operation   parseDelimitedFrom ( InputStream   arg0 )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Operation   parseDelimitedFrom ( InputStream   arg0 ,   ExtensionRegistryLite   arg1 )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] arg0) 
  
    
public   static   Operation   parseFrom ( byte []   arg0 )  
  Parameter 
  
    
      
        Name Description  
      
        arg0 byte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] arg0, ExtensionRegistryLite arg1) 
  
    
public   static   Operation   parseFrom ( byte []   arg0 ,   ExtensionRegistryLite   arg1 )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString arg0) 
  
    
public   static   Operation   parseFrom ( ByteString   arg0 )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString arg0, ExtensionRegistryLite arg1) 
  
    
public   static   Operation   parseFrom ( ByteString   arg0 ,   ExtensionRegistryLite   arg1 )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Operation   parseFrom ( CodedInputStream   arg0 )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Operation   parseFrom ( CodedInputStream   arg0 ,   ExtensionRegistryLite   arg1 )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Operation   parseFrom ( InputStream   arg0 )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Operation   parseFrom ( InputStream   arg0 ,   ExtensionRegistryLite   arg1 )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer arg0) 
  
    
public   static   Operation   parseFrom ( ByteBuffer   arg0 )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1) 
  
    
public   static   Operation   parseFrom ( ByteBuffer   arg0 ,   ExtensionRegistryLite   arg1 )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<Operation>   parser ()  
  Returns 
  
  Methods
   
  equals(Object arg0) 
  
    
public   boolean   equals ( Object   arg0 )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   Operation   getDefaultInstanceForType ()  
  Returns 
  
  getDone() 
  
  Returns 
  
  getError() 
  
  Returns 
  
    
      
        Type Description  
      
        com.google.rpc.Status  
     
  
  getErrorOrBuilder() 
  
    
public   StatusOrBuilder   getErrorOrBuilder ()  
  Returns 
  
    
      
        Type Description  
      
        com.google.rpc.StatusOrBuilder  
     
  
  Returns 
  
  
    
public   AnyOrBuilder   getMetadataOrBuilder ()  
  Returns 
  
  getName() 
  
  Returns 
  
  getNameBytes() 
  
    
public   ByteString   getNameBytes ()  
  Returns 
  
  getParserForType() 
  
    
public   Parser<Operation>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getResponse() 
  
  Returns 
  
  getResponseOrBuilder() 
  
    
public   AnyOrBuilder   getResponseOrBuilder ()  
  Returns 
  
  getResultCase() 
  
    
public   Operation . ResultCase   getResultCase ()  
  Returns 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  hasError() 
  
    
public   boolean   hasError ()  
  Returns 
  
  
    
public   boolean   hasMetadata ()  
  Returns 
  
  hasResponse() 
  
    
public   boolean   hasResponse ()  
  Returns 
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   Operation . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent arg0) 
  
    
protected   Operation . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   arg0 )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   arg0 )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   Operation . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream arg0) 
  
    
public   void   writeTo ( CodedOutputStream   arg0 )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]