public static final class Document.Provenance extends GeneratedMessageV3 implements Document.ProvenanceOrBuilder
Structure to identify provenance relationships between annotations in
different revisions.
Protobuf type google.cloud.documentai.v1beta3.Document.Provenance
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>)
Static Fields
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENTS_FIELD_NUMBER
public static final int PARENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REVISION_FIELD_NUMBER
public static final int REVISION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Document.Provenance getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Document.Provenance.Builder newBuilder()
newBuilder(Document.Provenance prototype)
public static Document.Provenance.Builder newBuilder(Document.Provenance prototype)
public static Document.Provenance parseDelimitedFrom(InputStream input)
public static Document.Provenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Document.Provenance parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Document.Provenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Document.Provenance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Document.Provenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Document.Provenance parseFrom(CodedInputStream input)
public static Document.Provenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.Provenance parseFrom(InputStream input)
public static Document.Provenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Document.Provenance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Document.Provenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Document.Provenance> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Document.Provenance getDefaultInstanceForType()
getId() (deprecated)
Deprecated. google.cloud.documentai.v1beta3.Document.Provenance.id is deprecated. See
google/cloud/documentai/v1beta3/document.proto;l=827
The Id of this operation. Needs to be unique within the scope of the
revision.
int32 id = 2 [deprecated = true];
Returns |
---|
Type | Description |
int | The id.
|
getParents(int index)
public Document.Provenance.Parent getParents(int index)
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta3.Document.Provenance.Parent parents = 3;
Parameter |
---|
Name | Description |
index | int
|
getParentsCount()
public int getParentsCount()
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta3.Document.Provenance.Parent parents = 3;
Returns |
---|
Type | Description |
int | |
getParentsList()
public List<Document.Provenance.Parent> getParentsList()
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta3.Document.Provenance.Parent parents = 3;
getParentsOrBuilder(int index)
public Document.Provenance.ParentOrBuilder getParentsOrBuilder(int index)
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta3.Document.Provenance.Parent parents = 3;
Parameter |
---|
Name | Description |
index | int
|
getParentsOrBuilderList()
public List<? extends Document.Provenance.ParentOrBuilder> getParentsOrBuilderList()
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta3.Document.Provenance.Parent parents = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.Provenance.ParentOrBuilder> | |
getParserForType()
public Parser<Document.Provenance> getParserForType()
Overrides
getRevision() (deprecated)
Deprecated. google.cloud.documentai.v1beta3.Document.Provenance.revision is deprecated. See
google/cloud/documentai/v1beta3/document.proto;l=823
The index of the revision that produced this element.
int32 revision = 1 [deprecated = true];
Returns |
---|
Type | Description |
int | The revision.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getType()
public Document.Provenance.OperationType getType()
The type of provenance operation.
.google.cloud.documentai.v1beta3.Document.Provenance.OperationType type = 4;
getTypeValue()
public int getTypeValue()
The type of provenance operation.
.google.cloud.documentai.v1beta3.Document.Provenance.OperationType type = 4;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for type.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Document.Provenance.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Document.Provenance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Document.Provenance.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides