Package com.viam.component.camera.v1
Class Camera.GetPropertiesResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Camera.GetPropertiesResponse,Camera.GetPropertiesResponse.Builder>
com.viam.component.camera.v1.Camera.GetPropertiesResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Camera.GetPropertiesResponseOrBuilder
- Enclosing class:
- Camera
public static final class Camera.GetPropertiesResponse
extends com.google.protobuf.GeneratedMessageLite<Camera.GetPropertiesResponse,Camera.GetPropertiesResponse.Builder>
implements Camera.GetPropertiesResponseOrBuilder
Protobuf type
viam.component.camera.v1.GetPropertiesResponse
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.component.camera.v1.GetPropertiesResponse
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Camera.GetPropertiesResponse
Parameters for modeling lens distortion in cameras If camera does not provide distortion parameters, leave the field empty Initializing the parameters with 0-values is considered an errorfloat
Optional camera frame rate for image capture timingParameters for doing a perspective of a 3D scene to a 2D plane If camera does not provide intrinsic parameters, leave the field empty Initializing the parameters with 0-values is considered an errorgetMimeTypes
(int index) Supported MIME types by the cameracom.google.protobuf.ByteString
getMimeTypesBytes
(int index) Supported MIME types by the cameraint
Supported MIME types by the cameraSupported MIME types by the cameraboolean
A boolean property determining whether the camera supports the return of pointcloud databoolean
Parameters for modeling lens distortion in cameras If camera does not provide distortion parameters, leave the field empty Initializing the parameters with 0-values is considered an errorboolean
Optional camera frame rate for image capture timingboolean
Parameters for doing a perspective of a 3D scene to a 2D plane If camera does not provide intrinsic parameters, leave the field empty Initializing the parameters with 0-values is considered an errornewBuilder
(Camera.GetPropertiesResponse prototype) static Camera.GetPropertiesResponse
parseDelimitedFrom
(InputStream input) static Camera.GetPropertiesResponse
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Camera.GetPropertiesResponse
parseFrom
(byte[] data) static Camera.GetPropertiesResponse
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Camera.GetPropertiesResponse
parseFrom
(com.google.protobuf.ByteString data) static Camera.GetPropertiesResponse
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Camera.GetPropertiesResponse
parseFrom
(com.google.protobuf.CodedInputStream input) static Camera.GetPropertiesResponse
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Camera.GetPropertiesResponse
parseFrom
(InputStream input) static Camera.GetPropertiesResponse
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Camera.GetPropertiesResponse
parseFrom
(ByteBuffer data) static Camera.GetPropertiesResponse
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Camera.GetPropertiesResponse>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
SUPPORTS_PCD_FIELD_NUMBER
public static final int SUPPORTS_PCD_FIELD_NUMBER- See Also:
-
INTRINSIC_PARAMETERS_FIELD_NUMBER
public static final int INTRINSIC_PARAMETERS_FIELD_NUMBER- See Also:
-
DISTORTION_PARAMETERS_FIELD_NUMBER
public static final int DISTORTION_PARAMETERS_FIELD_NUMBER- See Also:
-
MIME_TYPES_FIELD_NUMBER
public static final int MIME_TYPES_FIELD_NUMBER- See Also:
-
FRAME_RATE_FIELD_NUMBER
public static final int FRAME_RATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getSupportsPcd
public boolean getSupportsPcd()A boolean property determining whether the camera supports the return of pointcloud data
bool supports_pcd = 1 [json_name = "supportsPcd"];
- Specified by:
getSupportsPcd
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- The supportsPcd.
-
hasIntrinsicParameters
public boolean hasIntrinsicParameters()Parameters for doing a perspective of a 3D scene to a 2D plane If camera does not provide intrinsic parameters, leave the field empty Initializing the parameters with 0-values is considered an error
.viam.component.camera.v1.IntrinsicParameters intrinsic_parameters = 2 [json_name = "intrinsicParameters"];
- Specified by:
hasIntrinsicParameters
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- Whether the intrinsicParameters field is set.
-
getIntrinsicParameters
Parameters for doing a perspective of a 3D scene to a 2D plane If camera does not provide intrinsic parameters, leave the field empty Initializing the parameters with 0-values is considered an error
.viam.component.camera.v1.IntrinsicParameters intrinsic_parameters = 2 [json_name = "intrinsicParameters"];
- Specified by:
getIntrinsicParameters
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- The intrinsicParameters.
-
hasDistortionParameters
public boolean hasDistortionParameters()Parameters for modeling lens distortion in cameras If camera does not provide distortion parameters, leave the field empty Initializing the parameters with 0-values is considered an error
.viam.component.camera.v1.DistortionParameters distortion_parameters = 3 [json_name = "distortionParameters"];
- Specified by:
hasDistortionParameters
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- Whether the distortionParameters field is set.
-
getDistortionParameters
Parameters for modeling lens distortion in cameras If camera does not provide distortion parameters, leave the field empty Initializing the parameters with 0-values is considered an error
.viam.component.camera.v1.DistortionParameters distortion_parameters = 3 [json_name = "distortionParameters"];
- Specified by:
getDistortionParameters
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- The distortionParameters.
-
getMimeTypesList
Supported MIME types by the camera
repeated string mime_types = 4 [json_name = "mimeTypes"];
- Specified by:
getMimeTypesList
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- A list containing the mimeTypes.
-
getMimeTypesCount
public int getMimeTypesCount()Supported MIME types by the camera
repeated string mime_types = 4 [json_name = "mimeTypes"];
- Specified by:
getMimeTypesCount
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- The count of mimeTypes.
-
getMimeTypes
Supported MIME types by the camera
repeated string mime_types = 4 [json_name = "mimeTypes"];
- Specified by:
getMimeTypes
in interfaceCamera.GetPropertiesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The mimeTypes at the given index.
-
getMimeTypesBytes
public com.google.protobuf.ByteString getMimeTypesBytes(int index) Supported MIME types by the camera
repeated string mime_types = 4 [json_name = "mimeTypes"];
- Specified by:
getMimeTypesBytes
in interfaceCamera.GetPropertiesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the mimeTypes at the given index.
-
hasFrameRate
public boolean hasFrameRate()Optional camera frame rate for image capture timing
optional float frame_rate = 5 [json_name = "frameRate"];
- Specified by:
hasFrameRate
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- Whether the frameRate field is set.
-
getFrameRate
public float getFrameRate()Optional camera frame rate for image capture timing
optional float frame_rate = 5 [json_name = "frameRate"];
- Specified by:
getFrameRate
in interfaceCamera.GetPropertiesResponseOrBuilder
- Returns:
- The frameRate.
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Camera.GetPropertiesResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Camera.GetPropertiesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static Camera.GetPropertiesResponse.Builder newBuilder(Camera.GetPropertiesResponse prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Camera.GetPropertiesResponse,
Camera.GetPropertiesResponse.Builder>
-
getDefaultInstance
-
parser
-