Package com.google.cloud.retail.v2alpha
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 Summary
Modifier and TypeMethodDescriptiongetCandidates(int index) Required.intRequired.Required.getCandidatesOrBuilder(int index) Required.Required.Required.Required.Optional.com.google.protobuf.ByteStringOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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
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];
-