Class DocIdDerivation.Builder

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

public static final class DocIdDerivation.Builder extends com.google.protobuf.GeneratedMessage.Builder<DocIdDerivation.Builder> implements DocIdDerivationOrBuilder
Protobuf type ai.pipestream.data.v1.DocIdDerivation
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The canonical/normalized value actually hashed (optional but very useful for debugging).
    The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
    .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
    The canonical/normalized value actually hashed (optional but very useful for debugging).
    com.google.protobuf.ByteString
    The canonical/normalized value actually hashed (optional but very useful for debugging).
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
    com.google.protobuf.ByteString
    The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
    .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
    int
    .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The canonical/normalized value actually hashed (optional but very useful for debugging).
    setCanonicalInputBytes(com.google.protobuf.ByteString value)
    The canonical/normalized value actually hashed (optional but very useful for debugging).
    The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
    setInputBytes(com.google.protobuf.ByteString value)
    The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
    .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
    setMethodValue(int value)
    .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];

    Methods 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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DocIdDerivation.Builder>
    • clear

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

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

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

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

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

      public DocIdDerivation.Builder mergeFrom(DocIdDerivation other)
    • isInitialized

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

      public DocIdDerivation.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<DocIdDerivation.Builder>
      Throws:
      IOException
    • getMethodValue

      public int getMethodValue()
      .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
      Specified by:
      getMethodValue in interface DocIdDerivationOrBuilder
      Returns:
      The enum numeric value on the wire for method.
    • setMethodValue

      public DocIdDerivation.Builder setMethodValue(int value)
      .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
      Parameters:
      value - The enum numeric value on the wire for method to set.
      Returns:
      This builder for chaining.
    • getMethod

      public DocIdDerivationMethod getMethod()
      .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
      Specified by:
      getMethod in interface DocIdDerivationOrBuilder
      Returns:
      The method.
    • setMethod

      .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
      Parameters:
      value - The method to set.
      Returns:
      This builder for chaining.
    • clearMethod

      public DocIdDerivation.Builder clearMethod()
      .ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];
      Returns:
      This builder for chaining.
    • getInput

      public String getInput()
       The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
       If sensitive, this can be redacted by the caller, but the field is available.
       
      string input = 2 [json_name = "input"];
      Specified by:
      getInput in interface DocIdDerivationOrBuilder
      Returns:
      The input.
    • getInputBytes

      public com.google.protobuf.ByteString getInputBytes()
       The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
       If sensitive, this can be redacted by the caller, but the field is available.
       
      string input = 2 [json_name = "input"];
      Specified by:
      getInputBytes in interface DocIdDerivationOrBuilder
      Returns:
      The bytes for input.
    • setInput

      public DocIdDerivation.Builder setInput(String value)
       The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
       If sensitive, this can be redacted by the caller, but the field is available.
       
      string input = 2 [json_name = "input"];
      Parameters:
      value - The input to set.
      Returns:
      This builder for chaining.
    • clearInput

      public DocIdDerivation.Builder clearInput()
       The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
       If sensitive, this can be redacted by the caller, but the field is available.
       
      string input = 2 [json_name = "input"];
      Returns:
      This builder for chaining.
    • setInputBytes

      public DocIdDerivation.Builder setInputBytes(com.google.protobuf.ByteString value)
       The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).
       If sensitive, this can be redacted by the caller, but the field is available.
       
      string input = 2 [json_name = "input"];
      Parameters:
      value - The bytes for input to set.
      Returns:
      This builder for chaining.
    • getCanonicalInput

      public String getCanonicalInput()
       The canonical/normalized value actually hashed (optional but very useful for debugging).
       
      string canonical_input = 3 [json_name = "canonicalInput"];
      Specified by:
      getCanonicalInput in interface DocIdDerivationOrBuilder
      Returns:
      The canonicalInput.
    • getCanonicalInputBytes

      public com.google.protobuf.ByteString getCanonicalInputBytes()
       The canonical/normalized value actually hashed (optional but very useful for debugging).
       
      string canonical_input = 3 [json_name = "canonicalInput"];
      Specified by:
      getCanonicalInputBytes in interface DocIdDerivationOrBuilder
      Returns:
      The bytes for canonicalInput.
    • setCanonicalInput

      public DocIdDerivation.Builder setCanonicalInput(String value)
       The canonical/normalized value actually hashed (optional but very useful for debugging).
       
      string canonical_input = 3 [json_name = "canonicalInput"];
      Parameters:
      value - The canonicalInput to set.
      Returns:
      This builder for chaining.
    • clearCanonicalInput

      public DocIdDerivation.Builder clearCanonicalInput()
       The canonical/normalized value actually hashed (optional but very useful for debugging).
       
      string canonical_input = 3 [json_name = "canonicalInput"];
      Returns:
      This builder for chaining.
    • setCanonicalInputBytes

      public DocIdDerivation.Builder setCanonicalInputBytes(com.google.protobuf.ByteString value)
       The canonical/normalized value actually hashed (optional but very useful for debugging).
       
      string canonical_input = 3 [json_name = "canonicalInput"];
      Parameters:
      value - The bytes for canonicalInput to set.
      Returns:
      This builder for chaining.