Package com.google.cloud.retail.v2alpha
Class Rule
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.retail.v2alpha.Rule
- All Implemented Interfaces:
RuleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Rule
extends com.google.protobuf.GeneratedMessage
implements RuleOrBuilder
A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for [controls][google.cloud.retail.v2alpha.Control] with [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2alpha.SolutionType.SOLUTION_TYPE_SEARCH].Protobuf type
google.cloud.retail.v2alpha.Rule- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classA boost action to apply to results matching condition specified above.static interfacestatic final classA rule is a condition-action pair * A condition defines when a rule is to be triggeredstatic final classPrevents `query_term` from being associated with specified terms during search.static interfacestatic final class* Rule Condition: - No [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] provided is a global matchstatic interfacestatic final classForce returns an attribute/facet in the request around a certain position or abovestatic interfacestatic final classPrevents a term in the query from being used in search.static interfacestatic final classMaps a set of terms to a set of synonyms.static interfacestatic final classPins one or more specified products to a specific position in the resultsstatic interfacestatic final classRedirects a shopper to a specific pagestatic interfacestatic final classRemoves an attribute/facet in the request if is presentstatic interfacestatic final classReplaces a term in the query.static interfacestatic final classCreates a set of terms that will be treated as synonyms of each other.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA boost action.A boost action.Required.Required.static Rulestatic final com.google.protobuf.Descriptors.DescriptorPrevents term from being associated with other terms.Prevents term from being associated with other terms.Filters results.Filters results.Force returns an attribute as a facet in the request.Force returns an attribute as a facet in the request.Ignores specific terms from query during search.Ignores specific terms from query during search.Treats specific term as a synonym with a group of terms.Treats specific term as a synonym with a group of terms.com.google.protobuf.Parser<Rule>Pins one or more specified products to a specific position in the results.Pins one or more specified products to a specific position in the results.Redirects a shopper to a specific page.Redirects a shopper to a specific page.Remove an attribute as a facet in the request (if present).Remove an attribute as a facet in the request (if present).Replaces specific terms in the query.Replaces specific terms in the query.intTreats a set of terms as synonyms of one another.Treats a set of terms as synonyms of one another.booleanA boost action.booleanRequired.booleanPrevents term from being associated with other terms.booleanFilters results.booleanForce returns an attribute as a facet in the request.inthashCode()booleanIgnores specific terms from query during search.booleanTreats specific term as a synonym with a group of terms.booleanPins one or more specified products to a specific position in the results.booleanRedirects a shopper to a specific page.booleanRemove an attribute as a facet in the request (if present).booleanReplaces specific terms in the query.booleanTreats a set of terms as synonyms of one another.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Rule.Builderstatic Rule.BuildernewBuilder(Rule prototype) protected Rule.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RuleparseDelimitedFrom(InputStream input) static RuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(byte[] data) static RuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(com.google.protobuf.ByteString data) static RuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(com.google.protobuf.CodedInputStream input) static RuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(InputStream input) static RuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(ByteBuffer data) static RuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Rule>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BOOST_ACTION_FIELD_NUMBER
public static final int BOOST_ACTION_FIELD_NUMBER- See Also:
-
REDIRECT_ACTION_FIELD_NUMBER
public static final int REDIRECT_ACTION_FIELD_NUMBER- See Also:
-
ONEWAY_SYNONYMS_ACTION_FIELD_NUMBER
public static final int ONEWAY_SYNONYMS_ACTION_FIELD_NUMBER- See Also:
-
DO_NOT_ASSOCIATE_ACTION_FIELD_NUMBER
public static final int DO_NOT_ASSOCIATE_ACTION_FIELD_NUMBER- See Also:
-
REPLACEMENT_ACTION_FIELD_NUMBER
public static final int REPLACEMENT_ACTION_FIELD_NUMBER- See Also:
-
IGNORE_ACTION_FIELD_NUMBER
public static final int IGNORE_ACTION_FIELD_NUMBER- See Also:
-
FILTER_ACTION_FIELD_NUMBER
public static final int FILTER_ACTION_FIELD_NUMBER- See Also:
-
TWOWAY_SYNONYMS_ACTION_FIELD_NUMBER
public static final int TWOWAY_SYNONYMS_ACTION_FIELD_NUMBER- See Also:
-
FORCE_RETURN_FACET_ACTION_FIELD_NUMBER
public static final int FORCE_RETURN_FACET_ACTION_FIELD_NUMBER- See Also:
-
REMOVE_FACET_ACTION_FIELD_NUMBER
public static final int REMOVE_FACET_ACTION_FIELD_NUMBER- See Also:
-
PIN_ACTION_FIELD_NUMBER
public static final int PIN_ACTION_FIELD_NUMBER- See Also:
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getActionCase
- Specified by:
getActionCasein interfaceRuleOrBuilder
-
hasBoostAction
public boolean hasBoostAction()A boost action.
.google.cloud.retail.v2alpha.Rule.BoostAction boost_action = 2;- Specified by:
hasBoostActionin interfaceRuleOrBuilder- Returns:
- Whether the boostAction field is set.
-
getBoostAction
A boost action.
.google.cloud.retail.v2alpha.Rule.BoostAction boost_action = 2;- Specified by:
getBoostActionin interfaceRuleOrBuilder- Returns:
- The boostAction.
-
getBoostActionOrBuilder
A boost action.
.google.cloud.retail.v2alpha.Rule.BoostAction boost_action = 2;- Specified by:
getBoostActionOrBuilderin interfaceRuleOrBuilder
-
hasRedirectAction
public boolean hasRedirectAction()Redirects a shopper to a specific page.
.google.cloud.retail.v2alpha.Rule.RedirectAction redirect_action = 3;- Specified by:
hasRedirectActionin interfaceRuleOrBuilder- Returns:
- Whether the redirectAction field is set.
-
getRedirectAction
Redirects a shopper to a specific page.
.google.cloud.retail.v2alpha.Rule.RedirectAction redirect_action = 3;- Specified by:
getRedirectActionin interfaceRuleOrBuilder- Returns:
- The redirectAction.
-
getRedirectActionOrBuilder
Redirects a shopper to a specific page.
.google.cloud.retail.v2alpha.Rule.RedirectAction redirect_action = 3;- Specified by:
getRedirectActionOrBuilderin interfaceRuleOrBuilder
-
hasOnewaySynonymsAction
public boolean hasOnewaySynonymsAction()Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.
.google.cloud.retail.v2alpha.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;- Specified by:
hasOnewaySynonymsActionin interfaceRuleOrBuilder- Returns:
- Whether the onewaySynonymsAction field is set.
-
getOnewaySynonymsAction
Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.
.google.cloud.retail.v2alpha.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;- Specified by:
getOnewaySynonymsActionin interfaceRuleOrBuilder- Returns:
- The onewaySynonymsAction.
-
getOnewaySynonymsActionOrBuilder
Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.
.google.cloud.retail.v2alpha.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;- Specified by:
getOnewaySynonymsActionOrBuilderin interfaceRuleOrBuilder
-
hasDoNotAssociateAction
public boolean hasDoNotAssociateAction()Prevents term from being associated with other terms.
.google.cloud.retail.v2alpha.Rule.DoNotAssociateAction do_not_associate_action = 7;- Specified by:
hasDoNotAssociateActionin interfaceRuleOrBuilder- Returns:
- Whether the doNotAssociateAction field is set.
-
getDoNotAssociateAction
Prevents term from being associated with other terms.
.google.cloud.retail.v2alpha.Rule.DoNotAssociateAction do_not_associate_action = 7;- Specified by:
getDoNotAssociateActionin interfaceRuleOrBuilder- Returns:
- The doNotAssociateAction.
-
getDoNotAssociateActionOrBuilder
Prevents term from being associated with other terms.
.google.cloud.retail.v2alpha.Rule.DoNotAssociateAction do_not_associate_action = 7;- Specified by:
getDoNotAssociateActionOrBuilderin interfaceRuleOrBuilder
-
hasReplacementAction
public boolean hasReplacementAction()Replaces specific terms in the query.
.google.cloud.retail.v2alpha.Rule.ReplacementAction replacement_action = 8;- Specified by:
hasReplacementActionin interfaceRuleOrBuilder- Returns:
- Whether the replacementAction field is set.
-
getReplacementAction
Replaces specific terms in the query.
.google.cloud.retail.v2alpha.Rule.ReplacementAction replacement_action = 8;- Specified by:
getReplacementActionin interfaceRuleOrBuilder- Returns:
- The replacementAction.
-
getReplacementActionOrBuilder
Replaces specific terms in the query.
.google.cloud.retail.v2alpha.Rule.ReplacementAction replacement_action = 8;- Specified by:
getReplacementActionOrBuilderin interfaceRuleOrBuilder
-
hasIgnoreAction
public boolean hasIgnoreAction()Ignores specific terms from query during search.
.google.cloud.retail.v2alpha.Rule.IgnoreAction ignore_action = 9;- Specified by:
hasIgnoreActionin interfaceRuleOrBuilder- Returns:
- Whether the ignoreAction field is set.
-
getIgnoreAction
Ignores specific terms from query during search.
.google.cloud.retail.v2alpha.Rule.IgnoreAction ignore_action = 9;- Specified by:
getIgnoreActionin interfaceRuleOrBuilder- Returns:
- The ignoreAction.
-
getIgnoreActionOrBuilder
Ignores specific terms from query during search.
.google.cloud.retail.v2alpha.Rule.IgnoreAction ignore_action = 9;- Specified by:
getIgnoreActionOrBuilderin interfaceRuleOrBuilder
-
hasFilterAction
public boolean hasFilterAction()Filters results.
.google.cloud.retail.v2alpha.Rule.FilterAction filter_action = 10;- Specified by:
hasFilterActionin interfaceRuleOrBuilder- Returns:
- Whether the filterAction field is set.
-
getFilterAction
Filters results.
.google.cloud.retail.v2alpha.Rule.FilterAction filter_action = 10;- Specified by:
getFilterActionin interfaceRuleOrBuilder- Returns:
- The filterAction.
-
getFilterActionOrBuilder
Filters results.
.google.cloud.retail.v2alpha.Rule.FilterAction filter_action = 10;- Specified by:
getFilterActionOrBuilderin interfaceRuleOrBuilder
-
hasTwowaySynonymsAction
public boolean hasTwowaySynonymsAction()Treats a set of terms as synonyms of one another.
.google.cloud.retail.v2alpha.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;- Specified by:
hasTwowaySynonymsActionin interfaceRuleOrBuilder- Returns:
- Whether the twowaySynonymsAction field is set.
-
getTwowaySynonymsAction
Treats a set of terms as synonyms of one another.
.google.cloud.retail.v2alpha.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;- Specified by:
getTwowaySynonymsActionin interfaceRuleOrBuilder- Returns:
- The twowaySynonymsAction.
-
getTwowaySynonymsActionOrBuilder
Treats a set of terms as synonyms of one another.
.google.cloud.retail.v2alpha.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;- Specified by:
getTwowaySynonymsActionOrBuilderin interfaceRuleOrBuilder
-
hasForceReturnFacetAction
public boolean hasForceReturnFacetAction()Force returns an attribute as a facet in the request.
.google.cloud.retail.v2alpha.Rule.ForceReturnFacetAction force_return_facet_action = 12;- Specified by:
hasForceReturnFacetActionin interfaceRuleOrBuilder- Returns:
- Whether the forceReturnFacetAction field is set.
-
getForceReturnFacetAction
Force returns an attribute as a facet in the request.
.google.cloud.retail.v2alpha.Rule.ForceReturnFacetAction force_return_facet_action = 12;- Specified by:
getForceReturnFacetActionin interfaceRuleOrBuilder- Returns:
- The forceReturnFacetAction.
-
getForceReturnFacetActionOrBuilder
Force returns an attribute as a facet in the request.
.google.cloud.retail.v2alpha.Rule.ForceReturnFacetAction force_return_facet_action = 12;- Specified by:
getForceReturnFacetActionOrBuilderin interfaceRuleOrBuilder
-
hasRemoveFacetAction
public boolean hasRemoveFacetAction()Remove an attribute as a facet in the request (if present).
.google.cloud.retail.v2alpha.Rule.RemoveFacetAction remove_facet_action = 13;- Specified by:
hasRemoveFacetActionin interfaceRuleOrBuilder- Returns:
- Whether the removeFacetAction field is set.
-
getRemoveFacetAction
Remove an attribute as a facet in the request (if present).
.google.cloud.retail.v2alpha.Rule.RemoveFacetAction remove_facet_action = 13;- Specified by:
getRemoveFacetActionin interfaceRuleOrBuilder- Returns:
- The removeFacetAction.
-
getRemoveFacetActionOrBuilder
Remove an attribute as a facet in the request (if present).
.google.cloud.retail.v2alpha.Rule.RemoveFacetAction remove_facet_action = 13;- Specified by:
getRemoveFacetActionOrBuilderin interfaceRuleOrBuilder
-
hasPinAction
public boolean hasPinAction()Pins one or more specified products to a specific position in the results.
.google.cloud.retail.v2alpha.Rule.PinAction pin_action = 14;- Specified by:
hasPinActionin interfaceRuleOrBuilder- Returns:
- Whether the pinAction field is set.
-
getPinAction
Pins one or more specified products to a specific position in the results.
.google.cloud.retail.v2alpha.Rule.PinAction pin_action = 14;- Specified by:
getPinActionin interfaceRuleOrBuilder- Returns:
- The pinAction.
-
getPinActionOrBuilder
Pins one or more specified products to a specific position in the results.
.google.cloud.retail.v2alpha.Rule.PinAction pin_action = 14;- Specified by:
getPinActionOrBuilderin interfaceRuleOrBuilder
-
hasCondition
public boolean hasCondition()Required. The condition that triggers the rule. If the condition is empty, the rule will always apply.
.google.cloud.retail.v2alpha.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasConditionin interfaceRuleOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
Required. The condition that triggers the rule. If the condition is empty, the rule will always apply.
.google.cloud.retail.v2alpha.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConditionin interfaceRuleOrBuilder- Returns:
- The condition.
-
getConditionOrBuilder
Required. The condition that triggers the rule. If the condition is empty, the rule will always apply.
.google.cloud.retail.v2alpha.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConditionOrBuilderin interfaceRuleOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Rule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-