public static final class Api.LabelLogprobosValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.Builder> implements Api.LabelLogprobosValueOrBuilder
api.LabelLogprobosValue| Modifier and Type | Method and Description |
|---|---|
Api.LabelLogprobosValue.Builder |
addAllTokenLogprobs(Iterable<? extends Double> values)
repeated double token_logprobs = 2; |
Api.LabelLogprobosValue.Builder |
addAllTokens(Iterable<String> values)
repeated string tokens = 1; |
Api.LabelLogprobosValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Api.LabelLogprobosValue.Builder |
addTokenLogprobs(double value)
repeated double token_logprobs = 2; |
Api.LabelLogprobosValue.Builder |
addTokens(String value)
repeated string tokens = 1; |
Api.LabelLogprobosValue.Builder |
addTokensBytes(com.google.protobuf.ByteString value)
repeated string tokens = 1; |
Api.LabelLogprobosValue |
build() |
Api.LabelLogprobosValue |
buildPartial() |
Api.LabelLogprobosValue.Builder |
clear() |
Api.LabelLogprobosValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Api.LabelLogprobosValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Api.LabelLogprobosValue.Builder |
clearReqId()
string req_id = 3; |
Api.LabelLogprobosValue.Builder |
clearTokenLogprobs()
repeated double token_logprobs = 2; |
Api.LabelLogprobosValue.Builder |
clearTokens()
repeated string tokens = 1; |
Api.LabelLogprobosValue.Builder |
clone() |
Api.LabelLogprobosValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getReqId()
string req_id = 3; |
com.google.protobuf.ByteString |
getReqIdBytes()
string req_id = 3; |
double |
getTokenLogprobs(int index)
repeated double token_logprobs = 2; |
int |
getTokenLogprobsCount()
repeated double token_logprobs = 2; |
List<Double> |
getTokenLogprobsList()
repeated double token_logprobs = 2; |
String |
getTokens(int index)
repeated string tokens = 1; |
com.google.protobuf.ByteString |
getTokensBytes(int index)
repeated string tokens = 1; |
int |
getTokensCount()
repeated string tokens = 1; |
com.google.protobuf.ProtocolStringList |
getTokensList()
repeated string tokens = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Api.LabelLogprobosValue.Builder |
mergeFrom(Api.LabelLogprobosValue other) |
Api.LabelLogprobosValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Api.LabelLogprobosValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
Api.LabelLogprobosValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Api.LabelLogprobosValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Api.LabelLogprobosValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Api.LabelLogprobosValue.Builder |
setReqId(String value)
string req_id = 3; |
Api.LabelLogprobosValue.Builder |
setReqIdBytes(com.google.protobuf.ByteString value)
string req_id = 3; |
Api.LabelLogprobosValue.Builder |
setTokenLogprobs(int index,
double value)
repeated double token_logprobs = 2; |
Api.LabelLogprobosValue.Builder |
setTokens(int index,
String value)
repeated string tokens = 1; |
Api.LabelLogprobosValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.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<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Api.LabelLogprobosValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Api.LabelLogprobosValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Api.LabelLogprobosValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.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<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.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<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.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<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.Builder mergeFrom(Api.LabelLogprobosValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.Builder>public Api.LabelLogprobosValue.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<Api.LabelLogprobosValue.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getTokensList()
repeated string tokens = 1;getTokensList in interface Api.LabelLogprobosValueOrBuilderpublic int getTokensCount()
repeated string tokens = 1;getTokensCount in interface Api.LabelLogprobosValueOrBuilderpublic String getTokens(int index)
repeated string tokens = 1;getTokens in interface Api.LabelLogprobosValueOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTokensBytes(int index)
repeated string tokens = 1;getTokensBytes in interface Api.LabelLogprobosValueOrBuilderindex - The index of the value to return.public Api.LabelLogprobosValue.Builder setTokens(int index, String value)
repeated string tokens = 1;index - The index to set the value at.value - The tokens to set.public Api.LabelLogprobosValue.Builder addTokens(String value)
repeated string tokens = 1;value - The tokens to add.public Api.LabelLogprobosValue.Builder addAllTokens(Iterable<String> values)
repeated string tokens = 1;values - The tokens to add.public Api.LabelLogprobosValue.Builder clearTokens()
repeated string tokens = 1;public Api.LabelLogprobosValue.Builder addTokensBytes(com.google.protobuf.ByteString value)
repeated string tokens = 1;value - The bytes of the tokens to add.public List<Double> getTokenLogprobsList()
repeated double token_logprobs = 2;getTokenLogprobsList in interface Api.LabelLogprobosValueOrBuilderpublic int getTokenLogprobsCount()
repeated double token_logprobs = 2;getTokenLogprobsCount in interface Api.LabelLogprobosValueOrBuilderpublic double getTokenLogprobs(int index)
repeated double token_logprobs = 2;getTokenLogprobs in interface Api.LabelLogprobosValueOrBuilderindex - The index of the element to return.public Api.LabelLogprobosValue.Builder setTokenLogprobs(int index, double value)
repeated double token_logprobs = 2;index - The index to set the value at.value - The tokenLogprobs to set.public Api.LabelLogprobosValue.Builder addTokenLogprobs(double value)
repeated double token_logprobs = 2;value - The tokenLogprobs to add.public Api.LabelLogprobosValue.Builder addAllTokenLogprobs(Iterable<? extends Double> values)
repeated double token_logprobs = 2;values - The tokenLogprobs to add.public Api.LabelLogprobosValue.Builder clearTokenLogprobs()
repeated double token_logprobs = 2;public String getReqId()
string req_id = 3;getReqId in interface Api.LabelLogprobosValueOrBuilderpublic com.google.protobuf.ByteString getReqIdBytes()
string req_id = 3;getReqIdBytes in interface Api.LabelLogprobosValueOrBuilderpublic Api.LabelLogprobosValue.Builder setReqId(String value)
string req_id = 3;value - The reqId to set.public Api.LabelLogprobosValue.Builder clearReqId()
string req_id = 3;public Api.LabelLogprobosValue.Builder setReqIdBytes(com.google.protobuf.ByteString value)
string req_id = 3;value - The bytes for reqId to set.public final Api.LabelLogprobosValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.Builder>public final Api.LabelLogprobosValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Api.LabelLogprobosValue.Builder>Copyright © 2025. All rights reserved.