public static final class LogprobsResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder> implements LogprobsResultOrBuilder
Logprobs ResultProtobuf type
google.cloud.aiplatform.v1beta1.LogprobsResult| Modifier and Type | Method and Description |
|---|---|
LogprobsResult.Builder |
addAllChosenCandidates(Iterable<? extends LogprobsResult.Candidate> values)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addAllTopCandidates(Iterable<? extends LogprobsResult.TopCandidates> values)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addChosenCandidates(int index,
LogprobsResult.Candidate.Builder builderForValue)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addChosenCandidates(int index,
LogprobsResult.Candidate value)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addChosenCandidates(LogprobsResult.Candidate.Builder builderForValue)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addChosenCandidates(LogprobsResult.Candidate value)
Length = total number of decoding steps.
|
LogprobsResult.Candidate.Builder |
addChosenCandidatesBuilder()
Length = total number of decoding steps.
|
LogprobsResult.Candidate.Builder |
addChosenCandidatesBuilder(int index)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogprobsResult.Builder |
addTopCandidates(int index,
LogprobsResult.TopCandidates.Builder builderForValue)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addTopCandidates(int index,
LogprobsResult.TopCandidates value)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addTopCandidates(LogprobsResult.TopCandidates.Builder builderForValue)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
addTopCandidates(LogprobsResult.TopCandidates value)
Length = total number of decoding steps.
|
LogprobsResult.TopCandidates.Builder |
addTopCandidatesBuilder()
Length = total number of decoding steps.
|
LogprobsResult.TopCandidates.Builder |
addTopCandidatesBuilder(int index)
Length = total number of decoding steps.
|
LogprobsResult |
build() |
LogprobsResult |
buildPartial() |
LogprobsResult.Builder |
clear() |
LogprobsResult.Builder |
clearChosenCandidates()
Length = total number of decoding steps.
|
LogprobsResult.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LogprobsResult.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LogprobsResult.Builder |
clearTopCandidates()
Length = total number of decoding steps.
|
LogprobsResult.Builder |
clone() |
LogprobsResult.Candidate |
getChosenCandidates(int index)
Length = total number of decoding steps.
|
LogprobsResult.Candidate.Builder |
getChosenCandidatesBuilder(int index)
Length = total number of decoding steps.
|
List<LogprobsResult.Candidate.Builder> |
getChosenCandidatesBuilderList()
Length = total number of decoding steps.
|
int |
getChosenCandidatesCount()
Length = total number of decoding steps.
|
List<LogprobsResult.Candidate> |
getChosenCandidatesList()
Length = total number of decoding steps.
|
LogprobsResult.CandidateOrBuilder |
getChosenCandidatesOrBuilder(int index)
Length = total number of decoding steps.
|
List<? extends LogprobsResult.CandidateOrBuilder> |
getChosenCandidatesOrBuilderList()
Length = total number of decoding steps.
|
LogprobsResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LogprobsResult.TopCandidates |
getTopCandidates(int index)
Length = total number of decoding steps.
|
LogprobsResult.TopCandidates.Builder |
getTopCandidatesBuilder(int index)
Length = total number of decoding steps.
|
List<LogprobsResult.TopCandidates.Builder> |
getTopCandidatesBuilderList()
Length = total number of decoding steps.
|
int |
getTopCandidatesCount()
Length = total number of decoding steps.
|
List<LogprobsResult.TopCandidates> |
getTopCandidatesList()
Length = total number of decoding steps.
|
LogprobsResult.TopCandidatesOrBuilder |
getTopCandidatesOrBuilder(int index)
Length = total number of decoding steps.
|
List<? extends LogprobsResult.TopCandidatesOrBuilder> |
getTopCandidatesOrBuilderList()
Length = total number of decoding steps.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LogprobsResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LogprobsResult.Builder |
mergeFrom(LogprobsResult other) |
LogprobsResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
LogprobsResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LogprobsResult.Builder |
removeChosenCandidates(int index)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
removeTopCandidates(int index)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
setChosenCandidates(int index,
LogprobsResult.Candidate.Builder builderForValue)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
setChosenCandidates(int index,
LogprobsResult.Candidate value)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogprobsResult.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LogprobsResult.Builder |
setTopCandidates(int index,
LogprobsResult.TopCandidates.Builder builderForValue)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
setTopCandidates(int index,
LogprobsResult.TopCandidates value)
Length = total number of decoding steps.
|
LogprobsResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.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.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LogprobsResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LogprobsResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LogprobsResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LogprobsResult.Builder>public LogprobsResult.Builder mergeFrom(LogprobsResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public LogprobsResult.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<LogprobsResult.Builder>IOExceptionpublic List<LogprobsResult.TopCandidates> getTopCandidatesList()
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
getTopCandidatesList in interface LogprobsResultOrBuilderpublic int getTopCandidatesCount()
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
getTopCandidatesCount in interface LogprobsResultOrBuilderpublic LogprobsResult.TopCandidates getTopCandidates(int index)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
getTopCandidates in interface LogprobsResultOrBuilderpublic LogprobsResult.Builder setTopCandidates(int index, LogprobsResult.TopCandidates value)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.Builder setTopCandidates(int index, LogprobsResult.TopCandidates.Builder builderForValue)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.Builder addTopCandidates(LogprobsResult.TopCandidates value)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.Builder addTopCandidates(int index, LogprobsResult.TopCandidates value)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.Builder addTopCandidates(LogprobsResult.TopCandidates.Builder builderForValue)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.Builder addTopCandidates(int index, LogprobsResult.TopCandidates.Builder builderForValue)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.Builder addAllTopCandidates(Iterable<? extends LogprobsResult.TopCandidates> values)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.Builder clearTopCandidates()
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.Builder removeTopCandidates(int index)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.TopCandidates.Builder getTopCandidatesBuilder(int index)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.TopCandidatesOrBuilder getTopCandidatesOrBuilder(int index)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
getTopCandidatesOrBuilder in interface LogprobsResultOrBuilderpublic List<? extends LogprobsResult.TopCandidatesOrBuilder> getTopCandidatesOrBuilderList()
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
getTopCandidatesOrBuilderList in interface LogprobsResultOrBuilderpublic LogprobsResult.TopCandidates.Builder addTopCandidatesBuilder()
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public LogprobsResult.TopCandidates.Builder addTopCandidatesBuilder(int index)
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public List<LogprobsResult.TopCandidates.Builder> getTopCandidatesBuilderList()
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.TopCandidates top_candidates = 1;
public List<LogprobsResult.Candidate> getChosenCandidatesList()
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
getChosenCandidatesList in interface LogprobsResultOrBuilderpublic int getChosenCandidatesCount()
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
getChosenCandidatesCount in interface LogprobsResultOrBuilderpublic LogprobsResult.Candidate getChosenCandidates(int index)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
getChosenCandidates in interface LogprobsResultOrBuilderpublic LogprobsResult.Builder setChosenCandidates(int index, LogprobsResult.Candidate value)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Builder setChosenCandidates(int index, LogprobsResult.Candidate.Builder builderForValue)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Builder addChosenCandidates(LogprobsResult.Candidate value)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Builder addChosenCandidates(int index, LogprobsResult.Candidate value)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Builder addChosenCandidates(LogprobsResult.Candidate.Builder builderForValue)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Builder addChosenCandidates(int index, LogprobsResult.Candidate.Builder builderForValue)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Builder addAllChosenCandidates(Iterable<? extends LogprobsResult.Candidate> values)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Builder clearChosenCandidates()
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Builder removeChosenCandidates(int index)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Candidate.Builder getChosenCandidatesBuilder(int index)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.CandidateOrBuilder getChosenCandidatesOrBuilder(int index)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
getChosenCandidatesOrBuilder in interface LogprobsResultOrBuilderpublic List<? extends LogprobsResult.CandidateOrBuilder> getChosenCandidatesOrBuilderList()
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
getChosenCandidatesOrBuilderList in interface LogprobsResultOrBuilderpublic LogprobsResult.Candidate.Builder addChosenCandidatesBuilder()
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public LogprobsResult.Candidate.Builder addChosenCandidatesBuilder(int index)
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public List<LogprobsResult.Candidate.Builder> getChosenCandidatesBuilderList()
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1beta1.LogprobsResult.Candidate chosen_candidates = 2;
public final LogprobsResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>public final LogprobsResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LogprobsResult.Builder>Copyright © 2025 Google LLC. All rights reserved.