Package com.viam.service.video.v1
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionEnd time for the video retrievalAdditional arguments to the methodName of the video sourceTo match a request to its responsesStart time for the video retrievalCodec for the video retrieval (e.g., "h264", "h265")Container format for the video retrieval (e.g., "mp4", "fmp4")com.google.protobuf.TimestampEnd time for the video retrievalcom.google.protobuf.StructgetExtra()Additional arguments to the methodgetName()Name of the video sourcecom.google.protobuf.ByteStringName of the video sourceTo match a request to its responsescom.google.protobuf.ByteStringTo match a request to its responsescom.google.protobuf.TimestampStart time for the video retrievalCodec for the video retrieval (e.g., "h264", "h265")com.google.protobuf.ByteStringCodec for the video retrieval (e.g., "h264", "h265")Container format for the video retrieval (e.g., "mp4", "fmp4")com.google.protobuf.ByteStringContainer format for the video retrieval (e.g., "mp4", "fmp4")booleanEnd time for the video retrievalbooleanhasExtra()Additional arguments to the methodbooleanStart time for the video retrievalmergeEndTimestamp(com.google.protobuf.Timestamp value) End time for the video retrievalmergeExtra(com.google.protobuf.Struct value) Additional arguments to the methodmergeStartTimestamp(com.google.protobuf.Timestamp value) Start time for the video retrievalsetEndTimestamp(com.google.protobuf.Timestamp value) End time for the video retrievalsetEndTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) End time for the video retrievalsetExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodName of the video sourcesetNameBytes(com.google.protobuf.ByteString value) Name of the video sourcesetRequestId(String value) To match a request to its responsessetRequestIdBytes(com.google.protobuf.ByteString value) To match a request to its responsessetStartTimestamp(com.google.protobuf.Timestamp value) Start time for the video retrievalsetStartTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Start time for the video retrievalsetVideoCodec(String value) Codec for the video retrieval (e.g., "h264", "h265")setVideoCodecBytes(com.google.protobuf.ByteString value) Codec for the video retrieval (e.g., "h264", "h265")setVideoContainer(String value) Container format for the video retrieval (e.g., "mp4", "fmp4")setVideoContainerBytes(com.google.protobuf.ByteString value) Container format for the video retrieval (e.g., "mp4", "fmp4")Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
Name of the video source
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceVideo.GetVideoRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the video source
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceVideo.GetVideoRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the video source
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the video source
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
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:
hasStartTimestampin interfaceVideo.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:
getStartTimestampin interfaceVideo.GetVideoRequestOrBuilder- Returns:
- The startTimestamp.
-
setStartTimestamp
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
Start time for the video retrieval
.google.protobuf.Timestamp start_timestamp = 2 [json_name = "startTimestamp"]; -
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:
hasEndTimestampin interfaceVideo.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:
getEndTimestampin interfaceVideo.GetVideoRequestOrBuilder- Returns:
- The endTimestamp.
-
setEndTimestamp
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
End time for the video retrieval
.google.protobuf.Timestamp end_timestamp = 3 [json_name = "endTimestamp"]; -
clearEndTimestamp
End time for the video retrieval
.google.protobuf.Timestamp end_timestamp = 3 [json_name = "endTimestamp"]; -
getVideoCodec
Codec for the video retrieval (e.g., "h264", "h265")
string video_codec = 4 [json_name = "videoCodec"];- Specified by:
getVideoCodecin interfaceVideo.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:
getVideoCodecBytesin interfaceVideo.GetVideoRequestOrBuilder- Returns:
- The bytes for videoCodec.
-
setVideoCodec
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
Codec for the video retrieval (e.g., "h264", "h265")
string video_codec = 4 [json_name = "videoCodec"];- Returns:
- This builder for chaining.
-
setVideoCodecBytes
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
Container format for the video retrieval (e.g., "mp4", "fmp4")
string video_container = 5 [json_name = "videoContainer"];- Specified by:
getVideoContainerin interfaceVideo.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:
getVideoContainerBytesin interfaceVideo.GetVideoRequestOrBuilder- Returns:
- The bytes for videoContainer.
-
setVideoContainer
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
Container format for the video retrieval (e.g., "mp4", "fmp4")
string video_container = 5 [json_name = "videoContainer"];- Returns:
- This builder for chaining.
-
setVideoContainerBytes
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
To match a request to its responses
string request_id = 6 [json_name = "requestId"];- Specified by:
getRequestIdin interfaceVideo.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:
getRequestIdBytesin interfaceVideo.GetVideoRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
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
To match a request to its responses
string request_id = 6 [json_name = "requestId"];- Returns:
- This builder for chaining.
-
setRequestIdBytes
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:
hasExtrain interfaceVideo.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:
getExtrain interfaceVideo.GetVideoRequestOrBuilder- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-