Interface CreateDocumentLinkRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDocumentLinkRequest
,CreateDocumentLinkRequest.Builder
public interface CreateDocumentLinkRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentLink
getDocumentLink()
Required.DocumentLinkOrBuilder
getDocumentLinkOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.RequestMetadata
getRequestMetadata()
The meta information collected about the document creator, used to enforce access control for the service.RequestMetadataOrBuilder
getRequestMetadataOrBuilder()
The meta information collected about the document creator, used to enforce access control for the service.boolean
hasDocumentLink()
Required.boolean
hasRequestMetadata()
The meta information collected about the document creator, used to enforce access control for the service.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasDocumentLink
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:
- Whether the documentLink field is set.
-
getDocumentLink
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];
- Returns:
- The documentLink.
-
getDocumentLinkOrBuilder
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];
-
hasRequestMetadata
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:
- Whether the requestMetadata field is set.
-
getRequestMetadata
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;
- Returns:
- The requestMetadata.
-
getRequestMetadataOrBuilder
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;
-
-