public static final class RagCorpus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder> implements RagCorpusOrBuilder
A RagCorpus is a RagFile container and a project can have multiple RagCorpora.Protobuf type
google.cloud.aiplatform.v1beta1.RagCorpus| Modifier and Type | Method and Description |
|---|---|
RagCorpus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RagCorpus |
build() |
RagCorpus |
buildPartial() |
RagCorpus.Builder |
clear() |
RagCorpus.Builder |
clearCreateTime()
Output only.
|
RagCorpus.Builder |
clearDescription()
Optional.
|
RagCorpus.Builder |
clearDisplayName()
Required.
|
RagCorpus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RagCorpus.Builder |
clearName()
Output only.
|
RagCorpus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RagCorpus.Builder |
clearRagEmbeddingModelConfig()
Optional.
|
RagCorpus.Builder |
clearUpdateTime()
Output only.
|
RagCorpus.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
RagCorpus |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
RagEmbeddingModelConfig |
getRagEmbeddingModelConfig()
Optional.
|
RagEmbeddingModelConfig.Builder |
getRagEmbeddingModelConfigBuilder()
Optional.
|
RagEmbeddingModelConfigOrBuilder |
getRagEmbeddingModelConfigOrBuilder()
Optional.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasRagEmbeddingModelConfig()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RagCorpus.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
RagCorpus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RagCorpus.Builder |
mergeFrom(com.google.protobuf.Message other) |
RagCorpus.Builder |
mergeFrom(RagCorpus other) |
RagCorpus.Builder |
mergeRagEmbeddingModelConfig(RagEmbeddingModelConfig value)
Optional.
|
RagCorpus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RagCorpus.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
RagCorpus.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
RagCorpus.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
RagCorpus.Builder |
setDescription(String value)
Optional.
|
RagCorpus.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.
|
RagCorpus.Builder |
setDisplayName(String value)
Required.
|
RagCorpus.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
RagCorpus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RagCorpus.Builder |
setName(String value)
Output only.
|
RagCorpus.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
RagCorpus.Builder |
setRagEmbeddingModelConfig(RagEmbeddingModelConfig.Builder builderForValue)
Optional.
|
RagCorpus.Builder |
setRagEmbeddingModelConfig(RagEmbeddingModelConfig value)
Optional.
|
RagCorpus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RagCorpus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RagCorpus.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
RagCorpus.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RagCorpus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RagCorpus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RagCorpus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagCorpus.Builder>public RagCorpus.Builder mergeFrom(RagCorpus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public RagCorpus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagCorpus.Builder>IOExceptionpublic String getName()
Output only. The resource name of the RagCorpus.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface RagCorpusOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the RagCorpus.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface RagCorpusOrBuilderpublic RagCorpus.Builder setName(String value)
Output only. The resource name of the RagCorpus.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public RagCorpus.Builder clearName()
Output only. The resource name of the RagCorpus.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public RagCorpus.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the RagCorpus.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getDisplayName()
Required. The display name of the RagCorpus. 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];getDisplayName in interface RagCorpusOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name of the RagCorpus. 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];getDisplayNameBytes in interface RagCorpusOrBuilderpublic RagCorpus.Builder setDisplayName(String value)
Required. The display name of the RagCorpus. 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];value - The displayName to set.public RagCorpus.Builder clearDisplayName()
Required. The display name of the RagCorpus. 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];public RagCorpus.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The display name of the RagCorpus. 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];value - The bytes for displayName to set.public String getDescription()
Optional. The description of the RagCorpus.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface RagCorpusOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. The description of the RagCorpus.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface RagCorpusOrBuilderpublic RagCorpus.Builder setDescription(String value)
Optional. The description of the RagCorpus.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public RagCorpus.Builder clearDescription()
Optional. The description of the RagCorpus.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];public RagCorpus.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. The description of the RagCorpus.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.public boolean hasRagEmbeddingModelConfig()
Optional. Immutable. The embedding model config of the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
hasRagEmbeddingModelConfig in interface RagCorpusOrBuilderpublic RagEmbeddingModelConfig getRagEmbeddingModelConfig()
Optional. Immutable. The embedding model config of the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getRagEmbeddingModelConfig in interface RagCorpusOrBuilderpublic RagCorpus.Builder setRagEmbeddingModelConfig(RagEmbeddingModelConfig value)
Optional. Immutable. The embedding model config of the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
public RagCorpus.Builder setRagEmbeddingModelConfig(RagEmbeddingModelConfig.Builder builderForValue)
Optional. Immutable. The embedding model config of the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
public RagCorpus.Builder mergeRagEmbeddingModelConfig(RagEmbeddingModelConfig value)
Optional. Immutable. The embedding model config of the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
public RagCorpus.Builder clearRagEmbeddingModelConfig()
Optional. Immutable. The embedding model config of the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
public RagEmbeddingModelConfig.Builder getRagEmbeddingModelConfigBuilder()
Optional. Immutable. The embedding model config of the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
public RagEmbeddingModelConfigOrBuilder getRagEmbeddingModelConfigOrBuilder()
Optional. Immutable. The embedding model config of the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getRagEmbeddingModelConfigOrBuilder in interface RagCorpusOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp when this RagCorpus was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface RagCorpusOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this RagCorpus was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface RagCorpusOrBuilderpublic RagCorpus.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this RagCorpus was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RagCorpus.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this RagCorpus was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RagCorpus.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this RagCorpus was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RagCorpus.Builder clearCreateTime()
Output only. Timestamp when this RagCorpus was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this RagCorpus was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this RagCorpus was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface RagCorpusOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when this RagCorpus was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface RagCorpusOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this RagCorpus was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface RagCorpusOrBuilderpublic RagCorpus.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this RagCorpus was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RagCorpus.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this RagCorpus was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RagCorpus.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this RagCorpus was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RagCorpus.Builder clearUpdateTime()
Output only. Timestamp when this RagCorpus was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this RagCorpus was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this RagCorpus was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface RagCorpusOrBuilderpublic final RagCorpus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>public final RagCorpus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RagCorpus.Builder>Copyright © 2024 Google LLC. All rights reserved.