public static final class Rule.ForceReturnFacetAction.FacetPositionAdjustment extends GeneratedMessageV3 implements Rule.ForceReturnFacetAction.FacetPositionAdjustmentOrBuilder
Each facet position adjustment consists of a single attribute name (i.e.
facet key) along with a specified position.
Protobuf type
google.cloud.retail.v2.Rule.ForceReturnFacetAction.FacetPositionAdjustment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTRIBUTE_NAME_FIELD_NUMBER
public static final int ATTRIBUTE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POSITION_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment.Builder newBuilder()
newBuilder(Rule.ForceReturnFacetAction.FacetPositionAdjustment prototype)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment.Builder newBuilder(Rule.ForceReturnFacetAction.FacetPositionAdjustment prototype)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseDelimitedFrom(InputStream input)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(CodedInputStream input)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(InputStream input)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Rule.ForceReturnFacetAction.FacetPositionAdjustment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Rule.ForceReturnFacetAction.FacetPositionAdjustment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAttributeName()
public 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 |
Type |
Description |
String |
The attributeName.
|
getAttributeNameBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for attributeName.
|
getDefaultInstanceForType()
public Rule.ForceReturnFacetAction.FacetPositionAdjustment getDefaultInstanceForType()
getParserForType()
public Parser<Rule.ForceReturnFacetAction.FacetPositionAdjustment> getParserForType()
Overrides
getPosition()
This is the position in the request as explained above. It should be
strictly positive be at most 100.
int32 position = 2;
Returns |
Type |
Description |
int |
The position.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Rule.ForceReturnFacetAction.FacetPositionAdjustment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Rule.ForceReturnFacetAction.FacetPositionAdjustment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Rule.ForceReturnFacetAction.FacetPositionAdjustment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides