public static final class CreateDocumentLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateDocumentLinkRequest.Builder> implements CreateDocumentLinkRequestOrBuilder
Request message for DocumentLinkService.CreateDocumentLink.
Protobuf type google.cloud.contentwarehouse.v1.CreateDocumentLinkRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 CreateDocumentLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateDocumentLinkRequest build()
buildPartial()
public CreateDocumentLinkRequest buildPartial()
clear()
public CreateDocumentLinkRequest.Builder clear()
Overrides
clearDocumentLink()
public CreateDocumentLinkRequest.Builder clearDocumentLink()
Required. Document links associated with the source documents (source_document_id).
.google.cloud.contentwarehouse.v1.DocumentLink document_link = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateDocumentLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDocumentLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateDocumentLinkRequest.Builder clearParent()
Required. Parent of the document-link to be created.
parent of document-link should be a document.
Format:
projects/{project_number}/locations/{location}/documents/{source_document_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearRequestMetadata()
public CreateDocumentLinkRequest.Builder clearRequestMetadata()
The meta information collected about the document creator, used to enforce
access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
clone()
public CreateDocumentLinkRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateDocumentLinkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDocumentLink()
public DocumentLink getDocumentLink()
Required. Document links associated with the source documents (source_document_id).
.google.cloud.contentwarehouse.v1.DocumentLink document_link = 2 [(.google.api.field_behavior) = REQUIRED];
getDocumentLinkBuilder()
public DocumentLink.Builder getDocumentLinkBuilder()
Required. Document links associated with the source documents (source_document_id).
.google.cloud.contentwarehouse.v1.DocumentLink document_link = 2 [(.google.api.field_behavior) = REQUIRED];
getDocumentLinkOrBuilder()
public DocumentLinkOrBuilder getDocumentLinkOrBuilder()
Required. Document links associated with the source documents (source_document_id).
.google.cloud.contentwarehouse.v1.DocumentLink document_link = 2 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. Parent of the document-link to be created.
parent of document-link should be a document.
Format:
projects/{project_number}/locations/{location}/documents/{source_document_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Parent of the document-link to be created.
parent of document-link should be a document.
Format:
projects/{project_number}/locations/{location}/documents/{source_document_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getRequestMetadata()
public RequestMetadata getRequestMetadata()
The meta information collected about the document creator, used to enforce
access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
getRequestMetadataBuilder()
public RequestMetadata.Builder getRequestMetadataBuilder()
The meta information collected about the document creator, used to enforce
access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
getRequestMetadataOrBuilder()
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()
The meta information collected about the document creator, used to enforce
access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
hasDocumentLink()
public boolean hasDocumentLink()
Required. Document links associated with the source documents (source_document_id).
.google.cloud.contentwarehouse.v1.DocumentLink document_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the documentLink field is set.
|
hasRequestMetadata()
public boolean hasRequestMetadata()
The meta information collected about the document creator, used to enforce
access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
Returns |
---|
Type | Description |
boolean | Whether the requestMetadata field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDocumentLink(DocumentLink value)
public CreateDocumentLinkRequest.Builder mergeDocumentLink(DocumentLink value)
Required. Document links associated with the source documents (source_document_id).
.google.cloud.contentwarehouse.v1.DocumentLink document_link = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateDocumentLinkRequest other)
public CreateDocumentLinkRequest.Builder mergeFrom(CreateDocumentLinkRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDocumentLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateDocumentLinkRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeRequestMetadata(RequestMetadata value)
public CreateDocumentLinkRequest.Builder mergeRequestMetadata(RequestMetadata value)
The meta information collected about the document creator, used to enforce
access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDocumentLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDocumentLink(DocumentLink value)
public CreateDocumentLinkRequest.Builder setDocumentLink(DocumentLink value)
Required. Document links associated with the source documents (source_document_id).
.google.cloud.contentwarehouse.v1.DocumentLink document_link = 2 [(.google.api.field_behavior) = REQUIRED];
setDocumentLink(DocumentLink.Builder builderForValue)
public CreateDocumentLinkRequest.Builder setDocumentLink(DocumentLink.Builder builderForValue)
Required. Document links associated with the source documents (source_document_id).
.google.cloud.contentwarehouse.v1.DocumentLink document_link = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDocumentLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateDocumentLinkRequest.Builder setParent(String value)
Required. Parent of the document-link to be created.
parent of document-link should be a document.
Format:
projects/{project_number}/locations/{location}/documents/{source_document_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateDocumentLinkRequest.Builder setParentBytes(ByteString value)
Required. Parent of the document-link to be created.
parent of document-link should be a document.
Format:
projects/{project_number}/locations/{location}/documents/{source_document_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDocumentLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequestMetadata(RequestMetadata value)
public CreateDocumentLinkRequest.Builder setRequestMetadata(RequestMetadata value)
The meta information collected about the document creator, used to enforce
access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
setRequestMetadata(RequestMetadata.Builder builderForValue)
public CreateDocumentLinkRequest.Builder setRequestMetadata(RequestMetadata.Builder builderForValue)
The meta information collected about the document creator, used to enforce
access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDocumentLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides