Class SharePointSources.SharePointSource.Builder (1.33.0)

publicstaticfinalclass SharePointSources.SharePointSource.BuilderextendsGeneratedMessageV3.Builder<SharePointSources.SharePointSource.Builder>implementsSharePointSources.SharePointSourceOrBuilder

An individual SharePointSource.

Protobuf type google.cloud.vertexai.v1.SharePointSources.SharePointSource

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicSharePointSources.SharePointSource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

build()

publicSharePointSources.SharePointSourcebuild()
Returns
Type Description
SharePointSources.SharePointSource

buildPartial()

publicSharePointSources.SharePointSourcebuildPartial()
Returns
Type Description
SharePointSources.SharePointSource

clear()

publicSharePointSources.SharePointSource.Builderclear()
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

clearClientId()

publicSharePointSources.SharePointSource.BuilderclearClientId()

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
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearClientSecret()

publicSharePointSources.SharePointSource.BuilderclearClientSecret()

The application secret for the app registered in Azure.

.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
SharePointSources.SharePointSource.Builder

clearDriveId()

publicSharePointSources.SharePointSource.BuilderclearDriveId()

The ID of the drive to download from.

string drive_id = 8;

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearDriveName()

publicSharePointSources.SharePointSource.BuilderclearDriveName()

The name of the drive to download from.

string drive_name = 7;

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearDriveSource()

publicSharePointSources.SharePointSource.BuilderclearDriveSource()
Returns
Type Description
SharePointSources.SharePointSource.Builder

clearField(Descriptors.FieldDescriptor field)

publicSharePointSources.SharePointSource.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

clearFileId()

publicSharePointSources.SharePointSource.BuilderclearFileId()

Output only. The SharePoint file id. Output only.

string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearFolderSource()

publicSharePointSources.SharePointSource.BuilderclearFolderSource()
Returns
Type Description
SharePointSources.SharePointSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicSharePointSources.SharePointSource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

clearSharepointFolderId()

publicSharePointSources.SharePointSource.BuilderclearSharepointFolderId()

The ID of the SharePoint folder to download from.

string sharepoint_folder_id = 6;

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearSharepointFolderPath()

publicSharePointSources.SharePointSource.BuilderclearSharepointFolderPath()

The path of the SharePoint folder to download from.

string sharepoint_folder_path = 5;

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearSharepointSiteName()

publicSharePointSources.SharePointSource.BuilderclearSharepointSiteName()

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
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearTenantId()

publicSharePointSources.SharePointSource.BuilderclearTenantId()

Unique identifier of the Azure Active Directory Instance.

string tenant_id = 3;

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clone()

publicSharePointSources.SharePointSource.Builderclone()
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

getClientId()

publicStringgetClientId()

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.

getClientIdBytes()

publicByteStringgetClientIdBytes()

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.

getClientSecret()

publicApiAuth.ApiKeyConfiggetClientSecret()

The application secret for the app registered in Azure.

.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
ApiAuth.ApiKeyConfig

The clientSecret.

getClientSecretBuilder()

publicApiAuth.ApiKeyConfig.BuildergetClientSecretBuilder()

The application secret for the app registered in Azure.

.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
ApiAuth.ApiKeyConfig.Builder

getClientSecretOrBuilder()

publicApiAuth.ApiKeyConfigOrBuildergetClientSecretOrBuilder()

The application secret for the app registered in Azure.

.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
ApiAuth.ApiKeyConfigOrBuilder

getDefaultInstanceForType()

publicSharePointSources.SharePointSourcegetDefaultInstanceForType()
Returns
Type Description
SharePointSources.SharePointSource

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDriveId()

publicStringgetDriveId()

The ID of the drive to download from.

string drive_id = 8;

Returns
Type Description
String

The driveId.

getDriveIdBytes()

publicByteStringgetDriveIdBytes()

The ID of the drive to download from.

string drive_id = 8;

Returns
Type Description
ByteString

The bytes for driveId.

getDriveName()

publicStringgetDriveName()

The name of the drive to download from.

string drive_name = 7;

Returns
Type Description
String

The driveName.

getDriveNameBytes()

publicByteStringgetDriveNameBytes()

The name of the drive to download from.

string drive_name = 7;

Returns
Type Description
ByteString

The bytes for driveName.

getDriveSourceCase()

