Class Video.GetVideoRequest.Builder

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

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

    • getName

      public String getName()
       Name of the video source
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Video.GetVideoRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the video source
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Video.GetVideoRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Video.GetVideoRequest.Builder setName(String value)
       Name of the video source
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Video.GetVideoRequest.Builder clearName()
       Name of the video source
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Video.GetVideoRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the video source
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasStartTimestamp

      public boolean hasStartTimestamp()
       Start time for the video retrieval
       
      .google.protobuf.Timestamp start_timestamp = 2 [json_name = "startTimestamp"];
      Specified by:
      hasStartTimestamp in interface Video.GetVideoRequestOrBuilder
      Returns:
      Whether the startTimestamp field is set.
    • getStartTimestamp

      public com.google.protobuf.Timestamp getStartTimestamp()
       Start time for the video retrieval
       
      .google.protobuf.Timestamp start_timestamp = 2 [json_name = "startTimestamp"];
      Specified by:
      getStartTimestamp in interface Video.GetVideoRequestOrBuilder
      Returns:
      The startTimestamp.
    • setStartTimestamp

      public Video.GetVideoRequest.Builder setStartTimestamp(com.google.protobuf.Timestamp value)
       Start time for the video retrieval
       
      .google.protobuf.Timestamp start_timestamp = 2 [json_name = "startTimestamp"];
    • setStartTimestamp

      public Video.GetVideoRequest.Builder setStartTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
       Start time for the video retrieval
       
      .google.protobuf.Timestamp start_timestamp = 2 [json_name = "startTimestamp"];
    • mergeStartTimestamp

      public Video.GetVideoRequest.Builder mergeStartTimestamp(com.google.protobuf.Timestamp value)
       Start time for the video retrieval
       
      .google.protobuf.Timestamp start_timestamp = 2 [json_name = "startTimestamp"];
    • clearStartTimestamp

      public Video.GetVideoRequest.Builder clearStartTimestamp()
       Start time for the video retrieval
       
      .google.protobuf.Timestamp start_timestamp = 2 [json_name = "startTimestamp"];
    • hasEndTimestamp

      public boolean hasEndTimestamp()
       End time for the video retrieval
       
      .google.protobuf.Timestamp end_timestamp = 3 [json_name = "endTimestamp"];
      Specified by:
      hasEndTimestamp in interface Video.GetVideoRequestOrBuilder
      Returns:
      Whether the endTimestamp field is set.
    • getEndTimestamp

      public com.google.protobuf.Timestamp getEndTimestamp()
       End time for the video retrieval
       
      .google.protobuf.Timestamp end_timestamp = 3 [json_name = "endTimestamp"];
      Specified by:
      getEndTimestamp in interface Video.GetVideoRequestOrBuilder
      Returns:
      The endTimestamp.
    • setEndTimestamp

      public Video.GetVideoRequest.Builder setEndTimestamp(com.google.protobuf.Timestamp value)
       End time for the video retrieval
       
      .google.protobuf.Timestamp end_timestamp = 3 [json_name = "endTimestamp"];
    • setEndTimestamp

      public Video.GetVideoRequest.Builder setEndTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
       End time for the video retrieval
       
      .google.protobuf.Timestamp end_timestamp = 3 [json_name = "endTimestamp"];
    • mergeEndTimestamp

      public Video.GetVideoRequest.Builder mergeEndTimestamp(com.google.protobuf.Timestamp value)
       End time for the video retrieval
       
      .google.protobuf.Timestamp end_timestamp = 3 [json_name = "endTimestamp"];
    • clearEndTimestamp

      public Video.GetVideoRequest.Builder clearEndTimestamp()
       End time for the video retrieval
       
      .google.protobuf.Timestamp end_timestamp = 3 [json_name = "endTimestamp"];
    • getVideoCodec

      public String getVideoCodec()
       Codec for the video retrieval (e.g., "h264", "h265")
       
      string video_codec = 4 [json_name = "videoCodec"];
      Specified by:
      getVideoCodec in interface Video.GetVideoRequestOrBuilder
      Returns:
      The videoCodec.
    • getVideoCodecBytes

      public com.google.protobuf.ByteString getVideoCodecBytes()
       Codec for the video retrieval (e.g., "h264", "h265")
       
      string video_codec = 4 [json_name = "videoCodec"];
      Specified by:
      getVideoCodecBytes in interface Video.GetVideoRequestOrBuilder
      Returns:
      The bytes for videoCodec.
    • setVideoCodec

      public Video.GetVideoRequest.Builder setVideoCodec(String value)
       Codec for the video retrieval (e.g., "h264", "h265")
       
      string video_codec = 4 [json_name = "videoCodec"];
      Parameters:
      value - The videoCodec to set.
      Returns:
      This builder for chaining.
    • clearVideoCodec

      public Video.GetVideoRequest.Builder clearVideoCodec()
       Codec for the video retrieval (e.g., "h264", "h265")
       
      string video_codec = 4 [json_name = "videoCodec"];
      Returns:
      This builder for chaining.
    • setVideoCodecBytes

      public Video.GetVideoRequest.Builder setVideoCodecBytes(com.google.protobuf.ByteString value)
       Codec for the video retrieval (e.g., "h264", "h265")
       
      string video_codec = 4 [json_name = "videoCodec"];
      Parameters:
      value - The bytes for videoCodec to set.
      Returns:
      This builder for chaining.
    • getVideoContainer

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

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

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

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

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

      public String getRequestId()
       To match a request to its responses
       
      string request_id = 6 [json_name = "requestId"];
      Specified by:
      getRequestId in interface Video.GetVideoRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       To match a request to its responses
       
      string request_id = 6 [json_name = "requestId"];
      Specified by:
      getRequestIdBytes in interface Video.GetVideoRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public Video.GetVideoRequest.Builder setRequestId(String value)
       To match a request to its responses
       
      string request_id = 6 [json_name = "requestId"];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public Video.GetVideoRequest.Builder clearRequestId()
       To match a request to its responses
       
      string request_id = 6 [json_name = "requestId"];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public Video.GetVideoRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       To match a request to its responses
       
      string request_id = 6 [json_name = "requestId"];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • hasExtra

      public boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Video.GetVideoRequestOrBuilder
      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:
      getExtra in interface Video.GetVideoRequestOrBuilder
      Returns:
      The extra.
    • setExtra

      public Video.GetVideoRequest.Builder setExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Video.GetVideoRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Video.GetVideoRequest.Builder mergeExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Video.GetVideoRequest.Builder clearExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];