Package biopb.tensor
Interface ChunkGrantOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChunkGrant,ChunkGrant.Builder
public interface ChunkGrantOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongUnix seconds after which the seal is refused; 0 never expires.com.google.protobuf.ByteStringgetSeal()A MAC the server computes over the identity, window and expiry, keyed by a secret that persists across restarts.intgetWindowStart(int index) The plan's window on the chunk grid, [window_start, window_stop) per axis.intThe plan's window on the chunk grid, [window_start, window_stop) per axis.The plan's window on the chunk grid, [window_start, window_stop) per axis.intgetWindowStop(int index) repeated uint32 window_stop = 2;intrepeated uint32 window_stop = 2;repeated uint32 window_stop = 2;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
-
getWindowStartList
The plan's window on the chunk grid, [window_start, window_stop) per axis. A chunk_ref whose index falls outside it is refused.
repeated uint32 window_start = 1;- Returns:
- A list containing the windowStart.
-
getWindowStartCount
int getWindowStartCount()The plan's window on the chunk grid, [window_start, window_stop) per axis. A chunk_ref whose index falls outside it is refused.
repeated uint32 window_start = 1;- Returns:
- The count of windowStart.
-
getWindowStart
int getWindowStart(int index) The plan's window on the chunk grid, [window_start, window_stop) per axis. A chunk_ref whose index falls outside it is refused.
repeated uint32 window_start = 1;- Parameters:
index- The index of the element to return.- Returns:
- The windowStart at the given index.
-
getWindowStopList
repeated uint32 window_stop = 2;- Returns:
- A list containing the windowStop.
-
getWindowStopCount
int getWindowStopCount()repeated uint32 window_stop = 2;- Returns:
- The count of windowStop.
-
getWindowStop
int getWindowStop(int index) repeated uint32 window_stop = 2;- Parameters:
index- The index of the element to return.- Returns:
- The windowStop at the given index.
-
getExpiresAt
long getExpiresAt()Unix seconds after which the seal is refused; 0 never expires.
uint64 expires_at = 3;- Returns:
- The expiresAt.
-
getSeal
com.google.protobuf.ByteString getSeal()A MAC the server computes over the identity, window and expiry, keyed by a secret that persists across restarts. Rotating the key revokes every seal outstanding.
bytes seal = 4;- Returns:
- The seal.
-