publicSharePointSources.SharePointSource.DriveSourceCasegetDriveSourceCase()
Returns
Type Description
SharePointSources.SharePointSource.DriveSourceCase

getFileId()

publicStringgetFileId()

Output only. The SharePoint file id. Output only.

string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The fileId.

getFileIdBytes()

publicByteStringgetFileIdBytes()

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.

getFolderSourceCase()

publicSharePointSources.SharePointSource.FolderSourceCasegetFolderSourceCase()
Returns
Type Description
SharePointSources.SharePointSource.FolderSourceCase

getSharepointFolderId()

publicStringgetSharepointFolderId()

The ID of the SharePoint folder to download from.

string sharepoint_folder_id = 6;

Returns
Type Description
String

The sharepointFolderId.

getSharepointFolderIdBytes()

publicByteStringgetSharepointFolderIdBytes()

The ID of the SharePoint folder to download from.

string sharepoint_folder_id = 6;

Returns
Type Description
ByteString

The bytes for sharepointFolderId.

getSharepointFolderPath()

publicStringgetSharepointFolderPath()

The path of the SharePoint folder to download from.

string sharepoint_folder_path = 5;

Returns
Type Description
String

The sharepointFolderPath.

getSharepointFolderPathBytes()

publicByteStringgetSharepointFolderPathBytes()

The path of the SharePoint folder to download from.

string sharepoint_folder_path = 5;

Returns
Type Description
ByteString

The bytes for sharepointFolderPath.

getSharepointSiteName()

publicStringgetSharepointSiteName()

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.

getSharepointSiteNameBytes()

publicByteStringgetSharepointSiteNameBytes()

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.

getTenantId()

publicStringgetTenantId()

Unique identifier of the Azure Active Directory Instance.

string tenant_id = 3;

Returns
Type Description
String

The tenantId.

getTenantIdBytes()

publicByteStringgetTenantIdBytes()

Unique identifier of the Azure Active Directory Instance.

string tenant_id = 3;

Returns
Type Description
ByteString

The bytes for tenantId.

hasClientSecret()

publicbooleanhasClientSecret()

The application secret for the app registered in Azure.

.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
boolean

Whether the clientSecret field is set.

hasDriveId()

publicbooleanhasDriveId()

The ID of the drive to download from.

string drive_id = 8;

Returns
Type Description
boolean

Whether the driveId field is set.

hasDriveName()

publicbooleanhasDriveName()

The name of the drive to download from.

string drive_name = 7;

Returns
Type Description
boolean

Whether the driveName field is set.

hasSharepointFolderId()

publicbooleanhasSharepointFolderId()

The ID of the SharePoint folder to download from.

string sharepoint_folder_id = 6;

Returns
Type Description
boolean

Whether the sharepointFolderId field is set.

hasSharepointFolderPath()

publicbooleanhasSharepointFolderPath()

The path of the SharePoint folder to download from.

string sharepoint_folder_path = 5;

Returns
Type Description
boolean

Whether the sharepointFolderPath field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeClientSecret(ApiAuth.ApiKeyConfig value)

publicSharePointSources.SharePointSource.BuildermergeClientSecret(ApiAuth.ApiKeyConfigvalue)

The application secret for the app registered in Azure.

.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig client_secret = 2;

Parameter
Name Description
value ApiAuth.ApiKeyConfig
Returns
Type Description
SharePointSources.SharePointSource.Builder

mergeFrom(SharePointSources.SharePointSource other)

publicSharePointSources.SharePointSource.BuildermergeFrom(SharePointSources.SharePointSourceother)
Parameter
Name Description
other SharePointSources.SharePointSource
Returns
Type Description
SharePointSources.SharePointSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicSharePointSources.SharePointSource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicSharePointSources.SharePointSource.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalSharePointSources.SharePointSource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

setClientId(String value)

publicSharePointSources.SharePointSource.BuildersetClientId(Stringvalue)

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;

Parameter
Name Description
value String

The clientId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setClientIdBytes(ByteString value)

publicSharePointSources.SharePointSource.BuildersetClientIdBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for clientId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setClientSecret(ApiAuth.ApiKeyConfig value)

publicSharePointSources.SharePointSource.BuildersetClientSecret(ApiAuth.ApiKeyConfigvalue)

The application secret for the app registered in Azure.

.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig client_secret = 2;

Parameter
Name Description
value ApiAuth.ApiKeyConfig
Returns
Type Description
SharePointSources.SharePointSource.Builder

