Interface DocumentLinkOrBuilder (0.41.0)

public interface DocumentLinkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time when the documentLink is created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the documentLink is created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Description of this document-link.

string description = 4;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Description of this document-link.

string description = 4;

Returns
Type Description
ByteString

The bytes for description.

getName()

public abstract String getName()

Name of this document-link. It is required that the parent derived form the name to be consistent with the source document reference. Otherwise an exception will be thrown. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of this document-link. It is required that the parent derived form the name to be consistent with the source document reference. Otherwise an exception will be thrown. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSourceDocumentReference()

public abstract DocumentReference getSourceDocumentReference()

Document references of the source document.

.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;

Returns
Type Description
DocumentReference

The sourceDocumentReference.

getSourceDocumentReferenceOrBuilder()

public abstract DocumentReferenceOrBuilder getSourceDocumentReferenceOrBuilder()

Document references of the source document.

.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;

Returns
Type Description
DocumentReferenceOrBuilder

getState()

public abstract DocumentLink.State getState()

The state of the documentlink. If target node has been deleted, the link is marked as invalid. Removing a source node will result in removal of all associated links.

.google.cloud.contentwarehouse.v1.DocumentLink.State state = 7;

Returns
Type Description
DocumentLink.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the documentlink. If target node has been deleted, the link is marked as invalid. Removing a source node will result in removal of all associated links.

.google.cloud.contentwarehouse.v1.DocumentLink.State state = 7;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTargetDocumentReference()

public abstract DocumentReference getTargetDocumentReference()

Document references of the target document.

.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;

Returns
Type Description
DocumentReference

The targetDocumentReference.

getTargetDocumentReferenceOrBuilder()

public abstract DocumentReferenceOrBuilder getTargetDocumentReferenceOrBuilder()

Document references of the target document.

.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;

Returns
Type Description
DocumentReferenceOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The time when the documentLink is last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the documentLink is last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time when the documentLink is created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSourceDocumentReference()

public abstract boolean hasSourceDocumentReference()

Document references of the source document.

.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;

Returns
Type Description
boolean

Whether the sourceDocumentReference field is set.

hasTargetDocumentReference()

public abstract boolean hasTargetDocumentReference()

Document references of the target document.

.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;

Returns
Type Description
boolean

Whether the targetDocumentReference field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The time when the documentLink is last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.