Class SharePointSources.Builder (3.52.0)

public static final class SharePointSources.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SharePointSources.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SharePointSources.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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