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 Type
    Method
    Description
    long
    Unix seconds after which the seal is refused; 0 never expires.
    com.google.protobuf.ByteString
    A MAC the server computes over the identity, window and expiry, keyed by a secret that persists across restarts.
    int
    getWindowStart(int index)
    The plan's window on the chunk grid, [window_start, window_stop) per axis.
    int
    The 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.
    int
    getWindowStop(int index)
    repeated uint32 window_stop = 2;
    int
    repeated uint32 window_stop = 2;
    repeated uint32 window_stop = 2;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getWindowStartList

      List<Integer> 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

      List<Integer> 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.