Class BidiWriteObjectResponse.Builder (2.36.1) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.36.1keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  BidiWriteObjectResponse . Builder   extends   GeneratedMessageV3 . Builder<BidiWriteObjectResponse . Builder >  implements   BidiWriteObjectResponseOrBuilder  
   Response message for BidiWriteObject.
 Protobuf type google.storage.v2.BidiWriteObjectResponse
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BidiWriteObjectResponse . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   BidiWriteObjectResponse   build ()  
  
  buildPartial() 
  
    
public   BidiWriteObjectResponse   buildPartial ()  
  
  clear() 
  
    
public   BidiWriteObjectResponse . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   BidiWriteObjectResponse . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   BidiWriteObjectResponse . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearPersistedSize() 
  
    
public   BidiWriteObjectResponse . Builder   clearPersistedSize ()  
   The total number of bytes that have been processed for the given object
 from all WriteObject calls. Only set if the upload has not finalized.
 int64 persisted_size = 1;
clearResource() 
  
    
public   BidiWriteObjectResponse . Builder   clearResource ()  
   A resource containing the metadata for the uploaded object. Only set if
 the upload has finalized.
 .google.storage.v2.Object resource = 2;
clearWriteStatus() 
  
    
public   BidiWriteObjectResponse . Builder   clearWriteStatus ()  
  
  clone() 
  
    
public   BidiWriteObjectResponse . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   BidiWriteObjectResponse   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getPersistedSize() 
  
    
public   long   getPersistedSize ()  
   The total number of bytes that have been processed for the given object
 from all WriteObject calls. Only set if the upload has not finalized.
 int64 persisted_size = 1;
    
      
        Returns  
      
        Type Description  
      
        long The persistedSize.
 
     
  
  getResource() 
  
    
public   Object   getResource ()  
   A resource containing the metadata for the uploaded object. Only set if
 the upload has finalized.
 .google.storage.v2.Object resource = 2;
    
      
        Returns  
      
        Type Description  
      
        Object The resource.
 
     
  
  getResourceBuilder() 
  
    
public   Object . Builder   getResourceBuilder ()  
   A resource containing the metadata for the uploaded object. Only set if
 the upload has finalized.
 .google.storage.v2.Object resource = 2;
getResourceOrBuilder() 
  
    
public   ObjectOrBuilder   getResourceOrBuilder ()  
   A resource containing the metadata for the uploaded object. Only set if
 the upload has finalized.
 .google.storage.v2.Object resource = 2;
getWriteStatusCase() 
  
    
public   BidiWriteObjectResponse . WriteStatusCase   getWriteStatusCase ()  
  
  hasPersistedSize() 
  
    
public   boolean   hasPersistedSize ()  
   The total number of bytes that have been processed for the given object
 from all WriteObject calls. Only set if the upload has not finalized.
 int64 persisted_size = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the persistedSize field is set.
 
     
  
  hasResource() 
  
    
public   boolean   hasResource ()  
   A resource containing the metadata for the uploaded object. Only set if
 the upload has finalized.
 .google.storage.v2.Object resource = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the resource field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   BidiWriteObjectResponse . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   BidiWriteObjectResponse . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeFrom(BidiWriteObjectResponse other) 
  
    
public   BidiWriteObjectResponse . Builder   mergeFrom ( BidiWriteObjectResponse   other )  
  
  
  mergeResource(Object value) 
  
    
public   BidiWriteObjectResponse . Builder   mergeResource ( Object   value )  
   A resource containing the metadata for the uploaded object. Only set if
 the upload has finalized.
 .google.storage.v2.Object resource = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueObject  
     
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BidiWriteObjectResponse . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BidiWriteObjectResponse . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setPersistedSize(long value) 
  
    
public   BidiWriteObjectResponse . Builder   setPersistedSize ( long   value )  
   The total number of bytes that have been processed for the given object
 from all WriteObject calls. Only set if the upload has not finalized.
 int64 persisted_size = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuelong The persistedSize to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   BidiWriteObjectResponse . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setResource(Object value) 
  
    
public   BidiWriteObjectResponse . Builder   setResource ( Object   value )  
   A resource containing the metadata for the uploaded object. Only set if
 the upload has finalized.
 .google.storage.v2.Object resource = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueObject  
     
  
  
  setResource(Object.Builder builderForValue) 
  
    
public   BidiWriteObjectResponse . Builder   setResource ( Object . Builder   builderForValue )  
   A resource containing the metadata for the uploaded object. Only set if
 the upload has finalized.
 .google.storage.v2.Object resource = 2;
setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BidiWriteObjectResponse . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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."],[],[]]