Package biopb.tensor

Class AddSourceResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
biopb.tensor.AddSourceResult.Builder
All Implemented Interfaces:
AddSourceResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AddSourceResult

public static final class AddSourceResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder> implements AddSourceResultOrBuilder
 Terminal message of the "add_source" stream: the tally of what happened.
 
Protobuf type biopb.tensor.AddSourceResult
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
    • clear

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

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

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

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

      public AddSourceResult.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
    • setField

      public AddSourceResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
    • clearField

      public AddSourceResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
    • clearOneof

      public AddSourceResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
    • setRepeatedField

      public AddSourceResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
    • addRepeatedField

      public AddSourceResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
    • mergeFrom

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

      public AddSourceResult.Builder mergeFrom(AddSourceResult other)
    • isInitialized

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

      public AddSourceResult.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<AddSourceResult.Builder>
      Throws:
      IOException
    • getAddedList

      public List<DataSourceDescriptor> getAddedList()
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
      Specified by:
      getAddedList in interface AddSourceResultOrBuilder
    • getAddedCount

      public int getAddedCount()
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
      Specified by:
      getAddedCount in interface AddSourceResultOrBuilder
    • getAdded

      public DataSourceDescriptor getAdded(int index)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
      Specified by:
      getAdded in interface AddSourceResultOrBuilder
    • setAdded

      public AddSourceResult.Builder setAdded(int index, DataSourceDescriptor value)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • setAdded

      public AddSourceResult.Builder setAdded(int index, DataSourceDescriptor.Builder builderForValue)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • addAdded

       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • addAdded

      public AddSourceResult.Builder addAdded(int index, DataSourceDescriptor value)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • addAdded

      public AddSourceResult.Builder addAdded(DataSourceDescriptor.Builder builderForValue)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • addAdded

      public AddSourceResult.Builder addAdded(int index, DataSourceDescriptor.Builder builderForValue)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • addAllAdded

      public AddSourceResult.Builder addAllAdded(Iterable<? extends DataSourceDescriptor> values)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • clearAdded

      public AddSourceResult.Builder clearAdded()
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • removeAdded

      public AddSourceResult.Builder removeAdded(int index)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • getAddedBuilder

      public DataSourceDescriptor.Builder getAddedBuilder(int index)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • getAddedOrBuilder

      public DataSourceDescriptorOrBuilder getAddedOrBuilder(int index)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
      Specified by:
      getAddedOrBuilder in interface AddSourceResultOrBuilder
    • getAddedOrBuilderList

      public List<? extends DataSourceDescriptorOrBuilder> getAddedOrBuilderList()
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
      Specified by:
      getAddedOrBuilderList in interface AddSourceResultOrBuilder
    • addAddedBuilder

      public DataSourceDescriptor.Builder addAddedBuilder()
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • addAddedBuilder

      public DataSourceDescriptor.Builder addAddedBuilder(int index)
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • getAddedBuilderList

      public List<DataSourceDescriptor.Builder> getAddedBuilderList()
       Sources newly registered by this request.
       
      repeated .biopb.tensor.DataSourceDescriptor added = 1;
    • getAlreadyPresentList

      public com.google.protobuf.ProtocolStringList getAlreadyPresentList()
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Specified by:
      getAlreadyPresentList in interface AddSourceResultOrBuilder
      Returns:
      A list containing the alreadyPresent.
    • getAlreadyPresentCount

      public int getAlreadyPresentCount()
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Specified by:
      getAlreadyPresentCount in interface AddSourceResultOrBuilder
      Returns:
      The count of alreadyPresent.
    • getAlreadyPresent

      public String getAlreadyPresent(int index)
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Specified by:
      getAlreadyPresent in interface AddSourceResultOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The alreadyPresent at the given index.
    • getAlreadyPresentBytes

      public com.google.protobuf.ByteString getAlreadyPresentBytes(int index)
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Specified by:
      getAlreadyPresentBytes in interface AddSourceResultOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the alreadyPresent at the given index.
    • setAlreadyPresent

      public AddSourceResult.Builder setAlreadyPresent(int index, String value)
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Parameters:
      index - The index to set the value at.
      value - The alreadyPresent to set.
      Returns:
      This builder for chaining.
    • addAlreadyPresent

      public AddSourceResult.Builder addAlreadyPresent(String value)
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Parameters:
      value - The alreadyPresent to add.
      Returns:
      This builder for chaining.
    • addAllAlreadyPresent

      public AddSourceResult.Builder addAllAlreadyPresent(Iterable<String> values)
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Parameters:
      values - The alreadyPresent to add.
      Returns:
      This builder for chaining.
    • clearAlreadyPresent

      public AddSourceResult.Builder clearAlreadyPresent()
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Returns:
      This builder for chaining.
    • addAlreadyPresentBytes

      public AddSourceResult.Builder addAlreadyPresentBytes(com.google.protobuf.ByteString value)
       source_ids that were already registered (same deterministic id) -- upsert
       no-ops, surfaced so the client can say "already present" rather than
       "nothing happened".
       
      repeated string already_present = 2;
      Parameters:
      value - The bytes of the alreadyPresent to add.
      Returns:
      This builder for chaining.
    • getFailedList

      public List<AddSourceFailure> getFailedList()
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
      Specified by:
      getFailedList in interface AddSourceResultOrBuilder
    • getFailedCount

      public int getFailedCount()
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
      Specified by:
      getFailedCount in interface AddSourceResultOrBuilder
    • getFailed

      public AddSourceFailure getFailed(int index)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
      Specified by:
      getFailed in interface AddSourceResultOrBuilder
    • setFailed

      public AddSourceResult.Builder setFailed(int index, AddSourceFailure value)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • setFailed

      public AddSourceResult.Builder setFailed(int index, AddSourceFailure.Builder builderForValue)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • addFailed

      public AddSourceResult.Builder addFailed(AddSourceFailure value)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • addFailed

      public AddSourceResult.Builder addFailed(int index, AddSourceFailure value)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • addFailed

      public AddSourceResult.Builder addFailed(AddSourceFailure.Builder builderForValue)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • addFailed

      public AddSourceResult.Builder addFailed(int index, AddSourceFailure.Builder builderForValue)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • addAllFailed

      public AddSourceResult.Builder addAllFailed(Iterable<? extends AddSourceFailure> values)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • clearFailed

      public AddSourceResult.Builder clearFailed()
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • removeFailed

      public AddSourceResult.Builder removeFailed(int index)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • getFailedBuilder

      public AddSourceFailure.Builder getFailedBuilder(int index)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • getFailedOrBuilder

      public AddSourceFailureOrBuilder getFailedOrBuilder(int index)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
      Specified by:
      getFailedOrBuilder in interface AddSourceResultOrBuilder
    • getFailedOrBuilderList

      public List<? extends AddSourceFailureOrBuilder> getFailedOrBuilderList()
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
      Specified by:
      getFailedOrBuilderList in interface AddSourceResultOrBuilder
    • addFailedBuilder

      public AddSourceFailure.Builder addFailedBuilder()
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • addFailedBuilder

      public AddSourceFailure.Builder addFailedBuilder(int index)
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • getFailedBuilderList

      public List<AddSourceFailure.Builder> getFailedBuilderList()
       Paths that failed to register, each with its reason. A directory dropped
       above the large-scan threshold is declined here too ("directory too large
       to scan on drop -- drop a subfolder, or add it via the server config file").
       
      repeated .biopb.tensor.AddSourceFailure failed = 3;
    • setUnknownFields

      public final AddSourceResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>
    • mergeUnknownFields

      public final AddSourceResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddSourceResult.Builder>