Package com.google.cloud.aiplatform.v1
Class SharePointSources.SharePointSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SharePointSources.SharePointSource.Builder>
com.google.cloud.aiplatform.v1.SharePointSources.SharePointSource.Builder
- All Implemented Interfaces:
SharePointSources.SharePointSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SharePointSources.SharePointSource
public static final class SharePointSources.SharePointSource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SharePointSources.SharePointSource.Builder>
implements SharePointSources.SharePointSourceOrBuilder
An individual SharePointSource.Protobuf type
google.cloud.aiplatform.v1.SharePointSources.SharePointSource-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Application ID for the app registered in Microsoft Azure Portal.The application secret for the app registered in Azure.The ID of the drive to download from.The name of the drive to download from.Output only.The ID of the SharePoint folder to download from.The path of the SharePoint folder to download from.The name of the SharePoint site to download from.Unique identifier of the Azure Active Directory Instance.The Application ID for the app registered in Microsoft Azure Portal.com.google.protobuf.ByteStringThe Application ID for the app registered in Microsoft Azure Portal.The application secret for the app registered in Azure.The application secret for the app registered in Azure.The application secret for the app registered in Azure.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe ID of the drive to download from.com.google.protobuf.ByteStringThe ID of the drive to download from.The name of the drive to download from.com.google.protobuf.ByteStringThe name of the drive to download from.Output only.com.google.protobuf.ByteStringOutput only.The ID of the SharePoint folder to download from.com.google.protobuf.ByteStringThe ID of the SharePoint folder to download from.The path of the SharePoint folder to download from.com.google.protobuf.ByteStringThe path of the SharePoint folder to download from.The name of the SharePoint site to download from.com.google.protobuf.ByteStringThe name of the SharePoint site to download from.Unique identifier of the Azure Active Directory Instance.com.google.protobuf.ByteStringUnique identifier of the Azure Active Directory Instance.booleanThe application secret for the app registered in Azure.booleanThe ID of the drive to download from.booleanThe name of the drive to download from.booleanThe ID of the SharePoint folder to download from.booleanThe path of the SharePoint folder to download from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe application secret for the app registered in Azure.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setClientId(String value) The Application ID for the app registered in Microsoft Azure Portal.setClientIdBytes(com.google.protobuf.ByteString value) The Application ID for the app registered in Microsoft Azure Portal.The application secret for the app registered in Azure.setClientSecret(ApiAuth.ApiKeyConfig.Builder builderForValue) The application secret for the app registered in Azure.setDriveId(String value) The ID of the drive to download from.setDriveIdBytes(com.google.protobuf.ByteString value) The ID of the drive to download from.setDriveName(String value) The name of the drive to download from.setDriveNameBytes(com.google.protobuf.ByteString value) The name of the drive to download from.Output only.setFileIdBytes(com.google.protobuf.ByteString value) Output only.setSharepointFolderId(String value) The ID of the SharePoint folder to download from.setSharepointFolderIdBytes(com.google.protobuf.ByteString value) The ID of the SharePoint folder to download from.setSharepointFolderPath(String value) The path of the SharePoint folder to download from.setSharepointFolderPathBytes(com.google.protobuf.ByteString value) The path of the SharePoint folder to download from.setSharepointSiteName(String value) The name of the SharePoint site to download from.setSharepointSiteNameBytes(com.google.protobuf.ByteString value) The name of the SharePoint site to download from.setTenantId(String value) Unique identifier of the Azure Active Directory Instance.setTenantIdBytes(com.google.protobuf.ByteString value) Unique identifier of the Azure Active Directory Instance.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SharePointSources.SharePointSource.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SharePointSources.SharePointSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SharePointSources.SharePointSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SharePointSources.SharePointSource.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SharePointSources.SharePointSource.Builder>
-
mergeFrom
public SharePointSources.SharePointSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SharePointSources.SharePointSource.Builder>- Throws:
IOException
-
getFolderSourceCase
- Specified by:
getFolderSourceCasein interfaceSharePointSources.SharePointSourceOrBuilder
-
clearFolderSource
-
getDriveSourceCase
- Specified by:
getDriveSourceCasein interfaceSharePointSources.SharePointSourceOrBuilder
-
clearDriveSource
-
hasDriveName
public boolean hasDriveName()The name of the drive to download from.
string drive_name = 7;- Specified by:
hasDriveNamein interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- Whether the driveName field is set.
-
getDriveName
The name of the drive to download from.
string drive_name = 7;- Specified by:
getDriveNamein interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The driveName.
-
getDriveNameBytes
public com.google.protobuf.ByteString getDriveNameBytes()The name of the drive to download from.
string drive_name = 7;- Specified by:
getDriveNameBytesin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The bytes for driveName.
-
setDriveName
The name of the drive to download from.
string drive_name = 7;- Parameters:
value- The driveName to set.- Returns:
- This builder for chaining.
-
clearDriveName
The name of the drive to download from.
string drive_name = 7;- Returns:
- This builder for chaining.
-
setDriveNameBytes
public SharePointSources.SharePointSource.Builder setDriveNameBytes(com.google.protobuf.ByteString value) The name of the drive to download from.
string drive_name = 7;- Parameters:
value- The bytes for driveName to set.- Returns:
- This builder for chaining.
-
hasDriveId
public boolean hasDriveId()The ID of the drive to download from.
string drive_id = 8;- Specified by:
hasDriveIdin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- Whether the driveId field is set.
-
getDriveId
The ID of the drive to download from.
string drive_id = 8;- Specified by:
getDriveIdin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The driveId.
-
getDriveIdBytes
public com.google.protobuf.ByteString getDriveIdBytes()The ID of the drive to download from.
string drive_id = 8;- Specified by:
getDriveIdBytesin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The bytes for driveId.
-
setDriveId
The ID of the drive to download from.
string drive_id = 8;- Parameters:
value- The driveId to set.- Returns:
- This builder for chaining.
-
clearDriveId
The ID of the drive to download from.
string drive_id = 8;- Returns:
- This builder for chaining.
-
setDriveIdBytes
public SharePointSources.SharePointSource.Builder setDriveIdBytes(com.google.protobuf.ByteString value) The ID of the drive to download from.
string drive_id = 8;- Parameters:
value- The bytes for driveId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getClientIdin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.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;- Specified by:
getClientIdBytesin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The bytes for clientId.
-
setClientId
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;- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setClientIdBytes
public SharePointSources.SharePointSource.Builder setClientIdBytes(com.google.protobuf.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;- Parameters:
value- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
hasClientSecret
public boolean hasClientSecret()The application secret for the app registered in Azure.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2;- Specified by:
hasClientSecretin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- Whether the clientSecret field is set.
-
getClientSecret
The application secret for the app registered in Azure.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2;- Specified by:
getClientSecretin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The clientSecret.
-
setClientSecret
The application secret for the app registered in Azure.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2; -
setClientSecret
public SharePointSources.SharePointSource.Builder setClientSecret(ApiAuth.ApiKeyConfig.Builder builderForValue) The application secret for the app registered in Azure.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2; -
mergeClientSecret
The application secret for the app registered in Azure.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2; -
clearClientSecret
The application secret for the app registered in Azure.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2; -
getClientSecretBuilder
The application secret for the app registered in Azure.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2; -
getClientSecretOrBuilder
The application secret for the app registered in Azure.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig client_secret = 2;- Specified by:
getClientSecretOrBuilderin interfaceSharePointSources.SharePointSourceOrBuilder
-
getTenantId
Unique identifier of the Azure Active Directory Instance.
string tenant_id = 3;- Specified by:
getTenantIdin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The tenantId.
-
getTenantIdBytes
public com.google.protobuf.ByteString getTenantIdBytes()Unique identifier of the Azure Active Directory Instance.
string tenant_id = 3;- Specified by:
getTenantIdBytesin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The bytes for tenantId.
-
setTenantId
Unique identifier of the Azure Active Directory Instance.
string tenant_id = 3;- Parameters:
value- The tenantId to set.- Returns:
- This builder for chaining.
-
clearTenantId
Unique identifier of the Azure Active Directory Instance.
string tenant_id = 3;- Returns:
- This builder for chaining.
-
setTenantIdBytes
public SharePointSources.SharePointSource.Builder setTenantIdBytes(com.google.protobuf.ByteString value) Unique identifier of the Azure Active Directory Instance.
string tenant_id = 3;- Parameters:
value- The bytes for tenantId to set.- Returns:
- This builder for chaining.
-
getFileId
Output only. The SharePoint file id. Output only.
string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFileIdin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The fileId.
-
getFileIdBytes
public com.google.protobuf.ByteString getFileIdBytes()Output only. The SharePoint file id. Output only.
string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFileIdBytesin interfaceSharePointSources.SharePointSourceOrBuilder- Returns:
- The bytes for fileId.
-
setFileId
Output only. The SharePoint file id. Output only.
string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The fileId to set.- Returns:
- This builder for chaining.
-
clearFileId
Output only. The SharePoint file id. Output only.
string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setFileIdBytes
public SharePointSources.SharePointSource.Builder setFileIdBytes(com.google.protobuf.ByteString value) Output only. The SharePoint file id. Output only.
string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for fileId to set.- Returns:
- This builder for chaining.
-