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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Other parameters associated with the request, such as score threshold etc.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A field_mask to indicate the requested fields in the reply.Encapsulate all pixel data and associated metadata.Optional kwargs for endpoint-specific parameters.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOther parameters associated with the request, such as score threshold etc.Other parameters associated with the request, such as score threshold etc.Other parameters associated with the request, such as score threshold etc.com.google.protobuf.FieldMaskA field_mask to indicate the requested fields in the reply.com.google.protobuf.FieldMask.BuilderA field_mask to indicate the requested fields in the reply.com.google.protobuf.FieldMaskOrBuilderA field_mask to indicate the requested fields in the reply.Encapsulate all pixel data and associated metadata.Encapsulate all pixel data and associated metadata.Encapsulate all pixel data and associated metadata.com.google.protobuf.StructOptional kwargs for endpoint-specific parameters.com.google.protobuf.Struct.BuilderOptional kwargs for endpoint-specific parameters.com.google.protobuf.StructOrBuilderOptional kwargs for endpoint-specific parameters.booleanOther parameters associated with the request, such as score threshold etc.booleanA field_mask to indicate the requested fields in the reply.booleanEncapsulate all pixel data and associated metadata.booleanOptional kwargs for endpoint-specific parameters.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanOther parameters associated with the request, such as score threshold etc.mergeFieldMask(com.google.protobuf.FieldMask value) A field_mask to indicate the requested fields in the reply.mergeFrom(DetectionRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeImageData(ImageData value) Encapsulate all pixel data and associated metadata.mergeKwargs(com.google.protobuf.Struct value) Optional kwargs for endpoint-specific parameters.final DetectionRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Other parameters associated with the request, such as score threshold etc.setDetectionSettings(DetectionSettings.Builder builderForValue) Other parameters associated with the request, such as score threshold etc.setFieldMask(com.google.protobuf.FieldMask value) A field_mask to indicate the requested fields in the reply.setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) A field_mask to indicate the requested fields in the reply.setImageData(ImageData value) Encapsulate all pixel data and associated metadata.setImageData(ImageData.Builder builderForValue) Encapsulate all pixel data and associated metadata.setKwargs(com.google.protobuf.Struct value) Optional kwargs for endpoint-specific parameters.setKwargs(com.google.protobuf.Struct.Builder builderForValue) Optional kwargs for endpoint-specific parameters.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final DetectionRequest.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<DetectionRequest.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<DetectionRequest.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<DetectionRequest.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<DetectionRequest.Builder>
-
setField
public DetectionRequest.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<DetectionRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DetectionRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DetectionRequest.Builder>
-
setRepeatedField
public DetectionRequest.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<DetectionRequest.Builder>
-
addRepeatedField
public DetectionRequest.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<DetectionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DetectionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasImageDatain interfaceDetectionRequestOrBuilder- Returns:
- Whether the imageData field is set.
-
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:
getImageDatain interfaceDetectionRequestOrBuilder- Returns:
- The imageData.
-
setImageData
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
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
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
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
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
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:
getImageDataOrBuilderin interfaceDetectionRequestOrBuilder
-
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:
hasDetectionSettingsin interfaceDetectionRequestOrBuilder- Returns:
- Whether the detectionSettings field is set.
-
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:
getDetectionSettingsin interfaceDetectionRequestOrBuilder- Returns:
- The detectionSettings.
-
setDetectionSettings
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
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
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
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
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
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:
getDetectionSettingsOrBuilderin interfaceDetectionRequestOrBuilder
-
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:
hasFieldMaskin interfaceDetectionRequestOrBuilder- 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:
getFieldMaskin interfaceDetectionRequestOrBuilder- Returns:
- The fieldMask.
-
setFieldMask
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
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
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
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:
getFieldMaskOrBuilderin interfaceDetectionRequestOrBuilder
-
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:
hasKwargsin interfaceDetectionRequestOrBuilder- 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:
getKwargsin interfaceDetectionRequestOrBuilder- Returns:
- The kwargs.
-
setKwargs
Optional kwargs for endpoint-specific parameters. Arbitrary key-value pairs that can be passed to the server.
.google.protobuf.Struct kwargs = 4; -
setKwargs
Optional kwargs for endpoint-specific parameters. Arbitrary key-value pairs that can be passed to the server.
.google.protobuf.Struct kwargs = 4; -
mergeKwargs
Optional kwargs for endpoint-specific parameters. Arbitrary key-value pairs that can be passed to the server.
.google.protobuf.Struct kwargs = 4; -
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:
getKwargsOrBuilderin interfaceDetectionRequestOrBuilder
-
setUnknownFields
public final DetectionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DetectionRequest.Builder>
-
mergeUnknownFields
public final DetectionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DetectionRequest.Builder>
-