Class SharePointSources.SharePointSource.Builder (3.52.0)

public static final class SharePointSources.SharePointSource.Builder extends GeneratedMessageV3.Builder<SharePointSources.SharePointSource.Builder> implements SharePointSources.SharePointSourceOrBuilder

An individual SharePointSource.

Protobuf type google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SharePointSources.SharePointSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

build()

public SharePointSources.SharePointSource build()
Returns
Type Description
SharePointSources.SharePointSource

buildPartial()

public SharePointSources.SharePointSource buildPartial()
Returns
Type Description
SharePointSources.SharePointSource

clear()

public SharePointSources.SharePointSource.Builder clear()
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

clearClientId()

public SharePointSources.SharePointSource.Builder clearClientId()

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

public SharePointSources.SharePointSource.Builder clearClientSecret()

The application secret for the app registered in Azure.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
SharePointSources.SharePointSource.Builder

clearDriveId()

public SharePointSources.SharePointSource.Builder clearDriveId()

The ID of the drive to download from.

string drive_id = 8;

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearDriveName()

public SharePointSources.SharePointSource.Builder clearDriveName()

The name of the drive to download from.

string drive_name = 7;

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clearDriveSource()

public SharePointSources.SharePointSource.Builder clearDriveSource()
Returns
Type Description
SharePointSources.SharePointSource.Builder

clearField(Descriptors.FieldDescriptor field)

public SharePointSources.SharePointSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

clearFileId()

public SharePointSources.SharePointSource.Builder clearFileId()

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

public SharePointSources.SharePointSource.Builder clearFolderSource()
Returns
Type Description
SharePointSources.SharePointSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SharePointSources.SharePointSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

clearSharepointFolderId()

public SharePointSources.SharePointSource.Builder clearSharepointFolderId()

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

public SharePointSources.SharePointSource.Builder clearSharepointFolderPath()

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

public SharePointSources.SharePointSource.Builder clearSharepointSiteName()

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

public SharePointSources.SharePointSource.Builder clearTenantId()

Unique identifier of the Azure Active Directory Instance.

string tenant_id = 3;

Returns
Type Description
SharePointSources.SharePointSource.Builder

This builder for chaining.

clone()

public SharePointSources.SharePointSource.Builder clone()
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

getClientId()

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.

getClientIdBytes()

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.

getClientSecret()

public ApiAuth.ApiKeyConfig getClientSecret()

The application secret for the app registered in Azure.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
ApiAuth.ApiKeyConfig

The clientSecret.

getClientSecretBuilder()

public ApiAuth.ApiKeyConfig.Builder getClientSecretBuilder()

The application secret for the app registered in Azure.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
ApiAuth.ApiKeyConfig.Builder

getClientSecretOrBuilder()

public ApiAuth.ApiKeyConfigOrBuilder getClientSecretOrBuilder()

The application secret for the app registered in Azure.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
ApiAuth.ApiKeyConfigOrBuilder

getDefaultInstanceForType()

public SharePointSources.SharePointSource getDefaultInstanceForType()
Returns
Type Description
SharePointSources.SharePointSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDriveId()

public String getDriveId()

The ID of the drive to download from.

string drive_id = 8;

Returns
Type Description
String

The driveId.

getDriveIdBytes()

public ByteString getDriveIdBytes()

The ID of the drive to download from.

string drive_id = 8;

Returns
Type Description
ByteString

The bytes for driveId.

getDriveName()

public String getDriveName()

The name of the drive to download from.

string drive_name = 7;

Returns
Type Description
String

The driveName.

getDriveNameBytes()

public ByteString getDriveNameBytes()

The name of the drive to download from.

string drive_name = 7;

Returns
Type Description
ByteString

The bytes for driveName.

getDriveSourceCase()

public SharePointSources.SharePointSource.DriveSourceCase getDriveSourceCase()
Returns
Type Description
SharePointSources.SharePointSource.DriveSourceCase

getFileId()

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.

getFileIdBytes()

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.

getFolderSourceCase()

public SharePointSources.SharePointSource.FolderSourceCase getFolderSourceCase()
Returns
Type Description
SharePointSources.SharePointSource.FolderSourceCase

