publicfinalclass LogprobsResultextendsGeneratedMessageV3implementsLogprobsResultOrBuilder
Logprobs Result
Protobuf type google.cloud.vertexai.v1.LogprobsResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CHOSEN_CANDIDATES_FIELD_NUMBER
publicstaticfinalintCHOSEN_CANDIDATES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
TOP_CANDIDATES_FIELD_NUMBER
publicstaticfinalintTOP_CANDIDATES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticLogprobsResultgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticLogprobsResult.BuildernewBuilder()
newBuilder(LogprobsResult prototype)
publicstaticLogprobsResult.BuildernewBuilder(LogprobsResultprototype)
publicstaticLogprobsResultparseDelimitedFrom(InputStreaminput)
publicstaticLogprobsResultparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticLogprobsResultparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticLogprobsResultparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticLogprobsResultparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticLogprobsResultparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticLogprobsResultparseFrom(CodedInputStreaminput)
publicstaticLogprobsResultparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticLogprobsResultparseFrom(InputStreaminput)
publicstaticLogprobsResultparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticLogprobsResultparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticLogprobsResultparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<LogprobsResult>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getChosenCandidates(int index)
publicLogprobsResult.CandidategetChosenCandidates(intindex)
Length = total number of decoding steps.
The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Parameter |
| Name |
Description |
index |
int
|
getChosenCandidatesCount()
publicintgetChosenCandidatesCount()
Length = total number of decoding steps.
The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Returns |
| Type |
Description |
int |
getChosenCandidatesList()
publicList<LogprobsResult.Candidate>getChosenCandidatesList()
Length = total number of decoding steps.
The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
getChosenCandidatesOrBuilder(int index)
publicLogprobsResult.CandidateOrBuildergetChosenCandidatesOrBuilder(intindex)
Length = total number of decoding steps.
The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Parameter |
| Name |
Description |
index |
int
|
getChosenCandidatesOrBuilderList()
publicList<?extendsLogprobsResult.CandidateOrBuilder>getChosenCandidatesOrBuilderList()
Length = total number of decoding steps.
The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vertexai.api.LogprobsResult.CandidateOrBuilder> |
getDefaultInstanceForType()
publicLogprobsResultgetDefaultInstanceForType()
getParserForType()
publicParser<LogprobsResult>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getTopCandidates(int index)
publicLogprobsResult.TopCandidatesgetTopCandidates(intindex)
Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Parameter |
| Name |
Description |
index |
int
|
getTopCandidatesCount()
publicintgetTopCandidatesCount()
Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Returns |
| Type |
Description |
int |
getTopCandidatesList()
publicList<LogprobsResult.TopCandidates>getTopCandidatesList()
Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
getTopCandidatesOrBuilder(int index)
publicLogprobsResult.TopCandidatesOrBuildergetTopCandidatesOrBuilder(intindex)
Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Parameter |
| Name |
Description |
index |
int
|
getTopCandidatesOrBuilderList()
publicList<?extendsLogprobsResult.TopCandidatesOrBuilder>getTopCandidatesOrBuilderList()
Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vertexai.api.LogprobsResult.TopCandidatesOrBuilder> |
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicLogprobsResult.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedLogprobsResult.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicLogprobsResult.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides