public final class ImportDocumentsRequest extends GeneratedMessageV3 implements ImportDocumentsRequestOrBuilder
Protobuf type google.cloud.documentai.v1beta3.ImportDocumentsRequest
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
BATCH_DOCUMENTS_IMPORT_CONFIGS_FIELD_NUMBER
public static final int BATCH_DOCUMENTS_IMPORT_CONFIGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DATASET_FIELD_NUMBER
public static final int DATASET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ImportDocumentsRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportDocumentsRequest.Builder newBuilder()
newBuilder(ImportDocumentsRequest prototype)
public static ImportDocumentsRequest.Builder newBuilder(ImportDocumentsRequest prototype)
public static ImportDocumentsRequest parseDelimitedFrom(InputStream input)
public static ImportDocumentsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportDocumentsRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportDocumentsRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest parseFrom(CodedInputStream input)
public static ImportDocumentsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest parseFrom(InputStream input)
public static ImportDocumentsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportDocumentsRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportDocumentsRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBatchDocumentsImportConfigs(int index)
public ImportDocumentsRequest.BatchDocumentsImportConfig getBatchDocumentsImportConfigs(int index)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getBatchDocumentsImportConfigsCount()
public int getBatchDocumentsImportConfigsCount()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
getBatchDocumentsImportConfigsList()
public List<ImportDocumentsRequest.BatchDocumentsImportConfig> getBatchDocumentsImportConfigsList()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
getBatchDocumentsImportConfigsOrBuilder(int index)
public ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder getBatchDocumentsImportConfigsOrBuilder(int index)
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getBatchDocumentsImportConfigsOrBuilderList()
public List<? extends ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder> getBatchDocumentsImportConfigsOrBuilderList()
Required. The Cloud Storage uri containing raw documents that must be
imported.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder> | |
getDataset()
public String getDataset()
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The dataset.
|
getDatasetBytes()
public ByteString getDatasetBytes()
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for dataset.
|
getDefaultInstanceForType()
public ImportDocumentsRequest getDefaultInstanceForType()
getParserForType()
public Parser<ImportDocumentsRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportDocumentsRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportDocumentsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ImportDocumentsRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides