Class DublinCoreMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DublinCoreMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<DublinCoreMetadata.Builder>
ai.pipestream.parsed.data.dublin.v1.DublinCoreMetadata.Builder
All Implemented Interfaces:
DublinCoreMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DublinCoreMetadata

public static final class DublinCoreMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<DublinCoreMetadata.Builder> implements DublinCoreMetadataOrBuilder
 Dublin Core metadata - the standardized metadata that most documents have.
 These are the actual fields that Tika's DublinCore interface provides.
 
Protobuf type ai.pipestream.parsed.data.dublin.v1.DublinCoreMetadata
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DublinCoreMetadata.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.GeneratedMessage.Builder<DublinCoreMetadata.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.GeneratedMessage.Builder<DublinCoreMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public DublinCoreMetadata.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<DublinCoreMetadata.Builder>
    • mergeFrom

    • isInitialized

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

      public DublinCoreMetadata.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<DublinCoreMetadata.Builder>
      Throws:
      IOException
    • hasFormat

      public boolean hasFormat()
       dc:format - Media type or format of the resource
       
      optional string format = 1 [json_name = "format"];
      Specified by:
      hasFormat in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the format field is set.
    • getFormat

      public String getFormat()
       dc:format - Media type or format of the resource
       
      optional string format = 1 [json_name = "format"];
      Specified by:
      getFormat in interface DublinCoreMetadataOrBuilder
      Returns:
      The format.
    • getFormatBytes

      public com.google.protobuf.ByteString getFormatBytes()
       dc:format - Media type or format of the resource
       
      optional string format = 1 [json_name = "format"];
      Specified by:
      getFormatBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for format.
    • setFormat

      public DublinCoreMetadata.Builder setFormat(String value)
       dc:format - Media type or format of the resource
       
      optional string format = 1 [json_name = "format"];
      Parameters:
      value - The format to set.
      Returns:
      This builder for chaining.
    • clearFormat

      public DublinCoreMetadata.Builder clearFormat()
       dc:format - Media type or format of the resource
       
      optional string format = 1 [json_name = "format"];
      Returns:
      This builder for chaining.
    • setFormatBytes

      public DublinCoreMetadata.Builder setFormatBytes(com.google.protobuf.ByteString value)
       dc:format - Media type or format of the resource
       
      optional string format = 1 [json_name = "format"];
      Parameters:
      value - The bytes for format to set.
      Returns:
      This builder for chaining.
    • hasIdentifier

      public boolean hasIdentifier()
       dc:identifier - Unique identifier (URI, DOI, ISBN, etc.)
       
      optional string identifier = 2 [json_name = "identifier"];
      Specified by:
      hasIdentifier in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the identifier field is set.
    • getIdentifier

      public String getIdentifier()
       dc:identifier - Unique identifier (URI, DOI, ISBN, etc.)
       
      optional string identifier = 2 [json_name = "identifier"];
      Specified by:
      getIdentifier in interface DublinCoreMetadataOrBuilder
      Returns:
      The identifier.
    • getIdentifierBytes

      public com.google.protobuf.ByteString getIdentifierBytes()
       dc:identifier - Unique identifier (URI, DOI, ISBN, etc.)
       
      optional string identifier = 2 [json_name = "identifier"];
      Specified by:
      getIdentifierBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for identifier.
    • setIdentifier

      public DublinCoreMetadata.Builder setIdentifier(String value)
       dc:identifier - Unique identifier (URI, DOI, ISBN, etc.)
       
      optional string identifier = 2 [json_name = "identifier"];
      Parameters:
      value - The identifier to set.
      Returns:
      This builder for chaining.
    • clearIdentifier

      public DublinCoreMetadata.Builder clearIdentifier()
       dc:identifier - Unique identifier (URI, DOI, ISBN, etc.)
       
      optional string identifier = 2 [json_name = "identifier"];
      Returns:
      This builder for chaining.
    • setIdentifierBytes

      public DublinCoreMetadata.Builder setIdentifierBytes(com.google.protobuf.ByteString value)
       dc:identifier - Unique identifier (URI, DOI, ISBN, etc.)
       
      optional string identifier = 2 [json_name = "identifier"];
      Parameters:
      value - The bytes for identifier to set.
      Returns:
      This builder for chaining.
    • hasModified

      public boolean hasModified()
       dcterms:modified - Date when the resource was last modified
       
      optional .google.protobuf.Timestamp modified = 3 [json_name = "modified"];
      Specified by:
      hasModified in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the modified field is set.
    • getModified

      public com.google.protobuf.Timestamp getModified()
       dcterms:modified - Date when the resource was last modified
       
      optional .google.protobuf.Timestamp modified = 3 [json_name = "modified"];
      Specified by:
      getModified in interface DublinCoreMetadataOrBuilder
      Returns:
      The modified.
    • setModified

      public DublinCoreMetadata.Builder setModified(com.google.protobuf.Timestamp value)
       dcterms:modified - Date when the resource was last modified
       
      optional .google.protobuf.Timestamp modified = 3 [json_name = "modified"];
    • setModified

      public DublinCoreMetadata.Builder setModified(com.google.protobuf.Timestamp.Builder builderForValue)
       dcterms:modified - Date when the resource was last modified
       
      optional .google.protobuf.Timestamp modified = 3 [json_name = "modified"];
    • mergeModified

      public DublinCoreMetadata.Builder mergeModified(com.google.protobuf.Timestamp value)
       dcterms:modified - Date when the resource was last modified
       
      optional .google.protobuf.Timestamp modified = 3 [json_name = "modified"];
    • clearModified

      public DublinCoreMetadata.Builder clearModified()
       dcterms:modified - Date when the resource was last modified
       
      optional .google.protobuf.Timestamp modified = 3 [json_name = "modified"];
    • getModifiedBuilder

      public com.google.protobuf.Timestamp.Builder getModifiedBuilder()
       dcterms:modified - Date when the resource was last modified
       
      optional .google.protobuf.Timestamp modified = 3 [json_name = "modified"];
    • getModifiedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getModifiedOrBuilder()
       dcterms:modified - Date when the resource was last modified
       
      optional .google.protobuf.Timestamp modified = 3 [json_name = "modified"];
      Specified by:
      getModifiedOrBuilder in interface DublinCoreMetadataOrBuilder
    • getContributorsList

      public com.google.protobuf.ProtocolStringList getContributorsList()
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Specified by:
      getContributorsList in interface DublinCoreMetadataOrBuilder
      Returns:
      A list containing the contributors.
    • getContributorsCount

      public int getContributorsCount()
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Specified by:
      getContributorsCount in interface DublinCoreMetadataOrBuilder
      Returns:
      The count of contributors.
    • getContributors

      public String getContributors(int index)
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Specified by:
      getContributors in interface DublinCoreMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The contributors at the given index.
    • getContributorsBytes

      public com.google.protobuf.ByteString getContributorsBytes(int index)
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Specified by:
      getContributorsBytes in interface DublinCoreMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the contributors at the given index.
    • setContributors

      public DublinCoreMetadata.Builder setContributors(int index, String value)
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Parameters:
      index - The index to set the value at.
      value - The contributors to set.
      Returns:
      This builder for chaining.
    • addContributors

      public DublinCoreMetadata.Builder addContributors(String value)
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Parameters:
      value - The contributors to add.
      Returns:
      This builder for chaining.
    • addAllContributors

      public DublinCoreMetadata.Builder addAllContributors(Iterable<String> values)
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Parameters:
      values - The contributors to add.
      Returns:
      This builder for chaining.
    • clearContributors

      public DublinCoreMetadata.Builder clearContributors()
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Returns:
      This builder for chaining.
    • addContributorsBytes

      public DublinCoreMetadata.Builder addContributorsBytes(com.google.protobuf.ByteString value)
       dc:contributor - Entities that contributed to the resource
       
      repeated string contributors = 4 [json_name = "contributors"];
      Parameters:
      value - The bytes of the contributors to add.
      Returns:
      This builder for chaining.
    • hasCoverage

      public boolean hasCoverage()
       dc:coverage - Spatial or temporal coverage
       
      optional string coverage = 5 [json_name = "coverage"];
      Specified by:
      hasCoverage in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the coverage field is set.
    • getCoverage

      public String getCoverage()
       dc:coverage - Spatial or temporal coverage
       
      optional string coverage = 5 [json_name = "coverage"];
      Specified by:
      getCoverage in interface DublinCoreMetadataOrBuilder
      Returns:
      The coverage.
    • getCoverageBytes

      public com.google.protobuf.ByteString getCoverageBytes()
       dc:coverage - Spatial or temporal coverage
       
      optional string coverage = 5 [json_name = "coverage"];
      Specified by:
      getCoverageBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for coverage.
    • setCoverage

      public DublinCoreMetadata.Builder setCoverage(String value)
       dc:coverage - Spatial or temporal coverage
       
      optional string coverage = 5 [json_name = "coverage"];
      Parameters:
      value - The coverage to set.
      Returns:
      This builder for chaining.
    • clearCoverage

      public DublinCoreMetadata.Builder clearCoverage()
       dc:coverage - Spatial or temporal coverage
       
      optional string coverage = 5 [json_name = "coverage"];
      Returns:
      This builder for chaining.
    • setCoverageBytes

      public DublinCoreMetadata.Builder setCoverageBytes(com.google.protobuf.ByteString value)
       dc:coverage - Spatial or temporal coverage
       
      optional string coverage = 5 [json_name = "coverage"];
      Parameters:
      value - The bytes for coverage to set.
      Returns:
      This builder for chaining.
    • getCreatorsList

      public com.google.protobuf.ProtocolStringList getCreatorsList()
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Specified by:
      getCreatorsList in interface DublinCoreMetadataOrBuilder
      Returns:
      A list containing the creators.
    • getCreatorsCount

      public int getCreatorsCount()
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Specified by:
      getCreatorsCount in interface DublinCoreMetadataOrBuilder
      Returns:
      The count of creators.
    • getCreators

      public String getCreators(int index)
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Specified by:
      getCreators in interface DublinCoreMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The creators at the given index.
    • getCreatorsBytes

      public com.google.protobuf.ByteString getCreatorsBytes(int index)
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Specified by:
      getCreatorsBytes in interface DublinCoreMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the creators at the given index.
    • setCreators

      public DublinCoreMetadata.Builder setCreators(int index, String value)
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Parameters:
      index - The index to set the value at.
      value - The creators to set.
      Returns:
      This builder for chaining.
    • addCreators

      public DublinCoreMetadata.Builder addCreators(String value)
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Parameters:
      value - The creators to add.
      Returns:
      This builder for chaining.
    • addAllCreators

      public DublinCoreMetadata.Builder addAllCreators(Iterable<String> values)
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Parameters:
      values - The creators to add.
      Returns:
      This builder for chaining.
    • clearCreators

      public DublinCoreMetadata.Builder clearCreators()
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Returns:
      This builder for chaining.
    • addCreatorsBytes

      public DublinCoreMetadata.Builder addCreatorsBytes(com.google.protobuf.ByteString value)
       dc:creator - Primary creators/authors of the resource
       
      repeated string creators = 6 [json_name = "creators"];
      Parameters:
      value - The bytes of the creators to add.
      Returns:
      This builder for chaining.
    • hasCreated

      public boolean hasCreated()
       dcterms:created - Date of creation
       
      optional .google.protobuf.Timestamp created = 7 [json_name = "created"];
      Specified by:
      hasCreated in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the created field is set.
    • getCreated

      public com.google.protobuf.Timestamp getCreated()
       dcterms:created - Date of creation
       
      optional .google.protobuf.Timestamp created = 7 [json_name = "created"];
      Specified by:
      getCreated in interface DublinCoreMetadataOrBuilder
      Returns:
      The created.
    • setCreated

      public DublinCoreMetadata.Builder setCreated(com.google.protobuf.Timestamp value)
       dcterms:created - Date of creation
       
      optional .google.protobuf.Timestamp created = 7 [json_name = "created"];
    • setCreated

      public DublinCoreMetadata.Builder setCreated(com.google.protobuf.Timestamp.Builder builderForValue)
       dcterms:created - Date of creation
       
      optional .google.protobuf.Timestamp created = 7 [json_name = "created"];
    • mergeCreated

      public DublinCoreMetadata.Builder mergeCreated(com.google.protobuf.Timestamp value)
       dcterms:created - Date of creation
       
      optional .google.protobuf.Timestamp created = 7 [json_name = "created"];
    • clearCreated

      public DublinCoreMetadata.Builder clearCreated()
       dcterms:created - Date of creation
       
      optional .google.protobuf.Timestamp created = 7 [json_name = "created"];
    • getCreatedBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedBuilder()
       dcterms:created - Date of creation
       
      optional .google.protobuf.Timestamp created = 7 [json_name = "created"];
    • getCreatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()
       dcterms:created - Date of creation
       
      optional .google.protobuf.Timestamp created = 7 [json_name = "created"];
      Specified by:
      getCreatedOrBuilder in interface DublinCoreMetadataOrBuilder
    • hasDate

      public boolean hasDate()
       dc:date - Generic date associated with the resource
       
      optional .google.protobuf.Timestamp date = 8 [json_name = "date"];
      Specified by:
      hasDate in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the date field is set.
    • getDate

      public com.google.protobuf.Timestamp getDate()
       dc:date - Generic date associated with the resource
       
      optional .google.protobuf.Timestamp date = 8 [json_name = "date"];
      Specified by:
      getDate in interface DublinCoreMetadataOrBuilder
      Returns:
      The date.
    • setDate

      public DublinCoreMetadata.Builder setDate(com.google.protobuf.Timestamp value)
       dc:date - Generic date associated with the resource
       
      optional .google.protobuf.Timestamp date = 8 [json_name = "date"];
    • setDate

      public DublinCoreMetadata.Builder setDate(com.google.protobuf.Timestamp.Builder builderForValue)
       dc:date - Generic date associated with the resource
       
      optional .google.protobuf.Timestamp date = 8 [json_name = "date"];
    • mergeDate

      public DublinCoreMetadata.Builder mergeDate(com.google.protobuf.Timestamp value)
       dc:date - Generic date associated with the resource
       
      optional .google.protobuf.Timestamp date = 8 [json_name = "date"];
    • clearDate

      public DublinCoreMetadata.Builder clearDate()
       dc:date - Generic date associated with the resource
       
      optional .google.protobuf.Timestamp date = 8 [json_name = "date"];
    • getDateBuilder

      public com.google.protobuf.Timestamp.Builder getDateBuilder()
       dc:date - Generic date associated with the resource
       
      optional .google.protobuf.Timestamp date = 8 [json_name = "date"];
    • getDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDateOrBuilder()
       dc:date - Generic date associated with the resource
       
      optional .google.protobuf.Timestamp date = 8 [json_name = "date"];
      Specified by:
      getDateOrBuilder in interface DublinCoreMetadataOrBuilder
    • hasDescription

      public boolean hasDescription()
       dc:description - Abstract, summary, or description
       
      optional string description = 9 [json_name = "description"];
      Specified by:
      hasDescription in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       dc:description - Abstract, summary, or description
       
      optional string description = 9 [json_name = "description"];
      Specified by:
      getDescription in interface DublinCoreMetadataOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       dc:description - Abstract, summary, or description
       
      optional string description = 9 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DublinCoreMetadata.Builder setDescription(String value)
       dc:description - Abstract, summary, or description
       
      optional string description = 9 [json_name = "description"];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public DublinCoreMetadata.Builder clearDescription()
       dc:description - Abstract, summary, or description
       
      optional string description = 9 [json_name = "description"];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public DublinCoreMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       dc:description - Abstract, summary, or description
       
      optional string description = 9 [json_name = "description"];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasLanguage

      public boolean hasLanguage()
       dc:language - Language of the content (e.g., "en", "fr")
       
      optional string language = 10 [json_name = "language"];
      Specified by:
      hasLanguage in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the language field is set.
    • getLanguage

      public String getLanguage()
       dc:language - Language of the content (e.g., "en", "fr")
       
      optional string language = 10 [json_name = "language"];
      Specified by:
      getLanguage in interface DublinCoreMetadataOrBuilder
      Returns:
      The language.
    • getLanguageBytes

      public com.google.protobuf.ByteString getLanguageBytes()
       dc:language - Language of the content (e.g., "en", "fr")
       
      optional string language = 10 [json_name = "language"];
      Specified by:
      getLanguageBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for language.
    • setLanguage

      public DublinCoreMetadata.Builder setLanguage(String value)
       dc:language - Language of the content (e.g., "en", "fr")
       
      optional string language = 10 [json_name = "language"];
      Parameters:
      value - The language to set.
      Returns:
      This builder for chaining.
    • clearLanguage

      public DublinCoreMetadata.Builder clearLanguage()
       dc:language - Language of the content (e.g., "en", "fr")
       
      optional string language = 10 [json_name = "language"];
      Returns:
      This builder for chaining.
    • setLanguageBytes

      public DublinCoreMetadata.Builder setLanguageBytes(com.google.protobuf.ByteString value)
       dc:language - Language of the content (e.g., "en", "fr")
       
      optional string language = 10 [json_name = "language"];
      Parameters:
      value - The bytes for language to set.
      Returns:
      This builder for chaining.
    • hasPublisher

      public boolean hasPublisher()
       dc:publisher - Entity responsible for making the resource available
       
      optional string publisher = 11 [json_name = "publisher"];
      Specified by:
      hasPublisher in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the publisher field is set.
    • getPublisher

      public String getPublisher()
       dc:publisher - Entity responsible for making the resource available
       
      optional string publisher = 11 [json_name = "publisher"];
      Specified by:
      getPublisher in interface DublinCoreMetadataOrBuilder
      Returns:
      The publisher.
    • getPublisherBytes

      public com.google.protobuf.ByteString getPublisherBytes()
       dc:publisher - Entity responsible for making the resource available
       
      optional string publisher = 11 [json_name = "publisher"];
      Specified by:
      getPublisherBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for publisher.
    • setPublisher

      public DublinCoreMetadata.Builder setPublisher(String value)
       dc:publisher - Entity responsible for making the resource available
       
      optional string publisher = 11 [json_name = "publisher"];
      Parameters:
      value - The publisher to set.
      Returns:
      This builder for chaining.
    • clearPublisher

      public DublinCoreMetadata.Builder clearPublisher()
       dc:publisher - Entity responsible for making the resource available
       
      optional string publisher = 11 [json_name = "publisher"];
      Returns:
      This builder for chaining.
    • setPublisherBytes

      public DublinCoreMetadata.Builder setPublisherBytes(com.google.protobuf.ByteString value)
       dc:publisher - Entity responsible for making the resource available
       
      optional string publisher = 11 [json_name = "publisher"];
      Parameters:
      value - The bytes for publisher to set.
      Returns:
      This builder for chaining.
    • hasRelation

      public boolean hasRelation()
       dc:relation - Related resources
       
      optional string relation = 12 [json_name = "relation"];
      Specified by:
      hasRelation in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the relation field is set.
    • getRelation

      public String getRelation()
       dc:relation - Related resources
       
      optional string relation = 12 [json_name = "relation"];
      Specified by:
      getRelation in interface DublinCoreMetadataOrBuilder
      Returns:
      The relation.
    • getRelationBytes

      public com.google.protobuf.ByteString getRelationBytes()
       dc:relation - Related resources
       
      optional string relation = 12 [json_name = "relation"];
      Specified by:
      getRelationBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for relation.
    • setRelation

      public DublinCoreMetadata.Builder setRelation(String value)
       dc:relation - Related resources
       
      optional string relation = 12 [json_name = "relation"];
      Parameters:
      value - The relation to set.
      Returns:
      This builder for chaining.
    • clearRelation

      public DublinCoreMetadata.Builder clearRelation()
       dc:relation - Related resources
       
      optional string relation = 12 [json_name = "relation"];
      Returns:
      This builder for chaining.
    • setRelationBytes

      public DublinCoreMetadata.Builder setRelationBytes(com.google.protobuf.ByteString value)
       dc:relation - Related resources
       
      optional string relation = 12 [json_name = "relation"];
      Parameters:
      value - The bytes for relation to set.
      Returns:
      This builder for chaining.
    • hasRights

      public boolean hasRights()
       dc:rights - Copyright and rights information
       
      optional string rights = 13 [json_name = "rights"];
      Specified by:
      hasRights in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the rights field is set.
    • getRights

      public String getRights()
       dc:rights - Copyright and rights information
       
      optional string rights = 13 [json_name = "rights"];
      Specified by:
      getRights in interface DublinCoreMetadataOrBuilder
      Returns:
      The rights.
    • getRightsBytes

      public com.google.protobuf.ByteString getRightsBytes()
       dc:rights - Copyright and rights information
       
      optional string rights = 13 [json_name = "rights"];
      Specified by:
      getRightsBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for rights.
    • setRights

      public DublinCoreMetadata.Builder setRights(String value)
       dc:rights - Copyright and rights information
       
      optional string rights = 13 [json_name = "rights"];
      Parameters:
      value - The rights to set.
      Returns:
      This builder for chaining.
    • clearRights

      public DublinCoreMetadata.Builder clearRights()
       dc:rights - Copyright and rights information
       
      optional string rights = 13 [json_name = "rights"];
      Returns:
      This builder for chaining.
    • setRightsBytes

      public DublinCoreMetadata.Builder setRightsBytes(com.google.protobuf.ByteString value)
       dc:rights - Copyright and rights information
       
      optional string rights = 13 [json_name = "rights"];
      Parameters:
      value - The bytes for rights to set.
      Returns:
      This builder for chaining.
    • hasSource

      public boolean hasSource()
       dc:source - Source from which this resource is derived
       
      optional string source = 14 [json_name = "source"];
      Specified by:
      hasSource in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       dc:source - Source from which this resource is derived
       
      optional string source = 14 [json_name = "source"];
      Specified by:
      getSource in interface DublinCoreMetadataOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       dc:source - Source from which this resource is derived
       
      optional string source = 14 [json_name = "source"];
      Specified by:
      getSourceBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public DublinCoreMetadata.Builder setSource(String value)
       dc:source - Source from which this resource is derived
       
      optional string source = 14 [json_name = "source"];
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public DublinCoreMetadata.Builder clearSource()
       dc:source - Source from which this resource is derived
       
      optional string source = 14 [json_name = "source"];
      Returns:
      This builder for chaining.
    • setSourceBytes

      public DublinCoreMetadata.Builder setSourceBytes(com.google.protobuf.ByteString value)
       dc:source - Source from which this resource is derived
       
      optional string source = 14 [json_name = "source"];
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • getSubjectsList

      public com.google.protobuf.ProtocolStringList getSubjectsList()
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Specified by:
      getSubjectsList in interface DublinCoreMetadataOrBuilder
      Returns:
      A list containing the subjects.
    • getSubjectsCount

      public int getSubjectsCount()
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Specified by:
      getSubjectsCount in interface DublinCoreMetadataOrBuilder
      Returns:
      The count of subjects.
    • getSubjects

      public String getSubjects(int index)
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Specified by:
      getSubjects in interface DublinCoreMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The subjects at the given index.
    • getSubjectsBytes

      public com.google.protobuf.ByteString getSubjectsBytes(int index)
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Specified by:
      getSubjectsBytes in interface DublinCoreMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the subjects at the given index.
    • setSubjects

      public DublinCoreMetadata.Builder setSubjects(int index, String value)
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Parameters:
      index - The index to set the value at.
      value - The subjects to set.
      Returns:
      This builder for chaining.
    • addSubjects

      public DublinCoreMetadata.Builder addSubjects(String value)
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Parameters:
      value - The subjects to add.
      Returns:
      This builder for chaining.
    • addAllSubjects

      public DublinCoreMetadata.Builder addAllSubjects(Iterable<String> values)
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Parameters:
      values - The subjects to add.
      Returns:
      This builder for chaining.
    • clearSubjects

      public DublinCoreMetadata.Builder clearSubjects()
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Returns:
      This builder for chaining.
    • addSubjectsBytes

      public DublinCoreMetadata.Builder addSubjectsBytes(com.google.protobuf.ByteString value)
       dc:subject - Keywords, key phrases, or classification codes
       
      repeated string subjects = 15 [json_name = "subjects"];
      Parameters:
      value - The bytes of the subjects to add.
      Returns:
      This builder for chaining.
    • hasTitle

      public boolean hasTitle()
       dc:title - The formal title of the resource
       
      optional string title = 16 [json_name = "title"];
      Specified by:
      hasTitle in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the title field is set.
    • getTitle

      public String getTitle()
       dc:title - The formal title of the resource
       
      optional string title = 16 [json_name = "title"];
      Specified by:
      getTitle in interface DublinCoreMetadataOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       dc:title - The formal title of the resource
       
      optional string title = 16 [json_name = "title"];
      Specified by:
      getTitleBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public DublinCoreMetadata.Builder setTitle(String value)
       dc:title - The formal title of the resource
       
      optional string title = 16 [json_name = "title"];
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public DublinCoreMetadata.Builder clearTitle()
       dc:title - The formal title of the resource
       
      optional string title = 16 [json_name = "title"];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public DublinCoreMetadata.Builder setTitleBytes(com.google.protobuf.ByteString value)
       dc:title - The formal title of the resource
       
      optional string title = 16 [json_name = "title"];
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
       dc:type - Nature or genre of the content
       
      optional string type = 17 [json_name = "type"];
      Specified by:
      hasType in interface DublinCoreMetadataOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       dc:type - Nature or genre of the content
       
      optional string type = 17 [json_name = "type"];
      Specified by:
      getType in interface DublinCoreMetadataOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       dc:type - Nature or genre of the content
       
      optional string type = 17 [json_name = "type"];
      Specified by:
      getTypeBytes in interface DublinCoreMetadataOrBuilder
      Returns:
      The bytes for type.
    • setType

      public DublinCoreMetadata.Builder setType(String value)
       dc:type - Nature or genre of the content
       
      optional string type = 17 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public DublinCoreMetadata.Builder clearType()
       dc:type - Nature or genre of the content
       
      optional string type = 17 [json_name = "type"];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public DublinCoreMetadata.Builder setTypeBytes(com.google.protobuf.ByteString value)
       dc:type - Nature or genre of the content
       
      optional string type = 17 [json_name = "type"];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.