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.v1beta1.InsightTypeGenerationConfig
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InsightTypeGenerationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InsightTypeGenerationConfig build()
Returns
buildPartial()
public InsightTypeGenerationConfig buildPartial()
Returns
clear()
public InsightTypeGenerationConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InsightTypeGenerationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InsightTypeGenerationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public InsightTypeGenerationConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InsightTypeGenerationConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InsightTypeGenerationConfig other)
public InsightTypeGenerationConfig.Builder mergeFrom(InsightTypeGenerationConfig other)
Parameter
Returns
public InsightTypeGenerationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InsightTypeGenerationConfig.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InsightTypeGenerationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InsightTypeGenerationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InsightTypeGenerationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InsightTypeGenerationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides