Class InsightTypeGenerationConfig.Builder (2.85.0)

public static final class InsightTypeGenerationConfig.Builder extends GeneratedMessage.Builder<InsightTypeGenerationConfig.Builder> implements InsightTypeGenerationConfigOrBuilder

A configuration to customize the generation of insights. Eg, customizing the lookback period considered when generating a insight.

Protobuf type google.cloud.recommender.v1.InsightTypeGenerationConfig

Static Methods

getDescriptor()

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

Methods

build()

public InsightTypeGenerationConfig build()
Returns
Type Description
InsightTypeGenerationConfig

buildPartial()

public InsightTypeGenerationConfig buildPartial()
Returns
Type Description
InsightTypeGenerationConfig

clear()

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

clearParams()

public InsightTypeGenerationConfig.Builder clearParams()

Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

.google.protobuf.Struct params = 1;

Returns
Type Description
InsightTypeGenerationConfig.Builder

getDefaultInstanceForType()

public InsightTypeGenerationConfig getDefaultInstanceForType()
Returns
Type Description
InsightTypeGenerationConfig

getDescriptorForType()

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

getParams()

public Struct getParams()

Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

.google.protobuf.Struct params = 1;

Returns
Type Description
Struct

The params.

getParamsBuilder()

public Struct.Builder getParamsBuilder()

Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

.google.protobuf.Struct params = 1;

Returns
Type Description
Builder

getParamsOrBuilder()

public StructOrBuilder getParamsOrBuilder()

Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

.google.protobuf.Struct params = 1;

Returns
Type Description
StructOrBuilder

hasParams()

public boolean hasParams()

Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

.google.protobuf.Struct params = 1;

Returns
Type Description
boolean

Whether the params field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InsightTypeGenerationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeParams(Struct value)

public InsightTypeGenerationConfig.Builder mergeParams(Struct value)

Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

.google.protobuf.Struct params = 1;

Parameter
Name Description
value Struct
Returns
Type Description
InsightTypeGenerationConfig.Builder

setParams(Struct value)

public InsightTypeGenerationConfig.Builder setParams(Struct value)

Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

.google.protobuf.Struct params = 1;

Parameter
Name Description
value Struct
Returns
Type Description
InsightTypeGenerationConfig.Builder

setParams(Struct.Builder builderForValue)

public InsightTypeGenerationConfig.Builder setParams(Struct.Builder builderForValue)

Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

.google.protobuf.Struct params = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
InsightTypeGenerationConfig.Builder