Package com.viam.service.vision.v1
Interface Vision.GetClassificationsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Vision.GetClassificationsRequest
,Vision.GetClassificationsRequest.Builder
- Enclosing class:
- Vision
public static interface Vision.GetClassificationsRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Struct
getExtra()
Additional arguments to the methodint
the height of the imagecom.google.protobuf.ByteString
getImage()
the image encoded as bytesthe actual MIME type of imagecom.google.protobuf.ByteString
the actual MIME type of imageint
getN()
the number of classifications desiredgetName()
name of the vision servicecom.google.protobuf.ByteString
name of the vision serviceint
getWidth()
the width of the imageboolean
hasExtra()
Additional arguments to the methodMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()name of the vision service
string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()name of the vision service
string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
getImage
com.google.protobuf.ByteString getImage()the image encoded as bytes
bytes image = 2 [json_name = "image"];
- Returns:
- The image.
-
getWidth
int getWidth()the width of the image
int32 width = 3 [json_name = "width"];
- Returns:
- The width.
-
getHeight
int getHeight()the height of the image
int32 height = 4 [json_name = "height"];
- Returns:
- The height.
-
getMimeType
String getMimeType()the actual MIME type of image
string mime_type = 5 [json_name = "mimeType"];
- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()the actual MIME type of image
string mime_type = 5 [json_name = "mimeType"];
- Returns:
- The bytes for mimeType.
-
getN
int getN()the number of classifications desired
int32 n = 6 [json_name = "n"];
- Returns:
- The n.
-
hasExtra
boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Returns:
- Whether the extra field is set.
-
getExtra
com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Returns:
- The extra.
-