public final class Claim extends GeneratedMessage implements ClaimOrBuilder
Claim that is extracted from the input text and facts that support it.
Protobuf type google.cloud.aiplatform.v1beta1.Claim
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int END_INDEX_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int FACT_INDEXES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SCORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int START_INDEX_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Claim getDefaultInstance()
| Returns |
| Type |
Description |
Claim |
|
public static final Descriptors.Descriptor getDescriptor()
public static Claim.Builder newBuilder()
public static Claim.Builder newBuilder(Claim prototype)
| Parameter |
| Name |
Description |
prototype |
Claim
|
public static Claim parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(ByteString data)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(InputStream input)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Claim |
|
public static Claim parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Claim |
|
public static Parser<Claim> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public Claim getDefaultInstanceForType()
| Returns |
| Type |
Description |
Claim |
|
Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;
| Returns |
| Type |
Description |
int |
The endIndex.
|
public int getFactIndexes(int index)
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
int |
The factIndexes at the given index.
|
public int getFactIndexesCount()
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;
| Returns |
| Type |
Description |
int |
The count of factIndexes.
|
public List<Integer> getFactIndexesList()
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;
| Returns |
| Type |
Description |
List<Integer> |
A list containing the factIndexes.
|
public Parser<Claim> getParserForType()
Overrides
Confidence score of this corroboration.
optional float score = 4;
| Returns |
| Type |
Description |
float |
The score.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public int getStartIndex()
Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;
| Returns |
| Type |
Description |
int |
The startIndex.
|
public boolean hasEndIndex()
Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;
| Returns |
| Type |
Description |
boolean |
Whether the endIndex field is set.
|
public boolean hasScore()
Confidence score of this corroboration.
optional float score = 4;
| Returns |
| Type |
Description |
boolean |
Whether the score field is set.
|
public boolean hasStartIndex()
Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;
| Returns |
| Type |
Description |
boolean |
Whether the startIndex field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Claim.Builder newBuilderForType()
protected Claim.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Claim.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides