Class BlurBaselineConfig.Builder (3.38.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.v1beta1.BlurBaselineConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BlurBaselineConfig build()
Returns
TypeDescription
BlurBaselineConfig

buildPartial()

public BlurBaselineConfig buildPartial()
Returns
TypeDescription
BlurBaselineConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BlurBaselineConfig getDefaultInstanceForType()
Returns
TypeDescription
BlurBaselineConfig

getDescriptorForType()

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

The maxBlurSigma.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BlurBaselineConfig other)

public BlurBaselineConfig.Builder mergeFrom(BlurBaselineConfig other)
Parameter
NameDescription
otherBlurBaselineConfig
Returns
TypeDescription
BlurBaselineConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The maxBlurSigma to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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