Class ArtworkInfo.Builder

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

public static final class ArtworkInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<ArtworkInfo.Builder> implements ArtworkInfoOrBuilder
 Artwork or object information.
 
Protobuf type ai.pipestream.parsed.data.image.v1.ArtworkInfo
  • 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<ArtworkInfo.Builder>
    • clear

      public ArtworkInfo.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<ArtworkInfo.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<ArtworkInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ArtworkInfo.Builder mergeFrom(ArtworkInfo other)
    • isInitialized

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

      public ArtworkInfo.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<ArtworkInfo.Builder>
      Throws:
      IOException
    • hasTitle

      public boolean hasTitle()
       Title of the artwork or object.
       
      optional string title = 1 [json_name = "title"];
      Specified by:
      hasTitle in interface ArtworkInfoOrBuilder
      Returns:
      Whether the title field is set.
    • getTitle

      public String getTitle()
       Title of the artwork or object.
       
      optional string title = 1 [json_name = "title"];
      Specified by:
      getTitle in interface ArtworkInfoOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       Title of the artwork or object.
       
      optional string title = 1 [json_name = "title"];
      Specified by:
      getTitleBytes in interface ArtworkInfoOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public ArtworkInfo.Builder setTitle(String value)
       Title of the artwork or object.
       
      optional string title = 1 [json_name = "title"];
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public ArtworkInfo.Builder clearTitle()
       Title of the artwork or object.
       
      optional string title = 1 [json_name = "title"];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public ArtworkInfo.Builder setTitleBytes(com.google.protobuf.ByteString value)
       Title of the artwork or object.
       
      optional string title = 1 [json_name = "title"];
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • hasCreator

      public boolean hasCreator()
       Artist or creator name.
       
      optional string creator = 2 [json_name = "creator"];
      Specified by:
      hasCreator in interface ArtworkInfoOrBuilder
      Returns:
      Whether the creator field is set.
    • getCreator

      public String getCreator()
       Artist or creator name.
       
      optional string creator = 2 [json_name = "creator"];
      Specified by:
      getCreator in interface ArtworkInfoOrBuilder
      Returns:
      The creator.
    • getCreatorBytes

      public com.google.protobuf.ByteString getCreatorBytes()
       Artist or creator name.
       
      optional string creator = 2 [json_name = "creator"];
      Specified by:
      getCreatorBytes in interface ArtworkInfoOrBuilder
      Returns:
      The bytes for creator.
    • setCreator

      public ArtworkInfo.Builder setCreator(String value)
       Artist or creator name.
       
      optional string creator = 2 [json_name = "creator"];
      Parameters:
      value - The creator to set.
      Returns:
      This builder for chaining.
    • clearCreator

      public ArtworkInfo.Builder clearCreator()
       Artist or creator name.
       
      optional string creator = 2 [json_name = "creator"];
      Returns:
      This builder for chaining.
    • setCreatorBytes

      public ArtworkInfo.Builder setCreatorBytes(com.google.protobuf.ByteString value)
       Artist or creator name.
       
      optional string creator = 2 [json_name = "creator"];
      Parameters:
      value - The bytes for creator to set.
      Returns:
      This builder for chaining.
    • hasDateCreated

      public boolean hasDateCreated()
       Date when artwork was created.
       
      optional .google.protobuf.Timestamp date_created = 3 [json_name = "dateCreated"];
      Specified by:
      hasDateCreated in interface ArtworkInfoOrBuilder
      Returns:
      Whether the dateCreated field is set.
    • getDateCreated

      public com.google.protobuf.Timestamp getDateCreated()
       Date when artwork was created.
       
      optional .google.protobuf.Timestamp date_created = 3 [json_name = "dateCreated"];
      Specified by:
      getDateCreated in interface ArtworkInfoOrBuilder
      Returns:
      The dateCreated.
    • setDateCreated

      public ArtworkInfo.Builder setDateCreated(com.google.protobuf.Timestamp value)
       Date when artwork was created.
       
      optional .google.protobuf.Timestamp date_created = 3 [json_name = "dateCreated"];
    • setDateCreated

      public ArtworkInfo.Builder setDateCreated(com.google.protobuf.Timestamp.Builder builderForValue)
       Date when artwork was created.
       
      optional .google.protobuf.Timestamp date_created = 3 [json_name = "dateCreated"];
    • mergeDateCreated

      public ArtworkInfo.Builder mergeDateCreated(com.google.protobuf.Timestamp value)
       Date when artwork was created.
       
      optional .google.protobuf.Timestamp date_created = 3 [json_name = "dateCreated"];
    • clearDateCreated

      public ArtworkInfo.Builder clearDateCreated()
       Date when artwork was created.
       
      optional .google.protobuf.Timestamp date_created = 3 [json_name = "dateCreated"];
    • getDateCreatedBuilder

      public com.google.protobuf.Timestamp.Builder getDateCreatedBuilder()
       Date when artwork was created.
       
      optional .google.protobuf.Timestamp date_created = 3 [json_name = "dateCreated"];
    • getDateCreatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDateCreatedOrBuilder()
       Date when artwork was created.
       
      optional .google.protobuf.Timestamp date_created = 3 [json_name = "dateCreated"];
      Specified by:
      getDateCreatedOrBuilder in interface ArtworkInfoOrBuilder
    • hasCopyrightNotice

      public boolean hasCopyrightNotice()
       Copyright notice for the artwork.
       
      optional string copyright_notice = 4 [json_name = "copyrightNotice"];
      Specified by:
      hasCopyrightNotice in interface ArtworkInfoOrBuilder
      Returns:
      Whether the copyrightNotice field is set.
    • getCopyrightNotice

      public String getCopyrightNotice()
       Copyright notice for the artwork.
       
      optional string copyright_notice = 4 [json_name = "copyrightNotice"];
      Specified by:
      getCopyrightNotice in interface ArtworkInfoOrBuilder
      Returns:
      The copyrightNotice.
    • getCopyrightNoticeBytes

      public com.google.protobuf.ByteString getCopyrightNoticeBytes()
       Copyright notice for the artwork.
       
      optional string copyright_notice = 4 [json_name = "copyrightNotice"];
      Specified by:
      getCopyrightNoticeBytes in interface ArtworkInfoOrBuilder
      Returns:
      The bytes for copyrightNotice.
    • setCopyrightNotice

      public ArtworkInfo.Builder setCopyrightNotice(String value)
       Copyright notice for the artwork.
       
      optional string copyright_notice = 4 [json_name = "copyrightNotice"];
      Parameters:
      value - The copyrightNotice to set.
      Returns:
      This builder for chaining.
    • clearCopyrightNotice

      public ArtworkInfo.Builder clearCopyrightNotice()
       Copyright notice for the artwork.
       
      optional string copyright_notice = 4 [json_name = "copyrightNotice"];
      Returns:
      This builder for chaining.
    • setCopyrightNoticeBytes

      public ArtworkInfo.Builder setCopyrightNoticeBytes(com.google.protobuf.ByteString value)
       Copyright notice for the artwork.
       
      optional string copyright_notice = 4 [json_name = "copyrightNotice"];
      Parameters:
      value - The bytes for copyrightNotice to set.
      Returns:
      This builder for chaining.
    • hasSource

      public boolean hasSource()
       Holding organization or institution.
       
      optional string source = 5 [json_name = "source"];
      Specified by:
      hasSource in interface ArtworkInfoOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       Holding organization or institution.
       
      optional string source = 5 [json_name = "source"];
      Specified by:
      getSource in interface ArtworkInfoOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Holding organization or institution.
       
      optional string source = 5 [json_name = "source"];
      Specified by:
      getSourceBytes in interface ArtworkInfoOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public ArtworkInfo.Builder setSource(String value)
       Holding organization or institution.
       
      optional string source = 5 [json_name = "source"];
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public ArtworkInfo.Builder clearSource()
       Holding organization or institution.
       
      optional string source = 5 [json_name = "source"];
      Returns:
      This builder for chaining.
    • setSourceBytes

      public ArtworkInfo.Builder setSourceBytes(com.google.protobuf.ByteString value)
       Holding organization or institution.
       
      optional string source = 5 [json_name = "source"];
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • hasSourceInventoryNumber

      public boolean hasSourceInventoryNumber()
       Inventory or accession number.
       
      optional string source_inventory_number = 6 [json_name = "sourceInventoryNumber"];
      Specified by:
      hasSourceInventoryNumber in interface ArtworkInfoOrBuilder
      Returns:
      Whether the sourceInventoryNumber field is set.
    • getSourceInventoryNumber

      public String getSourceInventoryNumber()
       Inventory or accession number.
       
      optional string source_inventory_number = 6 [json_name = "sourceInventoryNumber"];
      Specified by:
      getSourceInventoryNumber in interface ArtworkInfoOrBuilder
      Returns:
      The sourceInventoryNumber.
    • getSourceInventoryNumberBytes

      public com.google.protobuf.ByteString getSourceInventoryNumberBytes()
       Inventory or accession number.
       
      optional string source_inventory_number = 6 [json_name = "sourceInventoryNumber"];
      Specified by:
      getSourceInventoryNumberBytes in interface ArtworkInfoOrBuilder
      Returns:
      The bytes for sourceInventoryNumber.
    • setSourceInventoryNumber

      public ArtworkInfo.Builder setSourceInventoryNumber(String value)
       Inventory or accession number.
       
      optional string source_inventory_number = 6 [json_name = "sourceInventoryNumber"];
      Parameters:
      value - The sourceInventoryNumber to set.
      Returns:
      This builder for chaining.
    • clearSourceInventoryNumber

      public ArtworkInfo.Builder clearSourceInventoryNumber()
       Inventory or accession number.
       
      optional string source_inventory_number = 6 [json_name = "sourceInventoryNumber"];
      Returns:
      This builder for chaining.
    • setSourceInventoryNumberBytes

      public ArtworkInfo.Builder setSourceInventoryNumberBytes(com.google.protobuf.ByteString value)
       Inventory or accession number.
       
      optional string source_inventory_number = 6 [json_name = "sourceInventoryNumber"];
      Parameters:
      value - The bytes for sourceInventoryNumber to set.
      Returns:
      This builder for chaining.