Send feedback
  
   
 
  
    
      Class ObjectMetadataReportOptions (0.63.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ObjectMetadataReportOptions   extends   GeneratedMessageV3   implements   ObjectMetadataReportOptionsOrBuilder  
   Report specification for exporting object metadata.
 Next ID: 4
 Protobuf type google.cloud.storageinsights.v1.ObjectMetadataReportOptions
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   METADATA_FIELDS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   STORAGE_DESTINATION_OPTIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   STORAGE_FILTERS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ObjectMetadataReportOptions   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ObjectMetadataReportOptions . Builder   newBuilder ()  
  
  
    
public   static   ObjectMetadataReportOptions . Builder   newBuilder ( ObjectMetadataReportOptions   prototype )  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ObjectMetadataReportOptions   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ObjectMetadataReportOptions>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   ObjectMetadataReportOptions   getDefaultInstanceForType ()  
  
  
    
public   ObjectMetadataReportOptions . DestinationOptionsCase   getDestinationOptionsCase ()  
  
  
    
public   ObjectMetadataReportOptions . FilterCase   getFilterCase ()  
  
  
    
public   String   getMetadataFields ( int   index )  
   Metadata fields to be included in the report.
 repeated string metadata_fields = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The metadataFields at the given index.
 
     
  
  
    
public   ByteString   getMetadataFieldsBytes ( int   index )  
   Metadata fields to be included in the report.
 repeated string metadata_fields = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the metadataFields at the given index.
 
     
  
  
    
public   int   getMetadataFieldsCount ()  
   Metadata fields to be included in the report.
 repeated string metadata_fields = 1;
    
      
        Returns  
      
        Type Description  
      
        int The count of metadataFields.
 
     
  
  
    
public   ProtocolStringList   getMetadataFieldsList ()  
   Metadata fields to be included in the report.
 repeated string metadata_fields = 1;
    
public   Parser<ObjectMetadataReportOptions>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   CloudStorageDestinationOptions   getStorageDestinationOptions ()  
   Cloud Storage as the storage system.
 
 .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3;
 
    
public   CloudStorageDestinationOptionsOrBuilder   getStorageDestinationOptionsOrBuilder ()  
   Cloud Storage as the storage system.
 
 .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3;
 
    
public   CloudStorageFilters   getStorageFilters ()  
   Cloud Storage as the storage system.
 .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2;
    
public   CloudStorageFiltersOrBuilder   getStorageFiltersOrBuilder ()  
   Cloud Storage as the storage system.
 .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2;
    
public   boolean   hasStorageDestinationOptions ()  
   Cloud Storage as the storage system.
 
 .google.cloud.storageinsights.v1.CloudStorageDestinationOptions storage_destination_options = 3;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the storageDestinationOptions field is set.
 
     
  
  
    
public   boolean   hasStorageFilters ()  
   Cloud Storage as the storage system.
 .google.cloud.storageinsights.v1.CloudStorageFilters storage_filters = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the storageFilters field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ObjectMetadataReportOptions . Builder   newBuilderForType ()  
  
  
    
protected   ObjectMetadataReportOptions . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ObjectMetadataReportOptions . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    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-29 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-29 UTC."],[],[]]