public static final class VideoMetadata.Builder extends GeneratedMessageV3.Builder<VideoMetadata.Builder> implements VideoMetadataOrBuilder
Metadata describes the input video content.
Protobuf type google.cloud.aiplatform.v1.VideoMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public VideoMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VideoMetadata build()
public VideoMetadata buildPartial()
public VideoMetadata.Builder clear()
Overrides
public VideoMetadata.Builder clearEndOffset()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public VideoMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public VideoMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public VideoMetadata.Builder clearStartOffset()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public VideoMetadata.Builder clone()
Overrides
public VideoMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Duration getEndOffset()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Duration |
The endOffset.
|
public Duration.Builder getEndOffsetBuilder()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public DurationOrBuilder getEndOffsetOrBuilder()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public Duration getStartOffset()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Duration |
The startOffset.
|
public Duration.Builder getStartOffsetBuilder()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public DurationOrBuilder getStartOffsetOrBuilder()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasEndOffset()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the endOffset field is set.
|
public boolean hasStartOffset()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the startOffset field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VideoMetadata.Builder mergeEndOffset(Duration value)
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Duration
|
public VideoMetadata.Builder mergeFrom(VideoMetadata other)
public VideoMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public VideoMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public VideoMetadata.Builder mergeStartOffset(Duration value)
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Duration
|
public final VideoMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public VideoMetadata.Builder setEndOffset(Duration value)
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Duration
|
public VideoMetadata.Builder setEndOffset(Duration.Builder builderForValue)
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|
public VideoMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VideoMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public VideoMetadata.Builder setStartOffset(Duration value)
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Duration
|
public VideoMetadata.Builder setStartOffset(Duration.Builder builderForValue)
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|
public final VideoMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides