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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type viam.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

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    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
    float
    Optional camera frame rate for image capture timing
    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
    getMimeTypes(int index)
    Supported MIME types by the camera
    com.google.protobuf.ByteString
    getMimeTypesBytes(int index)
    Supported MIME types by the camera
    int
    Supported MIME types by the camera
    Supported MIME types by the camera
    boolean
    A boolean property determining whether the camera supports the return of pointcloud data
    boolean
    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
    boolean
    Optional camera frame rate for image capture timing
    boolean
    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
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Camera.GetPropertiesResponse>
     

    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 interface Camera.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 interface Camera.GetPropertiesResponseOrBuilder
      Returns:
      Whether the intrinsicParameters field is set.
    • getIntrinsicParameters

      public Camera.IntrinsicParameters 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 interface Camera.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 interface Camera.GetPropertiesResponseOrBuilder
      Returns:
      Whether the distortionParameters field is set.
    • getDistortionParameters

      public Camera.DistortionParameters 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 interface Camera.GetPropertiesResponseOrBuilder
      Returns:
      The distortionParameters.
    • getMimeTypesList

      public List<String> getMimeTypesList()
       Supported MIME types by the camera
       
      repeated string mime_types = 4 [json_name = "mimeTypes"];
      Specified by:
      getMimeTypesList in interface Camera.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 interface Camera.GetPropertiesResponseOrBuilder
      Returns:
      The count of mimeTypes.
    • getMimeTypes

      public String getMimeTypes(int index)
       Supported MIME types by the camera
       
      repeated string mime_types = 4 [json_name = "mimeTypes"];
      Specified by:
      getMimeTypes in interface Camera.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 interface Camera.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 interface Camera.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 interface Camera.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

      public static Camera.GetPropertiesResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Camera.GetPropertiesResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Camera.GetPropertiesResponse parseDelimitedFrom(InputStream input) throws IOException
      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

      public static Camera.GetPropertiesResponse.Builder newBuilder()
    • newBuilder

    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Camera.GetPropertiesResponse,Camera.GetPropertiesResponse.Builder>
    • getDefaultInstance

      public static Camera.GetPropertiesResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Camera.GetPropertiesResponse> parser()