public static final class CorroborateContentResponse.Builder extends GeneratedMessageV3.Builder<CorroborateContentResponse.Builder> implements CorroborateContentResponseOrBuilder
Response message for CorroborateContent.
Protobuf type google.cloud.aiplatform.v1beta1.CorroborateContentResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllClaims(Iterable<? extends Claim> values)
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.v1beta1.Claim claims = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.Claim>
|
addClaims(Claim value)
public CorroborateContentResponse.Builder addClaims(Claim value)
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
Parameter |
Name |
Description |
value |
Claim
|
addClaims(Claim.Builder builderForValue)
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.v1beta1.Claim claims = 2;
addClaims(int index, Claim value)
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.v1beta1.Claim claims = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Claim
|
addClaims(int index, Claim.Builder builderForValue)
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.v1beta1.Claim claims = 2;
addClaimsBuilder()
public Claim.Builder addClaimsBuilder()
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
addClaimsBuilder(int index)
public Claim.Builder addClaimsBuilder(int index)
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CorroborateContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CorroborateContentResponse build()
buildPartial()
public CorroborateContentResponse buildPartial()
clear()
public CorroborateContentResponse.Builder clear()
Overrides
clearClaims()
public CorroborateContentResponse.Builder clearClaims()
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
clearCorroborationScore()
public CorroborateContentResponse.Builder clearCorroborationScore()
Confidence score of corroborating content. Value is [0,1] with 1 is the
most confidence.
optional float corroboration_score = 1;
clearField(Descriptors.FieldDescriptor field)
public CorroborateContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CorroborateContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CorroborateContentResponse.Builder clone()
Overrides
getClaims(int index)
public Claim getClaims(int index)
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Claim |
|
getClaimsBuilder(int index)
public Claim.Builder getClaimsBuilder(int index)
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
Parameter |
Name |
Description |
index |
int
|
getClaimsBuilderList()
public List<Claim.Builder> getClaimsBuilderList()
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
getClaimsCount()
public int getClaimsCount()
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
Returns |
Type |
Description |
int |
|
getClaimsList()
public List<Claim> getClaimsList()
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
getClaimsOrBuilder(int index)
public ClaimOrBuilder getClaimsOrBuilder(int index)
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
Parameter |
Name |
Description |
index |
int
|
getClaimsOrBuilderList()
public List<? extends ClaimOrBuilder> getClaimsOrBuilderList()
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ClaimOrBuilder> |
|
getCorroborationScore()
public float getCorroborationScore()
Confidence score of corroborating content. Value is [0,1] with 1 is the
most confidence.
optional float corroboration_score = 1;
Returns |
Type |
Description |
float |
The corroborationScore.
|
getDefaultInstanceForType()
public CorroborateContentResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasCorroborationScore()
public boolean hasCorroborationScore()
Confidence score of corroborating content. Value is [0,1] with 1 is the
most confidence.
optional float corroboration_score = 1;
Returns |
Type |
Description |
boolean |
Whether the corroborationScore field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CorroborateContentResponse other)
public CorroborateContentResponse.Builder mergeFrom(CorroborateContentResponse other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CorroborateContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CorroborateContentResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CorroborateContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeClaims(int index)
public CorroborateContentResponse.Builder removeClaims(int index)
Claims that are extracted from the input content and facts that support the
claims.
repeated .google.cloud.aiplatform.v1beta1.Claim claims = 2;
Parameter |
Name |
Description |
index |
int
|
setClaims(int index, Claim value)
public 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.v1beta1.Claim claims = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Claim
|
setClaims(int index, Claim.Builder builderForValue)
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.v1beta1.Claim claims = 2;
setCorroborationScore(float value)
public 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;
Parameter |
Name |
Description |
value |
float
The corroborationScore to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CorroborateContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CorroborateContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CorroborateContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides