- 0.47.0 (latest)
- 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 DocumentLink.Builder extends GeneratedMessageV3.Builder<DocumentLink.Builder> implements DocumentLinkOrBuilder
A document-link between source and target document.
Protobuf type google.cloud.contentwarehouse.v1.DocumentLink
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DocumentLink.BuilderImplements
DocumentLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DocumentLink.Builder |
build()
public DocumentLink build()
Type | Description |
DocumentLink |
buildPartial()
public DocumentLink buildPartial()
Type | Description |
DocumentLink |
clear()
public DocumentLink.Builder clear()
Type | Description |
DocumentLink.Builder |
clearCreateTime()
public DocumentLink.Builder clearCreateTime()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
DocumentLink.Builder |
clearDescription()
public DocumentLink.Builder clearDescription()
Description of this document-link.
string description = 4;
Type | Description |
DocumentLink.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DocumentLink.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DocumentLink.Builder |
clearName()
public DocumentLink.Builder clearName()
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;
Type | Description |
DocumentLink.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DocumentLink.Builder |
clearSourceDocumentReference()
public DocumentLink.Builder clearSourceDocumentReference()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
Type | Description |
DocumentLink.Builder |
clearState()
public DocumentLink.Builder clearState()
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;
Type | Description |
DocumentLink.Builder | This builder for chaining. |
clearTargetDocumentReference()
public DocumentLink.Builder clearTargetDocumentReference()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
Type | Description |
DocumentLink.Builder |
clearUpdateTime()
public DocumentLink.Builder clearUpdateTime()
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
DocumentLink.Builder |
clone()
public DocumentLink.Builder clone()
Type | Description |
DocumentLink.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public DocumentLink getDefaultInstanceForType()
Type | Description |
DocumentLink |
getDescription()
public String getDescription()
Description of this document-link.
string description = 4;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of this document-link.
string description = 4;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public 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;
Type | Description |
String | The name. |
getNameBytes()
public 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;
Type | Description |
ByteString | The bytes for name. |
getSourceDocumentReference()
public DocumentReference getSourceDocumentReference()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
Type | Description |
DocumentReference | The sourceDocumentReference. |
getSourceDocumentReferenceBuilder()
public DocumentReference.Builder getSourceDocumentReferenceBuilder()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
Type | Description |
DocumentReference.Builder |
getSourceDocumentReferenceOrBuilder()
public DocumentReferenceOrBuilder getSourceDocumentReferenceOrBuilder()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
Type | Description |
DocumentReferenceOrBuilder |
getState()
public 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;
Type | Description |
DocumentLink.State | The state. |
getStateValue()
public 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;
Type | Description |
int | The enum numeric value on the wire for state. |
getTargetDocumentReference()
public DocumentReference getTargetDocumentReference()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
Type | Description |
DocumentReference | The targetDocumentReference. |
getTargetDocumentReferenceBuilder()
public DocumentReference.Builder getTargetDocumentReferenceBuilder()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
Type | Description |
DocumentReference.Builder |
getTargetDocumentReferenceOrBuilder()
public DocumentReferenceOrBuilder getTargetDocumentReferenceOrBuilder()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
Type | Description |
DocumentReferenceOrBuilder |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasSourceDocumentReference()
public boolean hasSourceDocumentReference()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
Type | Description |
boolean | Whether the sourceDocumentReference field is set. |
hasTargetDocumentReference()
public boolean hasTargetDocumentReference()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
Type | Description |
boolean | Whether the targetDocumentReference field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public DocumentLink.Builder mergeCreateTime(Timestamp value)
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
DocumentLink.Builder |
mergeFrom(DocumentLink other)
public DocumentLink.Builder mergeFrom(DocumentLink other)
Name | Description |
other | DocumentLink |
Type | Description |
DocumentLink.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DocumentLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DocumentLink.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DocumentLink.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DocumentLink.Builder |
mergeSourceDocumentReference(DocumentReference value)
public DocumentLink.Builder mergeSourceDocumentReference(DocumentReference value)
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
Name | Description |
value | DocumentReference |
Type | Description |
DocumentLink.Builder |
mergeTargetDocumentReference(DocumentReference value)
public DocumentLink.Builder mergeTargetDocumentReference(DocumentReference value)
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
Name | Description |
value | DocumentReference |
Type | Description |
DocumentLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DocumentLink.Builder |
mergeUpdateTime(Timestamp value)
public DocumentLink.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
DocumentLink.Builder |
setCreateTime(Timestamp value)
public DocumentLink.Builder setCreateTime(Timestamp value)
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
DocumentLink.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public DocumentLink.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
DocumentLink.Builder |
setDescription(String value)
public DocumentLink.Builder setDescription(String value)
Description of this document-link.
string description = 4;
Name | Description |
value | String The description to set. |
Type | Description |
DocumentLink.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public DocumentLink.Builder setDescriptionBytes(ByteString value)
Description of this document-link.
string description = 4;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
DocumentLink.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DocumentLink.Builder |
setName(String value)
public DocumentLink.Builder setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
DocumentLink.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DocumentLink.Builder setNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
DocumentLink.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DocumentLink.Builder |
setSourceDocumentReference(DocumentReference value)
public DocumentLink.Builder setSourceDocumentReference(DocumentReference value)
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
Name | Description |
value | DocumentReference |
Type | Description |
DocumentLink.Builder |
setSourceDocumentReference(DocumentReference.Builder builderForValue)
public DocumentLink.Builder setSourceDocumentReference(DocumentReference.Builder builderForValue)
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
Name | Description |
builderForValue | DocumentReference.Builder |
Type | Description |
DocumentLink.Builder |
setState(DocumentLink.State value)
public DocumentLink.Builder setState(DocumentLink.State value)
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;
Name | Description |
value | DocumentLink.State The state to set. |
Type | Description |
DocumentLink.Builder | This builder for chaining. |
setStateValue(int value)
public DocumentLink.Builder setStateValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
DocumentLink.Builder | This builder for chaining. |
setTargetDocumentReference(DocumentReference value)
public DocumentLink.Builder setTargetDocumentReference(DocumentReference value)
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
Name | Description |
value | DocumentReference |
Type | Description |
DocumentLink.Builder |
setTargetDocumentReference(DocumentReference.Builder builderForValue)
public DocumentLink.Builder setTargetDocumentReference(DocumentReference.Builder builderForValue)
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
Name | Description |
builderForValue | DocumentReference.Builder |
Type | Description |
DocumentLink.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DocumentLink.Builder |
setUpdateTime(Timestamp value)
public DocumentLink.Builder setUpdateTime(Timestamp value)
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
DocumentLink.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public DocumentLink.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
DocumentLink.Builder |