Send feedback
  
   
 
  
    
      Class UpdateInstanceMetadata
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 6.19.1keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   final   class  UpdateInstanceMetadata   extends   GeneratedMessageV3   implements   UpdateInstanceMetadataOrBuilder  
   
   Metadata type for the operation returned by
 UpdateInstance .
 Protobuf type google.spanner.admin.instance.v1.UpdateInstanceMetadata
 
  
  
  
  Static Fields
   
  
  
    
public   static   final   int   CANCEL_TIME_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   END_TIME_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   INSTANCE_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   START_TIME_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  
  
    
public   static   UpdateInstanceMetadata   getDefaultInstance ()  
   
  Returns 
  
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  
  
    
public   static   UpdateInstanceMetadata . Builder   newBuilder ()  
   
  Returns 
  
   
  
  
    
public   static   UpdateInstanceMetadata . Builder   newBuilder ( UpdateInstanceMetadata   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   UpdateInstanceMetadata   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   Parser<UpdateInstanceMetadata>   parser ()  
   
  Returns 
  
  Methods
   
   
  
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   Timestamp   getCancelTime ()  
   
   The time at which this operation was cancelled. If set, this operation is
 in the process of undoing itself (which is guaranteed to succeed) and
 cannot be cancelled again.
 .google.protobuf.Timestamp cancel_time = 3;
 
  Returns 
  
   
  
  
    
public   TimestampOrBuilder   getCancelTimeOrBuilder ()  
   
   The time at which this operation was cancelled. If set, this operation is
 in the process of undoing itself (which is guaranteed to succeed) and
 cannot be cancelled again.
 .google.protobuf.Timestamp cancel_time = 3;
 
  Returns 
  
   
  
  
    
public   UpdateInstanceMetadata   getDefaultInstanceForType ()  
   
  Returns 
  
   
  
  
    
public   Timestamp   getEndTime ()  
   
   The time at which this operation failed or was completed successfully.
 .google.protobuf.Timestamp end_time = 4;
 
  Returns 
  
   
  
  
    
public   TimestampOrBuilder   getEndTimeOrBuilder ()  
   
   The time at which this operation failed or was completed successfully.
 .google.protobuf.Timestamp end_time = 4;
 
  Returns 
  
   
  
  
    
public   Instance   getInstance ()  
   
   The desired end state of the update.
 .google.spanner.admin.instance.v1.Instance instance = 1;
 
  Returns 
  
   
  
  
    
public   InstanceOrBuilder   getInstanceOrBuilder ()  
   
   The desired end state of the update.
 .google.spanner.admin.instance.v1.Instance instance = 1;
 
  Returns 
  
   
  
  
    
public   Parser<UpdateInstanceMetadata>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   Timestamp   getStartTime ()  
   
   The time at which UpdateInstance 
 request was received.
 .google.protobuf.Timestamp start_time = 2;
 
  Returns 
  
   
  
  
    
public   TimestampOrBuilder   getStartTimeOrBuilder ()  
   
   The time at which UpdateInstance 
 request was received.
 .google.protobuf.Timestamp start_time = 2;
 
  Returns 
  
   
  
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   boolean   hasCancelTime ()  
   
   The time at which this operation was cancelled. If set, this operation is
 in the process of undoing itself (which is guaranteed to succeed) and
 cannot be cancelled again.
 .google.protobuf.Timestamp cancel_time = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the cancelTime field is set.
 
       
     
  
   
  
  
    
public   boolean   hasEndTime ()  
   
   The time at which this operation failed or was completed successfully.
 .google.protobuf.Timestamp end_time = 4;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the endTime field is set.
 
       
     
  
   
  
  
    
public   boolean   hasInstance ()  
   
   The desired end state of the update.
 .google.spanner.admin.instance.v1.Instance instance = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the instance field is set.
 
       
     
  
   
  
  
    
public   boolean   hasStartTime ()  
   
   The time at which UpdateInstance 
 request was received.
 .google.protobuf.Timestamp start_time = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the startTime field is set.
 
       
     
  
   
  
  
  Returns 
  
  Overrides 
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   UpdateInstanceMetadata . Builder   newBuilderForType ()  
   
  Returns 
  
   
  
  
    
protected   UpdateInstanceMetadata . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   UpdateInstanceMetadata . Builder   toBuilder ()  
   
  Returns 
  
   
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]