Send feedback
  
   
 
  
    
      Class SharePointSources.SharePointSource (3.79.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  SharePointSources . SharePointSource   extends   GeneratedMessageV3   implements   SharePointSources . SharePointSourceOrBuilder  
   An individual SharePointSource.
 Protobuf type google.cloud.aiplatform.v1.SharePointSources.SharePointSource
    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   CLIENT_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   CLIENT_SECRET_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   DRIVE_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   DRIVE_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   FILE_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SHAREPOINT_FOLDER_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SHAREPOINT_FOLDER_PATH_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SHAREPOINT_SITE_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   TENANT_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   SharePointSources . SharePointSource   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   SharePointSources . SharePointSource . Builder   newBuilder ()  
  
  
    
public   static   SharePointSources . SharePointSource . Builder   newBuilder ( SharePointSources . SharePointSource   prototype )  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   SharePointSources . SharePointSource   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<SharePointSources . SharePointSource >  parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   String   getClientId ()  
   The Application ID for the app registered in Microsoft Azure Portal.
 The application must also be configured with MS Graph permissions
 "Files.ReadAll", "Sites.ReadAll" and BrowserSiteLists.Read.All.
 string client_id = 1;
    
      
        Returns  
      
        Type Description  
      
        String The clientId.
 
     
  
  
    
public   ByteString   getClientIdBytes ()  
   The Application ID for the app registered in Microsoft Azure Portal.
 The application must also be configured with MS Graph permissions
 "Files.ReadAll", "Sites.ReadAll" and BrowserSiteLists.Read.All.
 string client_id = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for clientId.
 
     
  
  
    
public   ApiAuth . ApiKeyConfig   getClientSecret ()  
   The application secret for the app registered in Azure.
 .google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2;
    
public   ApiAuth . ApiKeyConfigOrBuilder   getClientSecretOrBuilder ()  
   The application secret for the app registered in Azure.
 .google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2;
    
public   SharePointSources . SharePointSource   getDefaultInstanceForType ()  
  
  
    
public   String   getDriveId ()  
   The ID of the drive to download from.
 string drive_id = 8;
    
      
        Returns  
      
        Type Description  
      
        String The driveId.
 
     
  
  
    
public   ByteString   getDriveIdBytes ()  
   The ID of the drive to download from.
 string drive_id = 8;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for driveId.
 
     
  
  
    
public   String   getDriveName ()  
   The name of the drive to download from.
 string drive_name = 7;
    
      
        Returns  
      
        Type Description  
      
        String The driveName.
 
     
  
  
    
public   ByteString   getDriveNameBytes ()  
   The name of the drive to download from.
 string drive_name = 7;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for driveName.
 
     
  
  
    
public   SharePointSources . SharePointSource . DriveSourceCase   getDriveSourceCase ()  
  
  
    
public   String   getFileId ()  
   Output only. The SharePoint file id. Output only.
 string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The fileId.
 
     
  
  
    
public   ByteString   getFileIdBytes ()  
   Output only. The SharePoint file id. Output only.
 string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for fileId.
 
     
  
  
    
public   SharePointSources . SharePointSource . FolderSourceCase   getFolderSourceCase ()  
  
  
    
public   Parser<SharePointSources . SharePointSource >  getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   String   getSharepointFolderId ()  
   The ID of the SharePoint folder to download from.
 string sharepoint_folder_id = 6;
    
      
        Returns  
      
        Type Description  
      
        String The sharepointFolderId.
 
     
  
  
    
public   ByteString   getSharepointFolderIdBytes ()  
   The ID of the SharePoint folder to download from.
 string sharepoint_folder_id = 6;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for sharepointFolderId.
 
     
  
  
    
public   String   getSharepointFolderPath ()  
   The path of the SharePoint folder to download from.
 string sharepoint_folder_path = 5;
    
      
        Returns  
      
        Type Description  
      
        String The sharepointFolderPath.
 
     
  
  
    
public   ByteString   getSharepointFolderPathBytes ()  
   The path of the SharePoint folder to download from.
 string sharepoint_folder_path = 5;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for sharepointFolderPath.
 
     
  
  
    
public   String   getSharepointSiteName ()  
   The name of the SharePoint site to download from. This can be the site
 name or the site id.
 string sharepoint_site_name = 4;
    
      
        Returns  
      
        Type Description  
      
        String The sharepointSiteName.
 
     
  
  
    
public   ByteString   getSharepointSiteNameBytes ()  
   The name of the SharePoint site to download from. This can be the site
 name or the site id.
 string sharepoint_site_name = 4;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for sharepointSiteName.
 
     
  
  
    
public   String   getTenantId ()  
   Unique identifier of the Azure Active Directory Instance.
 string tenant_id = 3;
    
      
        Returns  
      
        Type Description  
      
        String The tenantId.
 
     
  
  
    
public   ByteString   getTenantIdBytes ()  
   Unique identifier of the Azure Active Directory Instance.
 string tenant_id = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for tenantId.
 
     
  
  
    
public   boolean   hasClientSecret ()  
   The application secret for the app registered in Azure.
 .google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the clientSecret field is set.
 
     
  
  
    
public   boolean   hasDriveId ()  
   The ID of the drive to download from.
 string drive_id = 8;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the driveId field is set.
 
     
  
  
    
public   boolean   hasDriveName ()  
   The name of the drive to download from.
 string drive_name = 7;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the driveName field is set.
 
     
  
  
    
public   boolean   hasSharepointFolderId ()  
   The ID of the SharePoint folder to download from.
 string sharepoint_folder_id = 6;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the sharepointFolderId field is set.
 
     
  
  
    
public   boolean   hasSharepointFolderPath ()  
   The path of the SharePoint folder to download from.
 string sharepoint_folder_path = 5;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the sharepointFolderPath field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   SharePointSources . SharePointSource . Builder   newBuilderForType ()  
  
  
    
protected   SharePointSources . SharePointSource . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   SharePointSources . SharePointSource . 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."],[],[]]