public final class RecommenderGenerationConfig extends GeneratedMessageV3 implements RecommenderGenerationConfigOrBuilder
A Configuration to customize the generation of recommendations.
Eg, customizing the lookback period considered when generating a
recommendation.
Protobuf type google.cloud.recommender.v1.RecommenderGenerationConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static RecommenderGenerationConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RecommenderGenerationConfig.Builder newBuilder()
newBuilder(RecommenderGenerationConfig prototype)
public static RecommenderGenerationConfig.Builder newBuilder(RecommenderGenerationConfig prototype)
public static RecommenderGenerationConfig parseDelimitedFrom(InputStream input)
public static RecommenderGenerationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RecommenderGenerationConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RecommenderGenerationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RecommenderGenerationConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RecommenderGenerationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RecommenderGenerationConfig parseFrom(CodedInputStream input)
public static RecommenderGenerationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RecommenderGenerationConfig parseFrom(InputStream input)
public static RecommenderGenerationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RecommenderGenerationConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RecommenderGenerationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RecommenderGenerationConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public RecommenderGenerationConfig getDefaultInstanceForType()
getParams()
public Struct getParams()
Parameters for this RecommenderGenerationConfig. These configs can be used
by or are applied to all subtypes.
.google.protobuf.Struct params = 1;
Returns |
---|
Type | Description |
Struct | The params.
|
getParamsOrBuilder()
public StructOrBuilder getParamsOrBuilder()
Parameters for this RecommenderGenerationConfig. These configs can be used
by or are applied to all subtypes.
.google.protobuf.Struct params = 1;
getParserForType()
public Parser<RecommenderGenerationConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasParams()
public boolean hasParams()
Parameters for this RecommenderGenerationConfig. 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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RecommenderGenerationConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RecommenderGenerationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RecommenderGenerationConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides