public static final class RagCorpus.CorpusTypeConfig.Builder extends GeneratedMessage.Builder<RagCorpus.CorpusTypeConfig.Builder> implements RagCorpus.CorpusTypeConfigOrBuilder
The config for the corpus type of the RagCorpus.
Protobuf type google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public RagCorpus.CorpusTypeConfig build()
public RagCorpus.CorpusTypeConfig buildPartial()
public RagCorpus.CorpusTypeConfig.Builder clear()
Overrides
public RagCorpus.CorpusTypeConfig.Builder clearCorpusTypeConfig()
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.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.CorpusTypeConfigCase getCorpusTypeConfigCase()
public RagCorpus.CorpusTypeConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public 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];
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];
public 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];
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];
public boolean hasDocumentCorpus()
Optional. Config for the document corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the documentCorpus field is set.
|
public boolean hasMemoryCorpus()
Optional. Config for the memory corpus.
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the memoryCorpus field is set.
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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 mergeFrom(RagCorpus.CorpusTypeConfig other)
public RagCorpus.CorpusTypeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RagCorpus.CorpusTypeConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
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 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 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];