Package ai.pipestream.data.v1
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 TypeMethodDescriptionbuild()clear()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.ByteStringThe canonical/normalized value actually hashed (optional but very useful for debugging).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInput()The raw value used to derive the id (e.g., source_doc_id, source_uri, source_path).com.google.protobuf.ByteStringThe 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.FieldAccessorTablefinal booleanmergeFrom(DocIdDerivation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCanonicalInput(String value) 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).setMethod(DocIdDerivationMethod value) .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, 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<DocIdDerivation.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<DocIdDerivation.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<DocIdDerivation.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<DocIdDerivation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocIdDerivation.Builder>- Throws:
IOException
-
getMethodValue
public int getMethodValue().ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];- Specified by:
getMethodValuein interfaceDocIdDerivationOrBuilder- Returns:
- The enum numeric value on the wire for method.
-
setMethodValue
.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
.ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];- Specified by:
getMethodin interfaceDocIdDerivationOrBuilder- 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
.ai.pipestream.data.v1.DocIdDerivationMethod method = 1 [json_name = "method"];- Returns:
- This builder for chaining.
-
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:
getInputin interfaceDocIdDerivationOrBuilder- 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:
getInputBytesin interfaceDocIdDerivationOrBuilder- Returns:
- The bytes for input.
-
setInput
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
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
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
The canonical/normalized value actually hashed (optional but very useful for debugging).
string canonical_input = 3 [json_name = "canonicalInput"];- Specified by:
getCanonicalInputin interfaceDocIdDerivationOrBuilder- 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:
getCanonicalInputBytesin interfaceDocIdDerivationOrBuilder- Returns:
- The bytes for canonicalInput.
-
setCanonicalInput
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
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
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.
-