Class Video.GetVideoResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Video.GetVideoResponse,Video.GetVideoResponse.Builder>
com.viam.service.video.v1.Video.GetVideoResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Video.GetVideoResponseOrBuilder, Cloneable
Enclosing class:
Video.GetVideoResponse

public static final class Video.GetVideoResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Video.GetVideoResponse,Video.GetVideoResponse.Builder> implements Video.GetVideoResponseOrBuilder
Protobuf type viam.service.video.v1.GetVideoResponse
  • Method Details

    • getVideoData

      public com.google.protobuf.ByteString getVideoData()
       Video data chunk
       
      bytes video_data = 1 [json_name = "videoData"];
      Specified by:
      getVideoData in interface Video.GetVideoResponseOrBuilder
      Returns:
      The videoData.
    • setVideoData

      public Video.GetVideoResponse.Builder setVideoData(com.google.protobuf.ByteString value)
       Video data chunk
       
      bytes video_data = 1 [json_name = "videoData"];
      Parameters:
      value - The videoData to set.
      Returns:
      This builder for chaining.
    • clearVideoData

      public Video.GetVideoResponse.Builder clearVideoData()
       Video data chunk
       
      bytes video_data = 1 [json_name = "videoData"];
      Returns:
      This builder for chaining.
    • getVideoContainer

      public String getVideoContainer()
       Container format (e.g., "mp4", "fmp4")
       
      string video_container = 2 [json_name = "videoContainer"];
      Specified by:
      getVideoContainer in interface Video.GetVideoResponseOrBuilder
      Returns:
      The videoContainer.
    • getVideoContainerBytes

      public com.google.protobuf.ByteString getVideoContainerBytes()
       Container format (e.g., "mp4", "fmp4")
       
      string video_container = 2 [json_name = "videoContainer"];
      Specified by:
      getVideoContainerBytes in interface Video.GetVideoResponseOrBuilder
      Returns:
      The bytes for videoContainer.
    • setVideoContainer

      public Video.GetVideoResponse.Builder setVideoContainer(String value)
       Container format (e.g., "mp4", "fmp4")
       
      string video_container = 2 [json_name = "videoContainer"];
      Parameters:
      value - The videoContainer to set.
      Returns:
      This builder for chaining.
    • clearVideoContainer

      public Video.GetVideoResponse.Builder clearVideoContainer()
       Container format (e.g., "mp4", "fmp4")
       
      string video_container = 2 [json_name = "videoContainer"];
      Returns:
      This builder for chaining.
    • setVideoContainerBytes

      public Video.GetVideoResponse.Builder setVideoContainerBytes(com.google.protobuf.ByteString value)
       Container format (e.g., "mp4", "fmp4")
       
      string video_container = 2 [json_name = "videoContainer"];
      Parameters:
      value - The bytes for videoContainer to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       Request ID to match this response to its request
       
      string request_id = 3 [json_name = "requestId"];
      Specified by:
      getRequestId in interface Video.GetVideoResponseOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Request ID to match this response to its request
       
      string request_id = 3 [json_name = "requestId"];
      Specified by:
      getRequestIdBytes in interface Video.GetVideoResponseOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public Video.GetVideoResponse.Builder setRequestId(String value)
       Request ID to match this response to its request
       
      string request_id = 3 [json_name = "requestId"];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public Video.GetVideoResponse.Builder clearRequestId()
       Request ID to match this response to its request
       
      string request_id = 3 [json_name = "requestId"];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public Video.GetVideoResponse.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Request ID to match this response to its request
       
      string request_id = 3 [json_name = "requestId"];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.