Class WarcTechnicalProperty.Builder

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

public static final class WarcTechnicalProperty.Builder extends com.google.protobuf.GeneratedMessage.Builder<WarcTechnicalProperty.Builder> implements WarcTechnicalPropertyOrBuilder
 Represents a technical property of the archived content
 
Protobuf type ai.pipestream.parsed.data.warc.v1.WarcTechnicalProperty
  • 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<WarcTechnicalProperty.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<WarcTechnicalProperty.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<WarcTechnicalProperty.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public WarcTechnicalProperty.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<WarcTechnicalProperty.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Property name
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface WarcTechnicalPropertyOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Property name
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface WarcTechnicalPropertyOrBuilder
      Returns:
      The bytes for name.
    • setName

      public WarcTechnicalProperty.Builder setName(String value)
       Property name
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public WarcTechnicalProperty.Builder clearName()
       Property name
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public WarcTechnicalProperty.Builder setNameBytes(com.google.protobuf.ByteString value)
       Property name
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getValue

      public String getValue()
       Property value
       
      string value = 2 [json_name = "value"];
      Specified by:
      getValue in interface WarcTechnicalPropertyOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       Property value
       
      string value = 2 [json_name = "value"];
      Specified by:
      getValueBytes in interface WarcTechnicalPropertyOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public WarcTechnicalProperty.Builder setValue(String value)
       Property value
       
      string value = 2 [json_name = "value"];
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public WarcTechnicalProperty.Builder clearValue()
       Property value
       
      string value = 2 [json_name = "value"];
      Returns:
      This builder for chaining.
    • setValueBytes

      public WarcTechnicalProperty.Builder setValueBytes(com.google.protobuf.ByteString value)
       Property value
       
      string value = 2 [json_name = "value"];
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.
    • hasCategory

      public boolean hasCategory()
       Property category or namespace
       
      optional string category = 3 [json_name = "category"];
      Specified by:
      hasCategory in interface WarcTechnicalPropertyOrBuilder
      Returns:
      Whether the category field is set.
    • getCategory

      public String getCategory()
       Property category or namespace
       
      optional string category = 3 [json_name = "category"];
      Specified by:
      getCategory in interface WarcTechnicalPropertyOrBuilder
      Returns:
      The category.
    • getCategoryBytes

      public com.google.protobuf.ByteString getCategoryBytes()
       Property category or namespace
       
      optional string category = 3 [json_name = "category"];
      Specified by:
      getCategoryBytes in interface WarcTechnicalPropertyOrBuilder
      Returns:
      The bytes for category.
    • setCategory

      public WarcTechnicalProperty.Builder setCategory(String value)
       Property category or namespace
       
      optional string category = 3 [json_name = "category"];
      Parameters:
      value - The category to set.
      Returns:
      This builder for chaining.
    • clearCategory

      public WarcTechnicalProperty.Builder clearCategory()
       Property category or namespace
       
      optional string category = 3 [json_name = "category"];
      Returns:
      This builder for chaining.
    • setCategoryBytes

      public WarcTechnicalProperty.Builder setCategoryBytes(com.google.protobuf.ByteString value)
       Property category or namespace
       
      optional string category = 3 [json_name = "category"];
      Parameters:
      value - The bytes for category to set.
      Returns:
      This builder for chaining.