Package biopb.tensor

Class RemoveSourceResult.Builder

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

public static final class RemoveSourceResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RemoveSourceResult.Builder> implements RemoveSourceResultOrBuilder
 Terminal (single, non-streamed) result of the "remove_source" action.
 
Protobuf type biopb.tensor.RemoveSourceResult
  • 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<RemoveSourceResult.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<RemoveSourceResult.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<RemoveSourceResult.Builder>
    • getDefaultInstanceForType

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

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

      public RemoveSourceResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<RemoveSourceResult.Builder>
    • setField

      public RemoveSourceResult.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<RemoveSourceResult.Builder>
    • clearField

      public RemoveSourceResult.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<RemoveSourceResult.Builder>
    • clearOneof

      public RemoveSourceResult.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<RemoveSourceResult.Builder>
    • setRepeatedField

      public RemoveSourceResult.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<RemoveSourceResult.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public RemoveSourceResult.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<RemoveSourceResult.Builder>
      Throws:
      IOException
    • getRemovedList

      public com.google.protobuf.ProtocolStringList getRemovedList()
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Specified by:
      getRemovedList in interface RemoveSourceResultOrBuilder
      Returns:
      A list containing the removed.
    • getRemovedCount

      public int getRemovedCount()
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Specified by:
      getRemovedCount in interface RemoveSourceResultOrBuilder
      Returns:
      The count of removed.
    • getRemoved

      public String getRemoved(int index)
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Specified by:
      getRemoved in interface RemoveSourceResultOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The removed at the given index.
    • getRemovedBytes

      public com.google.protobuf.ByteString getRemovedBytes(int index)
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Specified by:
      getRemovedBytes in interface RemoveSourceResultOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the removed at the given index.
    • setRemoved

      public RemoveSourceResult.Builder setRemoved(int index, String value)
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Parameters:
      index - The index to set the value at.
      value - The removed to set.
      Returns:
      This builder for chaining.
    • addRemoved

      public RemoveSourceResult.Builder addRemoved(String value)
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Parameters:
      value - The removed to add.
      Returns:
      This builder for chaining.
    • addAllRemoved

      public RemoveSourceResult.Builder addAllRemoved(Iterable<String> values)
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Parameters:
      values - The removed to add.
      Returns:
      This builder for chaining.
    • clearRemoved

      public RemoveSourceResult.Builder clearRemoved()
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Returns:
      This builder for chaining.
    • addRemovedBytes

      public RemoveSourceResult.Builder addRemovedBytes(com.google.protobuf.ByteString value)
       source_ids actually deregistered.
       
      repeated string removed = 1;
      Parameters:
      value - The bytes of the removed to add.
      Returns:
      This builder for chaining.
    • getFailedList

      public List<AddSourceFailure> getFailedList()
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
      Specified by:
      getFailedList in interface RemoveSourceResultOrBuilder
    • getFailedCount

      public int getFailedCount()
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
      Specified by:
      getFailedCount in interface RemoveSourceResultOrBuilder
    • getFailed

      public AddSourceFailure getFailed(int index)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
      Specified by:
      getFailed in interface RemoveSourceResultOrBuilder
    • setFailed

      public RemoveSourceResult.Builder setFailed(int index, AddSourceFailure value)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • setFailed

      public RemoveSourceResult.Builder setFailed(int index, AddSourceFailure.Builder builderForValue)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • addFailed

      public RemoveSourceResult.Builder addFailed(AddSourceFailure value)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • addFailed

      public RemoveSourceResult.Builder addFailed(int index, AddSourceFailure value)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • addFailed

      public RemoveSourceResult.Builder addFailed(AddSourceFailure.Builder builderForValue)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • addFailed

      public RemoveSourceResult.Builder addFailed(int index, AddSourceFailure.Builder builderForValue)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • addAllFailed

      public RemoveSourceResult.Builder addAllFailed(Iterable<? extends AddSourceFailure> values)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • clearFailed

      public RemoveSourceResult.Builder clearFailed()
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • removeFailed

      public RemoveSourceResult.Builder removeFailed(int index)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • getFailedBuilder

      public AddSourceFailure.Builder getFailedBuilder(int index)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • getFailedOrBuilder

      public AddSourceFailureOrBuilder getFailedOrBuilder(int index)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
      Specified by:
      getFailedOrBuilder in interface RemoveSourceResultOrBuilder
    • getFailedOrBuilderList

      public List<? extends AddSourceFailureOrBuilder> getFailedOrBuilderList()
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
      Specified by:
      getFailedOrBuilderList in interface RemoveSourceResultOrBuilder
    • addFailedBuilder

      public AddSourceFailure.Builder addFailedBuilder()
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • addFailedBuilder

      public AddSourceFailure.Builder addFailedBuilder(int index)
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • getFailedBuilderList

      public List<AddSourceFailure.Builder> getFailedBuilderList()
       Sources that matched the branch but could not be removed (e.g. already gone
       from a concurrent rescan). Reuses AddSourceFailure: its `path` field carries
       the source_id here, `reason` the explanation.
       
      repeated .biopb.tensor.AddSourceFailure failed = 2;
    • setUnknownFields

      public final RemoveSourceResult.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<RemoveSourceResult.Builder>
    • mergeUnknownFields

      public final RemoveSourceResult.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<RemoveSourceResult.Builder>