Class SharePointSources.Builder (3.84.0)

public static final class SharePointSources.Builder extends GeneratedMessage.Builder<SharePointSources.Builder> implements SharePointSourcesOrBuilder

The SharePointSources to pass to ImportRagFiles.

Protobuf type google.cloud.aiplatform.v1beta1.SharePointSources

Static Methods

getDescriptor()

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

Methods

addAllSharePointSources(Iterable<? extends SharePointSources.SharePointSource> values)

public SharePointSources.Builder addAllSharePointSources(Iterable<? extends SharePointSources.SharePointSource> values)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource>
Returns
Type Description
SharePointSources.Builder

addSharePointSources(SharePointSources.SharePointSource value)

public SharePointSources.Builder addSharePointSources(SharePointSources.SharePointSource value)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

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

addSharePointSources(SharePointSources.SharePointSource.Builder builderForValue)

public SharePointSources.Builder addSharePointSources(SharePointSources.SharePointSource.Builder builderForValue)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

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

addSharePointSources(int index, SharePointSources.SharePointSource value)

public SharePointSources.Builder addSharePointSources(int index, SharePointSources.SharePointSource value)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameters
Name Description
index int
value SharePointSources.SharePointSource
Returns
Type Description
SharePointSources.Builder

addSharePointSources(int index, SharePointSources.SharePointSource.Builder builderForValue)

public SharePointSources.Builder addSharePointSources(int index, SharePointSources.SharePointSource.Builder builderForValue)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameters
Name Description
index int
builderForValue SharePointSources.SharePointSource.Builder
Returns
Type Description
SharePointSources.Builder

addSharePointSourcesBuilder()

public SharePointSources.SharePointSource.Builder addSharePointSourcesBuilder()

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Returns
Type Description
SharePointSources.SharePointSource.Builder

addSharePointSourcesBuilder(int index)

public SharePointSources.SharePointSource.Builder addSharePointSourcesBuilder(int index)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
SharePointSources.SharePointSource.Builder

build()

public SharePointSources build()
Returns
Type Description
SharePointSources

buildPartial()

public SharePointSources buildPartial()
Returns
Type Description
SharePointSources

clear()

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

clearSharePointSources()

public SharePointSources.Builder clearSharePointSources()

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Returns
Type Description
SharePointSources.Builder

getDefaultInstanceForType()

public SharePointSources getDefaultInstanceForType()
Returns
Type Description
SharePointSources

getDescriptorForType()

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

getSharePointSources(int index)

public SharePointSources.SharePointSource getSharePointSources(int index)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
SharePointSources.SharePointSource

getSharePointSourcesBuilder(int index)

public SharePointSources.SharePointSource.Builder getSharePointSourcesBuilder(int index)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
SharePointSources.SharePointSource.Builder

getSharePointSourcesBuilderList()

public List<SharePointSources.SharePointSource.Builder> getSharePointSourcesBuilderList()

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Returns
Type Description
List<Builder>

getSharePointSourcesCount()

public int getSharePointSourcesCount()

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Returns
Type Description
int

getSharePointSourcesList()

public List<SharePointSources.SharePointSource> getSharePointSourcesList()

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Returns
Type Description
List<SharePointSource>

getSharePointSourcesOrBuilder(int index)

public SharePointSources.SharePointSourceOrBuilder getSharePointSourcesOrBuilder(int index)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
SharePointSources.SharePointSourceOrBuilder

getSharePointSourcesOrBuilderList()

public List<? extends SharePointSources.SharePointSourceOrBuilder> getSharePointSourcesOrBuilderList()

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSourceOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SharePointSources other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeSharePointSources(int index)

public SharePointSources.Builder removeSharePointSources(int index)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
SharePointSources.Builder

setSharePointSources(int index, SharePointSources.SharePointSource value)

public SharePointSources.Builder setSharePointSources(int index, SharePointSources.SharePointSource value)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameters
Name Description
index int
value SharePointSources.SharePointSource
Returns
Type Description
SharePointSources.Builder

setSharePointSources(int index, SharePointSources.SharePointSource.Builder builderForValue)

public SharePointSources.Builder setSharePointSources(int index, SharePointSources.SharePointSource.Builder builderForValue)

The SharePoint sources.

repeated .google.cloud.aiplatform.v1beta1.SharePointSources.SharePointSource share_point_sources = 1;

Parameters
Name Description
index int
builderForValue SharePointSources.SharePointSource.Builder
Returns
Type Description
SharePointSources.Builder