getSharepointFolderId()

public String getSharepointFolderId()

The ID of the SharePoint folder to download from.

string sharepoint_folder_id = 6;

Returns
Type Description
String

The sharepointFolderId.

getSharepointFolderIdBytes()

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.

getSharepointFolderPath()

public String getSharepointFolderPath()

The path of the SharePoint folder to download from.

string sharepoint_folder_path = 5;

Returns
Type Description
String

The sharepointFolderPath.

getSharepointFolderPathBytes()

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.

getSharepointSiteName()

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.

getSharepointSiteNameBytes()

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.

getTenantId()

public String getTenantId()

Unique identifier of the Azure Active Directory Instance.

string tenant_id = 3;

Returns
Type Description
String

The tenantId.

getTenantIdBytes()

public ByteString getTenantIdBytes()

Unique identifier of the Azure Active Directory Instance.

string tenant_id = 3;

Returns
Type Description
ByteString

The bytes for tenantId.

hasClientSecret()

public boolean hasClientSecret()

The application secret for the app registered in Azure.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig client_secret = 2;

Returns
Type Description
boolean

Whether the clientSecret field is set.

hasDriveId()

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.

hasDriveName()

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.

hasSharepointFolderId()

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.

hasSharepointFolderPath()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeClientSecret(ApiAuth.ApiKeyConfig value)

public SharePointSources.SharePointSource.Builder mergeClientSecret(ApiAuth.ApiKeyConfig value)

The application secret for the app registered in Azure.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig client_secret = 2;

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

mergeFrom(SharePointSources.SharePointSource other)

public SharePointSources.SharePointSource.Builder mergeFrom(SharePointSources.SharePointSource other)
Parameter
Name Description
other SharePointSources.SharePointSource
Returns
Type Description
SharePointSources.SharePointSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SharePointSources.SharePointSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SharePointSources.SharePointSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SharePointSources.SharePointSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

setClientId(String value)

public SharePointSources.SharePointSource.Builder setClientId(String value)

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)

public SharePointSources.SharePointSource.Builder setClientIdBytes(ByteString value)

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)

public SharePointSources.SharePointSource.Builder setClientSecret(ApiAuth.ApiKeyConfig value)

The application secret for the app registered in Azure.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig client_secret = 2;

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

setClientSecret(ApiAuth.ApiKeyConfig.Builder builderForValue)

public SharePointSources.SharePointSource.Builder setClientSecret(ApiAuth.ApiKeyConfig.Builder builderForValue)

The application secret for the app registered in Azure.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig client_secret = 2;

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

setDriveId(String value)

public SharePointSources.SharePointSource.Builder setDriveId(String value)

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)

public SharePointSources.SharePointSource.Builder setDriveIdBytes(ByteString value)

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)

public SharePointSources.SharePointSource.Builder setDriveName(String value)

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)

public SharePointSources.SharePointSource.Builder setDriveNameBytes(ByteString value)

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)

public SharePointSources.SharePointSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

setFileId(String value)

public SharePointSources.SharePointSource.Builder setFileId(String value)

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)

public SharePointSources.SharePointSource.Builder setFileIdBytes(ByteString value)

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)

public SharePointSources.SharePointSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

setSharepointFolderId(String value)

public SharePointSources.SharePointSource.Builder setSharepointFolderId(String value)

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)

public SharePointSources.SharePointSource.Builder setSharepointFolderIdBytes(ByteString value)

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)

public SharePointSources.SharePointSource.Builder setSharepointFolderPath(String value)

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)

public SharePointSources.SharePointSource.Builder setSharepointFolderPathBytes(ByteString value)

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)

public SharePointSources.SharePointSource.Builder setSharepointSiteName(String value)

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)

public SharePointSources.SharePointSource.Builder setSharepointSiteNameBytes(ByteString value)

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)

public SharePointSources.SharePointSource.Builder setTenantId(String value)

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)

public SharePointSources.SharePointSource.Builder setTenantIdBytes(ByteString value)

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)

public final SharePointSources.SharePointSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides