Package biopb.image

Class OpSchema.Builder

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

public static final class OpSchema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpSchema.Builder> implements OpSchemaOrBuilder
Protobuf type biopb.image.OpSchema
  • 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<OpSchema.Builder>
    • clear

      public OpSchema.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<OpSchema.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<OpSchema.Builder>
    • getDefaultInstanceForType

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

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

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

      public OpSchema.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<OpSchema.Builder>
    • setField

      public OpSchema.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<OpSchema.Builder>
    • clearField

      public OpSchema.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<OpSchema.Builder>
    • clearOneof

      public OpSchema.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<OpSchema.Builder>
    • setRepeatedField

      public OpSchema.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<OpSchema.Builder>
    • addRepeatedField

      public OpSchema.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<OpSchema.Builder>
    • mergeFrom

      public OpSchema.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<OpSchema.Builder>
    • mergeFrom

      public OpSchema.Builder mergeFrom(OpSchema other)
    • isInitialized

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

      public OpSchema.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<OpSchema.Builder>
      Throws:
      IOException
    • hasDefaultKwargs

      public boolean hasDefaultKwargs()
       Default values for kwargs - also documents expected keys
       
      .google.protobuf.Struct default_kwargs = 1;
      Specified by:
      hasDefaultKwargs in interface OpSchemaOrBuilder
      Returns:
      Whether the defaultKwargs field is set.
    • getDefaultKwargs

      public com.google.protobuf.Struct getDefaultKwargs()
       Default values for kwargs - also documents expected keys
       
      .google.protobuf.Struct default_kwargs = 1;
      Specified by:
      getDefaultKwargs in interface OpSchemaOrBuilder
      Returns:
      The defaultKwargs.
    • setDefaultKwargs

      public OpSchema.Builder setDefaultKwargs(com.google.protobuf.Struct value)
       Default values for kwargs - also documents expected keys
       
      .google.protobuf.Struct default_kwargs = 1;
    • setDefaultKwargs

      public OpSchema.Builder setDefaultKwargs(com.google.protobuf.Struct.Builder builderForValue)
       Default values for kwargs - also documents expected keys
       
      .google.protobuf.Struct default_kwargs = 1;
    • mergeDefaultKwargs

      public OpSchema.Builder mergeDefaultKwargs(com.google.protobuf.Struct value)
       Default values for kwargs - also documents expected keys
       
      .google.protobuf.Struct default_kwargs = 1;
    • clearDefaultKwargs

      public OpSchema.Builder clearDefaultKwargs()
       Default values for kwargs - also documents expected keys
       
      .google.protobuf.Struct default_kwargs = 1;
    • getDefaultKwargsBuilder

      public com.google.protobuf.Struct.Builder getDefaultKwargsBuilder()
       Default values for kwargs - also documents expected keys
       
      .google.protobuf.Struct default_kwargs = 1;
    • getDefaultKwargsOrBuilder

      public com.google.protobuf.StructOrBuilder getDefaultKwargsOrBuilder()
       Default values for kwargs - also documents expected keys
       
      .google.protobuf.Struct default_kwargs = 1;
      Specified by:
      getDefaultKwargsOrBuilder in interface OpSchemaOrBuilder
    • getDescription

      public String getDescription()
       Human-readable description of the operation
       
      string description = 2;
      Specified by:
      getDescription in interface OpSchemaOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Human-readable description of the operation
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface OpSchemaOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public OpSchema.Builder setDescription(String value)
       Human-readable description of the operation
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public OpSchema.Builder clearDescription()
       Human-readable description of the operation
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public OpSchema.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Human-readable description of the operation
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getLabelsList

      public com.google.protobuf.ProtocolStringList getLabelsList()
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Specified by:
      getLabelsList in interface OpSchemaOrBuilder
      Returns:
      A list containing the labels.
    • getLabelsCount

      public int getLabelsCount()
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Specified by:
      getLabelsCount in interface OpSchemaOrBuilder
      Returns:
      The count of labels.
    • getLabels

      public String getLabels(int index)
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Specified by:
      getLabels in interface OpSchemaOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The labels at the given index.
    • getLabelsBytes

      public com.google.protobuf.ByteString getLabelsBytes(int index)
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Specified by:
      getLabelsBytes in interface OpSchemaOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the labels at the given index.
    • setLabels

      public OpSchema.Builder setLabels(int index, String value)
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Parameters:
      index - The index to set the value at.
      value - The labels to set.
      Returns:
      This builder for chaining.
    • addLabels

      public OpSchema.Builder addLabels(String value)
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Parameters:
      value - The labels to add.
      Returns:
      This builder for chaining.
    • addAllLabels

      public OpSchema.Builder addAllLabels(Iterable<String> values)
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Parameters:
      values - The labels to add.
      Returns:
      This builder for chaining.
    • clearLabels

      public OpSchema.Builder clearLabels()
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Returns:
      This builder for chaining.
    • addLabelsBytes

      public OpSchema.Builder addLabelsBytes(com.google.protobuf.ByteString value)
       Organizational labels for grouping/filtering ops.
       Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"]
       Allows hierarchical organization (category + subcategory + model name).
       
      repeated string labels = 3;
      Parameters:
      value - The bytes of the labels to add.
      Returns:
      This builder for chaining.
    • hasInputShapeHint

      public boolean hasInputShapeHint()
       Hints for expected input image dimensions.
       Helps clients determine if their image is compatible before calling.
       
      .biopb.image.InputShapeHint input_shape_hint = 4;
      Specified by:
      hasInputShapeHint in interface OpSchemaOrBuilder
      Returns:
      Whether the inputShapeHint field is set.
    • getInputShapeHint

      public InputShapeHint getInputShapeHint()
       Hints for expected input image dimensions.
       Helps clients determine if their image is compatible before calling.
       
      .biopb.image.InputShapeHint input_shape_hint = 4;
      Specified by:
      getInputShapeHint in interface OpSchemaOrBuilder
      Returns:
      The inputShapeHint.
    • setInputShapeHint

      public OpSchema.Builder setInputShapeHint(InputShapeHint value)
       Hints for expected input image dimensions.
       Helps clients determine if their image is compatible before calling.
       
      .biopb.image.InputShapeHint input_shape_hint = 4;
    • setInputShapeHint

      public OpSchema.Builder setInputShapeHint(InputShapeHint.Builder builderForValue)
       Hints for expected input image dimensions.
       Helps clients determine if their image is compatible before calling.
       
      .biopb.image.InputShapeHint input_shape_hint = 4;
    • mergeInputShapeHint

      public OpSchema.Builder mergeInputShapeHint(InputShapeHint value)
       Hints for expected input image dimensions.
       Helps clients determine if their image is compatible before calling.
       
      .biopb.image.InputShapeHint input_shape_hint = 4;
    • clearInputShapeHint

      public OpSchema.Builder clearInputShapeHint()
       Hints for expected input image dimensions.
       Helps clients determine if their image is compatible before calling.
       
      .biopb.image.InputShapeHint input_shape_hint = 4;
    • getInputShapeHintBuilder

      public InputShapeHint.Builder getInputShapeHintBuilder()
       Hints for expected input image dimensions.
       Helps clients determine if their image is compatible before calling.
       
      .biopb.image.InputShapeHint input_shape_hint = 4;
    • getInputShapeHintOrBuilder

      public InputShapeHintOrBuilder getInputShapeHintOrBuilder()
       Hints for expected input image dimensions.
       Helps clients determine if their image is compatible before calling.
       
      .biopb.image.InputShapeHint input_shape_hint = 4;
      Specified by:
      getInputShapeHintOrBuilder in interface OpSchemaOrBuilder
    • setUnknownFields

      public final OpSchema.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<OpSchema.Builder>
    • mergeUnknownFields

      public final OpSchema.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<OpSchema.Builder>