Class CloudStorageDestinationOptions.Builder (0.42.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.42.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  CloudStorageDestinationOptions . Builder   extends   GeneratedMessageV3 . Builder<CloudStorageDestinationOptions . Builder >  implements   CloudStorageDestinationOptionsOrBuilder  
   Options to store reports in storage systems.
 Next ID: 3
 Protobuf type google.cloud.storageinsights.v1.CloudStorageDestinationOptions
    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   CloudStorageDestinationOptions . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   CloudStorageDestinationOptions   build ()  
  
  buildPartial() 
  
    
public   CloudStorageDestinationOptions   buildPartial ()  
  
  clear() 
  
    
public   CloudStorageDestinationOptions . Builder   clear ()  
  
  Overrides 
  
  clearBucket() 
  
    
public   CloudStorageDestinationOptions . Builder   clearBucket ()  
   Destination bucket.
 string bucket = 1;
clearDestinationPath() 
  
    
public   CloudStorageDestinationOptions . Builder   clearDestinationPath ()  
   Destination path is the path in the bucket where the report should be
 generated.
 string destination_path = 2;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   CloudStorageDestinationOptions . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   CloudStorageDestinationOptions . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   CloudStorageDestinationOptions . Builder   clone ()  
  
  Overrides 
  
  getBucket() 
  
    
public   String   getBucket ()  
   Destination bucket.
 string bucket = 1;
    
      
        Returns  
      
        Type Description  
      
        String The bucket.
 
     
  
  getBucketBytes() 
  
    
public   ByteString   getBucketBytes ()  
   Destination bucket.
 string bucket = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for bucket.
 
     
  
  getDefaultInstanceForType() 
  
    
public   CloudStorageDestinationOptions   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getDestinationPath() 
  
    
public   String   getDestinationPath ()  
   Destination path is the path in the bucket where the report should be
 generated.
 string destination_path = 2;
    
      
        Returns  
      
        Type Description  
      
        String The destinationPath.
 
     
  
  getDestinationPathBytes() 
  
    
public   ByteString   getDestinationPathBytes ()  
   Destination path is the path in the bucket where the report should be
 generated.
 string destination_path = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for destinationPath.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(CloudStorageDestinationOptions other) 
  
    
public   CloudStorageDestinationOptions . Builder   mergeFrom ( CloudStorageDestinationOptions   other )  
  
  
  
    
public   CloudStorageDestinationOptions . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   CloudStorageDestinationOptions . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   CloudStorageDestinationOptions . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setBucket(String value) 
  
    
public   CloudStorageDestinationOptions . Builder   setBucket ( String   value )  
   Destination bucket.
 string bucket = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The bucket to set.
 
     
  
  
  setBucketBytes(ByteString value) 
  
    
public   CloudStorageDestinationOptions . Builder   setBucketBytes ( ByteString   value )  
   Destination bucket.
 string bucket = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for bucket to set.
 
     
  
  
  setDestinationPath(String value) 
  
    
public   CloudStorageDestinationOptions . Builder   setDestinationPath ( String   value )  
   Destination path is the path in the bucket where the report should be
 generated.
 string destination_path = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The destinationPath to set.
 
     
  
  
  setDestinationPathBytes(ByteString value) 
  
    
public   CloudStorageDestinationOptions . Builder   setDestinationPathBytes ( ByteString   value )  
   Destination path is the path in the bucket where the report should be
 generated.
 string destination_path = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for destinationPath to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   CloudStorageDestinationOptions . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   CloudStorageDestinationOptions . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   CloudStorageDestinationOptions . 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."],[],[]]