public static enum Model.PeriodicTuningState extends Enum<Model.PeriodicTuningState> implements com.google.protobuf.ProtocolMessageEnum
Describes whether periodic tuning is enabled for this model or not. Periodic tuning is scheduled at most every three months. You can start a tuning process manually by using the `TuneModel` method, which starts a tuning process immediately and resets the quarterly schedule. Enabling or disabling periodic tuning does not affect any current tuning processes.Protobuf enum
google.cloud.retail.v2beta.Model.PeriodicTuningState| Enum Constant and Description |
|---|
ALL_TUNING_DISABLED
The model cannot be tuned with periodic tuning OR the
`TuneModel` method.
|
PERIODIC_TUNING_DISABLED
The model has periodic tuning disabled.
|
PERIODIC_TUNING_ENABLED
The model has periodic tuning enabled.
|
PERIODIC_TUNING_STATE_UNSPECIFIED
Unspecified default value, should never be explicitly set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_TUNING_DISABLED_VALUE
The model cannot be tuned with periodic tuning OR the
`TuneModel` method.
|
static int |
PERIODIC_TUNING_DISABLED_VALUE
The model has periodic tuning disabled.
|
static int |
PERIODIC_TUNING_ENABLED_VALUE
The model has periodic tuning enabled.
|
static int |
PERIODIC_TUNING_STATE_UNSPECIFIED_VALUE
Unspecified default value, should never be explicitly set.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.PeriodicTuningState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Model.PeriodicTuningState> |
internalGetValueMap() |
static Model.PeriodicTuningState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Model.PeriodicTuningState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.PeriodicTuningState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Model.PeriodicTuningState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.PeriodicTuningState PERIODIC_TUNING_STATE_UNSPECIFIED
Unspecified default value, should never be explicitly set.
PERIODIC_TUNING_STATE_UNSPECIFIED = 0;public static final Model.PeriodicTuningState PERIODIC_TUNING_DISABLED
The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.
PERIODIC_TUNING_DISABLED = 1;public static final Model.PeriodicTuningState ALL_TUNING_DISABLED
The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.
ALL_TUNING_DISABLED = 3;public static final Model.PeriodicTuningState PERIODIC_TUNING_ENABLED
The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method.
PERIODIC_TUNING_ENABLED = 2;public static final Model.PeriodicTuningState UNRECOGNIZED
public static final int PERIODIC_TUNING_STATE_UNSPECIFIED_VALUE
Unspecified default value, should never be explicitly set.
PERIODIC_TUNING_STATE_UNSPECIFIED = 0;public static final int PERIODIC_TUNING_DISABLED_VALUE
The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.
PERIODIC_TUNING_DISABLED = 1;public static final int ALL_TUNING_DISABLED_VALUE
The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.
ALL_TUNING_DISABLED = 3;public static final int PERIODIC_TUNING_ENABLED_VALUE
The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method.
PERIODIC_TUNING_ENABLED = 2;public static Model.PeriodicTuningState[] values()
for (Model.PeriodicTuningState c : Model.PeriodicTuningState.values()) System.out.println(c);
public static Model.PeriodicTuningState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Model.PeriodicTuningState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Model.PeriodicTuningState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Model.PeriodicTuningState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Model.PeriodicTuningState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.