Package com.viam.service.vision.v1
Class Vision.GetClassificationsFromCameraRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Vision.GetClassificationsFromCameraRequest,Vision.GetClassificationsFromCameraRequest.Builder>
com.viam.service.vision.v1.Vision.GetClassificationsFromCameraRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Vision.GetClassificationsFromCameraRequestOrBuilder,Cloneable
- Enclosing class:
- Vision.GetClassificationsFromCameraRequest
public static final class Vision.GetClassificationsFromCameraRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Vision.GetClassificationsFromCameraRequest,Vision.GetClassificationsFromCameraRequest.Builder>
implements Vision.GetClassificationsFromCameraRequestOrBuilder
Protobuf type
viam.service.vision.v1.GetClassificationsFromCameraRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionthe image encoded as bytesAdditional arguments to the methodclearN()the number of classifications desiredname of the vision servicethe image encoded as bytescom.google.protobuf.ByteStringthe image encoded as bytescom.google.protobuf.StructgetExtra()Additional arguments to the methodintgetN()the number of classifications desiredgetName()name of the vision servicecom.google.protobuf.ByteStringname of the vision servicebooleanhasExtra()Additional arguments to the methodmergeExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetCameraName(String value) the image encoded as bytessetCameraNameBytes(com.google.protobuf.ByteString value) the image encoded as bytessetExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodsetN(int value) the number of classifications desiredname of the vision servicesetNameBytes(com.google.protobuf.ByteString value) name of the vision serviceMethods 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.GetClassificationsFromCameraRequestOrBuilder- 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.GetClassificationsFromCameraRequestOrBuilder- 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
public Vision.GetClassificationsFromCameraRequest.Builder setNameBytes(com.google.protobuf.ByteString value) name of the vision service
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getCameraName
the image encoded as bytes
string camera_name = 2 [json_name = "cameraName"];- Specified by:
getCameraNamein interfaceVision.GetClassificationsFromCameraRequestOrBuilder- Returns:
- The cameraName.
-
getCameraNameBytes
public com.google.protobuf.ByteString getCameraNameBytes()the image encoded as bytes
string camera_name = 2 [json_name = "cameraName"];- Specified by:
getCameraNameBytesin interfaceVision.GetClassificationsFromCameraRequestOrBuilder- Returns:
- The bytes for cameraName.
-
setCameraName
the image encoded as bytes
string camera_name = 2 [json_name = "cameraName"];- Parameters:
value- The cameraName to set.- Returns:
- This builder for chaining.
-
clearCameraName
the image encoded as bytes
string camera_name = 2 [json_name = "cameraName"];- Returns:
- This builder for chaining.
-
setCameraNameBytes
public Vision.GetClassificationsFromCameraRequest.Builder setCameraNameBytes(com.google.protobuf.ByteString value) the image encoded as bytes
string camera_name = 2 [json_name = "cameraName"];- Parameters:
value- The bytes for cameraName to set.- Returns:
- This builder for chaining.
-
getN
public int getN()the number of classifications desired
int32 n = 3 [json_name = "n"];- Specified by:
getNin interfaceVision.GetClassificationsFromCameraRequestOrBuilder- Returns:
- The n.
-
setN
the number of classifications desired
int32 n = 3 [json_name = "n"];- Parameters:
value- The n to set.- Returns:
- This builder for chaining.
-
clearN
the number of classifications desired
int32 n = 3 [json_name = "n"];- 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.GetClassificationsFromCameraRequestOrBuilder- 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.GetClassificationsFromCameraRequestOrBuilder- Returns:
- The extra.
-
setExtra
public Vision.GetClassificationsFromCameraRequest.Builder setExtra(com.google.protobuf.Struct value) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Vision.GetClassificationsFromCameraRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
public Vision.GetClassificationsFromCameraRequest.Builder mergeExtra(com.google.protobuf.Struct value) 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"];
-