- 0.51.0 (latest)
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class IngestPipelineConfig.Builder extends GeneratedMessageV3.Builder<IngestPipelineConfig.Builder> implements IngestPipelineConfigOrBuilder
The ingestion pipeline config.
Protobuf type google.cloud.contentwarehouse.v1.IngestPipelineConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestPipelineConfig.BuilderImplements
IngestPipelineConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestPipelineConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
build()
public IngestPipelineConfig build()
Returns | |
---|---|
Type | Description |
IngestPipelineConfig |
buildPartial()
public IngestPipelineConfig buildPartial()
Returns | |
---|---|
Type | Description |
IngestPipelineConfig |
clear()
public IngestPipelineConfig.Builder clear()
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
clearDocumentAclPolicy()
public IngestPipelineConfig.Builder clearDocumentAclPolicy()
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:
- roles/contentwarehouse.documentAdmin
- roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
- user:user-email@example.com
- group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
clearEnableDocumentTextExtraction()
public IngestPipelineConfig.Builder clearEnableDocumentTextExtraction()
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 |
IngestPipelineConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public IngestPipelineConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
clearFolder()
public IngestPipelineConfig.Builder clearFolder()
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 |
IngestPipelineConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestPipelineConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
clone()
public IngestPipelineConfig.Builder clone()
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
getDefaultInstanceForType()
public IngestPipelineConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
IngestPipelineConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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:
- roles/contentwarehouse.documentAdmin
- roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
- user:user-email@example.com
- group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Returns | |
---|---|
Type | Description |
com.google.iam.v1.Policy | The documentAclPolicy. |
getDocumentAclPolicyBuilder()
public Policy.Builder getDocumentAclPolicyBuilder()
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:
- roles/contentwarehouse.documentAdmin
- roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
- user:user-email@example.com
- group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Returns | |
---|---|
Type | Description |
com.google.iam.v1.Policy.Builder |
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:
- roles/contentwarehouse.documentAdmin
- roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
- user:user-email@example.com
- group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Returns | |
---|---|
Type | Description |
com.google.iam.v1.PolicyOrBuilder |
getEnableDocumentTextExtraction()
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. |
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:
- roles/contentwarehouse.documentAdmin
- roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
- user:user-email@example.com
- group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the documentAclPolicy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDocumentAclPolicy(Policy value)
public IngestPipelineConfig.Builder mergeDocumentAclPolicy(Policy value)
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:
- roles/contentwarehouse.documentAdmin
- roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
- user:user-email@example.com
- group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Parameter | |
---|---|
Name | Description |
value | com.google.iam.v1.Policy |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
mergeFrom(IngestPipelineConfig other)
public IngestPipelineConfig.Builder mergeFrom(IngestPipelineConfig other)
Parameter | |
---|---|
Name | Description |
other | IngestPipelineConfig |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestPipelineConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public IngestPipelineConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestPipelineConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
setDocumentAclPolicy(Policy value)
public IngestPipelineConfig.Builder setDocumentAclPolicy(Policy value)
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:
- roles/contentwarehouse.documentAdmin
- roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
- user:user-email@example.com
- group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Parameter | |
---|---|
Name | Description |
value | com.google.iam.v1.Policy |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
setDocumentAclPolicy(Policy.Builder builderForValue)
public IngestPipelineConfig.Builder setDocumentAclPolicy(Policy.Builder builderForValue)
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:
- roles/contentwarehouse.documentAdmin
- roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
- user:user-email@example.com
- group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.iam.v1.Policy.Builder |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
setEnableDocumentTextExtraction(boolean value)
public IngestPipelineConfig.Builder setEnableDocumentTextExtraction(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value | boolean The enableDocumentTextExtraction to set. |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public IngestPipelineConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
setFolder(String value)
public IngestPipelineConfig.Builder setFolder(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The folder to set. |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder | This builder for chaining. |
setFolderBytes(ByteString value)
public IngestPipelineConfig.Builder setFolderBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for folder to set. |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestPipelineConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestPipelineConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestPipelineConfig.Builder |