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 historyProtobuf type
ai.pipestream.parsed.data.warc.v1.WarcMigration-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Source format before migrationDate of the migrationMigration notes or commentsMigration tool or process usedTarget format after migrationstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSource format before migrationcom.google.protobuf.ByteStringSource format before migrationcom.google.protobuf.TimestampDate of the migrationcom.google.protobuf.Timestamp.BuilderDate of the migrationcom.google.protobuf.TimestampOrBuilderDate of the migrationMigration notes or commentscom.google.protobuf.ByteStringMigration notes or commentsMigration tool or process usedcom.google.protobuf.ByteStringMigration tool or process usedTarget format after migrationcom.google.protobuf.ByteStringTarget format after migrationbooleanDate of the migrationbooleanMigration notes or commentsbooleanMigration tool or process usedprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(WarcMigration other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMigrationDate(com.google.protobuf.Timestamp value) Date of the migrationsetFromFormat(String value) Source format before migrationsetFromFormatBytes(com.google.protobuf.ByteString value) Source format before migrationsetMigrationDate(com.google.protobuf.Timestamp value) Date of the migrationsetMigrationDate(com.google.protobuf.Timestamp.Builder builderForValue) Date of the migrationsetMigrationNotes(String value) Migration notes or commentssetMigrationNotesBytes(com.google.protobuf.ByteString value) Migration notes or commentssetMigrationTool(String value) Migration tool or process usedsetMigrationToolBytes(com.google.protobuf.ByteString value) Migration tool or process usedsetToFormat(String value) Target format after migrationsetToFormatBytes(com.google.protobuf.ByteString value) Target format after migrationMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WarcMigration.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<WarcMigration.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<WarcMigration.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WarcMigration.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasMigrationDatein interfaceWarcMigrationOrBuilder- 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:
getMigrationDatein interfaceWarcMigrationOrBuilder- Returns:
- The migrationDate.
-
setMigrationDate
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
Date of the migration
.google.protobuf.Timestamp migration_date = 1 [json_name = "migrationDate"]; -
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:
getMigrationDateOrBuilderin interfaceWarcMigrationOrBuilder
-
getFromFormat
Source format before migration
string from_format = 2 [json_name = "fromFormat"];- Specified by:
getFromFormatin interfaceWarcMigrationOrBuilder- Returns:
- The fromFormat.
-
getFromFormatBytes
public com.google.protobuf.ByteString getFromFormatBytes()Source format before migration
string from_format = 2 [json_name = "fromFormat"];- Specified by:
getFromFormatBytesin interfaceWarcMigrationOrBuilder- Returns:
- The bytes for fromFormat.
-
setFromFormat
Source format before migration
string from_format = 2 [json_name = "fromFormat"];- Parameters:
value- The fromFormat to set.- Returns:
- This builder for chaining.
-
clearFromFormat
Source format before migration
string from_format = 2 [json_name = "fromFormat"];- Returns:
- This builder for chaining.
-
setFromFormatBytes
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
Target format after migration
string to_format = 3 [json_name = "toFormat"];- Specified by:
getToFormatin interfaceWarcMigrationOrBuilder- Returns:
- The toFormat.
-
getToFormatBytes
public com.google.protobuf.ByteString getToFormatBytes()Target format after migration
string to_format = 3 [json_name = "toFormat"];- Specified by:
getToFormatBytesin interfaceWarcMigrationOrBuilder- Returns:
- The bytes for toFormat.
-
setToFormat
Target format after migration
string to_format = 3 [json_name = "toFormat"];- Parameters:
value- The toFormat to set.- Returns:
- This builder for chaining.
-
clearToFormat
Target format after migration
string to_format = 3 [json_name = "toFormat"];- Returns:
- This builder for chaining.
-
setToFormatBytes
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:
hasMigrationToolin interfaceWarcMigrationOrBuilder- Returns:
- Whether the migrationTool field is set.
-
getMigrationTool
Migration tool or process used
optional string migration_tool = 4 [json_name = "migrationTool"];- Specified by:
getMigrationToolin interfaceWarcMigrationOrBuilder- 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:
getMigrationToolBytesin interfaceWarcMigrationOrBuilder- Returns:
- The bytes for migrationTool.
-
setMigrationTool
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
Migration tool or process used
optional string migration_tool = 4 [json_name = "migrationTool"];- Returns:
- This builder for chaining.
-
setMigrationToolBytes
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:
hasMigrationNotesin interfaceWarcMigrationOrBuilder- Returns:
- Whether the migrationNotes field is set.
-
getMigrationNotes
Migration notes or comments
optional string migration_notes = 5 [json_name = "migrationNotes"];- Specified by:
getMigrationNotesin interfaceWarcMigrationOrBuilder- Returns:
- The migrationNotes.
-
getMigrationNotesBytes
public com.google.protobuf.ByteString getMigrationNotesBytes()Migration notes or comments
optional string migration_notes = 5 [json_name = "migrationNotes"];- Specified by:
getMigrationNotesBytesin interfaceWarcMigrationOrBuilder- Returns:
- The bytes for migrationNotes.
-
setMigrationNotes
Migration notes or comments
optional string migration_notes = 5 [json_name = "migrationNotes"];- Parameters:
value- The migrationNotes to set.- Returns:
- This builder for chaining.
-
clearMigrationNotes
Migration notes or comments
optional string migration_notes = 5 [json_name = "migrationNotes"];- Returns:
- This builder for chaining.
-
setMigrationNotesBytes
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.
-