- 3.54.0 (latest)
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class RagFile.Builder extends GeneratedMessageV3.Builder<RagFile.Builder> implements RagFileOrBuilder
A RagFile contains user data for chunking, embedding and indexing.
Protobuf type google.cloud.aiplatform.v1beta1.RagFile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RagFile.BuilderImplements
RagFileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RagFile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
build()
public RagFile build()
Returns | |
---|---|
Type | Description |
RagFile |
buildPartial()
public RagFile buildPartial()
Returns | |
---|---|
Type | Description |
RagFile |
clear()
public RagFile.Builder clear()
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clearCreateTime()
public RagFile.Builder clearCreateTime()
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clearDescription()
public RagFile.Builder clearDescription()
Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
clearDirectUploadSource()
public RagFile.Builder clearDirectUploadSource()
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clearDisplayName()
public RagFile.Builder clearDisplayName()
Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RagFile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clearGcsSource()
public RagFile.Builder clearGcsSource()
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clearGoogleDriveSource()
public RagFile.Builder clearGoogleDriveSource()
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clearName()
public RagFile.Builder clearName()
Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RagFile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clearRagFileSource()
public RagFile.Builder clearRagFileSource()
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clearRagFileType()
public RagFile.Builder clearRagFileType()
Output only. The type of the RagFile.
.google.cloud.aiplatform.v1beta1.RagFile.RagFileType rag_file_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
clearSizeBytes()
public RagFile.Builder clearSizeBytes()
Output only. The size of the RagFile in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
clearUpdateTime()
public RagFile.Builder clearUpdateTime()
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.Builder |
clone()
public RagFile.Builder clone()
Returns | |
---|---|
Type | Description |
RagFile.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public RagFile getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RagFile |
getDescription()
public String getDescription()
Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDirectUploadSource()
public DirectUploadSource getDirectUploadSource()
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DirectUploadSource |
The directUploadSource. |
getDirectUploadSourceBuilder()
public DirectUploadSource.Builder getDirectUploadSourceBuilder()
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DirectUploadSource.Builder |
getDirectUploadSourceOrBuilder()
public DirectUploadSourceOrBuilder getDirectUploadSourceOrBuilder()
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DirectUploadSourceOrBuilder |
getDisplayName()
public String getDisplayName()
Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getGcsSource()
public GcsSource getGcsSource()
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GcsSource |
The gcsSource. |
getGcsSourceBuilder()
public GcsSource.Builder getGcsSourceBuilder()
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GcsSource.Builder |
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GcsSourceOrBuilder |
getGoogleDriveSource()
public GoogleDriveSource getGoogleDriveSource()
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GoogleDriveSource |
The googleDriveSource. |
getGoogleDriveSourceBuilder()
public GoogleDriveSource.Builder getGoogleDriveSourceBuilder()
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GoogleDriveSource.Builder |
getGoogleDriveSourceOrBuilder()
public GoogleDriveSourceOrBuilder getGoogleDriveSourceOrBuilder()
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GoogleDriveSourceOrBuilder |
getName()
public String getName()
Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getRagFileSourceCase()
public RagFile.RagFileSourceCase getRagFileSourceCase()
Returns | |
---|---|
Type | Description |
RagFile.RagFileSourceCase |
getRagFileType()
public RagFile.RagFileType getRagFileType()
Output only. The type of the RagFile.
.google.cloud.aiplatform.v1beta1.RagFile.RagFileType rag_file_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RagFile.RagFileType |
The ragFileType. |
getRagFileTypeValue()
public int getRagFileTypeValue()
Output only. The type of the RagFile.
.google.cloud.aiplatform.v1beta1.RagFile.RagFileType rag_file_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for ragFileType. |
getSizeBytes()
public long getSizeBytes()
Output only. The size of the RagFile in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The sizeBytes. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDirectUploadSource()
public boolean hasDirectUploadSource()
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the directUploadSource field is set. |
hasGcsSource()
public boolean hasGcsSource()
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the gcsSource field is set. |
hasGoogleDriveSource()
public boolean hasGoogleDriveSource()
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the googleDriveSource field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public RagFile.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
mergeDirectUploadSource(DirectUploadSource value)
public RagFile.Builder mergeDirectUploadSource(DirectUploadSource value)
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
DirectUploadSource |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
mergeFrom(RagFile other)
public RagFile.Builder mergeFrom(RagFile other)
Parameter | |
---|---|
Name | Description |
other |
RagFile |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RagFile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RagFile.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
mergeGcsSource(GcsSource value)
public RagFile.Builder mergeGcsSource(GcsSource value)
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
GcsSource |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
mergeGoogleDriveSource(GoogleDriveSource value)
public RagFile.Builder mergeGoogleDriveSource(GoogleDriveSource value)
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
GoogleDriveSource |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RagFile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
mergeUpdateTime(Timestamp value)
public RagFile.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setCreateTime(Timestamp value)
public RagFile.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public RagFile.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setDescription(String value)
public RagFile.Builder setDescription(String value)
Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public RagFile.Builder setDescriptionBytes(ByteString value)
Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setDirectUploadSource(DirectUploadSource value)
public RagFile.Builder setDirectUploadSource(DirectUploadSource value)
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
DirectUploadSource |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setDirectUploadSource(DirectUploadSource.Builder builderForValue)
public RagFile.Builder setDirectUploadSource(DirectUploadSource.Builder builderForValue)
Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
DirectUploadSource.Builder |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setDisplayName(String value)
public RagFile.Builder setDisplayName(String value)
Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public RagFile.Builder setDisplayNameBytes(ByteString value)
Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RagFile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setGcsSource(GcsSource value)
public RagFile.Builder setGcsSource(GcsSource value)
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
GcsSource |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setGcsSource(GcsSource.Builder builderForValue)
public RagFile.Builder setGcsSource(GcsSource.Builder builderForValue)
Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
GcsSource.Builder |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setGoogleDriveSource(GoogleDriveSource value)
public RagFile.Builder setGoogleDriveSource(GoogleDriveSource value)
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
GoogleDriveSource |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setGoogleDriveSource(GoogleDriveSource.Builder builderForValue)
public RagFile.Builder setGoogleDriveSource(GoogleDriveSource.Builder builderForValue)
Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
GoogleDriveSource.Builder |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setName(String value)
public RagFile.Builder setName(String value)
Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RagFile.Builder setNameBytes(ByteString value)
Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setRagFileType(RagFile.RagFileType value)
public RagFile.Builder setRagFileType(RagFile.RagFileType value)
Output only. The type of the RagFile.
.google.cloud.aiplatform.v1beta1.RagFile.RagFileType rag_file_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
RagFile.RagFileType The ragFileType to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setRagFileTypeValue(int value)
public RagFile.Builder setRagFileTypeValue(int value)
Output only. The type of the RagFile.
.google.cloud.aiplatform.v1beta1.RagFile.RagFileType rag_file_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for ragFileType to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RagFile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setSizeBytes(long value)
public RagFile.Builder setSizeBytes(long value)
Output only. The size of the RagFile in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The sizeBytes to set. |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RagFile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setUpdateTime(Timestamp value)
public RagFile.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
RagFile.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public RagFile.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
RagFile.Builder |