Package biopb.image

Class DetectionRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public DetectionRequest.Builder mergeFrom(DetectionRequest other)
    • isInitialized

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

      public DetectionRequest.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<DetectionRequest.Builder>
      Throws:
      IOException
    • hasImageData

      public boolean hasImageData()
       Encapsulate all pixel data and associated metadata. In a streaming call,
       this field is allowed to be null, which simply is a request to re-analyze
       the last submitted image with the updated settings. If this is the first
       call in a stream, the server will not return results, but simply update
       and remember the settings.
       
      .biopb.image.ImageData image_data = 1;
      Specified by:
      hasImageData in interface DetectionRequestOrBuilder
      Returns:
      Whether the imageData field is set.
    • getImageData

      public ImageData getImageData()
       Encapsulate all pixel data and associated metadata. In a streaming call,
       this field is allowed to be null, which simply is a request to re-analyze
       the last submitted image with the updated settings. If this is the first
       call in a stream, the server will not return results, but simply update
       and remember the settings.
       
      .biopb.image.ImageData image_data = 1;
      Specified by:
      getImageData in interface DetectionRequestOrBuilder
      Returns:
      The imageData.
    • setImageData

      public DetectionRequest.Builder setImageData(ImageData value)
       Encapsulate all pixel data and associated metadata. In a streaming call,
       this field is allowed to be null, which simply is a request to re-analyze
       the last submitted image with the updated settings. If this is the first
       call in a stream, the server will not return results, but simply update
       and remember the settings.
       
      .biopb.image.ImageData image_data = 1;
    • setImageData

      public DetectionRequest.Builder setImageData(ImageData.Builder builderForValue)
       Encapsulate all pixel data and associated metadata. In a streaming call,
       this field is allowed to be null, which simply is a request to re-analyze
       the last submitted image with the updated settings. If this is the first
       call in a stream, the server will not return results, but simply update
       and remember the settings.
       
      .biopb.image.ImageData image_data = 1;
    • mergeImageData

      public DetectionRequest.Builder mergeImageData(ImageData value)
       Encapsulate all pixel data and associated metadata. In a streaming call,
       this field is allowed to be null, which simply is a request to re-analyze
       the last submitted image with the updated settings. If this is the first
       call in a stream, the server will not return results, but simply update
       and remember the settings.
       
      .biopb.image.ImageData image_data = 1;
    • clearImageData

      public DetectionRequest.Builder clearImageData()
       Encapsulate all pixel data and associated metadata. In a streaming call,
       this field is allowed to be null, which simply is a request to re-analyze
       the last submitted image with the updated settings. If this is the first
       call in a stream, the server will not return results, but simply update
       and remember the settings.
       
      .biopb.image.ImageData image_data = 1;
    • getImageDataBuilder

      public ImageData.Builder getImageDataBuilder()
       Encapsulate all pixel data and associated metadata. In a streaming call,
       this field is allowed to be null, which simply is a request to re-analyze
       the last submitted image with the updated settings. If this is the first
       call in a stream, the server will not return results, but simply update
       and remember the settings.
       
      .biopb.image.ImageData image_data = 1;
    • getImageDataOrBuilder

      public ImageDataOrBuilder getImageDataOrBuilder()
       Encapsulate all pixel data and associated metadata. In a streaming call,
       this field is allowed to be null, which simply is a request to re-analyze
       the last submitted image with the updated settings. If this is the first
       call in a stream, the server will not return results, but simply update
       and remember the settings.
       
      .biopb.image.ImageData image_data = 1;
      Specified by:
      getImageDataOrBuilder in interface DetectionRequestOrBuilder
    • hasDetectionSettings

      public boolean hasDetectionSettings()
       Other parameters associated with the request, such as score threshold
       etc. In a streaming call, this field is allowed to be null, in which case
       the server will use the setings of the previous request.
       
      .biopb.image.DetectionSettings detection_settings = 2;
      Specified by:
      hasDetectionSettings in interface DetectionRequestOrBuilder
      Returns:
      Whether the detectionSettings field is set.
    • getDetectionSettings

      public DetectionSettings getDetectionSettings()
       Other parameters associated with the request, such as score threshold
       etc. In a streaming call, this field is allowed to be null, in which case
       the server will use the setings of the previous request.
       
      .biopb.image.DetectionSettings detection_settings = 2;
      Specified by:
      getDetectionSettings in interface DetectionRequestOrBuilder
      Returns:
      The detectionSettings.
    • setDetectionSettings

      public DetectionRequest.Builder setDetectionSettings(DetectionSettings value)
       Other parameters associated with the request, such as score threshold
       etc. In a streaming call, this field is allowed to be null, in which case
       the server will use the setings of the previous request.
       
      .biopb.image.DetectionSettings detection_settings = 2;
    • setDetectionSettings

      public DetectionRequest.Builder setDetectionSettings(DetectionSettings.Builder builderForValue)
       Other parameters associated with the request, such as score threshold
       etc. In a streaming call, this field is allowed to be null, in which case
       the server will use the setings of the previous request.
       
      .biopb.image.DetectionSettings detection_settings = 2;
    • mergeDetectionSettings

      public DetectionRequest.Builder mergeDetectionSettings(DetectionSettings value)
       Other parameters associated with the request, such as score threshold
       etc. In a streaming call, this field is allowed to be null, in which case
       the server will use the setings of the previous request.
       
      .biopb.image.DetectionSettings detection_settings = 2;
    • clearDetectionSettings

      public DetectionRequest.Builder clearDetectionSettings()
       Other parameters associated with the request, such as score threshold
       etc. In a streaming call, this field is allowed to be null, in which case
       the server will use the setings of the previous request.
       
      .biopb.image.DetectionSettings detection_settings = 2;
    • getDetectionSettingsBuilder

      public DetectionSettings.Builder getDetectionSettingsBuilder()
       Other parameters associated with the request, such as score threshold
       etc. In a streaming call, this field is allowed to be null, in which case
       the server will use the setings of the previous request.
       
      .biopb.image.DetectionSettings detection_settings = 2;
    • getDetectionSettingsOrBuilder

      public DetectionSettingsOrBuilder getDetectionSettingsOrBuilder()
       Other parameters associated with the request, such as score threshold
       etc. In a streaming call, this field is allowed to be null, in which case
       the server will use the setings of the previous request.
       
      .biopb.image.DetectionSettings detection_settings = 2;
      Specified by:
      getDetectionSettingsOrBuilder in interface DetectionRequestOrBuilder
    • hasFieldMask

      public boolean hasFieldMask()
       A field_mask to indicate the requested fields in the reply. Default is to
       return the full response.
       
      .google.protobuf.FieldMask field_mask = 3;
      Specified by:
      hasFieldMask in interface DetectionRequestOrBuilder
      Returns:
      Whether the fieldMask field is set.
    • getFieldMask

      public com.google.protobuf.FieldMask getFieldMask()
       A field_mask to indicate the requested fields in the reply. Default is to
       return the full response.
       
      .google.protobuf.FieldMask field_mask = 3;
      Specified by:
      getFieldMask in interface DetectionRequestOrBuilder
      Returns:
      The fieldMask.
    • setFieldMask

      public DetectionRequest.Builder setFieldMask(com.google.protobuf.FieldMask value)
       A field_mask to indicate the requested fields in the reply. Default is to
       return the full response.
       
      .google.protobuf.FieldMask field_mask = 3;
    • setFieldMask

      public DetectionRequest.Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue)
       A field_mask to indicate the requested fields in the reply. Default is to
       return the full response.
       
      .google.protobuf.FieldMask field_mask = 3;
    • mergeFieldMask

      public DetectionRequest.Builder mergeFieldMask(com.google.protobuf.FieldMask value)
       A field_mask to indicate the requested fields in the reply. Default is to
       return the full response.
       
      .google.protobuf.FieldMask field_mask = 3;
    • clearFieldMask

      public DetectionRequest.Builder clearFieldMask()
       A field_mask to indicate the requested fields in the reply. Default is to
       return the full response.
       
      .google.protobuf.FieldMask field_mask = 3;
    • getFieldMaskBuilder

      public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder()
       A field_mask to indicate the requested fields in the reply. Default is to
       return the full response.
       
      .google.protobuf.FieldMask field_mask = 3;
    • getFieldMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder()
       A field_mask to indicate the requested fields in the reply. Default is to
       return the full response.
       
      .google.protobuf.FieldMask field_mask = 3;
      Specified by:
      getFieldMaskOrBuilder in interface DetectionRequestOrBuilder
    • hasKwargs

      public boolean hasKwargs()
       Optional kwargs for endpoint-specific parameters.
       Arbitrary key-value pairs that can be passed to the server.
       
      .google.protobuf.Struct kwargs = 4;
      Specified by:
      hasKwargs in interface DetectionRequestOrBuilder
      Returns:
      Whether the kwargs field is set.
    • getKwargs

      public com.google.protobuf.Struct getKwargs()
       Optional kwargs for endpoint-specific parameters.
       Arbitrary key-value pairs that can be passed to the server.
       
      .google.protobuf.Struct kwargs = 4;
      Specified by:
      getKwargs in interface DetectionRequestOrBuilder
      Returns:
      The kwargs.
    • setKwargs

      public DetectionRequest.Builder setKwargs(com.google.protobuf.Struct value)
       Optional kwargs for endpoint-specific parameters.
       Arbitrary key-value pairs that can be passed to the server.
       
      .google.protobuf.Struct kwargs = 4;
    • setKwargs

      public DetectionRequest.Builder setKwargs(com.google.protobuf.Struct.Builder builderForValue)
       Optional kwargs for endpoint-specific parameters.
       Arbitrary key-value pairs that can be passed to the server.
       
      .google.protobuf.Struct kwargs = 4;
    • mergeKwargs

      public DetectionRequest.Builder mergeKwargs(com.google.protobuf.Struct value)
       Optional kwargs for endpoint-specific parameters.
       Arbitrary key-value pairs that can be passed to the server.
       
      .google.protobuf.Struct kwargs = 4;
    • clearKwargs

      public DetectionRequest.Builder clearKwargs()
       Optional kwargs for endpoint-specific parameters.
       Arbitrary key-value pairs that can be passed to the server.
       
      .google.protobuf.Struct kwargs = 4;
    • getKwargsBuilder

      public com.google.protobuf.Struct.Builder getKwargsBuilder()
       Optional kwargs for endpoint-specific parameters.
       Arbitrary key-value pairs that can be passed to the server.
       
      .google.protobuf.Struct kwargs = 4;
    • getKwargsOrBuilder

      public com.google.protobuf.StructOrBuilder getKwargsOrBuilder()
       Optional kwargs for endpoint-specific parameters.
       Arbitrary key-value pairs that can be passed to the server.
       
      .google.protobuf.Struct kwargs = 4;
      Specified by:
      getKwargsOrBuilder in interface DetectionRequestOrBuilder
    • setUnknownFields

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

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