Package biopb.tensor
Class AddSourceResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
biopb.tensor.AddSourceResult
- All Implemented Interfaces:
AddSourceResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AddSourceResult
extends com.google.protobuf.GeneratedMessageV3
implements AddSourceResultOrBuilder
Terminal message of the "add_source" stream: the tally of what happened.Protobuf type
biopb.tensor.AddSourceResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTerminal message of the "add_source" stream: the tally of what happened.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdded(int index) source_ids newly registered by this request.com.google.protobuf.ByteStringgetAddedBytes(int index) source_ids newly registered by this request.intsource_ids newly registered by this request.com.google.protobuf.ProtocolStringListsource_ids newly registered by this request.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".com.google.protobuf.ByteStringgetAlreadyPresentBytes(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".intsource_ids that were already registered (same deterministic id) -- upsert no-ops, surfaced so the client can say "already present" rather than "nothing happened".com.google.protobuf.ProtocolStringListsource_ids that were already registered (same deterministic id) -- upsert no-ops, surfaced so the client can say "already present" rather than "nothing happened".static AddSourceResultstatic final com.google.protobuf.Descriptors.DescriptorgetFailed(int index) Paths that failed to register, each with its reason.intPaths that failed to register, each with its reason.Paths that failed to register, each with its reason.getFailedOrBuilder(int index) Paths that failed to register, each with its reason.List<? extends AddSourceFailureOrBuilder>Paths that failed to register, each with its reason.com.google.protobuf.Parser<AddSourceResult>getRefreshed(int index) source_ids whose adapter was rebuilt against the file as it is now -- the only thing that resamples the descriptor and the content_version that namespaces the chunk cache (biopb/biopb#944).com.google.protobuf.ByteStringgetRefreshedBytes(int index) source_ids whose adapter was rebuilt against the file as it is now -- the only thing that resamples the descriptor and the content_version that namespaces the chunk cache (biopb/biopb#944).intsource_ids whose adapter was rebuilt against the file as it is now -- the only thing that resamples the descriptor and the content_version that namespaces the chunk cache (biopb/biopb#944).com.google.protobuf.ProtocolStringListsource_ids whose adapter was rebuilt against the file as it is now -- the only thing that resamples the descriptor and the content_version that namespaces the chunk cache (biopb/biopb#944).getRemoved(int index) source_ids deregistered because their files are gone from under the dropped path.com.google.protobuf.ByteStringgetRemovedBytes(int index) source_ids deregistered because their files are gone from under the dropped path.intsource_ids deregistered because their files are gone from under the dropped path.com.google.protobuf.ProtocolStringListsource_ids deregistered because their files are gone from under the dropped path.intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AddSourceResult.Builderstatic AddSourceResult.BuildernewBuilder(AddSourceResult prototype) protected AddSourceResult.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AddSourceResultparseDelimitedFrom(InputStream input) static AddSourceResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddSourceResultparseFrom(byte[] data) static AddSourceResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddSourceResultparseFrom(com.google.protobuf.ByteString data) static AddSourceResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddSourceResultparseFrom(com.google.protobuf.CodedInputStream input) static AddSourceResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddSourceResultparseFrom(InputStream input) static AddSourceResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddSourceResultparseFrom(ByteBuffer data) static AddSourceResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AddSourceResult>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ADDED_FIELD_NUMBER
public static final int ADDED_FIELD_NUMBER- See Also:
-
ALREADY_PRESENT_FIELD_NUMBER
public static final int ALREADY_PRESENT_FIELD_NUMBER- See Also:
-
FAILED_FIELD_NUMBER
public static final int FAILED_FIELD_NUMBER- See Also:
-
REFRESHED_FIELD_NUMBER
public static final int REFRESHED_FIELD_NUMBER- See Also:
-
REMOVED_FIELD_NUMBER
public static final int REMOVED_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAddedList
public com.google.protobuf.ProtocolStringList getAddedList()source_ids newly registered by this request.
repeated string added = 6;- Specified by:
getAddedListin interfaceAddSourceResultOrBuilder- Returns:
- A list containing the added.
-
getAddedCount
public int getAddedCount()source_ids newly registered by this request.
repeated string added = 6;- Specified by:
getAddedCountin interfaceAddSourceResultOrBuilder- Returns:
- The count of added.
-
getAdded
source_ids newly registered by this request.
repeated string added = 6;- Specified by:
getAddedin interfaceAddSourceResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The added at the given index.
-
getAddedBytes
public com.google.protobuf.ByteString getAddedBytes(int index) source_ids newly registered by this request.
repeated string added = 6;- Specified by:
getAddedBytesin interfaceAddSourceResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the added at the given index.
-
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:
getAlreadyPresentListin interfaceAddSourceResultOrBuilder- 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:
getAlreadyPresentCountin interfaceAddSourceResultOrBuilder- Returns:
- The count of alreadyPresent.
-
getAlreadyPresent
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:
getAlreadyPresentin interfaceAddSourceResultOrBuilder- 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:
getAlreadyPresentBytesin interfaceAddSourceResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the alreadyPresent at the given index.
-
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:
getFailedListin interfaceAddSourceResultOrBuilder
-
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:
getFailedOrBuilderListin interfaceAddSourceResultOrBuilder
-
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:
getFailedCountin interfaceAddSourceResultOrBuilder
-
getFailed
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:
getFailedin interfaceAddSourceResultOrBuilder
-
getFailedOrBuilder
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:
getFailedOrBuilderin interfaceAddSourceResultOrBuilder
-
getRefreshedList
public com.google.protobuf.ProtocolStringList getRefreshedList()source_ids whose adapter was rebuilt against the file as it is now -- the only thing that resamples the descriptor and the content_version that namespaces the chunk cache (biopb/biopb#944). A subset of `already_present`, which keeps its meaning so an older client still reads a re-drop as "already present".
repeated string refreshed = 4;- Specified by:
getRefreshedListin interfaceAddSourceResultOrBuilder- Returns:
- A list containing the refreshed.
-
getRefreshedCount
public int getRefreshedCount()source_ids whose adapter was rebuilt against the file as it is now -- the only thing that resamples the descriptor and the content_version that namespaces the chunk cache (biopb/biopb#944). A subset of `already_present`, which keeps its meaning so an older client still reads a re-drop as "already present".
repeated string refreshed = 4;- Specified by:
getRefreshedCountin interfaceAddSourceResultOrBuilder- Returns:
- The count of refreshed.
-
getRefreshed
source_ids whose adapter was rebuilt against the file as it is now -- the only thing that resamples the descriptor and the content_version that namespaces the chunk cache (biopb/biopb#944). A subset of `already_present`, which keeps its meaning so an older client still reads a re-drop as "already present".
repeated string refreshed = 4;- Specified by:
getRefreshedin interfaceAddSourceResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The refreshed at the given index.
-
getRefreshedBytes
public com.google.protobuf.ByteString getRefreshedBytes(int index) source_ids whose adapter was rebuilt against the file as it is now -- the only thing that resamples the descriptor and the content_version that namespaces the chunk cache (biopb/biopb#944). A subset of `already_present`, which keeps its meaning so an older client still reads a re-drop as "already present".
repeated string refreshed = 4;- Specified by:
getRefreshedBytesin interfaceAddSourceResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the refreshed at the given index.
-
getRemovedList
public com.google.protobuf.ProtocolStringList getRemovedList()source_ids deregistered because their files are gone from under the dropped path.
repeated string removed = 5;- Specified by:
getRemovedListin interfaceAddSourceResultOrBuilder- Returns:
- A list containing the removed.
-
getRemovedCount
public int getRemovedCount()source_ids deregistered because their files are gone from under the dropped path.
repeated string removed = 5;- Specified by:
getRemovedCountin interfaceAddSourceResultOrBuilder- Returns:
- The count of removed.
-
getRemoved
source_ids deregistered because their files are gone from under the dropped path.
repeated string removed = 5;- Specified by:
getRemovedin interfaceAddSourceResultOrBuilder- 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 deregistered because their files are gone from under the dropped path.
repeated string removed = 5;- Specified by:
getRemovedBytesin interfaceAddSourceResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the removed at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AddSourceResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddSourceResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddSourceResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddSourceResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddSourceResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddSourceResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AddSourceResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AddSourceResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AddSourceResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AddSourceResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AddSourceResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-