public static final class DeleteRagCorpusRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeleteRagCorpusRequest.Builder> implements DeleteRagCorpusRequestOrBuilder
Request message for [VertexRagDataService.DeleteRagCorpus][google.cloud.aiplatform.v1.VertexRagDataService.DeleteRagCorpus].Protobuf type
google.cloud.aiplatform.v1.DeleteRagCorpusRequestaddRepeatedField, 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<DeleteRagCorpusRequest.Builder>public DeleteRagCorpusRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DeleteRagCorpusRequest.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<DeleteRagCorpusRequest.Builder>public DeleteRagCorpusRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeleteRagCorpusRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeleteRagCorpusRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeleteRagCorpusRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeleteRagCorpusRequest.Builder>public DeleteRagCorpusRequest.Builder mergeFrom(DeleteRagCorpusRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeleteRagCorpusRequest.Builder>public DeleteRagCorpusRequest.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<DeleteRagCorpusRequest.Builder>IOExceptionpublic String getName()
Required. The name of the RagCorpus resource to be deleted.
Format:
`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface DeleteRagCorpusRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the RagCorpus resource to be deleted.
Format:
`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface DeleteRagCorpusRequestOrBuilderpublic DeleteRagCorpusRequest.Builder setName(String value)
Required. The name of the RagCorpus resource to be deleted.
Format:
`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public DeleteRagCorpusRequest.Builder clearName()
Required. The name of the RagCorpus resource to be deleted.
Format:
`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public DeleteRagCorpusRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of the RagCorpus resource to be deleted.
Format:
`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean getForce()
Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];getForce in interface DeleteRagCorpusRequestOrBuilderpublic DeleteRagCorpusRequest.Builder setForce(boolean value)
Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];value - The force to set.public DeleteRagCorpusRequest.Builder clearForce()
Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2026 Google LLC. All rights reserved.