Class SharePointSources.SharePointSource (3.55.0)

public static final class SharePointSources.SharePointSource extends GeneratedMessageV3 implements SharePointSources.SharePointSourceOrBuilder

An individual SharePointSource.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SharePointSources.SharePointSource

Static Fields

CLIENT_ID_FIELD_NUMBER

public static final int CLIENT_ID_FIELD_NUMBER
Field Value
Type Description
int

CLIENT_SECRET_FIELD_NUMBER

public static final int CLIENT_SECRET_FIELD_NUMBER
Field Value
Type Description
int

DRIVE_ID_FIELD_NUMBER

public static final int DRIVE_ID_FIELD_NUMBER
Field Value
Type Description
int

DRIVE_NAME_FIELD_NUMBER

public static final int DRIVE_NAME_FIELD_NUMBER
Field Value
Type Description
int

FILE_ID_FIELD_NUMBER

public static final int FILE_ID_FIELD_NUMBER
Field Value
Type Description
int

SHAREPOINT_FOLDER_ID_FIELD_NUMBER

public static final int SHAREPOINT_FOLDER_ID_FIELD_NUMBER
Field Value
Type Description
int

SHAREPOINT_FOLDER_PATH_FIELD_NUMBER

public static final int SHAREPOINT_FOLDER_PATH_FIELD_NUMBER
Field Value
Type Description
int

SHAREPOINT_SITE_NAME_FIELD_NUMBER

public static final int SHAREPOINT_SITE_NAME_FIELD_NUMBER
Field Value
Type Description
int

TENANT_ID_FIELD_NUMBER

public static final int TENANT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SharePointSources.SharePointSource getDefaultInstance()
Returns
Type Description
SharePointSources.SharePointSource

getDescriptor()

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

newBuilder()

public static SharePointSources.SharePointSource.Builder newBuilder()
Returns
Type Description
SharePointSources.SharePointSource.Builder

newBuilder(SharePointSources.SharePointSource prototype)

public static SharePointSources.SharePointSource.Builder newBuilder(SharePointSources.SharePointSource prototype)
Parameter
Name Description
prototype SharePointSources.SharePointSource
Returns
Type Description
SharePointSources.SharePointSource.Builder

parseDelimitedFrom(InputStream input)

public static SharePointSources.SharePointSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SharePointSources.SharePointSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SharePointSources.SharePointSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SharePointSources.SharePointSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SharePointSources.SharePointSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SharePointSources.SharePointSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SharePointSources.SharePointSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SharePointSources.SharePointSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SharePointSources.SharePointSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SharePointSources.SharePointSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SharePointSources.SharePointSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SharePointSources.SharePointSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharePointSources.SharePointSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SharePointSources.SharePointSource> parser()
Returns
Type Description
Parser<SharePointSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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

getParserForType()

public Parser<SharePointSources.SharePointSource> getParserForType()
Returns
Type Description
Parser<SharePointSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SharePointSources.SharePointSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SharePointSources.SharePointSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException