Interface Model.PageOptimizationConfig.PanelOrBuilder

    • Method Detail

      • 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

        List<Model.PageOptimizationConfig.Candidate> 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

        Model.PageOptimizationConfig.Candidate 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];