public static final class CorroborateContentResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<CorroborateContentResponse.Builder> implements CorroborateContentResponseOrBuilder
Response message for CorroborateContent.Protobuf type
google.cloud.aiplatform.v1.CorroborateContentResponse| Modifier and Type | Method and Description |
|---|---|
CorroborateContentResponse.Builder |
addAllClaims(Iterable<? extends Claim> values)
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse.Builder |
addClaims(Claim.Builder builderForValue)
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse.Builder |
addClaims(Claim value)
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse.Builder |
addClaims(int index,
Claim.Builder builderForValue)
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse.Builder |
addClaims(int index,
Claim value)
Claims that are extracted from the input content and facts that support the
claims.
|
Claim.Builder |
addClaimsBuilder()
Claims that are extracted from the input content and facts that support the
claims.
|
Claim.Builder |
addClaimsBuilder(int index)
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse |
build() |
CorroborateContentResponse |
buildPartial() |
CorroborateContentResponse.Builder |
clear() |
CorroborateContentResponse.Builder |
clearClaims()
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse.Builder |
clearCorroborationScore()
Confidence score of corroborating content.
|
Claim |
getClaims(int index)
Claims that are extracted from the input content and facts that support the
claims.
|
Claim.Builder |
getClaimsBuilder(int index)
Claims that are extracted from the input content and facts that support the
claims.
|
List<Claim.Builder> |
getClaimsBuilderList()
Claims that are extracted from the input content and facts that support the
claims.
|
int |
getClaimsCount()
Claims that are extracted from the input content and facts that support the
claims.
|
List<Claim> |
getClaimsList()
Claims that are extracted from the input content and facts that support the
claims.
|
ClaimOrBuilder |
getClaimsOrBuilder(int index)
Claims that are extracted from the input content and facts that support the
claims.
|
List<? extends ClaimOrBuilder> |
getClaimsOrBuilderList()
Claims that are extracted from the input content and facts that support the
claims.
|
float |
getCorroborationScore()
Confidence score of corroborating content.
|
CorroborateContentResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasCorroborationScore()
Confidence score of corroborating content.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CorroborateContentResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CorroborateContentResponse.Builder |
mergeFrom(CorroborateContentResponse other) |
CorroborateContentResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
CorroborateContentResponse.Builder |
removeClaims(int index)
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse.Builder |
setClaims(int index,
Claim.Builder builderForValue)
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse.Builder |
setClaims(int index,
Claim value)
Claims that are extracted from the input content and facts that support the
claims.
|
CorroborateContentResponse.Builder |
setCorroborationScore(float value)
Confidence score of corroborating content.
|
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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CorroborateContentResponse.Builder>public CorroborateContentResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CorroborateContentResponse.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.GeneratedMessage.Builder<CorroborateContentResponse.Builder>public CorroborateContentResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CorroborateContentResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CorroborateContentResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CorroborateContentResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CorroborateContentResponse.Builder>public CorroborateContentResponse.Builder mergeFrom(CorroborateContentResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CorroborateContentResponse.Builder>public CorroborateContentResponse.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<CorroborateContentResponse.Builder>IOExceptionpublic boolean hasCorroborationScore()
Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.
optional float corroboration_score = 1;hasCorroborationScore in interface CorroborateContentResponseOrBuilderpublic float getCorroborationScore()
Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.
optional float corroboration_score = 1;getCorroborationScore in interface CorroborateContentResponseOrBuilderpublic CorroborateContentResponse.Builder setCorroborationScore(float value)
Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.
optional float corroboration_score = 1;value - The corroborationScore to set.public CorroborateContentResponse.Builder clearCorroborationScore()
Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.
optional float corroboration_score = 1;public List<Claim> getClaimsList()
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;getClaimsList in interface CorroborateContentResponseOrBuilderpublic int getClaimsCount()
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;getClaimsCount in interface CorroborateContentResponseOrBuilderpublic Claim getClaims(int index)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;getClaims in interface CorroborateContentResponseOrBuilderpublic CorroborateContentResponse.Builder setClaims(int index, Claim value)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public CorroborateContentResponse.Builder setClaims(int index, Claim.Builder builderForValue)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public CorroborateContentResponse.Builder addClaims(Claim value)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public CorroborateContentResponse.Builder addClaims(int index, Claim value)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public CorroborateContentResponse.Builder addClaims(Claim.Builder builderForValue)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public CorroborateContentResponse.Builder addClaims(int index, Claim.Builder builderForValue)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public CorroborateContentResponse.Builder addAllClaims(Iterable<? extends Claim> values)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public CorroborateContentResponse.Builder clearClaims()
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public CorroborateContentResponse.Builder removeClaims(int index)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public Claim.Builder getClaimsBuilder(int index)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public ClaimOrBuilder getClaimsOrBuilder(int index)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;getClaimsOrBuilder in interface CorroborateContentResponseOrBuilderpublic List<? extends ClaimOrBuilder> getClaimsOrBuilderList()
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;getClaimsOrBuilderList in interface CorroborateContentResponseOrBuilderpublic Claim.Builder addClaimsBuilder()
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public Claim.Builder addClaimsBuilder(int index)
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;public List<Claim.Builder> getClaimsBuilderList()
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;Copyright © 2026 Google LLC. All rights reserved.