Package com.viam.component.camera.v1
Class Camera.Webcam.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Camera.Webcam,Camera.Webcam.Builder>
com.viam.component.camera.v1.Camera.Webcam.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Camera.WebcamOrBuilder
,Cloneable
- Enclosing class:
- Camera.Webcam
public static final class Camera.Webcam.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Camera.Webcam,Camera.Webcam.Builder>
implements Camera.WebcamOrBuilder
Protobuf type
viam.component.camera.v1.Webcam
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllProperties
(Iterable<? extends Camera.Property> values) Camera propertiesaddProperties
(int index, Camera.Property value) Camera propertiesaddProperties
(int index, Camera.Property.Builder builderForValue) Camera propertiesaddProperties
(Camera.Property value) Camera propertiesaddProperties
(Camera.Property.Builder builderForValue) Camera propertiesclearId()
Camera unique identifierCamera driver label (for internal use only)Camera human-readable driver nameCamera propertiesCamera driver statusgetId()
Camera unique identifiercom.google.protobuf.ByteString
Camera unique identifiergetLabel()
Camera driver label (for internal use only)com.google.protobuf.ByteString
Camera driver label (for internal use only)getName()
Camera human-readable driver namecom.google.protobuf.ByteString
Camera human-readable driver namegetProperties
(int index) Camera propertiesint
Camera propertiesCamera propertiesCamera driver statuscom.google.protobuf.ByteString
Camera driver statusremoveProperties
(int index) Camera propertiesCamera unique identifiersetIdBytes
(com.google.protobuf.ByteString value) Camera unique identifierCamera driver label (for internal use only)setLabelBytes
(com.google.protobuf.ByteString value) Camera driver label (for internal use only)Camera human-readable driver namesetNameBytes
(com.google.protobuf.ByteString value) Camera human-readable driver namesetProperties
(int index, Camera.Property value) Camera propertiessetProperties
(int index, Camera.Property.Builder builderForValue) Camera propertiesCamera driver statussetStatusBytes
(com.google.protobuf.ByteString value) Camera driver statusMethods 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
-
getLabel
Camera driver label (for internal use only)
string label = 1 [json_name = "label"];
- Specified by:
getLabel
in interfaceCamera.WebcamOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Camera driver label (for internal use only)
string label = 1 [json_name = "label"];
- Specified by:
getLabelBytes
in interfaceCamera.WebcamOrBuilder
- Returns:
- The bytes for label.
-
setLabel
Camera driver label (for internal use only)
string label = 1 [json_name = "label"];
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
Camera driver label (for internal use only)
string label = 1 [json_name = "label"];
- Returns:
- This builder for chaining.
-
setLabelBytes
Camera driver label (for internal use only)
string label = 1 [json_name = "label"];
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
getStatus
Camera driver status
string status = 2 [json_name = "status"];
- Specified by:
getStatus
in interfaceCamera.WebcamOrBuilder
- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Camera driver status
string status = 2 [json_name = "status"];
- Specified by:
getStatusBytes
in interfaceCamera.WebcamOrBuilder
- Returns:
- The bytes for status.
-
setStatus
Camera driver status
string status = 2 [json_name = "status"];
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Camera driver status
string status = 2 [json_name = "status"];
- Returns:
- This builder for chaining.
-
setStatusBytes
Camera driver status
string status = 2 [json_name = "status"];
- Parameters:
value
- The bytes for status to set.- Returns:
- This builder for chaining.
-
getPropertiesList
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
- Specified by:
getPropertiesList
in interfaceCamera.WebcamOrBuilder
-
getPropertiesCount
public int getPropertiesCount()Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
- Specified by:
getPropertiesCount
in interfaceCamera.WebcamOrBuilder
-
getProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
- Specified by:
getProperties
in interfaceCamera.WebcamOrBuilder
-
setProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
setProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
addProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
addProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
addProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
addProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
addAllProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
clearProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
removeProperties
Camera properties
repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
-
getName
Camera human-readable driver name
string name = 4 [json_name = "name"];
- Specified by:
getName
in interfaceCamera.WebcamOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Camera human-readable driver name
string name = 4 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceCamera.WebcamOrBuilder
- Returns:
- The bytes for name.
-
setName
Camera human-readable driver name
string name = 4 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Camera human-readable driver name
string name = 4 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
Camera human-readable driver name
string name = 4 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
Camera unique identifier
string id = 5 [json_name = "id"];
- Specified by:
getId
in interfaceCamera.WebcamOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Camera unique identifier
string id = 5 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceCamera.WebcamOrBuilder
- Returns:
- The bytes for id.
-
setId
Camera unique identifier
string id = 5 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
Camera unique identifier
string id = 5 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
Camera unique identifier
string id = 5 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-