public static final class DocumentId.UnmanagedDocumentId.Builder extends GeneratedMessageV3.Builder<DocumentId.UnmanagedDocumentId.Builder> implements DocumentId.UnmanagedDocumentIdOrBuilder
Identifies a document uniquely within the scope of a dataset in unmanaged
option.
Protobuf type google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId
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 DocumentId.UnmanagedDocumentId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocumentId.UnmanagedDocumentId build()
buildPartial()
public DocumentId.UnmanagedDocumentId buildPartial()
clear()
public DocumentId.UnmanagedDocumentId.Builder clear()
Overrides
clearDocId()
public DocumentId.UnmanagedDocumentId.Builder clearDocId()
Required. The id of the document.
string doc_id = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public DocumentId.UnmanagedDocumentId.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentId.UnmanagedDocumentId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DocumentId.UnmanagedDocumentId.Builder clone()
Overrides
getDefaultInstanceForType()
public DocumentId.UnmanagedDocumentId getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDocId()
Required. The id of the document.
string doc_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The docId.
|
getDocIdBytes()
public ByteString getDocIdBytes()
Required. The id of the document.
string doc_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for docId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DocumentId.UnmanagedDocumentId other)
public DocumentId.UnmanagedDocumentId.Builder mergeFrom(DocumentId.UnmanagedDocumentId other)
public DocumentId.UnmanagedDocumentId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocumentId.UnmanagedDocumentId.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentId.UnmanagedDocumentId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDocId(String value)
public DocumentId.UnmanagedDocumentId.Builder setDocId(String value)
Required. The id of the document.
string doc_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The docId to set.
|
setDocIdBytes(ByteString value)
public DocumentId.UnmanagedDocumentId.Builder setDocIdBytes(ByteString value)
Required. The id of the document.
string doc_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for docId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentId.UnmanagedDocumentId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentId.UnmanagedDocumentId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentId.UnmanagedDocumentId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides