Enum google_api_proto::google::cloud::aiplatform::v1beta1::rag_file::RagFileSource
source · pub enum RagFileSource {
GcsSource(GcsSource),
GoogleDriveSource(GoogleDriveSource),
DirectUploadSource(DirectUploadSource),
SlackSource(SlackSource),
JiraSource(JiraSource),
}
Expand description
The origin location of the RagFile if it is imported from Google Cloud Storage or Google Drive.
Variants§
GcsSource(GcsSource)
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.
GoogleDriveSource(GoogleDriveSource)
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
DirectUploadSource(DirectUploadSource)
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
SlackSource(SlackSource)
The RagFile is imported from a Slack channel.
JiraSource(JiraSource)
The RagFile is imported from a Jira query.
Implementations§
source§impl RagFileSource
impl RagFileSource
sourcepub fn merge(
field: &mut Option<RagFileSource>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<RagFileSource>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for RagFileSource
impl Clone for RagFileSource
source§fn clone(&self) -> RagFileSource
fn clone(&self) -> RagFileSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RagFileSource
impl Debug for RagFileSource
source§impl PartialEq for RagFileSource
impl PartialEq for RagFileSource
source§fn eq(&self, other: &RagFileSource) -> bool
fn eq(&self, other: &RagFileSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RagFileSource
Auto Trait Implementations§
impl Freeze for RagFileSource
impl RefUnwindSafe for RagFileSource
impl Send for RagFileSource
impl Sync for RagFileSource
impl Unpin for RagFileSource
impl UnwindSafe for RagFileSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request