Package com.google.cloud.aiplatform.v1
Class CorroborateContentResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CorroborateContentResponse.Builder>
com.google.cloud.aiplatform.v1.CorroborateContentResponse.Builder
- All Implemented Interfaces:
CorroborateContentResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CorroborateContentResponse
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllClaims(Iterable<? extends Claim> values) Claims that are extracted from the input content and facts that support the claims.Claims that are extracted from the input content and facts that support the claims.addClaims(int index, Claim.Builder builderForValue) Claims that are extracted from the input content and facts that support the claims.Claims that are extracted from the input content and facts that support the claims.addClaims(Claim.Builder builderForValue) Claims that are extracted from the input content and facts that support the claims.Claims that are extracted from the input content and facts that support the claims.addClaimsBuilder(int index) Claims that are extracted from the input content and facts that support the claims.build()clear()Claims that are extracted from the input content and facts that support the claims.Confidence score of corroborating content.getClaims(int index) Claims that are extracted from the input content and facts that support the claims.getClaimsBuilder(int index) Claims that are extracted from the input content and facts that support the claims.Claims that are extracted from the input content and facts that support the claims.intClaims that are extracted from the input content and facts that support the claims.Claims that are extracted from the input content and facts that support the claims.getClaimsOrBuilder(int index) Claims that are extracted from the input content and facts that support the claims.List<? extends ClaimOrBuilder>Claims that are extracted from the input content and facts that support the claims.floatConfidence score of corroborating content.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanConfidence score of corroborating content.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeClaims(int index) Claims that are extracted from the input content and facts that support the claims.Claims that are extracted from the input content and facts that support the claims.setClaims(int index, Claim.Builder builderForValue) Claims that are extracted from the input content and facts that support the claims.setCorroborationScore(float value) Confidence score of corroborating content.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<CorroborateContentResponse.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<CorroborateContentResponse.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<CorroborateContentResponse.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<CorroborateContentResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CorroborateContentResponse.Builder>
-
mergeFrom
public CorroborateContentResponse.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<CorroborateContentResponse.Builder>- Throws:
IOException
-
hasCorroborationScore
public boolean hasCorroborationScore()Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.
optional float corroboration_score = 1;- Specified by:
hasCorroborationScorein interfaceCorroborateContentResponseOrBuilder- Returns:
- Whether the corroborationScore field is set.
-
getCorroborationScore
public float getCorroborationScore()Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.
optional float corroboration_score = 1;- Specified by:
getCorroborationScorein interfaceCorroborateContentResponseOrBuilder- Returns:
- The corroborationScore.
-
setCorroborationScore
Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.
optional float corroboration_score = 1;- Parameters:
value- The corroborationScore to set.- Returns:
- This builder for chaining.
-
clearCorroborationScore
Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.
optional float corroboration_score = 1;- Returns:
- This builder for chaining.
-
getClaimsList
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;- Specified by:
getClaimsListin interfaceCorroborateContentResponseOrBuilder
-
getClaimsCount
public int getClaimsCount()Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;- Specified by:
getClaimsCountin interfaceCorroborateContentResponseOrBuilder
-
getClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;- Specified by:
getClaimsin interfaceCorroborateContentResponseOrBuilder
-
setClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
setClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
addClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
addClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
addClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
addClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
addAllClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
clearClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
removeClaims
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
getClaimsBuilder
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
getClaimsOrBuilder
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;- Specified by:
getClaimsOrBuilderin interfaceCorroborateContentResponseOrBuilder
-
getClaimsOrBuilderList
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;- Specified by:
getClaimsOrBuilderListin interfaceCorroborateContentResponseOrBuilder
-
addClaimsBuilder
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
addClaimsBuilder
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2; -
getClaimsBuilderList
Claims that are extracted from the input content and facts that support the claims.
repeated .google.cloud.aiplatform.v1.Claim claims = 2;
-