public static final class Document.Revision extends com.google.protobuf.GeneratedMessageV3 implements Document.RevisionOrBuilder
Contains past or forward revisions of this document.Protobuf type
google.cloud.documentai.v1beta2.Document.Revision| Modifier and Type | Class and Description |
|---|---|
static class |
Document.Revision.Builder
Contains past or forward revisions of this document.
|
static class |
Document.Revision.HumanReview
Human Review information of the document.
|
static interface |
Document.Revision.HumanReviewOrBuilder |
static class |
Document.Revision.SourceCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AGENT_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
HUMAN_REVIEW_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
PARENT_IDS_FIELD_NUMBER |
static int |
PROCESSOR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAgent()
If the change was made by a person specify the name or id of that
person.
|
com.google.protobuf.ByteString |
getAgentBytes()
If the change was made by a person specify the name or id of that
person.
|
com.google.protobuf.Timestamp |
getCreateTime()
The time that the revision was created, internally generated by
doc proto storage at the time of create.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time that the revision was created, internally generated by
doc proto storage at the time of create.
|
static Document.Revision |
getDefaultInstance() |
Document.Revision |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Document.Revision.HumanReview |
getHumanReview()
Human Review information of this revision.
|
Document.Revision.HumanReviewOrBuilder |
getHumanReviewOrBuilder()
Human Review information of this revision.
|
String |
getId()
Id of the revision, internally generated by doc proto storage.
|
com.google.protobuf.ByteString |
getIdBytes()
Id of the revision, internally generated by doc proto storage.
|
int |
getParent(int index)
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
int |
getParentCount()
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
String |
getParentIds(int index)
The revisions that this revision is based on.
|
com.google.protobuf.ByteString |
getParentIdsBytes(int index)
The revisions that this revision is based on.
|
int |
getParentIdsCount()
The revisions that this revision is based on.
|
com.google.protobuf.ProtocolStringList |
getParentIdsList()
The revisions that this revision is based on.
|
List<Integer> |
getParentList()
Deprecated.
google.cloud.documentai.v1beta2.Document.Revision.parent is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=892
|
com.google.protobuf.Parser<Document.Revision> |
getParserForType() |
String |
getProcessor()
If the annotation was made by processor identify the processor by its
resource name.
|
com.google.protobuf.ByteString |
getProcessorBytes()
If the annotation was made by processor identify the processor by its
resource name.
|
int |
getSerializedSize() |
Document.Revision.SourceCase |
getSourceCase() |
boolean |
hasAgent()
If the change was made by a person specify the name or id of that
person.
|
boolean |
hasCreateTime()
The time that the revision was created, internally generated by
doc proto storage at the time of create.
|
int |
hashCode() |
boolean |
hasHumanReview()
Human Review information of this revision.
|
boolean |
hasProcessor()
If the annotation was made by processor identify the processor by its
resource name.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Document.Revision.Builder |
newBuilder() |
static Document.Revision.Builder |
newBuilder(Document.Revision prototype) |
Document.Revision.Builder |
newBuilderForType() |
protected Document.Revision.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Document.Revision |
parseDelimitedFrom(InputStream input) |
static Document.Revision |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Revision |
parseFrom(byte[] data) |
static Document.Revision |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Revision |
parseFrom(ByteBuffer data) |
static Document.Revision |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Revision |
parseFrom(com.google.protobuf.ByteString data) |
static Document.Revision |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Revision |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Document.Revision |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Revision |
parseFrom(InputStream input) |
static Document.Revision |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Document.Revision> |
parser() |
Document.Revision.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AGENT_FIELD_NUMBER
public static final int PROCESSOR_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int PARENT_IDS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int HUMAN_REVIEW_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Document.Revision.SourceCase getSourceCase()
getSourceCase in interface Document.RevisionOrBuilderpublic boolean hasAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;hasAgent in interface Document.RevisionOrBuilderpublic String getAgent()
If the change was made by a person specify the name or id of that person.
string agent = 4;getAgent in interface Document.RevisionOrBuilderpublic com.google.protobuf.ByteString getAgentBytes()
If the change was made by a person specify the name or id of that person.
string agent = 4;getAgentBytes in interface Document.RevisionOrBuilderpublic boolean hasProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;hasProcessor in interface Document.RevisionOrBuilderpublic String getProcessor()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;getProcessor in interface Document.RevisionOrBuilderpublic com.google.protobuf.ByteString getProcessorBytes()
If the annotation was made by processor identify the processor by its resource name.
string processor = 5;getProcessorBytes in interface Document.RevisionOrBuilderpublic String getId()
Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;getId in interface Document.RevisionOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
string id = 1;getIdBytes in interface Document.RevisionOrBuilder@Deprecated public List<Integer> getParentList()
The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.
repeated int32 parent = 2 [deprecated = true];getParentList in interface Document.RevisionOrBuilder@Deprecated public int getParentCount()
The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.
repeated int32 parent = 2 [deprecated = true];getParentCount in interface Document.RevisionOrBuilder@Deprecated public int getParent(int index)
The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.
repeated int32 parent = 2 [deprecated = true];getParent in interface Document.RevisionOrBuilderindex - The index of the element to return.public com.google.protobuf.ProtocolStringList getParentIdsList()
The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.
repeated string parent_ids = 7;getParentIdsList in interface Document.RevisionOrBuilderpublic int getParentIdsCount()
The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.
repeated string parent_ids = 7;getParentIdsCount in interface Document.RevisionOrBuilderpublic String getParentIds(int index)
The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.
repeated string parent_ids = 7;getParentIds in interface Document.RevisionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getParentIdsBytes(int index)
The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.
repeated string parent_ids = 7;getParentIdsBytes in interface Document.RevisionOrBuilderindex - The index of the value to return.public boolean hasCreateTime()
The time that the revision was created, internally generated by doc proto storage at the time of create.
.google.protobuf.Timestamp create_time = 3;hasCreateTime in interface Document.RevisionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time that the revision was created, internally generated by doc proto storage at the time of create.
.google.protobuf.Timestamp create_time = 3;getCreateTime in interface Document.RevisionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time that the revision was created, internally generated by doc proto storage at the time of create.
.google.protobuf.Timestamp create_time = 3;getCreateTimeOrBuilder in interface Document.RevisionOrBuilderpublic boolean hasHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;hasHumanReview in interface Document.RevisionOrBuilderpublic Document.Revision.HumanReview getHumanReview()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;getHumanReview in interface Document.RevisionOrBuilderpublic Document.Revision.HumanReviewOrBuilder getHumanReviewOrBuilder()
Human Review information of this revision.
.google.cloud.documentai.v1beta2.Document.Revision.HumanReview human_review = 6;getHumanReviewOrBuilder in interface Document.RevisionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Document.Revision parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Revision parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Revision parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Revision parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Revision parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Revision parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Revision parseFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Revision parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Revision parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Revision parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Revision parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Document.Revision parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Document.Revision.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Document.Revision.Builder newBuilder()
public static Document.Revision.Builder newBuilder(Document.Revision prototype)
public Document.Revision.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Document.Revision.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Document.Revision getDefaultInstance()
public static com.google.protobuf.Parser<Document.Revision> parser()
public com.google.protobuf.Parser<Document.Revision> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Document.Revision getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.