Package com.viam.service.vision.v1
Class Vision.GetDetectionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Vision.GetDetectionsRequest,Vision.GetDetectionsRequest.Builder>
com.viam.service.vision.v1.Vision.GetDetectionsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Vision.GetDetectionsRequestOrBuilder,Cloneable
- Enclosing class:
- Vision.GetDetectionsRequest
public static final class Vision.GetDetectionsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Vision.GetDetectionsRequest,Vision.GetDetectionsRequest.Builder>
implements Vision.GetDetectionsRequestOrBuilder
Protobuf type
viam.service.vision.v1.GetDetectionsRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionAdditional arguments to the methodthe height of the imagethe image, encoded as bytesthe actual MIME type of imagename of the vision servicethe width of the imagecom.google.protobuf.StructgetExtra()Additional arguments to the methodlongthe height of the imagecom.google.protobuf.ByteStringgetImage()the image, encoded as bytesthe actual MIME type of imagecom.google.protobuf.ByteStringthe actual MIME type of imagegetName()name of the vision servicecom.google.protobuf.ByteStringname of the vision servicelonggetWidth()the width of the imagebooleanhasExtra()Additional arguments to the methodmergeExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodsetHeight(long value) the height of the imagesetImage(com.google.protobuf.ByteString value) the image, encoded as bytessetMimeType(String value) the actual MIME type of imagesetMimeTypeBytes(com.google.protobuf.ByteString value) the actual MIME type of imagename of the vision servicesetNameBytes(com.google.protobuf.ByteString value) name of the vision servicesetWidth(long value) the width of the imageMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
name of the vision service
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name of the vision service
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- The bytes for name.
-
setName
name of the vision service
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
name of the vision service
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
name of the vision service
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getImage
public com.google.protobuf.ByteString getImage()the image, encoded as bytes
bytes image = 2 [json_name = "image"];- Specified by:
getImagein interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- The image.
-
setImage
the image, encoded as bytes
bytes image = 2 [json_name = "image"];- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
clearImage
the image, encoded as bytes
bytes image = 2 [json_name = "image"];- Returns:
- This builder for chaining.
-
getWidth
public long getWidth()the width of the image
int64 width = 3 [json_name = "width"];- Specified by:
getWidthin interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- The width.
-
setWidth
the width of the image
int64 width = 3 [json_name = "width"];- Parameters:
value- The width to set.- Returns:
- This builder for chaining.
-
clearWidth
the width of the image
int64 width = 3 [json_name = "width"];- Returns:
- This builder for chaining.
-
getHeight
public long getHeight()the height of the image
int64 height = 4 [json_name = "height"];- Specified by:
getHeightin interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- The height.
-
setHeight
the height of the image
int64 height = 4 [json_name = "height"];- Parameters:
value- The height to set.- Returns:
- This builder for chaining.
-
clearHeight
the height of the image
int64 height = 4 [json_name = "height"];- Returns:
- This builder for chaining.
-
getMimeType
the actual MIME type of image
string mime_type = 5 [json_name = "mimeType"];- Specified by:
getMimeTypein interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()the actual MIME type of image
string mime_type = 5 [json_name = "mimeType"];- Specified by:
getMimeTypeBytesin interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- The bytes for mimeType.
-
setMimeType
the actual MIME type of image
string mime_type = 5 [json_name = "mimeType"];- Parameters:
value- The mimeType to set.- Returns:
- This builder for chaining.
-
clearMimeType
the actual MIME type of image
string mime_type = 5 [json_name = "mimeType"];- Returns:
- This builder for chaining.
-
setMimeTypeBytes
the actual MIME type of image
string mime_type = 5 [json_name = "mimeType"];- Parameters:
value- The bytes for mimeType to set.- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceVision.GetDetectionsRequestOrBuilder- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Vision.GetDetectionsRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-