- 0.74.0 (latest)
- 0.72.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 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 UpdateDocumentRequest.Builder extends GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder> implements UpdateDocumentRequestOrBuilderRequest message for DocumentService.UpdateDocument.
Protobuf type google.cloud.contentwarehouse.v1.UpdateDocumentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateDocumentRequest.BuilderImplements
UpdateDocumentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDocumentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| UpdateDocumentRequest.Builder |
build()
public UpdateDocumentRequest build()| Type | Description |
| UpdateDocumentRequest |
buildPartial()
public UpdateDocumentRequest buildPartial()| Type | Description |
| UpdateDocumentRequest |
clear()
public UpdateDocumentRequest.Builder clear()| Type | Description |
| UpdateDocumentRequest.Builder |
clearCloudAiDocumentOption()
public UpdateDocumentRequest.Builder clearCloudAiDocumentOption()Request Option for processing Cloud AI Document in CW Document.
.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
| Type | Description |
| UpdateDocumentRequest.Builder |
clearDocument()
public UpdateDocumentRequest.Builder clearDocument()Required. The document to update.
.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| UpdateDocumentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateDocumentRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| UpdateDocumentRequest.Builder |
clearName()
public UpdateDocumentRequest.Builder clearName()Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| UpdateDocumentRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDocumentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| UpdateDocumentRequest.Builder |
clearRequestMetadata()
public UpdateDocumentRequest.Builder clearRequestMetadata()The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Type | Description |
| UpdateDocumentRequest.Builder |
clearUpdateOptions()
public UpdateDocumentRequest.Builder clearUpdateOptions()Options for the update operation.
.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
| Type | Description |
| UpdateDocumentRequest.Builder |
clone()
public UpdateDocumentRequest.Builder clone()| Type | Description |
| UpdateDocumentRequest.Builder |
getCloudAiDocumentOption()
public CloudAIDocumentOption getCloudAiDocumentOption()Request Option for processing Cloud AI Document in CW Document.
.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
| Type | Description |
| CloudAIDocumentOption | The cloudAiDocumentOption. |
getCloudAiDocumentOptionBuilder()
public CloudAIDocumentOption.Builder getCloudAiDocumentOptionBuilder()Request Option for processing Cloud AI Document in CW Document.
.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
| Type | Description |
| CloudAIDocumentOption.Builder |
getCloudAiDocumentOptionOrBuilder()
public CloudAIDocumentOptionOrBuilder getCloudAiDocumentOptionOrBuilder()Request Option for processing Cloud AI Document in CW Document.
.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
| Type | Description |
| CloudAIDocumentOptionOrBuilder |
getDefaultInstanceForType()
public UpdateDocumentRequest getDefaultInstanceForType()| Type | Description |
| UpdateDocumentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDocument()
public Document getDocument()Required. The document to update.
.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Document | The document. |
getDocumentBuilder()
public Document.Builder getDocumentBuilder()Required. The document to update.
.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Document.Builder |
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()Required. The document to update.
.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| DocumentOrBuilder |
getName()
public String getName()Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| String | The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| ByteString | The bytes for name. |
getRequestMetadata()
public RequestMetadata getRequestMetadata()The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Type | Description |
| RequestMetadata | The requestMetadata. |
getRequestMetadataBuilder()
public RequestMetadata.Builder getRequestMetadataBuilder()The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Type | Description |
| RequestMetadata.Builder |
getRequestMetadataOrBuilder()
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Type | Description |
| RequestMetadataOrBuilder |
getUpdateOptions()
public UpdateOptions getUpdateOptions()Options for the update operation.
.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
| Type | Description |
| UpdateOptions | The updateOptions. |
getUpdateOptionsBuilder()
public UpdateOptions.Builder getUpdateOptionsBuilder()Options for the update operation.
.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
| Type | Description |
| UpdateOptions.Builder |
getUpdateOptionsOrBuilder()
public UpdateOptionsOrBuilder getUpdateOptionsOrBuilder()Options for the update operation.
.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
| Type | Description |
| UpdateOptionsOrBuilder |
hasCloudAiDocumentOption()
public boolean hasCloudAiDocumentOption()Request Option for processing Cloud AI Document in CW Document.
.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
| Type | Description |
| boolean | Whether the cloudAiDocumentOption field is set. |
hasDocument()
public boolean hasDocument()Required. The document to update.
.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the document field is set. |
hasRequestMetadata()
public boolean hasRequestMetadata()The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Type | Description |
| boolean | Whether the requestMetadata field is set. |
hasUpdateOptions()
public boolean hasUpdateOptions()Options for the update operation.
.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
| Type | Description |
| boolean | Whether the updateOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeCloudAiDocumentOption(CloudAIDocumentOption value)
public UpdateDocumentRequest.Builder mergeCloudAiDocumentOption(CloudAIDocumentOption value)Request Option for processing Cloud AI Document in CW Document.
.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
| Name | Description |
| value | CloudAIDocumentOption |
| Type | Description |
| UpdateDocumentRequest.Builder |
mergeDocument(Document value)
public UpdateDocumentRequest.Builder mergeDocument(Document value)Required. The document to update.
.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | Document |
| Type | Description |
| UpdateDocumentRequest.Builder |
mergeFrom(UpdateDocumentRequest other)
public UpdateDocumentRequest.Builder mergeFrom(UpdateDocumentRequest other)| Name | Description |
| other | UpdateDocumentRequest |
| Type | Description |
| UpdateDocumentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDocumentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| UpdateDocumentRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public UpdateDocumentRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| UpdateDocumentRequest.Builder |
mergeRequestMetadata(RequestMetadata value)
public UpdateDocumentRequest.Builder mergeRequestMetadata(RequestMetadata value)The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Name | Description |
| value | RequestMetadata |
| Type | Description |
| UpdateDocumentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDocumentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| UpdateDocumentRequest.Builder |
mergeUpdateOptions(UpdateOptions value)
public UpdateDocumentRequest.Builder mergeUpdateOptions(UpdateOptions value)Options for the update operation.
.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
| Name | Description |
| value | UpdateOptions |
| Type | Description |
| UpdateDocumentRequest.Builder |
setCloudAiDocumentOption(CloudAIDocumentOption value)
public UpdateDocumentRequest.Builder setCloudAiDocumentOption(CloudAIDocumentOption value)Request Option for processing Cloud AI Document in CW Document.
.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
| Name | Description |
| value | CloudAIDocumentOption |
| Type | Description |
| UpdateDocumentRequest.Builder |
setCloudAiDocumentOption(CloudAIDocumentOption.Builder builderForValue)
public UpdateDocumentRequest.Builder setCloudAiDocumentOption(CloudAIDocumentOption.Builder builderForValue)Request Option for processing Cloud AI Document in CW Document.
.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
| Name | Description |
| builderForValue | CloudAIDocumentOption.Builder |
| Type | Description |
| UpdateDocumentRequest.Builder |
setDocument(Document value)
public UpdateDocumentRequest.Builder setDocument(Document value)Required. The document to update.
.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | Document |
| Type | Description |
| UpdateDocumentRequest.Builder |
setDocument(Document.Builder builderForValue)
public UpdateDocumentRequest.Builder setDocument(Document.Builder builderForValue)Required. The document to update.
.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| builderForValue | Document.Builder |
| Type | Description |
| UpdateDocumentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDocumentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| UpdateDocumentRequest.Builder |
setName(String value)
public UpdateDocumentRequest.Builder setName(String value)Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | StringThe name to set. |
| Type | Description |
| UpdateDocumentRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public UpdateDocumentRequest.Builder setNameBytes(ByteString value)Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| Type | Description |
| UpdateDocumentRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDocumentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| UpdateDocumentRequest.Builder |
setRequestMetadata(RequestMetadata value)
public UpdateDocumentRequest.Builder setRequestMetadata(RequestMetadata value)The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Name | Description |
| value | RequestMetadata |
| Type | Description |
| UpdateDocumentRequest.Builder |
setRequestMetadata(RequestMetadata.Builder builderForValue)
public UpdateDocumentRequest.Builder setRequestMetadata(RequestMetadata.Builder builderForValue)The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Name | Description |
| builderForValue | RequestMetadata.Builder |
| Type | Description |
| UpdateDocumentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDocumentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| UpdateDocumentRequest.Builder |
setUpdateOptions(UpdateOptions value)
public UpdateDocumentRequest.Builder setUpdateOptions(UpdateOptions value)Options for the update operation.
.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
| Name | Description |
| value | UpdateOptions |
| Type | Description |
| UpdateDocumentRequest.Builder |
setUpdateOptions(UpdateOptions.Builder builderForValue)
public UpdateDocumentRequest.Builder setUpdateOptions(UpdateOptions.Builder builderForValue)Options for the update operation.
.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
| Name | Description |
| builderForValue | UpdateOptions.Builder |
| Type | Description |
| UpdateDocumentRequest.Builder |