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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public BlurBaselineConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BlurBaselineConfig build()
Returns
public BlurBaselineConfig buildPartial()
Returns
public BlurBaselineConfig.Builder clear()
Returns
Overrides
public BlurBaselineConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public BlurBaselineConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public BlurBaselineConfig.Builder clone()
Returns
Overrides
public BlurBaselineConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BlurBaselineConfig.Builder mergeFrom(BlurBaselineConfig other)
Parameter
Returns
public BlurBaselineConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public BlurBaselineConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final BlurBaselineConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public BlurBaselineConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
public BlurBaselineConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final BlurBaselineConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides