Interface DocumentLinkOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentLink
,DocumentLink.Builder
public interface DocumentLinkOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
Description of this document-link.com.google.protobuf.ByteString
getDescriptionBytes()
Description of this document-link.String
getName()
Name of this document-link.com.google.protobuf.ByteString
getNameBytes()
Name of this document-link.DocumentReference
getSourceDocumentReference()
Document references of the source document.DocumentReferenceOrBuilder
getSourceDocumentReferenceOrBuilder()
Document references of the source document.DocumentLink.State
getState()
The state of the documentlink.int
getStateValue()
The state of the documentlink.DocumentReference
getTargetDocumentReference()
Document references of the target document.DocumentReferenceOrBuilder
getTargetDocumentReferenceOrBuilder()
Document references of the target document.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasSourceDocumentReference()
Document references of the source document.boolean
hasTargetDocumentReference()
Document references of the target document.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasSourceDocumentReference
boolean hasSourceDocumentReference()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
- Returns:
- Whether the sourceDocumentReference field is set.
-
getSourceDocumentReference
DocumentReference getSourceDocumentReference()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
- Returns:
- The sourceDocumentReference.
-
getSourceDocumentReferenceOrBuilder
DocumentReferenceOrBuilder getSourceDocumentReferenceOrBuilder()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
-
hasTargetDocumentReference
boolean hasTargetDocumentReference()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
- Returns:
- Whether the targetDocumentReference field is set.
-
getTargetDocumentReference
DocumentReference getTargetDocumentReference()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
- Returns:
- The targetDocumentReference.
-
getTargetDocumentReferenceOrBuilder
DocumentReferenceOrBuilder getTargetDocumentReferenceOrBuilder()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
-
getDescription
String getDescription()
Description of this document-link.
string description = 4;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of this document-link.
string description = 4;
- Returns:
- The bytes for description.
-
hasUpdateTime
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:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
-