Class BlurBaselineConfig.Builder (3.47.0)

public static final class BlurBaselineConfig.Builder extends GeneratedMessageV3.Builder<BlurBaselineConfig.Builder> implements BlurBaselineConfigOrBuilder

Config for blur baseline.

When enabled, a linear path from the maximally blurred image to the input image is created. Using a blurred baseline instead of zero (black image) is motivated by the BlurIG approach explained here: https://arxiv.org/abs/2004.03383

Protobuf type google.cloud.aiplatform.v1.BlurBaselineConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BlurBaselineConfig build()
Returns
Type Description
BlurBaselineConfig

buildPartial()

public BlurBaselineConfig buildPartial()
Returns
Type Description
BlurBaselineConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMaxBlurSigma()

public BlurBaselineConfig.Builder clearMaxBlurSigma()

The standard deviation of the blur kernel for the blurred baseline. The same blurring parameter is used for both the height and the width dimension. If not set, the method defaults to the zero (i.e. black for images) baseline.

float max_blur_sigma = 1;

Returns
Type Description
BlurBaselineConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BlurBaselineConfig getDefaultInstanceForType()
Returns
Type Description
BlurBaselineConfig

getDescriptorForType()

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

getMaxBlurSigma()

public float getMaxBlurSigma()

The standard deviation of the blur kernel for the blurred baseline. The same blurring parameter is used for both the height and the width dimension. If not set, the method defaults to the zero (i.e. black for images) baseline.

float max_blur_sigma = 1;

Returns
Type Description
float

The maxBlurSigma.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BlurBaselineConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxBlurSigma(float value)

public BlurBaselineConfig.Builder setMaxBlurSigma(float value)

The standard deviation of the blur kernel for the blurred baseline. The same blurring parameter is used for both the height and the width dimension. If not set, the method defaults to the zero (i.e. black for images) baseline.

float max_blur_sigma = 1;

Parameter
Name Description
value float

The maxBlurSigma to set.

Returns
Type Description
BlurBaselineConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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