Class ShotChangeDetectionConfig.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShotChangeDetectionConfig build()
Returns
TypeDescription
ShotChangeDetectionConfig

buildPartial()

public ShotChangeDetectionConfig buildPartial()
Returns
TypeDescription
ShotChangeDetectionConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ShotChangeDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ShotChangeDetectionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ShotChangeDetectionConfig getDefaultInstanceForType()
Returns
TypeDescription
ShotChangeDetectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for model.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ShotChangeDetectionConfig other)

public ShotChangeDetectionConfig.Builder mergeFrom(ShotChangeDetectionConfig other)
Parameter
NameDescription
otherShotChangeDetectionConfig
Returns
TypeDescription
ShotChangeDetectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ShotChangeDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The model to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for model to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ShotChangeDetectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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