Interface Model.PageOptimizationConfig.PanelOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Model.PageOptimizationConfig.Panel, Model.PageOptimizationConfig.Panel.Builder
Enclosing class:
Model.PageOptimizationConfig

public static interface Model.PageOptimizationConfig.PanelOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDisplayName

      String getDisplayName()
       Optional. The name to display for the panel.
       
      string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. The name to display for the panel.
       
      string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • getCandidatesList

       Required. The candidates to consider on the panel.
       
      repeated .google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate candidates = 2 [(.google.api.field_behavior) = REQUIRED];
    • getCandidates

      Model.PageOptimizationConfig.Candidate getCandidates(int index)
       Required. The candidates to consider on the panel.
       
      repeated .google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate candidates = 2 [(.google.api.field_behavior) = REQUIRED];
    • getCandidatesCount

      int getCandidatesCount()
       Required. The candidates to consider on the panel.
       
      repeated .google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate candidates = 2 [(.google.api.field_behavior) = REQUIRED];
    • getCandidatesOrBuilderList

      List<? extends Model.PageOptimizationConfig.CandidateOrBuilder> getCandidatesOrBuilderList()
       Required. The candidates to consider on the panel.
       
      repeated .google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate candidates = 2 [(.google.api.field_behavior) = REQUIRED];
    • getCandidatesOrBuilder

      Model.PageOptimizationConfig.CandidateOrBuilder getCandidatesOrBuilder(int index)
       Required. The candidates to consider on the panel.
       
      repeated .google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate candidates = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasDefaultCandidate

      boolean hasDefaultCandidate()
       Required. The default candidate. If the model fails at serving time,
       we fall back to the default.
       
      .google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate default_candidate = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the defaultCandidate field is set.
    • getDefaultCandidate

       Required. The default candidate. If the model fails at serving time,
       we fall back to the default.
       
      .google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate default_candidate = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The defaultCandidate.
    • getDefaultCandidateOrBuilder

      Model.PageOptimizationConfig.CandidateOrBuilder getDefaultCandidateOrBuilder()
       Required. The default candidate. If the model fails at serving time,
       we fall back to the default.
       
      .google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate default_candidate = 3 [(.google.api.field_behavior) = REQUIRED];