public final class IngestPipelineConfig extends GeneratedMessageV3 implements IngestPipelineConfigOrBuilder
The ingestion pipeline config.
Protobuf type google.cloud.contentwarehouse.v1.IngestPipelineConfig
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLOUD_FUNCTION_FIELD_NUMBER
public static final int CLOUD_FUNCTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DOCUMENT_ACL_POLICY_FIELD_NUMBER
public static final int DOCUMENT_ACL_POLICY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ENABLE_DOCUMENT_TEXT_EXTRACTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FOLDER_FIELD_NUMBER
public static final int FOLDER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static IngestPipelineConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static IngestPipelineConfig.Builder newBuilder()
newBuilder(IngestPipelineConfig prototype)
public static IngestPipelineConfig.Builder newBuilder(IngestPipelineConfig prototype)
parseDelimitedFrom(InputStream input)
public static IngestPipelineConfig parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestPipelineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static IngestPipelineConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestPipelineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static IngestPipelineConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestPipelineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static IngestPipelineConfig parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestPipelineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static IngestPipelineConfig parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestPipelineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static IngestPipelineConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestPipelineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<IngestPipelineConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCloudFunction()
public String getCloudFunction()
The Cloud Function resource name. The Cloud Function needs to live inside
consumer project and is accessible to Document AI Warehouse P4SA.
Only Cloud Functions V2 is supported. Cloud function execution should
complete within 5 minutes or this file ingestion may fail due to timeout.
Format: https://{region}-{project_id}.cloudfunctions.net/{cloud_function}
The following keys are available the request json payload.
string cloud_function = 4 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The cloudFunction.
|
getCloudFunctionBytes()
public ByteString getCloudFunctionBytes()
The Cloud Function resource name. The Cloud Function needs to live inside
consumer project and is accessible to Document AI Warehouse P4SA.
Only Cloud Functions V2 is supported. Cloud function execution should
complete within 5 minutes or this file ingestion may fail due to timeout.
Format: https://{region}-{project_id}.cloudfunctions.net/{cloud_function}
The following keys are available the request json payload.
string cloud_function = 4 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for cloudFunction.
|
getDefaultInstanceForType()
public IngestPipelineConfig getDefaultInstanceForType()
getDocumentAclPolicy()
public Policy getDocumentAclPolicy()
The document level acl policy config.
This refers to an Identity and Access (IAM) policy, which specifies access
controls for all documents ingested by the pipeline. The
role and
members under the policy needs to be
specified.
The following roles are supported for document level acl control:
.google.iam.v1.Policy document_acl_policy = 1;
Returns |
---|
Type | Description |
com.google.iam.v1.Policy | The documentAclPolicy.
|
getDocumentAclPolicyOrBuilder()
public PolicyOrBuilder getDocumentAclPolicyOrBuilder()
The document level acl policy config.
This refers to an Identity and Access (IAM) policy, which specifies access
controls for all documents ingested by the pipeline. The
role and
members under the policy needs to be
specified.
The following roles are supported for document level acl control:
.google.iam.v1.Policy document_acl_policy = 1;
Returns |
---|
Type | Description |
com.google.iam.v1.PolicyOrBuilder | |
public boolean getEnableDocumentTextExtraction()
The document text extraction enabled flag.
If the flag is set to true, DWH will perform text extraction on the raw
document.
bool enable_document_text_extraction = 2;
Returns |
---|
Type | Description |
boolean | The enableDocumentTextExtraction.
|
getFolder()
public String getFolder()
Optional. The name of the folder to which all ingested documents will be
linked during ingestion process. Format is
projects/{project}/locations/{location}/documents/{folder_id}
string folder = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The folder.
|
getFolderBytes()
public ByteString getFolderBytes()
Optional. The name of the folder to which all ingested documents will be
linked during ingestion process. Format is
projects/{project}/locations/{location}/documents/{folder_id}
string folder = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for folder.
|
getParserForType()
public Parser<IngestPipelineConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasDocumentAclPolicy()
public boolean hasDocumentAclPolicy()
The document level acl policy config.
This refers to an Identity and Access (IAM) policy, which specifies access
controls for all documents ingested by the pipeline. The
role and
members under the policy needs to be
specified.
The following roles are supported for document level acl control:
.google.iam.v1.Policy document_acl_policy = 1;
Returns |
---|
Type | Description |
boolean | Whether the documentAclPolicy field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public IngestPipelineConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestPipelineConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public IngestPipelineConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides