Package com.google.cloud.retail.v2alpha
Interface GenerativeQuestionsFeatureConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerativeQuestionsFeatureConfig,GenerativeQuestionsFeatureConfig.Builder
@Generated
public interface GenerativeQuestionsFeatureConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.booleanOptional.intOptional.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
-
getCatalog
String getCatalog()Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}string catalog = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The catalog.
-
getCatalogBytes
com.google.protobuf.ByteString getCatalogBytes()Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}string catalog = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for catalog.
-
getFeatureEnabled
boolean getFeatureEnabled()Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.
bool feature_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The featureEnabled.
-
getMinimumProducts
int getMinimumProducts()Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.
int32 minimum_products = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The minimumProducts.
-