Class ShotChangeDetectionConfig.Builder (2.53.0)

public static final class ShotChangeDetectionConfig.Builder extends GeneratedMessageV3.Builder<ShotChangeDetectionConfig.Builder> implements ShotChangeDetectionConfigOrBuilder

Config for SHOT_CHANGE_DETECTION.

Protobuf type google.cloud.videointelligence.v1.ShotChangeDetectionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShotChangeDetectionConfig build()
Returns
Type Description
ShotChangeDetectionConfig

buildPartial()

public ShotChangeDetectionConfig buildPartial()
Returns
Type Description
ShotChangeDetectionConfig

clear()

public ShotChangeDetectionConfig.Builder clear()
Returns
Type Description
ShotChangeDetectionConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearModel()

public ShotChangeDetectionConfig.Builder clearModel()

Model to use for shot change detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Returns
Type Description
ShotChangeDetectionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ShotChangeDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ShotChangeDetectionConfig.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ShotChangeDetectionConfig getDefaultInstanceForType()
Returns
Type Description
ShotChangeDetectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getModel()

public String getModel()

Model to use for shot change detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Model to use for shot change detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Returns
Type Description
ByteString

The bytes for model.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ShotChangeDetectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ShotChangeDetectionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ShotChangeDetectionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShotChangeDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShotChangeDetectionConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setModel(String value)

public ShotChangeDetectionConfig.Builder setModel(String value)

Model to use for shot change detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Parameter
Name Description
value String

The model to set.

Returns
Type Description
ShotChangeDetectionConfig.Builder

This builder for chaining.

setModelBytes(ByteString value)

public ShotChangeDetectionConfig.Builder setModelBytes(ByteString value)

Model to use for shot change detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Parameter
Name Description
value ByteString

The bytes for model to set.

Returns
Type Description
ShotChangeDetectionConfig.Builder

This builder for chaining.

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

public ShotChangeDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ShotChangeDetectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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