Package biopb.image
Class Pixels.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Pixels.Builder>
biopb.image.Pixels.Builder
- All Implemented Interfaces:
PixelsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Pixels
public static final class Pixels.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Pixels.Builder>
implements PixelsOrBuilder
The Pixels element represent generic 5D pixel data. The time axis is currently not being utilized, but is defined here for futire extensibility. This is modeled after OME-XML's Pixel structure.Protobuf type
biopb.image.Pixels-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Pixel valuesA string describing the dimension order of the pixel data, e.g.A string describing the data type using numpy's convention.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional uint32 offset_c = 26;optional uint32 offset_t = 25;for large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset.optional uint32 offset_y = 23;optional uint32 offset_z = 24;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) physical size unit, default "µm"Physical size of a pixel.optional float physical_size_y = 15;optional float physical_size_z = 16;uint32 size_c = 12;uint32 size_t = 13;Dimensional size of pixel data array [units:none]uint32 size_y = 10;uint32 size_z = 11;time_increment is used for time series that have a global timing specification instead of per-timepoint timing info.time unit, default "s"clone()Pixel valuesPixel valuesPixel valuesstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA string describing the dimension order of the pixel data, e.g.com.google.protobuf.ByteStringA string describing the dimension order of the pixel data, e.g.getDtype()A string describing the data type using numpy's convention.com.google.protobuf.ByteStringA string describing the data type using numpy's convention.intoptional uint32 offset_c = 26;intoptional uint32 offset_t = 25;intfor large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset.intoptional uint32 offset_y = 23;intoptional uint32 offset_z = 24;physical size unit, default "µm"com.google.protobuf.ByteStringphysical size unit, default "µm"floatPhysical size of a pixel.floatoptional float physical_size_y = 15;floatoptional float physical_size_z = 16;intgetSizeC()uint32 size_c = 12;intgetSizeT()uint32 size_t = 13;intgetSizeX()Dimensional size of pixel data array [units:none]intgetSizeY()uint32 size_y = 10;intgetSizeZ()uint32 size_z = 11;floattime_increment is used for time series that have a global timing specification instead of per-timepoint timing info.time unit, default "s"com.google.protobuf.ByteStringtime unit, default "s"booleanPixel valuesbooleanoptional uint32 offset_c = 26;booleanoptional uint32 offset_t = 25;booleanfor large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset.booleanoptional uint32 offset_y = 23;booleanoptional uint32 offset_z = 24;booleanPhysical size of a pixel.booleanoptional float physical_size_y = 15;booleanoptional float physical_size_z = 16;booleantime_increment is used for time series that have a global timing specification instead of per-timepoint timing info.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeBindata(BinData value) Pixel valuesmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Pixels.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBindata(BinData value) Pixel valuessetBindata(BinData.Builder builderForValue) Pixel valuessetDimensionOrder(String value) A string describing the dimension order of the pixel data, e.g.setDimensionOrderBytes(com.google.protobuf.ByteString value) A string describing the dimension order of the pixel data, e.g.A string describing the data type using numpy's convention.setDtypeBytes(com.google.protobuf.ByteString value) A string describing the data type using numpy's convention.setOffsetC(int value) optional uint32 offset_c = 26;setOffsetT(int value) optional uint32 offset_t = 25;setOffsetX(int value) for large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset.setOffsetY(int value) optional uint32 offset_y = 23;setOffsetZ(int value) optional uint32 offset_z = 24;setPhysicalSizeUnit(String value) physical size unit, default "µm"setPhysicalSizeUnitBytes(com.google.protobuf.ByteString value) physical size unit, default "µm"setPhysicalSizeX(float value) Physical size of a pixel.setPhysicalSizeY(float value) optional float physical_size_y = 15;setPhysicalSizeZ(float value) optional float physical_size_z = 16;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSizeC(int value) uint32 size_c = 12;setSizeT(int value) uint32 size_t = 13;setSizeX(int value) Dimensional size of pixel data array [units:none]setSizeY(int value) uint32 size_y = 10;setSizeZ(int value) uint32 size_z = 11;setTimeIncrement(float value) time_increment is used for time series that have a global timing specification instead of per-timepoint timing info.setTimeIncrementUnit(String value) time unit, default "s"setTimeIncrementUnitBytes(com.google.protobuf.ByteString value) time unit, default "s"final Pixels.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<Pixels.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<Pixels.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<Pixels.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<Pixels.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Pixels.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Pixels.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Pixels.Builder>
-
setRepeatedField
public Pixels.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<Pixels.Builder>
-
addRepeatedField
public Pixels.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<Pixels.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Pixels.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Pixels.Builder>
-
mergeFrom
public Pixels.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<Pixels.Builder>- Throws:
IOException
-
hasBindata
public boolean hasBindata()Pixel values
.biopb.image.BinData bindata = 3;- Specified by:
hasBindatain interfacePixelsOrBuilder- Returns:
- Whether the bindata field is set.
-
getBindata
Pixel values
.biopb.image.BinData bindata = 3;- Specified by:
getBindatain interfacePixelsOrBuilder- Returns:
- The bindata.
-
setBindata
Pixel values
.biopb.image.BinData bindata = 3; -
setBindata
Pixel values
.biopb.image.BinData bindata = 3; -
mergeBindata
Pixel values
.biopb.image.BinData bindata = 3; -
clearBindata
Pixel values
.biopb.image.BinData bindata = 3; -
getBindataBuilder
Pixel values
.biopb.image.BinData bindata = 3; -
getBindataOrBuilder
Pixel values
.biopb.image.BinData bindata = 3;- Specified by:
getBindataOrBuilderin interfacePixelsOrBuilder
-
getDimensionOrder
A string describing the dimension order of the pixel data, e.g. "XYZCT" The string must be a permutaion of these 5 letters even if some of the dimension doesn't exist in the data.
string dimension_order = 4;- Specified by:
getDimensionOrderin interfacePixelsOrBuilder- Returns:
- The dimensionOrder.
-
getDimensionOrderBytes
public com.google.protobuf.ByteString getDimensionOrderBytes()A string describing the dimension order of the pixel data, e.g. "XYZCT" The string must be a permutaion of these 5 letters even if some of the dimension doesn't exist in the data.
string dimension_order = 4;- Specified by:
getDimensionOrderBytesin interfacePixelsOrBuilder- Returns:
- The bytes for dimensionOrder.
-
setDimensionOrder
A string describing the dimension order of the pixel data, e.g. "XYZCT" The string must be a permutaion of these 5 letters even if some of the dimension doesn't exist in the data.
string dimension_order = 4;- Parameters:
value- The dimensionOrder to set.- Returns:
- This builder for chaining.
-
clearDimensionOrder
A string describing the dimension order of the pixel data, e.g. "XYZCT" The string must be a permutaion of these 5 letters even if some of the dimension doesn't exist in the data.
string dimension_order = 4;- Returns:
- This builder for chaining.
-
setDimensionOrderBytes
A string describing the dimension order of the pixel data, e.g. "XYZCT" The string must be a permutaion of these 5 letters even if some of the dimension doesn't exist in the data.
string dimension_order = 4;- Parameters:
value- The bytes for dimensionOrder to set.- Returns:
- This builder for chaining.
-
getDtype
A string describing the data type using numpy's convention. E.g., 'i8' represent int64. Endianness indicator, e.g. '=i8', is allowed but will be ignored. Instead the endianness will be determined by the field within the Bindata structure.
string dtype = 5;- Specified by:
getDtypein interfacePixelsOrBuilder- Returns:
- The dtype.
-
getDtypeBytes
public com.google.protobuf.ByteString getDtypeBytes()A string describing the data type using numpy's convention. E.g., 'i8' represent int64. Endianness indicator, e.g. '=i8', is allowed but will be ignored. Instead the endianness will be determined by the field within the Bindata structure.
string dtype = 5;- Specified by:
getDtypeBytesin interfacePixelsOrBuilder- Returns:
- The bytes for dtype.
-
setDtype
A string describing the data type using numpy's convention. E.g., 'i8' represent int64. Endianness indicator, e.g. '=i8', is allowed but will be ignored. Instead the endianness will be determined by the field within the Bindata structure.
string dtype = 5;- Parameters:
value- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
A string describing the data type using numpy's convention. E.g., 'i8' represent int64. Endianness indicator, e.g. '=i8', is allowed but will be ignored. Instead the endianness will be determined by the field within the Bindata structure.
string dtype = 5;- Returns:
- This builder for chaining.
-
setDtypeBytes
A string describing the data type using numpy's convention. E.g., 'i8' represent int64. Endianness indicator, e.g. '=i8', is allowed but will be ignored. Instead the endianness will be determined by the field within the Bindata structure.
string dtype = 5;- Parameters:
value- The bytes for dtype to set.- Returns:
- This builder for chaining.
-
getSizeX
public int getSizeX()Dimensional size of pixel data array [units:none]
uint32 size_x = 9;- Specified by:
getSizeXin interfacePixelsOrBuilder- Returns:
- The sizeX.
-
setSizeX
Dimensional size of pixel data array [units:none]
uint32 size_x = 9;- Parameters:
value- The sizeX to set.- Returns:
- This builder for chaining.
-
clearSizeX
Dimensional size of pixel data array [units:none]
uint32 size_x = 9;- Returns:
- This builder for chaining.
-
getSizeY
public int getSizeY()uint32 size_y = 10;- Specified by:
getSizeYin interfacePixelsOrBuilder- Returns:
- The sizeY.
-
setSizeY
uint32 size_y = 10;- Parameters:
value- The sizeY to set.- Returns:
- This builder for chaining.
-
clearSizeY
uint32 size_y = 10;- Returns:
- This builder for chaining.
-
getSizeZ
public int getSizeZ()uint32 size_z = 11;- Specified by:
getSizeZin interfacePixelsOrBuilder- Returns:
- The sizeZ.
-
setSizeZ
uint32 size_z = 11;- Parameters:
value- The sizeZ to set.- Returns:
- This builder for chaining.
-
clearSizeZ
uint32 size_z = 11;- Returns:
- This builder for chaining.
-
getSizeC
public int getSizeC()uint32 size_c = 12;- Specified by:
getSizeCin interfacePixelsOrBuilder- Returns:
- The sizeC.
-
setSizeC
uint32 size_c = 12;- Parameters:
value- The sizeC to set.- Returns:
- This builder for chaining.
-
clearSizeC
uint32 size_c = 12;- Returns:
- This builder for chaining.
-
getSizeT
public int getSizeT()uint32 size_t = 13;- Specified by:
getSizeTin interfacePixelsOrBuilder- Returns:
- The sizeT.
-
setSizeT
uint32 size_t = 13;- Parameters:
value- The sizeT to set.- Returns:
- This builder for chaining.
-
clearSizeT
uint32 size_t = 13;- Returns:
- This builder for chaining.
-
hasPhysicalSizeX
public boolean hasPhysicalSizeX()Physical size of a pixel.
optional float physical_size_x = 14;- Specified by:
hasPhysicalSizeXin interfacePixelsOrBuilder- Returns:
- Whether the physicalSizeX field is set.
-
getPhysicalSizeX
public float getPhysicalSizeX()Physical size of a pixel.
optional float physical_size_x = 14;- Specified by:
getPhysicalSizeXin interfacePixelsOrBuilder- Returns:
- The physicalSizeX.
-
setPhysicalSizeX
Physical size of a pixel.
optional float physical_size_x = 14;- Parameters:
value- The physicalSizeX to set.- Returns:
- This builder for chaining.
-
clearPhysicalSizeX
Physical size of a pixel.
optional float physical_size_x = 14;- Returns:
- This builder for chaining.
-
hasPhysicalSizeY
public boolean hasPhysicalSizeY()optional float physical_size_y = 15;- Specified by:
hasPhysicalSizeYin interfacePixelsOrBuilder- Returns:
- Whether the physicalSizeY field is set.
-
getPhysicalSizeY
public float getPhysicalSizeY()optional float physical_size_y = 15;- Specified by:
getPhysicalSizeYin interfacePixelsOrBuilder- Returns:
- The physicalSizeY.
-
setPhysicalSizeY
optional float physical_size_y = 15;- Parameters:
value- The physicalSizeY to set.- Returns:
- This builder for chaining.
-
clearPhysicalSizeY
optional float physical_size_y = 15;- Returns:
- This builder for chaining.
-
hasPhysicalSizeZ
public boolean hasPhysicalSizeZ()optional float physical_size_z = 16;- Specified by:
hasPhysicalSizeZin interfacePixelsOrBuilder- Returns:
- Whether the physicalSizeZ field is set.
-
getPhysicalSizeZ
public float getPhysicalSizeZ()optional float physical_size_z = 16;- Specified by:
getPhysicalSizeZin interfacePixelsOrBuilder- Returns:
- The physicalSizeZ.
-
setPhysicalSizeZ
optional float physical_size_z = 16;- Parameters:
value- The physicalSizeZ to set.- Returns:
- This builder for chaining.
-
clearPhysicalSizeZ
optional float physical_size_z = 16;- Returns:
- This builder for chaining.
-
getPhysicalSizeUnit
physical size unit, default "µm"
string physical_size_unit = 17;- Specified by:
getPhysicalSizeUnitin interfacePixelsOrBuilder- Returns:
- The physicalSizeUnit.
-
getPhysicalSizeUnitBytes
public com.google.protobuf.ByteString getPhysicalSizeUnitBytes()physical size unit, default "µm"
string physical_size_unit = 17;- Specified by:
getPhysicalSizeUnitBytesin interfacePixelsOrBuilder- Returns:
- The bytes for physicalSizeUnit.
-
setPhysicalSizeUnit
physical size unit, default "µm"
string physical_size_unit = 17;- Parameters:
value- The physicalSizeUnit to set.- Returns:
- This builder for chaining.
-
clearPhysicalSizeUnit
physical size unit, default "µm"
string physical_size_unit = 17;- Returns:
- This builder for chaining.
-
setPhysicalSizeUnitBytes
physical size unit, default "µm"
string physical_size_unit = 17;- Parameters:
value- The bytes for physicalSizeUnit to set.- Returns:
- This builder for chaining.
-
hasTimeIncrement
public boolean hasTimeIncrement()time_increment is used for time series that have a global timing specification instead of per-timepoint timing info. For example in a video stream. Units are set by TimeIncrementUnit.
optional float time_increment = 18;- Specified by:
hasTimeIncrementin interfacePixelsOrBuilder- Returns:
- Whether the timeIncrement field is set.
-
getTimeIncrement
public float getTimeIncrement()time_increment is used for time series that have a global timing specification instead of per-timepoint timing info. For example in a video stream. Units are set by TimeIncrementUnit.
optional float time_increment = 18;- Specified by:
getTimeIncrementin interfacePixelsOrBuilder- Returns:
- The timeIncrement.
-
setTimeIncrement
time_increment is used for time series that have a global timing specification instead of per-timepoint timing info. For example in a video stream. Units are set by TimeIncrementUnit.
optional float time_increment = 18;- Parameters:
value- The timeIncrement to set.- Returns:
- This builder for chaining.
-
clearTimeIncrement
time_increment is used for time series that have a global timing specification instead of per-timepoint timing info. For example in a video stream. Units are set by TimeIncrementUnit.
optional float time_increment = 18;- Returns:
- This builder for chaining.
-
getTimeIncrementUnit
time unit, default "s"
string time_increment_unit = 21;- Specified by:
getTimeIncrementUnitin interfacePixelsOrBuilder- Returns:
- The timeIncrementUnit.
-
getTimeIncrementUnitBytes
public com.google.protobuf.ByteString getTimeIncrementUnitBytes()time unit, default "s"
string time_increment_unit = 21;- Specified by:
getTimeIncrementUnitBytesin interfacePixelsOrBuilder- Returns:
- The bytes for timeIncrementUnit.
-
setTimeIncrementUnit
time unit, default "s"
string time_increment_unit = 21;- Parameters:
value- The timeIncrementUnit to set.- Returns:
- This builder for chaining.
-
clearTimeIncrementUnit
time unit, default "s"
string time_increment_unit = 21;- Returns:
- This builder for chaining.
-
setTimeIncrementUnitBytes
time unit, default "s"
string time_increment_unit = 21;- Parameters:
value- The bytes for timeIncrementUnit to set.- Returns:
- This builder for chaining.
-
hasOffsetX
public boolean hasOffsetX()for large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset. The offset values allows one to specify the relative locations of each patch. These include spatial (x,y,z), channel (c), and time (t) offsets.
optional uint32 offset_x = 22;- Specified by:
hasOffsetXin interfacePixelsOrBuilder- Returns:
- Whether the offsetX field is set.
-
getOffsetX
public int getOffsetX()for large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset. The offset values allows one to specify the relative locations of each patch. These include spatial (x,y,z), channel (c), and time (t) offsets.
optional uint32 offset_x = 22;- Specified by:
getOffsetXin interfacePixelsOrBuilder- Returns:
- The offsetX.
-
setOffsetX
for large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset. The offset values allows one to specify the relative locations of each patch. These include spatial (x,y,z), channel (c), and time (t) offsets.
optional uint32 offset_x = 22;- Parameters:
value- The offsetX to set.- Returns:
- This builder for chaining.
-
clearOffsetX
for large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset. The offset values allows one to specify the relative locations of each patch. These include spatial (x,y,z), channel (c), and time (t) offsets.
optional uint32 offset_x = 22;- Returns:
- This builder for chaining.
-
hasOffsetY
public boolean hasOffsetY()optional uint32 offset_y = 23;- Specified by:
hasOffsetYin interfacePixelsOrBuilder- Returns:
- Whether the offsetY field is set.
-
getOffsetY
public int getOffsetY()optional uint32 offset_y = 23;- Specified by:
getOffsetYin interfacePixelsOrBuilder- Returns:
- The offsetY.
-
setOffsetY
optional uint32 offset_y = 23;- Parameters:
value- The offsetY to set.- Returns:
- This builder for chaining.
-
clearOffsetY
optional uint32 offset_y = 23;- Returns:
- This builder for chaining.
-
hasOffsetZ
public boolean hasOffsetZ()optional uint32 offset_z = 24;- Specified by:
hasOffsetZin interfacePixelsOrBuilder- Returns:
- Whether the offsetZ field is set.
-
getOffsetZ
public int getOffsetZ()optional uint32 offset_z = 24;- Specified by:
getOffsetZin interfacePixelsOrBuilder- Returns:
- The offsetZ.
-
setOffsetZ
optional uint32 offset_z = 24;- Parameters:
value- The offsetZ to set.- Returns:
- This builder for chaining.
-
clearOffsetZ
optional uint32 offset_z = 24;- Returns:
- This builder for chaining.
-
hasOffsetT
public boolean hasOffsetT()optional uint32 offset_t = 25;- Specified by:
hasOffsetTin interfacePixelsOrBuilder- Returns:
- Whether the offsetT field is set.
-
getOffsetT
public int getOffsetT()optional uint32 offset_t = 25;- Specified by:
getOffsetTin interfacePixelsOrBuilder- Returns:
- The offsetT.
-
setOffsetT
optional uint32 offset_t = 25;- Parameters:
value- The offsetT to set.- Returns:
- This builder for chaining.
-
clearOffsetT
optional uint32 offset_t = 25;- Returns:
- This builder for chaining.
-
hasOffsetC
public boolean hasOffsetC()optional uint32 offset_c = 26;- Specified by:
hasOffsetCin interfacePixelsOrBuilder- Returns:
- Whether the offsetC field is set.
-
getOffsetC
public int getOffsetC()optional uint32 offset_c = 26;- Specified by:
getOffsetCin interfacePixelsOrBuilder- Returns:
- The offsetC.
-
setOffsetC
optional uint32 offset_c = 26;- Parameters:
value- The offsetC to set.- Returns:
- This builder for chaining.
-
clearOffsetC
optional uint32 offset_c = 26;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Pixels.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Pixels.Builder>
-