public static final class CreateRagCorpusRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateRagCorpusRequest.Builder> implements CreateRagCorpusRequestOrBuilder
Request message for [VertexRagDataService.CreateRagCorpus][google.cloud.aiplatform.v1.VertexRagDataService.CreateRagCorpus].Protobuf type
google.cloud.aiplatform.v1.CreateRagCorpusRequestaddRepeatedField, 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<CreateRagCorpusRequest.Builder>public CreateRagCorpusRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CreateRagCorpusRequest.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<CreateRagCorpusRequest.Builder>public CreateRagCorpusRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateRagCorpusRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateRagCorpusRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateRagCorpusRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateRagCorpusRequest.Builder>public CreateRagCorpusRequest.Builder mergeFrom(CreateRagCorpusRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreateRagCorpusRequest.Builder>public CreateRagCorpusRequest.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<CreateRagCorpusRequest.Builder>IOExceptionpublic String getParent()
Required. The resource name of the Location to create the RagCorpus in.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateRagCorpusRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the Location to create the RagCorpus in.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreateRagCorpusRequestOrBuilderpublic CreateRagCorpusRequest.Builder setParent(String value)
Required. The resource name of the Location to create the RagCorpus in.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CreateRagCorpusRequest.Builder clearParent()
Required. The resource name of the Location to create the RagCorpus in.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateRagCorpusRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the Location to create the RagCorpus in.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public boolean hasRagCorpus()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
hasRagCorpus in interface CreateRagCorpusRequestOrBuilderpublic RagCorpus getRagCorpus()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
getRagCorpus in interface CreateRagCorpusRequestOrBuilderpublic CreateRagCorpusRequest.Builder setRagCorpus(RagCorpus value)
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateRagCorpusRequest.Builder setRagCorpus(RagCorpus.Builder builderForValue)
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateRagCorpusRequest.Builder mergeRagCorpus(RagCorpus value)
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateRagCorpusRequest.Builder clearRagCorpus()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public RagCorpus.Builder getRagCorpusBuilder()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public RagCorpusOrBuilder getRagCorpusOrBuilder()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
getRagCorpusOrBuilder in interface CreateRagCorpusRequestOrBuilderCopyright © 2026 Google LLC. All rights reserved.