Class VideoMetadata.Builder (3.34.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoMetadata.Builder
Overrides

build()

public VideoMetadata build()
Returns
TypeDescription
VideoMetadata

buildPartial()

public VideoMetadata buildPartial()
Returns
TypeDescription
VideoMetadata

clear()

public VideoMetadata.Builder clear()
Returns
TypeDescription
VideoMetadata.Builder
Overrides

clearEndOffset()

public VideoMetadata.Builder clearEndOffset()

Optional. The end offset of the video.

.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
VideoMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public VideoMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VideoMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VideoMetadata.Builder
Overrides

clearStartOffset()

public VideoMetadata.Builder clearStartOffset()

Optional. The start offset of the video.

.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
VideoMetadata.Builder

clone()

public VideoMetadata.Builder clone()
Returns
TypeDescription
VideoMetadata.Builder
Overrides

getDefaultInstanceForType()

public VideoMetadata getDefaultInstanceForType()
Returns
TypeDescription
VideoMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndOffset()

public Duration getEndOffset()

Optional. The end offset of the video.

.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Duration

The endOffset.

getEndOffsetBuilder()

public Duration.Builder getEndOffsetBuilder()

Optional. The end offset of the video.

.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Builder

getEndOffsetOrBuilder()

public DurationOrBuilder getEndOffsetOrBuilder()

Optional. The end offset of the video.

.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DurationOrBuilder

getStartOffset()

public Duration getStartOffset()

Optional. The start offset of the video.

.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Duration

The startOffset.

getStartOffsetBuilder()

public Duration.Builder getStartOffsetBuilder()

Optional. The start offset of the video.

.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Builder

getStartOffsetOrBuilder()

public DurationOrBuilder getStartOffsetOrBuilder()

Optional. The start offset of the video.

.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DurationOrBuilder

hasEndOffset()

public boolean hasEndOffset()

Optional. The end offset of the video.

.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the endOffset field is set.

hasStartOffset()

public boolean hasStartOffset()

Optional. The start offset of the video.

.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the startOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndOffset(Duration value)

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
NameDescription
valueDuration
Returns
TypeDescription
VideoMetadata.Builder

mergeFrom(VideoMetadata other)

public VideoMetadata.Builder mergeFrom(VideoMetadata other)
Parameter
NameDescription
otherVideoMetadata
Returns
TypeDescription
VideoMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VideoMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VideoMetadata.Builder
Overrides

mergeStartOffset(Duration value)

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
NameDescription
valueDuration
Returns
TypeDescription
VideoMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoMetadata.Builder
Overrides

setEndOffset(Duration value)

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
NameDescription
valueDuration
Returns
TypeDescription
VideoMetadata.Builder

setEndOffset(Duration.Builder builderForValue)

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VideoMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VideoMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VideoMetadata.Builder
Overrides

setStartOffset(Duration value)

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
NameDescription
valueDuration
Returns
TypeDescription
VideoMetadata.Builder

setStartOffset(Duration.Builder builderForValue)

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VideoMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoMetadata.Builder
Overrides