Package com.viam.component.camera.v1
Class Camera.GetImageResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Camera.GetImageResponse,Camera.GetImageResponse.Builder>
com.viam.component.camera.v1.Camera.GetImageResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Camera.GetImageResponseOrBuilder
,Cloneable
- Enclosing class:
- Camera.GetImageResponse
public static final class Camera.GetImageResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Camera.GetImageResponse,Camera.GetImageResponse.Builder>
implements Camera.GetImageResponseOrBuilder
Protobuf type
viam.component.camera.v1.GetImageResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionFrame in bytesActual MIME type of responsecom.google.protobuf.ByteString
getImage()
Frame in bytesActual MIME type of responsecom.google.protobuf.ByteString
Actual MIME type of responsesetImage
(com.google.protobuf.ByteString value) Frame in bytessetMimeType
(String value) Actual MIME type of responsesetMimeTypeBytes
(com.google.protobuf.ByteString value) Actual MIME type of responseMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getMimeType
Actual MIME type of response
string mime_type = 1 [json_name = "mimeType"];
- Specified by:
getMimeType
in interfaceCamera.GetImageResponseOrBuilder
- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()Actual MIME type of response
string mime_type = 1 [json_name = "mimeType"];
- Specified by:
getMimeTypeBytes
in interfaceCamera.GetImageResponseOrBuilder
- Returns:
- The bytes for mimeType.
-
setMimeType
Actual MIME type of response
string mime_type = 1 [json_name = "mimeType"];
- Parameters:
value
- The mimeType to set.- Returns:
- This builder for chaining.
-
clearMimeType
Actual MIME type of response
string mime_type = 1 [json_name = "mimeType"];
- Returns:
- This builder for chaining.
-
setMimeTypeBytes
Actual MIME type of response
string mime_type = 1 [json_name = "mimeType"];
- Parameters:
value
- The bytes for mimeType to set.- Returns:
- This builder for chaining.
-
getImage
public com.google.protobuf.ByteString getImage()Frame in bytes
bytes image = 2 [json_name = "image"];
- Specified by:
getImage
in interfaceCamera.GetImageResponseOrBuilder
- Returns:
- The image.
-
setImage
Frame in bytes
bytes image = 2 [json_name = "image"];
- Parameters:
value
- The image to set.- Returns:
- This builder for chaining.
-
clearImage
Frame in bytes
bytes image = 2 [json_name = "image"];
- Returns:
- This builder for chaining.
-