Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see
Model versions and lifecycle .
Send feedback
Class SharePointSources.Builder (1.20.1)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class SharePointSources . Builder extends GeneratedMessageV3 . Builder<SharePointSources . Builder > implements SharePointSourcesOrBuilder
The SharePointSources to pass to ImportRagFiles.
Protobuf type google.cloud.vertexai.v1.SharePointSources
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllSharePointSources(Iterable<? extends SharePointSources.SharePointSource> values)
public SharePointSources . Builder addAllSharePointSources ( Iterable <? extends SharePointSources . SharePointSource > values )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.vertexai.api.SharePointSources.SharePointSource >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SharePointSources . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSharePointSources(SharePointSources.SharePointSource value)
public SharePointSources . Builder addSharePointSources ( SharePointSources . SharePointSource value )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
addSharePointSources(SharePointSources.SharePointSource.Builder builderForValue)
public SharePointSources . Builder addSharePointSources ( SharePointSources . SharePointSource . Builder builderForValue )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
addSharePointSources(int index, SharePointSources.SharePointSource value)
public SharePointSources . Builder addSharePointSources ( int index , SharePointSources . SharePointSource value )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
addSharePointSources(int index, SharePointSources.SharePointSource.Builder builderForValue)
public SharePointSources . Builder addSharePointSources ( int index , SharePointSources . SharePointSource . Builder builderForValue )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
addSharePointSourcesBuilder()
public SharePointSources . SharePointSource . Builder addSharePointSourcesBuilder ()
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
addSharePointSourcesBuilder(int index)
public SharePointSources . SharePointSource . Builder addSharePointSourcesBuilder ( int index )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
Parameter
Name
Description
index
int
build()
public SharePointSources build ()
buildPartial()
public SharePointSources buildPartial ()
clear()
public SharePointSources . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SharePointSources . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SharePointSources . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSharePointSources()
public SharePointSources . Builder clearSharePointSources ()
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
clone()
public SharePointSources . Builder clone ()
Overrides
getDefaultInstanceForType()
public SharePointSources getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSharePointSources(int index)
public SharePointSources . SharePointSource getSharePointSources ( int index )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
Parameter
Name
Description
index
int
getSharePointSourcesBuilder(int index)
public SharePointSources . SharePointSource . Builder getSharePointSourcesBuilder ( int index )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
Parameter
Name
Description
index
int
getSharePointSourcesBuilderList()
public List<SharePointSources . SharePointSource . Builder > getSharePointSourcesBuilderList ()
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
getSharePointSourcesCount()
public int getSharePointSourcesCount ()
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
Returns
Type
Description
int
getSharePointSourcesList()
public List<SharePointSources . SharePointSource > getSharePointSourcesList ()
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
getSharePointSourcesOrBuilder(int index)
public SharePointSources . SharePointSourceOrBuilder getSharePointSourcesOrBuilder ( int index )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
Parameter
Name
Description
index
int
getSharePointSourcesOrBuilderList()
public List <? extends SharePointSources . SharePointSourceOrBuilder > getSharePointSourcesOrBuilderList ()
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
Returns
Type
Description
List <? extends com.google.cloud.vertexai.api.SharePointSources.SharePointSourceOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SharePointSources other)
public SharePointSources . Builder mergeFrom ( SharePointSources other )
public SharePointSources . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SharePointSources . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SharePointSources . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeSharePointSources(int index)
public SharePointSources . Builder removeSharePointSources ( int index )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public SharePointSources . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SharePointSources . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSharePointSources(int index, SharePointSources.SharePointSource value)
public SharePointSources . Builder setSharePointSources ( int index , SharePointSources . SharePointSource value )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
setSharePointSources(int index, SharePointSources.SharePointSource.Builder builderForValue)
public SharePointSources . Builder setSharePointSources ( int index , SharePointSources . SharePointSource . Builder builderForValue )
The SharePoint sources.
repeated .google.cloud.vertexai.v1.SharePointSources.SharePointSource share_point_sources = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final SharePointSources . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-28 UTC."],[],[]]