Package biopb.tensor
Interface ChunkRefOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChunkRef,ChunkRef.Builder
public interface ChunkRefOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetIndex(int index) The chunk's absolute position on the tensor's chunk grid, one entry per axis.intThe chunk's absolute position on the tensor's chunk grid, one entry per axis.The chunk's absolute position on the tensor's chunk grid, one entry per axis.getStub().biopb.tensor.TicketStub stub = 1;.biopb.tensor.TicketStub stub = 1;booleanhasStub().biopb.tensor.TicketStub stub = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStub
boolean hasStub().biopb.tensor.TicketStub stub = 1;- Returns:
- Whether the stub field is set.
-
getStub
TicketStub getStub().biopb.tensor.TicketStub stub = 1;- Returns:
- The stub.
-
getStubOrBuilder
TicketStubOrBuilder getStubOrBuilder().biopb.tensor.TicketStub stub = 1; -
getIndexList
The chunk's absolute position on the tensor's chunk grid, one entry per axis. Absolute rather than relative to the plan's window, so one chunk reads the same bytes whichever plan reached it.
repeated uint32 index = 2;- Returns:
- A list containing the index.
-
getIndexCount
int getIndexCount()The chunk's absolute position on the tensor's chunk grid, one entry per axis. Absolute rather than relative to the plan's window, so one chunk reads the same bytes whichever plan reached it.
repeated uint32 index = 2;- Returns:
- The count of index.
-
getIndex
int getIndex(int index) The chunk's absolute position on the tensor's chunk grid, one entry per axis. Absolute rather than relative to the plan's window, so one chunk reads the same bytes whichever plan reached it.
repeated uint32 index = 2;- Parameters:
index- The index of the element to return.- Returns:
- The index at the given index.
-