Class RagFile.Builder (3.47.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

Implements

RagFileOrBuilder

Static 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
Overrides

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
Overrides

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
Overrides

clearGcsSource()

public RagFile.Builder clearGcsSource()

Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage 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
Overrides

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
Overrides

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
Overrides

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 Cloud Storage 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 Cloud Storage 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 Cloud Storage 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 Cloud Storage 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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 Cloud Storage 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
Overrides

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
Overrides

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 Cloud Storage 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 Cloud Storage 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
Overrides

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
Overrides

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