Enum Model.PageOptimizationConfig.Restriction (2.34.0)

public enum Model.PageOptimizationConfig.Restriction extends Enum<Model.PageOptimizationConfig.Restriction> implements ProtocolMessageEnum

Restrictions of expected returned results.

Protobuf enum google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Restriction

Implements

ProtocolMessageEnum

Static Fields

NameDescription
NO_RESTRICTION

Allow any ServingConfig to be show on any number of panels.

Example:

Panel1 candidates: pdp_ctr, pdp_cvr, home_page_ctr_no_diversity

Panel2 candidates: home_page_ctr_no_diversity, home_page_ctr_diversity, pdp_cvr_no_diversity

Restriction = NO_RESTRICTION

Valid combinations:

  • <i> (pdp_ctr, home_page_ctr_no_diversity)
  • (pdp_ctr, home_page_ctr_diversity)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_cvr, home_page_ctr_no_diversity)
  • (pdp_cvr, home_page_ctr_diversity)
  • (pdp_cvr, pdp_cvr_no_diversity)
  • (home_page_ctr_no_diversity, home_page_ctr_no_diversity)
  • (home_page_ctr_no_diversity, home_page_ctr_diversity)
  • (home_page_ctr_no_diversity, pdp_cvr_no_diversity) </i>

    Invalid combinations: []

NO_RESTRICTION = 1;

NO_RESTRICTION_VALUE

Allow any ServingConfig to be show on any number of panels.

Example:

Panel1 candidates: pdp_ctr, pdp_cvr, home_page_ctr_no_diversity

Panel2 candidates: home_page_ctr_no_diversity, home_page_ctr_diversity, pdp_cvr_no_diversity

Restriction = NO_RESTRICTION

Valid combinations:

  • <i> (pdp_ctr, home_page_ctr_no_diversity)
  • (pdp_ctr, home_page_ctr_diversity)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_cvr, home_page_ctr_no_diversity)
  • (pdp_cvr, home_page_ctr_diversity)
  • (pdp_cvr, pdp_cvr_no_diversity)
  • (home_page_ctr_no_diversity, home_page_ctr_no_diversity)
  • (home_page_ctr_no_diversity, home_page_ctr_diversity)
  • (home_page_ctr_no_diversity, pdp_cvr_no_diversity) </i>

    Invalid combinations: []

NO_RESTRICTION = 1;

RESTRICTION_UNSPECIFIED

Unspecified value for restriction.

RESTRICTION_UNSPECIFIED = 0;

RESTRICTION_UNSPECIFIED_VALUE

Unspecified value for restriction.

RESTRICTION_UNSPECIFIED = 0;

UNIQUE_MODEL_RESTRICTION

Do not allow multiple ServingConfigs with same Model.name to be show on on different panels.

Example:

Panel1 candidates: <i> pdp_ctr, pdp_cvr, home_page_ctr_no_diversity </i>

Panel2 candidates: <i> home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity </i>

Restriction = UNIQUE_MODEL_RESTRICTION

Valid combinations:

  • <i> (pdp_ctr, home_page_ctr_no_diversity)
  • (pdp_ctr, home_page_ctr_diversity)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_cvr, home_page_ctr_no_diversity)
  • (pdp_cvr, home_page_ctr_diversity_low)
  • (home_page_ctr_no_diversity, pdp_cvr_no_diversity) </i>

    Invalid combinations:

  • <i> (home_page_ctr_no_diversity, home_page_ctr_no_diversity)

  • (pdp_cvr, pdp_cvr_no_diversity) </i>

UNIQUE_MODEL_RESTRICTION = 3;

UNIQUE_MODEL_RESTRICTION_VALUE

Do not allow multiple ServingConfigs with same Model.name to be show on on different panels.

Example:

Panel1 candidates: <i> pdp_ctr, pdp_cvr, home_page_ctr_no_diversity </i>

Panel2 candidates: <i> home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity </i>

Restriction = UNIQUE_MODEL_RESTRICTION

Valid combinations:

  • <i> (pdp_ctr, home_page_ctr_no_diversity)
  • (pdp_ctr, home_page_ctr_diversity)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_cvr, home_page_ctr_no_diversity)
  • (pdp_cvr, home_page_ctr_diversity_low)
  • (home_page_ctr_no_diversity, pdp_cvr_no_diversity) </i>

    Invalid combinations:

  • <i> (home_page_ctr_no_diversity, home_page_ctr_no_diversity)

  • (pdp_cvr, pdp_cvr_no_diversity) </i>

UNIQUE_MODEL_RESTRICTION = 3;

UNIQUE_MODEL_TYPE_RESTRICTION

