Class DocumentReference.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
- com.google.cloud.contentwarehouse.v1.DocumentReference.Builder
-
- All Implemented Interfaces:
DocumentReferenceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DocumentReference
public static final class DocumentReference.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder> implements DocumentReferenceOrBuilder
References to the documents.
Protobuf typegoogle.cloud.contentwarehouse.v1.DocumentReference
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentReference.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DocumentReferencebuild()DocumentReferencebuildPartial()DocumentReference.Builderclear()DocumentReference.BuilderclearCreateTime()Output only.DocumentReference.BuilderclearDeleteTime()Output only.DocumentReference.BuilderclearDisplayName()display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.DocumentReference.BuilderclearDocumentIsFolder()The document type of the document being referenced.DocumentReference.BuilderclearDocumentIsLegalHoldFolder()Document is a folder with legal hold.DocumentReference.BuilderclearDocumentIsRetentionFolder()Document is a folder with retention policy.DocumentReference.BuilderclearDocumentName()Required.DocumentReference.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DocumentReference.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DocumentReference.BuilderclearSnippet()Stores the subset of the referenced document's content.DocumentReference.BuilderclearUpdateTime()Output only.DocumentReference.Builderclone()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.DocumentReferencegetDefaultInstanceForType()com.google.protobuf.TimestampgetDeleteTime()Output only.com.google.protobuf.Timestamp.BuildergetDeleteTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetDeleteTimeOrBuilder()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.com.google.protobuf.ByteStringgetDisplayNameBytes()display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.booleangetDocumentIsFolder()The document type of the document being referenced.booleangetDocumentIsLegalHoldFolder()Document is a folder with legal hold.booleangetDocumentIsRetentionFolder()Document is a folder with retention policy.StringgetDocumentName()Required.com.google.protobuf.ByteStringgetDocumentNameBytes()Required.StringgetSnippet()Stores the subset of the referenced document's content.com.google.protobuf.ByteStringgetSnippetBytes()Stores the subset of the referenced document's content.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasDeleteTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DocumentReference.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.DocumentReference.BuildermergeDeleteTime(com.google.protobuf.Timestamp value)Output only.DocumentReference.BuildermergeFrom(DocumentReference other)DocumentReference.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DocumentReference.BuildermergeFrom(com.google.protobuf.Message other)DocumentReference.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DocumentReference.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.DocumentReference.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.DocumentReference.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.DocumentReference.BuildersetDeleteTime(com.google.protobuf.Timestamp value)Output only.DocumentReference.BuildersetDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.DocumentReference.BuildersetDisplayName(String value)display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.DocumentReference.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.DocumentReference.BuildersetDocumentIsFolder(boolean value)The document type of the document being referenced.DocumentReference.BuildersetDocumentIsLegalHoldFolder(boolean value)Document is a folder with legal hold.DocumentReference.BuildersetDocumentIsRetentionFolder(boolean value)Document is a folder with retention policy.DocumentReference.BuildersetDocumentName(String value)Required.DocumentReference.BuildersetDocumentNameBytes(com.google.protobuf.ByteString value)Required.DocumentReference.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DocumentReference.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DocumentReference.BuildersetSnippet(String value)Stores the subset of the referenced document's content.DocumentReference.BuildersetSnippetBytes(com.google.protobuf.ByteString value)Stores the subset of the referenced document's content.DocumentReference.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DocumentReference.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.DocumentReference.BuildersetUpdateTime(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
clear
public DocumentReference.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
getDefaultInstanceForType
public DocumentReference getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DocumentReference build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DocumentReference buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DocumentReference.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
setField
public DocumentReference.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
clearField
public DocumentReference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
clearOneof
public DocumentReference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
setRepeatedField
public DocumentReference.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
addRepeatedField
public DocumentReference.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
mergeFrom
public DocumentReference.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocumentReference.Builder>
-
mergeFrom
public DocumentReference.Builder mergeFrom(DocumentReference other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
mergeFrom
public DocumentReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocumentReference.Builder>- Throws:
IOException
-
getDocumentName
public String getDocumentName()
Required. Name of the referenced document.
string document_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDocumentNamein interfaceDocumentReferenceOrBuilder- Returns:
- The documentName.
-
getDocumentNameBytes
public com.google.protobuf.ByteString getDocumentNameBytes()
Required. Name of the referenced document.
string document_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDocumentNameBytesin interfaceDocumentReferenceOrBuilder- Returns:
- The bytes for documentName.
-
setDocumentName
public DocumentReference.Builder setDocumentName(String value)
Required. Name of the referenced document.
string document_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The documentName to set.- Returns:
- This builder for chaining.
-
clearDocumentName
public DocumentReference.Builder clearDocumentName()
Required. Name of the referenced document.
string document_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setDocumentNameBytes
public DocumentReference.Builder setDocumentNameBytes(com.google.protobuf.ByteString value)
Required. Name of the referenced document.
string document_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for documentName to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.
string display_name = 2;- Specified by:
getDisplayNamein interfaceDocumentReferenceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceDocumentReferenceOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public DocumentReference.Builder setDisplayName(String value)
display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public DocumentReference.Builder clearDisplayName()
display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public DocumentReference.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getSnippet
public String getSnippet()
Stores the subset of the referenced document's content. This is useful to allow user peek the information of the referenced document.
string snippet = 3;- Specified by:
getSnippetin interfaceDocumentReferenceOrBuilder- Returns:
- The snippet.
-
getSnippetBytes
public com.google.protobuf.ByteString getSnippetBytes()
Stores the subset of the referenced document's content. This is useful to allow user peek the information of the referenced document.
string snippet = 3;- Specified by:
getSnippetBytesin interfaceDocumentReferenceOrBuilder- Returns:
- The bytes for snippet.
-
setSnippet
public DocumentReference.Builder setSnippet(String value)
Stores the subset of the referenced document's content. This is useful to allow user peek the information of the referenced document.
string snippet = 3;- Parameters:
value- The snippet to set.- Returns:
- This builder for chaining.
-
clearSnippet
public DocumentReference.Builder clearSnippet()
Stores the subset of the referenced document's content. This is useful to allow user peek the information of the referenced document.
string snippet = 3;- Returns:
- This builder for chaining.
-
setSnippetBytes
public DocumentReference.Builder setSnippetBytes(com.google.protobuf.ByteString value)
Stores the subset of the referenced document's content. This is useful to allow user peek the information of the referenced document.
string snippet = 3;- Parameters:
value- The bytes for snippet to set.- Returns:
- This builder for chaining.
-
getDocumentIsFolder
public boolean getDocumentIsFolder()
The document type of the document being referenced.
bool document_is_folder = 4;- Specified by:
getDocumentIsFolderin interfaceDocumentReferenceOrBuilder- Returns:
- The documentIsFolder.
-
setDocumentIsFolder
public DocumentReference.Builder setDocumentIsFolder(boolean value)
The document type of the document being referenced.
bool document_is_folder = 4;- Parameters:
value- The documentIsFolder to set.- Returns:
- This builder for chaining.
-
clearDocumentIsFolder
public DocumentReference.Builder clearDocumentIsFolder()
The document type of the document being referenced.
bool document_is_folder = 4;- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDocumentReferenceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDocumentReferenceOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public DocumentReference.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public DocumentReference.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public DocumentReference.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public DocumentReference.Builder clearUpdateTime()
Output only. The time when the document 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 document 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 document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDocumentReferenceOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDocumentReferenceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDocumentReferenceOrBuilder- Returns:
- The createTime.
-
setCreateTime
public DocumentReference.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public DocumentReference.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public DocumentReference.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public DocumentReference.Builder clearCreateTime()
Output only. The time when the document 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 document 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 document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDocumentReferenceOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceDocumentReferenceOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceDocumentReferenceOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
public DocumentReference.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDeleteTime
public DocumentReference.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDeleteTime
public DocumentReference.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeleteTime
public DocumentReference.Builder clearDeleteTime()
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceDocumentReferenceOrBuilder
-
getDocumentIsRetentionFolder
public boolean getDocumentIsRetentionFolder()
Document is a folder with retention policy.
bool document_is_retention_folder = 8;- Specified by:
getDocumentIsRetentionFolderin interfaceDocumentReferenceOrBuilder- Returns:
- The documentIsRetentionFolder.
-
setDocumentIsRetentionFolder
public DocumentReference.Builder setDocumentIsRetentionFolder(boolean value)
Document is a folder with retention policy.
bool document_is_retention_folder = 8;- Parameters:
value- The documentIsRetentionFolder to set.- Returns:
- This builder for chaining.
-
clearDocumentIsRetentionFolder
public DocumentReference.Builder clearDocumentIsRetentionFolder()
Document is a folder with retention policy.
bool document_is_retention_folder = 8;- Returns:
- This builder for chaining.
-
getDocumentIsLegalHoldFolder
public boolean getDocumentIsLegalHoldFolder()
Document is a folder with legal hold.
bool document_is_legal_hold_folder = 9;- Specified by:
getDocumentIsLegalHoldFolderin interfaceDocumentReferenceOrBuilder- Returns:
- The documentIsLegalHoldFolder.
-
setDocumentIsLegalHoldFolder
public DocumentReference.Builder setDocumentIsLegalHoldFolder(boolean value)
Document is a folder with legal hold.
bool document_is_legal_hold_folder = 9;- Parameters:
value- The documentIsLegalHoldFolder to set.- Returns:
- This builder for chaining.
-
clearDocumentIsLegalHoldFolder
public DocumentReference.Builder clearDocumentIsLegalHoldFolder()
Document is a folder with legal hold.
bool document_is_legal_hold_folder = 9;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DocumentReference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
mergeUnknownFields
public final DocumentReference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentReference.Builder>
-
-