Interface Document.ProvenanceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.Provenance
,Document.Provenance.Builder
- Enclosing class:
- Document
public static interface Document.ProvenanceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getId()
Deprecated.google.cloud.documentai.v1beta2.Document.Provenance.id is deprecated.Document.Provenance.Parent
getParents(int index)
References to the original elements that are replaced.int
getParentsCount()
References to the original elements that are replaced.List<Document.Provenance.Parent>
getParentsList()
References to the original elements that are replaced.Document.Provenance.ParentOrBuilder
getParentsOrBuilder(int index)
References to the original elements that are replaced.List<? extends Document.Provenance.ParentOrBuilder>
getParentsOrBuilderList()
References to the original elements that are replaced.int
getRevision()
Deprecated.google.cloud.documentai.v1beta2.Document.Provenance.revision is deprecated.Document.Provenance.OperationType
getType()
The type of provenance operation.int
getTypeValue()
The type of provenance operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRevision
@Deprecated int getRevision()
Deprecated.google.cloud.documentai.v1beta2.Document.Provenance.revision is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=849The index of the revision that produced this element.
int32 revision = 1 [deprecated = true];
- Returns:
- The revision.
-
getId
@Deprecated int getId()
Deprecated.google.cloud.documentai.v1beta2.Document.Provenance.id is deprecated. See google/cloud/documentai/v1beta2/document.proto;l=853The Id of this operation. Needs to be unique within the scope of the revision.
int32 id = 2 [deprecated = true];
- Returns:
- The id.
-
getParentsList
List<Document.Provenance.Parent> getParentsList()
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta2.Document.Provenance.Parent parents = 3;
-
getParents
Document.Provenance.Parent getParents(int index)
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta2.Document.Provenance.Parent parents = 3;
-
getParentsCount
int getParentsCount()
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta2.Document.Provenance.Parent parents = 3;
-
getParentsOrBuilderList
List<? extends Document.Provenance.ParentOrBuilder> getParentsOrBuilderList()
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta2.Document.Provenance.Parent parents = 3;
-
getParentsOrBuilder
Document.Provenance.ParentOrBuilder getParentsOrBuilder(int index)
References to the original elements that are replaced.
repeated .google.cloud.documentai.v1beta2.Document.Provenance.Parent parents = 3;
-
getTypeValue
int getTypeValue()
The type of provenance operation.
.google.cloud.documentai.v1beta2.Document.Provenance.OperationType type = 4;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Document.Provenance.OperationType getType()
The type of provenance operation.
.google.cloud.documentai.v1beta2.Document.Provenance.OperationType type = 4;
- Returns:
- The type.
-
-