public static final class RagContexts.Builder extends GeneratedMessageV3.Builder<RagContexts.Builder> implements RagContextsOrBuilder
Relevant contexts for one query.
Protobuf type google.cloud.aiplatform.v1beta1.RagContexts
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllContexts(Iterable<? extends RagContexts.Context> values)
public RagContexts.Builder addAllContexts(Iterable<? extends RagContexts.Context> values)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.RagContexts.Context>
|
addContexts(RagContexts.Context value)
public RagContexts.Builder addContexts(RagContexts.Context value)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
addContexts(RagContexts.Context.Builder builderForValue)
public RagContexts.Builder addContexts(RagContexts.Context.Builder builderForValue)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
addContexts(int index, RagContexts.Context value)
public RagContexts.Builder addContexts(int index, RagContexts.Context value)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
addContexts(int index, RagContexts.Context.Builder builderForValue)
public RagContexts.Builder addContexts(int index, RagContexts.Context.Builder builderForValue)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
addContextsBuilder()
public RagContexts.Context.Builder addContextsBuilder()
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
addContextsBuilder(int index)
public RagContexts.Context.Builder addContextsBuilder(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RagContexts.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RagContexts build()
buildPartial()
public RagContexts buildPartial()
clear()
public RagContexts.Builder clear()
Overrides
clearContexts()
public RagContexts.Builder clearContexts()
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
clearField(Descriptors.FieldDescriptor field)
public RagContexts.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RagContexts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RagContexts.Builder clone()
Overrides
getContexts(int index)
public RagContexts.Context getContexts(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
getContextsBuilder(int index)
public RagContexts.Context.Builder getContextsBuilder(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
getContextsBuilderList()
public List<RagContexts.Context.Builder> getContextsBuilderList()
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
getContextsCount()
public int getContextsCount()
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
Returns |
Type |
Description |
int |
|
getContextsList()
public List<RagContexts.Context> getContextsList()
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
getContextsOrBuilder(int index)
public RagContexts.ContextOrBuilder getContextsOrBuilder(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
getContextsOrBuilderList()
public List<? extends RagContexts.ContextOrBuilder> getContextsOrBuilderList()
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.RagContexts.ContextOrBuilder> |
|
getDefaultInstanceForType()
public RagContexts getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RagContexts other)
public RagContexts.Builder mergeFrom(RagContexts other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RagContexts.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RagContexts.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RagContexts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeContexts(int index)
public RagContexts.Builder removeContexts(int index)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
setContexts(int index, RagContexts.Context value)
public RagContexts.Builder setContexts(int index, RagContexts.Context value)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
setContexts(int index, RagContexts.Context.Builder builderForValue)
public RagContexts.Builder setContexts(int index, RagContexts.Context.Builder builderForValue)
All its contexts.
repeated .google.cloud.aiplatform.v1beta1.RagContexts.Context contexts = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public RagContexts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RagContexts.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RagContexts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides