Package com.google.cloud.retail.v2alpha
Interface Rule.ForceReturnFacetAction.FacetPositionAdjustmentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rule.ForceReturnFacetAction.FacetPositionAdjustment,Rule.ForceReturnFacetAction.FacetPositionAdjustment.Builder
- Enclosing class:
- Rule.ForceReturnFacetAction
public static interface Rule.ForceReturnFacetAction.FacetPositionAdjustmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe attribute name to force return as a facet.com.google.protobuf.ByteStringThe attribute name to force return as a facet.intThis is the position in the request as explained above.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
-
getAttributeName
String getAttributeName()The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.
string attribute_name = 1;- Returns:
- The attributeName.
-
getAttributeNameBytes
com.google.protobuf.ByteString getAttributeNameBytes()The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.
string attribute_name = 1;- Returns:
- The bytes for attributeName.
-
getPosition
int getPosition()This is the position in the request as explained above. It should be strictly positive be at most 100.
int32 position = 2;- Returns:
- The position.
-