Send feedback
Class Document.Provenance.Parent.Builder (2.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.48.0 keyboard_arrow_down
public static final class Document . Provenance . Parent . Builder extends GeneratedMessageV3 . Builder<Document . Provenance . Parent . Builder > implements Document . Provenance . ParentOrBuilder
The parent element the current element is based on. Used for
referencing/aligning, removal and replacement operations.
Protobuf type google.cloud.documentai.v1.Document.Provenance.Parent
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document . Provenance . Parent . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Document . Provenance . Parent build ()
buildPartial()
public Document . Provenance . Parent buildPartial ()
clear()
public Document . Provenance . Parent . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Document . Provenance . Parent . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearId() (deprecated)
public Document . Provenance . Parent . Builder clearId ()
Deprecated. google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See
google/cloud/documentai/v1/document.proto;l=783
The id of the parent provenance.
int32 id = 2 [deprecated = true];
clearIndex()
public Document . Provenance . Parent . Builder clearIndex ()
The index of the parent item in the corresponding item list (eg. list
of entities, properties within entities, etc.) in the parent revision.
int32 index = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public Document . Provenance . Parent . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRevision()
public Document . Provenance . Parent . Builder clearRevision ()
The index of the index into current revision's parent_ids list.
int32 revision = 1;
clone()
public Document . Provenance . Parent . Builder clone ()
Overrides
getDefaultInstanceForType()
public Document . Provenance . Parent getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getId() (deprecated)
Deprecated. google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See
google/cloud/documentai/v1/document.proto;l=783
The id of the parent provenance.
int32 id = 2 [deprecated = true];
Returns
Type
Description
int
The id.
getIndex()
The index of the parent item in the corresponding item list (eg. list
of entities, properties within entities, etc.) in the parent revision.
int32 index = 3;
Returns
Type
Description
int
The index.
getRevision()
The index of the index into current revision's parent_ids list.
int32 revision = 1;
Returns
Type
Description
int
The revision.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Document.Provenance.Parent other)
public Document . Provenance . Parent . Builder mergeFrom ( Document . Provenance . Parent other )
public Document . Provenance . Parent . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Document . Provenance . Parent . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document . Provenance . Parent . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Document . Provenance . Parent . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setId(int value) (deprecated)
public Document . Provenance . Parent . Builder setId ( int value )
Deprecated. google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See
google/cloud/documentai/v1/document.proto;l=783
The id of the parent provenance.
int32 id = 2 [deprecated = true];
Parameter
Name
Description
value
int
The id to set.
setIndex(int value)
public Document . Provenance . Parent . Builder setIndex ( int value )
The index of the parent item in the corresponding item list (eg. list
of entities, properties within entities, etc.) in the parent revision.
int32 index = 3;
Parameter
Name
Description
value
int
The index to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document . Provenance . Parent . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRevision(int value)
public Document . Provenance . Parent . Builder setRevision ( int value )
The index of the index into current revision's parent_ids list.
int32 revision = 1;
Parameter
Name
Description
value
int
The revision to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final Document . Provenance . Parent . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]