Class Document.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
com.google.firestore.v1.Document.Builder
All Implemented Interfaces:
DocumentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Document

public static final class Document.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder> implements DocumentOrBuilder
 A Firestore document.

 Must not exceed 1 MiB - 4 bytes.
 
Protobuf type google.firestore.v1.Document
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • clear

      public Document.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • getDefaultInstanceForType

      public Document getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Document build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Document buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Document.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • setField

      public Document.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • clearField

      public Document.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • clearOneof

      public Document.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • setRepeatedField

      public Document.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • addRepeatedField

      public Document.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • mergeFrom

      public Document.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.Builder>
    • mergeFrom

      public Document.Builder mergeFrom(Document other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • mergeFrom

      public Document.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The resource name of the document, for example
       `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
       
      string name = 1;
      Specified by:
      getName in interface DocumentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The resource name of the document, for example
       `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface DocumentOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Document.Builder setName(String value)
       The resource name of the document, for example
       `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Document.Builder clearName()
       The resource name of the document, for example
       `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Document.Builder setNameBytes(com.google.protobuf.ByteString value)
       The resource name of the document, for example
       `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getFieldsCount

      public int getFieldsCount()
      Description copied from interface: DocumentOrBuilder
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
      Specified by:
      getFieldsCount in interface DocumentOrBuilder
    • containsFields

      public boolean containsFields(String key)
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
      Specified by:
      containsFields in interface DocumentOrBuilder
    • getFields

      @Deprecated public Map<String,Value> getFields()
      Deprecated.
      Use getFieldsMap() instead.
      Specified by:
      getFields in interface DocumentOrBuilder
    • getFieldsMap

      public Map<String,Value> getFieldsMap()
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
      Specified by:
      getFieldsMap in interface DocumentOrBuilder
    • getFieldsOrDefault

      public Value getFieldsOrDefault(String key, Value defaultValue)
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
      Specified by:
      getFieldsOrDefault in interface DocumentOrBuilder
    • getFieldsOrThrow

      public Value getFieldsOrThrow(String key)
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
      Specified by:
      getFieldsOrThrow in interface DocumentOrBuilder
    • clearFields

      public Document.Builder clearFields()
    • removeFields

      public Document.Builder removeFields(String key)
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
    • getMutableFields

      @Deprecated public Map<String,Value> getMutableFields()
      Deprecated.
      Use alternate mutation accessors instead.
    • putFields

      public Document.Builder putFields(String key, Value value)
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
    • putAllFields

      public Document.Builder putAllFields(Map<String,Value> values)
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
    • putFieldsBuilderIfAbsent

      public Value.Builder putFieldsBuilderIfAbsent(String key)
       The document's fields.
      
       The map keys represent field names.
      
       Field names matching the regular expression `__.*__` are reserved. Reserved
       field names are forbidden except in certain documented contexts. The field
       names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
       empty.
      
       Field paths may be used in other contexts to refer to structured fields
       defined here. For `map_value`, the field path is represented by a
       dot-delimited (`.`) string of segments. Each segment is either a simple
       field name (defined below) or a quoted field name. For example, the
       structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
       }}}` would be represented by the field path `` foo.`x&y` ``.
      
       A simple field name contains only characters `a` to `z`, `A` to `Z`,
       `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
       `foo_bar_17`.
      
       A quoted field name starts and ends with `` ` `` and
       may contain any character. Some characters, including `` ` ``, must be
       escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
       `` `bak\`tik` `` represents `` bak`tik ``.
       
      map<string, .google.firestore.v1.Value> fields = 2;
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which the document was created.
      
       This value increases monotonically when a document is deleted then
       recreated. It can also be compared to values from other documents and
       the `read_time` of a query.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      hasCreateTime in interface DocumentOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the document was created.
      
       This value increases monotonically when a document is deleted then
       recreated. It can also be compared to values from other documents and
       the `read_time` of a query.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTime in interface DocumentOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Document.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the document was created.
      
       This value increases monotonically when a document is deleted then
       recreated. It can also be compared to values from other documents and
       the `read_time` of a query.
       
      .google.protobuf.Timestamp create_time = 3;
    • setCreateTime

      public Document.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the document was created.
      
       This value increases monotonically when a document is deleted then
       recreated. It can also be compared to values from other documents and
       the `read_time` of a query.
       
      .google.protobuf.Timestamp create_time = 3;
    • mergeCreateTime

      public Document.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the document was created.
      
       This value increases monotonically when a document is deleted then
       recreated. It can also be compared to values from other documents and
       the `read_time` of a query.
       
      .google.protobuf.Timestamp create_time = 3;
    • clearCreateTime

      public Document.Builder clearCreateTime()
       Output only. The time at which the document was created.
      
       This value increases monotonically when a document is deleted then
       recreated. It can also be compared to values from other documents and
       the `read_time` of a query.
       
      .google.protobuf.Timestamp create_time = 3;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time at which the document was created.
      
       This value increases monotonically when a document is deleted then
       recreated. It can also be compared to values from other documents and
       the `read_time` of a query.
       
      .google.protobuf.Timestamp create_time = 3;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the document was created.
      
       This value increases monotonically when a document is deleted then
       recreated. It can also be compared to values from other documents and
       the `read_time` of a query.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTimeOrBuilder in interface DocumentOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time at which the document was last changed.
      
       This value is initially set to the `create_time` then increases
       monotonically with each change to the document. It can also be
       compared to values from other documents and the `read_time` of a query.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      hasUpdateTime in interface DocumentOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which the document was last changed.
      
       This value is initially set to the `create_time` then increases
       monotonically with each change to the document. It can also be
       compared to values from other documents and the `read_time` of a query.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      getUpdateTime in interface DocumentOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Document.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the document was last changed.
      
       This value is initially set to the `create_time` then increases
       monotonically with each change to the document. It can also be
       compared to values from other documents and the `read_time` of a query.
       
      .google.protobuf.Timestamp update_time = 4;
    • setUpdateTime

      public Document.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the document was last changed.
      
       This value is initially set to the `create_time` then increases
       monotonically with each change to the document. It can also be
       compared to values from other documents and the `read_time` of a query.
       
      .google.protobuf.Timestamp update_time = 4;
    • mergeUpdateTime

      public Document.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the document was last changed.
      
       This value is initially set to the `create_time` then increases
       monotonically with each change to the document. It can also be
       compared to values from other documents and the `read_time` of a query.
       
      .google.protobuf.Timestamp update_time = 4;
    • clearUpdateTime

      public Document.Builder clearUpdateTime()
       Output only. The time at which the document was last changed.
      
       This value is initially set to the `create_time` then increases
       monotonically with each change to the document. It can also be
       compared to values from other documents and the `read_time` of a query.
       
      .google.protobuf.Timestamp update_time = 4;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time at which the document was last changed.
      
       This value is initially set to the `create_time` then increases
       monotonically with each change to the document. It can also be
       compared to values from other documents and the `read_time` of a query.
       
      .google.protobuf.Timestamp update_time = 4;
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the document was last changed.
      
       This value is initially set to the `create_time` then increases
       monotonically with each change to the document. It can also be
       compared to values from other documents and the `read_time` of a query.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      getUpdateTimeOrBuilder in interface DocumentOrBuilder
    • setUnknownFields

      public final Document.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>
    • mergeUnknownFields

      public final Document.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Builder>