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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Model.PageOptimizationConfig.Candidate
getCandidates(int index)
Required.int
getCandidatesCount()
Required.List<Model.PageOptimizationConfig.Candidate>
getCandidatesList()
Required.Model.PageOptimizationConfig.CandidateOrBuilder
getCandidatesOrBuilder(int index)
Required.List<? extends Model.PageOptimizationConfig.CandidateOrBuilder>
getCandidatesOrBuilderList()
Required.Model.PageOptimizationConfig.Candidate
getDefaultCandidate()
Required.Model.PageOptimizationConfig.CandidateOrBuilder
getDefaultCandidateOrBuilder()
Required.String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.boolean
hasDefaultCandidate()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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];
-
-