Class InsightTypeGenerationConfig.Builder (2.51.0)

public static final class InsightTypeGenerationConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public InsightTypeGenerationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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