public static final class RagRetrievalConfig.Ranking.Builder extends GeneratedMessageV3.Builder<RagRetrievalConfig.Ranking.Builder> implements RagRetrievalConfig.RankingOrBuilder
Config for ranking and reranking.
Protobuf type google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public RagRetrievalConfig.Ranking.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RagRetrievalConfig.Ranking build()
public RagRetrievalConfig.Ranking buildPartial()
public RagRetrievalConfig.Ranking.Builder clear()
Overrides
public RagRetrievalConfig.Ranking.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RagRetrievalConfig.Ranking.Builder clearLlmRanker()
Optional. Config for LlmRanker.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RagRetrievalConfig.Ranking.Builder clearRankService()
Optional. Config for Rank Service.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankService rank_service = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.Builder clearRankingConfig()
public RagRetrievalConfig.Ranking.Builder clone()
Overrides
public RagRetrievalConfig.Ranking getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RagRetrievalConfig.Ranking.LlmRanker getLlmRanker()
Optional. Config for LlmRanker.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.LlmRanker.Builder getLlmRankerBuilder()
Optional. Config for LlmRanker.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.LlmRankerOrBuilder getLlmRankerOrBuilder()
Optional. Config for LlmRanker.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.RankService getRankService()
Optional. Config for Rank Service.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankService rank_service = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.RankService.Builder getRankServiceBuilder()
Optional. Config for Rank Service.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankService rank_service = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.RankServiceOrBuilder getRankServiceOrBuilder()
Optional. Config for Rank Service.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankService rank_service = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.RankingConfigCase getRankingConfigCase()
public boolean hasLlmRanker()
Optional. Config for LlmRanker.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the llmRanker field is set.
|
public boolean hasRankService()
Optional. Config for Rank Service.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankService rank_service = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the rankService field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RagRetrievalConfig.Ranking.Builder mergeFrom(RagRetrievalConfig.Ranking other)
public RagRetrievalConfig.Ranking.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RagRetrievalConfig.Ranking.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public RagRetrievalConfig.Ranking.Builder mergeLlmRanker(RagRetrievalConfig.Ranking.LlmRanker value)
Optional. Config for LlmRanker.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.Builder mergeRankService(RagRetrievalConfig.Ranking.RankService value)
Optional. Config for Rank Service.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankService rank_service = 1 [(.google.api.field_behavior) = OPTIONAL];
public final RagRetrievalConfig.Ranking.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RagRetrievalConfig.Ranking.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RagRetrievalConfig.Ranking.Builder setLlmRanker(RagRetrievalConfig.Ranking.LlmRanker value)
Optional. Config for LlmRanker.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.Builder setLlmRanker(RagRetrievalConfig.Ranking.LlmRanker.Builder builderForValue)
Optional. Config for LlmRanker.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.Builder setRankService(RagRetrievalConfig.Ranking.RankService value)
Optional. Config for Rank Service.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankService rank_service = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.Builder setRankService(RagRetrievalConfig.Ranking.RankService.Builder builderForValue)
Optional. Config for Rank Service.
.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankService rank_service = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagRetrievalConfig.Ranking.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RagRetrievalConfig.Ranking.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides