Class WarcMigration.Builder

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

public static final class WarcMigration.Builder extends com.google.protobuf.GeneratedMessage.Builder<WarcMigration.Builder> implements WarcMigrationOrBuilder
 Represents a migration event in the archive's history
 
Protobuf type ai.pipestream.parsed.data.warc.v1.WarcMigration
  • 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<WarcMigration.Builder>
    • clear

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

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

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

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

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

      public WarcMigration.Builder mergeFrom(WarcMigration other)
    • isInitialized

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

      public WarcMigration.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<WarcMigration.Builder>
      Throws:
      IOException
    • hasMigrationDate

      public boolean hasMigrationDate()
       Date of the migration
       
      .google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"];
      Specified by:
      hasMigrationDate in interface WarcMigrationOrBuilder
      Returns:
      Whether the migrationDate field is set.
    • getMigrationDate

      public com.google.protobuf.Timestamp getMigrationDate()
       Date of the migration
       
      .google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"];
      Specified by:
      getMigrationDate in interface WarcMigrationOrBuilder
      Returns:
      The migrationDate.
    • setMigrationDate

      public WarcMigration.Builder setMigrationDate(com.google.protobuf.Timestamp value)
       Date of the migration
       
      .google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"];
    • setMigrationDate

      public WarcMigration.Builder setMigrationDate(com.google.protobuf.Timestamp.Builder builderForValue)
       Date of the migration
       
      .google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"];
    • mergeMigrationDate

      public WarcMigration.Builder mergeMigrationDate(com.google.protobuf.Timestamp value)
       Date of the migration
       
      .google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"];
    • clearMigrationDate

      public WarcMigration.Builder clearMigrationDate()
       Date of the migration
       
      .google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"];
    • getMigrationDateBuilder

      public com.google.protobuf.Timestamp.Builder getMigrationDateBuilder()
       Date of the migration
       
      .google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"];
    • getMigrationDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMigrationDateOrBuilder()
       Date of the migration
       
      .google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"];
      Specified by:
      getMigrationDateOrBuilder in interface WarcMigrationOrBuilder
    • getFromFormat

      public String getFromFormat()
       Source format before migration
       
      string from_format = 2 [json_name = "fromFormat"];
      Specified by:
      getFromFormat in interface WarcMigrationOrBuilder
      Returns:
      The fromFormat.
    • getFromFormatBytes

      public com.google.protobuf.ByteString getFromFormatBytes()
       Source format before migration
       
      string from_format = 2 [json_name = "fromFormat"];
      Specified by:
      getFromFormatBytes in interface WarcMigrationOrBuilder
      Returns:
      The bytes for fromFormat.
    • setFromFormat

      public WarcMigration.Builder setFromFormat(String value)
       Source format before migration
       
      string from_format = 2 [json_name = "fromFormat"];
      Parameters:
      value - The fromFormat to set.
      Returns:
      This builder for chaining.
    • clearFromFormat

      public WarcMigration.Builder clearFromFormat()
       Source format before migration
       
      string from_format = 2 [json_name = "fromFormat"];
      Returns:
      This builder for chaining.
    • setFromFormatBytes

      public WarcMigration.Builder setFromFormatBytes(com.google.protobuf.ByteString value)
       Source format before migration
       
      string from_format = 2 [json_name = "fromFormat"];
      Parameters:
      value - The bytes for fromFormat to set.
      Returns:
      This builder for chaining.
    • getToFormat

      public String getToFormat()
       Target format after migration
       
      string to_format = 3 [json_name = "toFormat"];
      Specified by:
      getToFormat in interface WarcMigrationOrBuilder
      Returns:
      The toFormat.
    • getToFormatBytes

      public com.google.protobuf.ByteString getToFormatBytes()
       Target format after migration
       
      string to_format = 3 [json_name = "toFormat"];
      Specified by:
      getToFormatBytes in interface WarcMigrationOrBuilder
      Returns:
      The bytes for toFormat.
    • setToFormat

      public WarcMigration.Builder setToFormat(String value)
       Target format after migration
       
      string to_format = 3 [json_name = "toFormat"];
      Parameters:
      value - The toFormat to set.
      Returns:
      This builder for chaining.
    • clearToFormat

      public WarcMigration.Builder clearToFormat()
       Target format after migration
       
      string to_format = 3 [json_name = "toFormat"];
      Returns:
      This builder for chaining.
    • setToFormatBytes

      public WarcMigration.Builder setToFormatBytes(com.google.protobuf.ByteString value)
       Target format after migration
       
      string to_format = 3 [json_name = "toFormat"];
      Parameters:
      value - The bytes for toFormat to set.
      Returns:
      This builder for chaining.
    • hasMigrationTool

      public boolean hasMigrationTool()
       Migration tool or process used
       
      optional string migration_tool = 4 [json_name = "migrationTool"];
      Specified by:
      hasMigrationTool in interface WarcMigrationOrBuilder
      Returns:
      Whether the migrationTool field is set.
    • getMigrationTool

      public String getMigrationTool()
       Migration tool or process used
       
      optional string migration_tool = 4 [json_name = "migrationTool"];
      Specified by:
      getMigrationTool in interface WarcMigrationOrBuilder
      Returns:
      The migrationTool.
    • getMigrationToolBytes

      public com.google.protobuf.ByteString getMigrationToolBytes()
       Migration tool or process used
       
      optional string migration_tool = 4 [json_name = "migrationTool"];
      Specified by:
      getMigrationToolBytes in interface WarcMigrationOrBuilder
      Returns:
      The bytes for migrationTool.
    • setMigrationTool

      public WarcMigration.Builder setMigrationTool(String value)
       Migration tool or process used
       
      optional string migration_tool = 4 [json_name = "migrationTool"];
      Parameters:
      value - The migrationTool to set.
      Returns:
      This builder for chaining.
    • clearMigrationTool

      public WarcMigration.Builder clearMigrationTool()
       Migration tool or process used
       
      optional string migration_tool = 4 [json_name = "migrationTool"];
      Returns:
      This builder for chaining.
    • setMigrationToolBytes

      public WarcMigration.Builder setMigrationToolBytes(com.google.protobuf.ByteString value)
       Migration tool or process used
       
      optional string migration_tool = 4 [json_name = "migrationTool"];
      Parameters:
      value - The bytes for migrationTool to set.
      Returns:
      This builder for chaining.
    • hasMigrationNotes

      public boolean hasMigrationNotes()
       Migration notes or comments
       
      optional string migration_notes = 5 [json_name = "migrationNotes"];
      Specified by:
      hasMigrationNotes in interface WarcMigrationOrBuilder
      Returns:
      Whether the migrationNotes field is set.
    • getMigrationNotes

      public String getMigrationNotes()
       Migration notes or comments
       
      optional string migration_notes = 5 [json_name = "migrationNotes"];
      Specified by:
      getMigrationNotes in interface WarcMigrationOrBuilder
      Returns:
      The migrationNotes.
    • getMigrationNotesBytes

      public com.google.protobuf.ByteString getMigrationNotesBytes()
       Migration notes or comments
       
      optional string migration_notes = 5 [json_name = "migrationNotes"];
      Specified by:
      getMigrationNotesBytes in interface WarcMigrationOrBuilder
      Returns:
      The bytes for migrationNotes.
    • setMigrationNotes

      public WarcMigration.Builder setMigrationNotes(String value)
       Migration notes or comments
       
      optional string migration_notes = 5 [json_name = "migrationNotes"];
      Parameters:
      value - The migrationNotes to set.
      Returns:
      This builder for chaining.
    • clearMigrationNotes

      public WarcMigration.Builder clearMigrationNotes()
       Migration notes or comments
       
      optional string migration_notes = 5 [json_name = "migrationNotes"];
      Returns:
      This builder for chaining.
    • setMigrationNotesBytes

      public WarcMigration.Builder setMigrationNotesBytes(com.google.protobuf.ByteString value)
       Migration notes or comments
       
      optional string migration_notes = 5 [json_name = "migrationNotes"];
      Parameters:
      value - The bytes for migrationNotes to set.
      Returns:
      This builder for chaining.