Package com.google.cloud.visionai.v1
Class GstreamerBufferDescriptor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GstreamerBufferDescriptor.Builder>
com.google.cloud.visionai.v1.GstreamerBufferDescriptor.Builder
- All Implemented Interfaces:
GstreamerBufferDescriptorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GstreamerBufferDescriptor
public static final class GstreamerBufferDescriptor.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GstreamerBufferDescriptor.Builder>
implements GstreamerBufferDescriptorOrBuilder
The descriptor for a gstreamer buffer payload.Protobuf type
google.cloud.visionai.v1.GstreamerBufferDescriptor-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The caps string of the payload.DTS of the frame.Duration of the frame.Whether the buffer is a key frame.PTS of the frame.The caps string of the payload.com.google.protobuf.ByteStringThe caps string of the payload.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampDTS of the frame.com.google.protobuf.Timestamp.BuilderDTS of the frame.com.google.protobuf.TimestampOrBuilderDTS of the frame.com.google.protobuf.DurationDuration of the frame.com.google.protobuf.Duration.BuilderDuration of the frame.com.google.protobuf.DurationOrBuilderDuration of the frame.booleanWhether the buffer is a key frame.com.google.protobuf.TimestampPTS of the frame.com.google.protobuf.Timestamp.BuilderPTS of the frame.com.google.protobuf.TimestampOrBuilderPTS of the frame.booleanDTS of the frame.booleanDuration of the frame.booleanPTS of the frame.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDtsTime(com.google.protobuf.Timestamp value) DTS of the frame.mergeDuration(com.google.protobuf.Duration value) Duration of the frame.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePtsTime(com.google.protobuf.Timestamp value) PTS of the frame.setCapsString(String value) The caps string of the payload.setCapsStringBytes(com.google.protobuf.ByteString value) The caps string of the payload.setDtsTime(com.google.protobuf.Timestamp value) DTS of the frame.setDtsTime(com.google.protobuf.Timestamp.Builder builderForValue) DTS of the frame.setDuration(com.google.protobuf.Duration value) Duration of the frame.setDuration(com.google.protobuf.Duration.Builder builderForValue) Duration of the frame.setIsKeyFrame(boolean value) Whether the buffer is a key frame.setPtsTime(com.google.protobuf.Timestamp value) PTS of the frame.setPtsTime(com.google.protobuf.Timestamp.Builder builderForValue) PTS of the frame.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GstreamerBufferDescriptor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GstreamerBufferDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GstreamerBufferDescriptor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GstreamerBufferDescriptor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GstreamerBufferDescriptor.Builder>
-
mergeFrom
public GstreamerBufferDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GstreamerBufferDescriptor.Builder>- Throws:
IOException
-
getCapsString
The caps string of the payload.
string caps_string = 1;- Specified by:
getCapsStringin interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- The capsString.
-
getCapsStringBytes
public com.google.protobuf.ByteString getCapsStringBytes()The caps string of the payload.
string caps_string = 1;- Specified by:
getCapsStringBytesin interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- The bytes for capsString.
-
setCapsString
The caps string of the payload.
string caps_string = 1;- Parameters:
value- The capsString to set.- Returns:
- This builder for chaining.
-
clearCapsString
The caps string of the payload.
string caps_string = 1;- Returns:
- This builder for chaining.
-
setCapsStringBytes
The caps string of the payload.
string caps_string = 1;- Parameters:
value- The bytes for capsString to set.- Returns:
- This builder for chaining.
-
getIsKeyFrame
public boolean getIsKeyFrame()Whether the buffer is a key frame.
bool is_key_frame = 2;- Specified by:
getIsKeyFramein interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- The isKeyFrame.
-
setIsKeyFrame
Whether the buffer is a key frame.
bool is_key_frame = 2;- Parameters:
value- The isKeyFrame to set.- Returns:
- This builder for chaining.
-
clearIsKeyFrame
Whether the buffer is a key frame.
bool is_key_frame = 2;- Returns:
- This builder for chaining.
-
hasPtsTime
public boolean hasPtsTime()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;- Specified by:
hasPtsTimein interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- Whether the ptsTime field is set.
-
getPtsTime
public com.google.protobuf.Timestamp getPtsTime()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;- Specified by:
getPtsTimein interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- The ptsTime.
-
setPtsTime
PTS of the frame.
.google.protobuf.Timestamp pts_time = 3; -
setPtsTime
public GstreamerBufferDescriptor.Builder setPtsTime(com.google.protobuf.Timestamp.Builder builderForValue) PTS of the frame.
.google.protobuf.Timestamp pts_time = 3; -
mergePtsTime
PTS of the frame.
.google.protobuf.Timestamp pts_time = 3; -
clearPtsTime
PTS of the frame.
.google.protobuf.Timestamp pts_time = 3; -
getPtsTimeBuilder
public com.google.protobuf.Timestamp.Builder getPtsTimeBuilder()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3; -
getPtsTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getPtsTimeOrBuilder()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;- Specified by:
getPtsTimeOrBuilderin interfaceGstreamerBufferDescriptorOrBuilder
-
hasDtsTime
public boolean hasDtsTime()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;- Specified by:
hasDtsTimein interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- Whether the dtsTime field is set.
-
getDtsTime
public com.google.protobuf.Timestamp getDtsTime()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;- Specified by:
getDtsTimein interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- The dtsTime.
-
setDtsTime
DTS of the frame.
.google.protobuf.Timestamp dts_time = 4; -
setDtsTime
public GstreamerBufferDescriptor.Builder setDtsTime(com.google.protobuf.Timestamp.Builder builderForValue) DTS of the frame.
.google.protobuf.Timestamp dts_time = 4; -
mergeDtsTime
DTS of the frame.
.google.protobuf.Timestamp dts_time = 4; -
clearDtsTime
DTS of the frame.
.google.protobuf.Timestamp dts_time = 4; -
getDtsTimeBuilder
public com.google.protobuf.Timestamp.Builder getDtsTimeBuilder()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4; -
getDtsTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDtsTimeOrBuilder()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;- Specified by:
getDtsTimeOrBuilderin interfaceGstreamerBufferDescriptorOrBuilder
-
hasDuration
public boolean hasDuration()Duration of the frame.
.google.protobuf.Duration duration = 5;- Specified by:
hasDurationin interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()Duration of the frame.
.google.protobuf.Duration duration = 5;- Specified by:
getDurationin interfaceGstreamerBufferDescriptorOrBuilder- Returns:
- The duration.
-
setDuration
Duration of the frame.
.google.protobuf.Duration duration = 5; -
setDuration
public GstreamerBufferDescriptor.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) Duration of the frame.
.google.protobuf.Duration duration = 5; -
mergeDuration
Duration of the frame.
.google.protobuf.Duration duration = 5; -
clearDuration
Duration of the frame.
.google.protobuf.Duration duration = 5; -
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()Duration of the frame.
.google.protobuf.Duration duration = 5; -
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Duration of the frame.
.google.protobuf.Duration duration = 5;- Specified by:
getDurationOrBuilderin interfaceGstreamerBufferDescriptorOrBuilder
-