public static final class GstreamerBufferDescriptor.Builder extends GeneratedMessageV3.Builder<GstreamerBufferDescriptor.Builder> implements GstreamerBufferDescriptorOrBuilderThe descriptor for a gstreamer buffer payload.
Protobuf type google.cloud.visionai.v1.GstreamerBufferDescriptor
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GstreamerBufferDescriptor.BuilderImplements
GstreamerBufferDescriptorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GstreamerBufferDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
build()
public GstreamerBufferDescriptor build()| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor |
|
buildPartial()
public GstreamerBufferDescriptor buildPartial()| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor |
|
clear()
public GstreamerBufferDescriptor.Builder clear()| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
clearCapsString()
public GstreamerBufferDescriptor.Builder clearCapsString()The caps string of the payload.
string caps_string = 1;
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
This builder for chaining. |
clearDtsTime()
public GstreamerBufferDescriptor.Builder clearDtsTime()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
clearDuration()
public GstreamerBufferDescriptor.Builder clearDuration()Duration of the frame.
.google.protobuf.Duration duration = 5;
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public GstreamerBufferDescriptor.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
clearIsKeyFrame()
public GstreamerBufferDescriptor.Builder clearIsKeyFrame()Whether the buffer is a key frame.
bool is_key_frame = 2;
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GstreamerBufferDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
clearPtsTime()
public GstreamerBufferDescriptor.Builder clearPtsTime()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
clone()
public GstreamerBufferDescriptor.Builder clone()| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
getCapsString()
public String getCapsString()The caps string of the payload.
string caps_string = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The capsString. |
getCapsStringBytes()
public ByteString getCapsStringBytes()The caps string of the payload.
string caps_string = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for capsString. |
getDefaultInstanceForType()
public GstreamerBufferDescriptor getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDtsTime()
public Timestamp getDtsTime()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The dtsTime. |
getDtsTimeBuilder()
public Timestamp.Builder getDtsTimeBuilder()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDtsTimeOrBuilder()
public TimestampOrBuilder getDtsTimeOrBuilder()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDuration()
public Duration getDuration()Duration of the frame.
.google.protobuf.Duration duration = 5;
| Returns | |
|---|---|
| Type | Description |
Duration |
The duration. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()Duration of the frame.
.google.protobuf.Duration duration = 5;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()Duration of the frame.
.google.protobuf.Duration duration = 5;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getIsKeyFrame()
public boolean getIsKeyFrame()Whether the buffer is a key frame.
bool is_key_frame = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The isKeyFrame. |
getPtsTime()
public Timestamp getPtsTime()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The ptsTime. |
getPtsTimeBuilder()
public Timestamp.Builder getPtsTimeBuilder()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getPtsTimeOrBuilder()
public TimestampOrBuilder getPtsTimeOrBuilder()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasDtsTime()
public boolean hasDtsTime()DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dtsTime field is set. |
hasDuration()
public boolean hasDuration()Duration of the frame.
.google.protobuf.Duration duration = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the duration field is set. |
hasPtsTime()
public boolean hasPtsTime()PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ptsTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDtsTime(Timestamp value)
public GstreamerBufferDescriptor.Builder mergeDtsTime(Timestamp value)DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
mergeDuration(Duration value)
public GstreamerBufferDescriptor.Builder mergeDuration(Duration value)Duration of the frame.
.google.protobuf.Duration duration = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
mergeFrom(GstreamerBufferDescriptor other)
public GstreamerBufferDescriptor.Builder mergeFrom(GstreamerBufferDescriptor other)| Parameter | |
|---|---|
| Name | Description |
other |
GstreamerBufferDescriptor |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GstreamerBufferDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GstreamerBufferDescriptor.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
mergePtsTime(Timestamp value)
public GstreamerBufferDescriptor.Builder mergePtsTime(Timestamp value)PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GstreamerBufferDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setCapsString(String value)
public GstreamerBufferDescriptor.Builder setCapsString(String value)The caps string of the payload.
string caps_string = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe capsString to set. |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
This builder for chaining. |
setCapsStringBytes(ByteString value)
public GstreamerBufferDescriptor.Builder setCapsStringBytes(ByteString value)The caps string of the payload.
string caps_string = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for capsString to set. |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
This builder for chaining. |
setDtsTime(Timestamp value)
public GstreamerBufferDescriptor.Builder setDtsTime(Timestamp value)DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setDtsTime(Timestamp.Builder builderForValue)
public GstreamerBufferDescriptor.Builder setDtsTime(Timestamp.Builder builderForValue)DTS of the frame.
.google.protobuf.Timestamp dts_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setDuration(Duration value)
public GstreamerBufferDescriptor.Builder setDuration(Duration value)Duration of the frame.
.google.protobuf.Duration duration = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setDuration(Duration.Builder builderForValue)
public GstreamerBufferDescriptor.Builder setDuration(Duration.Builder builderForValue)Duration of the frame.
.google.protobuf.Duration duration = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public GstreamerBufferDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setIsKeyFrame(boolean value)
public GstreamerBufferDescriptor.Builder setIsKeyFrame(boolean value)Whether the buffer is a key frame.
bool is_key_frame = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe isKeyFrame to set. |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
This builder for chaining. |
setPtsTime(Timestamp value)
public GstreamerBufferDescriptor.Builder setPtsTime(Timestamp value)PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setPtsTime(Timestamp.Builder builderForValue)
public GstreamerBufferDescriptor.Builder setPtsTime(Timestamp.Builder builderForValue)PTS of the frame.
.google.protobuf.Timestamp pts_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GstreamerBufferDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GstreamerBufferDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GstreamerBufferDescriptor.Builder |
|