setClientSecret(ApiAuth.ApiKeyConfig.Builder builderForValue)

publicSharePointSources.SharePointSource.BuildersetClientSecret(ApiAuth.ApiKeyConfig.BuilderbuilderForValue)

The application secret for the app registered in Azure.

.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig client_secret = 2;

Parameter
Name Description
builderForValue ApiAuth.ApiKeyConfig.Builder
Returns
Type Description
SharePointSources.SharePointSource.Builder

setDriveId(String value)

publicSharePointSources.SharePointSource.BuildersetDriveId(Stringvalue)

The ID of the drive to download from.

string drive_id = 8;

Parameter
Name Description
value String

The driveId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setDriveIdBytes(ByteString value)

publicSharePointSources.SharePointSource.BuildersetDriveIdBytes(ByteStringvalue)

The ID of the drive to download from.

string drive_id = 8;

Parameter
Name Description
value ByteString

The bytes for driveId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setDriveName(String value)

publicSharePointSources.SharePointSource.BuildersetDriveName(Stringvalue)

The name of the drive to download from.

string drive_name = 7;

Parameter
Name Description
value String

The driveName to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setDriveNameBytes(ByteString value)

publicSharePointSources.SharePointSource.BuildersetDriveNameBytes(ByteStringvalue)

The name of the drive to download from.

string drive_name = 7;

Parameter
Name Description
value ByteString

The bytes for driveName to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicSharePointSources.SharePointSource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

setFileId(String value)

publicSharePointSources.SharePointSource.BuildersetFileId(Stringvalue)

Output only. The SharePoint file id. Output only.

string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The fileId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setFileIdBytes(ByteString value)

publicSharePointSources.SharePointSource.BuildersetFileIdBytes(ByteStringvalue)

Output only. The SharePoint file id. Output only.

string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for fileId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicSharePointSources.SharePointSource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

setSharepointFolderId(String value)

publicSharePointSources.SharePointSource.BuildersetSharepointFolderId(Stringvalue)

The ID of the SharePoint folder to download from.

string sharepoint_folder_id = 6;

Parameter
Name Description
value String

The sharepointFolderId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setSharepointFolderIdBytes(ByteString value)

publicSharePointSources.SharePointSource.BuildersetSharepointFolderIdBytes(ByteStringvalue)

The ID of the SharePoint folder to download from.

string sharepoint_folder_id = 6;

Parameter
Name Description
value ByteString

The bytes for sharepointFolderId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setSharepointFolderPath(String value)

publicSharePointSources.SharePointSource.BuildersetSharepointFolderPath(Stringvalue)

The path of the SharePoint folder to download from.

string sharepoint_folder_path = 5;

Parameter
Name Description
value String

The sharepointFolderPath to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setSharepointFolderPathBytes(ByteString value)

publicSharePointSources.SharePointSource.BuildersetSharepointFolderPathBytes(ByteStringvalue)

The path of the SharePoint folder to download from.

string sharepoint_folder_path = 5;

Parameter
Name Description
value ByteString

The bytes for sharepointFolderPath to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setSharepointSiteName(String value)

publicSharePointSources.SharePointSource.BuildersetSharepointSiteName(Stringvalue)

The name of the SharePoint site to download from. This can be the site name or the site id.

string sharepoint_site_name = 4;

Parameter
Name Description
value String

The sharepointSiteName to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setSharepointSiteNameBytes(ByteString value)

publicSharePointSources.SharePointSource.BuildersetSharepointSiteNameBytes(ByteStringvalue)

The name of the SharePoint site to download from. This can be the site name or the site id.

string sharepoint_site_name = 4;

Parameter
Name Description
value ByteString

The bytes for sharepointSiteName to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setTenantId(String value)

publicSharePointSources.SharePointSource.BuildersetTenantId(Stringvalue)

Unique identifier of the Azure Active Directory Instance.

string tenant_id = 3;

Parameter
Name Description
value String

The tenantId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setTenantIdBytes(ByteString value)

publicSharePointSources.SharePointSource.BuildersetTenantIdBytes(ByteStringvalue)

Unique identifier of the Azure Active Directory Instance.

string tenant_id = 3;

Parameter
Name Description
value ByteString

The bytes for tenantId to set.

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalSharePointSources.SharePointSource.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SharePointSources.SharePointSource.Builder
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年11月19日 UTC.