Do not allow multiple ServingConfigs with same Model.type to be shown on different panels.

Example:

Panel1 candidates: <i> pdp_ctr, pdp_cvr, home_page_ctr_no_diversity </i>

Panel2 candidates: <i> home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity </i>

Restriction = UNIQUE_MODEL_RESTRICTION

Valid combinations:

  • <i> (pdp_ctr, home_page_ctr_no_diversity)
  • (pdp_ctr, home_page_ctr_diversity)
  • (pdp_cvr, home_page_ctr_no_diversity)
  • (pdp_cvr, home_page_ctr_diversity_low)
  • (home_page_ctr_no_diversity, pdp_cvr_no_diversity) </i>

    Invalid combinations:

    • <i> (pdp_ctr, pdp_cvr_no_diversity)
    • (pdp_ctr, pdp_cvr_no_diversity)
    • (pdp_cvr, pdp_cvr_no_diversity)
    • (home_page_ctr_no_diversity, home_page_ctr_no_diversity)
    • (home_page_ctr_no_diversity, home_page_ctr_diversity) </i>

UNIQUE_MODEL_TYPE_RESTRICTION = 4;

UNIQUE_MODEL_TYPE_RESTRICTION_VALUE

Do not allow multiple ServingConfigs with same Model.type to be shown on different panels.

Example:

Panel1 candidates: <i> pdp_ctr, pdp_cvr, home_page_ctr_no_diversity </i>

Panel2 candidates: <i> home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity </i>

Restriction = UNIQUE_MODEL_RESTRICTION

Valid combinations:

  • <i> (pdp_ctr, home_page_ctr_no_diversity)
  • (pdp_ctr, home_page_ctr_diversity)
  • (pdp_cvr, home_page_ctr_no_diversity)
  • (pdp_cvr, home_page_ctr_diversity_low)
  • (home_page_ctr_no_diversity, pdp_cvr_no_diversity) </i>

    Invalid combinations:

    • <i> (pdp_ctr, pdp_cvr_no_diversity)
    • (pdp_ctr, pdp_cvr_no_diversity)
    • (pdp_cvr, pdp_cvr_no_diversity)
    • (home_page_ctr_no_diversity, home_page_ctr_no_diversity)
    • (home_page_ctr_no_diversity, home_page_ctr_diversity) </i>

UNIQUE_MODEL_TYPE_RESTRICTION = 4;

UNIQUE_SERVING_CONFIG_RESTRICTION

Do not allow the same ServingConfig.name to be shown on multiple panels.

Example:

Panel1 candidates: <i> pdp_ctr, pdp_cvr, home_page_ctr_no_diversity </i>

Panel2 candidates: <i> home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity </i>

Restriction = UNIQUE_SERVING_CONFIG_RESTRICTION

Valid combinations:

  • <i> (pdp_ctr, home_page_ctr_no_diversity)
  • (pdp_ctr, home_page_ctr_diversity_low)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_cvr, home_page_ctr_no_diversity)
  • (pdp_cvr, home_page_ctr_diversity_low)
  • (pdp_cvr, pdp_cvr_no_diversity)
  • (home_page_ctr_no_diversity, home_page_ctr_diversity_low)
  • (home_page_ctr_no_diversity, pdp_cvr_no_diversity) </i>

    Invalid combinations:

    • <i> (home_page_ctr_no_diversity, home_page_ctr_no_diversity) </i>

UNIQUE_SERVING_CONFIG_RESTRICTION = 2;

UNIQUE_SERVING_CONFIG_RESTRICTION_VALUE

Do not allow the same ServingConfig.name to be shown on multiple panels.

Example:

Panel1 candidates: <i> pdp_ctr, pdp_cvr, home_page_ctr_no_diversity </i>

Panel2 candidates: <i> home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity </i>

Restriction = UNIQUE_SERVING_CONFIG_RESTRICTION

Valid combinations:

  • <i> (pdp_ctr, home_page_ctr_no_diversity)
  • (pdp_ctr, home_page_ctr_diversity_low)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_ctr, pdp_cvr_no_diversity)
  • (pdp_cvr, home_page_ctr_no_diversity)
  • (pdp_cvr, home_page_ctr_diversity_low)
  • (pdp_cvr, pdp_cvr_no_diversity)
  • (home_page_ctr_no_diversity, home_page_ctr_diversity_low)
  • (home_page_ctr_no_diversity, pdp_cvr_no_diversity) </i>

    Invalid combinations:

    • <i> (home_page_ctr_no_diversity, home_page_ctr_no_diversity) </i>

UNIQUE_SERVING_CONFIG_RESTRICTION = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()