Package com.viam.component.camera.v1
Interface Camera.ImageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Camera.Image
,Camera.Image.Builder
- Enclosing class:
- Camera
public static interface Camera.ImageOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionformat of the response image bytesint
format of the response image bytescom.google.protobuf.ByteString
getImage()
image in bytesthe name of the sensor where the image came fromcom.google.protobuf.ByteString
the name of the sensor where the image came fromMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getSourceName
String getSourceName()the name of the sensor where the image came from
string source_name = 1 [json_name = "sourceName"];
- Returns:
- The sourceName.
-
getSourceNameBytes
com.google.protobuf.ByteString getSourceNameBytes()the name of the sensor where the image came from
string source_name = 1 [json_name = "sourceName"];
- Returns:
- The bytes for sourceName.
-
getFormatValue
int getFormatValue()format of the response image bytes
.viam.component.camera.v1.Format format = 2 [json_name = "format"];
- Returns:
- The enum numeric value on the wire for format.
-
getFormat
Camera.Format getFormat()format of the response image bytes
.viam.component.camera.v1.Format format = 2 [json_name = "format"];
- Returns:
- The format.
-
getImage
com.google.protobuf.ByteString getImage()image in bytes
bytes image = 3 [json_name = "image"];
- Returns:
- The image.
-