Package biopb.tensor

Class PutCommand.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
biopb.tensor.PutCommand.Builder
All Implemented Interfaces:
PutCommandOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PutCommand

public static final class PutCommand.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder> 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
  • Method Details

    • 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.Builder<PutCommand.Builder>
    • clear

      public PutCommand.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • getDefaultInstanceForType

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

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

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

      public PutCommand.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • setField

      public PutCommand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • clearField

      public PutCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • clearOneof

      public PutCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • setRepeatedField

      public PutCommand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • addRepeatedField

      public PutCommand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • mergeFrom

      public PutCommand.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PutCommand.Builder>
    • mergeFrom

      public PutCommand.Builder mergeFrom(PutCommand other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • mergeFrom

      public PutCommand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PutCommand.Builder>
      Throws:
      IOException
    • getCommandCase

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

      public PutCommand.Builder clearCommand()
    • 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.
    • setChunkTicket

      public PutCommand.Builder setChunkTicket(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The chunkTicket to set.
      Returns:
      This builder for chaining.
    • clearChunkTicket

      public PutCommand.Builder clearChunkTicket()
       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;
      Returns:
      This builder for chaining.
    • 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.
    • setRoiPut

      public PutCommand.Builder setRoiPut(RoiPut value)
       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;
    • setRoiPut

      public PutCommand.Builder setRoiPut(RoiPut.Builder builderForValue)
       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;
    • mergeRoiPut

      public PutCommand.Builder mergeRoiPut(RoiPut value)
       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;
    • clearRoiPut

      public PutCommand.Builder clearRoiPut()
       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;
    • getRoiPutBuilder

      public RoiPut.Builder getRoiPutBuilder()
       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;
    • 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.
    • setRoiDelete

      public PutCommand.Builder setRoiDelete(RoiDelete value)
       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;
    • setRoiDelete

      public PutCommand.Builder setRoiDelete(RoiDelete.Builder builderForValue)
       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;
    • mergeRoiDelete

      public PutCommand.Builder mergeRoiDelete(RoiDelete value)
       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;
    • clearRoiDelete

      public PutCommand.Builder clearRoiDelete()
       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;
    • getRoiDeleteBuilder

      public RoiDelete.Builder getRoiDeleteBuilder()
       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;
    • 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
    • setUnknownFields

      public final PutCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
    • mergeUnknownFields

      public final PutCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>