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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The stream is one pixel chunk (writable servers only).clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.clone()com.google.protobuf.ByteStringThe stream is one pixel chunk (writable servers only).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe 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 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.The stream is annotations in the ROI row schema; the reply is a biopb.image.RoiPutResult in the put's app_metadata.booleanThe stream is one pixel chunk (writable servers only).booleanThe stream is one `roi_id` column, or empty; the reply is a biopb.image.RoiDeleteResult in the put's app_metadata.booleanThe 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.FieldAccessorTablefinal booleanmergeFrom(PutCommand other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.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.final PutCommand.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setChunkTicket(com.google.protobuf.ByteString value) The stream is one pixel chunk (writable servers only).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.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.The stream is annotations in the ROI row schema; the reply is a biopb.image.RoiPutResult in the put's app_metadata.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.final PutCommand.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
setField
public PutCommand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
setRepeatedField
public PutCommand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
addRepeatedField
public PutCommand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PutCommand.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PutCommand.Builder>- Throws:
IOException
-
getCommandCase
- Specified by:
getCommandCasein interfacePutCommandOrBuilder
-
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:
hasChunkTicketin interfacePutCommandOrBuilder- 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:
getChunkTicketin interfacePutCommandOrBuilder- Returns:
- The chunkTicket.
-
setChunkTicket
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
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:
hasRoiPutin interfacePutCommandOrBuilder- Returns:
- Whether the roiPut field is set.
-
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:
getRoiPutin interfacePutCommandOrBuilder- Returns:
- The roiPut.
-
setRoiPut
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
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
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
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
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
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:
getRoiPutOrBuilderin interfacePutCommandOrBuilder
-
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:
hasRoiDeletein interfacePutCommandOrBuilder- Returns:
- Whether the roiDelete field is set.
-
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:
getRoiDeletein interfacePutCommandOrBuilder- Returns:
- The roiDelete.
-
setRoiDelete
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
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
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
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
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
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:
getRoiDeleteOrBuilderin interfacePutCommandOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-
mergeUnknownFields
public final PutCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PutCommand.Builder>
-