Package com.google.cloud.retail.v2alpha
Interface Model.ServingConfigListOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Model.ServingConfigList,Model.ServingConfigList.Builder
- Enclosing class:
- Model
public static interface Model.ServingConfigListOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetServingConfigIds(int index) Optional.com.google.protobuf.ByteStringgetServingConfigIdsBytes(int index) Optional.intOptional.Optional.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
-
getServingConfigIdsList
Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.
repeated string serving_config_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the servingConfigIds.
-
getServingConfigIdsCount
int getServingConfigIdsCount()Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.
repeated string serving_config_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of servingConfigIds.
-
getServingConfigIds
Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.
repeated string serving_config_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The servingConfigIds at the given index.
-
getServingConfigIdsBytes
com.google.protobuf.ByteString getServingConfigIdsBytes(int index) Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.
repeated string serving_config_ids = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the servingConfigIds at the given index.
-