Class DocumentLink.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
- com.google.cloud.contentwarehouse.v1.DocumentLink.Builder
-
- All Implemented Interfaces:
DocumentLinkOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DocumentLink
public static final class DocumentLink.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder> implements DocumentLinkOrBuilder
A document-link between source and target document.
Protobuf typegoogle.cloud.contentwarehouse.v1.DocumentLink
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentLink.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DocumentLink
build()
DocumentLink
buildPartial()
DocumentLink.Builder
clear()
DocumentLink.Builder
clearCreateTime()
Output only.DocumentLink.Builder
clearDescription()
Description of this document-link.DocumentLink.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DocumentLink.Builder
clearName()
Name of this document-link.DocumentLink.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DocumentLink.Builder
clearSourceDocumentReference()
Document references of the source document.DocumentLink.Builder
clearState()
The state of the documentlink.DocumentLink.Builder
clearTargetDocumentReference()
Document references of the target document.DocumentLink.Builder
clearUpdateTime()
Output only.DocumentLink.Builder
clone()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.DocumentLink
getDefaultInstanceForType()
String
getDescription()
Description of this document-link.com.google.protobuf.ByteString
getDescriptionBytes()
Description of this document-link.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.DocumentReference.Builder
getSourceDocumentReferenceBuilder()
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.DocumentReference.Builder
getTargetDocumentReferenceBuilder()
Document references of the target document.DocumentReferenceOrBuilder
getTargetDocumentReferenceOrBuilder()
Document references of the target document.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DocumentLink.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.DocumentLink.Builder
mergeFrom(DocumentLink other)
DocumentLink.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DocumentLink.Builder
mergeFrom(com.google.protobuf.Message other)
DocumentLink.Builder
mergeSourceDocumentReference(DocumentReference value)
Document references of the source document.DocumentLink.Builder
mergeTargetDocumentReference(DocumentReference value)
Document references of the target document.DocumentLink.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DocumentLink.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.DocumentLink.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.DocumentLink.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.DocumentLink.Builder
setDescription(String value)
Description of this document-link.DocumentLink.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of this document-link.DocumentLink.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DocumentLink.Builder
setName(String value)
Name of this document-link.DocumentLink.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of this document-link.DocumentLink.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DocumentLink.Builder
setSourceDocumentReference(DocumentReference value)
Document references of the source document.DocumentLink.Builder
setSourceDocumentReference(DocumentReference.Builder builderForValue)
Document references of the source document.DocumentLink.Builder
setState(DocumentLink.State value)
The state of the documentlink.DocumentLink.Builder
setStateValue(int value)
The state of the documentlink.DocumentLink.Builder
setTargetDocumentReference(DocumentReference value)
Document references of the target document.DocumentLink.Builder
setTargetDocumentReference(DocumentReference.Builder builderForValue)
Document references of the target document.DocumentLink.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DocumentLink.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.DocumentLink.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
clear
public DocumentLink.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
getDefaultInstanceForType
public DocumentLink getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DocumentLink build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DocumentLink buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DocumentLink.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
setField
public DocumentLink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
clearField
public DocumentLink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
clearOneof
public DocumentLink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
setRepeatedField
public DocumentLink.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
addRepeatedField
public DocumentLink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
mergeFrom
public DocumentLink.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DocumentLink.Builder>
-
mergeFrom
public DocumentLink.Builder mergeFrom(DocumentLink other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
mergeFrom
public DocumentLink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DocumentLink.Builder>
- Throws:
IOException
-
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;
- Specified by:
getName
in interfaceDocumentLinkOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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;
- Specified by:
getNameBytes
in interfaceDocumentLinkOrBuilder
- Returns:
- The bytes for name.
-
setName
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setNameBytes
public DocumentLink.Builder setNameBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSourceDocumentReference
public boolean hasSourceDocumentReference()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
- Specified by:
hasSourceDocumentReference
in interfaceDocumentLinkOrBuilder
- Returns:
- Whether the sourceDocumentReference field is set.
-
getSourceDocumentReference
public DocumentReference getSourceDocumentReference()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
- Specified by:
getSourceDocumentReference
in interfaceDocumentLinkOrBuilder
- Returns:
- The sourceDocumentReference.
-
setSourceDocumentReference
public DocumentLink.Builder setSourceDocumentReference(DocumentReference value)
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
-
setSourceDocumentReference
public DocumentLink.Builder setSourceDocumentReference(DocumentReference.Builder builderForValue)
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
-
mergeSourceDocumentReference
public DocumentLink.Builder mergeSourceDocumentReference(DocumentReference value)
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
-
clearSourceDocumentReference
public DocumentLink.Builder clearSourceDocumentReference()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
-
getSourceDocumentReferenceBuilder
public DocumentReference.Builder getSourceDocumentReferenceBuilder()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
-
getSourceDocumentReferenceOrBuilder
public DocumentReferenceOrBuilder getSourceDocumentReferenceOrBuilder()
Document references of the source document.
.google.cloud.contentwarehouse.v1.DocumentReference source_document_reference = 2;
- Specified by:
getSourceDocumentReferenceOrBuilder
in interfaceDocumentLinkOrBuilder
-
hasTargetDocumentReference
public boolean hasTargetDocumentReference()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
- Specified by:
hasTargetDocumentReference
in interfaceDocumentLinkOrBuilder
- Returns:
- Whether the targetDocumentReference field is set.
-
getTargetDocumentReference
public DocumentReference getTargetDocumentReference()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
- Specified by:
getTargetDocumentReference
in interfaceDocumentLinkOrBuilder
- Returns:
- The targetDocumentReference.
-
setTargetDocumentReference
public DocumentLink.Builder setTargetDocumentReference(DocumentReference value)
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
-
setTargetDocumentReference
public DocumentLink.Builder setTargetDocumentReference(DocumentReference.Builder builderForValue)
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
-
mergeTargetDocumentReference
public DocumentLink.Builder mergeTargetDocumentReference(DocumentReference value)
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
-
clearTargetDocumentReference
public DocumentLink.Builder clearTargetDocumentReference()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
-
getTargetDocumentReferenceBuilder
public DocumentReference.Builder getTargetDocumentReferenceBuilder()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
-
getTargetDocumentReferenceOrBuilder
public DocumentReferenceOrBuilder getTargetDocumentReferenceOrBuilder()
Document references of the target document.
.google.cloud.contentwarehouse.v1.DocumentReference target_document_reference = 3;
- Specified by:
getTargetDocumentReferenceOrBuilder
in interfaceDocumentLinkOrBuilder
-
getDescription
public String getDescription()
Description of this document-link.
string description = 4;
- Specified by:
getDescription
in interfaceDocumentLinkOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of this document-link.
string description = 4;
- Specified by:
getDescriptionBytes
in interfaceDocumentLinkOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public DocumentLink.Builder setDescription(String value)
Description of this document-link.
string description = 4;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public DocumentLink.Builder clearDescription()
Description of this document-link.
string description = 4;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public DocumentLink.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of this document-link.
string description = 4;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasUpdateTime
in interfaceDocumentLinkOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];
- Specified by:
getUpdateTime
in interfaceDocumentLinkOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public DocumentLink.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public DocumentLink.Builder setUpdateTime(com.google.protobuf.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];
-
mergeUpdateTime
public DocumentLink.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the documentLink is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getUpdateTimeBuilder
public com.google.protobuf.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];
-
getUpdateTimeOrBuilder
public 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];
- Specified by:
getUpdateTimeOrBuilder
in interfaceDocumentLinkOrBuilder
-
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];
- Specified by:
hasCreateTime
in interfaceDocumentLinkOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];
- Specified by:
getCreateTime
in interfaceDocumentLinkOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public DocumentLink.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public DocumentLink.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public DocumentLink.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the documentLink is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public 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];
- Specified by:
getCreateTimeOrBuilder
in interfaceDocumentLinkOrBuilder
-
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;
- Specified by:
getStateValue
in interfaceDocumentLinkOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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;
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getState
in interfaceDocumentLinkOrBuilder
- Returns:
- The state.
-
setState
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;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final DocumentLink.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
mergeUnknownFields
public final DocumentLink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentLink.Builder>
-
-