Package biopb.tensor

Class PutCommand

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
biopb.tensor.PutCommand
All Implemented Interfaces:
PutCommandOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class PutCommand extends com.google.protobuf.GeneratedMessageV3 implements PutCommandOrBuilder
 FlightDescriptor.command bytes of a DoPut; what the stream carries is the
 oneof arm. A tensor is added to a source by the `add_tensor` action; DoPut
 creates nothing, and nothing creates a source.
 
Protobuf type biopb.tensor.PutCommand
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    FlightDescriptor.command bytes of a DoPut; what the stream carries is the oneof arm.
    static enum 
     

    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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.google.protobuf.ByteString
    The stream is one pixel chunk (writable servers only).
     
    static PutCommand
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Parser<PutCommand>
     
    The stream is one `roi_id` column, or empty; the reply is a biopb.image.RoiDeleteResult in the put's app_metadata.
    The stream is one `roi_id` column, or empty; the reply is a biopb.image.RoiDeleteResult in the put's app_metadata.
    The stream is annotations in the ROI row schema; the reply is a biopb.image.RoiPutResult in the put's app_metadata.
    The stream is annotations in the ROI row schema; the reply is a biopb.image.RoiPutResult in the put's app_metadata.
    int
     
    boolean
    The stream is one pixel chunk (writable servers only).
    int
     
    boolean
    The stream is one `roi_id` column, or empty; the reply is a biopb.image.RoiDeleteResult in the put's app_metadata.
    boolean
    The stream is annotations in the ROI row schema; the reply is a biopb.image.RoiPutResult in the put's app_metadata.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static PutCommand
     
    static PutCommand
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static PutCommand
    parseFrom(byte[] data)
     
    static PutCommand
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static PutCommand
    parseFrom(com.google.protobuf.ByteString data)
     
    static PutCommand
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static PutCommand
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static PutCommand
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static PutCommand
     
    static PutCommand
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static PutCommand
     
    static PutCommand
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<PutCommand>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • CHUNK_TICKET_FIELD_NUMBER

      public static final int CHUNK_TICKET_FIELD_NUMBER
      See Also:
    • ROI_PUT_FIELD_NUMBER

      public static final int ROI_PUT_FIELD_NUMBER
      See Also:
    • ROI_DELETE_FIELD_NUMBER

      public static final int ROI_DELETE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getCommandCase

      public PutCommand.CommandCase getCommandCase()
      Specified by:
      getCommandCase in interface PutCommandOrBuilder
    • hasChunkTicket

      public boolean hasChunkTicket()
       The stream is one pixel chunk (writable servers only). The bytes are a
       `FlightEndpoint.ticket` from this tensor's own GetFlightInfo plan,
       echoed back verbatim -- the same ticket DoGet takes once the upload is
       READY. One planner decides what a chunk is, on both transports: the
       client neither tiles nor decodes, and a write inherits the version and
       epoch checks a read already has. A ticket of another tensor, or a
       scaled one, is refused.
       
      bytes chunk_ticket = 1;
      Specified by:
      hasChunkTicket in interface PutCommandOrBuilder
      Returns:
      Whether the chunkTicket field is set.
    • getChunkTicket

      public com.google.protobuf.ByteString getChunkTicket()
       The stream is one pixel chunk (writable servers only). The bytes are a
       `FlightEndpoint.ticket` from this tensor's own GetFlightInfo plan,
       echoed back verbatim -- the same ticket DoGet takes once the upload is
       READY. One planner decides what a chunk is, on both transports: the
       client neither tiles nor decodes, and a write inherits the version and
       epoch checks a read already has. A ticket of another tensor, or a
       scaled one, is refused.
       
      bytes chunk_ticket = 1;
      Specified by:
      getChunkTicket in interface PutCommandOrBuilder
      Returns:
      The chunkTicket.
    • hasRoiPut

      public boolean hasRoiPut()
       The stream is annotations in the ROI row schema; the reply is a
       biopb.image.RoiPutResult in the put's app_metadata.
       
      .biopb.tensor.RoiPut roi_put = 2;
      Specified by:
      hasRoiPut in interface PutCommandOrBuilder
      Returns:
      Whether the roiPut field is set.
    • getRoiPut

      public RoiPut getRoiPut()
       The stream is annotations in the ROI row schema; the reply is a
       biopb.image.RoiPutResult in the put's app_metadata.
       
      .biopb.tensor.RoiPut roi_put = 2;
      Specified by:
      getRoiPut in interface PutCommandOrBuilder
      Returns:
      The roiPut.
    • getRoiPutOrBuilder

      public RoiPutOrBuilder getRoiPutOrBuilder()
       The stream is annotations in the ROI row schema; the reply is a
       biopb.image.RoiPutResult in the put's app_metadata.
       
      .biopb.tensor.RoiPut roi_put = 2;
      Specified by:
      getRoiPutOrBuilder in interface PutCommandOrBuilder
    • hasRoiDelete

      public boolean hasRoiDelete()
       The stream is one `roi_id` column, or empty; the reply is a
       biopb.image.RoiDeleteResult in the put's app_metadata.
       
      .biopb.tensor.RoiDelete roi_delete = 3;
      Specified by:
      hasRoiDelete in interface PutCommandOrBuilder
      Returns:
      Whether the roiDelete field is set.
    • getRoiDelete

      public RoiDelete getRoiDelete()
       The stream is one `roi_id` column, or empty; the reply is a
       biopb.image.RoiDeleteResult in the put's app_metadata.
       
      .biopb.tensor.RoiDelete roi_delete = 3;
      Specified by:
      getRoiDelete in interface PutCommandOrBuilder
      Returns:
      The roiDelete.
    • getRoiDeleteOrBuilder

      public RoiDeleteOrBuilder getRoiDeleteOrBuilder()
       The stream is one `roi_id` column, or empty; the reply is a
       biopb.image.RoiDeleteResult in the put's app_metadata.
       
      .biopb.tensor.RoiDelete roi_delete = 3;
      Specified by:
      getRoiDeleteOrBuilder in interface PutCommandOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PutCommand parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PutCommand parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PutCommand parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PutCommand parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PutCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PutCommand parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PutCommand parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PutCommand parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PutCommand parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PutCommand parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PutCommand parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PutCommand parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PutCommand.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PutCommand.Builder newBuilder()
    • newBuilder

      public static PutCommand.Builder newBuilder(PutCommand prototype)
    • toBuilder

      public PutCommand.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PutCommand.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static PutCommand getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PutCommand> parser()
    • getParserForType

      public com.google.protobuf.Parser<PutCommand> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public PutCommand getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder