Package com.google.cloud.aiplatform.v1
Class LogprobsResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LogprobsResult.Builder>
com.google.cloud.aiplatform.v1.LogprobsResult.Builder
- All Implemented Interfaces:
LogprobsResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LogprobsResult
public static final class LogprobsResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LogprobsResult.Builder>
implements LogprobsResultOrBuilder
Logprobs ResultProtobuf type
google.cloud.aiplatform.v1.LogprobsResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllChosenCandidates(Iterable<? extends LogprobsResult.Candidate> values) Length = total number of decoding steps.addAllTopCandidates(Iterable<? extends LogprobsResult.TopCandidates> values) Length = total number of decoding steps.addChosenCandidates(int index, LogprobsResult.Candidate value) Length = total number of decoding steps.addChosenCandidates(int index, LogprobsResult.Candidate.Builder builderForValue) Length = total number of decoding steps.Length = total number of decoding steps.addChosenCandidates(LogprobsResult.Candidate.Builder builderForValue) Length = total number of decoding steps.Length = total number of decoding steps.addChosenCandidatesBuilder(int index) Length = total number of decoding steps.addTopCandidates(int index, LogprobsResult.TopCandidates value) Length = total number of decoding steps.addTopCandidates(int index, LogprobsResult.TopCandidates.Builder builderForValue) Length = total number of decoding steps.Length = total number of decoding steps.addTopCandidates(LogprobsResult.TopCandidates.Builder builderForValue) Length = total number of decoding steps.Length = total number of decoding steps.addTopCandidatesBuilder(int index) Length = total number of decoding steps.build()clear()Length = total number of decoding steps.Length = total number of decoding steps.getChosenCandidates(int index) Length = total number of decoding steps.getChosenCandidatesBuilder(int index) Length = total number of decoding steps.Length = total number of decoding steps.intLength = total number of decoding steps.Length = total number of decoding steps.getChosenCandidatesOrBuilder(int index) Length = total number of decoding steps.List<? extends LogprobsResult.CandidateOrBuilder>Length = total number of decoding steps.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetTopCandidates(int index) Length = total number of decoding steps.getTopCandidatesBuilder(int index) Length = total number of decoding steps.Length = total number of decoding steps.intLength = total number of decoding steps.Length = total number of decoding steps.getTopCandidatesOrBuilder(int index) Length = total number of decoding steps.List<? extends LogprobsResult.TopCandidatesOrBuilder>Length = total number of decoding steps.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(LogprobsResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeChosenCandidates(int index) Length = total number of decoding steps.removeTopCandidates(int index) Length = total number of decoding steps.setChosenCandidates(int index, LogprobsResult.Candidate value) Length = total number of decoding steps.setChosenCandidates(int index, LogprobsResult.Candidate.Builder builderForValue) Length = total number of decoding steps.setTopCandidates(int index, LogprobsResult.TopCandidates value) Length = total number of decoding steps.setTopCandidates(int index, LogprobsResult.TopCandidates.Builder builderForValue) Length = total number of decoding steps.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LogprobsResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LogprobsResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LogprobsResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogprobsResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LogprobsResult.Builder>
-
mergeFrom
public LogprobsResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogprobsResult.Builder>- Throws:
IOException
-
getTopCandidatesList
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1;- Specified by:
getTopCandidatesListin interfaceLogprobsResultOrBuilder
-
getTopCandidatesCount
public int getTopCandidatesCount()Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1;- Specified by:
getTopCandidatesCountin interfaceLogprobsResultOrBuilder
-
getTopCandidates
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1;- Specified by:
getTopCandidatesin interfaceLogprobsResultOrBuilder
-
setTopCandidates
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
setTopCandidates
public LogprobsResult.Builder setTopCandidates(int index, LogprobsResult.TopCandidates.Builder builderForValue) Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
addTopCandidates
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
addTopCandidates
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
addTopCandidates
public LogprobsResult.Builder addTopCandidates(LogprobsResult.TopCandidates.Builder builderForValue) Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
addTopCandidates
public LogprobsResult.Builder addTopCandidates(int index, LogprobsResult.TopCandidates.Builder builderForValue) Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
addAllTopCandidates
public LogprobsResult.Builder addAllTopCandidates(Iterable<? extends LogprobsResult.TopCandidates> values) Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
clearTopCandidates
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
removeTopCandidates
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
getTopCandidatesBuilder
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
getTopCandidatesOrBuilder
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1;- Specified by:
getTopCandidatesOrBuilderin interfaceLogprobsResultOrBuilder
-
getTopCandidatesOrBuilderList
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1;- Specified by:
getTopCandidatesOrBuilderListin interfaceLogprobsResultOrBuilder
-
addTopCandidatesBuilder
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
addTopCandidatesBuilder
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
getTopCandidatesBuilderList
Length = total number of decoding steps.
repeated .google.cloud.aiplatform.v1.LogprobsResult.TopCandidates top_candidates = 1; -
getChosenCandidatesList
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2;- Specified by:
getChosenCandidatesListin interfaceLogprobsResultOrBuilder
-
getChosenCandidatesCount
public int getChosenCandidatesCount()Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2;- Specified by:
getChosenCandidatesCountin interfaceLogprobsResultOrBuilder
-
getChosenCandidates
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2;- Specified by:
getChosenCandidatesin interfaceLogprobsResultOrBuilder
-
setChosenCandidates
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
setChosenCandidates
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.v1.LogprobsResult.Candidate chosen_candidates = 2; -
addChosenCandidates
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
addChosenCandidates
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
addChosenCandidates
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
addChosenCandidates
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.v1.LogprobsResult.Candidate chosen_candidates = 2; -
addAllChosenCandidates
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.v1.LogprobsResult.Candidate chosen_candidates = 2; -
clearChosenCandidates
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
removeChosenCandidates
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
getChosenCandidatesBuilder
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
getChosenCandidatesOrBuilder
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2;- Specified by:
getChosenCandidatesOrBuilderin interfaceLogprobsResultOrBuilder
-
getChosenCandidatesOrBuilderList
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2;- Specified by:
getChosenCandidatesOrBuilderListin interfaceLogprobsResultOrBuilder
-
addChosenCandidatesBuilder
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
addChosenCandidatesBuilder
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2; -
getChosenCandidatesBuilderList
Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate chosen_candidates = 2;
-