Class VideoMetadata.Builder (0.1.0)

public static final class VideoMetadata.Builder extends GeneratedMessageV3.Builder<VideoMetadata.Builder> implements VideoMetadataOrBuilder

Metadata describes the input video content.

Protobuf type google.cloud.vertexai.v1beta1.VideoMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoMetadata.Builder
Overrides

build()

public VideoMetadata build()
Returns
Type Description
VideoMetadata

buildPartial()

public VideoMetadata buildPartial()
Returns
Type Description
VideoMetadata

clear()

public VideoMetadata.Builder clear()
Returns
Type Description
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
Type Description
VideoMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public VideoMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
VideoMetadata.Builder

clone()

public VideoMetadata.Builder clone()
Returns
Type Description
VideoMetadata.Builder
Overrides

getDefaultInstanceForType()

public VideoMetadata getDefaultInstanceForType()
Returns
Type Description
VideoMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
Builder

getEndOffsetOrBuilder()

public DurationOrBuilder getEndOffsetOrBuilder()

Optional. The end offset of the video.

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

Returns
Type Description
DurationOrBuilder

getStartOffset()

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.

getStartOffsetBuilder()

public Duration.Builder getStartOffsetBuilder()

Optional. The start offset of the video.

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

Returns
Type Description
Builder

getStartOffsetOrBuilder()

public DurationOrBuilder getStartOffsetOrBuilder()

Optional. The start offset of the video.

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

Returns
Type Description
DurationOrBuilder

hasEndOffset()

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.

hasStartOffset()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
VideoMetadata.Builder

mergeFrom(VideoMetadata other)

public VideoMetadata.Builder mergeFrom(VideoMetadata other)
Parameter
Name Description
other VideoMetadata
Returns
Type Description
VideoMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
VideoMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
VideoMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoMetadata.Builder
Overrides

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

public VideoMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
VideoMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoMetadata.Builder
Overrides