- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 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 DocumentReference.Builder extends GeneratedMessageV3.Builder<DocumentReference.Builder> implements DocumentReferenceOrBuilder
References to the documents.
Protobuf type google.cloud.contentwarehouse.v1.DocumentReference
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DocumentReference.BuilderImplements
DocumentReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
build()
public DocumentReference build()
Returns | |
---|---|
Type | Description |
DocumentReference |
buildPartial()
public DocumentReference buildPartial()
Returns | |
---|---|
Type | Description |
DocumentReference |
clear()
public DocumentReference.Builder clear()
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
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];
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
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];
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
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 | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
clearDocumentIsFolder()
public DocumentReference.Builder clearDocumentIsFolder()
The document type of the document being referenced.
bool document_is_folder = 4;
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
clearDocumentIsLegalHoldFolder()
public DocumentReference.Builder clearDocumentIsLegalHoldFolder()
Document is a folder with legal hold.
bool document_is_legal_hold_folder = 9;
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
clearDocumentIsRetentionFolder()
public DocumentReference.Builder clearDocumentIsRetentionFolder()
Document is a folder with retention policy.
bool document_is_retention_folder = 8;
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
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 | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DocumentReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
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 | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
clone()
public DocumentReference.Builder clone()
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public DocumentReference getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DocumentReference |
getDeleteTime()
public Timestamp getDeleteTime()
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getDocumentIsFolder()
public boolean getDocumentIsFolder()
The document type of the document being referenced.
bool document_is_folder = 4;
Returns | |
---|---|
Type | Description |
boolean |
The documentIsFolder. |
getDocumentIsLegalHoldFolder()
public boolean getDocumentIsLegalHoldFolder()
Document is a folder with legal hold.
bool document_is_legal_hold_folder = 9;
Returns | |
---|---|
Type | Description |
boolean |
The documentIsLegalHoldFolder. |
getDocumentIsRetentionFolder()
public boolean getDocumentIsRetentionFolder()
Document is a folder with retention policy.
bool document_is_retention_folder = 8;
Returns | |
---|---|
Type | Description |
boolean |
The documentIsRetentionFolder. |
getDocumentName()
public String getDocumentName()
Required. Name of the referenced document.
string document_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The documentName. |
getDocumentNameBytes()
public ByteString getDocumentNameBytes()
Required. Name of the referenced document.
string document_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for documentName. |
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;
Returns | |
---|---|
Type | Description |
String |
The snippet. |
getSnippetBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for snippet. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the deleteTime field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public DocumentReference.Builder mergeCreateTime(Timestamp value)
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
mergeDeleteTime(Timestamp value)
public DocumentReference.Builder mergeDeleteTime(Timestamp value)
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
mergeFrom(DocumentReference other)
public DocumentReference.Builder mergeFrom(DocumentReference other)
Parameter | |
---|---|
Name | Description |
other |
DocumentReference |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DocumentReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DocumentReference.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
mergeUpdateTime(Timestamp value)
public DocumentReference.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setCreateTime(Timestamp value)
public DocumentReference.Builder setCreateTime(Timestamp value)
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public DocumentReference.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the document is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setDeleteTime(Timestamp value)
public DocumentReference.Builder setDeleteTime(Timestamp value)
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setDeleteTime(Timestamp.Builder builderForValue)
public DocumentReference.Builder setDeleteTime(Timestamp.Builder builderForValue)
Output only. The time when the document is deleted.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setDisplayName(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DocumentReference.Builder setDisplayNameBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setDocumentIsFolder(boolean value)
public DocumentReference.Builder setDocumentIsFolder(boolean value)
The document type of the document being referenced.
bool document_is_folder = 4;
Parameter | |
---|---|
Name | Description |
value |
boolean The documentIsFolder to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setDocumentIsLegalHoldFolder(boolean value)
public DocumentReference.Builder setDocumentIsLegalHoldFolder(boolean value)
Document is a folder with legal hold.
bool document_is_legal_hold_folder = 9;
Parameter | |
---|---|
Name | Description |
value |
boolean The documentIsLegalHoldFolder to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setDocumentIsRetentionFolder(boolean value)
public DocumentReference.Builder setDocumentIsRetentionFolder(boolean value)
Document is a folder with retention policy.
bool document_is_retention_folder = 8;
Parameter | |
---|---|
Name | Description |
value |
boolean The documentIsRetentionFolder to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setDocumentName(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The documentName to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setDocumentNameBytes(ByteString value)
public DocumentReference.Builder setDocumentNameBytes(ByteString value)
Required. Name of the referenced document.
string document_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for documentName to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setSnippet(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The snippet to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setSnippetBytes(ByteString value)
public DocumentReference.Builder setSnippetBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for snippet to set. |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setUpdateTime(Timestamp value)
public DocumentReference.Builder setUpdateTime(Timestamp value)
Output only. The time when the document is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public DocumentReference.Builder setUpdateTime(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DocumentReference.Builder |