public static final class RagCorpus.CorpusTypeConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<RagCorpus.CorpusTypeConfig.Builder> implements RagCorpus.CorpusTypeConfigOrBuilder
The config for the corpus type of the RagCorpus.Protobuf type
google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfigaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RagCorpus.CorpusTypeConfig.Builder>public RagCorpus.CorpusTypeConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RagCorpus.CorpusTypeConfig.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.GeneratedMessage.Builder<RagCorpus.CorpusTypeConfig.Builder>public RagCorpus.CorpusTypeConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RagCorpus.CorpusTypeConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RagCorpus.CorpusTypeConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RagCorpus.CorpusTypeConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagCorpus.CorpusTypeConfig.Builder>public RagCorpus.CorpusTypeConfig.Builder mergeFrom(RagCorpus.CorpusTypeConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RagCorpus.CorpusTypeConfig.Builder>public RagCorpus.CorpusTypeConfig.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.CorpusTypeConfig.Builder>IOExceptionpublic RagCorpus.CorpusTypeConfig.CorpusTypeConfigCase getCorpusTypeConfigCase()
getCorpusTypeConfigCase in interface RagCorpus.CorpusTypeConfigOrBuilderpublic RagCorpus.CorpusTypeConfig.Builder clearCorpusTypeConfig()
public boolean hasDocumentCorpus()
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
hasDocumentCorpus in interface RagCorpus.CorpusTypeConfigOrBuilderpublic RagCorpus.CorpusTypeConfig.DocumentCorpus getDocumentCorpus()
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
getDocumentCorpus in interface RagCorpus.CorpusTypeConfigOrBuilderpublic RagCorpus.CorpusTypeConfig.Builder setDocumentCorpus(RagCorpus.CorpusTypeConfig.DocumentCorpus value)
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.Builder setDocumentCorpus(RagCorpus.CorpusTypeConfig.DocumentCorpus.Builder builderForValue)
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.Builder mergeDocumentCorpus(RagCorpus.CorpusTypeConfig.DocumentCorpus value)
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.Builder clearDocumentCorpus()
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.DocumentCorpus.Builder getDocumentCorpusBuilder()
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.DocumentCorpusOrBuilder getDocumentCorpusOrBuilder()
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
getDocumentCorpusOrBuilder in interface RagCorpus.CorpusTypeConfigOrBuilderpublic boolean hasMemoryCorpus()
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
hasMemoryCorpus in interface RagCorpus.CorpusTypeConfigOrBuilderpublic RagCorpus.CorpusTypeConfig.MemoryCorpus getMemoryCorpus()
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
getMemoryCorpus in interface RagCorpus.CorpusTypeConfigOrBuilderpublic RagCorpus.CorpusTypeConfig.Builder setMemoryCorpus(RagCorpus.CorpusTypeConfig.MemoryCorpus value)
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.Builder setMemoryCorpus(RagCorpus.CorpusTypeConfig.MemoryCorpus.Builder builderForValue)
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.Builder mergeMemoryCorpus(RagCorpus.CorpusTypeConfig.MemoryCorpus value)
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.Builder clearMemoryCorpus()
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.MemoryCorpus.Builder getMemoryCorpusBuilder()
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
public RagCorpus.CorpusTypeConfig.MemoryCorpusOrBuilder getMemoryCorpusOrBuilder()
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
getMemoryCorpusOrBuilder in interface RagCorpus.CorpusTypeConfigOrBuilderCopyright © 2026 Google LLC. All rights reserved.