public static final class RagContexts.Builder extends com.google.protobuf.GeneratedMessage.Builder<RagContexts.Builder> implements RagContextsOrBuilder
Relevant contexts for one query.Protobuf type
google.cloud.aiplatform.v1.RagContextsaddRepeatedField, 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<RagContexts.Builder>public RagContexts.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RagContexts.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<RagContexts.Builder>public RagContexts getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RagContexts build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RagContexts buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RagContexts.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagContexts.Builder>public RagContexts.Builder mergeFrom(RagContexts other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RagContexts.Builder>public RagContexts.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<RagContexts.Builder>IOExceptionpublic List<RagContexts.Context> getContextsList()
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;getContextsList in interface RagContextsOrBuilderpublic int getContextsCount()
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;getContextsCount in interface RagContextsOrBuilderpublic RagContexts.Context getContexts(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;getContexts in interface RagContextsOrBuilderpublic RagContexts.Builder setContexts(int index, RagContexts.Context value)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Builder setContexts(int index, RagContexts.Context.Builder builderForValue)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Builder addContexts(RagContexts.Context value)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Builder addContexts(int index, RagContexts.Context value)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Builder addContexts(RagContexts.Context.Builder builderForValue)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Builder addContexts(int index, RagContexts.Context.Builder builderForValue)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Builder addAllContexts(Iterable<? extends RagContexts.Context> values)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Builder clearContexts()
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Builder removeContexts(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Context.Builder getContextsBuilder(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.ContextOrBuilder getContextsOrBuilder(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;getContextsOrBuilder in interface RagContextsOrBuilderpublic List<? extends RagContexts.ContextOrBuilder> getContextsOrBuilderList()
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;getContextsOrBuilderList in interface RagContextsOrBuilderpublic RagContexts.Context.Builder addContextsBuilder()
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public RagContexts.Context.Builder addContextsBuilder(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;public List<RagContexts.Context.Builder> getContextsBuilderList()
All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;Copyright © 2026 Google LLC. All rights reserved.